monophonic note stack?

Aug 9, 2010 at 7:29pm

monophonic note stack?

hi, i hate asking for handouts but i’m running out of patience with this one!

i’m trying to create the held-note ‘trill’ behaviour of monosynths, something like this:

1. hold c4: c4 sounds
2. hold c5: c5 sounds
3. release c5: c4 sounds
4. release c4: c4 off

i’ve been banging my head against borax all day and i’m getting frustrated and embarassed. can anyone share a simple abstraction that illustrates a simple note stack?

thanks for reading,

chris

#51727
Aug 9, 2010 at 10:05pm

maybe something using [zl group] and [zl ecils] could help, you gather the currently-held notes (as you press them) into a zl group list, always play only the last one using zl ecils (maybe [change] could help here too). When that’s released (noteoff) you use the shortened list from zl ecils to do it all again. You’d need to check noteoffs that might happen earlier in the stack, which you could remove with another zl command (zl match? I forget…)

You could also do it with gate and int boxes, if you set an overall limit beforehand (like 10 notes). Then as you press new notes you change the active gate outlet. But the zl method might be easier, and there’s no limit to the number of notes.

I do love that trill effect, especially with older synths that have a Unison sound feature…

#185606
Aug 11, 2010 at 3:15am

I haven’t actually hooked this up to any MIDI gear, but I think that the basic idea may get you started:

– Pasted Max Patch, click to expand. –
#185607
Aug 11, 2010 at 1:00pm

ddg.mono? It’s in your m4l-externals folder,
cheers
Roger

#185608

You must be logged in to reply to this topic.