From: Robert F. <cap...@gm...> - 2008-03-05 23:38:57
|
Ok. upgraded SoX to 14.0.1, the output files test as identical. Here's the output from stat > sox orig_000001jl.wav -s -1 -r8000 -c1 000001jl.wav stat Samples read: 62583 Length (seconds): 7.822875 Scaled by: 2147483647.0 Maximum amplitude: 0.273477 Minimum amplitude: -0.244540 Midline amplitude: 0.014468 Mean norm: 0.016802 Mean amplitude: -0.000016 RMS amplitude: 0.030996 Maximum delta: 0.169841 Minimum delta: 0.000000 Mean delta: 0.006950 RMS delta: 0.013814 Rough frequency: 567 Volume adjustment: 3.657 On Wed, Mar 5, 2008 at 1:31 PM, Chris Bagwell <ch...@cn...> wrote: > On Wed, Mar 05, 2008 at 01:15:54PM -0700, Robert Ferney wrote: > > Hi Yall, > > I'm using sox to convert and downgrade audio files to 8bit 8khz mono wav > > files ( Microsoft PCM and IMA ADPCM encodings ) to be used in a hardware > > device, which is only programmed to read those two formats. > > > > Test input file is 16bit 44.1khz WAV > > > > I'm currently using.. > > > sox input.wav -s -1 -r8000 -c1 output1.wav stat > > and > > > sox input.wav -s -1 -r8000 -c1 output_.wav stat > > > > When I listen to the files afterwards, I can hear static in the > background. > > How can I eliminate this? > > When using GUI tools to do the transformation, they don't have the > static I > > hear from SoX > > sox -version reports.. sox: v13.0.0 > > > > I don't really use ADPCM files so can't comment much on if I've heard > noise or not. But here are some suggestions that might help: > > 1) Upgrade to v14.0.1 in case a bugfix in this area was already done. > 2) Try lowering the volume some to prevent clipping. > > sox -v 0.80 input.wav -s -1 -r8000 -c1 output1.wav > > 3) Do a search on the SoX mailing list for ADPCM and DCShift. Rob's > mentioned in the past about how you can add a filter effect to > the command line to simulate what some GUI's are doing. It may > clear up your noise. A DCShift could be the cause of clipping/noise. > > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > -- -Robert Ferney ( Kolbe 4357 Demonstrator / Myer Brigs INTJ ) |