9 #include "JuceHeader.h"
11 #define USE_TEST_MAIN // use the main() function in test_support.h
23 logMsg(
" AudioIODeviceType %s",
24 (
const char *)
gAudioDeviceManager->getAvailableDeviceTypes().getUnchecked(i)->getTypeName().toUTF8());
25 juce::StringArray devs =
gAudioDeviceManager->getAvailableDeviceTypes().getUnchecked(i)->getDeviceNames();
26 for (
unsigned j = 0; j < devs.size(); j++) {
27 logMsg(
" Device %s", (
const char *) devs[j].toUTF8() );
31 logMsg(
"Current AudioIODevice = %s : %s", (
const char *) adm->getTypeName().toUTF8(),
32 (
const char *) adm->getName().toUTF8());
41 logMsg(
"playing mic in unaltered...");
51 logMsg(
"playing filter on mic in...");
62 logMsg(
"playing echo on mic in...");
73 logMsg(
"playing panner on mic in...");
116 "Dump audio ports",
audio_dump,
"Dump list of audio ports to stdout",
117 "Echo audio in",
mic_test,
"Play the microphone input back the output",
118 "Filter input",
filt_test,
"Apply a band-pass filter to the live input",
119 "Echo input",
echo_test,
"Add echo to the live input",
120 "Input panner",
panner_test,
"Stereo panner on the live input",
121 "Input listener",
listener_test,
"Demonstrate recording input listener",
InOut class copies the IO port's input buffer to the output buffer, possibly with channel remap and s...
void logMsg(const char *format,...)
These are the public logging messages.
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
struct used for the JUCE pop-up menu of tests (see the test files)
testStruct audioTestList[]
void setRoomSize(float size)
void runTest(UnitGenerator &vox, double dur)
juce::AudioDeviceManager * gAudioDeviceManager
Butterworth IIR (2nd order recursive) filter.
The CSL mono-to-stereo L/R panner class.