diff options
Diffstat (limited to 'objects/faust/phaser_stereo_float.axo')
-rw-r--r-- | objects/faust/phaser_stereo_float.axo | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/objects/faust/phaser_stereo_float.axo b/objects/faust/phaser_stereo_float.axo new file mode 100644 index 0000000..b5632bd --- /dev/null +++ b/objects/faust/phaser_stereo_float.axo @@ -0,0 +1,70 @@ +<objdefs> + <obj.normal id="phaser_stereo_float" uuid="c5fac2db26a58c24e984c8fc7ac529193898cad1" sha="2148880b2a099a2582ec29deabcc2fd80cba0195"> + <sDescription>Phaser Stereo (from Faust)</sDescription> + <author>Ricardo Wurmus</author> + <license>GPL</license> + <helpPatch/> + <inlets> + <frac32buffer name="in" description="in"/> + </inlets> + <outlets> + <frac32buffer.bipolar name="left" description="left output"/> + <frac32buffer.bipolar name="right" description="right output"/> + </outlets> + <params> + <bool32.tgl name="fcheckbox0" description="VibratoMode: direct/vibrato"/> + <bool32.tgl name="fcheckbox1" description="linear/invert"/> + <!-- values are given as: default, min, max, increment? --> + <!-- They all need to be remapped to the -64.0..0..64.0 range --> + + <!-- 1.0f, 0.0f, 1.0f, 0.01f --> + <frac32.u.map description="Depth" name="fslider0"/> + + <!-- 0.0f, 0.0f, 1.0f, 0.01f --> + <frac32.u.map description="feedback gain" name="fslider1"/> + + <!-- 1e+03f, 1e+01f, 5e+03f, 1.0f --> + <frac32.s.map.pitch description="Notch width (Hz)" name="fslider3"/> + + <!-- 0.5f, 0.0f, 1e+01f, 0.01f --> + <frac32.u.map description="Speed (Hz)" name="fslider4"/> + + <!-- 1e+02f, 2e+01f, 5e+03f, 1.0f --> + <frac32.s.map.pitch description="MinNotch1Freq (Hz)" name="fslider5"/> + + <!-- 8e+02f, 2e+01f, 1e+04f, 1.0f --> + <frac32.s.map.pitch description="MaxNotch1Freq (Hz)" name="fslider6"/> + + <!-- 1.5f, 1.1f, 4.0f, 0.01f --> + <frac32.u.map description="NotchFreq (Hz)" name="fslider7"/> + </params> + <displays/> + <attribs/> + <includes> + <include>./phaser_stereo_float.cpp</include> + </includes> + + <code.declaration><![CDATA[ +Dsp phaser; +]]></code.declaration> + <code.init><![CDATA[ + + phaser.init(48000); + ]]></code.init> + <code.krate><![CDATA[ + phaser.compute(BUFSIZE, + &inlet_in, + &outlet_left[0], + &outlet_right[0], + param_fcheckbox0, + param_fcheckbox1, + param_fslider0, + param_fslider1, + param_fslider3, + param_fslider4, + param_fslider5, + param_fslider6, + param_fslider7); +]]></code.krate> + </obj.normal> +</objdefs> |