CompuServe Messages

Digital sound

    29-Mar-86 10:51:52
Sb: #12748-Digital sound
Fm: GARY SARFF 70167,2216
To: Brian Niessen 76703,4034
I have gotten some of the sound files uploaded to my bbs by a person I know, and have found that you can concatenate the sound files by simply using the amiga join command. The most useful two to join are openpod.snd and hal.snd. just do join openpod.snd hal.snd as 2001.snd or something. This will give you a sound file that is 81744 bytes long if I remember right. The problem is that sound.exe that comes with them will only load and play upto 65535 bytes of sound data, so I wrote my own sound player in C that will play up to 131072 bytes, which the RKM says is the maximum you can do with one IORequest to the audio.device. From what I can see these sound files are not compacted or anything, they are simply a waveform since you can pass them as is to the audio.device to play, there seems to be no header info or anything. I have heard that the jukebox sound files though contain a header of 4 byte file length, followed by 2 byte sampling rate, followed by the wave itself, but I've never downloaded any jukebox sound so I am not sure. The only reason that the joined file sounds good is that openpod.snd and hal.snd were recorded at periods of 350 and 355 so it is pretty close, and I run 2001.snd and the mid-point of 352 and it sounds pretty good. Most of the other files have very diverse sampling rates so it probably wouldn't sound as good. Since the wave forms are like this in the file it is also easy to pick a section out, like a word for instance and simply make a smaller sound file, so you can cut and paste to your hearts content. Neat! Can't wait to get a digitizer. Bye.