object for recieving only first / last of several numbers?


    Sep 12 2006 | 12:14 pm
    hey, after a long break of maxing, I'm trying to get my head around it all again, trying to make a live performace patch. I apologise if this question is a silly one, but... I'm trying to make a unique system for channel volume control, using dials, so that the movement is slowed down significantly. In theory, I'd like it so that a fast movement of the controlling dial results in the same movement of the volume (which will also be visually represented by another dial) but over the course of maybe 2 seconds. I thought line would be the object to use for this, however I'm not sure how to seperate the initial dial position and the destination in order to make the line function correctly? Had a quick browse through the reference manual and came out more confused. Like I say, apologies if this a total pleb question. thanks a lot tom

    • Sep 12 2006 | 12:15 pm
      - apologies for mulitple posts, I was prompted with server errors, looks like one got through.
    • Sep 12 2006 | 12:18 pm
      A simple hack for this may be the [speedlim] object. Or you could try filtering your data based on rate of change. There are a number of 3rd party objects with "delta" in the name that do just this. It also sounds like a simple low-pass filter for your data could do the trick.
    • Sep 12 2006 | 1:35 pm
      cool, thanks a lot, played around with [speedlim]... [speedlim] and a [ggate] did the job, however it gets confused if the controller dial is moved gradually I know I can change the [speedlim] speed via the right inlet, however I then need to find an object that times between the first and last bangs with successive dial movement... any ideas? attached is the progressive dial movement in text, if anyone's interested. please let me know if you have any ideas cheers tom
    • Sep 12 2006 | 7:29 pm
      I m not shure I undurstood what you want to do, but this might be of interest.
      //yac
    • Sep 13 2006 | 12:16 am
      thanks everyone for your help, I'm very nearly there. Sorry if I didn't explain myself that well in my initial post, what I'm aiming for is a method of controlling volume quickly, but the outcome being very gradual, for playing out live. I've been playing around, I've got the mouse side of things working, so when the mouse button is released, the volume will go to the desination slowly. What I'm also trying to achieve is keyboard control, so when a key is triggered, the volume goes from its current position to either minimum or maximum. At the moment the [1] key turns the dial up, and the [q] button down, however I am experiencing problems. When left static, and performing a key trigger, the dial jumps, instead of moves gradually line object, if anyone has any ideas why this might be, I'd be very grateful. thanks very much tom
      here's the patch-
    • Sep 16 2006 | 6:45 am
      register wrote: > When left static, and performing a key trigger, the dial jumps, > instead of moves gradually line object, if anyone has any ideas why > this might be, I'd be very grateful. thanks very much tom
      After 3 seconds, jump and destination are the same...
      I have attached my version including a "firstlast" abhaXion. This has a middle outlet which shows the direction of the move before you know the end... You might want to have a constant speed instead of a given time to reach your destination...
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Sep 16 2006 | 11:08 am
      Quote: Tom Haig wrote on Tue, 12 September 2006 06:14 ---------------------------------------------------- > however I'm not sure how to seperate the initial dial position and the destination in order to make the line function correctly?
      > tom ----------------------------------------------------
      there are many ways to do this, but maybe you could make a system which adds and substracts +1 +1 +1 and so on instead of sending absolute gain values from your dials - and then use [limit] to slow incoing values from the GUI control down - does about what a line would do. :)
      -110