How to send a bang that isn't an impulse

willman85's icon

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?

167.poxy.maxpat
Max Patch
willman85's icon

170.poxy.png
png
FRid's icon

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

FRid

Max Patch
Copy patch and select New From Clipboard in Max.

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

FRid's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Sebastian Lexer's icon

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

willman85's icon

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!