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
32tButterworth bw;32tButterworth bw;
33 33
34tWaveTable wt;34tWaveTable wt;
35tCompactWaveTable cwt;35tWaveTableS cwt;
36tWaveSynth ws;36tWaveSynth ws;
37 37
38tBuffer samp;38tBuffer samp;
@@ -64,7 +64,7 @@ void LEAFTest_init (float sampleRate, int blockSize) · 25 unmodified lines
64 LEAF_init(&leaf, sampleRate, blockSize, memory, MSIZE, &getRandomFloat);64 LEAF_init(&leaf, sampleRate, blockSize, memory, MSIZE, &getRandomFloat);
65 65
66// tWaveTable_init(&wt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf);66// 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);
68 68
69 tMBTriangle_init(&btri, &leaf);69 tMBTriangle_init(&btri, &leaf);
70 tMBPulse_init(&bpulse, &leaf);70 tMBPulse_init(&bpulse, &leaf);
@@ -118,7 +118,7 @@ void LEAFTest_block (void) · 47 unmodified lines
118 tMBPulse_setFreq(&bpulse, val * 160000.f - 80000.0f);118 tMBPulse_setFreq(&bpulse, val * 160000.f - 80000.0f);
119 tMBSaw_setFreq(&bsaw, val * 10000.f);119 tMBSaw_setFreq(&bsaw, val * 10000.f);
120// tWaveTable_setFreq(&wt, val * 160000.f - 80000.0f);120// tWaveTable_setFreq(&wt, val * 160000.f - 80000.0f);
121// tCompactWaveTable_setFreq(&cwt, val * 10000.);121// tWaveTableS_setFreq(&cwt, val * 10000.);
122 tWaveSynth_setFreq(&ws, 0, val * 10000.f);122 tWaveSynth_setFreq(&ws, 0, val * 10000.f);
123// tRetune_tuneVoice(&retune, 0, val * 3.0f + 0.5f);123// tRetune_tuneVoice(&retune, 0, val * 3.0f + 0.5f);
124// tSimpleRetune_tuneVoice(&sretune, 0, 300);124// 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