ramping a value between 0 and 1

Jul 5, 2007 at 8:09am

ramping a value between 0 and 1

I would like to automate a value running up and down between 0 and 1, maybe at different speeds. Does someone has an idea of an existing patch that does it?

#32760
Jul 5, 2007 at 8:10am

phasor~ ?

#108314
Jul 5, 2007 at 4:20pm

Hans Mittendorf schrieb:
> I would like to automate a value running up and down between 0 and 1,
> maybe at different speeds. Does someone has an idea of an existing
> patch that does it?

line… or look at my bfline abhaXion…

#P window setfont “Sans Serif” 9.;
#P flonum 105 253 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 118 60 15 0;
#P window linecount 1;
#P newex 139 59 30 196617 t b i;
#P number 180 64 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 139 85 51 196617 int 5000;
#P message 139 130 31 196617 0. $1;
#P newex 105 106 44 196617 gate 2 1;
#P newex 145 207 30 196617 + 1;
#P toggle 145 183 15 0;
#P message 105 130 31 196617 1. $1;
#P newex 105 157 50 196617 line 0.;
#P connect 7 0 6 1;
#P connect 8 0 6 0;
#P connect 6 0 4 1;
#P connect 9 0 6 0;
#P connect 0 1 2 0;
#P connect 1 0 0 0;
#P connect 5 0 0 0;
#P connect 0 0 10 0;
#P connect 4 0 1 0;
#P connect 4 1 5 0;
#P fasten 8 1 4 0 164 80 110 80;
#P fasten 3 0 8 0 150 229 223 229 223 50 144 50;
#P connect 2 0 3 0;
#P window clipboard copycount 11;


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#108315
Jul 5, 2007 at 4:34pm

At 10:09 AM +0200 7/5/07, Hans Mittendorf wrote:
>I would like to automate a value running up and down between 0 and 1, maybe at different speeds. Does someone has an idea of an existing patch that does it?

line or line~or maybe tri~, depending on what you want to do. There are a lot of other choices, as well.

-C


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#108316
Jul 5, 2007 at 4:51pm

cool man, but how do you run it up and down?

I made a patch with counter by now which does it, but its not as elegant….

#108317
Jul 5, 2007 at 4:58pm

Oh, I see I goes up and down!wow

#108318
Jul 5, 2007 at 9:09pm

you could hire a slave from a developping
country and tell him to type “0.00, 0.01, 0.02, 0.03 …”
for you.

fi you hit him hard enough he also might be able to
count backwards.(otherwise use a [coll])

#108319
Jul 6, 2007 at 6:29am

The problem with ramping was solved elegantly, intelligently and peacefully a while ago.
The one you seem to have will need a different forum to solve it.

Cheers

Keep on ramping….

#108320
Aug 20, 2007 at 7:55pm

for some craziness use index~ to read sample points from a buffer~. you’ll get values all over the place from -1 to 1, so add 1, then multiply by a half to get 0 to 1. So your curve is the actual waveform itself, pretty cool.

–CJ

#108321

You must be logged in to reply to this topic.