#N canvas 147 108 634 373 10; #X obj 264 48 inlet; #X obj 264 259 outlet~; #X obj 264 79 trigger float bang; #X obj 264 144 pack; #X text 324 47 frequency in Hz; #X text 343 260 audio signal; #X obj 264 203 osc~; #X obj 264 174 line~; #X obj 184 142 float \$1; #X obj 184 89 loadbang; #X obj 385 101 float \$2; #X text 10 138 \$1 is initial frequency; #X text 20 75 loadbang emits a bang; #X text 21 88 message when a patch; #X text 20 101 is loaded; #X text 11 149 set by the first value; #X text 11 160 in the abstraction default; #X text 449 98 \$2 is the ramp time; #X text 449 109 when a new frequency is; #X text 448 120 passed through the inlet; #X text 15 267 example of an abstraction; #X text 16 279 which can have default values; #X text 14 292 call this from a higher-level patch; #X text 13 305 with defaults like "my-oscillator~ 300 5"; #X text 12 318 (that would produce an initial frequency of 300 Hz; #X text 14 333 and a ramp time for new frequencies of 5 msec); #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 2 1 10 0; #X connect 3 0 7 0; #X connect 6 0 1 0; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 9 0 8 0; #X connect 10 0 3 1;