n900 voice recognition

The n900 really needs some sort of voice recognition. While the keyboard is nice, it’s sometimes a real pain and I really just want to be able to tell it ‘find all restaurants nearby’ or ‘call X”. There are a few options when it comes to voice recognition, I think the most likely to work well enough is CMU Sphinx especially now with the advent of pocketsphinx. pocketsphinx is specifically designed to be small and fast and it seems to deliver on both points. I build the pocketshpinx libraries for the n900 (patches to the upstream version of pocketsphinx are available here) and I’ve been playing around with them for the past two days. The accuracy is good enough and integration with the rest of the system so that you can give commands like switch task should be doable. To test things out and get my feet wet I’ve been using a quick python script called voximp, it’s simple to set up and it’ll let you issue commands immediately.

The new packages are available from the standard optified repository: gstreamer0.10-pocketsphinx, libpocketsphinx1, libpocketsphinx-dev, libsphinxbase1, libsphinxbase-dev, pocketsphinx-hmm-en-hub4wsj, pocketsphinx-hmm-en-tidigits, pocketsphinx-hmm-zh-tdt, pocketsphinx-lm-en-hub4, pocketsphinx-lm-zh-hans-gigatdt, pocketsphinx-lm-zh-hant-gigatdt, pocketsphinx-utils, python-pocketsphinx, python-pocketsphinx-dbg, python-sphinxbase, python-sphinxbase-dbg, sphinxbase-utils.

Hopefully I’ll get around to wrapping all of this in scheme bindings and a gui sometime soon, and now that I have MCE bindings I should even be able to implement placing calls by voice tags.

36 Responses to “n900 voice recognition”

  1. Evren Esat Özkan says:


    Thank you for porting, packaging and putting it to your repo. I’m a Python programmer and want to learn how to use it on my scripts. I’ve tried the voximp.py but got an error on n900 pr1.2;

    Traceback (most recent call last):
    File “voximp.py”, line 190, in
    app = Voximp()
    File “voximp.py”, line 50, in __init__
    File “voximp.py”, line 56, in init_gst
    + ‘! pocketsphinx name=asr ! fakesink’)
    glib.GError: no element “alsasrc”

    How can I solve this, should I change “alsasrc” with another descriptor?


  2. GA says:

    Evren – try replacing alsasrc to pulsesrc.

  3. required says:

    Works nice on my n900, congratulations.
    How can i add acoustic model for other languages (looking for french) ?

  4. OK says:

    Hi, I am kind of new to this. How exactly do I download this onto my N900?

  5. Reader says:

    Where do I take xdotool from?
    I have downloaded voximp script, installed gstreamer0.10-pocketsphinx, pocketsphinx-hmm-en-hub4wsj and python-pocketsphinx
    voximp seems to work, but it periodically complains about lack of xdotool and xmms2
    Of course, it does nothing because there is no xdotool to emulate text input.

  6. Andrei says:

    I think I might have compiled it from source, I can’t remember anymore. You can try searching the maemo forums, it’s a decently popular tool, I’m sure someone has a package for it.

  7. Mark says:

    Hi Andrei,
    Are we able to use this set of Apps to make calls by simply saying a contact name, or by recoding a voice tag and attaching to a contact?
    Appreciate the work you have done on this as there is no other voice dialing app available for the N900.

  8. Andrei says:

    Hi Mark,

    I made voice calls once upon a time by saying the contact’s name. You could do it by a tag as well if you wanted to. I just wrote a trivial little script to do it, nothing fancy, more of a proof of concept but it was quite useful in the end.

    But then Nokia came out with PR1.2 and screwed up all of the shared libraries for Qt. Then they announced that they won’t be putting much work into maemo (or meego) anymore. So I haven’t bothered updating the eggs to PR1.2. All of the information and scripts about how to regenerate them is out there, so you can do it if you really wanted to.

  9. Miguellary says:

     Una volta ho ottenuti nuovo home I soli gard pensano che il formaggio pimento. Così ho Googl e trovato di il ricetta. E i scoprire article ( la ricetta chili di formaggio) dall’interno Gourmet magazine . Spesso cose che catturano inserisce la nostra intr curiosità più . E chili di formaggio fatto.
    air jordan italiaBotas Ugg Tutti Cosa sabe las Botas Ugg figlio descuento muy famosos personas y muchas Usan los para cada temporada. S, se puede usar en el verano porque ESTN Hechos di piel de oveja a Qubec refrescarse puede los torte en verano en invierno y CLIDA. Volume Botas Ugg Baratas di piel de oveja fue non acto de la moda y el diseo Semplice noto Entre los adolescente especialmente las estrellas y las Nias. Hoy Botas Ugg C? Nuestra vida me FCIL ms.

  10. Miguellary says:

    Primero consigue idolatrar u repugnar los Mismos, Botas UGG Australia Espa? ha todo el Momento è establece\r
    transmitido meterse los Mismos dire? Sono ossa semplice raffinazione, sin embargo respecto di actualidad. Justamente platicando, cabizbajo Che fcilmente disfruta gastado aun ac Beneficio los Botas
    revelacin disposicin meterse Calzado. El pueblo pagar los zapatos consigue Mismos. Consiguen oportunidad respecto di discutir La Madera zapatos junto con bajo favoritas favoritas. L’istinto\r
    I personaggi Mayora de las meterse EE. UU. Se Pretende CONOCER UGG.\r
    louboutin scarpeDukanee è fondamentalmente molto Navigazione on line Shop Duba ?. Per Donne , si scopre che si scopre che puoi trovare scarpe di fascia alta Introdotto accettabile Tariffe . Inoltre, per le signore per le ragazze , scoprirete attraente main | portafoglio. Questo compravendita in rete Rivenditori migliore marche vicino a di mondo buono offerta , con grandi offerte su scarpe e borse. More , troverete meraviglioso Servizi Consulenze totalmente gratuito Offro dal Navigazione on line negozio Dtail.

  11. I believe this is among the such a lot significant information for me. And i am glad reading your article. But wanna remark on few basic things, The website style is ideal, the articles is in point of fact nice : D. Excellent process, cheers

  12. HenryYF says:

    Zija Nutrition Drink

  13. xinqing321 says:

    hello xinqing!


    a welcome to my website to visit my arcticle, you will find what you like! spin

    My website have a lot of rice cooker brand, which has a lot of function you can pick, then you can choose your own rice cooker to cooking food. don’t miss it. go!
    WebSite:best rice cooker


  14. Stanton says:

    Your efforts on resume writing will only worth it when you have done an effective
    job. How to Reflect Physical Strength in a Railroad Job Resume.
    The best resume that I have ever seen was in one of
    the editions of What Color is Your Parachute.

    Also visit my site; cover letter writing (Stanton)

  15. spencKi says:

    I’ve just stumbled upon a new racing game for android, it’s called Real Race: Asphalt Road Racing and it looks almost like a racing sim with arcade gameplay.
    It has some really advanced AI and I’ve played already ten times in a row or so and it’s still fun and engaging. It’s kinda cool to race and defeat other racers on six or so tracks. Game feels like grand prix with GT cars like ferrari or porsche. Racing around deserts and steppes, avenues and roads, it’s like Need for Speed Carbon or Most Wanted, and as a matter of fact the newest part, NFS: Rivals. There are no chases with the police, but perhaps it’s for the best as multiplayer gameplay gives ample occasion to prove your cool underground drag racing skills.
    On-screen high speed gives a feel of actually being there and racing with top drivers as seen in TV. Adrenaline rushes are numerous.

    On a scale of 1 to 10 I’d give it a strong 8. List of features is almost staggering, so is its replayability. Outrunning the leaderboards really caughts you and you’re instantly drawn in. It really reminded me of Fast and Furious. Overall it’s a great, challenging free game.
    Real Race: Asphalt Road Racing game on Google Play

  16. Masajes con final feliz de máximo placer

  17. Je peux te dire que ce n’est guère incohérent !!!

  18. I’m extremely impressed with your writing talents as well as with the structure on your blog. Is that this a paid theme or did you modify it your self? Either way keep up the excellent quality writing, it is rare to see a great weblog like this one nowadays..

  19. Michale says:

    Je n’ai guère terminé de lire cependant je reviendrai après

  20. X says:

    Јe mme ƿermets dde pօster un com dans le but ԁde féliciter son auteur

  21. Mitchel says:

    Je vais vous dire que ce n’est pas inexact ..

  22. X bonasse says:

    Encore un post sincèrement instructif

  23. Vous nous concoctez toujours des articles attractifs

  24. I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz answer back as I’m looking to create my own blog and would like to find out where u got this from. cheers
    sosdatenrettung http://www.sos-datenrettung.com/

  25. The update news in packing industry for stretch wrapping machine and wrapping solution, which is least news for the marketing and ender user
    pipe packaging line

  26. Je poste un commentɑire simplement pour remercier son auteur

  27. DanielOn says:

    Chinese supplier for tyre packaging solution to save the labor cost.

    It is a very fast equipment for your tyre pacakging.

    tyre wrapping machine

  28. sem china says:

    Hello, i think that i ssaw you visited myy weblog thus i came to “return thee favor”.I
    am trying to find things to improve my website!I suppose its okk
    to use a few of your ideas!!

  29. Dedra says:

    By definition, a short sale will result in a deficiency
    in the amount you owe the lender after you sell your home.
    Analysts estimate that this foreclosure crisis is likely to continue well into 2010 as unemployment numbers continue to
    rise and more home owners find themselves with loans they cannot pay.
    This is because normally the answer to how stretched after bankruptcy can you purchase a house is,
    atleast 2 number of years. Saving up, taking up company policies, looking at bank privileges, paying taxes on time
    and many more basic things that most people tent to miss out on, should be attended to unless you want to be bankrupt although.

    Have a Father or mother Create Your Name to Their Credit score Card.

    Also visit my blog post; getting a mortgage after foreclosure

  30. Hi to every one, it’s in fact a pleasant for me to pay a quick visit this website, it includes important

  31. Tremendous things here. I am very satisfied to peer your article.
    Thanks a lot and I’m looking ahead to contact you. Will you kindly
    drop me a e-mail?

  32. Abrir puertas por perdida de llaves han olvidado llaves en residencia local.

  33. saskmbmoo says:

    . Brian et encore Anthony gagné pour flambant neuf York , juste qui ralliés à partir d’un plage la première fois dans le 88 ans l’histoire de la franchise . La réelle parvient à faire derrière à l’arrière de associé à Lundqvist, qui qui tous empêché en finale 105 photos il souffert dans le jordan 3

  34. Jonna says:

    En cerrajeros Majadahonda en contamos por personal técnico cualificado y reponsable.

  35. Centrárse en la alimentación como medio para reducir los brotes
    y periodos de remisión prolongados no es tan complicado como
    puede parecer.

  36. Somerset B&B says:

    I wondered if you do link building for your website? Many people told me not to do that anymore
    p.s Never take guidance from people on the Warrior Forums haha

Leave a Reply