Spent some time working on the audio API yesterday (video on mastodon)
Tried to get it running on the Pi Zero and was unfortunately met with extremely bad results. I can get mostly OK results if I disable reverb completely, but even still I get occasional dropouts (fluidsynth seems to be consuming extraordinarily high CPU which appears to be causing this...)
I may have to switch over to a Pi Zero 2 and see if that performs better (my theory is that the multiple cores and NEON support should speed things up)
In other news I've started experimenting with Unicorn Emulator, which appears to be forked from QEMU and focuses just on emulating CPUs with JIT compilation. I think this will likely form the basis for the VM, using the ARM926 configuration, as it pretty neatly solves the problem of sandboxing (and would also help with making the emulator cross platform rather than *strictly* Pi). It does seem like I'll have to write my own ELF loader though, haha.
Tried to get it running on the Pi Zero and was unfortunately met with extremely bad results. I can get mostly OK results if I disable reverb completely, but even still I get occasional dropouts (fluidsynth seems to be consuming extraordinarily high CPU which appears to be causing this...)
I may have to switch over to a Pi Zero 2 and see if that performs better (my theory is that the multiple cores and NEON support should speed things up)
In other news I've started experimenting with Unicorn Emulator, which appears to be forked from QEMU and focuses just on emulating CPUs with JIT compilation. I think this will likely form the basis for the VM, using the ARM926 configuration, as it pretty neatly solves the problem of sandboxing (and would also help with making the emulator cross platform rather than *strictly* Pi). It does seem like I'll have to write my own ELF loader though, haha.
Statistics: Posted by glairedaggers — Sun May 19, 2024 5:52 am