Currently Browsing: Personal

test

test

New analog toy

Next up…learn how to play

Whoohoo

Whoohoo

Raw microphone access in Air 2.0

http://theflashblog.com/?p=1426

Flash now talking to breadboard prototype

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.

[Javascript required to view Flash movie, please turn it on and refresh this page]

prototyping of ukulele arduino and merapi started

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)

Thoughts about my next experiment, ukulele arduino and merapi

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?

Merapi now open source, converted arduino experiment

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).

merapi_webcam_livingcolors

[Javascript required to view Flash movie, please turn it on and refresh this page]

Working on new Arduino Experiment

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.

Context Menu doesn’t fire events when clicked on Video Object

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?

Flex builder 3 And Path to Main Class

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.

When you start a new project you can do the following:
Before you do “New ActionScript Project” create a folder structure where you will put your project somewhere in your workspace dir create a folder for your project.
I like to add a “src” subdir as a sourcefolder so I can put this folder into subversion.
next create a subdir for your package. So it might look something like this:flexb3_classpaht_1.jpg
Then go to flexbuilder a create a New ActionScript Project:
using the folder we’ve created as the location and click Nextflexb3_classpath_2.jpg
On the next screen make sure you’re pointing to the right source dir (src in my case)
Now comes the tricky part If you try to locate the Main Application file using the Browse button,
you won’t succeed. Just type in the correct path.. so:
mypackage/TestMainclassPath.asflexb3_classpath_3.jpg

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..

« Previous Entries