Skip to content

Commit

Permalink
Bjorklund parameter reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
ctag-fh-kiel committed May 13, 2021
1 parent 4235859 commit 3cc3a94
Show file tree
Hide file tree
Showing 7 changed files with 696 additions and 687 deletions.
Binary file modified bin/bootloader.bin
Binary file not shown.
Binary file modified bin/ctag-tbd.bin
Binary file not shown.
Binary file modified bin/storage.bin
Binary file not shown.
1,376 changes: 694 additions & 682 deletions components/ctagSoundProcessor/ctagSoundProcessorBjorklund.cpp

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace CTAG {
e_EasyEditOn, e_EGoscMixActive, e_EGoscMixNegative, e_EGoscMixLoop, e_EGfilterLeakActive, e_EGfilterLeakNegative, e_FilterLeakEnvLoop,
e_EGwfNegative, e_EGringNegative, e_EGfiltNegative, e_EGvolLoop, e_EGvolNegative, e_EGringLoop, e_EGwfLoop, e_EGfiltLoop, e_AccentIsBjorklund,
e_AccentOff, e_AccentSync, e_ResetSequencer, e_PalindromeOff, e_RingOn, e_RingOnPulse, e_RingOnSaw, e_EGvolActive, e_EGwfActive,
e_EGnoiseActive, e_EGringActive, e_EGfiltActive, e_AMisSquare, e_PWMon, e_QuantizePitch, e_VintageFilter, e_Bjorklund_options_max
e_EGnoiseActive, e_EGringActive, e_EGfiltActive, e_AMisSquare, e_PWMon, e_QuantizePitch, e_Bjorklund_options_max
};
int prev_trig_state[e_Bjorklund_options_max] = {0}; // Initialize _all_ entries with "low value"
bool low_reached[e_Bjorklund_options_max] = {false}; // We need this for look for toggle-events
Expand All @@ -51,7 +51,6 @@ namespace CTAG {
Saw_eptr__ctx_type_0 saw_data; // Saw oscillator data-structure
Blit__ctx_type_1 pulse_data; // Pulse oscillator data-structure
Noise__ctx_type_1 noise_data; // Noise oscillator data-structure
Ladder__ctx_type_8 ladder_data; // Ladder filter data-structure
Ladder__ctx_type_6 ladder_vintage_data; // Euler ladder algorithm

// --- Additional oscillator[s] ---
Expand Down Expand Up @@ -249,7 +248,6 @@ namespace CTAG {
atomic<int32_t> RingModFreq, cv_RingModFreq;
atomic<int32_t> RingModAmnt, cv_RingModAmnt;
atomic<int32_t> WaveFolder, cv_WaveFolder;
atomic<int32_t> VintageFilter, trig_VintageFilter;
atomic<int32_t> Cutoff, cv_Cutoff;
atomic<int32_t> Resonance, cv_Resonance;
atomic<int32_t> FilterTracking, cv_FilterTracking;
Expand Down
2 changes: 1 addition & 1 deletion spiffs_image/data/sp/mp-Bjorklund.jsn

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion spiffs_image/data/sp/mui-Bjorklund.jsn
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
{"id":"RingModFreq","name":"AM/RingMod Frequency","type":"int","min":0,"max":4095,"step":1},
{"id":"RingModAmnt","name":"AM/RingMod amount","type":"int","min":0,"max":4095,"step":1},
{"id":"WaveFolder","name":"WaveFolding Amount","type":"int","min":0,"max":4095,"step":1},
{"id":"VintageFilter","name":"Vintage Resonance pitching n/y","type":"bool"},
{"id":"Cutoff","name":"Cutoff Frequency","type":"int","min":0,"max":4095,"step":1},
{"id":"Resonance","name":"Resonance amount","type":"int","min":0,"max":4095,"step":1},
{"id":"FilterTracking","name":"Filter key tracking","type":"int","min": -2048,"max": 2047,"step": 1},
Expand Down

0 comments on commit 3cc3a94

Please sign in to comment.