Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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

Downsample .WAV Batch Processing
Downsample .WAV Batch Processing
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
Thread Tools Search this Thread
Old 3rd October 2011, 11:28 PM   #1
jeffbruce is offline jeffbruce  Canada
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.

  Reply With Quote
Old 3rd October 2011, 11:54 PM   #2
counter culture is offline counter culture  United States
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


Downsample .WAV Batch ProcessingHide 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

Forum Jump

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 04:29 PM
Batch PCB production for Diyers Batchpcb4Diyers Vendor's Bazaar 4 6th April 2009 08:18 AM
AD826AN - bad batch? pftrvlr Digital Source 9 30th October 2008 01:36 AM
Batch of heatsink FrankDIY Swap Meet 1 19th March 2004 01:43 AM

New To Site? Need Help?

All times are GMT. The time now is 08:20 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio