pipewire is amazing. with:
$ PIPEWIRE_LATENCY=256/48000 pw-loopback
I can't tell the difference between the direct monitor on my audio interface and the guitar's audio signal going into my computer and out into my headphones again.
A quantum of 256 samples at 48 kHz translates to ~5.33 milliseconds of latency (256 / 48,000), which is close to imperceptible for most use cases.
now just need to use the graphics card to render something on the screen from this incoming audio signal.
nostr:note19tuscsvtjtmf7jhf6zczqcu69tatp08n9ayqtat5w8ljjzcl6j2s98e99r