libgig  3.3.0.svn21
gig::MidiRuleLegato Class Reference

MIDI rule for instruments with legato samples. More...

#include <gig.h>

Inheritance diagram for gig::MidiRuleLegato:
gig::MidiRule

Public Attributes

uint8_t LegatoSamples
 Number of legato samples per key in each direction (always 12) More...
 
bool BypassUseController
 If a controller should be used to bypass the sustain note. More...
 
uint8_t BypassKey
 Key to be used to bypass the sustain note. More...
 
uint8_t BypassController
 Controller to be used to bypass the sustain note. More...
 
uint16_t ThresholdTime
 Maximum time (ms) between two notes that should be played legato. More...
 
uint16_t ReleaseTime
 Release time. More...
 
range_t KeyRange
 Key range for legato notes. More...
 
uint8_t ReleaseTriggerKey
 Key triggering release samples. More...
 
uint8_t AltSustain1Key
 Key triggering alternate sustain samples. More...
 
uint8_t AltSustain2Key
 Key triggering a second set of alternate sustain samples. More...
 

Protected Member Functions

 MidiRuleLegato (RIFF::Chunk *_3ewg)
 
 MidiRuleLegato ()
 
void UpdateChunks (uint8_t *pData) const
 

Friends

class Instrument
 

Detailed Description

MIDI rule for instruments with legato samples.

Definition at line 783 of file gig.h.

Constructor & Destructor Documentation

gig::MidiRuleLegato::MidiRuleLegato ( RIFF::Chunk _3ewg)
protected
gig::MidiRuleLegato::MidiRuleLegato ( )
protected

Definition at line 4000 of file gig.cpp.

References gig::range_t::high, KeyRange, and gig::range_t::low.

Member Function Documentation

void gig::MidiRuleLegato::UpdateChunks ( uint8_t *  pData) const
protectedvirtual

Friends And Related Function Documentation

friend class Instrument
friend

Definition at line 800 of file gig.h.

Member Data Documentation

uint8_t gig::MidiRuleLegato::AltSustain1Key

Key triggering alternate sustain samples.

Definition at line 793 of file gig.h.

Referenced by UpdateChunks().

uint8_t gig::MidiRuleLegato::AltSustain2Key

Key triggering a second set of alternate sustain samples.

Definition at line 794 of file gig.h.

Referenced by UpdateChunks().

uint8_t gig::MidiRuleLegato::BypassController

Controller to be used to bypass the sustain note.

Definition at line 788 of file gig.h.

Referenced by UpdateChunks().

uint8_t gig::MidiRuleLegato::BypassKey

Key to be used to bypass the sustain note.

Definition at line 787 of file gig.h.

Referenced by UpdateChunks().

bool gig::MidiRuleLegato::BypassUseController

If a controller should be used to bypass the sustain note.

Definition at line 786 of file gig.h.

Referenced by UpdateChunks().

range_t gig::MidiRuleLegato::KeyRange

Key range for legato notes.

Definition at line 791 of file gig.h.

Referenced by MidiRuleLegato(), and UpdateChunks().

uint8_t gig::MidiRuleLegato::LegatoSamples

Number of legato samples per key in each direction (always 12)

Definition at line 785 of file gig.h.

Referenced by UpdateChunks().

uint16_t gig::MidiRuleLegato::ReleaseTime

Release time.

Definition at line 790 of file gig.h.

Referenced by UpdateChunks().

uint8_t gig::MidiRuleLegato::ReleaseTriggerKey

Key triggering release samples.

Definition at line 792 of file gig.h.

Referenced by UpdateChunks().

uint16_t gig::MidiRuleLegato::ThresholdTime

Maximum time (ms) between two notes that should be played legato.

Definition at line 789 of file gig.h.

Referenced by UpdateChunks().


The documentation for this class was generated from the following files: