Hi,
I have multiple ogg sounds that I want to combine into one gapless sound in Ogg or MP3.
Does anyone know of how to do this or a library that I can call from VB do do this ?
The Ogg files might be of different quality....
David
If you mean string a number of ogg files into one file, you can simply concatenate them and any self-respecting player will play the chained file. If that's not what you mean, perhaps you could enlarge on your explanation.
That's exactly what I mean.
But these self-respecting players are a minority. Windows Media Player does not support this, and MANY converters does not convert both sounds to for example MP3 or WAV. They just take the first sound.
Do you know of a activeX/dll sound converter that will do this correctly ? Because we need to convert to MP3 from VB....
David
If you mean string a number of ogg files into one file, you can simply concatenate them and any self-respecting player will play the chained file. If that's not what you mean, perhaps you could enlarge on your explanation.
it's simple!
... under linux
type
cat title_1.ogg title_2.ogg > title_merged.ogg
it's simple!
... under linux
type
cat title_1.ogg title_2.ogg > title_merged.ogg
Windows too...
In a CMD prompt:
copy /b file1.ogg + file2.ogg > mergedfile.ogg
This is what I'd welcome too !!
Like encoding in foobar to multi-track file. catenating the individual files into one doesnot create the subsong indexes which I require. Ofcurse theres' possibility to reencode by foobar with appropriate conversion profile but converting Ogg->Ogg is pretty ugly. `m sure this is technically no prob, just to know the tool which concats seamlessly all streams into one and creates appropriate subsong indexes..
...just to know the tool which concats seamlessly all streams into one and creates appropriate subsong indexes..
What do you need is chapters. However, I've never seen an ogg vorbis file with chapters, although they are mentioned in specifications, I believe.
That's why all of my audio collections ogg and (mostly) musepack, which natively supports chapters and thus is more suitable for concept or live albums (with many joined tracks).
In your case, since you have to stay with ogg, you can generate cuesheets and either embed them into the file tags or use them as external files, depending of the player capabilities to deal with cuesheets.
I don't know of any tool that can do this automatically, but maybe some relatively simple script could do the job.
I think theres a tool called CUEtools, which maybe could do the job but firstly it had to support Vorbis what I doubt.
Once the continuous cuesheet have been made it can be embedded via foobar so that subsong indexes (or chapters if you want) are automatically created.
Ermm, I think that cuesheets and chapters are a (slightly) bit different staff...
Ermm, I think that cuesheets and chapters are a (slightly) bit different staff...
ofcourse they are. just upon having a valid CUEsheet, subsong indexes(chapters) can be easily created from it.
Do you have some useful document describing ogg chapters? Or a sample file?