Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume control for external MIDI devices #79

Open
mmontag opened this issue Jun 11, 2021 · 0 comments
Open

Volume control for external MIDI devices #79

mmontag opened this issue Jun 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mmontag
Copy link
Owner

mmontag commented Jun 11, 2021

Why not allow the Chip Player JS volume control to adjust the volume of Web MIDI devices? Even though devices have hardware volume controls, it can be a pain if you have multiple devices.

One of the following methods should work:

  1. Sysex master volume 0xF0 0x7F 0xid 0x04 0x01 0xmm 0xnn 0xF7 (ignoring this if it appears in songs)
  2. Multiply all channel volume events (CC 7) by master volume level
  3. (worst case) Multiply all note velocities by master volume level

This is complicated by MIDI statefulness, but it doesn't have to be perfect. Consider restarting songs acceptable.

@mmontag mmontag added the enhancement New feature or request label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant