Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio tests update, consolidated into one app #2335

Merged
merged 40 commits into from
Oct 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8d59c34
shim for new AudioTests suite
richardeakin Sep 10, 2024
7718216
wip NodeTest via Factor<AudioTest>
richardeakin Sep 10, 2024
d04b7dd
fleshing out first AudioTest, livepp support
richardeakin Sep 10, 2024
6d6d6bf
added NodeEffectsTest, Combo selector in main app to choose which tes…
richardeakin Sep 12, 2024
f804848
added a GUI to show audio graph
richardeakin Sep 12, 2024
c3fe364
fix test and cleanup dead code
richardeakin Sep 12, 2024
f603f86
rename AudioTests -> AudioTestsApp, NodeTest -> NodeBasicTest
richardeakin Sep 12, 2024
8b34257
added ParamTest, test name is set by main test app
richardeakin Sep 13, 2024
04051a6
DeviceTest
richardeakin Sep 13, 2024
d9d8283
made audio::Context::getAutoPulledNodes() public
richardeakin Sep 14, 2024
c8a4554
fleshed out DeviceTest
richardeakin Sep 14, 2024
b9b0192
wip moving over SampleTest and SpectralTest, audio files now loaded a…
richardeakin Sep 14, 2024
fd91c73
Samples and Spectral tests building and running
richardeakin Sep 19, 2024
a6a9c2d
switched Factory's internal storage to std::vector so order added is …
richardeakin Sep 25, 2024
8fd329b
Factory: throw exception when a duplicate key is detected
richardeakin Sep 25, 2024
a70dd10
DeviceTest: show input / output devices in UI
richardeakin Sep 25, 2024
6b6d98a
fleshed out SpectralTest UI, mag spectrum showing again
richardeakin Sep 25, 2024
99c5d55
added WaveTableTest
richardeakin Sep 29, 2024
a3023b1
Added VoiceTest
richardeakin Oct 3, 2024
2637514
removed subtest state to AudioTest base class
richardeakin Oct 3, 2024
72e47bf
Added StressTest
richardeakin Oct 3, 2024
6d0af28
minor test UI improvements
richardeakin Oct 5, 2024
8a6e218
Removed old test projects that have been replaced with AudioTests suite
richardeakin Oct 5, 2024
8a2b0c6
audio test: disable Live++ and set window pos to a good general defau…
richardeakin Oct 5, 2024
ff3bf99
Added cmake project file
richardeakin Oct 10, 2024
f1cfd0a
fix compile error with gcc on ubuntu
richardeakin Oct 17, 2024
ad06874
Merge branch 'master' into rte/audio_tests_update
richardeakin Oct 17, 2024
6e607e1
adding Mac OS X project files from @andrewfb
richardeakin Oct 23, 2024
4dc57a8
remove obsolete AudioTestGui.h
richardeakin Oct 23, 2024
347ceca
set initial ImGui window sizes
richardeakin Oct 23, 2024
99e5ed1
Context UI function makes a copy of auto-pulled nodes before displayi…
richardeakin Oct 23, 2024
d79d169
Fix typo in Audio Context GUI window
Oct 27, 2024
59a45bb
Guard against removing more gens than are available in StressTest
Oct 27, 2024
ff5afd3
Merge pull request #7 from moldybeats/rte/audio_tests_update
richardeakin Oct 29, 2024
40f269b
rename Factory namespace
richardeakin Oct 29, 2024
742ce2b
fix initial tests setup
richardeakin Oct 30, 2024
bca8ac1
added more UI to NodeEffectsTest
richardeakin Oct 30, 2024
7e7f996
UI context graph viewer handles recursive graphs (thanks @moldybeats …
richardeakin Oct 30, 2024
d6e6f21
fix SamplePlayerTest's xrun visual, remove dead code
richardeakin Oct 31, 2024
48f916a
fix SamplePlayerTest's async file load when using BufferPlayerNode
richardeakin Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test and cleanup dead code
richardeakin committed Sep 12, 2024
commit c3fe3640ee8371308cf75811dad9b5f3112ed8f0
17 changes: 2 additions & 15 deletions test/_audio/AudioTests/src/NodeTest.cpp
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ void NodeTest::setupSubTest( const string &testName )
setup1to2();
else if( testName == "funnel case" )
setupFunnelCase();
else if( testName == "interleave pass-thru" )
else if( testName == "interleave pass-through" )
setupInterleavedPassThru();
else if( testName == "auto-pulled" )
setupAutoPulled();
@@ -81,9 +81,6 @@ void NodeTest::setupGen()
//mGen >> audio::master()->getOutput();
mGen >> mGain >> audio::master()->getOutput();
mGen->enable();

//mEnableNoiseButton.setEnabled( false );
//mEnableSineButton.setEnabled( true );
}

void NodeTest::setup2to1()
@@ -98,9 +95,6 @@ void NodeTest::setup2to1()

mGen->enable();
mNoise->enable();

//mEnableSineButton.setEnabled( true );
//mEnableNoiseButton.setEnabled( true );
}

// note: this enables the scope as a secondary output of mGen, and as no one ever disconnects that, it harmlessly remains when the test is switched.
@@ -113,9 +107,6 @@ void NodeTest::setup1to2()
mGen->enable();

mGen->connect( mMonitor );

//mEnableNoiseButton.setEnabled( false );
//mEnableSineButton.setEnabled( true );
}

void NodeTest::setupInterleavedPassThru()
@@ -124,15 +115,11 @@ void NodeTest::setupInterleavedPassThru()
mMonitor->disconnectAll();

auto ctx = audio::master();

mGain->disconnectAllInputs();
ctx->disconnectAllNodes();

auto interleaved = ctx->makeNode( new InterleavedPassThruNode() );
mGen >> interleaved >> mGain >> ctx->getOutput();
mGen->enable();

//mEnableNoiseButton.setEnabled( false );
//mEnableSineButton.setEnabled( true );
}

void NodeTest::setupAutoPulled()