CSL  6.0
CSLComponent Class Reference

#include <CSL_TestComponent.h>

+ Inheritance diagram for CSLComponent:

Public Member Functions

 CSLComponent ()
 
 ~CSLComponent () override
 
void audioDeviceIOCallback (const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples)
 
void audioDeviceAboutToStart (juce::AudioIODevice *device)
 
void audioDeviceStopped ()
 
void setComboLabels (unsigned which)
 
void timerCallback ()
 
void recordOnOff ()
 
void startStop ()
 
void paint (Graphics &g) override
 
void resized () override
 
void buttonClicked (Button *buttonThatWasClicked) override
 
void comboBoxChanged (ComboBox *comboBoxThatHasChanged) override
 
void sliderValueChanged (Slider *sliderThatWasMoved) override
 
 CSLComponent ()
 
 ~CSLComponent ()
 
void timerCallback ()
 
unsigned getFFTLen ()
 
float getOverlap ()
 
void paint (Graphics &g)
 
void resized ()
 
void buttonClicked (Button *buttonThatWasClicked)
 
void sliderValueChanged (Slider *sliderThatWasMoved)
 
void comboBoxChanged (ComboBox *comboBoxThatHasChanged)
 

Public Attributes

bool playing
 
bool recrding
 
bool loop
 
bool displayMode
 

Private Member Functions

 CSLComponent (const CSLComponent &)
 
const CSLComponentoperator= (const CSLComponent &)
 

Private Attributes

juce::AudioDeviceManager mAudioDeviceManager
 
csl::Buffer outBuffer
 
GThreadplayThread
 
LThreadloopThread
 
int whichTests
 
float amplValue
 
std::unique_ptr< TextButton > playButton
 
std::unique_ptr< TextButton > quitButton
 
std::unique_ptr< ComboBox > testCombo
 
std::unique_ptr
< AudioWaveformDisplay
oscilloscopeL
 
std::unique_ptr< Label > label
 
std::unique_ptr< TextButton > prefsButton
 
std::unique_ptr< Label > cpuLabel
 
std::unique_ptr
< AudioWaveformDisplay
oscilloscopeR
 
std::unique_ptr< VUMeterVUMeterL
 
std::unique_ptr< VUMeterVUMeterR
 
std::unique_ptr< Slider > scaleSlider
 
std::unique_ptr< Slider > amplitudeSlider
 
std::unique_ptr< ToggleButton > loopButton
 
std::unique_ptr< ComboBox > familyCombo
 
std::unique_ptr< ToggleButton > recordButton
 
csl::SoundFile * mSndFile
 
csl::Buffer mSpectBuffer
 
csl::SoundFile * mOutFile
 
csl::IOmIO
 
unsigned mSamples
 
unsigned mChannels
 
unsigned mSRate
 
unsigned totread
 
unsigned mFFTLen
 
unsigned mNumWins
 
TextButton * playButton
 
TextButton * quitButton
 
AudioWaveformDisplayoscilloscope
 
Label * label
 
AudioSpectrumDisplayspectrogram
 
Slider * offsetSlider
 
TextButton * loadButton
 
TextButton * analyzeButton
 
TextButton * filterButton
 
TextButton * playSource
 
ComboBox * fftLenCombo
 
ComboBox * winCombo
 
Label * label2
 
Label * label3
 
Label * label4
 
Slider * hiPassSlider
 
Label * label5
 
Slider * loPassSlider
 
Label * label6
 
Slider * thresholdSlider
 
ComboBox * scaleCombo
 
ComboBox * displayCombo
 
Label * label7
 
Label * label8
 
ComboBox * overlapCombo
 
Label * label9
 
Label * label10
 
Slider * timeSlider
 
Label * label11
 
Slider * pitchSlider
 
Label * fileInfo
 

Detailed Description

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

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

Definition at line 96 of file CSL_TestComponent.h.

Constructor & Destructor Documentation

CSLComponent::~CSLComponent ( )
override

Definition at line 356 of file CSL_TestComponent.cpp.

References csl::Buffer::freeBuffers(), and gFileBuffer.

CSLComponent::CSLComponent ( )
CSLComponent::~CSLComponent ( )
CSLComponent::CSLComponent ( const CSLComponent )
private

Member Function Documentation

void CSLComponent::audioDeviceIOCallback ( const float **  inputChannelData,
int  totalNumInputChannels,
float **  outputChannelData,
int  totalNumOutputChannels,
int  numSamples 
)
void CSLComponent::audioDeviceAboutToStart ( juce::AudioIODevice *  device)

Definition at line 688 of file CSL_TestComponent.cpp.

void CSLComponent::audioDeviceStopped ( )

Definition at line 695 of file CSL_TestComponent.cpp.

void CSLComponent::setComboLabels ( unsigned  which)

Definition at line 701 of file CSL_TestComponent.cpp.

References csl::testStruct::name.

void CSLComponent::timerCallback ( )

Definition at line 719 of file CSL_TestComponent.cpp.

References gAudioDeviceManager, and gCPULabel.

void CSLComponent::paint ( Graphics &  g)
override

Definition at line 393 of file CSL_TestComponent.cpp.

void CSLComponent::resized ( )
override

Definition at line 404 of file CSL_TestComponent.cpp.

void CSLComponent::buttonClicked ( Button *  buttonThatWasClicked)
override
void CSLComponent::comboBoxChanged ( ComboBox *  comboBoxThatHasChanged)
override

Definition at line 523 of file CSL_TestComponent.cpp.

void CSLComponent::sliderValueChanged ( Slider *  sliderThatWasMoved)
override

Definition at line 550 of file CSL_TestComponent.cpp.

void CSLComponent::timerCallback ( )
unsigned CSLComponent::getFFTLen ( )

Definition at line 702 of file SpectralProc.cpp.

References fftLenCombo.

float CSLComponent::getOverlap ( )

Definition at line 707 of file SpectralProc.cpp.

References overlapCombo.

void CSLComponent::paint ( Graphics &  g)
void CSLComponent::resized ( )
void CSLComponent::buttonClicked ( Button *  buttonThatWasClicked)
void CSLComponent::sliderValueChanged ( Slider *  sliderThatWasMoved)
void CSLComponent::comboBoxChanged ( ComboBox *  comboBoxThatHasChanged)
const CSLComponent& CSLComponent::operator= ( const CSLComponent )
private

Member Data Documentation

bool CSLComponent::playing

Definition at line 123 of file CSL_TestComponent.h.

bool CSLComponent::recrding

Definition at line 123 of file CSL_TestComponent.h.

bool CSLComponent::loop

Definition at line 123 of file CSL_TestComponent.h.

bool CSLComponent::displayMode

Definition at line 123 of file CSL_TestComponent.h.

juce::AudioDeviceManager CSLComponent::mAudioDeviceManager
private

Definition at line 138 of file CSL_TestComponent.h.

csl::Buffer CSLComponent::outBuffer
private

Definition at line 139 of file CSL_TestComponent.h.

GThread* CSLComponent::playThread
private

Definition at line 140 of file CSL_TestComponent.h.

LThread* CSLComponent::loopThread
private

Definition at line 141 of file CSL_TestComponent.h.

int CSLComponent::whichTests
private

Definition at line 142 of file CSL_TestComponent.h.

float CSLComponent::amplValue
private

Definition at line 143 of file CSL_TestComponent.h.

std::unique_ptr<TextButton> CSLComponent::playButton
private

Definition at line 148 of file CSL_TestComponent.h.

std::unique_ptr<TextButton> CSLComponent::quitButton
private

Definition at line 149 of file CSL_TestComponent.h.

std::unique_ptr<ComboBox> CSLComponent::testCombo
private

Definition at line 150 of file CSL_TestComponent.h.

std::unique_ptr<AudioWaveformDisplay> CSLComponent::oscilloscopeL
private

Definition at line 151 of file CSL_TestComponent.h.

std::unique_ptr<Label> CSLComponent::label
private

Definition at line 152 of file CSL_TestComponent.h.

std::unique_ptr<TextButton> CSLComponent::prefsButton
private

Definition at line 153 of file CSL_TestComponent.h.

std::unique_ptr<Label> CSLComponent::cpuLabel
private

Definition at line 154 of file CSL_TestComponent.h.

std::unique_ptr<AudioWaveformDisplay> CSLComponent::oscilloscopeR
private

Definition at line 155 of file CSL_TestComponent.h.

std::unique_ptr<VUMeter> CSLComponent::VUMeterL
private

Definition at line 156 of file CSL_TestComponent.h.

std::unique_ptr<VUMeter> CSLComponent::VUMeterR
private

Definition at line 157 of file CSL_TestComponent.h.

std::unique_ptr<Slider> CSLComponent::scaleSlider
private

Definition at line 158 of file CSL_TestComponent.h.

std::unique_ptr<Slider> CSLComponent::amplitudeSlider
private

Definition at line 159 of file CSL_TestComponent.h.

std::unique_ptr<ToggleButton> CSLComponent::loopButton
private

Definition at line 160 of file CSL_TestComponent.h.

std::unique_ptr<ComboBox> CSLComponent::familyCombo
private

Definition at line 161 of file CSL_TestComponent.h.

std::unique_ptr<ToggleButton> CSLComponent::recordButton
private

Definition at line 162 of file CSL_TestComponent.h.

csl::SoundFile* CSLComponent::mSndFile
private

Definition at line 75 of file SpectralProc.h.

csl::Buffer CSLComponent::mSpectBuffer
private

Definition at line 76 of file SpectralProc.h.

csl::SoundFile* CSLComponent::mOutFile
private

Definition at line 77 of file SpectralProc.h.

csl::IO* CSLComponent::mIO
private

Definition at line 78 of file SpectralProc.h.

unsigned CSLComponent::mSamples
private

Definition at line 80 of file SpectralProc.h.

unsigned CSLComponent::mChannels
private

Definition at line 81 of file SpectralProc.h.

unsigned CSLComponent::mSRate
private

Definition at line 82 of file SpectralProc.h.

unsigned CSLComponent::totread
private

Definition at line 83 of file SpectralProc.h.

unsigned CSLComponent::mFFTLen
private

Definition at line 84 of file SpectralProc.h.

unsigned CSLComponent::mNumWins
private

Definition at line 85 of file SpectralProc.h.

TextButton* CSLComponent::playButton
private

Definition at line 90 of file SpectralProc.h.

TextButton* CSLComponent::quitButton
private

Definition at line 91 of file SpectralProc.h.

AudioWaveformDisplay* CSLComponent::oscilloscope
private

Definition at line 92 of file SpectralProc.h.

Label* CSLComponent::label
private

Definition at line 93 of file SpectralProc.h.

AudioSpectrumDisplay* CSLComponent::spectrogram
private

Definition at line 94 of file SpectralProc.h.

Slider* CSLComponent::offsetSlider
private

Definition at line 95 of file SpectralProc.h.

TextButton* CSLComponent::loadButton
private

Definition at line 96 of file SpectralProc.h.

TextButton* CSLComponent::analyzeButton
private

Definition at line 97 of file SpectralProc.h.

TextButton* CSLComponent::filterButton
private

Definition at line 98 of file SpectralProc.h.

TextButton* CSLComponent::playSource
private

Definition at line 99 of file SpectralProc.h.

ComboBox* CSLComponent::fftLenCombo
private

Definition at line 100 of file SpectralProc.h.

Referenced by getFFTLen().

ComboBox* CSLComponent::winCombo
private

Definition at line 101 of file SpectralProc.h.

Label* CSLComponent::label2
private

Definition at line 102 of file SpectralProc.h.

Label* CSLComponent::label3
private

Definition at line 103 of file SpectralProc.h.

Label* CSLComponent::label4
private

Definition at line 104 of file SpectralProc.h.

Slider* CSLComponent::hiPassSlider
private

Definition at line 105 of file SpectralProc.h.

Label* CSLComponent::label5
private

Definition at line 106 of file SpectralProc.h.

Slider* CSLComponent::loPassSlider
private

Definition at line 107 of file SpectralProc.h.

Label* CSLComponent::label6
private

Definition at line 108 of file SpectralProc.h.

Slider* CSLComponent::thresholdSlider
private

Definition at line 109 of file SpectralProc.h.

ComboBox* CSLComponent::scaleCombo
private

Definition at line 110 of file SpectralProc.h.

ComboBox* CSLComponent::displayCombo
private

Definition at line 111 of file SpectralProc.h.

Label* CSLComponent::label7
private

Definition at line 112 of file SpectralProc.h.

Label* CSLComponent::label8
private

Definition at line 113 of file SpectralProc.h.

ComboBox* CSLComponent::overlapCombo
private

Definition at line 114 of file SpectralProc.h.

Referenced by getOverlap().

Label* CSLComponent::label9
private

Definition at line 115 of file SpectralProc.h.

Label* CSLComponent::label10
private

Definition at line 116 of file SpectralProc.h.

Slider* CSLComponent::timeSlider
private

Definition at line 117 of file SpectralProc.h.

Label* CSLComponent::label11
private

Definition at line 118 of file SpectralProc.h.

Slider* CSLComponent::pitchSlider
private

Definition at line 119 of file SpectralProc.h.

Label* CSLComponent::fileInfo
private

Definition at line 120 of file SpectralProc.h.


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