Welcome to %s forums

BrainModular Users Forum

Login Register

record midi notes into step midi module?

I need help on a Patch
Post Reply
soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 23 Oct 2010, 22:39

I am looking for a way to record notes from a midi keyboard into a steps module in real-time. Any suggestions? thanks.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 23 Oct 2010, 23:19

hi soundmind.

you can use the setArrayElmt Value to edit the steps array. the array goes out of step module to a set array elmt module,
and back in.(if wanna be able to still 'draw' the steps use a 'pass if cghg'.
and if you connect the 'pos' out of step array to index of set array module, it will constantly follow the loop to be ready to
enter a value at the actual loop position.

you probably then need to make the min value of steps of 0 and max of 127 (as 128 possible notes), and feed the
set arrayelmt module 'value' input with the midi code you receive out of midi in module val1.

the thing to find is: when do you set value, cause if set is always on, it will constantly erase previous datas, so
one thing might be to wire the 'pass' or 'receive' out of midi to the 'set' input, so it applies change to steps array
only when a midi note is received.

the other thing is to find how to handle noteoff. probably by choosing a value (0?) to be used to set the array
when noteOff is received, and be able to filter steps midiout so that it will emmit only if a step has a >0 value,otherwise will
send note off/ allnote off message.

note that step are 'monophonic' so you will be able to have only pitch or velocity, but once it work ok you can
use two steps modules , one recing notes, one recing velocities and you recombine booth outputs to recreate your own midi
message with a create midi mess module.

hope it helps

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Oct 2010, 23:22

here a first idea :
Image
here you have to manually start and stop record with the switch

edit : as often, cross post with 23fx..;-)

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Oct 2010, 23:33

an other way :
Image

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Oct 2010, 23:54

and if you have problems with note off, this is a way ( except for repetitive notes ) :
Image

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 24 Oct 2010, 00:29

23fx23, nay-seven,

Thanks for these great solutions. I was fumbling around with the fader outputs of the steps module and didn't even think about using the set array val module.

nay-seven,

your second suggestion works perfectly and to eliminate the note off I just set the filter in the midi in module to note on so that the receive output only activates when a note on is received. good work.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests