Actually, no, z~ 1 still causes a segfault.
On Thu, Jul 17, 2003 at 08:22:32PM +0200, matthijs@devdsp.net wrote:
Great! I guess I should rewrite the patch to use that instead (and take a closer look at exactly what is in that PD externals package ;) )
Thanks!
On Thu, Jul 17, 2003 at 10:43:44AM -0700, Matthew Allen wrote:
[z~ 1]
z~ is an object from the zexy which I have used extensively in my FM patches for this reason. It allows you to define a delay in terms of samples not milliseconds. So the above object would delay the incoming signal by a single sample. This gives you much more predictable results than delaying the signal by a millisecond (441 samples) which at higher frequencys could be the entire period of your waveform.
m.
-----Original Message----- From: matthijs@devdsp.net [mailto:matthijs@devdsp.net] Sent: Thursday, July 17, 2003 6:58 AM To: pd-list@iem.kug.ac.at Subject: [PD] FM problems
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
-- take care,
Matthijs de Jonge http://devdsp.net - news and resources for computer musicians