Tagged: Overdub State, Record state
- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by Philippe.
-
AuthorPosts
-
14 May 2021 at 9 h 29 min #5095DanielAkerbergMember
Hi,
I am looking for a function that would return the current state of a looper, e.g. play, record, overdub etc. I am looking for something like:
If { LooperAState == Record}
Action 1
ElseIf { LooperAState == Overdub}
Action 2
EndIfThanks for any help!
//
Daniel14 May 2021 at 21 h 17 min #5097PhilippeKeymasterHi Daniel,
To know the state of almost everything in Logelloop.
You will use the variables.
Every variable is in the “Macro Variable Viewer” you open in the tools menu.Then, if you want to know the state of a record, you can put Record in the filter and you will see $state_record$ in the list.
$state_record$ will be true when the main looper is recording.So the macro is :
DoRepeat
If {$state_record$ == true}
Message “Recording in action”
EndIfIf {$state_overdub$ == true}
Message “Overdub in action”
EndIfSleep 100
While true
15 May 2021 at 1 h 15 min #5099DanielAkerbergMemberThank you.
I now found the variables you mentioned in the reference guide. I still have some questions though.
1. The “Main looper” is that the currently selected looper (could I use $current_selected_track$)? If not, can I somehow define what looper/track to ask the state for?
2. Is there any “Play” state for the looper? I.e. is there anyway of knowing if the looper is just playing (not in record, mute, overdub, multiply…)?
3. Is there anyway of knowing the state of an Insert Looper?Thanks again!
15 May 2021 at 2 h 31 min #5100PhilippeKeymasterHi,
1 – The main looper is the 10 tracks looper.$state_multiply$, $state_mute$, $state_overdub$, $state_record$ will tell you the state of this main looper.
$current_full_tracks_count$ and $current_last_full_track$ will tell you how many tracks are playing in the main looper.2 – $current_loop_duration_ms$ and $current_loop_duration_samples$ will tell you if there is something in the main looper : {$current_loop_duration_ms$ != 0} means something is recorded and if it is not muted ({$state_mute$ == false}) it should be playing.
3 – if you load a looper in fx3 / rank 1, this variable will be created : $Looper_fx3_rank1_Record_state$ and it will be visible in the list.
If you put $Looper_fx3 in the filter part of the variable table, you will see this list :$Looper_fx3_rank1_ActionAtNextBar_state$
$Looper_fx3_rank1_AutoFade_state$
$Looper_fx3_rank1_CrossFadeShape_state$
$Looper_fx3_rank1_Group_state$
$Looper_fx3_rank1_LatencyCompensation_state$
$Looper_fx3_rank1_MuteFadeLength_state$
$Looper_fx3_rank1_Mute_state$
$Looper_fx3_rank1_PauseMode_state$
$Looper_fx3_rank1_Play_state$
$Looper_fx3_rank1_Record_state$
$Looper_fx3_rank1_SelectionIn_state$
$Looper_fx3_rank1_SelectionOut_state$
$Looper_fx3_rank1_SpeedFloat_state$
$Looper_fx3_rank1_SpeedSemiTone_state$
$Looper_fx3_rank1_Sync_state$
$Looper_fx3_rank1_Synchro_state$
$Looper_fx3_rank1_current_length$All of those variables describes the fx3-rank1 Looper state
Philippe
-
AuthorPosts
- You must be logged in to reply to this topic.