[PD] midi button logic problem
PT147 at mdx.ac.uk
PT147 at mdx.ac.uk
Tue Mar 18 18:59:18 CET 2003
Hi Anton,
You could use a 'select 127' object routed to a toggle. Unfortunately,
you then have the problem that the duplicated messages would instantly
turn the toggle on then off. I've included an abstraction with a
workaround, anyway.
Cheers,
Peter
> Hi all,
> I have the following problem and I was wandering if somemody here could help.
>
> For a project I am working on I use a MIDI controller(Peavy Studiomix ) wth
> faders buttons and knobs.
> I want to use the buttons as toggles. The problem is that pressing and
> realesing the button will send 4 messages like that:
>
> print: 2500 127
> print: 2500 127
> print: 2500 0
> print: 2500 0
> That means that when I realese the button it will return to its previous
> value(0)
> This is not the behaviour I am looking for . What I want is each time I press
> the button to change state and stay there.
>
> I am also confused by the fact that it it sending its message twice. I think
> that is something to do with that particular hardware.
>
> Please enlighten me!
>
> --
> regards
> anton
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toggler.pd
Type: application/octet-stream
Size: 788 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20030318/c0e6e63a/attachment.obj>
More information about the Pd-list
mailing list