Skip to main content


Got an initial patch for the new #uxn audio device functionality in the SDL emulator.

Same features as the PD version:

- Sample xfading to avoid clicks when switching sounds
- Duration support with ms timing
- New ADSR envelope

Needs more testing but all seems good so far. I also included the audio-tests.tal file in the projects/examples/devices folder.

How do you prefer the patch @neauoire? Email? Feel free to run clang-format and make changes to better suit your style BTW.

:uxn:

in reply to Bad Diode

for this, since we might be doing back and forths, I think I'd like to add you to the repo, would that be alright?

Do you think this will be hard to bring to the GBA?

in reply to Devine Lu Linvega

sure, add me, though I would add this on a separate branch, since this is the reference implementation and don't want people to suffer through the iteration process haha

It may take a bit to move everything to the GBA, but we will get there eventually. Gotta swap some floating point math for fixed point, and make sure it's not super slow, optimizing as needed.

in reply to Bad Diode

Added to repo, make a branch, I will use it to finish porting oquonie 😀

Afterward, we can work together to improve the docs? I love that popping is gone 🤩

This entry was edited (1 year ago)
in reply to Devine Lu Linvega

cool! Lemme know if it feels better with the xfading stuff, once you hear the clicking it’s difficult to unheard it

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.