Linux Online Advertisement
[ Register ]

[ Applications ]
[ Documentation ]
[ Distributions ]
[ Download Info ]
[ General Info ]
[ Book Store ]

Advertisement

[ Courses ]
[ News ]
[ People ]
[ Hardware ]
[ Vendors ]
[ Projects ]
[ Events ]
[ User Groups ]
[ User Area ]

Programming Perl (3rd Edition)

[ About Us ]
[ Home Page ]
[ Advertise ]

Lesson: Using SoX

Amaze and annoy your friends

Sox also has a lot of different effects you can apply to your sounds. It's kind of fun to see what sox is capable of. If you take a look at the man page, you'll see all of the effects that it's capable of doing. The syntax is admittedly difficult for a lot of these effects. Chris Bagwell, the current developer admits to this (see the section: Bugs). Some of these I worked out using trial and error, because even if the man page is a little cryptic, if you put in a value that's too high for some of the effects, SoX will alert you and give you an example of an acceptable value. For example, if you're into that futuristic sound, you might want to try out this phaser effect. sox file1.wav futuristic.wav phaser 0.5 0.5 3.0 0.6 2.0 Here, these values stand for, respectively: gain-in gain-out delay decay and speed. I find the next-to-last value changes the futuristic effect considerable.

Amazing!

For my last Halloween party, I prepared some music to get my guests in the mood. I took the Mozart's Klavierstück from the Amadeus soundtrack and I gave it a little stretch effect, like so:

sox klavier.wav halloween.wav stretch 2.0 2.5

This came out sounding like Wolfgang meets Herman Munster. Just right for the occasion.

Wanna hear the most annoying sound in the world?

If you're like me, and you remember the good ole days of sitting in the passenger seat of the car and trying to annoy your father by turning the AM radio volume up and down real fast, then this effect is for you:

sox file.wav annoy.wav vibro 1.5 1.0

I tried this with Aram Khachaturian's famous Sabre Dance (one I always associate with jugglers) and the effect is doubly annoying.



Comments: feedback (at) linux.org
Advertising: banners (at) linux.org
Copyright Linux Online Inc.
Compilation ©1994-2008 Linux Online, Inc.
All rights reserved.