Closed lmeucchi closed 2 years ago
It depends what you want to do with the data. There's obviously no PS2 support baked into the library, so you'll have to handle sending MIDI yourself.
Thanks, I will try to understand how your library works ... it is very difficult for me, and even more if I want to customize ... but I will read it Thank you
The first thing is to understand what kinds of MIDI messages exist, and what kinds of MIDI data your DAW accepts and understands.
Then you just have to call Control_Surface.send***(data)
in your sketch, where ***
is the kind of MIDI message you want to send, and data
is whatever data you want to send, probably the position of the touchpad, which may be scaled or summed.
The idiomatic way to initialize the touchpad and update it is to implement the abstract MIDIOutputElement
class, as shown in the first example I linked to. It has a begin
method where you have to initialize the touchpad, and an update
method, where you have to read the data from the touchpad and send it over MIDI using Control_Surface.send***
.
It might be a good idea to follow an introductory C++ tutorial first, so you understand the basics of classes, functions and objects.
Thanks, I am going to start learning more about C ++ so I can understand about classes and functions of your code. I think that with your library I can do many things. It can be seen that you spent a lot of time on this and now I know that there is the possibility of sending personalized messages ... it's amazing
thank you
Hello, I have a trackpad from an old laptop, it has a Ps2 connection and uses 4 pins: 5v, gnd, data, clock Can the pad be used in control surface to send pitch values on the "x" axis and on the "y" axis modulation? is it possible to send midi notes on the "x" axis and velocity on the "y" axis?
Connect the pad using the ps2 library, I have two variables "mx" and "my" but I don't know how to include it in control surface
Thank you