Buffer Waveform to GL to Matrixctrl
Hello, I am doing a project that requires me to display waveform data using a Matrixctrl in order to map it onto other devices. From doing research on the forum, I have come to a dead end. So far, I have figured out how to convert the buffer into a Jitter image and how to convert .png files into data on a multislider. I will post the patch below, if anybody can be of assistance I would be very grateful. The Matrixctrl I am trying to map the waveform to is 14 long and 10 high.
I would like to give credit to the participants of this post https://cycling74.com/forums/convert-image-outline-to-multi-slider-representation .
Thanks.
Might I ask why you need to display the waveform on a matrixctrl? Sounds dreadful :)
Well.. I've been going about mapping different arrays of leds like on the Novation Launchpad. This one is for a TouchOSC template I've made. I'm used so many martixctr's now, theres no going back. I'm sure theres an easier way, but one thing at a time!
If anyone cares, here is my pretty bad solution.
I ended up cutting out the Jitter altogether. Rightly so. I used the waveform to multislider example from this thread.
If I could ask, is there any particular problem with using matrixctrl for controlling MIDI? What would be a good alternative?
Thaaaaaaaaaanks.