Code Monkey home page Code Monkey logo

Comments (22)

alexylem avatar alexylem commented on May 24, 2024

C'est pourtant visible sur la copie d'écran:

  • Mic (hw:1,0) ➡️ Détection, Choix et Test du micro
  • Sensitivité ➡️ Réglage de la sensibilité du micro

Qu'est-ce qu'il te manque?

from jarvis.

patrick95470 avatar patrick95470 commented on May 24, 2024

salut Alex,

si tu cliques tu sensitivité , la console n’apparut pas ;-)

merci

patrick

Le 28 juin 2016 à 19:42, Alexandre Mély [email protected] a écrit :

C'est pourtant visible sur la copie d'écran:

Mic (hw:1,0) ➡️ Détection, Choix et Test du micro
Sensitivité ➡️ Réglage de la sensibilité du micro
Qu'est-ce qu'il te manque?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #26 (comment), or mute the thread https://github.com/notifications/unsubscribe/ANDNHIHNhyyDpGsuUexVsfr3WPo0iS19ks5qQVz9gaJpZM4I_9kj.

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Peux-tu lancer ca dans la console et me dire le résultat?

alsamixer -c 1 -V capture

from jarvis.

patrick95470 avatar patrick95470 commented on May 24, 2024

Alex,

je ne suis pas chez moi, je regarderai à mon retour, c’est pour vérifier si la config est bonne ( que je pointe bien la bonne carte ) ?

patrick

Le 29 juin 2016 à 08:06, Alexandre Mély [email protected] a écrit :

alsamixer -c 1 -V capture

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

C'est la commande que devrait lancer Jarvis (par rapport à ta config) et comme tu me dis que ca ne marche pas il devrait se produire une erreur. Cela me permettra d'investiguer pourquoi ca ne marche pas chez toi (chez moi ca marche très bien).
Vérifie bien avant tout que le Micro sélectionné (menu Settings > Audio > Mic) est le bon et fonctionne bien...

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

J'ai modifié Jarvis pour afficher directement l'erreur. Mets à jour et re-sélectionner "Sensitivity", l'erreur devrait être visible dans la console.

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Je viens d'installer ma nouvelle PS Eye fraichement recu, et après un reboot j'ai aussi une erreur en accédant au réglage de la sensibilité (mais le micro marche!):

cannot load mixer controls: Invalid argument
ERROR: check above

As-tu la même chose?
Je regarde pour régler ca...

from jarvis.

patrick95470 avatar patrick95470 commented on May 24, 2024

Oui tout pareil

-------- Message d'origine --------
De : Alexandre Mély [email protected]
Date : 29/06/2016 21:04 (GMT+01:00)
À : alexylem/jarvis [email protected]
Cc : patrick95470 [email protected], Author [email protected]
Objet : Re: [alexylem/jarvis] Menu Sensitivity ne s'ouvre plus (#26)

Je viens d'installer ma nouvelle PS Eye fraichement recu, et après un reboot j'ai aussi une erreur en accédant au réglage de la sensibilité (mais le micro marche!):

cannot load mixer controls: Invalid argument
ERROR: check above

As-tu la même chose?

Je regarde pour régler ca...


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Pas lié à Jarvis:
http://stackoverflow.com/questions/26661497/alsa-cannot-read-control-invalid-argument-raspberry-pi

When I attempt this in alsamixer, it exits with the following error when I use F6 to change to the PS Eye soundcard:

cannot load mixer controls: Invalid argument

from jarvis.

patrick95470 avatar patrick95470 commented on May 24, 2024

ok merci

patrick

Le 1 juil. 2016 à 00:07, Alexandre Mély [email protected] a écrit :

Pas lié à Jarvis:
http://stackoverflow.com/questions/26661497/alsa-cannot-read-control-invalid-argument-raspberry-pi http://stackoverflow.com/questions/26661497/alsa-cannot-read-control-invalid-argument-raspberry-pi
When I attempt this in alsamixer, it exits with the following error when I use F6 to change to the PS Eye soundcard:

cannot load mixer controls: Invalid argument

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #26 (comment), or mute the thread https://github.com/notifications/unsubscribe/ANDNHEL-yV6_KMJZYeQi8f1vC3-rXnuYks5qRD46gaJpZM4I_9kj.

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Problème vraisemblablement lié au hardware ou driver de la PS Eye.
La même erreur apparait lorsqu'on ouvre alsamixer et change manuellement la carte avec F6.
Donc aucun fix possible à ce niveau la.

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Merci à @physicien qui a trouvé la config suivante pour augmenter le gain de la PS Eye, à tester:
http://markferry.net/pmwiki/pmwiki.php?n=MediaCentre.VoiceRecognition

The PS3 Eye is a camera with a 4-channel array mic.

~/.asoundrc

## Suggested by http://julius.sourceforge.jp/forum/viewtopic.php?f=9&t=66
pcm.array {
  type hw
  card 0
}

pcm.array_gain {
  type softvol
  slave {
    pcm "array"
  }
  control {
    name "Mic Gain"
    count 2
  }
  min_dB -10.0
  max_dB 5.0
}

pcm.cap {
  type plug
  slave {
    pcm "array_gain"
    channels 4
  }
  route_policy sum
}

pcm.!default {
    type asym

    playback.pcm {
     type plug
      slave.pcm {
        @func getenv
        vars [ ALSAPCM ]
        default "hw:0,0"
      }
    }
    capture.pcm {
        type plug
        slave.pcm "cap"
    }
}

from jarvis.

YuukanOO avatar YuukanOO commented on May 24, 2024

De mon côté, le micro de la PS Eye fonctionne mais le volume d'acquisition est beaucoup trop bas, du coup ce n'est pas utilisable tel quel. Des idées pour augmenter le gain du micro ?

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

@YuukanOO as-tu essayé la méthode proposée ci-dessus (voir mon post juste au dessus du tiens)?

from jarvis.

YuukanOO avatar YuukanOO commented on May 24, 2024

Yep, mais le volume reste trop faible. J'arrive à peu près à quelque chose de correct en supprimant min_dB et en mettant le max_dB à 20. Avec rec je m'enregistre bien partout au rdc. Il me reste cependant à trouver le bon réglage côté jarvis en terme de différents seuils.

Par contre, snowboy fonctionne du feu de dieu, même avec mes premiers réglages, peut-être faudrait-il creuser dans leur manière d'acquérir l'audio, j'avoue ne pas trop m'y connaître à ce niveau.

from jarvis.

yala37 avatar yala37 commented on May 24, 2024

Bonjour à tous,

Avez vous trouvé une solution pour augmenter le gain du Micro de la ps3 EYE dans le contexte de STT Bing?

J'ai l'impression que Snowboy lui augmente le volume de la capture audio prise afin de compenser la faiblesse de certains micros.

J'utiliserai bien uniquement snowboy (magicword + commande) mais dans ce cas les conversation avec jarvis ne prennent jamais fin (jarvis ne revient jamais en attente de magicword).

merci d'avance,

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

@yala37 as-tu testé les manips proposées plus haut?

from jarvis.

yala37 avatar yala37 commented on May 24, 2024

Oui en effet, pas mieux, mais je ne sais toutefois pas si elles s'applique bien, faut il relancer autre chose que jarvis pour la prise en compte?

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Je ne sais pas je n'ai pas essayé (j'ai le PS3 Eye aussi mais j'ai pris l'habitude de parler près)

from jarvis.

yala37 avatar yala37 commented on May 24, 2024

Même en parlant très près la reconnaissance se fait une fois sur 10. en mode Troubleshoot, j'entend ma voix coupé dès le début de ma phrase la pluspart du temps, exemple ("allume la...." => pour "allume la lampe"). peut être est ce une autre timeout ou seuil de silence?

from jarvis.

alexylem avatar alexylem commented on May 24, 2024

Oui pb de seuil de silence, à régler avec les settings de sox dans Settings > Audio.
Voir #112

from jarvis.

yala37 avatar yala37 commented on May 24, 2024

merci à toi, c'est ce que je viens de faire en // et ça marche déjà mieux (passé à 1 la valeur : "Min silence level to stop").

from jarvis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.