googlecreativelab / aiexperiments-ai-duet

A piano that responds to you.
https://aiexperiments.withgoogle.com/ai-duet
1.63k stars 283 forks source link

OSC Integration #42

Open KonVas opened 2 years ago

KonVas commented 2 years ago

I would like to be able to generate some new notes based on a real time stream of notes picked from an audio signal of a piano. These notes are extracted using already a machine listening code in SuperCollider (onsets, and pitch tracking information), and I can feed those using OSC messages communication to any platform for further use. So , the scenario is, piano plays some notes and I send these as OSC messages to my generative JS system which responds with the new notes. Is that possible, would this require some waiting moment for generating the notes or it can work dynamically flawlessly as in the web based platform example here.