[PD] Please help with a patch i want to do

Pall Thayer pall at fa.is
Mon Mar 24 20:30:05 CET 2003


Use moses
moses 20 will output 0-20 out one of the outlets send the other outlet to moses 
40, 21-40 will be sent out one of the outlets and send the other output to moses 
60 etc....

Pall

> I've been scratching my idea for a few hours and i
> can't do the patch i want. Here's the deal:
> 
> I have a slider that outputs values from 0 to 100.
> Then, say from 0 to 20 i want to trigger file1.avi,
> from 21 to 40, trigger file2.avi, and so on. The
> problem is that whenever i change the slider within a
> certain range (say range from 0 to 20) the file is
> always being triggered. I want to trigger the file
> when the value of the slider is within a certain
> range, but the following values within that same range
> shouldn't trigger the file again. For example, when
> the value is 14 it would trigger the file for the
> first time, but if the following value is 15 i don't
> want to trigger the file again. I just want to triger
> a file when the first value of a certain range is
> received, the other following values of the same range
> shouldn't trigger that file again.
> 
> I hope i explained well my problem. Any tips (object,
> some logic, etc.) of how to do this?
> 
> Thanks in advance.
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 
> 

-- 
Pall Thayer
vefari / kennari / listamaður
Fjölbrautaskólanum við Ármúla
http://www.this.is/pallit





More information about the Pd-list mailing list