Re: [PD] direction
I think this is what you're looking for... best, J On Thu, Apr 24, 2008 at 4:52 PM, Luigi Rensinghoff < [EMAIL PROTECTED]> wrote: > Hi there, > since i am experimenting quite a bit with the mapping-abstractions...in the > last days > > well, there is many times a solution for problems that i am facing > > There is an object called "diff_n" which does simple differentiation, and > thats exactly what you are looking for.. > > maybe that helps > > I have attached a patch...you dont need the mapping-abs in order to see how > its made and how it is working > > Cheers Luigi > > > > > > > > Am 24.04.2008 um 22:21 schrieb Matthew Logan: > > Looks like the decrease and increase represent bangs... > > On 4/24/08, Ben Carney <[EMAIL PROTECTED]> wrote: >> >> it looks good, but not working. I have made a fe assumptions in your >> sketch. >> does the big X represent the patch chords crossing to opposite inlets? >> also, i am assuming that the decrease and increase at the bottom are >> number boxes. with these assumptions, i am getting no change >> whatsoever in the number boxe at the bottom. >> >> also, before sending this i looked back, connected a number box tot he >> outlet of [- ] and i am never getting a value above 0, therfore no >> change is occurring. >> >> On 4/24/08, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote: >> > Ben Carney wrote: >> > >> > > I need to be able to tell direction the slider is being "slid" >> > > relative to the direction it started from. >> > > >> > >> > ((slider value) - (previous slider value)) > 0 >> > >> > >> > slider >> > | >> > [t f f] >> > \ / >> >X >> > / \ >> > [-] >> > | >> > [> 0] >> > | >> > [select 0 1] >> > || >> > decrease increase >> > >> > >> > >> > Hope this helps, >> > >> > >> > Claude >> > -- >> > http://claudiusmaximus.goto10.org >> > >> >> >> -- >> >> Ben C. >> >> ___ >> 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 > > > >---< > > Luigi Rensinghoff > [EMAIL PROTECTED] > skype:gigischinke > ichat:gigicarlo > > > > > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- Jaime E Oliver LR [EMAIL PROTECTED] www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA direction.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] direction
Hi there,since i am experimenting quite a bit with the mapping-abstractions...in the last dayswell, there is many times a solution for problems that i am facingThere is an object called "diff_n" which does simple differentiation, and thats exactly what you are looking for..maybe that helpsI have attached a patch...you dont need the mapping-abs in order to see how its made and how it is workingCheers Luigi diff_example.pd Description: Binary data Am 24.04.2008 um 22:21 schrieb Matthew Logan:Looks like the decrease and increase represent bangs... On 4/24/08, Ben Carney <[EMAIL PROTECTED]> wrote: it looks good, but not working. I have made a fe assumptions in your sketch.does the big X represent the patch chords crossing to opposite inlets? also, i am assuming that the decrease and increase at the bottom arenumber boxes. with these assumptions, i am getting no changewhatsoever in the number boxe at the bottom.also, before sending this i looked back, connected a number box tot he outlet of [- ] and i am never getting a value above 0, therfore nochange is occurring.On 4/24/08, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote: > Ben Carney wrote:>> > I need to be able to tell direction the slider is being "slid"> > relative to the direction it started from.> >>> ((slider value) - (previous slider value)) > 0 >>> slider> |> [t f f]> \ />X> / \> [-]> |> [> 0]> |> [select 0 1]> ||> decrease increase Hope this helps,>>> Claude> --> http://claudiusmaximus.goto10.org>--Ben C. ___PD-list@iem.at mailing listUNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___PD-list@iem.at mailing listUNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >---http://lists.puredata.info/listinfo/pd-list
Re: [PD] direction
Looks like the decrease and increase represent bangs... On 4/24/08, Ben Carney <[EMAIL PROTECTED]> wrote: > > it looks good, but not working. I have made a fe assumptions in your > sketch. > does the big X represent the patch chords crossing to opposite inlets? > also, i am assuming that the decrease and increase at the bottom are > number boxes. with these assumptions, i am getting no change > whatsoever in the number boxe at the bottom. > > also, before sending this i looked back, connected a number box tot he > outlet of [- ] and i am never getting a value above 0, therfore no > change is occurring. > > On 4/24/08, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote: > > Ben Carney wrote: > > > > > I need to be able to tell direction the slider is being "slid" > > > relative to the direction it started from. > > > > > > > ((slider value) - (previous slider value)) > 0 > > > > > > slider > > | > > [t f f] > > \ / > >X > > / \ > > [-] > > | > > [> 0] > > | > > [select 0 1] > > || > > decrease increase > > > > > > > > Hope this helps, > > > > > > Claude > > -- > > http://claudiusmaximus.goto10.org > > > > > -- > > Ben C. > > ___ > 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] direction
so I connected bangs instead of numbers to the bottom under select [0 1] getting bangs for increase and decrease. thank you very much. now is there a way I can get increase or decreases relative to the first direction that takes place? so maybe there could be some reset function and if the slider is on the right side, that way, moving left would be pos. and then moving back to the right could return negative vals. any ideas? by the way, i mention this alot but this list ing rules. thank you all so much. On 4/24/08, Ben Carney <[EMAIL PROTECTED]> wrote: > it looks good, but not working. I have made a fe assumptions in your sketch. > does the big X represent the patch chords crossing to opposite inlets? > also, i am assuming that the decrease and increase at the bottom are > number boxes. with these assumptions, i am getting no change > whatsoever in the number boxe at the bottom. > > also, before sending this i looked back, connected a number box tot he > outlet of [- ] and i am never getting a value above 0, therfore no > change is occurring. > > > On 4/24/08, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote: > > Ben Carney wrote: > > > > > I need to be able to tell direction the slider is being "slid" > > > relative to the direction it started from. > > > > > > > ((slider value) - (previous slider value)) > 0 > > > > > > slider > > | > > [t f f] > > \ / > >X > > / \ > > [-] > > | > > [> 0] > > | > > [select 0 1] > > || > > decrease increase > > > > > > > > Hope this helps, > > > > > > Claude > > -- > > http://claudiusmaximus.goto10.org > > > > > > -- > > Ben C. > -- Ben C. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] direction
it looks good, but not working. I have made a fe assumptions in your sketch. does the big X represent the patch chords crossing to opposite inlets? also, i am assuming that the decrease and increase at the bottom are number boxes. with these assumptions, i am getting no change whatsoever in the number boxe at the bottom. also, before sending this i looked back, connected a number box tot he outlet of [- ] and i am never getting a value above 0, therfore no change is occurring. On 4/24/08, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote: > Ben Carney wrote: > > > I need to be able to tell direction the slider is being "slid" > > relative to the direction it started from. > > > > ((slider value) - (previous slider value)) > 0 > > > slider > | > [t f f] > \ / >X > / \ > [-] > | > [> 0] > | > [select 0 1] > || > decrease increase > > > > Hope this helps, > > > Claude > -- > http://claudiusmaximus.goto10.org > -- Ben C. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] direction
Ben Carney wrote: > I need to be able to tell direction the slider is being "slid" > relative to the direction it started from. ((slider value) - (previous slider value)) > 0 slider | [t f f] \ / X / \ [-] | [> 0] | [select 0 1] || decrease increase Hope this helps, Claude -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list