|
|
|
08-12-2017, 03:36 AM
|
#1
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
|
Lua: Create layer track
ReaPack/mpl_Create layer track from selected instruments tracks.lua
It: - renames selected tracks as instrument names if any
- creates new folder track right before first selected track, ask for layer containter name
- puts instrument tracks to folder
- creates MIDI track
- routes only MIDI from MIDI track to instrument tracks, disable parent send
- prepares MIDI track for keyboard input (enable monitoring, recarm, set MIDI inputs)
- puts all this shit into one indo point
|
|
|
08-13-2017, 06:03 AM
|
#2
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Quote:
Originally Posted by mpl
ReaPack/mpl_Create layer track from selected instruments tracks.lua
It: - renames selected tracks as instrument names if any
- creates new folder track right before first selected track, ask for layer containter name
- puts instrument tracks to folder
- creates MIDI track
- routes only MIDI from MIDI track to instrument tracks, disable parent send
- prepares MIDI track for keyboard input (enable monitoring, recarm, set MIDI inputs)
- puts all this shit into one indo point
|
I tried this yesterday and found it unbelievable handy, a great piece of work ;you rock mpl !!
|
|
|
05-12-2022, 08:21 PM
|
#3
|
Human being with feelings
Join Date: May 2020
Location: Huntsville, AL
Posts: 103
|
Quote:
ReaPack/mpl_Create layer track from selected instruments tracks.lua
It:- renames selected tracks as instrument names if any
- creates new folder track right before first selected track, ask for layer containter name
- puts instrument tracks to folder
- creates MIDI track
- routes only MIDI from MIDI track to instrument tracks, disable parent send
- prepares MIDI track for keyboard input (enable monitoring, recarm, set MIDI inputs)
- puts all this shit into one indo point
|
This... And all of your other magic... Is effing brilliant. Can't believe I'm just now diggin into SWS. Hats off. Pants off. You're a frickin' deity.
|
|
|
05-12-2022, 10:50 PM
|
#4
|
Human being with feelings
Join Date: Sep 2020
Location: India
Posts: 283
|
can it not have the prompt to rename the new track?
|
|
|
09-18-2022, 03:47 AM
|
#5
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
|
Quote:
Originally Posted by Kaxaze music
can it not have the prompt to rename the new track?
|
replace this
Code:
-- add/name folder track
local retval, new_name = GetUserInputs( 'mpl_Create layer track', 1, 'New layer name:,extrawidth=150', 'InstrumentLayer' )
if not retval then return end
InsertTrackAtIndex( insert_id-1, false )
local fold_tr = CSurf_TrackFromID( insert_id, false )
GetSetMediaTrackInfo_String( fold_tr, "P_NAME", new_name, true)
with this
Code:
InsertTrackAtIndex( insert_id-1, false )
local fold_tr = CSurf_TrackFromID( insert_id, false )
|
|
|
09-19-2022, 10:12 PM
|
#6
|
Human being with feelings
Join Date: Sep 2020
Location: India
Posts: 283
|
that worked thanks
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:25 AM.
|