I know this is not actually for this board. But I’m hoping one of you had already tried a similar thing and maybe want to share how they achieved it.
I’m not at all a very good programmer a more technical guy. But I’m still trying this because I want to finish something that at least works.
Soo any help is very appreciated.
Info: I have got a working tool to find data (numbers) and pull it to my terminal in node.js. The program checks every 10 min for a new pull.
I want to use the pulled numbers and divide them with 540. So for example the pull gave me x / 540 = y.
The following last step is to send an osc message a simple (bang in maxmsp terms) alert to sonic pi for every second y is.
But I’m unable to first get it wrapped up in my head how to exactly do that. I know I should use setinterval.
Secondly and most important. I can’t seem to install npm i osc in to raspberry pi.
Any body who got this to work?? Because this is needed to communicate with Sonic Pi which is my eandgoal in this project.
All help is really welcome!!!