Daniel Werner
2004-08-23 07:17:35 UTC
Below is an excerpt from the SoundFont 2.01 Specification available at
http://www.soundfont.com/documents/sfspec21.pdf
It describes the low pass filter used to be 6dB/octave (one pole), but
the picture on the next page shows a 12dB/octave (two pole) filter. What
is the correct type? Also, does anyone have code to efficiently generate
coefficients for a resonant low pass filter of this type which can
specify the resonant gain at the cutoff frequency above the gain at 0Hz
in decibels? Are there any general techniques in digital filter design I
should use for calculating resonance?
- Daniel Werner
http://experimentalscene.com
--------------
"9.1.3 Low-pass Filter
The synthesis model contains a resonant low-pass filter, which is
characterized by a dynamic cutoff frequency and a fixed resonance (Q).
Because there is tremendous>variation within the industry as to filter
implementations, this filter is idealized rather than being specified as
a particular realization. The filter is idealized at zero resonance as
having a flat passband to the cutoff frequency, then a rolloff at 6dB
per octave above that frequency. The resonance, when non-zero, comprises
a peak at the cutoff frequency, superimposed on the above response. The
resonance is measured as a dB ratio of the resonant peak to the DC gain.
The DC gain at any resonance is half of the resonance value below the DC
gain at zero resonance; hence the peak height is half the resonance
value above DC gain at zero resonance.
All modulations in cutoff frequency are in octaves, semitones, and cents."
[ from SoundFont 2.01 Specification ]
--------------
http://www.soundfont.com/documents/sfspec21.pdf
It describes the low pass filter used to be 6dB/octave (one pole), but
the picture on the next page shows a 12dB/octave (two pole) filter. What
is the correct type? Also, does anyone have code to efficiently generate
coefficients for a resonant low pass filter of this type which can
specify the resonant gain at the cutoff frequency above the gain at 0Hz
in decibels? Are there any general techniques in digital filter design I
should use for calculating resonance?
- Daniel Werner
http://experimentalscene.com
--------------
"9.1.3 Low-pass Filter
The synthesis model contains a resonant low-pass filter, which is
characterized by a dynamic cutoff frequency and a fixed resonance (Q).
Because there is tremendous>variation within the industry as to filter
implementations, this filter is idealized rather than being specified as
a particular realization. The filter is idealized at zero resonance as
having a flat passband to the cutoff frequency, then a rolloff at 6dB
per octave above that frequency. The resonance, when non-zero, comprises
a peak at the cutoff frequency, superimposed on the above response. The
resonance is measured as a dB ratio of the resonant peak to the DC gain.
The DC gain at any resonance is half of the resonance value below the DC
gain at zero resonance; hence the peak height is half the resonance
value above DC gain at zero resonance.
All modulations in cutoff frequency are in octaves, semitones, and cents."
[ from SoundFont 2.01 Specification ]
--------------