CSL  6.0
CSLMIDIComponent Class Reference

#include <CSLMIDIComponent.h>

+ Inheritance diagram for CSLMIDIComponent:

Public Member Functions

 CSLMIDIComponent ()
 
 ~CSLMIDIComponent ()
 
void update (void *arg)
 MIDI observer update method. More...
 
void timerCallback ()
 
void paint (Graphics &g)
 
void resized ()
 
void buttonClicked (Button *buttonThatWasClicked)
 
 CSLMIDIComponent (const CSLMIDIComponent &)
 
const CSLMIDIComponentoperator= (const CSLMIDIComponent &)
 
 CSLMIDIComponent ()
 
 ~CSLMIDIComponent ()
 
void update (void *arg)
 MIDI observer update method. More...
 
void paint (Graphics &g)
 
void resized ()
 
void buttonClicked (Button *buttonThatWasClicked)
 
void sliderValueChanged (Slider *sliderThatWasMoved)
 
virtual void timerCallback ()
 
void startStop ()
 
virtual void audioDeviceIOCallback (const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples)
 
virtual void audioDeviceAboutToStart (AudioIODevice *device)
 
virtual void audioDeviceStopped ()
 
 CSLMIDIComponent (const CSLMIDIComponent &)
 
const CSLMIDIComponentoperator= (const CSLMIDIComponent &)
 

Public Attributes

juce_UseDebuggingNewOperator
csl::MIDIIn
mIn
 MIDI input. More...
 
char * cLin
 message to add More...
 
bool filt
 filter note on-offs More...
 
AudioDeviceManager mAudioDeviceManager
 JUCE audio. More...
 
bool changed
 
TextButton * quitButton
 
Label * label
 
TextEditor * textEditor
 
TextButton * clearButton
 
AudioDeviceSelectorComponent * audioDeviceSelector
 
ToggleButton * filtButton
 
std::vector< Slider * > sliders
 list of my 16 sliders More...
 
std::vector< unsigned > values
 list of my 16 current values More...
 
std::vector< unsigned > nextVals
 list of my 16 update values More...
 
csl::Buffer outBuffer
 
bool playing
 state flags More...
 
unsigned offset
 what # is fader 0? More...
 
GThreadplayThread
 
TextButton * selButton
 
Slider * slider
 
Slider * slider2
 
Slider * slider3
 
Slider * slider4
 
Slider * slider5
 
Slider * slider6
 
Slider * slider7
 
Slider * slider8
 
Slider * slider9
 
Slider * slider10
 
Slider * slider11
 
Slider * slider12
 
Slider * slider13
 
Slider * slider14
 
Slider * slider15
 
Slider * slider16
 
Label * label2
 
float mPeriod
 virtual destructor (don't notify or delete observers in this version) More...
 
int mKey
 key selector (e.g., MIDI chan) I receive update() mesages from my model; More...
 

Detailed Description

[Comments] An auto-generated component, created by the Jucer.

Describe your class and how it works here! [/Comments]

Definition at line 41 of file CSLMIDIComponent.h.

Constructor & Destructor Documentation

CSLMIDIComponent::CSLMIDIComponent ( )
CSLMIDIComponent::~CSLMIDIComponent ( )
CSLMIDIComponent::CSLMIDIComponent ( const CSLMIDIComponent )
CSLMIDIComponent::CSLMIDIComponent ( )
CSLMIDIComponent::~CSLMIDIComponent ( )
CSLMIDIComponent::CSLMIDIComponent ( const CSLMIDIComponent )

Member Function Documentation

void CSLMIDIComponent::update ( void *  arg)
virtual
void CSLMIDIComponent::timerCallback ( )

Definition at line 232 of file CSLMIDIComponent.cpp.

References changed, cLin, and textEditor.

void CSLMIDIComponent::paint ( Graphics &  g)

Definition at line 155 of file CSLMIDIComponent.cpp.

void CSLMIDIComponent::resized ( )

Definition at line 166 of file CSLMIDIComponent.cpp.

References clearButton, filtButton, label, quitButton, and textEditor.

void CSLMIDIComponent::buttonClicked ( Button *  buttonThatWasClicked)

Definition at line 178 of file CSLMIDIComponent.cpp.

References clearButton, filt, filtButton, quitButton, and textEditor.

const CSLMIDIComponent& CSLMIDIComponent::operator= ( const CSLMIDIComponent )
void CSLMIDIComponent::update ( void *  arg)
virtual

MIDI observer update method.

Implements csl::Observer.

void CSLMIDIComponent::paint ( Graphics &  g)
void CSLMIDIComponent::resized ( )
void CSLMIDIComponent::buttonClicked ( Button *  buttonThatWasClicked)
void CSLMIDIComponent::sliderValueChanged ( Slider *  sliderThatWasMoved)
virtual void CSLMIDIComponent::timerCallback ( )
virtual
void CSLMIDIComponent::startStop ( )
void CSLMIDIComponent::audioDeviceIOCallback ( const float **  inputChannelData,
int  totalNumInputChannels,
float **  outputChannelData,
int  totalNumOutputChannels,
int  numSamples 
)
virtual
void CSLMIDIComponent::audioDeviceAboutToStart ( AudioIODevice *  device)
virtual

Definition at line 501 of file CSLMIDIFaderComponent.cpp.

void CSLMIDIComponent::audioDeviceStopped ( )
virtual

Definition at line 504 of file CSLMIDIFaderComponent.cpp.

const CSLMIDIComponent& CSLMIDIComponent::operator= ( const CSLMIDIComponent )

Member Data Documentation

juce_UseDebuggingNewOperator csl::MIDIIn * CSLMIDIComponent::mIn

MIDI input.

Definition at line 73 of file CSLMIDIComponent.h.

Referenced by CSLMIDIComponent(), update(), and ~CSLMIDIComponent().

char * CSLMIDIComponent::cLin

message to add

Definition at line 74 of file CSLMIDIComponent.h.

Referenced by CSLMIDIComponent(), timerCallback(), and update().

bool CSLMIDIComponent::filt

filter note on-offs

Definition at line 75 of file CSLMIDIComponent.h.

Referenced by buttonClicked(), CSLMIDIComponent(), and update().

AudioDeviceManager CSLMIDIComponent::mAudioDeviceManager

JUCE audio.

Definition at line 77 of file CSLMIDIComponent.h.

Referenced by CSLMIDIComponent().

bool CSLMIDIComponent::changed

Definition at line 83 of file CSLMIDIComponent.h.

Referenced by timerCallback(), and update().

TextButton * CSLMIDIComponent::quitButton

Definition at line 88 of file CSLMIDIComponent.h.

Referenced by buttonClicked(), CSLMIDIComponent(), resized(), and ~CSLMIDIComponent().

Label* CSLMIDIComponent::label

Definition at line 89 of file CSLMIDIComponent.h.

Referenced by CSLMIDIComponent(), resized(), and ~CSLMIDIComponent().

TextEditor* CSLMIDIComponent::textEditor
TextButton * CSLMIDIComponent::clearButton

Definition at line 91 of file CSLMIDIComponent.h.

Referenced by buttonClicked(), CSLMIDIComponent(), resized(), and ~CSLMIDIComponent().

AudioDeviceSelectorComponent * CSLMIDIComponent::audioDeviceSelector

Definition at line 92 of file CSLMIDIComponent.h.

Referenced by CSLMIDIComponent(), and ~CSLMIDIComponent().

ToggleButton* CSLMIDIComponent::filtButton

Definition at line 93 of file CSLMIDIComponent.h.

Referenced by buttonClicked(), CSLMIDIComponent(), resized(), and ~CSLMIDIComponent().

std::vector<Slider *> CSLMIDIComponent::sliders

list of my 16 sliders

Definition at line 81 of file CSLMIDIFaderComponent.h.

std::vector<unsigned> CSLMIDIComponent::values

list of my 16 current values

Definition at line 82 of file CSLMIDIFaderComponent.h.

std::vector<unsigned> CSLMIDIComponent::nextVals

list of my 16 update values

Definition at line 83 of file CSLMIDIFaderComponent.h.

csl::Buffer CSLMIDIComponent::outBuffer

Definition at line 85 of file CSLMIDIFaderComponent.h.

Referenced by audioDeviceIOCallback().

bool CSLMIDIComponent::playing

state flags

Definition at line 86 of file CSLMIDIFaderComponent.h.

Referenced by audioDeviceIOCallback(), and startStop().

unsigned CSLMIDIComponent::offset

what # is fader 0?

Definition at line 87 of file CSLMIDIFaderComponent.h.

GThread* CSLMIDIComponent::playThread

Definition at line 88 of file CSLMIDIFaderComponent.h.

Referenced by startStop().

TextButton* CSLMIDIComponent::selButton

Definition at line 94 of file CSLMIDIFaderComponent.h.

Slider* CSLMIDIComponent::slider

Definition at line 97 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider2

Definition at line 98 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider3

Definition at line 99 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider4

Definition at line 100 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider5

Definition at line 101 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider6

Definition at line 102 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider7

Definition at line 103 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider8

Definition at line 104 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider9

Definition at line 105 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider10

Definition at line 106 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider11

Definition at line 107 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider12

Definition at line 108 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider13

Definition at line 109 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider14

Definition at line 110 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider15

Definition at line 111 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Slider* CSLMIDIComponent::slider16

Definition at line 112 of file CSLMIDIFaderComponent.h.

Referenced by sliderValueChanged().

Label* CSLMIDIComponent::label2

Definition at line 113 of file CSLMIDIFaderComponent.h.

float csl::Observer::mPeriod
inherited

virtual destructor (don't notify or delete observers in this version)

max update rate

Definition at line 299 of file CGestalt.h.

Referenced by csl::Model::attachObserver(), and csl::Observer::Observer().

int csl::Observer::mKey
inherited

key selector (e.g., MIDI chan) I receive update() mesages from my model;

Definition at line 302 of file CGestalt.h.

Referenced by csl::Model::attachObserver(), and csl::Observer::Observer().


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