simple additive synth patch converted from PD not working

Dec 6, 2011 at 9:30pm

simple additive synth patch converted from PD not working

Hi all,

I’m trying to convert a nifty water droplet synthesizer built in Pure Data into Max. I’ve saved it as a Maxpatch from PD but I know that’s not very reliable. The code (slightly tweaked by me) is below but clearly I’m still missing something as I’m not getting any sound at all. I think the concept is pretty self explanatory once you peek inside the patch but I can try to elaborate if need be. Any help would bevery much appreciated.

– Pasted Max Patch, click to expand. –
#60518
Dec 6, 2011 at 10:21pm

I’ve no idea what it’s supposed to sound like, but this version makes sound.

In the “ad” sub patchers, there was a message that was 0, 1 $1 0, 0 $2 $1. Max likes a list of level time pairs, so I changed it to 0, 1 $1 0 $2

– Pasted Max Patch, click to expand. –
#217828
Dec 6, 2011 at 10:27pm

Ah, thank you so much, that’s nailed it! Fantastic. I had a feeling it ws something to do with the line~ not reading the message. Just so I know for next time, what do you mean by ‘level time pairs’?

#217829
Dec 6, 2011 at 10:37pm

Hi
seeing as Chris has done the hard work, i’ll field the easy question :).

[line] expects pair(s) of values: destination and time (in ms); so the message or list (5 200) means “go to 5 in 1/5 sec”, and (5, 100 3000) means “begin at 5, then go to 100 in 3 secs”.

Object helpfiles are truly invaluable in this respect.

Brendan

#217830
Dec 6, 2011 at 11:06pm

And to expand on what Brendan said, line~ can take an arbitrary number of level/time pairs:

– Pasted Max Patch, click to expand. –
#217831

You must be logged in to reply to this topic.