Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME and sounds, possible??

 
i,Fran Bane
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people, my first post!!!

I want to create a simple guitar tuner using midp2.0, does the libraries make this possible? Im completely new to j2me. basically i need to interact with the speakerphone. and analyze the guitar chord played...

what do you think? any help would be great. thanks.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Agarash"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a very ambitious idea.

I don't think it is possible for a recording to know what note it is. Or to compare sounds to each other based on their relativity pitch.

If you do, I'd love to have that on my cell phone, even though my amp has a built in tuner.

Mark
 
i,Fran Bane
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im sure a guitar tuner is possible? how do they work then?
 
Stig Perez Rasmussen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would have to agree with Mark - the MIDP 2.0 specification does not mention any requirements regarding frequency recognition. It simply states wireless units with "The ability to play tones, either via dedicated hardware, or via software algorithm".

Still, I could imagine the "voice dial" feature recognizes different soundpatterns. So the technology is already available on the phone, but you cannot control it through the MIDP 2.0 profile:

"...The emphasis on the MIDP APIs is, again, on enabling application programmers, rather than enabling system programming. Thus, low-level APIs that specify a system interface to, for example, a MID's power management or voice CODECs are beyond the scope of this specification."

I could imagine it would be possible if you managed to make the mobile unit use a Multimodal browser (developed by IBM, Opera and Motorola) and then create individual voice controlled fields, but this would still be at the application level rather than the system level.

Unless you mean for the mobile unit to simply play a given note (i.e. frequency) which is entirely possible - if this is the case then you might wish to check this out:

http://www.mikekohn.net/j2me.php (under "Guitar Tuner")
[ September 03, 2005: Message edited by: Stig Perez Rasmussen ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic