butterfly | Converts between left/right and mid/side stereo channels. |
center cut | Extract a center channel from stereo audio. |
center mix | Mix a mono stream with a stereo stream. |
discard | Dump unwanted audio. |
gain | Modify the volume of audio. |
highpass | Cut out sounds below a given frequency. |
input | Pull audio from AVI or WAV source. |
lowpass | Cut out sounds above a given frequency. |
mix | Add together audio streams. |
output | Sink from graph into output file. |
pitch shift | Modify the pitch of audio without changing speed. |
ratty pitch shift | Modify the pitch of audio without changing speed (old algorithm). |
resample | Convert audio to a different sampling frequency. |
split | Split an audio stream into two identical copies. |
stereo chorus | Add a chorus effect. |
stereo merge | Merge two mono streams into a stereo stream. |
stereo split | Split a stereo stream into two mono streams. |
stretch | Stretch or contract audio, modifying length and pitch. |
time stretch | Stretch or contract audio, modifying length without changing pitch. |
butterfly
- Converts between left/right and mid/side stereo channels.
center cut
- Extract a center channel from stereo audio.
center mix
- Mix a mono stream with a stereo stream.
discard
- Dump unwanted audio.
gain
- Modify the volume of audio.
highpass
- Cut out sounds below a given frequency.
input
- Pull audio from AVI or WAV source.
lowpass
- Cut out sounds above a given frequency.
mix
- Add together audio streams.
The mix is simple addition with hard clipping, so if you combine the mix with an attenuating gain filter to reduce the post-mix volume, the gain filter should be first. If one input has fewer channels than the other, the lowest N channels common between the two are mixed, and the remaining channels are passed through.
You cannot mix two streams that have different sampling rates -- resample one to match the other to do this.
output
- Sink from graph into output file.
pitch shift
- Modify the pitch of audio without changing speed.
Pitch shift works by stretching or contracting its input, slicing it into small sections, and then overlapping and mixing them. This alters the pitch of the audio without changing its speed; since the frequency spectrum is scaled, harmonics are preserved. When raising pitch, some portions of audio are duplicated, and when lowering pitch, some audio portions are dropped. Pitch shift tries to shift the segments around to reduce artifacts, but occasionally you may hear some hiccups, or duplicated/missing beats. That's why it's ratty, but it's fun to play with. The filter is most effective within about +/-10%.
If you combine pitch shift with stretch and use the same ratios for both, you get a time stretcher, which alters the speed of audio without changing its pitch.
ratty pitch shift
- Modify the pitch of audio without changing speed (old algorithm).
Ratty pitch shift works by stretching or contracting its input, slicing it into small sections, and then overlapping and mixing them. This alters the pitch of the audio without changing its speed; since the frequency spectrum is scaled, harmonics are preserved. When raising pitch, some portions of audio are duplicated, and when lowering pitch, some audio portions are dropped. Ratty pitch shift tries to shift the segments around to reduce artifacts, but occasionally you may hear some hiccups, or duplicated/missing beats. That's why it's ratty, but it's fun to play with. The filter is most effective within about +/-10%.
If you combine ratty pitch shift with stretch and use the same ratios for both, you get a time stretcher, which alters the speed of audio without changing its pitch.
resample
- Convert audio to a different sampling frequency.
split
- Split an audio stream into two identical copies.
stereo chorus
- Add a chorus effect.
Stereo chorus mixes audio back into itself with a varying delay of 24-26 ms, controlled by two LFOs at 3.3Hz that are offset by 90°. This adds a bit of stereo separation to sound.
You use either mono or stereo sound as input to stereo chorus; when mono is used, it is first duplicated to stereo channels before chorus is added.
stereo merge
- Merge two mono streams into a stereo stream.
stereo split
- Split a stereo stream into two mono streams.
stretch
- Stretch or contract audio, modifying length and pitch.
Note | Stretch feeds its output at a different rate than it consumes its input, since it changes the speed of audio streams. Audio filter graphs must never combine two branches that run at different speeds -- the result is either unstable seeking or the filter graph freezing up. Be particularly careful of this when creating parallel branches that later merge. |
time stretch
- Stretch or contract audio, modifying length without changing pitch.