Browse Source

Clean up a couple of warnings

Update README.md
pull/120/head
hemmer 3 years ago
parent
commit
d9b60b090d
3 changed files with 9 additions and 11 deletions
  1. +6
    -6
      README.md
  2. +1
    -1
      src/Frames.cpp
  3. +2
    -4
      src/Peaks.cpp

+ 6
- 6
README.md View File

@@ -60,15 +60,15 @@ Based on [Ripples](https://mutable-instruments.net/modules/ripples), [Manual](ht
Based on [Shelves](https://mutable-instruments.net/modules/shelves), [Manual](https://mutable-instruments.net/modules/shelves/manual/)
- Virtual analog model provided by [Alright Devices](https://www.alrightdevices.com/) after successful crowdfunding.

### Percussive Synth
Based on [Peaks](https://mutable-instruments.net/modules/peaks), [Manual](https://mutable-instruments.net/modules/peaks/manual/)

## Not yet ported
### Dual Dynamics Gate
Based on [Streams](https://mutable-instruments.net/modules/streams), [Manual](https://mutable-instruments.net/modules/streams/manual/)
- Virtual analog model provided by [Alright Devices](https://www.alrightdevices.com/) after successful crowdfunding.

### [Peaks](https://mutable-instruments.net/modules/peaks)
[Manual](https://mutable-instruments.net/modules/peaks/manual/)

### [Streams](https://mutable-instruments.net/modules/streams)
[Manual](https://mutable-instruments.net/modules/streams/manual/)
- analog, but it's possible to fake the filter with schematic analysis, need to buy/borrow a unit
## Not yet ported

### [Yarns](https://mutable-instruments.net/modules/yarns)
[Manual](https://mutable-instruments.net/modules/yarns/manual/)


+ 1
- 1
src/Frames.cpp View File

@@ -293,7 +293,7 @@ struct Frames : Module {
};


struct CKSSRot : SVGSwitch {
struct CKSSRot : SvgSwitch {
CKSSRot() {
shadow->opacity = 0.0;
addFrame(Svg::load(asset::plugin(pluginInstance, "res/CKSS_rot_0.svg")));


+ 2
- 4
src/Peaks.cpp View File

@@ -95,9 +95,9 @@ struct Peaks : Module {
int32_t adc_threshold_[kNumAdcChannels] = {0, 0, 0, 0};
long long press_time_[2] = {0, 0};

peaks::Processors processors[2];
peaks::Processors processors[2] = {};

int16_t output[kBlockSize];
int16_t output[kBlockSize] = {};
int16_t brightness[kNumChannels] = {0, 0};

dsp::SchmittTrigger switches_[2];
@@ -214,8 +214,6 @@ struct Peaks : Module {
settings_.snap_mode = false;
std::fill(&settings_.pot_value[0], &settings_.pot_value[8], 0);

memset(&processors[0], 0, sizeof(processors[0]));
memset(&processors[1], 0, sizeof(processors[1]));
processors[0].Init(0);
processors[1].Init(1);



Loading…
Cancel
Save