JSONloops icon indicating copy to clipboard operation
JSONloops copied to clipboard

Investigate OSC Integration

Open Marak opened this issue 14 years ago • 6 comments

Branch @ https://github.com/catshirt/JSONloops/tree/osc

Deps @ https://github.com/catshirt/node-osc

Marak avatar Feb 22 '11 00:02 Marak

I think this is a great idea, and we could also provide a midi integration.

In it's current state, jsonloops, can only support sending OSC/MIDI data, not receiving. There would be a bit of dev and user experience work to make it process incoming OSC/MIDI intuitively.

tmpvar avatar Feb 22 '11 01:02 tmpvar

I've a bit of a conversation going with catshirt over PM. I just asked him to elaborate on possible integration points.

There's a lot of ways we can go, maybe supporting OSC OUT from the sequencer would be the first step of OSC integration?

Marak avatar Feb 22 '11 01:02 Marak

Yep, thats what I was thinking

tmpvar avatar Feb 22 '11 01:02 tmpvar

out is definitely much more straight forward. like tmpvar said, input would require quite a bit of ui thought (mostly due to multiple clients). i imagine there are technical implications as well once this becomes a hosted operation.

maybe something with clear benefit, like midi from the tracks, would be a good way to start. though even sending output, i'm not exactly sure how this will work on a hosted machine...

thanks for your input guys

kn0ll avatar Feb 22 '11 02:02 kn0ll

An instance of a JSONloops looper will emit a "step" event on every step of the sequencer. This event contains a snapshot of the entire loop, plus all metadata for controls.

Ignoring all the possible implications of shoving all this data around, we could just add an additional listener to this step event and send it to osc. We could also pre-process the output in node to limit / modify whats being sent out.

Marak avatar Feb 22 '11 02:02 Marak

i have a rough version committed that i presume is along the lines of what you guys expect. screenshot: http://cl.ly/0D2m0a3c1G0Z210D0d3z

one downside to subscribing to the step is that the sliders become a bit "digital", and you can't get true smooth change. for now though, this seems sufficient, since the sequencer track is probably more useful than the sliders anyway.

for the record, i don't actually know how this signal maps in osc software, or to midi. but the graphs suggest something is right, so the rest is figuring out osc / midi / software details.

let me know if this is what you guys had in mind... cheers

kn0ll avatar Feb 23 '11 06:02 kn0ll