How to export audio with Silences?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
steve
Site Admin
Posts: 81649
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How to export audio with Silences?

Post by steve » Thu Apr 05, 2018 10:36 am

belladaisy2018 wrote:How do I export stems with the correct lengths of silence at the beginning?
Unfortunately Audacity does not have a built-in option for this, but there is an easy workaround.

For all tracks that start after time=0, select a section of the empty space, starting at time=0
(more about selecting audio here: http://manual.audacityteam.org/man/auda ... ction.html)
trackpanel000.png
trackpanel000.png (39.61 KiB) Viewed 1611 times
Then use "Generate menu > Silence" to generate silence into the selections
trackpanel001.png
trackpanel001.png (39.8 KiB) Viewed 1611 times
The tracks will now be exported from time=0 (because they start at time=0)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Trebor
Posts: 9962
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows 8 or 8.1

Re: How to export audio with Silences?

Post by Trebor » Thu Apr 05, 2018 10:42 am

belladaisy2018 wrote:How do I export stems with the correct lengths of silence at the beginning?
The workaround is to add silence (or a short bleep) to all the tracks ...
Select all the tracks,("Ctrl"+"A"), move the cursor to the start, ("J"), then generate, say 0.1 seconds of silence, or a short bleep.

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: How to export audio with Silences?

Post by kozikowski » Thu Apr 05, 2018 4:10 pm

You can also create one long silent track starting at 0 and export that plus the target track. Audacity will mix them at export.

Koz

steve
Site Admin
Posts: 81649
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How to export audio with Silences?

Post by steve » Thu Apr 05, 2018 4:20 pm

kozikowski wrote:You can also create one long silent track starting at 0 and export that plus the target track. Audacity will mix them at export.
That's OK when exporting a single track, but not a solution when using "Export Multiple" based on tracks.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14687
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: How to export audio with Silences?

Post by waxcylinder » Thu Apr 05, 2018 4:48 pm

So is this a bug - or is it intentional "by design" ?

Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

steve
Site Admin
Posts: 81649
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How to export audio with Silences?

Post by steve » Thu Apr 05, 2018 5:15 pm

It's "by design" (but not a good design).
I don't think there is opposition to it being redesigned better ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: How to export audio with Silences?

Post by kozikowski » Thu Apr 05, 2018 5:47 pm

The export doesn’t match the timeline graphics or the timeline playback. That’s an unfortunate feature.

Koz

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: How to export audio with Silences?

Post by kozikowski » Thu Apr 05, 2018 5:58 pm

I like the single silent track approach because it lets me change my mind and move a track. If I do move with the other solutions, I have to remove the “fake silence,” and I can’t depend on UNDO. I can’t just shove left because Audacity will complain about “sound before zero.”

Koz

waxcylinder
Forum Staff
Posts: 14687
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: How to export audio with Silences?

Post by waxcylinder » Fri Apr 06, 2018 2:12 pm

steve wrote:It's "by design" (but not a good design).
I don't think there is opposition to it being redesigned better ;)
I seems to me that empty space before the audio should be treated as silence on export and mixing.

If the user has their audio starting at T=20 seconds with blank before it would seem to me that they want the audio to start at T-20 and not T=0

We could, of course, add a preference for this - but the default would have to be: Treat leading blank as silence = "on"

But personally I think a preference is overkill.

If a user has audio starting at T=20 and the want it to start at T=0, then they can easily shift it back with the Time-shift tool.


I do note that we have this longstanding ednote in the Manual on the Mixing page:
Gale 07Dec11: ToDo-2 There is no mention here or in Tracks Menu of how render handles white space before the audio begins or audio before zero. Should there be? Current behavior following r11248 is to preserve the clip length by no longer rendering white space between time zero and first audio as silence, and to preserve audio before time zero instead of discarding it. So people who want to export tracks with silent lead-ins preserved now have to generate silence after rendering. I think that tip at least should be in this page.

Users should not be forced into the kludgy solutions/workarounds given earlier in this thread to maintain the proper start times of their audio clips.

Oh and by the way empty space between sections of audio should also be treated as silence for export/mixing.

So do we need to log this on Bugzilla - or maybe write a short proposal - or is this a bit of "bad design" that we can just fix?

Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

Post Reply