libgig  4.0.0
sf2::Modulator Class Reference

#include <SF.h>

Public Types

enum  {
  NO_CONTROLLER = 0, NOTE_ON_VELOCITY = 2, NOTE_ON_KEY_NUMBER = 3, POLY_PRESSURE = 10,
  CHANNEL_PRESSURE = 13, PITCH_WHEEL = 14, PITCH_WHEEL_SENSITIVITY = 16, LINK = 127
}
 General Controller palette of controllers. More...
 
enum  { LINEAR = 0, CONCAVE, CONVEX, SWITCH }
 Controller type. More...
 

Public Member Functions

 Modulator (SFModulator mod)
 

Public Attributes

int Type
 
bool MidiPalete
 
bool Direction
 
bool Polarity
 
int Index
 

Detailed Description

Definition at line 177 of file SF.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

General Controller palette of controllers.

Controller sources.

Enumerator
NO_CONTROLLER 
NOTE_ON_VELOCITY 
NOTE_ON_KEY_NUMBER 
POLY_PRESSURE 
CHANNEL_PRESSURE 
PITCH_WHEEL 
PITCH_WHEEL_SENSITIVITY 
LINK 

Definition at line 184 of file SF.h.

◆ anonymous enum

anonymous enum

Controller type.

Enumerator
LINEAR 
CONCAVE 
CONVEX 
SWITCH 

Definition at line 198 of file SF.h.

Constructor & Destructor Documentation

◆ Modulator()

sf2::Modulator::Modulator ( SFModulator  mod)

Definition at line 84 of file SF.cpp.

References Direction, Index, MidiPalete, Polarity, and Type.

Member Data Documentation

◆ Direction

bool sf2::Modulator::Direction

Definition at line 207 of file SF.h.

Referenced by Modulator().

◆ Index

int sf2::Modulator::Index

Definition at line 209 of file SF.h.

Referenced by Modulator().

◆ MidiPalete

bool sf2::Modulator::MidiPalete

Definition at line 206 of file SF.h.

Referenced by Modulator().

◆ Polarity

bool sf2::Modulator::Polarity

Definition at line 208 of file SF.h.

Referenced by Modulator().

◆ Type

int sf2::Modulator::Type

Definition at line 205 of file SF.h.

Referenced by Modulator().


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