Forum Replies Created
-
AuthorPosts
-
GwenoleMember
Bonjour Philippe et Christophe,
Merci pour la question et la réponse.
J’aimerai bien avoir le code moi aussi dans la mesure du possible.
D’autres personnes seraient probablement intéressées, peut être qu’une mise en ligne sur le forum serait souhaitable ?12 February 2021 at 16 h 48 min in reply to: Control loop slicing window using midi controller #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
12 February 2021 at 16 h 48 min in reply to: Control loop slicing window using midi controller #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 47 min in reply to: Control loop slicing window using midi controller #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
GwenoleMemberBonjour Nico,
Je viens d’essayer et la commande pour record via les macros concernant korpus et la bonne syntaxe est la suivante :
InsertSendMessage trk10 1 Record 1
La méthode la plus simple à mon gout pour trouver les bonnes fonctions macro est la suivante :
Sur la fenêtre de ton insert (par exemple korpus) tu clique sur le ”?”. ça t’ouvre la notice de korpus
Puis tu click sur l’onglet “Message Controllers Command”
Puis dans la fenêtre avec toutes les fonctions Macros tu sélectionne la fonction voulue
Tu fais Cmd+C
Tu ouvre ta Macro et tu fais Cmd+VC’est vraiment bien pratique pour écrire vite les MAcros en s’évitant pas mal d’erreurs de syntaxe.
Bonne journée
Gwenole
GwenoleMemberThe Max console shows this message when i play this problematic macro :
CLASS=class java.lang.NullPointerException
java.lang.NullPointerException
at com.logelloop.macro.action.AbstractValueChange.for(Unknown Source)
at com.logelloop.macro.action.a.if(Unknown Source)
at com.logelloop.macro.main.b.for(Unknown Source)
at com.logelloop.macro.main.b.run(Unknown Source)
Error : Erreur inattendue ! Veuillez contacter votre administrateur.: java.lang.NullPointerException
java.lang.NullPointerException
at com.logelloop.macro.action.AbstractValueChange.for(Unknown Source)
at com.logelloop.macro.action.a.if(Unknown Source)
at com.logelloop.macro.main.b.for(Unknown Source)
at com.logelloop.macro.main.b.run(Unknown Source) -
AuthorPosts