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 Store

Loopy Pro is your all-in-one musical toolkit. Try it for free today.

8 Midi Notes to 48 Midi Notes : Howto in a Mozaïc ´script?

Hello specialist’s !

I tried this :blush:
Arrays are strange things for me!
Thank’s

Sliding Clavier mini
@Onload
FR3 = [57, 53, 52, 48, 59, 55, 54, 50] //A3 F3 E3 C3 B3 G3 F#3 D3
// Bb3 58 et C#3 49 pour +/- changer de KB?
call @Clavier
@End

@OnMidiNote
ch= MIDIChannel
@ Basses Chan 2 LVER KB
KB=KB1
log KB1[0]
SendMidNoteOn 1, KB1[0], 100
//Of course all cells = 31!….SOS!
endif
@End

@Clavier
for i =24 to 31 //C1 to G1
for j =1 to 8
KB1[j]=i
endfor
endfor
for i =32 to 39 //G#1 to D#2
for j =1 to 8
KB2[ j]=i
endfor
endfor
for i =40 to 47 //E2 to B2
for j =1 to 8
KB3[ j]=i
endfor
endfor
for i =48 to 55 // C3 to G3
for j =1 to 8
KB4[ j]=i
endfor
endfor
for i =56 to 63 //G#3 to D#4
for j =1 to 8
KB5[ j]=i
endfor
endfor
@End

Comments

  • edited February 25

    Suggestion: your two nested loops cycle independently, "wheel within a wheel". So the last step in the first loop (i=31) will fill 8 positions in the inner loop (j=1,8) with value i=31.

    You need to manage the j loop yourself, for example

    j=0
    for i =24 to 31 //C1 to G1
       j = j + 1
       KB1[j]=i
    endfor
    

    This makes j advance in synchronism with i; when i=24, j=1; when i=25, j=2; etc. Only one wheel spinning.

    Edit: Just make sure to start j one before the first position to fill, and advance it before using it, as in my example.

  • wimwim
    edited February 25

    There are also two syntax errors in the @OnMidiNote event.

    • The line @ Basses Chan 2 LVER KB can't start with the @. If it's a comment then it should start with //.
    • There's a loose endif in the last line of the event.

    I didn't drill in enough to know if those affect the operation, but I always like to start by getting rid of obvious errors first.

    When you post code to the forum, you can put it into a code block by putting three back-ticks on a line by themselves before and after the code. The back-tick can be hard to locate on some international keyboards. You can also use <pre> on a line before the code, and </pre> on a line following the code.

  • Yes!……, the right algorithm I think of…..
    Many thinks..

  • @wim said: …

    Yes …give me an example…of formating code….so I can understand…
    I know y’ve many scripts on Mozaic patchstorage..which I study.
    Thks for your interest.

  • So , the goal is to affect the specific 8 left hand range bass V_Accordion buttons, that I don’t use when live play, to the 48 ChordPolyPad’ buttons.
    ( + one Up & one Down Note to slide KB range. 58 & 49 notes) .

Sign In or Register to comment.