History

reorganizing and renaming adsrs and compactwavetable objects; ADSR4 -> ADSRT, ADSR3 -> ADSRS, ADSR2 deleted, CompactWaveX -> WaveXS

Matthew Wang committed 5 years ago

Commit 4c8de0f1 parent 23656d77 files · +292 −547Browse files

Showing the changes to TestPlugin/Source/MyTest.cpp (1 of 7 files). Show all

Unified · Split

TestPlugin/Source/MyTest.cpp+3−3
@@ -32,7 +32,7 @@ tNoise noise; · 31 unmodified lines
3232 tButterworth bw;
3333
3434 tWaveTable wt;
35−tCompactWaveTable cwt;
35+tWaveTableS cwt;
3636 tWaveSynth ws;
3737
3838 tBuffer samp;
@@ -64,7 +64,7 @@ void LEAFTest_init (float sampleRate, int blockSize) · 25 unmodified lines
6464 LEAF_init(&leaf, sampleRate, blockSize, memory, MSIZE, &getRandomFloat);
6565
6666 // tWaveTable_init(&wt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf);
67−// tCompactWaveTable_init(&cwt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf);
67+// tWaveTableS_init(&cwt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf);
6868
6969 tMBTriangle_init(&btri, &leaf);
7070 tMBPulse_init(&bpulse, &leaf);
@@ -118,7 +118,7 @@ void LEAFTest_block (void) · 47 unmodified lines
118118 tMBPulse_setFreq(&bpulse, val * 160000.f - 80000.0f);
119119 tMBSaw_setFreq(&bsaw, val * 10000.f);
120120 // tWaveTable_setFreq(&wt, val * 160000.f - 80000.0f);
121−// tCompactWaveTable_setFreq(&cwt, val * 10000.);
121+// tWaveTableS_setFreq(&cwt, val * 10000.);
122122 tWaveSynth_setFreq(&ws, 0, val * 10000.f);
123123 // tRetune_tuneVoice(&retune, 0, val * 3.0f + 0.5f);
124124 // tSimpleRetune_tuneVoice(&sretune, 0, 300);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t