simple additive synth patch converted from PD not working

    Dec 06 2011 | 9:30 pm
    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.

    • Dec 06 2011 | 10:21 pm
      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
    • Dec 06 2011 | 10:27 pm
      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'?
    • Dec 06 2011 | 10:37 pm
      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.
    • Dec 06 2011 | 11:06 pm
      And to expand on what Brendan said, line~ can take an arbitrary number of level/time pairs: