HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: Cletus on 2018-02-21 21:33:58

Title: How could I make a cue file which lets a track start at a special time end end?
Post by: Cletus on 2018-02-21 21:33:58
How could I make a cue file which lets a track start at a special time end end?

For example the first track shal be played from second 7 to 3 minutes 36 seconds. The track is 5 minutes long.

This does not work:

TITLE "(Title N.N.)"
FILE "15. Still Alive (Live!) [feat. Laura Intravia & Tommy Tallarico].mp3" MP3
TRACK 01 AUDIO
TITLE "(Track 01)"
INDEX 01 00:00:00
INDEX 02 03:36:00
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: kode54 on 2018-02-22 00:24:14
Maybe you'd have better luck with the APL format, which is implemented by the foo_input_monkey (http://www.foobar2000.org/components/view/foo_input_monkey) component that Peter provides on the components site. They are also tagged independent of the referenced file, as well.
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: greynol on 2018-02-22 05:49:33
Try changing

INDEX 01 to INDEX 00

and

INDEX 02 to INDEX 01
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: Porcus on 2018-02-22 06:50:55
For example the first track shal be played from second 7 to 3 minutes 36 seconds. The track is 5 minutes long.

If you give it
INDEX 00 00:00:00
INDEX 01 00:07:00
then most players will start after 7 seconds. But you want playback to stop after 3:36?

How is POSTGAP implemented? http://wiki.hydrogenaud.io/index.php?title=Cue_sheet
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: Case on 2018-02-22 07:32:36
POSTGAP, if implemented, just adds silence after a track. Cue only specifies track start positions so the last track will always contain the remainder of the file's length.
APL allows creating a virtual track from another file that can start and end at specified positions.
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: Cletus on 2018-02-22 13:30:48
Thank you!

Quote
Maybe you'd have better luck with the APL format, which is implemented by the foo_input_monkey component that Peter provides on the components site. They are also tagged independent of the referenced file, as well.
Thank you for the link. So it works for ape only?

Quote
Try changing

INDEX 01 to INDEX 00

and

INDEX 02 to INDEX 01
The last 59 seconds are played then.

Quote
If you give it
INDEX 00 00:00:00
INDEX 01 00:07:00
then most players will start after 7 seconds. But you want playback to stop after 3:36?
Yes, starting at a later point works. Yes, stop playing the track at 3:36 and going on with the next one.
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: Porcus on 2018-02-22 17:48:03
Quote
Try changing

INDEX 01 to INDEX 00

and

INDEX 02 to INDEX 01
The last 59 seconds are played then.

Meaning, it is 4:35 long?


Yes, starting at a later point works. Yes, stop playing the track at 3:36 and going on with the next one.

Is it just silence? If so, you might consider a player which can skip silence. But that will skip in every track.
Title: Re: How could I make a cue file which lets a track start at a special time end end?
Post by: Cletus on 2018-02-22 18:06:16
Quote
Meaning, it is 4:35 long?
Yes, it is.

Quote
Is it just silence? If so, you might consider a player which can skip silence. But that will skip in every track.
No, the track played like usual. Skipping silence in each track would not be good.