combine multiple wav files together with different sample rates / channels / bits
I have a folder with lots of wav files, all different samples/ rates/ bits
Most of them are just a mix of mono or stereo is there a way using sox and bash, or another built in app that can convert them all to a uniform format? |
Yes, of course ;-)
This page might give you some additional tips: http://dsl.org/cookbook/cookbook_29.html But my guess is you're going to have to figure out the "right" settings on a file-by-file basis, by trial and error... IMHO .. PSM |
Hi.
Not 'built in', but if you've got a copy of mplayer... Code:
#!/bin/bash $ for file in *; do any2wav "$file"; done and it'll convert anything (even video audio tracks) to CD style .wav I've got slightly different versions that do the same thing, but output mp3s or FLACs, if you're interested: http://www.ilikejam.org/blog/unix/scripts.html Dave |
All times are GMT -5. The time now is 05:30 AM. |