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.
Devine Lu Linvega
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?
Bad Diode
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.
Devine Lu Linvega
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 🤩
Bad Diode
in reply to Devine Lu Linvega • • •~rabbits/uxn: / - sourcehut git
git.sr.htDevine Lu Linvega
in reply to Bad Diode • • •Bad Diode
in reply to Devine Lu Linvega • • •