This tool samples the default audio input device, performs an FFT and sends 32 bytes of spectrum analyzer band heights (0..255) to nyukomatic via WebSocket using the patched Bonzomatic server protocol.
- Run this program. If the default port is used, you can change it.
./nm-fft-example2 -port 9000 -r 48000
- Launch the nyukomatic and set the server URL:
ws://127.0.0.1:9000/test/nyuk
(press F1). - Copy/paste example.asm into the editor.
- Play music, adjust the default microphone volume.