Author: Jean Laroche Platforms: NeXT Prerequisites: NS2.2 or higher? Price: free Demo: N/A To acquire: ftp://ftp.eecs.umich.edu/pub/nextmusic/PlayObject.tar.Z (35k) Information: ? Entry updated: 19 Feb 1998 Description: A programming object for playing soundfiles at any sample rate.
PlayObject contains an object that you can use in your applications to play sounds at any sampling rate, to the DACs or the SingularSolutions AD64X interface. It works just the same as the Play command-line utility, but you can include it in your apps.
SoundScaler is an example application that demonstrates the use of the Play object.
Historique: (1 Octobre 1993) Premiere version par J. Laroche.
Classe ecrite en Objective-C pour jouer un fichier son
a n'importe quelle frequence d'echantillonnage, sur la
sortie DACs de la Next, ou sur la sortie numerique (via le
A/D 64x de singular solutions).
Important: To include the Play object in your application, You'll need to add the line
LDFLAGS = -sectcreate __SND play.snd play.snd
in your Makefile.preamble
This includes the file play.snd (the DSP program for sampling rate conversion) into the executable Mach_O segment. If you don't do that, your application will crash when you try to play a sound (it will complain that it can't find the DSP file!).