Midi remote scripting, midi output if slot contains a clip?
Midi remote scripting, midi output if slot contains a clip?
Does anyone know if there's a way via midi remote script to tell if a clip slot actually has a clip loaded/recorded into it? I'm playing with a modified version of the fcb1020 script but cannot find a way to determine if a clip exists in the slot or not. I need this for a lemur clip launcher. I need to be able to tell which clip slots already have clips in them. With the script I'm using, I only have 5 slots per track to work with and would like to k is which ones are free to record to. I've tried clipslot.has_clip but it seems to always return true.
-
- Posts: 23
- Joined: Thu Jan 26, 2012 7:03 am
- Location: Boulder, CO
- Contact:
Re: Midi remote scripting, midi output if slot contains a clip?
Rather than testing:
Try:
Hacky, and I don't know why has_clip doesn't work as expected, but this seems to do it.
Code: Select all
if (clip_slot.has_clip):
Code: Select all
if (clip_slot._clip_slot.clip):
- Gangsterish
ElectroSwing / GhettoFunk Producer / DJ from Boulder, CO
ElectroSwing / GhettoFunk Producer / DJ from Boulder, CO