Downsample .WAV Batch Processing - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 4th October 2011, 12:28 AM   #1
diyAudio Member
 
Join Date: Sep 2011
Default Downsample .WAV Batch Processing

Hi everyone,

I want to batch process a folder of mono .wav files with sample rates of 25000, creating a new set of the very same files but at a sample rate of either 19980, or 16000. Anyone know how to do this? The tools I have at my disposal are Matlab and Audacity, though I am also open to using other tools.

Jeff
  Reply With Quote
Old 4th October 2011, 12:54 AM   #2
diyAudio Member
 
Join Date: Jun 2011
I just did a google search for 'command line .wav resampler windows'. This got me the SOX program, but there are numerous command line tools out there, although mostly for linux. (You can always run Cygwin).

If the programs themselves don't support batch processing then you can write a batch file to run in a command window.

If you cd to the directory where you have the files you can do: DIR >> dir.txt.

This will get you all the filenames in a text file called dir.txt. You can open this up in a text editor such as PFE32 and rewrite it (using the macro commands for repeated actions) so that when run as a batch file it submits the files one-by-one to the command line resampler.

Got that?
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
software to compare wav to wav played back through speaker? freddi Multi-Way 2 28th March 2010 05:29 PM
Batch PCB production for Diyers Batchpcb4Diyers Vendor's Bazaar 4 6th April 2009 09:18 AM
AD826AN - bad batch? pftrvlr Digital Source 9 30th October 2008 02:36 AM
Batch of heatsink FrankDIY Swap Meet 1 19th March 2004 02:43 AM


New To Site? Need Help?

All times are GMT. The time now is 01:10 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2