libgig  4.0.0
gig::leverage_ctrl_t Struct Reference

Defines a controller that has a certain contrained influence on a particular synthesis parameter (used to define attenuation controller, EG1 controller and EG2 controller). More...

#include <gig.h>

Public Types

enum  type_t { type_none = 0x00, type_channelaftertouch = 0x2f, type_velocity = 0xff, type_controlchange = 0xfe }
 

Public Attributes

type_t type
 Controller type. More...
 
uint controller_number
 MIDI controller number if this controller is a control change controller, 0 otherwise. More...
 

Detailed Description

Defines a controller that has a certain contrained influence on a particular synthesis parameter (used to define attenuation controller, EG1 controller and EG2 controller).

You should use the respective typedef (means either attenuation_ctrl_t, eg1_ctrl_t or eg2_ctrl_t) in your code!

Definition at line 183 of file gig.h.

Member Enumeration Documentation

Enumerator
type_none 

No controller defined.

type_channelaftertouch 

Channel Key Pressure.

type_velocity 

Key Velocity.

type_controlchange 

Ordinary MIDI control change controller, see field 'controller_number'.

Definition at line 184 of file gig.h.

Member Data Documentation

uint gig::leverage_ctrl_t::controller_number

MIDI controller number if this controller is a control change controller, 0 otherwise.

Definition at line 192 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion(), and gig::DimensionRegion::GetParent().

type_t gig::leverage_ctrl_t::type

Controller type.

Definition at line 191 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion(), and gig::DimensionRegion::GetParent().


The documentation for this struct was generated from the following file: