Script to start LogicRecording

678 views
Skip to first unread message

josep...@gmail.com

unread,
Dec 10, 2021, 10:25:23 AM12/10/21
to QLab
Hi Folks,

we 'll change our audiorecording from Samplitude ( Windows ) to Logic.
A wonderful feature was in Samplitude the time programming
for recording.
Have anyone perhaps a script to start the recording in Logic over Qlab?

Thx Federhall

Rich Walsh

unread,
Dec 10, 2021, 10:55:27 AM12/10/21
to ql...@googlegroups.com
Pretty sure Logic Pro can't be controlled by AppleScript. You could use MIDI Machine Control to control recording, like we used to with hardware multitrack recorders. Better though would be to map the controls you need to trigger to MIDI messages and send them.

This would be trivial in Ableton Live; I let my Logic Pro "subscription" lapse about a decade ago so don't have a copy of it any more to check. I've assumed record enable and start / stop buttons can be mapped to MIDI messages…

Rich

Maik Waschfeld

unread,
Dec 10, 2021, 12:31:06 PM12/10/21
to ql...@googlegroups.com
Hi,

Logic Pro’s AppleScript support is quite „simple“.
See the screenshot.

I’d suggest to consult the manuals, that are available for free in Apple Books.
Maybe the „Logic Remote“ book can help, too.


With kindest regards…
…Maik Waschfeld

(sent from my MBPro16,2)
also at <mailto:Maik.Wa...@Staatstheater-Stuttgart.de>



--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/QLabApp
User Group Code of Conduct: https://qlab.app/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/09a69ae0-b0c6-4047-9025-8a9d9543c1b7n%40googlegroups.com.

Damien Figueras

unread,
Dec 10, 2021, 2:22:05 PM12/10/21
to ql...@googlegroups.com
There's likely a few different ways to do it but I've done this in the past using MIDI. This is assuming you're running both QLab and Logic on the same computer. On the QLab side, set your MIDI out to be the IAC Driver. From there, I prefer to send it as a Program Change, though you could also send it as a Note On/Off if you prefer.

On the Logic side, open up the Controller Assignments window (Option-Shift-K is the shortcut to open this window). Create a new Zone for yourself. Create a new Control Parameter. Click "Learn Mode." Then send your MIDI cue from QLab. Once that's done, go up to the Controller Assignment Parameter box in Logic and set the Class to "key commands." Then select Record. Then you should be all good to go. If need be, you can setup different MIDI commands to toggle the Start and Stop as well. For some reason, I've found that learning the MIDI command first and THEN putting in the actual key command you want to trigger has worked better than putting in all that info first. Not sure why. 

Hope this is helpful!

Thanks!
Damien

Message has been deleted

josep...@gmail.com

unread,
Dec 11, 2021, 2:15:53 PM12/11/21
to QLab

Thx 4 help guys - i 'll try the micpool way. It sounds great with calendar! Greetings from Schwerin Theatre
micpool schrieb am Samstag, 11. Dezember 2021 um 17:35:58 UTC+1:
Logic Pro Transport can be controlled by MMC (MIDI Machine Control)

You enable this on a per project Basis in Logic in File/project settings/synchronisation/MIDI/Listen to MMC Input.

Screen Shot 2021-12-11 at 16.31.16.png

MMC isa subset of MIDI System Exclusive Messages. QLab can send MIDI Sysex so can therefore send MMC

Send MIDI to any IAC Bus if running QLab and Logic on the same machine, or route through an interface.

The MIDI sysex is 7F 7F 06 02 XX

where XX is  one of the following bytes which Logic Pro will respond to

  01 Stop
  02 Play
  04 Next Bar
  05 Previous Bar
  06 Record Start (AKA  Punch In) can be used from Stop
  07 Record Exit (AKA Punch out)
  44 06 01 HH MM SS FF ff        Goto (AKA Locate) 
  Where HH.....ff is the time e.g. 44 06 01 01 00 00 00 00  will locate 1 Hour i.e the default beginning of the track


You can then use  cues to control the Logic transport from QLab , Wall clock triggers on cues   to schedule recordings, or the technique in this thread to Schedule recordings using Calendar via QLab  



Screen recording attached

micpool

unread,
Dec 12, 2021, 10:28:15 AM12/12/21
to QLab
Sorry there was an error in the SysEx in my previous (now deleted) post. 

Logic Pro Transport can be controlled by MMC (MIDI Machine Control)

You enable this on a per project Basis in Logic in File/project settings/synchronisation/MIDI/Listen to MMC Input.

Screen Shot 2021-12-11 at 16.31.16.png

MMC isa subset of MIDI System Exclusive Messages. QLab can send MIDI Sysex so can therefore send MMC

Send MIDI to any IAC Bus if running QLab and Logic on the same machine, or route through an interface.

The  QLab MIDI SysEx is  7F 7F 06 XX    (In QLab the starting F0 and the Ending F7 are omitted. e.g in apps other than QLab  the full  SySex Message for record is  F0 7F 7F 06 06 F7)


where XX is  one of the following bytes which Logic Pro will respond to

  01 Stop
  02 Play
  04 Next Bar
  05 Previous Bar
  06 Record Start (AKA  Punch In) can be used from Stop
  07 Record Exit (AKA Punch out)
  44 06 01 HH MM SS FF ff        Goto (AKA Locate) 
  Where HH.....ff is the time e.g. 44 06 01 01 00 00 00 00  will locate 1 Hour i.e the default beginning of the track



You can then use  cues to control the Logic transport from QLab , Wall clock triggers on cues   to schedule recordings, or the technique in this thread to Schedule recordings using Calendar via QLab  



Screen recording attached

QLab MMC.mov
Reply all
Reply to author
Forward
0 new messages