Jump to content

Script to keep Track sustained


Recommended Posts



I'm new to scripting in javascript and I would appreciate it if someone can help me out.

Is there a way where I can play live on one track and keep the last note sustained while I switch to another Instrument Track and play over the sustained note (like a drone)?


I already posted a thread in the main Logic forum and David helped me setting up a solution in the MIDI environment. But it has its limitations and he suggested that I should try and ask here for any support.


With the MIDI environment method, we used a Cable Switch to cut communication with the Sequencer Input so that the Input from the Physical input can sustain. Then going to another Track and switching the Cable Switch back to connect to the Sequencer Input and that way I can play with different Instruments over the drone.


The problem that I had with this method was that I had to play the exact same notes on the sustained track to stop the sustain.


Here some additional information:

- I'm using the BBCSO Core 2 Template and the Traveler Console from Monogramm.

- we used CC35; on Value 127, off Value 0 for the Toggle.

- use the Sustain Pedal on the Sustained Track to end the Notes (just my current idea on how to get out of the sustained mode / using the same CC35 would also work for me)


Maybe there is a more elegant way with the scripter that tackles this problem?

Link to comment
Share on other sites

Okay, but that shouldn't be the problem. I am assuming you only need to address the sustained track.

I have found a script on google that does similar things but it is more related to legato and is still not what I am looking for.


I'll try to explain it again but as simple as I can:


- A script on the Track I want to sustain


- I play a few notes and activate a switch (preferably a CC Toggle)


- The note is being held and I can freely move around in Logic and select other Tracks.


- After I am finished, I want the notes to end and I would like to use the same CC Toggle

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
hi danharrisonfx

could you help me with that? i want to keep some strings sustained while playing a piano.

i don't know the FIRST thing about scripts...

could you help me out? :)

Try this:


Logic Pro 10.5.1 • OS X 10.14.6 • MBP 15" Early 2013 • 2.4 GHz Intel Core i7 • 8GB RAM • iMac 27 Late 2013 • 3.4 GHz Intel Core i5 • 16GB RAM • Focusrite Saffire 6 USB • cheap midi keyboard • Korg NanoKontrol • Roland UM-One mkII • Behringer FCB1010 • Gibson ES335
Link to comment
Share on other sites

Alright, I figured it out.. It's been a factory script that comes with Logic.

I used the MIDI to Plugin Parameters Script. Changed the Input to CC35 and the Target to CC65 Sustain.


That was exactly what I was looking for.

For clarity sake, the MIDI CC# for sustain is 64 (not 65)...

LogicPro 10.7.4, MainStage 3.6,
MBPro 17", Core2Duo, 8G, OSX 10.12.6, MacPro, Xeon 6Cores, 64GB, OSX 10.16.1,
ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII, Several vintage gear
AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc..., PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL),

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...