CSL
6.0
|
#include <CSL_TestComponent.h>
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 CSLComponent & | operator= (const CSLComponent &) |
Private Attributes | |
juce::AudioDeviceManager | mAudioDeviceManager |
csl::Buffer | outBuffer |
GThread * | playThread |
LThread * | loopThread |
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< VUMeter > | VUMeterL |
std::unique_ptr< VUMeter > | VUMeterR |
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::IO * | mIO |
unsigned | mSamples |
unsigned | mChannels |
unsigned | mSRate |
unsigned | totread |
unsigned | mFFTLen |
unsigned | mNumWins |
TextButton * | playButton |
TextButton * | quitButton |
AudioWaveformDisplay * | oscilloscope |
Label * | label |
AudioSpectrumDisplay * | spectrogram |
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 |
[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.
CSLComponent::CSLComponent | ( | ) |
Definition at line 162 of file CSL_TestComponent.cpp.
References csl::CGestalt::blockSize(), error(), csl::CGestalt::frameRate(), gAudioDeviceManager, gCPULabel, csl::CGestalt::initFileText(), csl::CGestalt::numInChannels(), csl::CGestalt::numOutChannels(), and csl::IO::start().
|
override |
Definition at line 356 of file CSL_TestComponent.cpp.
References csl::Buffer::freeBuffers(), and gFileBuffer.
CSLComponent::CSLComponent | ( | ) |
CSLComponent::~CSLComponent | ( | ) |
|
private |
void CSLComponent::audioDeviceIOCallback | ( | const float ** | inputChannelData, |
int | totalNumInputChannels, | ||
float ** | outputChannelData, | ||
int | totalNumOutputChannels, | ||
int | numSamples | ||
) |
Definition at line 586 of file CSL_TestComponent.cpp.
References csl::Buffer::buffer(), gSampIndex, csl::kLogError, csl::logMsg(), csl::IO::mGraph, csl::Buffer::mNumFrames, csl::IO::pullInput(), SAMPS_TO_WRITE, csl::CGestalt::stopNow(), and csl::CException::what().
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::recordOnOff | ( | ) |
Definition at line 661 of file CSL_TestComponent.cpp.
References csl::Buffer::allocateBuffers(), csl::CGestalt::frameRate(), gSampIndex, kSoundFileFormatAIFF, csl::logMsg(), csl::CGestalt::maxBufferFrames(), csl::Buffer::mNumFrames, SAMPS_TO_WRITE, and csl::CGestalt::sndFileName().
void CSLComponent::startStop | ( | ) |
Definition at line 729 of file CSL_TestComponent.cpp.
References csl::IO::clearRoot(), csl::CGestalt::clearStopNow(), csl::testStruct::fcn, csl::CGestalt::setStopNow(), csl::sleepMsec(), and csl::CGestalt::storeToInitFile().
|
override |
Definition at line 393 of file CSL_TestComponent.cpp.
|
override |
Definition at line 404 of file CSL_TestComponent.cpp.
|
override |
Definition at line 427 of file CSL_TestComponent.cpp.
References csl::CGestalt::numInChannels(), and csl::CGestalt::numOutChannels().
|
override |
Definition at line 523 of file CSL_TestComponent.cpp.
|
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 | ) |
|
private |
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.
|
private |
Definition at line 138 of file CSL_TestComponent.h.
|
private |
Definition at line 139 of file CSL_TestComponent.h.
|
private |
Definition at line 140 of file CSL_TestComponent.h.
|
private |
Definition at line 141 of file CSL_TestComponent.h.
|
private |
Definition at line 142 of file CSL_TestComponent.h.
|
private |
Definition at line 143 of file CSL_TestComponent.h.
|
private |
Definition at line 148 of file CSL_TestComponent.h.
|
private |
Definition at line 149 of file CSL_TestComponent.h.
|
private |
Definition at line 150 of file CSL_TestComponent.h.
|
private |
Definition at line 151 of file CSL_TestComponent.h.
|
private |
Definition at line 152 of file CSL_TestComponent.h.
|
private |
Definition at line 153 of file CSL_TestComponent.h.
|
private |
Definition at line 154 of file CSL_TestComponent.h.
|
private |
Definition at line 155 of file CSL_TestComponent.h.
|
private |
Definition at line 156 of file CSL_TestComponent.h.
|
private |
Definition at line 157 of file CSL_TestComponent.h.
|
private |
Definition at line 158 of file CSL_TestComponent.h.
|
private |
Definition at line 159 of file CSL_TestComponent.h.
|
private |
Definition at line 160 of file CSL_TestComponent.h.
|
private |
Definition at line 161 of file CSL_TestComponent.h.
|
private |
Definition at line 162 of file CSL_TestComponent.h.
|
private |
Definition at line 75 of file SpectralProc.h.
|
private |
Definition at line 76 of file SpectralProc.h.
|
private |
Definition at line 77 of file SpectralProc.h.
|
private |
Definition at line 78 of file SpectralProc.h.
|
private |
Definition at line 80 of file SpectralProc.h.
|
private |
Definition at line 81 of file SpectralProc.h.
|
private |
Definition at line 82 of file SpectralProc.h.
|
private |
Definition at line 83 of file SpectralProc.h.
|
private |
Definition at line 84 of file SpectralProc.h.
|
private |
Definition at line 85 of file SpectralProc.h.
|
private |
Definition at line 90 of file SpectralProc.h.
|
private |
Definition at line 91 of file SpectralProc.h.
|
private |
Definition at line 92 of file SpectralProc.h.
|
private |
Definition at line 93 of file SpectralProc.h.
|
private |
Definition at line 94 of file SpectralProc.h.
|
private |
Definition at line 95 of file SpectralProc.h.
|
private |
Definition at line 96 of file SpectralProc.h.
|
private |
Definition at line 97 of file SpectralProc.h.
|
private |
Definition at line 98 of file SpectralProc.h.
|
private |
Definition at line 99 of file SpectralProc.h.
|
private |
Definition at line 100 of file SpectralProc.h.
Referenced by getFFTLen().
|
private |
Definition at line 101 of file SpectralProc.h.
|
private |
Definition at line 102 of file SpectralProc.h.
|
private |
Definition at line 103 of file SpectralProc.h.
|
private |
Definition at line 104 of file SpectralProc.h.
|
private |
Definition at line 105 of file SpectralProc.h.
|
private |
Definition at line 106 of file SpectralProc.h.
|
private |
Definition at line 107 of file SpectralProc.h.
|
private |
Definition at line 108 of file SpectralProc.h.
|
private |
Definition at line 109 of file SpectralProc.h.
|
private |
Definition at line 110 of file SpectralProc.h.
|
private |
Definition at line 111 of file SpectralProc.h.
|
private |
Definition at line 112 of file SpectralProc.h.
|
private |
Definition at line 113 of file SpectralProc.h.
|
private |
Definition at line 114 of file SpectralProc.h.
Referenced by getOverlap().
|
private |
Definition at line 115 of file SpectralProc.h.
|
private |
Definition at line 116 of file SpectralProc.h.
|
private |
Definition at line 117 of file SpectralProc.h.
|
private |
Definition at line 118 of file SpectralProc.h.
|
private |
Definition at line 119 of file SpectralProc.h.
|
private |
Definition at line 120 of file SpectralProc.h.