Recording rhythm/pattern of bangs

Feb 9, 2012 at 4:04am

Recording rhythm/pattern of bangs

Hello all,

I have basic experience with MaxMSP but am not familiar with more complex objects and how they work. Basically, I want to “record” a sequence of bangs (the rhythm at which they are set off) and set that “recording” as a continuous loop. For example, if the space bar was arranged to set off a bang, I want to be able to tap out a pattern by pressing the space bar(particularly an uneven pattern like Morse Code) and have that pattern “recorded” and repeated continuously.

I’ve been looking at the record~, buffer~, and groove~ objects, but I believe they are strictly limited to audio signals.

This is my first time posting in the forums, so please let me know if there’s anything else I should do or am doing incorrectly!

#61682
Feb 9, 2012 at 9:10am

You’ll have to somehow store the time information when a key down happened. That can be done by a lot of means, in a coll, a jitter Matrix, also in an Audiobuffer (if you produce a sound on your keypress and record that). Depends mainly on what else you want to do with that loop later (overdub, timestretch, store etc).

Here’s on quick way how to do it with a coll. Read all the help files / references to the objects included and try to figure out.

Best, Joerg

– Pasted Max Patch, click to expand. –
#222680
Feb 9, 2012 at 3:23pm

I’d look at seq~. It records control-rate messages and plays them back using a phasor~. You can overdub, too.

#222681
Feb 10, 2012 at 4:34am

If you just want the rhythms, try [mtr], it’s quick to set up and go. The only caveat is that you need to convert from bangs to a number or toggle or something, it won’t record bangs themselves. You can then convert back to bangs on playback. check [mtr] help file for all the details, you can convert the sliders in it to work for you (or just bang the sliders to record the numbers going in and out).

[seq] can also work if you convert the bangs to fake “midi notes” or numbers…

and yes, [seq~] gives you more control over the playback, as mentioned. note that this is different than [seq]. also there is [detonate]. Lots of options!

#222682
Feb 11, 2012 at 11:28am

Thanks jko, it was just what i searched !
Gil

#222683

You must be logged in to reply to this topic.