motion key

diez's picture

Virtual instrument midi, using the detection of movements, developed in quartz composer, osculator and ableton Live. The displacement of the green square active keys, which sends MIDI information to ableton Live by osculator.

Thanks for your help for javascript ;) .

based on opencv composition of Kris Harris (krisharris.org)

motion key v1.0 from diez on Vimeo.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

diez's picture
Re: motion key

Virtual midi sampler this time ...

Sample are created by Julien Floria "Gramophoner" (based on his a remix of Amon Tubin) myspace.com/gramophoner

Motion Key v1.1 Sampler Version from diez on Vimeo.

cybero's picture
Re: motion key

brilliant stuff.

the wonders of quartz and midi.

can the cursor block be prettified ?

gtoledo3's picture
Re: motion key

It is very cool. I had mucho fun before by using osc and quartz to control garage band. After seeing tha t I feel like messing with that more. I just wish qc could do mmc or smpte.

muqeem's picture
Re: motion key

Hi I downloaded your composition name "Twister_Sphere_Value_Historian_Example" but I am getting this message upon uploading the composition;

+++++++++++++++++++++ "> (null) NSPropertyListSerialization failed with error: "XML parser error: Encountered unknown tag html on line 9 Old-style plist parser error: Malformed data byte group at line 1; invalid hex "

+++++++++++++++++++++ When I continue, I do not see anything in QC, thanks a lot for your help,

gtoledo3's picture
Re: motion key

I'm guessing you are trying this in Snow Leopard.... I admit, I haven't opened up the Value Historian stuff yet... I've been testing plugins and patches extensively, by introducing them into my system one by one since upgrading to SL, and I haven't gotten to Value Historian yet. I had thought it was likely to keep working.

I would appreciate responses to this on the discussion thread for that composition, as I don't want to turn discussion of this fellow's really cool setup into a bug testing of a qtz I did :o) Let me know if this is Leopard or Snow Leopard though. This shouldn't happen in Leopard, for sure.

dust's picture
Re: motion key

i think you can start qc in 32 bit mode and the value historian works maybe i don't know, i was messing with multi-touch gestures yesterday and the VH wasn't working so i went to get info on qc app checked 32 bit then reopened qc to see if VH was working in 32bit mode but then my tuio plugin stopped working so i couldn't get any values into the historian and gave up that idea and decided to do on the fly custom gestures instead of pre recorded ones. let me know if you can confirm it working and what mode your in. now that im looking at my "about this mac im actually in 32 bit mode ??? now im confused why things 64bit things are working but im not using any 64bit kernels. guess i got to restart and hold down 6 and 4. make sure you do it right or you will end up in 46 bit mode. lol

PreviewAttachmentSize
Screen shot 2009-09-13 at 10.27.38 AM.png
Screen shot 2009-09-13 at 10.27.38 AM.png22.05 KB

muqeem's picture
Re: motion key

I am running 10.5.8 Thanks,

dust's picture
Re: motion key

make sure you system doesn't say this when your on SL. you either do a restart holding 6 and 4 or do an up down up down 6, 4, 6 and 4 im not sure which one i do both but messed up and am in 46 bit mode now. got to make sure to hit a 6 first.

PreviewAttachmentSize
Screen shot 2009-09-13 at 10.32.19 AM.png
Screen shot 2009-09-13 at 10.32.19 AM.png27.29 KB

muqeem's picture
Re: motion key

I restarted the system and it is working now, thanks a lot for your help,

muqeem's picture
Re: motion key

One more hint, if I could have, please.

Is there any composition that do similar to this, really wanted to learn this area;

http://vimeo.com/4986460

Any hint/help/composition, is highly appreciated,

thanks a lot

cybero's picture
Re: motion key

Quote:

I am running 10.5.8 Thanks,

Thought as much, Muqeem, I am having far too little time with paperwork and wireless networking proving to be flaky after SL update to successfully compile ART in 64 bit mode or even on the plain SL boot up.

I think part of the trick BTW with the ART video is that it is a combination of osculator and Ableton Live API - see http://krisharris.org/ for original Open CV composition upon which diez based the Quartz Composer composition used in creating the exploit, perhaps he's able to give you some useful tips or maybe itsthejayj could, being a noted Live API practitioner.

cybero's picture
Re: motion key

I think you need to get that 6 to snap down to the grid a little wee bit , dust, then it might just spring back into 64 bit operation all on its own. :-)

franz's picture
Re: motion key

Hi muqeem go check: http://www.memo.tv/webcam_piano

memo was kind enough to publish his QTZ on his site. This is definetly what you are looking for. As a sidenote, Memo's patch is much more efficient and complete.

cybero's picture
Re: motion key

To totally ensure that one always run in purely 64 bit mode and get all that swiftness, do the following -

just edit one's com.Boot.plist [found in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist] to read like this,

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Kernel</key>
   <string>mach_kernel</string>
   <key>Kernel Flags</key>
   <string>arch=x86_64</string>
</dict>
</plist>

one can always make a backup of the original or re-edit the item back to having an XML entry as

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Kernel</key>
   <string>mach_kernel</string>
   <key>Kernel Flags</key>
   <string></string>
</dict>
</plist>

something for you to look forward to Muqeem :-)

cwright's picture
Re: motion key

dust wrote:
now im confused why things 64bit things are working but im not using any 64bit kernels.

The kernel's bit-ness has essentially zero impact on any application's bit-ness. Unless you have > 4GB of ram installed in your machine, a 64bit kernel will do absolutely nothing for you. Unless you have <16GB of ram installed, (so, between 4GB and 16GB of ram), you could probably get away with either the 32bit kernel without any adverse effects. There are only 2 reasons to use the 64bit kernel:

  • You have incomprehensible amounts of ram (and by incomprehensible, I mean tens of GBs of ram).
  • You want higher kernel performance (64bit mode seems to be faster all-around from my testing). Note that 99% of the time applications aren't in kernel code, so speeding it up won't magically make everything faster (in fact, it will likely be unnoticeable).

Here are the reasons not to use the 64bit kernel:

  • You machine might not accept it (My MacBook, for example, only has a 32bit EFI, so it can't boot the 64bit kernel)
  • You have any 32bit-only kexts -- these are shockingly common.
  • You have less than 4GB of ram (in 64bit mode, many things use 2x as much memory, so if you're already low on memory you'll use it up faster.)

You can run 64bit apps on the 32bit kernel. You could do that on Leopard. You could do that on Tiger. It's nothing new (you could even do it on PPC!).

You can run 32bit apps on the 64bit kernel. You lose most of the 64bit benefits (large ram access, more registers, etc), but it doesn't harm anything (it's the same as running 32bit apps in leopard).

Please don't bother with the 64bit kernel. 10.7 will probably go to the all-64bit-all-the-time setup, but Snow Leopard doesn't. Until there's actually a compelling reason to do so, just stick with Apple's default 32bit kernel unless you really understand what you're doing.

dust's picture
Re: motion key

cool thanks i have been waiting for ram to get cheaper i have to buy a 4gb chip and throw 2gb of ram to max my laptop out. my computer seems to run a tad bit faster in 64 bit mode but then again i don't think it makes much difference. i guess the 6bit kernel is a bit different. for some reason i thought you had to be running a 64 bit kernel to actually be in true 64bit mode. i understand a bit about bits, i had to memorize that stuff for for a c++ class in addition i had to learn how to convert them from hex, binary, to decimal all by hand.

unfortunately seeing i had to do these things by hand it starts to hurt after my after 16bit. thats a lot of possibilities with just 16bit. i guess im stuck in sega mode still but thats cool things will work in a 64bit context or "mode" with out running on the 64bit kernel. i haven't actually put that much thought into the 64 bit until now that i have a machine and system that can run 64bit kernels. and really the only thing i have thought about in reference to 64bit is how to enable it. i have seen the option for 64bit archetype, intel ppc builds etc.. for some time now, but usually always go with native. i suppose you learn these things quick like you have, when you are building applications and trying to please everyone and cover all modes. it must be hard actually to keep up with the developments all the time, especially when you have to no qc related work etc..

cwright's picture
Re: motion key

If you do happen to stumble across an affordable 4GB stick for a laptop, please drop me a line - I've been hunting for that for a while, to no avail :(

dust's picture
Re: motion key

i get parts usually get my ram from the IT guys on campus they seem to get the best deals. i think a 1 X 4gb ddr3 was 400 $ last time i checked. that was a few month ago. last yeas it was 5+ so thats better.

I will ask in a bit when i bring my computer in to be fixed my internal audio card has never worked since i have bought it. the IT company is cbetech.com i suggest them or a company like them. They provide a full accidental warranty and or coverage for your computer so if you drop it in the pool or something they will get you a new one.

Its actually I really good business idea it cost 250 for full coverage 3+ years which is better than apple care. the worst case is they might have to buy a logic board or something which they told me they get for 6 hundred. so they take the risk of eating 300 bucks if the logic board goes but mostly they just use existing apple care warranty to get part for your computer and fix them. i guess its like car insurance you pay them in case something might go wrong.

i forget the name of the distributer they use but i can find out they seem to be the cheapest i have found for RAM. although im sure macmall or or some other.com has something comparable. smorkis should be able to hook you up doesn't he work at a college ?