Skip to content

Commit

Permalink
remove fast voice killing
Browse files Browse the repository at this point in the history
fixes #50
  • Loading branch information
spessasus committed Oct 3, 2024
1 parent 8936170 commit 1a8fcf4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SpessaSynth",
"version": "3.20.35",
"version": "3.20.36.1",
"type": "module",
"scripts": {
"start": "node src/website/server/server.js"
Expand Down
2 changes: 1 addition & 1 deletion src/spessasynth_lib/synthetizer/worklet_processor.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const VOLUME_ENVELOPE_SMOOTHING_FACTOR = 0.001;

const DB_SILENCE = 100;
const PERCEIVED_DB_SILENCE = 90;
const PERCEIVED_GAIN_SILENCE = 0.005;
// around 96 dB of attenuation
const PERCEIVED_GAIN_SILENCE = 0.000015; // can't go lower than that (see #50)

/**
* VOL ENV STATES:
Expand Down

0 comments on commit 1a8fcf4

Please sign in to comment.