EPianoProcessor Class Reference

#include <mdaEPianoProcessor.h>

Inheritance diagram for EPianoProcessor:
Inheritance graph
[legend]

Data Structures

struct  KGRP
struct  VOICE

Public Types

enum  { kNumVoices = 32, kEventBuffer = 120, kNumPrograms = 4 }

Public Member Functions

 EPianoProcessor ()
 ~EPianoProcessor ()
tresult initialize (FUnknown *context)
tresult terminate ()
tresult setActive (TBool state)
void doProcessing (ProcessData &data)

Static Public Member Functions

static FUnknowncreateInstance (void *)

Static Public Attributes

static FUID uid
static float programParams [][12]

Protected Member Functions

void setParameter (ParamID index, ParamValue newValue, int32 sampleOffset)
void processEvents (IEventList *events)
void noteOn (int32 note, int32 velocity)
void recalculate ()

Protected Attributes

float Fs
float iFs
int32 eventPos
int32 notes [kEventBuffer+8]
KGRP kgrp [34]
VOICE voice [kNumVoices]
int32 activevoices
int32 poly
short * waves
float width
int32 size
int32 sustain
float lfo0
float lfo1
float dlfo
float lmod
float rmod
float treb
float tfrq
float tl
float tr
float tune
float fine
float random
float stretch
float overdrive
float muff
float muffvel
float sizevel
float velsens
float volume
float modwhl

Member Enumeration Documentation

anonymous enum
Enumerator:
kNumVoices 
kEventBuffer 
kNumPrograms 

Constructor & Destructor Documentation

EPianoProcessor (  ) 
~EPianoProcessor (  ) 

Member Function Documentation

tresult initialize ( FUnknown context  )  [virtual]

Reimplemented from Component.

tresult terminate (  )  [virtual]

Reimplemented from Component.

tresult setActive ( TBool  state  )  [virtual]

Reimplemented from BaseProcessor.

void doProcessing ( ProcessData data  )  [virtual]

Implements BaseProcessor.

static FUnknown* createInstance ( void *   )  [inline, static]
void setParameter ( ParamID  index,
ParamValue  newValue,
int32  sampleOffset 
) [protected, virtual]

Reimplemented from BaseProcessor.

void processEvents ( IEventList events  )  [protected, virtual]

Reimplemented from BaseProcessor.

void noteOn ( int32  note,
int32  velocity 
) [protected]
void recalculate (  )  [protected, virtual]

Reimplemented from BaseProcessor.


Field Documentation

FUID uid [static]
float programParams [static]
Initial value:
 { 
   { 0.500f, 0.500f, 0.500f, 0.500f, 0.500f, 0.650f, 0.250f, 0.500f, 0.50f, 0.500f, 0.146f, 0.000f },
   { 0.500f, 0.500f, 1.000f, 0.800f, 0.500f, 0.650f, 0.250f, 0.500f, 0.50f, 0.500f, 0.146f, 0.500f },
   { 0.500f, 0.500f, 0.000f, 0.000f, 0.500f, 0.650f, 0.250f, 0.500f, 0.50f, 0.500f, 0.246f, 0.000f },
   { 0.500f, 0.500f, 0.500f, 0.500f, 0.250f, 0.650f, 0.250f, 0.500f, 0.50f, 0.500f, 0.246f, 0.000f },
   { 0.500f, 0.500f, 0.500f, 0.500f, 0.750f, 0.650f, 0.250f, 0.500f, 0.50f, 0.500f, 0.246f, 0.000f }
}
float Fs [protected]
float iFs [protected]
int32 eventPos [protected]
int32 notes[kEventBuffer+8] [protected]
KGRP kgrp[34] [protected]
VOICE voice[kNumVoices] [protected]
int32 activevoices [protected]
int32 poly [protected]
short* waves [protected]
float width [protected]
int32 size [protected]
int32 sustain [protected]
float lfo0 [protected]
float lfo1 [protected]
float dlfo [protected]
float lmod [protected]
float rmod [protected]
float treb [protected]
float tfrq [protected]
float tl [protected]
float tr [protected]
float tune [protected]
float fine [protected]
float random [protected]
float stretch [protected]
float overdrive [protected]
float muff [protected]
float muffvel [protected]
float sizevel [protected]
float velsens [protected]
float volume [protected]
float modwhl [protected]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.