• Balwyn

    here is an update that starts the [metro] when the mouse is clicked, then stops the [metro] after a specified delay
    sliderbank-vanilla.pd

    posted in technical issues read more
  • Balwyn

    @Jona I did something similar last year, I've modified to make it vanilla by replacing the [mouseup] event from [receivecanvas] with a constant [metro 200] firing a counter to the number of elements, but that's not really the answer is it?
    sliderbank-vanilla-test.pd
    sliderbank-vanilla.pd

    posted in technical issues read more
  • Balwyn

    @jona What a great resource! Chris McCormick's s-controlsurface is even more efficient (and better)

    posted in technical issues read more
  • Balwyn

    @ingox I also meant to say, I am very impressed with the novel array approach

    posted in technical issues read more
  • Balwyn

    @ingox I see! you want to arbitrarily pick up the x/y position of the mouse click then output the mouse x/y while the mouse button is pressed.
    Without the output of the mouse x/y when clicked and no tracked x/y mouse-movement and then no mouse-up x/y, I would say not possible without externals

    posted in technical issues read more
  • Balwyn

    Hello again
    I have been puzzled why there are only click and change events reported from structs in run mode and found this quite limiting and ended up using the iemguts and cyclone libraries for mouse events.
    Then less than a week ago @ingox uploaded the vanilla xy-pad which explained how to unpack the pointer and when the change event occurred. So after a bit of trial and error and chasing my tail trying to match the x/y co-ordinates with the mouse pointer, I realised that correct co-ordinates were the offset right side of a rectangle. So using this info I then found it hard to click in the right spot to get a reliable change event. I then found that, by using the offset corner as the centre then drawing a cursor box all the way around the centre the cursor responded much better to the mouse change. What also amazed me was the small amount of code required to achieve this.
    Cheers
    Balwyn

    xy-pad.zip

    image.png

    posted in technical issues read more
  • Balwyn

    @katz I really like this, especially now its scalable
    Cheers
    Balwyn

    posted in patch~ read more
  • Balwyn

    @ingox Hi, I was inspired by pixelgrid to produce this. I was confuse with my early attempts of getting the x and y for the position from float x and float y but this didn't follow the mouse, then it dawned on me the offset was the mouse position
    Cheers
    Balwyn

    xypadtest.zip

    posted in technical issues read more
  • Balwyn

    if you have:
    working directory is C:\Program Files (x86)\Purr Data (in my case)
    or
    working directory is d:\Purr-Data (maybe in your case)
    in the console window
    then [declare -path extra/iemmatrix should work

    I also noticed you have a colon missing after the drive letter d in your screenshot

    image.png

    posted in this forum read more
  • Balwyn

    @funkheld you are declaring a relative to your patch path, I think it should be -stdpath, which is relative to Pd

    posted in this forum read more

Internal error.

Oops! Looks like something went wrong!