Hi Tuur
Hope your outing was good!
Ok I will check the code again. It a bit hard to explain but I adapted the youtube live setup posted in the forum. It relies on a slot being selected and simply using enter to start rec on a blank slot or play current slot and backspace to delete slot. What happens is;
Bank 00 (on the FCB) has fswitch 1-8 selects scenes ie 1=verse1, 2=verse2 etc and fs selects a scene called 'Selah' which is usually pretty much empty. fs 10 is always a dedicated stop with the functionality we are discussing and solving here.
Bank 01 is now the editor for this selah scene (or for any of the scenes but most appropriate here). FS 1-8 select the track. A short click sends 'Enter', a medium click stops the clip and a long click sends 'backspace'.
I use an index so that when Bank 00 Preset 1 is selected, it triggers a preset which will remap the bank 01 fs's appropriately. That seems to work ok. The problem is that for this to work properly, the selection needs to follow the scene as well. I sort of have this working but the deactivate preset seems to write the globals after the newly selected code has already executed;
Code: Select all
IN : MIDI 9C 0D 40
assignment: (hf=3) = 3
IN : MIDI 9C 0D 40
OUT: activate only preset "00.03_Edit"
Deactivated preset: 00.02_Edit
IN : deactivate this preset
assignment: (he=2) = 2
Activated preset: 00.03_Edit
IN : activate this preset
assignment: (h0=72+10) = 82
assignment: (hi=hf-he) = 1
IN : activate this preset
assignment: (hi=hf-he) = 1
condition satisfied: if hi>0 then Goto "NoInvert"
assignment: (pp=hi+0) = 1
exit rules, execute Outgoing Action
OUT: Timer pp times "Repeat": 10 ms (initial delay: 500 ms)
IN : On timer "Repeat"
condition satisfied: if hi>0 then exit rules, execute Outgoing Action
OUT: Keystroke: ]
IN : MIDI 9C 0C 40
assignment: (hf=2) = 2
IN : MIDI 9C 0C 40
OUT: activate only preset "00.02_Edit"
Activated preset: 00.02_Edit
IN : activate this preset
assignment: (h0=72+10) = 82
assignment: (hi=hf-he) = 0
IN : activate this preset
assignment: (hi=hf-he) = 0
assignment: (pp=hi*-1) = 0
exit rules, execute Outgoing Action
Deactivated preset: 00.03_Edit
IN : deactivate this preset
assignment: (he=3) = 3
OUT: Timer pp times "Repeat": 10 ms (initial delay: 500 ms)
See in the first 2 clicks Im going up the presets and it works fine but coming back down the presets the deactivation occurs much later in the processing of the code.
So basically a new scene selection should also up/down the scene ie relative mappings, so that the selection will be focused on the right track/scene slot.
I have wasted so much time I would actually be happy to pay you to do some work if you are interested. You have already sacrificed your time so much (of which Im greatful).
Now I have had a bit of time to devise what I would like I could probably give you a brief (which is probably what I should have done to start but I couldnt resist!)
Regs
Mark
BTW
I dont want Live to rec after a new scene fire. Live definitely glitches with a single tempo key...esp if the tempo is already a little different from the orig recording.