Login / Register 0 items | $0.00 New @ KVR
Fireblade1988
KVRer
 
9 posts since 21 Jun, 2010

Postby Fireblade1988; Thu Mar 29, 2018 1:20 pm Note counter?

Hey guys,

here my last question for now. Thanks for your help so far!
I'm looking for a way to count how often a specific note-on (f.e. C3) has been played. After (x) notes a midi CC (# and value doesn't matter) should be triggered / send out.
Any ideas on this?

The idea behind this: Let's say I have to play the same musical phrase over and over again. But after x-times the sound should change. With an automatically send CC I can let my host switch the sound quite easy.

Thanks,
Chris
User avatar
pljones
KVRAF
 
6147 posts since 8 Feb, 2003, from London, UK

Postby pljones; Thu Mar 29, 2018 11:38 pm Re: Note counter?

A step sequencer might help, if it has a mode that lets you step the sequence once per note received (though I don't think the MUX module one unless someone knows how to get this mode). You can then make sure only the selected note reaches the stepper. The idea being the incoming note causes the stepper to emit your incoming note for N steps, then changes to a different note for the next M steps, then eventually back to the start of the step sequence. After the stepper, you route the emitted note to trigger the phrase you want triggered elsewhere.
bibz1st
KVRAF
 
1511 posts since 29 Mar, 2013

Postby bibz1st; Fri Mar 30, 2018 3:39 am Re: Note counter?

You could use a note dispatcher, set the number of outputs to however many steps you are counting and only connect one peg to the "cc" module. Make sure to select round robin mode too. Be aware though it doesn't reset itself, that is if you stop playback, and then restart, then the output will be the next peg in line, it won't start from first peg again.
Not sure if ive explained that very well but its fairly straightforward
Beauty is only skin deep,
Ugliness, however, goes right the way through
Fireblade1988
KVRer
 
9 posts since 21 Jun, 2010

Postby Fireblade1988; Mon Apr 02, 2018 9:23 pm Re: Note counter?

Thanks for your replies.

@pljones: Great idea. I found out that the midiStep from the pizmidi-library does exactly what I need. Since it's free I'll use this instead of a MUX.

Moderators: mutools, muzycian

Return to MUTOOLS