Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::Sequencer::InstrData_t Struct Reference
Collaboration diagram for Burger::Sequencer::InstrData_t:

Public Types

enum  eEnvelopFlags { ENVELOPE_ON = 1 , ENVELOPE_SUSTAIN = 2 , ENVELOPE_LOOP = 4 }
 

Public Member Functions

void SetName (const char *pName)
 
void Reset (void)
 Reset an instrument to defaults.
 

Public Attributes

uint_t m_uBaseSampleID
 First sample ID in sample list.
 
uint_t m_uNumberSamples
 Number of samples in instrument.
 
EnvelopeMarker_t m_VolumeEnvelope [12]
 Points for volume envelope.
 
EnvelopeMarker_t m_PanEnvelope [12]
 Points for panning envelope.
 
uint8_t m_WhichSampleForNote [96]
 Sample number for all notes.
 
uint8_t m_uVolumeEnvelopeCount
 Number of volume points.
 
uint8_t m_uPanEnvelopeCount
 Number of panning points.
 
uint8_t m_uVolumeSustainIndex
 Volume sustain point.
 
uint8_t m_uVolumeBeginIndex
 Volume loop start point.
 
uint8_t m_uVolumeEndIndex
 Volume loop end point.
 
uint8_t m_uPanSustainIndex
 Panning sustain point.
 
uint8_t m_uPanBeginIndex
 Panning loop start point.
 
uint8_t m_uPanEndIndex
 Panning loop end point.
 
uint8_t m_uVolumeEnvelopeFlags
 Flags for the volume envelope (See eEnvelopFlags)
 
uint8_t m_uPanEnvelopeFlags
 Flags for the pan envelope (See eEnvelopFlags)
 
uint16_t m_uVolumeFadeSpeed
 Volume fadeout speed.
 
uint8_t m_uVibratoDepth
 Depth of the vibrato.
 
uint8_t m_uVibratoSpeed
 Speed of vibrato oscillation.
 
uint8_t m_uInstrumentNumber
 Instrument number.
 
char m_Name [32]
 Instrument name.
 

Member Enumeration Documentation

◆ eEnvelopFlags

Enumerator
ENVELOPE_ON 

If set, the envelope is active.

ENVELOPE_SUSTAIN 

If set, the envelope has a sustain section.

ENVELOPE_LOOP 

If set, the envelope loops.

Member Function Documentation

◆ Reset()

void BURGER_API Burger::Sequencer::InstrData_t::Reset ( void )

Reset an instrument to defaults.


◆ SetName()

void Burger::Sequencer::InstrData_t::SetName ( const char * pName)
inline

Member Data Documentation

◆ m_Name

char Burger::Sequencer::InstrData_t::m_Name[32]

Instrument name.

◆ m_PanEnvelope

EnvelopeMarker_t Burger::Sequencer::InstrData_t::m_PanEnvelope[12]

Points for panning envelope.

◆ m_uBaseSampleID

uint_t Burger::Sequencer::InstrData_t::m_uBaseSampleID

First sample ID in sample list.

◆ m_uInstrumentNumber

uint8_t Burger::Sequencer::InstrData_t::m_uInstrumentNumber

Instrument number.

◆ m_uNumberSamples

uint_t Burger::Sequencer::InstrData_t::m_uNumberSamples

Number of samples in instrument.

◆ m_uPanBeginIndex

uint8_t Burger::Sequencer::InstrData_t::m_uPanBeginIndex

Panning loop start point.

◆ m_uPanEndIndex

uint8_t Burger::Sequencer::InstrData_t::m_uPanEndIndex

Panning loop end point.

◆ m_uPanEnvelopeCount

uint8_t Burger::Sequencer::InstrData_t::m_uPanEnvelopeCount

Number of panning points.

◆ m_uPanEnvelopeFlags

uint8_t Burger::Sequencer::InstrData_t::m_uPanEnvelopeFlags

Flags for the pan envelope (See eEnvelopFlags)

◆ m_uPanSustainIndex

uint8_t Burger::Sequencer::InstrData_t::m_uPanSustainIndex

Panning sustain point.

◆ m_uVibratoDepth

uint8_t Burger::Sequencer::InstrData_t::m_uVibratoDepth

Depth of the vibrato.

◆ m_uVibratoSpeed

uint8_t Burger::Sequencer::InstrData_t::m_uVibratoSpeed

Speed of vibrato oscillation.

◆ m_uVolumeBeginIndex

uint8_t Burger::Sequencer::InstrData_t::m_uVolumeBeginIndex

Volume loop start point.

◆ m_uVolumeEndIndex

uint8_t Burger::Sequencer::InstrData_t::m_uVolumeEndIndex

Volume loop end point.

◆ m_uVolumeEnvelopeCount

uint8_t Burger::Sequencer::InstrData_t::m_uVolumeEnvelopeCount

Number of volume points.

◆ m_uVolumeEnvelopeFlags

uint8_t Burger::Sequencer::InstrData_t::m_uVolumeEnvelopeFlags

Flags for the volume envelope (See eEnvelopFlags)

◆ m_uVolumeFadeSpeed

uint16_t Burger::Sequencer::InstrData_t::m_uVolumeFadeSpeed

Volume fadeout speed.

◆ m_uVolumeSustainIndex

uint8_t Burger::Sequencer::InstrData_t::m_uVolumeSustainIndex

Volume sustain point.

◆ m_VolumeEnvelope

EnvelopeMarker_t Burger::Sequencer::InstrData_t::m_VolumeEnvelope[12]

Points for volume envelope.

◆ m_WhichSampleForNote

uint8_t Burger::Sequencer::InstrData_t::m_WhichSampleForNote[96]

Sample number for all notes.