Saving edited audio cues

1,296 views
Skip to first unread message

elliot....@live.com

unread,
Jan 25, 2016, 10:10:01 AM1/25/16
to QLab
So, I apologize in advance if this has been covered before, and I'm actually sure it has, but I searched and searched the forums and could not find it.  

Anyway, Is it possible to save and export audio cues that you have edited in Qlab, in their edited form?  I do corporate one-offs, but always like to start with a nice clean template, and I get tired of re-editing the same play-on track every other show.  I wish I could just drag it right back into Qlab from a  folder on my desktop.  I have to believe there is a way to do this, yes?

Thanks everybody.

-Elliot

micpool

unread,
Jan 25, 2016, 10:26:27 AM1/25/16
to QLab
QLab doesn't actually edit an audio file so "the file you drag in from your desktop" would just be the original audio file.

If you mean you want to use a cue from a previous workspace in a new workspace you can copy and paste between workspaces in the normal way.

You will need to have the original audio file on your computer in the correct location for the previous workspace, and if you want your new workspace to be portable between computers you will need to bundle yur new workspace so that the audio file is in the project folder for the new show

Mic

Andy Dolph

unread,
Jan 25, 2016, 10:47:42 AM1/25/16
to ql...@googlegroups.com
For what you are talking about, if it were me, I think I would create a secondary cue list in the template for resources and put all of those standard cues in it, then just copy the ones you need to your main cue list.

--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/dd83c059-d033-4449-bdd0-93788bd0fcf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

elliot....@live.com

unread,
Jan 25, 2016, 12:02:19 PM1/25/16
to QLab
That's what I currently do now, and after a few months, everything starts to get pretty sloppy, as far as organization goes. And then I'm digging through a bunch of different workspaces, trying to find the edit I'm looking for.   Well, that's a huge bummer you can't export an "edited" version of the original audio file.

Let's make this happen Figure53 :)

I know all of us corporate guys would really appreciate it.

BTW, I rarely use Qcart, only if I'm doing broadcast work, but I think you can do it with that program, I wonder why not Qlab as well...

micpool

unread,
Jan 25, 2016, 12:10:23 PM1/25/16
to QLab
I don't really understand what you mean by edit. How are you making  'audio edits'  in QLab, beyond topping and tailing it with start and end markers?

Mic

Daniel Perelstein

unread,
Jan 25, 2016, 12:12:04 PM1/25/16
to ql...@googlegroups.com
Not sure exactly what you're getting at, but if you have a sequence you like comprised of many different audio tracks, and you've set up timings / dynamics in QLab and want to bounce that to .wav, you can change your output device to Soundflower, record it as you fire through QLab into your DAW, then bounce it from your DAW to .wav and have it ready to go for your next gig...

Is that what you're looking for?
Dan

--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.

micpool

unread,
Jan 25, 2016, 12:24:10 PM1/25/16
to QLab
On Monday, January 25, 2016 at 5:02:19 PM UTC, elliot....@live.com wrote:


BTW, I rarely use Qcart, only if I'm doing broadcast work, but I think you can do it with that program, I wonder why not Qlab as well...


Ah the QCart export feature. I never really understood what that was for. It exports a copy of the underlying file i.e exactly the same as the complete original file which is on your computer anyway. It doesn't trim it or export it with any effects you have added in the inspector. I am sure the feature was included for a reason, but I could never think of one.

Mic

Andy Dolph

unread,
Jan 25, 2016, 12:27:56 PM1/25/16
to ql...@googlegroups.com
I think the QCart export is there because the audio is pulled into the bundle when you import it, so if you need it back as a separate file to use elsewhere, they give it too you....

--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.

elliot....@live.com

unread,
Jan 25, 2016, 12:39:16 PM1/25/16
to QLab
So, yes, sorry, just setting a start time really, but just wish I could bounce that file, with the new start time to another folder on my desktop and have them ready to drop into new workspaces and go.  I thought about re-recording them through another program, but I'm way to lazy to go through all that mess.  And again, having a workspace full of resources and moving them around is what I do now.  It seems like there is no easier way.  Oh well, thanks everybody!


-Elliot

elliot....@live.com

unread,
Jan 25, 2016, 12:40:16 PM1/25/16
to QLab
Yeah, that doesn't do what I thought it did.  Still exports the whole file.

micpool

unread,
Jan 25, 2016, 12:47:29 PM1/25/16
to QLab
The best way to do this would be to edit in an external editor.

This script will open the selected cue in twisted wave from within QLab

set userApplication to application "TwistedWave" -- This can be changed to the editor of your choice

tell front workspace
set selectedCue to last item of (selected as list)
if q type of selectedCue is "Audio" then
set fileTarget to file target of selectedCue
ignoring application responses
tell userApplication
open fileTarget
activate
end tell
end ignoring
end if
end tell

You can then edit the cue and then either save replacing your original, or save under a new name and retarget the cue to that.

If you used a scriptable audio editor then it might be possible to script it to set the start and end times to those you had set in QLab and trim to that length and resave.



Mic

Andy Dolph

unread,
Jan 25, 2016, 12:57:24 PM1/25/16
to ql...@googlegroups.com
Is 

Sent from my iPhone
--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.

Andy Dolph

unread,
Jan 25, 2016, 12:58:26 PM1/25/16
to ql...@googlegroups.com
Is Twisted Wave your editor of choice? If so, why?

Thanks!

Sent from my iPhone

On Jan 25, 2016, at 12:47 PM, micpool <m...@micpool.com> wrote:

--

micpool

unread,
Jan 25, 2016, 1:22:33 PM1/25/16
to QLab
I find it is a good lightweight editor that fires up quickly when launched from QLab and does most things I want on a show machine.

I like the delete and crossfade feature, the batch converter, and the speech synthesis for adding speaker Idents on test sequences.

It will open and edit 24 channel WAVs.

It will do a loudness analysis so you can exactly match tracks perceived audio levels when replacing them.

It isn't scriptable though. If you want that then I think Triumph has some fans. (Reapers probably a bit over the top for a lightweight show editor)

QLab wil read its markers as slices.

I think it's an ideal QLab companion.

Mic

(Slightly Naughtier reason)  It has a 30 day trial so is great for quickly downloading on to hired machines for production weeks and 4 week rehearsal systems , as long as they haven't had it installed before. (I do actually own a copy as well!). And it's only $79 if you are persuading a theatre to buy it.

Craig K

unread,
Jan 25, 2016, 2:09:42 PM1/25/16
to QLab
I second the thumbs up for Twisted Wave. Quick, easy to use - reads almost any file you can throw at it (including video files if you need to extract audio from a video). The patch processing is remarkably powerful. Most functions are completely intuitive, if you've used any audio editor you should be able to dive right in. Just good software!

( I also own a copy and have the app on my iPad)

Now if there was only a video editor like this I would be very happy.

Craig K.

Andy Dolph

unread,
Jan 25, 2016, 3:55:11 PM1/25/16
to ql...@googlegroups.com
Thanks!  I'll check it out.


Geep Howell

unread,
Jan 25, 2016, 5:00:59 PM1/25/16
to ql...@googlegroups.com
+1 for Twisted Wave.  I tried it after someone on the list recommended it, and while it isn’t Sound Forge (which I do use for complex stuff on the Windoze machine) it is perfectly adequate for many things, inexpensive, stable and quite useful when I need to do something quickly.

geep

Sam Kusnetz

unread,
Jan 25, 2016, 6:07:31 PM1/25/16
to ql...@googlegroups.com
+1 for TwistedWave from me too.

I know it sounds silly, but it does zooming and scrolling so well, and
for long tracks that makes a huge difference!

Also you can set it to automatically reposition your selection point to
the nearest zero crossing which makes loop edits a breeze.

Best
Sam
--
Sam Kusnetz | Figure 53
s...@figure53.com

Rich Walsh

unread,
Jan 25, 2016, 7:26:56 PM1/25/16
to ql...@googlegroups.com
Hmm, that looks familiar. You could do this trivially in QuickTime Player 7 but for two things:

  1. It only works to the nearest 600th of a second
  2. It is, to all intents and purposes, impossible to simply open a file, trim it and save it without ending up with a .mov file or needing an export settings file to refer to

However, if you stick SoX on (which I can't get to install on my creaking feline, so had to resort to a loose pre-built binary on the desktop) then this will quickly chop your ends off:

set userPathToSox to "~/Desktop/sox-14.4.2/sox" -- Where is SoX? (Need to use "\\ " for any spaces in this path, ie: escape them)
set userTruncatedFlag to ".trunc" -- Extension to add to copied & truncated file; it will be made next to the original

-- Declarations

global dialogTitle
set dialogTitle to "Trim selected audio file with SoX"

-- Main routine

tell application id "com.figure53.qlab.3" to tell front workspace


try


set selectedCue to last item of (selected as list)


if q type of selectedCue is "Audio" then


set fileTarget to file target of selectedCue
set {startTime, endTime, fileTarget} to {start time, end time, file target} of selectedCue


set trimLength to endTime - startTime
set originalFile to fileTarget as alias


tell application "System Events"
set theContainer to path of container of originalFile
set theExtension to name extension of originalFile
if theExtension is "" then
set theName to name of originalFile
else
set theFullName to name of originalFile
set theExtension to "." & theExtension
set theName to text 1 through (-1 - (length of theExtension)) of theFullName
end if
set newFile to theContainer & theName & userTruncatedFlag & theExtension
set fileExists to exists file newFile
end tell


if fileExists then
display dialog "The destination file for the truncation already exists. What now?" with title dialogTitle ¬
with icon 0 buttons {"Cancel", "Replace"} default button "Replace" cancel button "Cancel"
end if


do shell script userPathToSox & " " & quoted form of POSIX path of originalFile & " " & quoted form of POSIX path of newFile & " trim " & startTime & " " & trimLength


set file target of selectedCue to newFile


end if


end try


end tell

It's made out of bits of other things I had to hand. It's not tested very thoroughly. I'd like to get it to not bother if the cue is referencing the whole file, but can't work out a way of retrieving the original file duration from anywhere…

Rich

Willo

unread,
Jan 26, 2016, 1:54:28 AM1/26/16
to QLab
I find it odd that you claim 'laziness' as an excuse for not editing the clip in an external editor so you can use it every time...but you say you constantly have to tweak this file in QLab every other time, which must take a lot more time and effort.
Use a program like Audio Hijack to record your playback of the file in QLab, and it will create a new file of the sound as you like it, which you can then use in future. And it will take less time than you've spent writing these posts...an instant lazy solution!

Rich Walsh

unread,
Jan 26, 2016, 6:58:38 PM1/26/16
to ql...@googlegroups.com
Remembered afinfo overnight:

set userPathToSox to "~/Desktop/sox-14.4.2/sox" -- Where is SoX? (Need to use "\\ " for any spaces in this path, ie: escape them)
set userTruncatedFlag to ".trunc" -- Extension to add to copied & truncated file; it will be made next to the original

-- Declarations

global dialogTitle
set dialogTitle to "Trim selected audio file with SoX"

-- Main routine

tell application id "com.figure53.qlab.3" to tell front workspace


try
set selectedCue to last item of (selected as list)
on error
return -- Handle no selection without breaking a Script Cue, if run like that
end try


if q type of selectedCue is "Audio" then


set fileTarget to file target of selectedCue
set {startTime, endTime, fileTarget} to {start time, end time, file target} of selectedCue


set trimLength to endTime - startTime
set originalFile to fileTarget as alias


tell me to set fileDuration to do shell script "afinfo " & quoted form of POSIX path of originalFile ¬
& " | grep \"estimated duration\" | grep -o -E '[0-9.]+'"


if (trimLength - fileDuration) * 1000 ≤ 1 and (fileDuration - trimLength) * 1000 ≤ 1 then -- Exit if the file & cue lengths are within ±1ms
display dialog "The source file is the same length as the selected Audio Cue; it will not be processed." with title dialogTitle ¬
with icon 0 buttons {"OK"} default button "OK"
return
end if


tell application "System Events"
set theContainer to path of container of originalFile
set theExtension to name extension of originalFile
if theExtension is "" then
set theName to name of originalFile
else
set theFullName to name of originalFile
set theExtension to "." & theExtension
set theName to text 1 through (-1 - (length of theExtension)) of theFullName
end if
set newFile to theContainer & theName & userTruncatedFlag & theExtension
set fileExists to exists file newFile
end tell


if fileExists then
display dialog "The destination file for the truncation already exists. What now?" with title dialogTitle ¬
with icon 0 buttons {"Cancel", "Replace"} default button "Replace" cancel button "Cancel"
end if


tell me to do shell script userPathToSox & " " & quoted form of POSIX path of originalFile & " " & quoted form of POSIX path of newFile & ¬
" trim " & startTime & " " & trimLength


set file target of selectedCue to newFile


end if


end tell

Now it won't process unchanged audio… I've moved the try round too, so it only fails silently if there's no selection in QLab (which didn't used to break cues in v2) – other errors will be reported.

Rich

Jeremy Lee

unread,
Jan 27, 2016, 3:51:46 PM1/27/16
to ql...@googlegroups.com
Interesting- I’ll give it a shot. I use TW on the iPhone/ iPad, and have been using DSP Quattro on the computers, although not loving it. Nothing has come out that really rocks since Peak went 6 feet under...

--
Jeremy Lee
Sound Designer - USA 829
http://www.jjlee.com
> --
> --
> Change your preferences or unsubscribe here: http://groups.google.com/group/qlab
>
> Follow Figure 53 on Twitter: http://twitter.com/Figure53
> --- You received this message because you are subscribed to the Google Groups "QLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/56A6AAAD.6080504%40figure53.com.

rbing...@sbcglobal.net

unread,
Jan 27, 2016, 5:31:59 PM1/27/16
to ql...@googlegroups.com
I'm curious why Sound Forge for Mac hasn't seemed to take off in the theatre sound world more.  Too expensive?  People don't realize there is a Mac version?

I'm still primarily a Windows guy, but for me Sound Forge has always blown everything else out of the water that I've tried out.

Richard 


From: Jeremy Lee <jerem...@jjlee.com>
To: "ql...@googlegroups.com" <ql...@googlegroups.com>
Sent: Wednesday, January 27, 2016 3:51 PM
Subject: Re: [QLab] Saving edited audio cues

Rick Malone

unread,
Jan 27, 2016, 5:58:10 PM1/27/16
to ql...@googlegroups.com
Because compared to the Win version, the Mac version is a POS.  Not as many  features, quirky and buggy.  I've had it since 1.0 and I still go back to the Win version or Amadeus Pro or Twisted Wave for Mac.  I started with Sound Forge 2.0 Win years ago and in my aged dim memory it was superior to the current MAC version.

YMMV

Rick Malone
in San Antonio

--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Rick Malone
Resident Sound Designer
The Classic Theatre of San Antonio
image001.png

Jeremy Lee

unread,
Jan 28, 2016, 2:00:10 PM1/28/16
to ql...@googlegroups.com
Agreed- I tried it out when they were trying to enter the market, and it didn’t deserve a second look.

FWIW, I’m starting to get into RX5- it’s pretty amazing, and the sound design possibilities are pretty deep.  But I often simply miss Peak...

-- 
Jeremy Lee
    Sound Designer - USA 829



Reply all
Reply to author
Forward
0 new messages