Eric Wong <normalper...@yhbt.net>: >> Not necessarily, for codecs using compression, it may be impossible to >> say how much space one sample takes, as this may change, or the term >> may be inapplicable (e.g., for frequency-domain expression). > For compression, then shouldn't -b be the maximum bits-per-sample > decoding the file will give? (which should match precision, I think?)
The simple case is integer PCM, where bits per sample equals precision. But there is also floating-point PCM (32 bps, 25 precision), ADPCM (4 bps, 13-or-so precision), FLAC (varying bps, 8/16/24 precision), and Vorbis. That's why I think the inconsistency actually is a non-zero bps value for FLAC. > Perhaps there should there be a '-p' flag for show precision in soxi? > That would match the "Precision" field when soxi is called without > switches... Yes, that's good. Done. :-) Ulrich ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel