Old 06-03-2010, 11:56 AM   #1
Lawrence
Human being with feelings
 
Join Date: Mar 2007
Posts: 21,551
Default Extensions/Macros: Split and Save Songs

IF this is not already a Reaper macro. If so, ignore... but I don't put anything past Reaper extensions and macros anymore so I can't assume anything in that regard. If not, this would probably make a nice hard-coded Reaper extension function.

The script below is sending key commands to Studio One from a stay on top VB toolbar application. What the script behind this particular function does is query the user for the total number of songs, splits the regions based on the marker positions, and that total song number, and then...

- Moves the current marker range/regions to 0:00
- Cuts everything but the current marker range/regions.
- Calls the "Save As" file dialog.
- Auto-names the song (song name + time as name to avoid file name conflicts) and hits the OK button.
- Pastes the regions cut away above back where they were.
- Inverts the selection and deletes the regions at 0:00.
- Goes to the next region and starts over again until all regions are saved as new songs with their marker regions at the 0:00 point.

It handles up to 9 songs as currently designed and here it splits and saves those 9 new songs in about 30 seconds. IMO this kinda thing should probably be hard-coded into any pro daw, just to save all marker regions as new songs based on the marker names... which would be much more elegant than this.


Last edited by Lawrence; 06-03-2010 at 12:13 PM.
Lawrence is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.