- Edited
Hi there, I've looked over the various posts discussing OSC and have some questions as I am still confused on how to implement.
Context: I am using a Mindwave Mobile headset, routing its data through an Android app called "MindwaveOSC" (which lets you specify the IP and port to send messages to) and receiving its data via OSC into a Max patch. I figure if I can get the data onto my computer using OSC - I should be able to get it into the Bela environment using OSC (vs MIDI out from Max or MIDI out from Android).
Looking over the Bela OSC example I believe I need to use the node.js assistant script running simultaneously. I tried running the script from my computer's console with the Bela plugged in via USB and was unsuccessful.
How do I incorporate the osc.js script onto Bela so I can run the sample code? I think once I have that figured out I can tinker with the code to read messages in sent from the Android device. I have tried updating the Bela with the latest Bela-master.zip to see if I can get the "resources" folder to appear when I type "ls" into the console but with no luck.
Further, will I need a computer to activate the osc.js helper file before Bela can receive OSC messages? Is there a stand-alone solution, where I can embed the Bela into an enclosure and send messages directly to it using the Android app.