Need efficiency tips for exporting properly-named regions
Moderator: James Steele
Forum rules
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Need efficiency tips for exporting properly-named regions
I'm sampling a bunch of instruments, so I'm editing many many thousands of soundbites. Each little audio region is named according to my naming convention and has fades on one or both sides. I need to export these thousands of audio regions to properly-named files.
Exporting the soundbite does not export the fades, only the source audio. Is there a way to export in bulk (like Export Selected Soundbites) which INCLUDES the rendered fades and keeps the soundbite name?
I'm aware that Merge Soundbite renders the fade and it can then be exported. However, the soundbite also takes the name of the audio track with .### after it, destroying my very-important region naming. In this context using Merge Soundbite means:
1. Select soundbite
2. Merge soundbyte
3. Rename soundbite on several tracks
4. Scroll to the next soundbite
5. Repeat literally thousands of times
Since I have multiple mic positions and input sources, bounce to disk is an even less practical solution.
I don't think DP has good solutions for this, but I would love to be wrong. Please tell me I can export rendered fades and I don't need to merge and rename every single sample!
Many thanks for your help.
Exporting the soundbite does not export the fades, only the source audio. Is there a way to export in bulk (like Export Selected Soundbites) which INCLUDES the rendered fades and keeps the soundbite name?
I'm aware that Merge Soundbite renders the fade and it can then be exported. However, the soundbite also takes the name of the audio track with .### after it, destroying my very-important region naming. In this context using Merge Soundbite means:
1. Select soundbite
2. Merge soundbyte
3. Rename soundbite on several tracks
4. Scroll to the next soundbite
5. Repeat literally thousands of times
Since I have multiple mic positions and input sources, bounce to disk is an even less practical solution.
I don't think DP has good solutions for this, but I would love to be wrong. Please tell me I can export rendered fades and I don't need to merge and rename every single sample!
Many thanks for your help.
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
- ronjams
- Posts: 130
- Joined: Thu Apr 14, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: ST. LOUIS MISSOURI
Re: Need efficiency tips for exporting properly-named region
You should consider a two track editor like DSP Quattro or some other editor. They have the options that can help you speed the process considerably .jborum wrote:I'm sampling a bunch of instruments, so I'm editing many many thousands of soundbites. Each little audio region is named according to my naming convention and has fades on one or both sides. I need to export these thousands of audio regions to properly-named files.
Exporting the soundbite does not export the fades, only the source audio. Is there a way to export in bulk (like Export Selected Soundbites) which INCLUDES the rendered fades and keeps the soundbite name?
I'm aware that Merge Soundbite renders the fade and it can then be exported. However, the soundbite also takes the name of the audio track with .### after it, destroying my very-important region naming. In this context using Merge Soundbite means:
1. Select soundbite
2. Merge soundbyte
3. Rename soundbite on several tracks
4. Scroll to the next soundbite
5. Repeat literally thousands of times
Since I have multiple mic positions and input sources, bounce to disk is an even less practical solution.
I don't think DP has good solutions for this, but I would love to be wrong. Please tell me I can export rendered fades and I don't need to merge and rename every single sample!
Many thanks for your help.
Mac Studio M1 Max DIGITAL PERFORMER• 1248/8pre ES • Falcon/kontakt/Unify & A LOT MORE GEAR
Re: Need efficiency tips for exporting properly-named region
There's also Redmatica Auto Sampler. It has or had some features that could be useful in simplifying this sort of task. I doubt if it can still be found as a standalone app, but it has been integrated into Mainstage.
2018 Mini i7 32G macOS 12.7.6, DP 11.33, Mixbus 10, Logic 10.7.9, Scarlett 18i8, MB Air M2, macOS 14.7.6, DP 11.33, Logic 11
-
- Posts: 179
- Joined: Mon Mar 21, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: Houston, TX.
- Contact:
Re: Need efficiency tips for exporting properly-named region
I might have a solution for you. I do this a lot too so I've made some scripts and services that help with the tediousness.
How are you naming things? Are you doing velocities and round robins?
So for instance: D3_RmMic_V01_RR01
How are you naming things? Are you doing velocities and round robins?
So for instance: D3_RmMic_V01_RR01
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
Yes, my system is similar to that, but the order is different. How do your scripts and services work?
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 179
- Joined: Mon Mar 21, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: Houston, TX.
- Contact:
Re: Need efficiency tips for exporting properly-named region
I have one that will ask how many soundbites there are and then select and merge each one.
I have another that will rename each soundbite using a name you choose from inside the soundbites list.
You can keep them as a script or make them a Service and then attach a key command to them.
I can send or post a video demo of how it works and then send you the scripts. I Will have to do that tomorrow though.
I have another that will rename each soundbite using a name you choose from inside the soundbites list.
You can keep them as a script or make them a Service and then attach a key command to them.
I can send or post a video demo of how it works and then send you the scripts. I Will have to do that tomorrow though.
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
In the absence of DP functionality that lets me retain soundbite names after merging, your solutions sound like very attractive and useful workarounds. I'd appreciate as much of this esoteric knowledge as you're willing to share, because I've never tried to script anything in DP before.
I just checked out your website, and it looks like you're very busy making interesting sounds and working on anime. My girl has become a bit of a Japanophile because of anime, then she started learning the language, and now she's doing a summer study abroad there which is sure to change her life. Even silly cartoons can be life changing when they're well made! Keep it up...
I just checked out your website, and it looks like you're very busy making interesting sounds and working on anime. My girl has become a bit of a Japanophile because of anime, then she started learning the language, and now she's doing a summer study abroad there which is sure to change her life. Even silly cartoons can be life changing when they're well made! Keep it up...
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 179
- Joined: Mon Mar 21, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: Houston, TX.
- Contact:
Re: Need efficiency tips for exporting properly-named region
It never ceases to amaze me the number of people into anime. Thats pretty awesome she is able to study there too!
Ok so here is a link to a video and the scripts I use. I kinda ramble a bit in the video. I just sat down and started talking without really figuring out what I should say so sorry about that. Maybe at some point I will make one or more that are a bit more concise.
As far as the scripts go...you don't have to do anything special except open them. If something doesn't work just let me know and we can fix it. Also if you have any questions about something I may have left out let me know that too. You can just email me instead of going through the board
bleach@bleachstuff.com
https://www.dropbox.com/sh/q4p8mey5ujpn ... cOEya?dl=0
Ok so here is a link to a video and the scripts I use. I kinda ramble a bit in the video. I just sat down and started talking without really figuring out what I should say so sorry about that. Maybe at some point I will make one or more that are a bit more concise.
As far as the scripts go...you don't have to do anything special except open them. If something doesn't work just let me know and we can fix it. Also if you have any questions about something I may have left out let me know that too. You can just email me instead of going through the board
bleach@bleachstuff.com
https://www.dropbox.com/sh/q4p8mey5ujpn ... cOEya?dl=0
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
This is fantastic! I did not think of Applescript. It's exactly the inspiration I was looking for. Gotta love MOTU Nation.
I'm going to keep replying here because it will help others in the future.
The naming format requested by this company for this batch of samples (keyboards) is
Mic Articulation Velocity Note
In this case I need to use MIDI velocity values at which I think the sample layers should change. They will differ based on the context, usually between 5 & 10 layers. Your script named velocities in an incremental way, but mine need to be more customized.
DI Rel V127 E1
DI Rel V102 E1
DI Rel V77 E1
DI Rel V51 E1
DI Rel V25 E1
The script below first defines arrays for note names and velocity values.
Then it takes some input which it will use in the soundbite names.
Then it loops through octaves, notes, and velocity values to name each soundbite appropriately.
For anybody else that wants to use this, open Applications > Utilities > Script Editor, paste this in, and save it. It requires that the soundbites are in order in the soundbite window. This was achieved by first organizing them in my session and then merging them all with Bryan's other script.
Many thanks!
I'm going to keep replying here because it will help others in the future.
The naming format requested by this company for this batch of samples (keyboards) is
Mic Articulation Velocity Note
In this case I need to use MIDI velocity values at which I think the sample layers should change. They will differ based on the context, usually between 5 & 10 layers. Your script named velocities in an incremental way, but mine need to be more customized.
DI Rel V127 E1
DI Rel V102 E1
DI Rel V77 E1
DI Rel V51 E1
DI Rel V25 E1
The script below first defines arrays for note names and velocity values.
Then it takes some input which it will use in the soundbite names.
Then it loops through octaves, notes, and velocity values to name each soundbite appropriately.
For anybody else that wants to use this, open Applications > Utilities > Script Editor, paste this in, and save it. It requires that the soundbites are in order in the soundbite window. This was achieved by first organizing them in my session and then merging them all with Bryan's other script.
Many thanks!
Code: Select all
set NoteNames to {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"}
set Velocities to {"127", "102", "77", "51", "25"}
set BitePrefix to text returned of (display dialog "Enter Soundbite Prefix" default answer "")
set OctaveStart to text returned of (display dialog "Starting octave number?" default answer "")
set NumOctaves to text returned of (display dialog "Number of octaves?" default answer "")
display dialog "Option-click first soundbite in Soundbites window within 4 seconds"
tell application "Digital Performer"
activate
end tell
delay 4
tell application "System Events"
# cycle through octaves
repeat with o from OctaveStart to (OctaveStart + NumOctaves - 1)
#cycle through pitches
repeat with n from 1 to length of NoteNames
#cycle through velocities
repeat with v from 1 to length of Velocities
set CurrentNote to item n of NoteNames
set CurrentVelocity to item v of Velocities
# type the soundbite name
keystroke BitePrefix
keystroke space
keystroke "V"
keystroke CurrentVelocity
keystroke space
keystroke CurrentNote
keystroke o
delay 0.002
key code 125
end repeat
end repeat
end repeat
key code 36
end tell
Last edited by jborum on Sun Jun 23, 2019 9:20 pm, edited 2 times in total.
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
This is Bryan's script for selecting soundbites and merging them. You set your cursor in front, input the number of soundbites to merge, and off it goes.
Code: Select all
set repeatAmount to text returned of (display dialog "How Many Soundbites..." default answer "")
tell application "Digital Performer"
activate
delay 0.2
tell application "System Events"
repeat repeatAmount times
key code 48 --Tab:move cursor to next soundbite
delay 0.2
key code 48 using shift down --Tab+Shift select soundbite
key code 46 using {option down, shift down} --Option+Shift+M merge soundbite
delay 1
end repeat
display dialog "All Done"
end tell
end tell
Last edited by jborum on Sun Jun 23, 2019 7:25 pm, edited 1 time in total.
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
This is Bryan's script for renaming soundbites with a variable number of velocity layers, and with the layers named 1-n incrementally.
Code: Select all
set trackName to text returned of (display dialog "Enter Soundbite Name" default answer "")
set trackCount to text returned of (display dialog "How Many Soundbites" default answer "")
set nameSuffix to 1
display dialog ("Soundbite Name: " & trackName & "." & " Number Of Soundbites: " & trackCount & "." & " Is This Correct?")
display dialog "Select Firstr Soundbites"
set repeatLoop to trackCount
tell application "Digital Performer"
activate
end tell
delay 3
tell application "System Events"
repeat with i from nameSuffix - 1 to trackCount - 1
keystroke trackName
keystroke nameSuffix + i
delay 0.002
key code 125
end repeat
key code 36
end tell
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 179
- Joined: Mon Mar 21, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: Houston, TX.
- Contact:
Re: Need efficiency tips for exporting properly-named region
Glad to have been of some help! Yeah my script was super simple and pertained to my particular naming convention but the whole point was to get things started!
Your script is awesome...I think I'm gonna have to steal it lol
Your script is awesome...I think I'm gonna have to steal it lol
-
- Posts: 61
- Joined: Mon Jun 25, 2007 5:56 pm
- Primary DAW OS: MacOS
- Location: Los Angeles
- Contact:
Re: Need efficiency tips for exporting properly-named region
Here's a video of the script in action, with thanks to you!
https://www.youtube.com/watch?v=4up1NpfQ_S4
https://www.youtube.com/watch?v=4up1NpfQ_S4
— Jeremy Borum
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
Composer & Orchestrator: http://www.JeremyBorum.com
Author: http://www.GuerrillaFilmScoring.com
-
- Posts: 179
- Joined: Mon Mar 21, 2005 10:01 pm
- Primary DAW OS: MacOS
- Location: Houston, TX.
- Contact:
Re: Need efficiency tips for exporting properly-named region
That was a great video! Thanks for the shout out