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

Rick T ratulloch at gmail.com
Mon Oct 15 02:25:11 CEST 2012


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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121014/dfda1c36/attachment.htm>


More information about the Pd-list mailing list