90 karma · joined January 5, 2021
I have a few follow up questions. When you're using SonoBus, are your musicians running local synths/instruments, or are you working with audio streams? And are you on macOS? Asking because you can actually use Contrapunk with SonoBus today then route guitar through Contrapunk, send the harmony MIDI to a synth via IAC buses, and pipe the audio into SonoBus through BlackHole. But there's clearly an extra step you probably shouldn't have to do. Your session hears the harmonized output and you can mute/unmute the Contrapunk voices like any other musician. Longer term we can look at native SonoBus integration via the AOO protocol so Contrapunk would show up as a peer in your session directly. What do you think about it ? Would love your input on what that should look liked.
- 128-sample cpal audio buffers (~2.7ms at 48kHz) - Single-cycle pitch detection - 2-frame McLeod pitch voting for confirmation - Entire DSP pipeline is Rust, pre-allocated ring buffers with minimal heap pressure
The e2e from pluck to MIDI "note-on" signal, is under 10ms on an M-series Mac. Hardware matters for sure so an audio interface with low-latency drivers (I use an Audient iD14) helped a lot. The web version (app.contrapunk.com) adds AudioWorklet latency on top, so the native Mac app is noticeably tighter. I am still working on figuring out how to have lesser noise and pitch jitter in the final output. Also this works really well for higher notes, bass not so much right now. Still need to figure out how to handle harmonics better. I have created this issue for you for now, let me know if you would like to add anything else to this as well. https://github.com/contrapunk-audio/contrapunk/issues/6.