TMMFMidiConfig2 Class Reference

class TMMFMidiConfig2

Constructor & Destructor Documentation

TMMFMidiConfig2()

TMMFMidiConfig2()[inline]

Member Data Documentation

const TDesC8 * iBankData

const TDesC8 *iBankData

Descriptor containing the custom sound bank.

TInt iBankId

TInt iBankId

Custom/deault Bank's Identifier.

TInt iBankIndex

TInt iBankIndex

Index of custom/deault bank: 0 <= iBankIndex < NumberOfBanksL()

TBool iBankLoaded

TBool iBankLoaded

ETrue if the specified bank is in memory, EFalse otherwise.

TInt iChannel

TInt iChannel

Logical channel: 0 <= iChannel < ChannelsSupportedL().

TReal32 iChannelVol

TReal32 iChannelVol

Volume level in dB corresponding to the MIDI Channel: -infinity <= iChannelVol <= MaxVolumeL().

TBool iCustom

TBool iCustom

Specifies whether to reference a custom or standard sound bank.

TInt64 iDurationMicroBeats

TInt64 iDurationMicroBeats

Length of the currently open MIDI resource. Duration in microbeats (beats * 1000000).

TTimeIntervalMicroSeconds iDurationMicroSeconds

TTimeIntervalMicroSeconds iDurationMicroSeconds

Length of time to play the note for.

const TDesC * iFileName

const TDesC *iFileName

Name of the file containing the custom sound bank or the name of the file containing the instrument. Includes the directory path.

const TDesC8 * iInstrumentData

const TDesC8 *iInstrumentData

Descriptor containing the instrument.

TInt iInstrumentId

TInt iInstrumentId

Identifier of specified instrument. This may differ from the index since the index simply enumerates the instruments, whereas identifiers may not be contiguous, especially where certain instruments correspond to General MIDI-defined instruments but not all instruments are present. 0 <= iInstrumentId <= 127.

TInt iInstrumentIndex

TInt iInstrumentIndex

Index of the instrument to reference: 0 <= aInstrumentIndex < NumberOfInstrumentsL().

TReal32 iMaxChannelVol

TReal32 iMaxChannelVol

Maximum volume setting in dB, should always be 0 dB and correspond to the MIDI Channel Volume controller maximum value.

TInt iMemoryBankId

TInt iMemoryBankId

Identifier of the custom bank in memory.

TInt iMemoryInstrumentId

TInt iMemoryInstrumentId

Identifier of the instrument in memory.

TBool iMuted

TBool iMuted

ETrue to mute the track/channel, EFalse to unmute it.

TInt iNote

TInt iNote

Note to play ot to terminate: 0 <= iNote <= 127.

TInt iNoteOffVelocity

TInt iNoteOffVelocity

Velocity with which to stop the note: 0 <= iNoteOffVelocity <= 127.

TInt iNoteOnVelocity

TInt iNoteOnVelocity

Velocity with which to start the note: 0 <= iNoteOnVelocity <= 127.

TInt iNumBanks

TInt iNumBanks

Number of standard or custom sound banks currently available.

TInt iNumInstruments

TInt iNumInstruments

Number of instruments available for the specified sound bank.

TInt64 iPositionMicroBeats

TInt64 iPositionMicroBeats

Current metrical position of the MIDI resource being played. Microbeats (BPM*1000000) relative to the start of the resource.

TTimeIntervalMicroSeconds iStartTime

TTimeIntervalMicroSeconds iStartTime

Specifying the time at which to start playing the note. It's relative to the MIDI resource playing time or the time elapsed since Play() was called if no resource is present.

TTimeIntervalMicroSeconds iStopTime

TTimeIntervalMicroSeconds iStopTime

Time at which playback will stop, relative to the start of the resource. Clamped to 0 and the duration of the resource.

TInt iTrack

TInt iTrack

Index of the track to mute: 0 <= iTrack < NumTracksL().