Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plaits/dsp/engine/virtual_analog_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ using namespace stmlib;

void VirtualAnalogEngine::Init(BufferAllocator* allocator) {
primary_.Init();
auxiliary_.Init();
auxiliary_.Init(0.25f);
sync_.Init();
variable_saw_.Init();

Expand Down
4 changes: 2 additions & 2 deletions plaits/dsp/oscillator/variable_shape_oscillator.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class VariableShapeOscillator {
VariableShapeOscillator() { }
~VariableShapeOscillator() { }

void Init() {
master_phase_ = 0.0f;
void Init(float initphase=0.0f) {
master_phase_ = initphase;
slave_phase_ = 0.0f;
next_sample_ = 0.0f;
previous_pw_ = 0.5f;
Expand Down