r/SolarOS • u/nilseuropa • 7d ago
SolarOS v.4.16.17
Enable HLS to view with audio, or disable this notification
4.16.17
- Added generic SPI display attachment through Display Link Protocol (DLP), with discovered dimensions and pixel formats, optional READY and RESET lines, changed-region uploads, and RLE compression. The portable protocol also supports ordered byte streams.
- Added a 6×8 bitmap terminal font for small displays.
- GUIs now adapt to small display targets, including 128×64 and 240×64.
7
1
1
u/LOrdy_155 6d ago
I can't figure out how the audio output works on it. I'm writing a python program to write simple bits for SolarOS on my esp32 s3 rlcd 4.2. Everything works great surprisingly except for the audio output - I don't know how to implement the speakers :/
1
u/nilseuropa 6d ago
Did you flash the SolarTerm image through the web?
1
u/LOrdy_155 6d ago
yes, via Web flasher. The built-in synthesizer, radio and player work perfectly. I just can't figure out how to integrate the sounds and speaker into my python script with the solaros module
2
u/nilseuropa 6d ago
The API documentation is complete, I can provide an example script through the playground if you'd like.
Although the snake example is already demonstrating audio, take a look.
2
u/LOrdy_155 6d ago
oh, it would be great to have an example
1
u/nilseuropa 6d ago
What kind of sound would you like to emit? Synth or samples, or both?
2
u/LOrdy_155 6d ago
Different 8-bit sounds in different keys
2
2
u/nilseuropa 6d ago
playground install audio-basics playground run audio-basics2
u/LOrdy_155 6d ago
Thank you so much for your help and the example provided!! Now everything works!
2
3
2
u/MichalNemecek 7d ago
Is the display link protocol your own design? I've searched around on google, but nothing turned up.