From the original SynthMaker forum (2004–2014), with its members’ names and dates.
dugbert ·
i'm parsing a string which contains an unknown number of draw locations, then i want to draw a line at each location
i haven't had any luck with the with the 'view loop' module (it seems to update the display in the thumbnails at the top of the screen but not in the schematic view)
but i don't want to use the view loop module because i am doing this within the parser anyway. (the loop module doesn't work for updating the display anyway, because if i move the slider too fast it sends to many triggers than it thinks an infinite loop is happening and freezes the link)
i made a display using the PALines, however it's hard to read because there isn't an option to use straight lines instead of curves.
i'm writing a midi data sequencer, so i want the peaks to be different colors if the step represents a note or CC command.
here's how it looks right now:
and here's an example of what i want to do:
infuzion ·
Not a full explaination, but some things to look at:
* dasdeck's guiloop.osm uses Loop & a float array for placements
* jorge's drawWave.osm
oddson ·
Until and unless the devs add a 'draw histogram' primitive you can use draw graphs to make a pretty convincing histogram of single point events if there are sufficient data points on the horizontal...
You just need to maintain an array of CC events. If you want it to scroll with time, however, that might get tricky... although the 'Graph Selection' primitive might even make that doable.
mdk ·
i dont know if this will help but i've made a scrolling graph module.
the principle for scrolling things should be the same whichever display technique you use. I've done a similar thing to create a scrolling bitmap display as well (but the schematic is very untidy at the moment..)
dugbert ·
thanks dudes
i kind of took a short hiatus from working on this display to finish another component of the sequencer
but now i've started working on it again, here's what i've come up with:
(just playing with the View Loop module, haven't integrated this idea into my project yet)
http://sense.unif.com/temp/sm_osm/pat_graph_gen.osm
now if i use this with an array instead of the bus, i could have an undefined number of elements which can be toggled from a note (two blue lines) or a CC command (one red line)
should work great in theory, but i think that view loop + the custom parser is gonig to crash A LOT
Wrote something here? To have a post removed or your name hidden, write to [email protected].