FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

SOUND

Manage AIFF files


Just to report that, with Rick Brown's help, I have completed a program to record and playback Asynchronous sound in FB2. The program implements recording various formats of sound (Mono / Stereo, Sample rates, Compression, 8 / 16 bit) and either automatic or manual gain control. It stores the files in AIFF format, and can play these back with user-definable start and stop points.

All while it's working on something else - in the demo program it draws random lines.

FYI, the a coarse measurement of overhead on recording sound seems to be in the order of 18% on a 604e / 200 and 6.5% on a G3/466. the overhead on playback is in the order of 5% and 3% respectively. I can record an hour of sound in around 26.5Mb with reasonable quality.

However, I have not been able to read the Header for AIFF files, as I don't have the format. I've got around this by storing key information in the Resource Fork of the recorded AIFF file, which means I can store and retrieve information about the sound format, etc. in my own AIFF files, but can't read it for other AIFF files.

Although it's not essenl that I implement this feature, since this program is only a pilot for another program, if anyone can let me have the format of the Header information, and how it's read, I'd be very grateful.

If you want to download the compiled application (you can use it to extract CD tracks) you can download it from :

http://www.hawk.ndirect.co.uk/downloads/PACTSound.sit.hqx
http://www.appleonline.net/phil.yates/downloads/soundtest.sit.hqx

Any questions or comments on the program to me offline, please.

But if you want it, be quick - my old ISP hasn't deleted the above web site yet and I'm in the progress of setting up a new one.

Phil