Save Floating-Point Sound File
Description
Saves the current sound as a raw soundfile in floating-point format.
(save-float ... )
Syntax and Default Values
The (save-float ... ) function can be created using the following Lisp syntax:
(save-float filename)
Parameters
The (save-float ... ) function takes one argument:
- filename: pathname of sound file to be saved. (in quotes.)
The pathname of the soundfile should be provided in quotes. The path is relative to the Modalys application, unless it begins with a slash, in which case it is an absolute path from the root directory of the hard disk. The syntax for the path follows the syntax rules of your operating system. [At one time Modalys had a user-settable soundfile directory that was used as the default directory.]
Discussion
For individual sounds, it is usually easier to choose the "Save Sound as AIFF..." option from the application's Script menu. Nonetheless, there may be cases when you want to save the original (32-bit) floating point data to a raw data file. Not all applications will be able to play it.
Options
There are no special options for this function.