Analyzer doesn't work with recent versions of sox

11 views
Skip to first unread message

berger...@gmail.com

unread,
Jul 11, 2015, 1:44:59 PM7/11/15
to imms-...@googlegroups.com
This is due to a change in sox command-line parameters: "-2" used to mean "16-bits per sample" but should now be written "-b 16". This must be changed in imms/analyzer/soxprovider.h on line 39, which should read:

    command << "-t .raw -b 16 -c 1 -r " << samplerate
       
<< (sign ? " -s" : " -u") << " -";


mar...@martingkelly.com

unread,
Aug 13, 2015, 11:07:44 PM8/13/15
to imms-users
Thanks for noticing that :). As it turns out, Artur Czechowski noticed the same issue and patched it in Debian, the patch hasn't made it into the main code yet:

https://code.google.com/p/imms/issues/detail?id=21

I'm hoping to help get known issues like this into the mainline code soon, as I think Mag and Artur have not had much time to dedicate to imms recently. berger, would  you like to help with the effort?
Reply all
Reply to author
Forward
0 new messages