This page is a wiki. Please login or create an account to begin editing.


AIFF DSP Framework


Rating:
No votes yet
Category:
Year released:
Author:
Publisher:
#1
[www].se [ftp].se [mirror].us
AIFF_DSP_Framework_15.sit (18.53 KB)
Emulation
Guides on emulating older applications

AIFF-based DSP Framework in Think C

This archive contains code written in Think C 5.0 which provides a framework in which user-written C functions which process the data in AIFF files are called. The framework contains main() and deals with all aspects of AIFF file handling, allowing the user to concentrate solely the development of his/her DSP algorithm.

The framework calls three user-written functions in the course of its execution. First it calls the user-written initialization function init_process(), which would typically be used for tasks such as the setup of lookup tables. Then it repeatedly calls the user-written processing function process_samdat(), each time placing a new block of data in the buffer. When the data file has been exhausted, it calls the user-written termination function term_process(), which would typically be used for tasks such as freeing memory which the user had allocated in init_process().

Though the framework is designed for the processing of AIFF files where an AIFF file is taken as input and an AIFF file is made as output, through the setting of user-defined variables, the framework can be made to take no input or make no output. If the variable take_input is set to zero, the framework will not make an attempt to open an input file. This mode is useful for tasks such as the generation of AIFF files by algorithmic means. If the variable make_output is set to zero, the framework will not make an attempt to open an output file. This mode is useful for tasks such as the analysis of AIFF files, where the analysis output goes to the screen or to a non-AIFF file.

The code uses a few Think C extensions to C, but I suspect that it could be ported to other compilers or even other platforms without great difficulty. The comment at the beginning of "aiff.h" contains some information about portability.

Linkage is specified in the comment at the beginning of "aiff.c".

The download is AIFF DSP 15.

Compatibility
Architecture: 68k PPC

Macintosh or Power Macintosh
Think C 5.0

Comments

Kitchen2010's picture
by Kitchen2010 - 2015, September 2 - 11:01am

I have added AIFF DSP 15 from MacsRUS's archive.