Hi all! I’ve been porting Resona, an ambient instrument I made for improvised concerts, to the Anbernic RG35XX H on muOS, and it now does something I wasn’t sure the H700 could do under muOS: two different pictures at once. The synth runs on the handheld’s own screen while the TV (HDMI) shows only the light show, and the sound comes out of the handheld.
What it is
Resona listens to a microphone (a USB mic on the handheld) and answers with slow chords, arpeggios, grains of the room’s own sound, a vocoder and a long reverb. With no mic it listens to a hum of its own, so it always plays. Each part of the synth is a light on a map: pick a node with the D-pad, play its two controls with the left stick, move it on the map with the right stick. The distances between nodes set how fast things move.
- 11 nodes (input, room, life, two engines, voice, grain, space, echo, out, drift)
- scales, roots and voicings, an arpeggio by scale degree
- eight snapshots of the whole sound (Start > snapshots)
- updates from inside the app (Start > check for updates)
- runs on one core of the A53 with room to spare; the long reverb runs on a thread of its own
Two screens with HDMI
With HDMI on, muOS gives programs one screen (the TV), and its HDMI mirror copies that picture onto the handheld. Resona has a SETTINGS row, screens:
- TV only: the light show fills the TV and the controls sit in a corner panel that fades out.
- TV + handheld: the synth on the handheld and only the light show on the TV. It takes effect the next time Resona starts. Turn muOS’s HDMI mirror off for this.
Sound out (also in SETTINGS) chooses where the sound goes. The default plays on the handheld’s own output (audiocodec). You can pick HDMI (ahubhdmi) if you want the TV’s speakers. On my unit, HDMI sound was clean with the mirror off and distorted with the mirror on, in muOS’s own menus too.
How it works (for the curious)
Reading muOS’s own mudisp mirror (MustardOS/frontend) showed the way: the H700’s display engine already drives the LCD as screen 1 while HDMI is screen 0. The mirror gives screen 1 a layer that reads the framebuffer. Resona does the same thing with its own picture:
- It switches screen 1 on through the display driver’s
dispdbginterface, like muOS’sDISPLAY_WRITE disp1 switch "1 0", and sets its backlight. - It takes a buffer of its own from
/dev/ion. - It sets a layer on screen 1 reading that buffer (
DISP_LAYER_SET2on/dev/disp). - It copies the synth’s 640x480 picture into the buffer each frame. SDL keeps drawing the light show on the TV as usual.
One gotcha in case it helps anyone: on the RG35XX H, fb0 reports line_length at half its real value (2560 bytes for 1280 pixels at 32 bits). My first try used “spare” rows of the framebuffer and ended up drawing over the TV’s second page, so the TV flickered between the two pictures. A separate ION buffer leaves the framebuffer alone and fixed it.
Install (PortMaster layout)
- Download
Resona-handheld-<version>-portmaster-aarch64.zipfrom the resona-muOS release. - Copy the
resonafolder toportson the SD card, andResona.shtoROMS/Ports. - Start it from Ports. Hold SELECT + START for one second to quit.
Tested
Only on one RG35XX H, muOS 2606.0 (Andromeda), with a 720p TV. Two screens should work on the other H700 devices too (RG35XX Plus/SP, RG40XX, RG CubeXX, RG34XX, RG28XX), but I can’t test them. If you try it, ports/resona/resona-log.txt says how far it got: look for the lines starting with “two screens:”. I’d love to hear how it goes.
It’s free and open source (MIT). It’s built on the handheld code of Kerf, my sample slicer and sequencer for the same devices. The desktop and browser versions of Resona are at github.com/dferreiramarques/resona.

