Skip to content

Add mtm_hardware.DACOut audio output for the MTM Workshop Computer#10895

Open
todbot wants to merge 2 commits intoadafruit:mainfrom
todbot:mtm_computer_dac_audio
Open

Add mtm_hardware.DACOut audio output for the MTM Workshop Computer#10895
todbot wants to merge 2 commits intoadafruit:mainfrom
todbot:mtm_computer_dac_audio

Conversation

@todbot
Copy link

@todbot todbot commented Mar 21, 2026

Adds a new board-level module mtm_hardware with a DACOut class that provides non-blocking audio playback through the slightly strange MCP4822 dual-channel 12-bit SPI DAC on the Music Thing Modular Workshop Computer.

DACOut follows the same API as audiobusio.I2SOut, accepting any AudioSample (WaveFile, RawSample, Mixer, MP3Decoder) and plays it non-blocking via DMA to a PIO state machine.

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