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

Allow loading custom waveforms via sysex #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tstirrat
Copy link
Owner

@tstirrat tstirrat commented Aug 24, 2024

Allow loading waveforms at runtime with SysEx messages

Note: Requires an ArduinoBoy patch that will pass SysEx through to the GB serial port.

  • All 16 waveforms are now stored in SRAM
  • The currently selected waveform in CH3 will be overwritten and will persist through reboots

Message format:

0xF0: Sysex
0x7D: Non commercial
0x69: Device ID - chosen arbitrarily, open to suggestions
0x02: Channel - always 2 here for the WAV channel (CH3)

... 16 bytes of wave data

0x7F: SysEx EOF

This loads into the currently active wav slot. Open to suggestions about targeting specific slots with the message payload.

Screenshot 2024-08-24 at 12 21 56 PM
PR Description
👉 #6 Allow loading custom waveforms via sysex

@tstirrat tstirrat force-pushed the tstirrat-sysex-wav-02 branch 4 times, most recently from 1bd49ec to 246397e Compare August 29, 2024 10:36
@tstirrat tstirrat force-pushed the tstirrat-sysex-wav-02 branch 2 times, most recently from bfb0323 to 8094d08 Compare September 29, 2024 23:17
@tstirrat tstirrat force-pushed the tstirrat-sysex-wav-02 branch 2 times, most recently from 9ff7255 to 4f93b99 Compare October 11, 2024 00:21
@tstirrat tstirrat force-pushed the tstirrat-sysex-wav-02 branch from 4f93b99 to 86c54a6 Compare October 11, 2024 13:10
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.

1 participant