I like the simple yet useful array object, but I'd like to be able to zoom in and out, and to edit data with a higher precision. I've been playing for some time with [hrslider.mmb] and [vrslider.mmb] objects within pd-extended in order to achieve this with mixed results. In addition I'd like to implement other features so naturally came the idea to create such an editor, outside of pd, and make the two of them communicate using a simple '.txt' file.
I recently started to learn C++ and would like to ask for some advice in order to follow my thread smoothly. The starting specifications would be
- fixed number of points
- homogeneous horizontal discretization
- "control-oriented" editor rather than "waveform-oriented"
- drawable graph such as in pd, directly with the mouse
- zoom in, out and by region selection, obviously keeping the precision of coordinates
- possibly : axis graduations following the zooming operations.
So there probably exist open source applications that are already doing all this, and I'd be glad if someone could point out some of them. I'm looking for a starting point, something that would serve as a basis, having C++ programming in mind. My C++ and OOP skills are quite fresh, although I've been coding as a hobby for years, and I'd be glad to dissect and study some well-formed piece of code to go deeper into my learning process. This way I hope to be able to implement other features that I will spare you. My "paradigm" is somewhat similar to a midi control change editor, and I think this could be a lead.
I'm a linux user, but I'd like to use multi-platform libraries, and I'm considering learning to use QT or WxWidgets. But at the moment I couldn't find a way to break the tie. Probably because the articles and comments I read so far weren't dealing with my precise context, but maybe will there be someone here that could give me some advice?
Thank you very much!