WRITE-CHANT-SDIF-FILE
[GENERIC-FUNCTION]
|

OM-Chant Function Reference
|
ARGUMENTS:
|
- CONTROL-DATA
|
an SDIF-Buffer |
|
|
- PATHNAME
|
output file pathname |
|
|
- PATCH
|
CHANT patch number |
[default = 0] |
|
- DUR
|
duration (sec.) |
[default = 1.0] |
&key
|
|
|
- FOB
|
FOF properties |
|
|
- REB
|
Filter properties |
|
|
- NOI
|
Noise properties |
|
|
- SND
|
Sound properties |
|
|
- CHANNELS
|
number of channels |
[default = 1] |
|
- SR
|
sample rate (Hz) |
|
|
Description:
Generates an SDIF file formatted for the CHANT synthesizer.
The data is written from thje SDIFFrame objects in <self>.
Depending on <patch> these SDIFframes must be frames of type 1FOB, 1REB and/or 1NOI.
<pathname> is the output file to write. If <pathname> = NIL, a file chooser dialog allows to determine this file name and location.
<patch> is the CHANT patch to use (use CHANT-PATCH to make the choice).
The SDIF NVT and stream IDS are filled according to the different synthesis parameters.
<dur> determines the total synthesis duration.
<channles> is the number of channels (currently supported : 1 or 2).
<sr> is the sample rate (use default OM sample rate if NIL).
<fob> defines the properties of the FOF generator (Chant patches 0 1 3 6 7 8 9 10)
- these properties are a list (number-of-FOFs begin-time end-time)
<reb> defines the properties of the Filter (Chant patches 1 2 3 4 5 8 9)
- these properties are a list (number-of-formants begin-time end-time)
<noi> defines the properties of the Noise generator (Chant patches 1 2 3 4 8 9)
- these properties are a list (begin-time end-time)
<snd> defines the properties of the sound generator (Chant patches 2 3 5 7 8 10)
- these properties are a list (sound-pathname begin-time end-time)
The output is the written file parthname (connect to an SDIFFILE object or to CHANT-SYNTH).
|
Auto doc generation by OpenMusic 6.6 © 2011 IRCAM
|