*** VOC DataType V40.2 *** by Christian Buchner This is a VOC datatype loosely based on the example sourcecodes found in the OS 3.1 Native Developer Kit. The example code was originally written by David N.Junod. All changes were done by Christian Buchner. Installation ------------ Copy devs/Datatypes/VOC#? SYS:devs/Datatypes/ Copy classes/Datatypes/voc.datatype SYS:classes/Datatypes/ Now reboot or type "AddDatatypes REFRESH" in a shell. Hardware Requirements --------------------- This datatypes requires an MC68020 CPU or better. Motivation ---------- This program was created due to the lack of a VOC datatype for the Commodore Amiga. Well, here it is ;-) Features -------- * Handles VOC files with different frequencies in ONE file (the datatype uses the highest frequency of all chunks and resamples all other chunks) * correctly handles Silence chunks * locates the samples in Fast RAM (for V40 sound.datatype only) * uses optimized assembly routines for sample conversion in order to achieve maximum speed Untested features ----------------- * handles ExtendedInfo chunks * Stereo VOC files will be mixed to Mono (sound.datatype is not able to handle Stereo sounds) I am missing a good documentation on these features and I do not own any VOC samples using them. So if you have any information and/or samples that might help me, please send it all to me (see address below). Unknown features ---------------- * also called bugs: Please report them to me immediately and if possible send me the VOC files that cause the problems. Future enhancements ------------------- * implement looping * implement different decompression methods * implement frequency fallback in low-memory situations * implement normalization (scaling to full 8 bit signal range) * implement a partial loading system to save memory especially while loading large samples * limit maximum replay frequency according to the computer system (ECS/AGA) and do a frequency downscaling if necessary Future projects --------------- Well, I don't know. Suggest something ;-) Or send me the specs of a sound standard you want a datatype for (see address below!) The Author ---------- Report bugs, comments or anything else to.... Christian Buchner Ganghoferstraße 2 82110 Germering Germany Tel.: +49-89-844872 EMAIL: flowerp@eikon.e-technik.tu-muenchen.de on irc #amiga and #amigager // \X/ Flowerpower