musescore / musescore/MuseScore

Volume control for VST instruments not working well

Open
#28,085 2 comments 0 reactions 1 assignee View on GitHub

@RomanPudashkin is already working on this.

Since May 20, 2025.

needs review VST
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

I found that the volume control for the VST instrument I'm using doesn't work well with effects like crescendo, forte-piano, and so on.

I identified two problems:

  1. Note velocity and gain control interfere with each other.
  2. Gain control is linear, which doesn't match perceived loudness very well.

I fixed 1) by setting note velocity to 1.0f when there is a dynamic curve for the note event.
I fixed 2) by cubing the gain value.

Will attach PR to this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.