How to send a bang that isn't an impulse

Mar 5, 2010 at 1:53pm

How to send a bang that isn't an impulse

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?

Attachments:
  1. poxy.maxpat
#48926
Mar 5, 2010 at 2:23pm

Attachments:
  1. poxy.png
#175770
Mar 5, 2010 at 2:25pm

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

FRid

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. –
#175772
Mar 5, 2010 at 2:29pm
– Pasted Max Patch, click to expand. –
#175773
Mar 5, 2010 at 3:25pm

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

#175774
Mar 8, 2010 at 1:15pm

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!

#175775

You must be logged in to reply to this topic.