[PD] convert bang to 1 else it's a 0

Jonathan Wilkes jancsika at yahoo.com
Mon Oct 15 08:06:06 CEST 2012


BTW-- have you read the tutorial /doc/2.control.examples?  If not,
click <ctrl-b> to bring up the help browser, click "Pure Data", then
2.control.examples.  Then double click one of the patches to bring
it up.

Those tutorials should explain some of these concepts you're asking
about.


Best,

Jonathan

>________________________________
> From: Rick T <ratulloch at gmail.com>
>To: Jaime Oliver <jaime.oliver2 at gmail.com> 
>Cc: PD List <pd-list at iem.at> 
>Sent: Sunday, October 14, 2012 8:47 PM
>Subject: Re: [PD] convert bang to 1 else it's a 0
> 
>
>Thanks that worked
>
>
>On Sun, Oct 14, 2012 at 2:40 PM, Jaime Oliver <jaime.oliver2 at gmail.com> wrote:
>
>many solutions that require a bit of imagination. check out the
>>trigger object or see attached patch.
>>J
>>
>>
>>On Sun, Oct 14, 2012 at 8:25 PM, Rick T <ratulloch at gmail.com> wrote:
>>>
>>> That won't work because once you bang the message box with the number "1" it
>>> stays at 1 and it doesn't go back to the number "0"
>>>
>>> On Sun, Oct 14, 2012 at 2:20 PM, Simon Iten <itensimon at gmail.com> wrote:
>>>>
>>>> Just connect the bang to a messagebox containing 1 ?
>>>>
>>>> On Oct 15, 2012 1:46 AM, "Rick T" <ratulloch at gmail.com> wrote:
>>>>>
>>>>> Greetings All
>>>>>
>>>>> I'm trying to output a a number "0" every second (to a text file) unless
>>>>> a bang is sent, in which case a number "1" will be written to the text file
>>>>> instead of a zero.  The problem I'm having is converting a bang into a
>>>>> number.  I tried using moses but moses has no number for bang.  Any work
>>>>> arounds?
>>>>>
>>>>> Example:
>>>>> bng
>>>>> |
>>>>> moses 1
>>>>> |          |
>>>>> 0(         1(
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pd-list at iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>
>>>
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>>
>>--
>>Jaime E Oliver LR
>>
>>jo2357 at columbia.edu
>>www.jaimeoliver.pe
>>858 750 0924 (cel)
>>
>
>_______________________________________________
>Pd-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>



More information about the Pd-list mailing list