Hi all,
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. So far I found a solution at the csound mailing list. in csound a solution is to use "cent" that calculates a factor to raise/lower a frequency by a given amount of cents.
---- csound example ----- kvib oscil 1200, 1, 1 a1 oscili 30000, 440 * cent(kvib), 1 ----- end csound example ---- here is the link from the csound mailing list.
http://www.nabble.com/Simple-vibrato-question-%28was%3A-Not-a-Number-ierror-...
thanks a lot libero
[mtof] should do it, if you use microtonal MIDI notes.
best, d.
Libero Mureddu wrote:
Hi all,
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. So far I found a solution at the csound mailing list. in csound a solution is to use "cent" that calculates a factor to raise/lower a frequency by a given amount of cents.
---- csound example ----- kvib oscil 1200, 1, 1 a1 oscili 30000, 440 * cent(kvib), 1 ----- end csound example ---- here is the link from the csound mailing list.
http://www.nabble.com/Simple-vibrato-question-%28was%3A-Not-a-Number-ierror-... http://www.nabble.com/Simple-vibrato-question-%28was%3A-Not-a-Number-ierror-in-pow-operator%29-tf21490.html#a58740
thanks a lot libero -- Libero Mureddu Vanha Viertotie, 21 as 417 00350 Helsinki Finland http://webusers.siba.fi/~limuredd/ http://www.myspace.com/liberomureddu
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.
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;
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;