From the original SynthMaker forum (2004–2014), with its members’ names and dates.
sequencer ·
Hi
Probably a redundant question... 😉
Is there any way that SM can record mouse movement on a GUI.
The simplest example would be to record the mouse moving a knob on the GUI and then have it automate the movement. Although I'm thinking a bit more than with a knob movement, is this possible at all ?
P.S. I have had a look into various schematics and components and just can't figure out if it can be done or not. Any help, Schematic snippets, ideas etc appreciated. 🙂
oddson ·
You could track the location of a string of mouse events and store them as float arrays (x and y and possibly mouse state changes) but the problem will be timing events. The proposed event mechanism scheme (previewed in SMX) may make this sort of thing feasible but for now you'd have to rely on some kind of counter recording triggers from a Ticker to give time indexes for the recorded events. This would not be very accurate and could easily bog down from CPU load.
If you want to limit recording to changes in cotrol values you could do this more easily but again the timing of events would be very approximate.
If this doesn't dissuade you from the idea I could try to knock someting up as a demonstration.
sequencer ·
Thanks for the reply Oddson. 🙂
I guess I would have to wait for the timing event system to be upgraded.
If you have a few precious moments to spare, could you possibly put something together so that I would have a bit of an idea how to go about it. At least then, when the timing system improves, I will hopefully have a running system of what I need to do and can just convert what I need to the new event system.
Thanks 🙂
oddson ·
I'll give it a go... do you need to track mouse events or just contol changes?
Like I said above, the latter would be much easier to deal with.
sequencer ·
Well, I might as well spill the beans about what I'm thinking of trying to do. 😉
I've made a XY Pad for assignable MIDI CC output, so I was kind of thinking it would be good if I could record the movement of the position cursor and have it 'play' back whilst altering another. Is that possible yet ?
I just want to try to make useful tools for my own use and eventually (once I get round to getting a website up and running) to release (Free) on the general public if I think they are good enough.
Anyhow, if you manage to get something together, I would be extremely grateful. 😀
oddson ·
OK... as I suspected it can be done currently with Ticker events but it is very inacurate and easily overwhelmed by graphic event slowdown.
But you can see roughly what I had in mind
xypadRecord.osm
If you want to see that it works I recommend recording very slow movements so the ticker events are not slowed down too much while recording.
sequencer ·
Thanks for this...
I was beginning to think that it might have stumped even you. I should have known better.
Thanks for the work in the WIKI. I go into the WIKI to view info about the components and as a result see your sterling efforts.
😀
oddson ·
sequencer wrote: ...I was beginning to think that it might have stumped even you...
😊 Even me? That's a great complement. Especially when I think back to my early efforts and how lame they were.
In reality the hardest part of this was getting an XY pad to work for the deomonstration of the recorder. I'm sure yours will be be much better.
The recorder is pretty simple stuff. It's just filling arrays with control values.
sequencer ·
Alas, I won't get the chance to look into this at all for a couple of weeks. Off on a big silver (White with red & blue actually) bird tomorrow, for a two week stint in N.J. in the US.
Once I've finished working over there and get back to over here, I'll have a look properly.
Thanks 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].