Trigger event on transport stop?

Logic Pro questions and troubleshooting

Trigger event on transport stop?

Postby richypp » Thu Mar 22, 2012 5:16 am

I'm wondering if this can be done in the environment. I have an analogue sequencer that needs to be reset by 2 pulses when I press stop and finish Logic playing , so it will jump back to the start of it's sequence. I can create the pulses via various software instruments but i'm at a loss as to if this can work with Logic, is there someway of accessing a "stop" command?
richypp
 
Posts: 10
Joined: Wed Feb 22, 2012 2:41 am

Re: Trigger event on transport stop?

Postby Scandor » Thu Mar 22, 2012 3:13 pm

I'm wondering if this can be done in the environment.

Why not ? :)
Have a look at the image below. I have created a dummy instrument track and a midi region which length is = the Project length - in my scenario 1000 bars. I have created a midi note = C-2 which length is 999 bars (there are lots of easy methods to set up the note or the region length - Event List is recommended for very long events - 999.1.1.1 for example ) . The idea is: we need a continuos Note event which starts from the project beginning and ends at the project end OK ?
The other important thing is to enable the "Note Event" chase in the Project Settings Midi>Chase dialog!
I have created a small environment setup where I have set CC# 14 (ch1) in the last transformer operations as a stop out message - you can change it to any message status, number, channel or value. Note the last monitor is not cabled to the External Instrument - just cable it or create other port object(s) etc.
Get the project demo template from the attachment below. Note the "dummy" track is hidden in the template, if you need to show it just hit the orange "H" button.
Have fun !

A.G
Attachments
trsp_stop.zip
DOWNLOAD Logic Demo Template
(44.17 KiB) Downloaded 22 times
trsp_stop_out.png
trsp_stop_out.png (42.16 KiB) Viewed 256 times
User avatar
Scandor
 
Posts: 692
Joined: Mon May 25, 2009 8:45 am

Re: Trigger event on transport stop?

Postby richypp » Mon Mar 26, 2012 11:26 pm

wow thanks for that Scandor. Managed to open the template and can see it's easy to change the event to the note on I need.

one last question, as a noob to the environment, on which page can I connect the output of the trigger event to a software instrument. Normally on the clicks and ports page I can directly connect inputs to channels but this doesn't appear as an input (as it's not), but on the layer for this I can't create a Software Instrument either, the option is greyed out? The channel I need will have an expert sleepers AU instrument on, so can't be an aux. sorry... one day i'll be the master of the environment i'm sure!
richypp
 
Posts: 10
Joined: Wed Feb 22, 2012 2:41 am

Re: Trigger event on transport stop?

Postby Scandor » Tue Mar 27, 2012 1:40 am

You can cable or move the object thru the different environment layers - here are some points.
1. If you want to cable a given object to another object and both objects are placed in different environment layers:
• Go to the target object, select it and check its Icon (the Software Instr icons are enabled by default as far as I remember). This is an important step which lists the objects of the different layers (see below).
• Select the source object, hold the "Option" computer modifier key and click the object cable pin to show the flip dialog I was talking about. Note, the main tree structure will show the different environment layers, while the right tree structure will list the objects in the target layer. Navigate to a layer an choose the target object while holding the Option key. This way you will cross the cable thru the different layers.

2. To move an Environment object from one environment layer to another (inc the Channel Strip objects like Audio Tracks, Audio Instr, Aux etc ), select that object, hold the Option key and choose the target environment layer.
one day i'll be the master of the environment i'm sure!

That's sweet ! Before that you have to get a deep training course with me after that you have to pass terrible tests to get an AG Master level :mrgreen: .
User avatar
Scandor
 
Posts: 692
Joined: Mon May 25, 2009 8:45 am

Re: Trigger event on transport stop?

Postby richypp » Tue Mar 27, 2012 2:45 am

Thanks for walking me through this. I moved the channel strip on to the layer with the setup on, that made sense to me.

One last question, I think the output of the setup is creating a note off when I set to Note as the output from the last transformer (as seen in the monitor). Is there a simple way to invert it so it becomes a note on event via another transformer?
richypp
 
Posts: 10
Joined: Wed Feb 22, 2012 2:41 am

Re: Trigger event on transport stop?

Postby Scandor » Tue Mar 27, 2012 7:17 am

Is there a simple way to invert it so it becomes a note on event via another transformer?

There is a simple way but it will not work cause Logic will generate an invisible Note OFF immediately if you plan to use it in the Environment with Software instruments etc :D .
To override this behavior you have to send out of Logic a given midi message via say IAC port and return it back to Logic and transform it to Note ON ( A note OFF will be auto generated cause you stop Logic) but there will be a short buffer which will allow a short note play. Heh this is complicated, sometimes the length varies to a long sustained note...
I have packed a Demo Video of this scenario (get the Zip from the attachment below), plus the template (you must set the proper midi ports according to the midi Instrument port labels).
If you need a Note ON message to use it out of Logic try to change the bottom operation settings of the transformer labeled as "Custom Message" to:
Status=Note
Cha=1
Data Byte 1=C3
Data Byte 2=100
I'm away of my hardware musical equipment and can not try that with external midi device - i.e I'm not sure if Logic will generate a Note OFF after the Note ON on the way out...

Another scenario is to use a " True Note # " which is split in the Click & Ports (see the image below), triggering Meta Event #52 (Stop Playback). I have not optimized the setup placing 3 monitors a a few transformers cause you can look at it as a tutorial setup. In this scenario you have to use the Note # set in the first transformer (in the example C1) to stop Logic. I have included that template in the pack too.
Regards,
A.G
Attachments
true_note_stop.png
true_note_stop.png (14.46 KiB) Viewed 184 times
trsp_stop_tutor2.zip
Video & Templates Tutor Pack
(440.93 KiB) Downloaded 20 times
User avatar
Scandor
 
Posts: 692
Joined: Mon May 25, 2009 8:45 am

Re: Trigger event on transport stop?

Postby richypp » Tue Mar 27, 2012 8:54 am

All praise to Scandor! Thanks so much for taking the time to do this. I created a new instrument channel and split the new note on message to that, removed the feed to the main sequencer input. l put the Silent Way trigger plug on the new channel (this generates a gate pulse for analogue sequencers) - realised that the delay module on the environment seems to only delay when it's running so inserted a delay designer after the plug with a single repeat creating the two pulses needed, routed that to the audio output and hey presto, it works!

I use Bidule reasonably well but must say the environment really does deserve it's fearsome reputation! thanks again...
richypp
 
Posts: 10
Joined: Wed Feb 22, 2012 2:41 am


Return to Logic Pro

Who is online

Users browsing this forum: No registered users and 7 guests