Elementary groove problem

Oct 19, 2006 at 2:52pm

Elementary groove problem

In the simple patch below, I can’t understand why groove starts
immediately I turn the audio on, even with an empty buffer!
I’m sure I’ll be feeling daft in a few minutes!
Gorwel

max v2;
#N vpatcher -2 44 1040 848;
#P window setfont “Sans Serif” 9.;
#P user number~ 494 271 672 286 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221
221 222 222 222 0 0 0;
#P window linecount 1;
#P message 293 168 50 196617 0;
#P newex 343 149 77 196617 sig~ 1.;
#P user meter~ 406 283 486 296 50 0 168 0 103 103 103 255 153 0 255 0 0
217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 313 283 393 296 50 0 168 0 103 103 103 255 153 0 255 0 0
217 217 0 153 186 0 12 3 3 3 3;
#P user ezdac~ 654 420 698 453 0;
#P window linecount 2;
#P newex 349 202 77 196617 groove~ swn1 2;
#P window setfont Arial 12.;
#P comment 45 56 36 131137548 Drop Swn1;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P message 24 162 72 196620 open;
#P window setfont Arial 12.;
#P comment 92 139 35 131137548 Sec;
#P window setfont “Sans Serif” 12.;
#P flonum 23 137 67 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Sans Serif” 9.;
#P newex 96 551 50 196617 / 1000.;
#P window setfont Arial 12.;
#P message 23 114 104 131137548 “Audio 2#02.wav”;
#P window setfont “Sans Serif” 9.;
#P newex 24 537 69 196617 prepend set;
#P newex 24 506 98 196617 info~ swn1 10000 2;
#P button 112 90 18 0;
#P message 34 412 64 196617 replace;
#P user dropfile 25 34 103 108 0;
#P window linecount 2;
#P newex 25 470 86 196617 buffer~ swn1 60000 2;
#P window linecount 1;
#P newex 25 433 85 196617 prepend replace;
#P user panel 23 32 82 78;
#X brgb 207 255 252;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont Arial 12.;
#P window linecount 4;
#P comment 113 32 16 131137548 Load;
#P window setfont “Sans Serif” 9.;
#P window linecount 3;
#P comment 158 57 100 196617 file dropped into square loads into buffer;
#P fasten 9 0 10 0 29 569 13 569 13 106 28 106;
#P fasten 11 0 12 0 101 605 4 605 4 134 28 134;
#P fasten 4 1 8 0 106 502 29 502;
#P fasten 8 7 9 0 113 530 29 530;
#P connect 5 0 3 0;
#P fasten 6 0 4 0 39 455 30 455;
#P connect 3 0 4 0;
#P fasten 14 0 4 0 29 194 21 194 21 458 30 458;
#P fasten 7 0 6 0 117 194 39 194;
#P connect 8 6 11 0;
#P connect 16 0 18 0;
#P connect 20 0 16 0;
#P connect 21 0 16 0;
#P connect 16 1 19 0;
#P connect 16 2 22 0;
#P connect 16 0 17 0;
#P connect 16 1 17 1;
#P pop;

#28257
Oct 19, 2006 at 3:33pm

#86607
Oct 19, 2006 at 5:05pm

#86608
Oct 19, 2006 at 5:36pm

On Oct 19, 2006, at 10:05 AM, Gorwel Owen wrote:

>>>
>>
>> Because as soon as your tun on the [dac~], [sig~ 1] will send 1
>> continuously at audio rate to [groove~], which means [groove~] has
>> to play, at normal speed.
>> _____________________________
>>
>
>
> OK – thanks
> My understanding was that the sig~ just determined the ‘speed; and
> that groove~ also needed a start point (e.g. 0) as an input.

sig~ does determine the speed…but with a 1. typed into the sig~ as
the ‘initial signal value’ argument it starts sending signal
immediately which in turn starts driving the groove~ object
immediately…

from sig~.help file:
Optional argument is initial signal value (default 0).

so just leave it [sig~] without the argument typed in and you should
be good to go…

#86609
Oct 20, 2006 at 6:11am

Thanks Kim

On 19 Oct 2006, at 18:36, Kim Cascone wrote:

>
> On Oct 19, 2006, at 10:05 AM, Gorwel Owen wrote:
>
>>>>
>>>
>>> Because as soon as your tun on the [dac~], [sig~ 1] will send 1
>>> continuously at audio rate to [groove~], which means [groove~] has
>>> to play, at normal speed.
>>> _____________________________
>>>
>>
>>
>> OK – thanks
>> My understanding was that the sig~ just determined the ‘speed; and
>> that groove~ also needed a start point (e.g. 0) as an input.
>
> sig~ does determine the speed…but with a 1. typed into the sig~ as
> the ‘initial signal value’ argument it starts sending signal
> immediately which in turn starts driving the groove~ object
> immediately…
>
> from sig~.help file:
> Optional argument is initial signal value (default 0).
>
> so just leave it [sig~] without the argument typed in and you should
> be good to go…
>
>
>
>
Gorwel Owen
http://www.rhwng.com/banjo.htm

#86610

You must be logged in to reply to this topic.