Thank you very much, Derek, Martin and Claude for your solution. best regards,
Libero
On 11/5/07, Claude Heiland-Allen claudiusmaximus@goto10.org wrote:
Libero Mureddu wrote:
In the attached patch, I´d like to have a vibrato that is the same (in pitch) both above and below the carrier frequency. I don´t know how to do it in pd.
Use [mtof~] in the "right" place (just before the oscillator), see attached, hope it's what you want; if you don't want to use midi note numbers as input, you can use [ftom] or so.
Claude
http://claudiusmaximus.goto10.org
#N canvas 0 0 450 300 10; #X obj 104 214 osc~; #X obj 104 158 +~; #X obj 104 187 mtof~; #X obj 104 237 *~ 0.1; #X obj 93 273 dac~; #X obj 245 109 / 100; #X obj 167 133 *~ 0; #X floatatom 103 51 5 0 0 2 note - -; #X obj 103 104 sig~; #X obj 166 106 osc~; #X floatatom 166 51 5 0 0 2 vibfreq - -; #X floatatom 245 51 5 0 0 2 depth - -; #X text 147 187 <-- convert pitch to frequency; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 3 0 4 0; #X connect 3 0 4 1; #X connect 5 0 6 1; #X connect 6 0 1 1; #X connect 7 0 8 0; #X connect 8 0 1 0; #X connect 9 0 6 0; #X connect 10 0 9 0; #X connect 11 0 5 0;