|
View your shopping cart.
Recent topics
Recent Comments |
midi togglehi guyz, I'm quite new to quartz composer so . . I have a question ! When my computer keybord or my midi controller sends the signal i get a "hold" type. I mean, when I stop pressing the button the signal stops. I need to have a toggle signal so a first push sends "on" signal and a second one sends "off" signal to the "enable" of a macro patch. Maybe it's a basic thing but I can't get it. thanke you in advance !
More like this
|
If your using kineme midi tools you would want to use a conditional patch on the midi note number. A if midi note 45 equals 45 then conditional is true type of logic.
I think you mean you want a toggle but the default is momentary. There is a Toggle patch in the library.
do you mean in the patch creator ( the one that is available pressing the plus button in the editor ) ? Can't find it there ! thank for help !
to Dust :
I can't get any solution this way because the signal is still temporay.
I woud like to make a temporay MIDI signal become a toggle so the first time I push a button the signal start and keep going and the second time I push it deactivates.
now it's press ( activates ) and release ( deactivates ).
thanks a lot !
Path: /System/Library/Graphics/Quartz Composer Patches/Toggle.qtz
I guess I don't have it since I am using Leopard . . thank you anyway !
Here's a standard flip-flop chain using two NOR gates for each flip flop, it's just like what's going on at the semiconductor level in the metal beneath the kernel beneath OS X beneath QC, except about 100,000x slower due to the OS X|QC emulation machine ;-)
It's a boolean sample and hold, and yes you could use a sample and hold patch in leopard for what you want but for boolean gates are more fun. Be interesting to know which gets interpreted by QC the quickest.
Some more from the same exercises in Richard P. Feynman's Lectures in Computing. Note I think his description of the using a chain of D-Flip-Flops is suspect. Maybe it was the ghost author who wrote it up… I guess they had better things on their mind like advancing the edges of physics knowledge.
Put UD_RS Flip-Flop.qtz and UD_RS Flip-Flop with Clock.qtz files in ~/Library/Graphics/Quartz Composer Patches and then they will appear in your patch Library. All comps Leopard friendly :-)
you could build it in leopard easily using the screenshot i posted -- leopard has these patches. it's a counter to a math (% 2) to a number multiplexer.
Thanks for those Flip Flop macros. Very useful design indeed :-) . Added to my Library, copyrighted to usefuldesign.au .
Thanks @cybero. For the record those compositions are covered by a Attribution-ShareAlike 3.0 licence for maximum sharing.
Lots more where that came from it's just a matter of organising it all into some kind of order… Maybe on the wiki here when I get an opportunity.