diff --git a/peaks/modulations/multistage_envelope.h b/peaks/modulations/multistage_envelope.h index 5b1487a5..7ff894ad 100644 --- a/peaks/modulations/multistage_envelope.h +++ b/peaks/modulations/multistage_envelope.h @@ -293,9 +293,9 @@ class MultistageEnvelope { } private: - int16_t level_[kMaxNumSegments]; - uint16_t time_[kMaxNumSegments]; - EnvelopeShape shape_[kMaxNumSegments]; + int16_t level_[kMaxNumSegments] = {}; + uint16_t time_[kMaxNumSegments] = {}; + EnvelopeShape shape_[kMaxNumSegments] = {}; int16_t segment_; int16_t start_value_;