11-14-2013, 06:31 PM | #1 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Cockos OSCII-bot (formerly midi2osc)
Here's a little summary of a project I started for fun, which triggered some of the recent OSC updates:
http://1014.org/?article=511 Discuss here if you like |
11-14-2013, 07:31 PM | #2 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
ooh if this is what I think it is (which it may not be) then that's very useful!
__________________
subproject FRs click here note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music. |
11-14-2013, 10:01 PM | #3 |
Human being with feelings
Join Date: Jun 2009
Location: Earth
Posts: 1,340
|
Hi Justin,
Nice idea.., I would also like to see REAPER support just the opposite. So if you send REAPER an OSC message such as "/note/on/53" then that note will sound until "/note/off/53" is received. Maybe even something like this "/note/on/53,56,60" for doing chords? |
11-15-2013, 02:49 AM | #4 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
maybe one step closer to midi feedback?
__________________
www.shallmodule.com |
11-15-2013, 03:14 AM | #5 |
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
That's what I was thinking.
I use this Novation Dicer DJ controller, which is basically just two button controllers with six layers of five buttons, sending simple midi messages out to trigger stuff in Reaper. They also have multi-coloured LEDs which can be turned on and off in specific colours via midi messages. If I can somehow define an OSC feedback message that sends out a the midi message for "GREEN ON for Master Dicer on button X" for each "Plugin in position X on currently selected track", I'll have an additional layer of feedback. Studying the package now. I'll need to experiment with this once my projects are over though. Monday perhaps.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10 Website "My ego comes pre-shrunk" - Randy Thom Last edited by airon; 11-15-2013 at 03:21 AM. |
11-15-2013, 05:07 AM | #6 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
Indeed. A way to send to send at least 7 bit resolution messages ESPECIALLY midi notes out of the midi editor to an OSC device for sequencing?
__________________
subproject FRs click here note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music. |
11-15-2013, 06:45 AM | #7 |
Human being with feelings
Join Date: Aug 2013
Posts: 1,355
|
This looks really useful, thanks for sharing it.
|
11-15-2013, 07:09 AM | #8 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
since osc is better than midi in many ways, i don't expect the devs will implement regular midi feedback anyway.
I know it's already doable with puredata and such, but thats to complicated for my liking. You can't teach an old cow to dance. So i could immagine an idiot(like me)-proof osc2midi2-midi2osc patchbay with osc/midi learn function. I can totally live with a slim application that runs in background for doing this
__________________
www.shallmodule.com |
11-15-2013, 03:02 PM | #9 |
Human being with feelings
Join Date: Feb 2007
Posts: 3,221
|
would this be helpful in overcoming REAPER's limit of only 16 dedicated control channels? (as per this issue: http://forum.cockos.com/showthread.php?t=130974)
|
11-15-2013, 03:12 PM | #10 | |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
Quote:
__________________
subproject FRs click here note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music. |
|
11-15-2013, 03:19 PM | #11 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Quote:
|
|
11-15-2013, 03:28 PM | #12 | |
Human being with feelings
Join Date: Dec 2008
Posts: 2,111
|
Quote:
It would be much more convenient than the current single character text support. jnif |
|
11-15-2013, 03:42 PM | #13 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
I've been thinking about it for a while, just want to make sure whatever solution we end up doing doesn't break everything or suck too bad (the latter is a bigger worry, since if people start writing JSFX using the syntax we'll be stuck with it).
|
11-17-2013, 07:46 AM | #14 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
did anyone try it yet and can give a little example? maybe for setting up bcr2000
__________________
www.shallmodule.com Last edited by adaragray; 11-18-2013 at 10:38 AM. |
11-21-2013, 12:55 PM | #15 |
Human being with feelings
Join Date: Jun 2009
Location: Earth
Posts: 1,340
|
Hey Justin,
Thank you so much for adding this; + OSC: added /vkb_midi/ However I'm having a little trouble getting it to work. I understand that the parameters are RAW MIDI.., so 3C is middle C. Is velocity supported? Could you please give an example that would trigger a middle C. Thank you |
11-21-2013, 01:23 PM | #16 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Quote:
Code:
oscsend(dev, {"i/vkb_midi/note/48"}, 127); Code:
oscfmt0 = 48; oscsend(dev, {"i/vkb_midi/note/%.0f"}, 127); Last edited by Justin; 11-21-2013 at 08:40 PM. Reason: Fixed typo wrong C3 value |
|
11-21-2013, 01:30 PM | #17 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 24,798
|
There's also MIDI note 0, is that not supported?
__________________
Edit poly aftertouch in MIDI editor! Entirely (un)dockable UI! | Improve Render Queue! |
11-21-2013, 01:53 PM | #18 |
Human being with feelings
Join Date: Jun 2009
Location: Earth
Posts: 1,340
|
Ok so now I'm gettig some MIDI activity but when looking at the MIDI activity log of ReaControlMIDI it's showing that a Note Off is being received.
This is the command I'm sending. ("/vkb_midi/note/60", 127) |
11-21-2013, 02:48 PM | #19 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
Didn't the modern church ban that one?
__________________
subproject FRs click here note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music. |
11-21-2013, 05:02 PM | #20 |
Human being with feelings
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,653
|
Well, this is not MIDI, and if C3 is 49, then I guess the lowest note (C-1) is 1, not 0 (and the highest note is 128).
|
11-21-2013, 08:39 PM | #21 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Sorry, I meant 48 not 49.
|
11-21-2013, 08:42 PM | #22 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Oops, looks like a bug in the OSC vkb_midi impl. Will be fixed in the next build!
|
11-23-2013, 04:03 AM | #23 |
Human being with feelings
Join Date: Jun 2009
Location: Earth
Posts: 1,340
|
Justin,
Works now.., I'll be testing it in various situations over the next day or two, I'll also give the other VKB_MIDI_xxxx commands some testing and if I notice any issues I will PM you. Thanks once again! |
11-23-2013, 12:30 PM | #24 |
Human being with feelings
Join Date: Aug 2011
Posts: 296
|
Saw this on your blog a yesterday. Great!
|
11-24-2013, 11:43 AM | #25 |
Human being with feelings
Join Date: Mar 2012
Posts: 610
|
Does this mean some clever person can make code to get my behringer bcf 20000 to actually get data feedback from plug-ins and update itself!? That would be a dream come true, its the biggest missing feature in Reaper for me.
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <---------- |
11-24-2013, 02:20 PM | #26 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
i don't think so, would be to good to be true
__________________
www.shallmodule.com |
11-25-2013, 08:58 AM | #27 | |
Human being with feelings
Join Date: Jun 2013
Location: So Florida
Posts: 1,436
|
Quote:
I dont have a bcf2000, but doesnt the bcf2000 work with klinke's csurf.dll? I could be wrong or i dont understand, but I could swear this setup had what u need? http://forum.cockos.com/showthread.php?t=81818 I think nofish wrote a guide for this. Guido |
|
11-25-2013, 01:17 PM | #28 | |
Human being with feelings
Join Date: Mar 2012
Posts: 610
|
Quote:
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <---------- |
|
11-25-2013, 04:12 PM | #29 |
Human being with feelings
Join Date: Jun 2013
Location: So Florida
Posts: 1,436
|
|
11-26-2013, 06:37 AM | #30 |
Mortal
Join Date: Dec 2008
Location: France
Posts: 1,969
|
midi2osc open source: thank you for sharing such code examples, Justin!!
I really enjoyed the MIDI-in and OSC-out code bits, straight to the point, lovely But the cherry on the pie is definitely the EEL2 extension example, most interesting, thanks! Did a tiny midi2osc config too... I've seen little things.. but no time to elaborate :/ .. well, just one big thing I'd like to suggest for REAPER (I've missed the related 4.57pre-cycle train) : ACTION i/section/@/action f/section/@/action/@/cc ACTION_SOFT f/section/@/action/@/cc/soft ACTION_RELATIVE f/section/@/action/@/cc/relative ^^ or anything similar (as usual), oh! and section/@ == unique action section id here |
11-26-2013, 06:38 AM | #31 | |
Mortal
Join Date: Dec 2008
Location: France
Posts: 1,969
|
Coincidentally, I've worked on a very similar MIDI<->OSC project just recently, so here's another midi2osc example (while I have (N)RPNs & stuff fresh in mind ):
Download: Generic midi2osc v1.0. This one is a generic MIDI to OSC converter, it remaps any MIDI channel-based messages to OSC messages. It also supports MIDI CC events with 14 bit resolution (optional):
=> Just open it in a text editor, everything is explained inside (as you'll see, there are other things you can customize -I made the code "tweak tolerant", well... to some extend). Quote:
To be honest, what you described in your thread sounds a bit convoluted to me (doable with a single MIDI channel?) but it seems "MIDI-input specific assignments" is what you are really after there (I mean CC#4 on Channel 7 from device1 triggers something different than CC#4 on Channel 7 from device2) => midi2osc + the generic config here should help about that! (the script tags OSC messages with MIDI device "IDs") no, sorry. you would need a proper control surface plugin, or "osc2midi" for that (not midi2osc). |
|
11-26-2013, 10:25 AM | #32 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
wouldn't that be cool? a reaper osc2midi2osc or midi2osc2midi translator
__________________
www.shallmodule.com |
11-26-2013, 04:28 PM | #33 |
Human being with feelings
Join Date: Jun 2013
Location: So Florida
Posts: 1,436
|
Hi,
Just so guys w bcfs get what they need...and stay outa here^^ kiddin' Go here... http://forum.cockos.com/showthread.php?t=33149 All things BCF200 related. Carry on... |
11-27-2013, 08:18 AM | #34 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
its not just about the bcf/bcr stuff.
the translator would make it possible to use ANY Hardware controller with feedback given the right config file
__________________
www.shallmodule.com |
11-29-2013, 03:04 AM | #35 |
Mortal
Join Date: Dec 2008
Location: France
Posts: 1,969
|
adaragray, nothing new here... Such OSC<->MIDI tools already exist. Pure data is one of them, Banned even explained things thoroughly and shared a "feedback patch" here: http://forum.cockos.com/showthread.php?t=97255
Last edited by Jeffos; 11-29-2013 at 03:13 AM. |
11-29-2013, 05:05 AM | #36 |
Human being with feelings
Join Date: Jan 2012
Location: Bananenrepublik Deutschland
Posts: 307
|
mm ok. pure data again.
pd alone uses 3% of my cpu and can't wrap my head around it. ill'd rather have it the more "rapid" way Since i feel like beeing annoying with this i stop asking and start to be happy with what i have.
__________________
www.shallmodule.com |
12-04-2013, 10:18 AM | #37 |
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Thanks for the tool Justin! While it's rather involved to set up, it allows for some nice shaping of MIDI data coming in from external devices. Request : implement OSC-to-OSC support too
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues. |
12-11-2013, 10:59 AM | #38 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Starting work on multiple-script support, as well as osc2midi and osc2osc and midi2midi support. Perhaps a rename is in order, perhaps osc_midi_megatool? Suggestions?
|
12-11-2013, 11:06 AM | #39 |
Human being with feelings
Join Date: Jan 2008
Posts: 1,257
|
Reaperdom or maybe Reapercom
__________________
Music is the best เพลง ที่ดีที่สุดคือ |
12-11-2013, 11:20 AM | #40 |
Human being with feelings
Join Date: Nov 2013
Posts: 2,818
|
swiss_osc_midi
(Based on the swiss army knife, for the record) And "swiss" to me is multiple options. And.. if it sounds a little bit schwa'ish, that's good right? |
Thread Tools | |
Display Modes | |
|
|