Being both an amateur musician and a lazy programmer, I decided I needed an ear training application for my mobile phone. Unfortunately I couldn't find any available on the web so I decided to code my own.
This is all experimental, very alpha, etch etch. So if your mobile phone explodes, please don't come after me. BUT if your ear gets better, or you have ideas for further developemnt, or you want to take a look at the source code and help me make it better, just let me know...

domenica 23 marzo 2008

ChickenEar, flash lite version...


Ok, I wanted to check flashLite out... I thought the graphics part would be a lot easier in flash, and it is...

Still the audio support is a bit complicated...
I had to create one single note midifile for each possibile note and load it into flashlite. Adobe should really add some kind of midi.playNote method to flashlite, you could come out with some great portable music apps if thy did...

Anyways, this time you are fighting a very annoying chicken, make sure you kill him before it gets ya...

You need flashLite 2.1 for your phone model... have a look at the adobe web site, you can get it there...

Then just install this:
uh BTW, I need a better name than ChickenEar...

MidiInvasion, midi enabled mobile java version

I still have to figure out how to handle note length in mobile processing. I am using this excellent MSound library it has a noteOn and noteOff method. I suppose I'll have to write a noteObject that uses milliseconds to time a call to itself and just go off.

Whatever...

Meanwhile, if you want to give a try to the midi version here it is...
MidiInvasion.jar
it uses a piano note, middle octave.

PitchPocket for Java Enabled Phones


Ok, as you can see from the screenshot here this is very basic stuff...

This thing was made using Mobile Processing , a very nice and promising developement framework java for mobile applications.

The idea is as simple as it gets... destroy the spaceship (ehm, lets say the colored circle) before it gets down to the earth. You know, the old story...

Every space ship emits one note, you use your phone's keypad to play the 'defense' note, and if you hit the right one... guess what... the spaceship will disappear and our planet will be finally safe... but..uh...wait.. one more ship coming!!

Ideas for developemnt:
  • Draw a better spaceship maybe? Anyone have a space invaders spaceship image I can borrow... I love those..
  • Different levels: say the invading note could be chosen on different octaves, that makes it more difficult to guess..
  • Different spreads, you could start only with smaller intervals, or maybe only with some intervals, and then widen up
  • Interval recognition instead of note recognition: harmonic intervals, arpeggios...
  • Fix some bugs

Known bugs:
On some phones (as my nokia 6630) there seems to be a problem when two notes are playing at the same time. This will soon (ah ah, ehm, no, really soon..) be fixed.. meanwhile just wait for the alien to play its note then grin and play yours..
On most phones it works fine though...

Again, on my nokia6630 there seems to be a problem with the mobile processing library, so midi can not be used.
This is why this version uses system sounds. There a bit 80's retro kind of, but when you get used to them they are not bad...
I will publish a midi version soon, with a nice piano note being played...

anyway get it here:
PitchPocket

and let me know what you think...