Forums > MaxMSP

How to send a bang that isn't an impulse

Mar 05 2010 | 1:53 pm

Hi folks!

My first question, so excuse the n00biness.

It sounds like a straightforward thing. All I want to do is send a note on message as if a midi note is being held down (I’m not working in midi), but the best I can do is sending a singular impulse bang.

If you see from the attached patch ‘poxy’…

… viewing the button at the bottom as the desired note on message, a bang signaling the first ‘1’ from the table object is being received. What I want is neither that nor ‘1,1,1,1,1,1,1,1,1,0,0,0… ‘, but rather a sustained ‘note on’ for the duration of the nine (or however many) ‘1’s.

Could anyone advise please?

  1. poxy.maxpat
Mar 05 2010 | 2:23 pm

  1. poxy.png


Mar 05 2010 | 2:25 pm

Not really sure if i understand what you want to achieve but i guess this is what you mean?


And you can make smaller "text"-patches by selecting all te objects and then use "copy compressed" from the edit-menu. it saves scrolling :)

-- Pasted Max Patch, click to expand. --

Mar 05 2010 | 2:29 pm

-- Pasted Max Patch, click to expand. --

Mar 05 2010 | 3:25 pm

As an alternative to the [togedge] check out the [change] object.

Mar 08 2010 | 1:15 pm

Thanks FRid. I used the ‘toedge’ object through 1 and 0 message boxes and into an adsr to signal the start and end of an envelope, and it’s all working now (sort of).

And thanks for letting me know about the quicker way to copy text patches!

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP