#include <nitro/snd.h>
typedef struct SNDTrackInfo
{
u16 prgNo;
u8 volume;
u8 volume2;
s8 pitchBend;
u8 bendRange;
u8 pan;
s8 transpose;
u8 pad_;
u8 chCount;
u8 channel[ SND_CHANNEL_NUM ];
} SNDTrackInfo;
prgNo |
The program number. |
volume |
The track volume corresponding to the volume command (MIDI:7). Takes values in the range of 0 to 127. |
volume2 |
The track volume corresponding to the volume2 command (MIDI:11). Takes values in the range of 0 to 127. |
pitchBend |
The pitch bend. Takes values in the range of -128 to 127. |
bendRange |
The pitch bend range. Units are in semitones. Values represent the amount of change when pitchBend is at maximum. |
pan |
The pan. Takes values in the range of 0 (left) to 64 (center) to 127 (right). |
transpose |
The transpose value. Units are in semitones. |
chCount |
The number of channels currently playing tracks. |
channel[] |
An array of the channel numbers of channels playing tracks. Valid for only chCount number of channels. |
This is the track information structure. It stores the information for a single track.
The contents of this structure can be obtained with the SND_ReadTrackInfo function.
The structure size and the member arrangement may be changed in the future.
2005/02/17 Initial version.
CONFIDENTIAL