Loopy Pro: Create music, your way.
What is Loopy Pro? — Loopy Pro is a powerful, flexible, and intuitive live looper, sampler, clip launcher and DAW for iPhone and iPad. At its core, it allows you to record and layer sounds in real-time to create complex musical arrangements. But it doesn’t stop there—Loopy Pro offers advanced tools to customize your workflow, build dynamic performance setups, and create a seamless connection between instruments, effects, and external gear.
Use it for live looping, sequencing, arranging, mixing, and much more. Whether you're a live performer, a producer, or just experimenting with sound, Loopy Pro helps you take control of your creative process.
Download on the App StoreLoopy Pro is your all-in-one musical toolkit. Try it for free today.
Mozaic // Only send the last midi value of a midi cc stream?
I am trying to only send the last midi cc value of a midi data stream after a given idle time.
I managed the timing functions but don't see a way to store the last value and send it later. I'd like to be flexible with the cc param numbers, too.
Is there a clever way to do this in Mozaic?
Comments
no expert with a little advice out there?
Every time a new CC value comes in save it to a variable.
When the timer goes off then send out a CC message using this saved last value.
Each CC coming in can overwrite the one before it since you only care about the last one.
Here's one way I think will do what you want. For more flexibility, you could set the channel, cc#, and timeout with knobs.
NOTE: This script will block all other MIDI. Some additional code is needed if other midi needs to be passed through.
Here's a version that passes through all other midi:
hey thanks guys @wim @McD! i will try that.
it's always good to see a code example since i'm sometimes get stuck trying to achieve things like these with the little mozaic toolbox.
what i still don't understand is the role of the counter variable in your example @wim. since it's state is always NO, what does it do?
Look at the code again. The counter is reset to the timeout value on each new midicc and then counts down each time through the timer loop
alright, i was able to assemble the script.
it now captures the incoming cc messages, stores them in a state variable and outputs them all after the timeout.
thanks for helping me with my brain jam