Forum Replies Created
-
AuthorPosts
-
31 January 2024 at 10 h 24 min in reply to: Insert Looper is not updated by changes to SelectionIn/SelectionOut variables #6271
DanielAkerbergMemberBack again,
Still seems to be some strange behaviour. I now have the following code:
—
InsertSendMessage fx1 1 SelectionIn 0.0
InsertSendMessage fx1 1 SelectionOut {$Looper_fx1_rank1_current_length$/8}
—
When triggering this the SelectionOut value is correctly calculated and set but the SelectionIn is also set to the same value as the SelectionOut, so basically the selection is null and nothing is played. I also have the Insert Looper in Synchro = “Free”. Any thoughts would be great! Thanks31 January 2024 at 10 h 16 min in reply to: Insert Looper is not updated by changes to SelectionIn/SelectionOut variables #6270
DanielAkerbergMemberHi again!
My bad, I should of course use “InsertSendMessage fx1 1 SelectionIn…”. Have been doing too much macro coding lately 🙂
30 January 2024 at 17 h 01 min in reply to: Missing two Macro functions: SlicerInsertState and “ResetInOutSelection” #6266
DanielAkerbergMemberHi Philippe!
1. I didn’t understand if you asked me a question back 🙂 There are currently functions for almost all other red buttons of the Slicer (SLicerSlicesState, SlicerLoopState, SlicerAUXState etc…) but I cannot find one for Inserts..
2. Aha, I missed that. Yes, “SelectionReset” is probably a more clear name 🙂//
Daniel28 January 2024 at 12 h 33 min in reply to: Midi mapping of Macros with channel per Note + limit of 60 macro mappings #6257
DanielAkerbergMemberOk! Fair enough ?
DanielAkerbergMemberAha, now I think I understand. So the declaration is only important for when all macros are initially loaded in the project, not for when triggering the macros. Ok, I will use the “once”. Thanks!
DanielAkerbergMemberHi,
Ok. I will add the sleep in all my While/Repeat loops. Thanks!
Regarding adding variable declaration in ALL macros, isn’t it mandatory to set a value when declaring a variable? I am using the variables to store a state between different macros. I.e. “Global” variables. So I can read the current value set by another macro. Or am I misunderstanding something here?
DanielAkerbergMemberHi again,
HELP again. Just now, out of nowhere, I got the same issues with the user variables again. And I haven’t changed or worked with any of these particular variables. So again a lot of random macros are red marked in the macro viewer. And also some validated macros will suddenly not work (they worked fine only 10 minutes ago) and Logelloop seems to freeze. It now seems to be having trouble using the Logelloop variables as well. This validated (not red marked) macro below gets stuck at the first If statement with $state_record$ and everything freezes.
—–
DoRepeat
If {$state_record$ == true}
Record
Sleep 50
RestartLoop
MidiSend “Launchpad MK2” 146 31 122
BreakRepeat
EndIf
If {$current_last_full_track$ == 0}
BreakRepeat
EndIf
If {$state_mute$ == true}
Mute
RestartLoop
MidiSend “Launchpad MK2” 146 31 122
BreakRepeat
EndIf
If {$state_overdub$ == true}
Overdub
RestartLoop
MidiSend “Launchpad MK2” 146 31 122
BreakRepeat
EndIf
While true
—-Right now I can basically not do anything. Thanks again!
DanielAkerbergMemberHello! Thanks again for a quick answer!
A few things:
1. No, I do not Set the boolean declared variables to an int in some other macros ( I just checked)
2. It seems completely random which macros get red marked and which don’t. Some that do use the variables are not red and are working correctly and some are red and hence cannot be started. And some that are red marked do not get any error when I click “Check” in the macro itself
3. These errors suddenly appeared today seemingly from nowhere. I had made no changes to haw the variables are declared and used in the macros. And at the same time the Setting I used to recall was emptied. So something seemed to have changed??
4. I am using these variables as “Global” variables, basically to read values updated/states cross macros. If I declare them (and give them a value) in every macro this will overwrite value and defeat the purposeThanks again!
24 January 2024 at 17 h 19 min in reply to: Copy loop from Main and Insert looper and paste to Insert looper #6247
DanielAkerbergMemberAh. I was looking in the Programming Reference Guide without success. But I missed the Messages section. Thanks!
24 January 2024 at 14 h 42 min in reply to: Copy loop from Main and Insert looper and paste to Insert looper #6243
DanielAkerbergMemberOne more thing. Could you list all the commands you can send as part of “AudioMessages” except Copy and Paste?
24 January 2024 at 9 h 41 min in reply to: Copy loop from Main and Insert looper and paste to Insert looper #6241
DanielAkerbergMemberOk. Thanks!
DanielAkerbergMemberHi! No, this will work fine
23 January 2024 at 22 h 14 min in reply to: Copy loop from Main and Insert looper and paste to Insert looper #6238
DanielAkerbergMemberThanks!
And If I want to copy from main looper to Insert looper, would I do something like:
************************* Begin *************************
Copy
WaitEndCopy
InsertSendMessage fx1 1 AudioMessages Paste
************************** End **************************
Or how can I trigger the small “copy” button on the Main Looper window itself?23 January 2024 at 20 h 57 min in reply to: Variable for reading midi note/CC FROM midi controller TO Logelloop #6234
DanielAkerbergMemberThanks! I will take a look at this
DanielAkerbergMemberThanks! I will try this
-
AuthorPosts