-
dentaku
Just in case someone else was wondering about this
I was messing with a 16 pad TouchOSC interface I made and converted it to a .pd patch with the little touchosc2pd.jar program. It converts OSC messages to MIDI CCs just fine and sends them out through MdiYoke. The problem with that is I want NOTES not CCs.
Doing *127 then ctlout 1 2 just isn't useful for drumpads or keyboards. It's only good for sliders and simple buttons.
SO. I eventually found that to convert OSC PUSH messages that send out 0 and 1 you can use the SELECT command.
When the select object gets a 0 it sends a MIDI note at velocity ZERO which is interpreted as a Note Off and when the select object gets a ONE it sends then same note but at a velocity greater than zero (usually something high like 120 or 127).So... Does anyone know of an even simpler way of doing this?
-
dentaku
I installed PD because I wanted to figure out how to convert CC into Notes. It was amazingly simple after reading a few help files.
So... I then discovered PdVst and set it up. It works fine with the 2 demos that come with it and after making a VST out of my little CC to Note patch I found that it receives MIDI just fine but it doesn't seem to send MIDI data OUT.
If I put my plugin in one Ableton Live track and send CCs to it I can see the number boxes connected to ctlin going up and down as I turn a knob, then if I put an instrument in another track and tell it to receive MIDI from the first track I get nothing.
Question:
This patch works fine if I run it in Pure Data and send it's MIDI output to Ableton Live using Midi-Yoke but it doesn't seem to output MIDI if I use it in PdVst.
Is PdVst capable of sending out MIDI? -
dentaku
Nice, that's quite helpful.
I can see how I can use some of this with my Kinect too because I have a program that sends only CCs and not notes according to the position of your hands.
-
dentaku
I'm looking at message-help.pd and it shows an example of using $1, $2 etc. but I can't figure out how I'd use it.
Right now, for example it works like this as in the sample .png I attached above.[OSCroute /push1] -> [select 0 1]
0 goes to [36 0(
1 goes to [36 127(
and they both connect to [noteout]When /push1 is pressed it sends out a 1 and when you let go it sends a 0 so this works very well. I'm just wondering how it could be simpler.