Page 1 of 2

Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 1:09 pm
by Iarfhlaith
This is my current project. I need to export the tracks individually and import them to another application for the final steps. The problem is, the exported individual wav files are all out of sync. The bottom track is only 2 minutes long and the others are up to 22 minutes long. So when I import them to the other app, they don't match up.

How can I export them as full tracks instead of just audio snippets?
Gabháil Scáileáin ó 2018-07-12 16-48-56.png

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 2:06 pm
by kozikowski
I think the current Audacity 2.2.2 doesn't do that any more, but the desperation method is to Generate one long silent track longer than the show and export that in addition to the clip. Export > Selected. The silent track will fill in the holes maintaining the proper spacing and timing. It's silent, so it doesn't appear in the show.

There is another way I need to look up.

Koz

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 2:19 pm
by steve
When exporting, Audacity treats the start of the first audio clip in a track as the start of the track. In other words, any empty space before the start of the track is ignored when exporting.

The easiest way to include leading space (as silence) when exporting, is to insert some silence at the start of the track.
Example:
Track starts after zero
firsttrack001.png
firsttrack001.png (12.19 KiB) Viewed 597 times

Select a bit of the empty space at the start of the track:
firsttrack002.png
firsttrack002.png (12.28 KiB) Viewed 597 times

Generate menu > Silence
firsttrack003.png
firsttrack003.png (12.21 KiB) Viewed 597 times

When exported, Audacity will now see the start of the track as the start of the silence. So your exported file will be like this:
firsttrack004.png
firsttrack004.png (12.02 KiB) Viewed 597 times

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 3:34 pm
by Iarfhlaith
kozikowski, thank you. That works for 'export selected' but not 'export multiple'.

steve, thank you, that worked. I had tried that but must have made a mistake since when I tried it now following your directions I got tracks of equal length that overlay nicely in Ardour. I'll mention this in the Feature Requests area. I'm sure others could use this feature built into the export dialog too.

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 4:05 pm
by kozikowski
I'm sure others could use this feature built into the export dialog too.
Be sure and complain about the right thing. The Problem is that Audacity doesn't preserve leading silences in a project's clips. It's not that there are no convenient ways to cover up the mistake.

I'd be surprised if there wasn't already a complaint about that.

Koz

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 10:35 pm
by Iarfhlaith
I'm not sure if that's strictly true. There is no silence to preserve. There is nothing. When I generate a silence, then the problem is solved because Audacity *does* preserve the silence. It's the absence of any kind of data; sound or silence, that leads to this issue.

Edit: There is an existing request, you're right. It's called "white space", not silence.
Checkbox here and in Export Multiple window for exporting leading white space as silence
Disregard this request. I will add a vote to the existing request. Thanks!

Re: Export tracks without losing relative time?

Posted: Sun Jul 15, 2018 11:19 pm
by steve
Iarfhlaith wrote:
Sun Jul 15, 2018 10:35 pm
I will add a vote to the existing request.
Vote added.

Re: Export tracks without losing relative time?

Posted: Mon Jul 16, 2018 12:31 am
by kozikowski
It's the absence of any kind of data; sound or silence, that leads to this issue.
The program is failing to meet expectations. When I move a clip to the right on the timeline, I expect silence where the clip was when I play it and I expect that silence to be there when I export the clip. I don't care what Audacity calls it.

Koz

Re: Export tracks without losing relative time?

Posted: Mon Jul 16, 2018 8:14 am
by Iarfhlaith
Thanks folks!

Re: Export tracks without losing relative time?

Posted: Mon Jul 16, 2018 11:43 am
by waxcylinder
And worse still we don't even tell folks about this "feature" in the Manual on either the Mixing page of the Export page.

Gale (RIP) added an ednote on the Mixing page about this six-and-a-half years ago (I added a similar note to the Export page this morning).

So if we don't change the behavior of this "feature" I should be able to update those two pages, with the kludge fixes advocated in this thread.


:idea: But maybe we need a new preference: "Treat leading white space as silence" (default = "on")

Or maybe it is just a bug and we always treat it as silence.

I'm favouring treating it as a bug and always treat leading white space before audio as silence on export. This would make it more consistent with:

a) Play where the white space plays as silence

b) Mix&Render where the white space is retained in the mix


Peter