Hello list,
I am working on a microtonal sequencer made with data structures (the structures represent notes) that will read their position on the canvas as their position in time and pitch.
I was wondering if it's possible to change the the number of pixles by which the objects move when you select them and use shift and the cursor buttons to move them.
I need this because it makes a lot more sense to divide a semitone and a 16th note into 12 equal parts as opposed to the default 10 and it would be convenient to shift+arrow move the notes around the canvas.
Cheers,
Matija
On 03/29/2013 01:10 PM, matijoncek prdoncek wrote:
I was wondering if it's possible to change the the number of pixles by which the objects move when you select them and use shift and the cursor buttons to move them.
it is possible using the "displace msg" and pointer from the struct object, using "get" to get the new (displaced by 10 pixels) position and adding the additional 2 pixels offset with "set", so that the object is moved 12 pixels.
bis denn! martin
seems that you're changing the scalars in edit mode. if you're in
performance mode, you could also use the step option when defining your
variables. not sure if you can use another variable as the step value
itself, didn't try it yet.
João
On 03/29/2013 01:10 PM, matijoncek prdoncek wrote:
I was wondering if it's possible to change the the number of pixles by which the objects move when you select them and use shift and the cursor buttons to move them.
it is possible using the "displace msg" and pointer from the struct object, using "get" to get the new (displaced by 10 pixels) position and adding the additional 2 pixels offset with "set", so that the object is moved 12 pixels.
bis denn! martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list