#include <revolution.h>
#include <revolution/seq.h>
void SEQAddSequence(
SEQSEQUENCE *sequence,
u8 *midiStream,
u8 *wavetable,
u8 *samples,
u8 *zerobuffer,
u32 priorityVoiceAlloc,
u32 priorityNoteOn,
u32 priorityNoteRelease
);
| sequence | Pointer to user-allocated SEQSEQUENCE structure. |
|---|---|
| midiStream | Pointer to MIDI data. |
| wavetable | Pointer to wave table. |
| samples | Pointer to sample set corresponding to wave table. |
| zerobuffer | Pointer to the zero buffer (Not used. Specify NULL.) |
| priorityVoiceAlloc | Priority for allocating AX voice for note ON. maximum: 31 minimum: 1 |
| priorityNoteOn | Priority for setting voices after successful allocation. maximum: 31 minimum: 1 |
| priorityNoteRelease | Priority for setting voices for note OFF. maximum: 31 minimum: 1 |
None.
The SEQAddSequence function initializes a user-allocated SEQUENCE structure and adds it to the sequence list.
The SEQSEQUENCE structure contains the SYNSYNTH structure used for sequence play. Internally, the SEQAddSequence function also initializes the SYNSYNTH structure.
2006/11/21 Added an explanation to the arguments about the zero buffer no longer being necessary.
2006/03/01 Initial version.
CONFIDENTIAL