Home › Forums › Logelloop (English spoken) › Control loop slicing window using midi controller
- This topic has 5 replies, 2 voices, and was last updated 3 years, 9 months ago by DanielAkerberg.
-
AuthorPosts
-
11 February 2021 at 20 h 30 min #4959DanielAkerbergMember
Hi,
Is there any way to select a specific part of a loop to playback in real time using midi? Right now I have only found that I can do it using the mouse pointer or by pre programming parts through Slicer. I got a response a few years ago through email that this could be solved via a makro. Is it possible for you to create an example macro for this?
Thanks!
12 February 2021 at 16 h 47 min #4963GwenoleMemberHi Daniel,
I’m going to send you in separated answers 2 macro examples that could to the job.
You’ll just have to create new macros in logelloop and to copy/paste the codes
I hope it will be helpfull.Best regards
Gwenole
12 February 2021 at 16 h 48 min #4964GwenoleMember//This macro will recall a slicer step previously stored
//by presing a midi note controller routed on the Macro Midi Variables.
//You’ll just have to adress your midi keyboard to the midiv_ntv1, 2,3,…
//in the project configuration menu > Midi > Variables for macro and to program your slicer steps with the desired
//time selection.DoRepeat
If {$midiv_ntv1$ > 0}
SlicerStepLoad 1
EndIf
//Copy here up to 8 If to EndIf lines and just change the number of the midi ntv and the number of the slicer step load
If {$midiv_ntv8$ > 0}
SlicerStepLoad 8
EndIf
Sleep 100
While true
12 February 2021 at 16 h 48 min #4965GwenoleMember//This macro will recall a specific part of a loop via midi
//by presing a midi note controller routed on the Macro Midi Variables
//You’ll just have to :
//- adress your midi keyboard to the midiv_ntv1, 2,3,… in
// the project configuration menu > Midi > Variables for //macro
// Set in the macro below the TrackLoopBeginAt and TrackLoopEndAt value, which means the beginning and the end
// of the specific part you wanna recall.
//You can duplicate this macro and assign other midi notes by changing
//in the macro below the values of the $midiv_ntv $ valueDoRepeat
If {$midiv_ntv1$ > 0}
TrackLoopBeginAt trk1 0
TrackLoopEndAt trk1 20000
EndIf
Sleep 100
While true
13 February 2021 at 12 h 29 min #4976DanielAkerbergMemberThank you Gwenole for your examples. They will be of great use when recalling specific predefined parts of the loop!
Is there also a way of modifying TrackLoopBeginAt and TrackLoopEndAt in ‘real time’ using for example two rotary knobs if you want to enlarge/minimize the loop/slicer window in a live performance without predefined loop windows? Basically, the same way you can using the mouse pointer today. Thanks again!
Regards
//
Daniel15 February 2021 at 20 h 27 min #4986DanielAkerbergMemberHere is an example Macro I got from Philippe that solves my question above:
DoRepeat
MessageMain $midiv_cc1$
TrackLoopBeginAt trk1 {scale($midiv_cc1$, 0, 127, 0, $current_loop_duration_samples$)}
TrackLoopEndAt trk1 {scale($midiv_cc2$, 0, 127, 0, $current_loop_duration_samples$)}
Sleep 50While true
-
AuthorPosts
- You must be logged in to reply to this topic.