loop action problem


    Apr 11 2006 | 10:57 pm
    hello!
    i really don't know how exactly to call my problem,,, but so here is the goal...
    i have one subpatch and there should be modification of a number called "ampli" depending on another number called "average sck" which is changing through time.., it should work like this: if "average sck" is ampli by "nepb" * 5 ( untill "average skc" changes to be > 3.5 ).. else increase it by "nepb" * 10 ( untill "average skc" changes to be ).. i made this subpatch and there is no Stack Overflow... {sure i read whole tutorial about loops}..,. but the calculation as it is made is not calculating "ampli" - specified number when the if part is ok,, and it seems that it calculates just 0 - specified number... . i don't know where it should be,, i rebuilded whole subpatch twice already and so i need a little help.., because it seems my way is too difficult anyway and i belive it can be done better way..,., {i placed comment inside the patch to documentate what is the plan with it}.,.
    thanks a lot for anything!!!!
    pash*
    here is the patch moduAmp:

    • Apr 12 2006 | 12:29 pm
      pash* wrote: > it should work like this: if "average sck" is > ampli by "nepb" * 5 ( untill "average skc" changes to be > 3.5 ).. else > increase it by "nepb" * 10 ( untill "average skc" changes to be > )..
      With a brief look at your patch, I don't know what you want in terms of timing. Out of your description you want to do steps, but if these steps all happen at the same time, you could as well jump directly to the target value. It seems you need to define some timing structure...
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09
    • Apr 12 2006 | 1:24 pm
      hello, the time cause seems to be ok in this subpatch,,, but the problem is is math,, the calculation as it is made is not calculating "ampli" - specified number when the if part is ok,, and it seems that it calculates just 0 - specified number... i know that this is really newbie problem,, but i spend two days trying to do something with it without resuls.,., thanks for any help a lot!!
    • Apr 13 2006 | 8:51 am
      pash* wrote: > the time cause seems to be ok in this subpatch
      But I haven't seen any... which caused the question, still unanswered, which does not drive interest to look deeper into it...
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09
    • Apr 13 2006 | 10:31 am
      Thanks a lot for your will to help at the first place..., ! i'm still newbie.,., sorry,, but i didn't underestand one thing before,,, i will place metro into it and than see if it works.., so thanks again.. i'll try it tonight
      pash*
    • Apr 13 2006 | 1:51 pm
      pash* wrote: > sorry,, but i didn't underestand one thing before,,, i will place metro > into it and than see if it works.., so thanks again.. i'll try it tonight
      Maybe delay or pipe is easier...
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09