Raw microphone access in Air 2.0
The Guys from Merapi pointed me towards their AS3-only branch on SVN.
It took me while the get my test running, mainly because I forgot to use the registerClassAlias function in flash, which ended up in Java not recognizing my messages.
After a succesful test, I quickly hacked a swf-module that could be loaded into version 2 of the Ukulele Chord Finder ( version 1 can be found at http://www.ukulele.nl ) that we have under development.
So now we can talk to Merapi Straight from the browser.
I also managed to turn the Java Side of the Merapi-Bridge into a Mac application.
So here’s a video of the things I made.
I Just started to prototype the ledUkulele.
I got myself a max7221 IC and hooked it up to the arduino board.
I’m now thinking of good way to wire the 4*16 matrix
basically a 8×8 matrix but the physical postion of the odd rows is behind the even rows.
Designing this matrix on a breadboard sucks (too many wires), so I need to come up with a better way without soldering. (suggestions welcome)
I’m thinking about a new experiment.
Here’s the thing, I love playing Ukulele. Once a Month we organize a playalong.
There are people who never played an instrument before and others that are regulars.
Together with my Friend Marcel, creator of ukulele.nl has made a really nice chordfinder
I will be making a version 2.
Here’s the though: what if ?:
I could build a Ukulele that shows the fingering of the chords ON THE UKULELE!
And even have it sync to the chords shown on screen?
What do you think, wouldn’t this be a cool Merpai/Arduino/Ukulele project?
At Flex360 The Merapi-project went open-source.
So I decided to convert the LivingColors Experiment back from a server client model (Wowza + flash client) back to a single machine setup.
So I got an arduino-board and custom shield, a java-application that connects to the serial port on one side and to an Air-app on the other via the Merapi Bridge. The Air app gets an average color from the center of a webcam image and sends it to the java, which in turn sends the number (color) to the serial port. That’s all.
I do need to tweak some stuff, so that there’s less jitter.
[update]
More on the Arduino – Livingcolors shield can be found here : http://static.knutsel.org/kits/CC2500_Arduino_Shield_v03/ (in Dutch).
I’m working on a new Arduino experiment.
My friend Ivo Noorhof made a new arduino shield.
I’m hacking together some Flash-Arduino interaction for this shield.
I will “Shed More Light” (wink wink) on the subject soon.
Try this…
Create a context menu, for instance to go fullscreen.
Make sure it works.
Now add a Video Object, attach a cam (or play an flv– more work ![]()
and right click on the video object to show the contextmenu…
now select fulscreen…. and nothing happens
I can’t get this to work. It only fails if I rightclick on a videoobject..
Any thoughts?
A lot of you may know that it’s nearly impossible to create an Actionscript Project in fexbuilder 3 Where the Main Class is in a subdir of the project dir (so that you can keep the Main Class in the same package as the rest of your files).
Today, at Colin Moock’s AS3fromthegroundup session in Amsterdam, I confirmed that it is in fact possible in 2 ways.
The Second way is to create your Project as normal.
Move your Main Class File to the correct (package) dir.
Close Flexbuilder.
Edit the .actionScriptProperties file in the ProjectDir
and set the
tag to the correct location.
Happy Coding,
Ow and Colin.. (and OReilly) thnx for the Prize.
I’m a Doctor Jim, Not an Actionscript3 Programmer..