Skip to content

Commit

Permalink
Decrease reverb, still too intense
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed Oct 13, 2024
1 parent bdccfcf commit 03ea1b5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ npm install --save spessasynth_lib
- Polish
- Japanese
- French (translated by Davy Triponney)
- Custom locale management system, created specifically for this project
- **Description of buttons:** Hover over the buttons to see what they do!
- **`Web MIDI API` support:** Use your physical MIDI devices!
- [WebMidiLink](https://www.g200kg.com/en/docs/webmidilink/) support
- **Numerous exporting options:**
Expand Down
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.21.5",
"version": "3.21.6",
"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
@@ -1,4 +1,4 @@
export const WORKLET_SYSTEM_REVERB_DIVIDER = 2600;
export const WORKLET_SYSTEM_REVERB_DIVIDER = 4600;
export const WORKLET_SYSTEM_CHORUS_DIVIDER = 1300;

/**
Expand Down Expand Up @@ -39,6 +39,7 @@ export function panVoice(gainLeft,
// cap reverb
reverbLevel = Math.min(reverbLevel, 1000);
const reverbGain = reverbLevel / WORKLET_SYSTEM_REVERB_DIVIDER;
console.log(reverbGain);
for (let i = 0; i < inputBuffer.length; i++)
{
reverbLeft[i] += reverbGain * inputBuffer[i];
Expand Down

0 comments on commit 03ea1b5

Please sign in to comment.