|
|
struct { |
|
frac_t bp |
| | Envelope segment breakpoint.
|
| |
|
frac_t inc |
| | Envelope segment velocity.
|
| |
| } | env [8] |
| |
|
uint8 | seg |
| | Envelope release segment.
|
| |
|
uint8 | bend |
| | Maximum range for pitch bend.
|
| |
|
uint8 | vibDepth |
| | Vibrato depth.
|
| |
|
uint8 | vibSpeed |
| | Vibrato speed.
|
| |
|
uint8 | waveCount [2] |
| | Wave count for both generators.
|
| |
|
struct { |
|
uint8 key |
| | Highest MIDI key to use this wave.
|
| |
|
uint32 offset |
| | Offset of wave data, relative to base.
|
| |
|
uint32 size |
| | Wave size.
|
| |
|
bool halt |
| | Oscillator halted?
|
| |
|
bool loop |
| | Loop mode?
|
| |
|
bool swap |
| | Swap mode?
|
| |
|
bool rightChannel |
| | Output channel (left / right)
|
| |
|
int16 tune |
| | Fine tune in semitones (8.8 fixed point)
|
| |
| } | wave [2][127] |
| |
|
int8 * | wavetableBase |
| | Base of wave data.
|
| |
◆ read()
Read an Apple IIGS instrument header from the given stream.
- Parameters
-
| stream | The source stream from which to read the data. |
| ignoreAddr | Should we ignore wave infos' wave address variable's value? |
- Returns
- True if successful, false otherwise.
The documentation for this struct was generated from the following file: