Concatenating binary files?

Jimmie Houchin jhouchin at texoma.net
Sat Mar 29 21:04:16 UTC 2003


Hello,

I am ripping a bunch of MP3s from some CDs. Some of the segments were 
split into separate tracks on subsequent CDs. I am creating wave files 
of the split tracks and would like to concatenate the 2 wave files so 
that I could do an MP3 from the single wave file.

I tried using StandardFileStream and #nextPutAll: to write the 2 wave 
files into a single then I got an error because #nextPutAll: accepts 
only strings. (I forgot) :)

 From looking at the File and Stream classes I didn't find how to write 
binary data to a file.

I am sure this is simple and I'm just not seeing/understanding how to 
proceed.

Any help or pointers on how to accomplish this is greatly appreciated.

Thanks.

Jimmie Houchin



More information about the Squeak-dev mailing list