Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

ResidentSf2Synth: GrandPiano should decay to zero volume #28

Open
notator opened this issue Jun 16, 2017 · 0 comments
Open

ResidentSf2Synth: GrandPiano should decay to zero volume #28

notator opened this issue Jun 16, 2017 · 0 comments

Comments

@notator
Copy link
Owner

notator commented Jun 16, 2017

The Grand Piano (preset 0) stops decaying after reaching a certain dynamic level. The soundFont itself works correctly with VirtualMIDISynth.

The problem is related to the fact that no account is taken of the instrument.volRelease attribute
following line 132 in soundFontSynthNote.js.
As can be seen in the debugger, the instrument.volRelease values for the following instruments are:
Grand Piano:3.0808, Harpsichord:0.95816, French Horn:0.71988)!

The volume envelope (xxxVolEnv) parameters are "generators" 33-38 in §8.1.2 in sfspec24.pdf.
The xxxModEnv and other generators may also be relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant