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

Fix Device Master Volume Control handling #775

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

diyelectromusic
Copy link
Collaborator

@diyelectromusic diyelectromusic commented Dec 13, 2024

And also comment out low-level MIDI dump code that really should only be there if someone is messing around with the MIDI handler itself.
-- actually no, that is already commented out in the serial driver. But this is very unresponsive due to line-buffer flushing, etc, so switched to fprintf to stderr instead.

This is a fix for Issue #773 and partly fixes #502 - at least the Master Volume Control part - the message is now explicitly checking all SysEx bytes and the message length to ensure it really is a MIDI SysEx realtime device control message for the Master Volume Control.

Kevin

…ump messages, and fix issue probonopd#773 - Device Master Volume Control handling.
…isn't very responsive, so switched to print to stderr which flushes buffer immediately.
Copy link

Build for testing:
MiniDexed_2024-12-13-91c6ad2
Use at your own risk.

@probonopd
Copy link
Owner

@RichyT can you please test the build above and let us know whether it fixes the issue for you? Thanks.

Repository owner deleted a comment from github-actions bot Dec 14, 2024
Copy link

Build for testing:
MiniDexed_2024-12-14-91c6ad2
Use at your own risk.

@RichyT
Copy link

RichyT commented Dec 14, 2024

Sorry, no sound at all with that one. Verified that I changed the output to hdmi too.

On that note, there does seem to be at least one power-up sequence that sometimes leads to no sound (I may file another bug report for that) but I tried multiple and nothing.

Edit: Hold that thought. I rolled back to the previous version and still no sound. I'll have to dig into it some more.

@RichyT
Copy link

RichyT commented Dec 14, 2024

OK, turns out the usbspeed thing was needed. Works good now, including full volume control while playing.

@probonopd probonopd merged commit 5947915 into probonopd:main Dec 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SysEx Issues: Master Volume and Device ID
3 participants