[PD] FM problems

matthijs at devdsp.net matthijs at devdsp.net
Thu Jul 17 15:58:13 CEST 2003


Hi list,

I was wondering if one of you could help me with a patch I'm working on:

The patch (see attachment) attempts to implement a phase oscillation
instrument with feedback. The output of a phasor~ (the carrier) is added
to the output of an osc~ (the modulator) and the combined result is fed
into a cos~ object.

This works perfectly.

However, when I try to feed the output of the cos~ object, multiplied by
some value between 0 and 1, back into the chain somewhere and turn on
audio processing, PD immediately segfaults ("Consistency check failed:
signal_free").

So I guess I can't do this. Can anyone explain which obvious mistake I'm
making here?


-- 
take care,

Matthijs de Jonge
http://devdsp.net - news and resources for computer musicians
-------------- next part --------------
#N canvas 169 217 560 404 10;
#N canvas 0 0 718 643 fmphasemodosc 1;
#X floatatom 72 78 5 0 0 0 - - -;
#X obj 72 143 phasor~;
#X text 65 32 carrier freq;
#X obj 203 257 osc~;
#X floatatom 161 48 5 0 0 0 - - -;
#X obj 58 421 +~;
#X obj 58 463 cos~;
#X obj 161 68 * 0.01;
#X obj 182 98 *;
#X obj 249 69 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 57 600 outlet~;
#X obj 72 53 inlet;
#X obj 215 38 inlet;
#X text 257 40 modfreq (mainfreq multiplier);
#X obj 484 44 inlet;
#X text 529 43 mod weight;
#X floatatom 482 74 5 0 100 0 - - -;
#X obj 481 102 * 0.01;
#X obj 203 310 *~;
#X obj 587 118 inlet;
#X text 629 114 feedback;
#X obj 587 158 * 0.01;
#X obj 290 510 *~;
#X floatatom 549 137 5 0 0 0 - - -;
#X obj 591 191 inv;
#X obj 592 217 abs;
#X obj 203 138 *;
#X obj 468 159 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 203 228 +~;
#X floatatom 124 185 5 0 0 0 - - -;
#X obj 71 119 +~;
#X connect 0 0 8 1;
#X connect 0 0 9 0;
#X connect 0 0 30 0;
#X connect 1 0 5 1;
#X connect 3 0 18 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 10 0;
#X connect 6 0 22 0;
#X connect 7 0 8 0;
#X connect 8 0 26 0;
#X connect 9 0 4 0;
#X connect 11 0 0 0;
#X connect 12 0 4 0;
#X connect 14 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 18 1;
#X connect 18 0 5 0;
#X connect 19 0 23 0;
#X connect 21 0 22 1;
#X connect 21 0 24 0;
#X connect 23 0 21 0;
#X connect 23 0 27 0;
#X connect 24 0 25 0;
#X connect 25 0 26 1;
#X connect 26 0 28 1;
#X connect 26 0 29 0;
#X connect 27 0 4 0;
#X connect 28 0 3 0;
#X connect 30 0 1 0;
#X restore 27 228 pd fmphasemodosc;
#X obj 26 256 outlet~;
#X obj 27 59 vsl 15 128 0 15000 0 0 empty empty Freq 0 -8 0 8 -262144
-1 -1 0 1;
#X floatatom 27 205 5 0 0 0 - - -;
#X obj 111 60 vsl 15 128 0 1500 0 0 empty empty ModFactor 0 -8 0 8
-262144 -1 -1 0 1;
#X floatatom 111 204 5 0 0 0 - - -;
#X obj 186 60 vsl 15 128 0 100 0 0 empty empty ModWeight 0 -8 0 8 -262144
-1 -1 0 1;
#X floatatom 186 205 5 0 0 0 - - -;
#X obj 27 15 inlet;
#X obj 110 18 inlet;
#X obj 186 19 inlet;
#X obj 273 335 abstr/out-256;
#X floatatom 259 302 5 0 256 0 - - -;
#X obj 285 64 vsl 15 128 0 100 0 0 empty empty Feedback 0 -8 0 8 -262144
-1 -1 0 1;
#X floatatom 285 209 5 0 0 0 - - -;
#X obj 286 22 inlet;
#X connect 0 0 1 0;
#X connect 0 0 11 1;
#X connect 0 0 11 2;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
#X connect 4 0 5 0;
#X connect 5 0 0 1;
#X connect 6 0 7 0;
#X connect 7 0 0 2;
#X connect 8 0 2 0;
#X connect 9 0 4 0;
#X connect 10 0 6 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 0 3;
#X connect 15 0 13 0;
#X coords 0 0 1 1 200 140 1;


More information about the Pd-list mailing list