breakpoint function editor question ?

Aug 3, 2008 at 2:24am

breakpoint function editor question ?

how can i get the breakpoint function editor to control
the frequency of an oscillator or group of oscillators
by arranging an envelope shape within the BFE?

#39109
Aug 3, 2008 at 4:30am

There are probably quite a few ways to do this–many of them are bound to be
in the tutorials.

FWIW, here’s a way of controlling a cycle~ object. Note how the env output
is scaled and offset to get a useful range of values. I’ve also output the
env values to a a message, with an initial value of 0,0 prepended. This can
be a handy way to save interesting env values in easily readable form. A
present object can be very handy too, if you want ot experiment with
different envelopes.

– Paul

#P toggle 76 164 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 93 164 29 196617 gate;
#P newex 124 164 32 196617 print;
#P comment 215 262 100 196617 offset from 0.;
#P window linecount 2;
#P message 219 174 367 196617 0. 0. 0.56 191.489349 0.24 79.787231 0.333333
74.468079 0.693333 26.595764 0.586667 170.212738 0.186667 90.425537 0.
367.02124;
#P flonum 207 308 35 9 0. 5. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 162 308 41 196617 *~ 0.5;
#P message 49 63 27 196617 stop;
#P message 37 44 65 196617 startwindow;
#P user panel 24 37 99 63;
#X brgb 144 199 89;
#X frgb 55 199 76;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P newex 162 338 31 196617 dac~;
#P newex 162 261 46 196617 +~ 440.;
#P newex 162 237 47 196617 *~ 440.;
#P newex 162 285 61 196617 cycle~ 440;
#P newex 162 214 44 196617 line~ 0.;
#N vpatcher 639 181 953 486;
#P button 30 225 15 0;
#P outlet 186 248 15 0;
#P outlet 30 248 15 0;
#P inlet 30 40 15 0;
#P window setfont “Sans Serif” 9.;
#N counter 0 1 2;
#X flags 0 0;
#P newobj 30 128 69 196617 counter 0 1 2;
#P button 30 107 15 0;
#P comment 54 29 212 196617 Line output of a graphical breakpoint function
editor comes in here. Its initial value is stripped off by the counter ,
and the remaining value/time pairs go out in a set command with a 0. 0. pair
prepended.;
#P newex 30 172 35 196617 thresh;
#P newex 30 150 92 196617 gate 2;
#P newex 30 194 84 196617 prepend set 0. 0.;
#P comment 205 214 61 196617 Set command is sent out first;
#P comment 48 250 85 196617 bang when done;
#P connect 8 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 2 0;
#P connect 2 0 11 0;
#P connect 11 0 9 0;
#P fasten 8 0 3 1 35 98 117 98;
#P fasten 2 0 10 0 35 217 191 217;
#P pop;
#P newobj 219 149 62 196617 p functomsg;
#P button 136 37 15 0;
#P user function 156 39 356 139 1 1 0 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 191.489349 0.56 0;
#X add 271.276581 0.24 0;
#X add 345.744659 0.333333 0;
#X add 372.340424 0.693333 0;
#X add 542.553162 0.586667 0;
#X add 632.978699 0.186667 0;
#X add 1000. 0. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P comment 284 150 193 196617 patcher to convert function to message;
#P comment 215 241 177 196617 scale output between 0. and 440.;
#P comment 227 286 162 196617 drive frequency of a cycle~;
#P comment 246 310 51 196617 volume;
#P window linecount 2;
#P comment 73 185 85 196617 open gate to see output of env;
#P window linecount 4;
#P comment 363 40 185 196617 it can be convenient to convert the function
output to a message , or at least to prepend an intial value to it (0 , in
this case);
#P connect 23 0 22 0;
#P fasten 6 1 22 1 224 144 117 144;
#P connect 22 0 21 0;
#P connect 7 0 6 0;
#P fasten 6 1 9 0 224 144 167 144;
#P fasten 19 0 9 0 224 207 167 207;
#P connect 9 0 11 0;
#P connect 11 0 12 0;
#P connect 12 0 10 0;
#P connect 10 0 17 0;
#P connect 17 0 13 0;
#P fasten 16 0 13 0 54 333 167 333;
#P fasten 15 0 13 0 42 333 167 333;
#P connect 17 0 13 1;
#P connect 18 0 17 1;
#P connect 6 1 8 0;
#P fasten 8 1 19 0 276 170 224 170;
#P window clipboard copycount 24;

On Sat, Aug 2, 2008 at 9:24 PM, enth lojeek wrote:

>
> how can i get the breakpoint function editor to control
> the frequency of an oscillator or group of oscillators
> by arranging an envelope shape within the BFE?

>
>


—– |(*,+,#,=)(#,=,*,+)(=,#,+,*)(+,*,=,#)| —–

#137252
Aug 3, 2008 at 5:30pm

thanks ignotus …. i just took a look that *.pat
and worked the BFE to test different shapes.
it works great, thanks again.

i appreciate that very much.

#137253

You must be logged in to reply to this topic.