libgig  4.0.0.6svn2980
gig::MidiRuleCtrlTrigger Class Reference

MIDI rule for triggering notes by control change events. More...

#include <gig.h>

Inheritance diagram for gig::MidiRuleCtrlTrigger:
gig::MidiRule

Classes

struct  trigger_t
 

Public Attributes

uint8_t ControllerNumber
 MIDI controller number. More...
 
uint8_t Triggers
 Number of triggers. More...
 
struct gig::MidiRuleCtrlTrigger::trigger_t pTriggers [32]
 

Protected Member Functions

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

Friends

class Instrument
 

Detailed Description

MIDI rule for triggering notes by control change events.

A "Control Trigger MIDI rule" allows to trigger new notes by sending MIDI control change events to the sampler.

Note: "Control Trigger" MIDI rules are only supported by gigedit, but not by LinuxSampler. We recommend you using real-time instrument scripts instead. Read more about the details and reasons for this in the description of the MidiRule base class.

Deprecated:
Just provided for backward compatiblity, use Script for new instruments instead. See description of MidiRule for details.

Definition at line 839 of file gig.h.

Constructor & Destructor Documentation

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

Definition at line 3935 of file gig.cpp.

References RIFF::Chunk::ReadUint8(), and RIFF::Chunk::SetPos().

gig::MidiRuleCtrlTrigger::MidiRuleCtrlTrigger ( )
protected

Definition at line 3953 of file gig.cpp.

Member Function Documentation

Friends And Related Function Documentation

friend class Instrument
friend

Definition at line 857 of file gig.h.

Member Data Documentation

uint8_t gig::MidiRuleCtrlTrigger::ControllerNumber

MIDI controller number.

Definition at line 841 of file gig.h.

Referenced by UpdateChunks().

struct gig::MidiRuleCtrlTrigger::trigger_t gig::MidiRuleCtrlTrigger::pTriggers[32]

Referenced by UpdateChunks().

uint8_t gig::MidiRuleCtrlTrigger::Triggers

Number of triggers.

Definition at line 842 of file gig.h.

Referenced by UpdateChunks().


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