Hey all,<br><br>I've had a little idea that I think might be worth "implementing". This is it:<br><br>Controllers, (in the musical sense like a MIDI controller knob), have always had a certain<br>"update" period, ie MIDI cable 31250 baud, or from a MIDI file PPQ's etc.. you the the idea.<br>
<br>What if we were to make a "callback-update" system, where the controller (read Arduino with a sensor attached)<br>runs an OSC server, which whenever gets a  <b>/<arduinoName>/poll</b>  command, returns the value of the sensor?<br>
<br>I appreciate that for this example it would seem pretty pointless, as for 1 controller the overhead is gonna be bigger<br>than the speed gained of just sending it every X ms. Concider a "big" ardour controller, with moving faders, leds, knobs etc<br>
<br>I think this maybe be a great little system to allow OSC interfaces actually save the CPU some time polling the MIDI I/O subsystem,<br>and take advantage of the Send -> Return style thing..<br><br>Of course to be all fancy, we could register a "send to" address, so many programs can access the same device, and have it only update<br>
the correct program, allowing each program handle the OSC messages however they want to. <br><br>Also a <b>/<ardName>/fader ( int ) </b>could be sent for each fader's position,<br><b>/ardName/knob(int)  </b>.... you get the idea.<br>
<br>Ideas, responses, you've already done this, etc all welcome! -Harry<br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>