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

Update mask used in setWaveForm / getWaveForm to preserve 3rd bit for opl3 #72

Merged

Conversation

isnotinvain
Copy link
Contributor

Was trying to figure out why my waveforms didn't sound right, then found this.
Note that setInstrumet uses the right mask, which is why loading presets / whole instruments works fine.

Far as I can tell it's fine to have this extra 3rd bit around even on an opl2 (though it won't be respected) -- since setInstrument does that already.

I updated setDrumInstrument as well, but I've not read up on the details for drums yet so let me know if I should remove that one.

@DhrBaksteen DhrBaksteen merged commit 4ecbcdf into DhrBaksteen:master Jan 12, 2021
@isnotinvain isnotinvain deleted the isnotinvain/fix-waveform-mask branch January 15, 2021 21:44
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.

2 participants