Skip to content

Audio cleanup and Stereo support - #36

Merged
raffmont merged 5 commits into
riscv-prg32:development-c6from
sunshards:development-c6
Sep 12, 2026
Merged

raffmont merged 5 commits into
riscv-prg32:development-c6from
sunshards:development-c6

Conversation

@sunshards

@sunshards sunshards commented Sep 11, 2026 •

Copy link
Copy Markdown

This PR includes many different feats:

  • Nodified the audio API: Jump to a new ABI version. The old buzzer functions have been separated and the API has been cleaned up.
  • New default instrument provided to cartridges. Splash screen and test audio now play with the new default instrument instead of custom waves.
  • Introduced new "audio_mode" value to NVS to remember Stereo/Mono settings.
  • The audio menu now allows to pick stereo/mono and there is a new audio test for stereo settings.
  • Edited the store parsing logic to need less memory (from 98KB needed to less than 32KB). The store loading needs pagination, which is probably best introduced on server side.

…ctions. Separated old buzzer functions from new prg32_audio_note functions. New ABI version with the new functions.
…lt instrument instead of custom waves. Introduced new "audio_mode" value to NVS to remember Stereo/Mono settings. The audio menu now allows to pick stereo/mono and there is a new audio test for stereo settings. Fixed prg32_audio_note not playing with the correct pan. New functions for getting and setting audio mode.
…OG_MAX_BYTES from 64KB down to 32KB and rewrote the parsing logic to avoid allocating unnecessary buffers.
@raffmont
raffmont merged commit 9510494 into riscv-prg32:development-c6 Sep 12, 2026
2 of 3 checks passed
raffmont added a commit that referenced this pull request Sep 12, 2026
Integrate audio and streaming Store changes from development-c6 while preserving indexed framebuffer rendering, palette ABI, Poing performance workload, and the 128 KiB cartridge profile. Reconcile documentation and regenerate ABI artifacts; reject hashes with reassigned audio slots.
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