Subsequent lines: Entries for dynamic control parameters
The first line is followed by groups of three lines (triplets).
Each triplet defines a dynamic control parameter.
Example:
4.6199999 0.6000000 0.7800000 0.0000000
2.0000000 1.0000000 1.0000000 0.0000000
0.0000000 0.0030000 0.0028500 0.0000000
- First line - Time values
If Duration Type is 0, time values are expressed as
fractions of the total dry duration of the sound;
if Duration Type is 1, time values are represented in seconds.
Last entry must be 0.
- Second line - Path type (flag)
If flag is 1, then envelope segment is linear;
if flag is 2, envelope segment is exponential.
- Third line - Amplitude (value) of envelope segment at start
of each segment
First and last entry must be 0.
Range and meaning depend on the dynamic parameter represented.
Example of an envelope and its triplet representation:
^
2| /----------\
1| / \---------
0| / \
0.1200000 0.4000000 0.0800000 0.3600000 0.0400000 0.0000000
1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 0.0000000
0.0000000 2.0000000 2.0000000 1.0000000 1.0000000 0.0000000
Interpretation (assuming Duration Type is 0):
- All segments of the envelope are linear (second line)
- For the first 12% of the duration of the sound (first line,
first entry), the dynamic parameter increases linearly from
0.0 to 2.0 (third line, first to second entry)
- For the next 40% of the duration of the sound (first line,
second entry), the dynamic parameter remains at 2.0 (third line,
second to third entry)
- For the next 8% of the duration of the sound (first line,
third entry), the dynamic parameter decreases linearly from
2.0 to 1.0 (third line, third to fourth entry)
- For the next 36% of the duration of the sound (first line,
fourth entry), the dynamic parameter remains at 1.0 (third line,
fourth to fifth entry)
- For the remaining 4% of the duration of the sound (first line,
fifth entry), the dynamic parameter decreases linearly from
1.0 to 0.0 (third line, fifth to sixth entry)
The parameters must be specified in the order of the table below:
Parameter |
Name |
Description |
Range |
1 |
Frequency |
Allows for frequency changes of partial over time.
Frequency is stored as (Hz-20)/11000.
|
[0-1] |
2 |
Amplitude |
Allows for amplitude changes of partial over time.
Amplitude is stored as a fraction of 32767 (largest possible 16-bit
amplitude)
|
[0-1] |
3 |
Vibrato Amplitude |
Magnitude of frequency modulation (vibrato) |
?? |
4 |
Vibrato Rate |
Rate of frequency modulation (vibrato) in Hertz |
[0-22050?] |
5 |
Tremolo Amplitude |
Magnitude of amplitude modulation (tremolo) |
?? |
6 |
Tremolo Rate |
Rate of amplitude modulation (tremolo) in Hertz |
[0-22050?] |
7 |
Channel |
Fraction of total sound fed to the speaker indicated
by Channel Toggle. Example: If Channel Toggle is 0 and the y-val for an
envelope segment is 0.4, 40% of the sound is fed to the left speaker
(leaving 60% for the right speaker) |
[0-1] |
8 |
Random Effect |
??? |
??? |
9 |
Timbre ID |
Allows for Timbre membership changes of partial over time.
Used in sound morphing. Not implemented.
|
??? |
10 |
Reverb Mix |
Fraction of partial to be applied to the reverb unit over time.
For example, a y-val of 0.4 here would indicate that 40% of the sound
(amplitude?) is sent to the reverberator. |
[0-1] |
11 |
Transient Amplitude |
Magnitude of amplitude transient (spikes or nuances)
|
?? |
12 |
Frequency Transient |
Probability of a frequency transient occuring during a particular segment
of the partial |
[0-1] |
13 |
Amplitude Transient |
Probability of an amplitude transient occurring during a particular
segment of the partial |
[0-1] |
Example of a DIASS I-Card for one partial of a sound:
I(DIAS 0.028 8.000 ){ 1003000.000 1.000 0.000 0.000 0.000 0.000 0.000 0.000 2.000 2.000 0.050
6.0000000 0.0000000
1.0000000 1.0000000
0.0145455 0.0145455
0.0030000 0.5970000 0.1230000 0.4770000 1.4970000 3.3030002 0.0000000
2.0000000 2.0000000 1.0000000 1.0000000 2.0000000 1.0000000 0.0000000
0.0000000 0.0050000 0.8341666 0.8000000 0.5006162 0.5000000 0.0000000
4.6199999 0.6000000 0.7800000 0.0000000
2.0000000 1.0000000 1.0000000 0.0000000
0.0000000 0.0030000 0.0028500 0.0000000
6.0000000 0.0000000
1.0000000 0.0000000
0.9410000 0.9410000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
6.0000000 0.0000000
1.0000000 0.0000000
0.5290000 0.5290000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
6.0000000 0.0000000
1.0000000 0.0000000
0.0010000 0.0010000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
5.9998999 0.0000000
1.0000000 0.0000000
0.0000000 0.0000000
}
Back to
DIASS
Original generated by Mike Piacenza, February 11, 1998;
revised October 21, 1998 (HGK)