skip to main | skip to sidebar

Bill Kratzer's Blog

One Geek, a La-Z-Boy recliner, and a laptop.

Sunday, June 1, 2008

Using sox to resample audio

The following nifty one-liner will resample to 8000Mhz, convert to mono (one channel), and increase the volume level:

for i in *.wav ; do sox $i -v 1.8 -r 8000 -c 1 ../resampled/$i resample; done
Posted by Bill Kratzer at 8:34 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Bill Kratzer
View my complete profile

Pictures and Videos

Go here to see lots of pictures and videos of the Kratzer family.

Newest Delicious Links

Loading...

Friends

  • Bill Hathaway
  • JC Mann
  • Ryan Bohn
  • Gene Oswald
  • Matt Hurne
  • Mark Rebuck

Blog Archive

  • ►  2010 (1)
    • ►  December (1)
  • ►  2009 (30)
    • ►  December (2)
    • ►  November (1)
    • ►  October (1)
    • ►  August (3)
    • ►  July (3)
    • ►  June (1)
    • ►  April (5)
    • ►  March (6)
    • ►  February (1)
    • ►  January (7)
  • ▼  2008 (60)
    • ►  November (7)
    • ►  October (3)
    • ►  September (6)
    • ►  August (7)
    • ►  July (10)
    • ▼  June (7)
      • My Fracture
      • On the road to recovery!
      • Out of Surgery, Out of Mind
      • The Best Twenty Bucks I've Spent
      • Bill Falls Down (and doesn't get up)
      • I Don't Want to Operate a Data Center any more...
      • Using sox to resample audio
    • ►  April (5)
    • ►  March (6)
    • ►  February (9)