Auto Split from Text file

Post questions and find answers on our latest WaveLab releases here.
Post Reply
rbreit
New Member
Posts: 14
Joined: Tue Apr 05, 2011 2:53 pm
Contact:

Auto Split from Text file

Post by rbreit » Fri Jul 26, 2019 10:49 am

I have Wavelab 9.5.50
I have a wavefile (about 8 hours long) with different songs. Medleys from live concert.
I have a textfile wiht songname and startpoint hh:mm:ss of all songs (endpoint will be startpoint of next song).
It is possible to cut this large file into single smal files, cutting them with the start and endpoint, defined in a textfile.

How should the textfile or xml file look like.
Dokumentation in Wavelab is strange and not understandable.

Can someone help? Or give an example?
This would be great.

Cheers, Robert

PG
Moderator
Posts: 6643
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: Auto Split from Text file

Post by PG » Fri Jul 26, 2019 11:17 am

One way to achieve this, would be to create a marker text file. Then you could use the auto-split feature to create smaller files. This requires some work but this is perfectly achievable.
There is no documentation about marker files, but you can learn it easily:
Oopen any wav file and add some markers with names. Save this file. A file with the .mrk extension will be created. Study its contents with a text editor.

Then, create a marker file for your 8 hours file. Open the audio file: the marker file will be used, if you respect the naming (piano.wav / piano.mrk).

Now use the Auto Split feature. Certainly better from the audio editor.
Philippe

litonkrl
New Member
Posts: 5
Joined: Tue Apr 23, 2019 10:01 am
Contact:

Re: Auto Split from Text file

Post by litonkrl » Fri Jul 26, 2019 12:10 pm

It is possible to cut this large file into single small files anyhow.

rbreit
New Member
Posts: 14
Joined: Tue Apr 05, 2011 2:53 pm
Contact:

Re: Auto Split from Text file

Post by rbreit » Fri Jul 26, 2019 4:49 pm

Hi Philippe,
thanks a lot for your reply, but I do not want to do it this way. As I described, I want to do it with the "Auto Split with Text file" way.

PG
Moderator
Posts: 6643
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: Auto Split from Text file

Post by PG » Fri Jul 26, 2019 5:58 pm

Sorry, I did not understood. Here an example:
Considering these settings:
2019-07-26_18-56-07.png
(24.07 KiB) Not downloaded yet
if my file is concert.wav
If I create a text file concert.txt

with the following contents:
Name=piano
Start=441000
Length=88200

Name=violin
Start=882000
Length=88200

The 2 regions will be created, with the start / length as specified (samples here)
Philippe

rbreit
New Member
Posts: 14
Joined: Tue Apr 05, 2011 2:53 pm
Contact:

Re: Auto Split from Text file

Post by rbreit » Mon Jul 29, 2019 7:18 am

Hi Philippe, thanks for your reply.
I found the solution myself.
Because I had a Textfile with timecode (as I wrote): hh:mm:ss
The Textfile should be like:

Name=Harpua
Start=00:00:00:00
End=00:01:33:00

Name=Sample In A Jar
Start=00:01:33:00
End=00:06:28:00

and so on.....

00:01:33:00 = hh:mm:ss:samples

The txt-file must have the same name of the source file and must be in the same folder as the source.

Anyway thanks a lot for your investigation and help.

Cheers from Munich :-)

Post Reply

Return to “WaveLab Pro 9 | WaveLab Elements 9”

Who is online

Users browsing this forum: No registered users and 1 guest