Re: [PD] turning an osc on and off

2011-03-17 Thread Funs Seelen
2011/3/17 Coralie Diatkine coraliediatk...@gmail.com

 Hello everyone

 I'm trying to do something simple : turn on and off an osc alternatively
 and with random time intervals. How would you do that ?

 [tgl]
   [metro 100]
[osc~] [random 2]
|  [$1 5(
|  [line~]
| /
|   /
[*~  ]
|\
[dac~]

Thanks

 Coralie

 --
 Coralie Diatkine
 96 cours Victor Hugo
 33000 Bordeaux
 06 35 58 68 27

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] turning an osc on and off

2011-03-17 Thread Martin Dupras
The osc~ is on all the time; to turn it on and off you need to multiply the
output by 1 (to let the signal through) or 0 (to make it silent.)

One solution attached.

- martin


On 17 March 2011 11:15, Coralie Diatkine coraliediatk...@gmail.com wrote:

 Hello everyone

 I'm trying to do something simple : turn on and off an osc alternatively
 and with random time intervals. How would you do that ?




beepy.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] turning an osc on and off

2011-03-17 Thread Pierre Massat
Hi Coralie,

I think you should read the first chapters of Miller Puckette's book (
http://crca.ucsd.edu/~msp/techniques.htm). This should be very helpful. Ne
le prends pas mal, ça te fera gagner tu temps.

Cheers,

Pierre

2011/3/17 Martin Dupras martindup...@gmail.com

 The osc~ is on all the time; to turn it on and off you need to multiply the
 output by 1 (to let the signal through) or 0 (to make it silent.)

 One solution attached.

 - martin


 On 17 March 2011 11:15, Coralie Diatkine coraliediatk...@gmail.comwrote:

 Hello everyone

 I'm trying to do something simple : turn on and off an osc alternatively
 and with random time intervals. How would you do that ?


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] turning an osc on and off

2011-03-17 Thread Lorenzo Sutton

Hi Coralie,

Pierre Massat wrote:

Hi Coralie,

I think you should read the first chapters of Miller Puckette's book 
(http://crca.ucsd.edu/~msp/techniques.htm 
http://crca.ucsd.edu/%7Emsp/techniques.htm). This should be very 
helpful. Ne le prends pas mal, ça te fera gagner tu temps.


Cheers,

Pierre

2011/3/17 Martin Dupras martindup...@gmail.com 
mailto:martindup...@gmail.com


The osc~ is on all the time; to turn it on and off you need to
multiply the output by 1 (to let the signal through) or 0 (to make
it silent.)

One solution attached.

- martin


On 17 March 2011 11:15, Coralie Diatkine
coraliediatk...@gmail.com mailto:coraliediatk...@gmail.com wrote:

Hello everyone

I'm trying to do something simple : turn on and off an osc
alternatively and with random time intervals. How would you do
that ?

All the other suggestions apply. Just for completeness: also check out 
the [switch~] object which will literally switch on/off the dsp for the 
current patch window.


Lorenzo




___
Pd-list@iem.at mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list