Skip to content

Commit

Permalink
Merge branch 'master' into polyblep-setsamplerate
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskiefer authored May 24, 2023
2 parents 1ae398b 06272d0 commit 7415484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/maxiPolyBLEP.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 64,11 @@ class CHEERP_EXPORT maxiPolyBLEP {
blep.setSampleRate(sampleRate);
}

/* Sync modulation */
void sync(double phase) {
blep.sync(phase);
}

private:
PolyBLEP blep = PolyBLEP(44100);

Expand Down
2 changes: 2 additions & 0 deletions src/maximilian.h
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 2316,7 @@ class CHEERP_EXPORT maxiEnvGen {
}
if (retrigger) {
if (retriggerDetector.onZX(trigger)) {
nxcHappened = false;
reset();
}
}
Expand All @@ -2336,6 2337,7 @@ class CHEERP_EXPORT maxiEnvGen {
}
if (retrigger) {
if (retriggerDetector.onZX(trigger)) {
nxcHappened = false;
reset();
}
}
Expand Down

0 comments on commit 7415484

Please sign in to comment.