alsaproblems (want it for voicecommand)
|
30th Dec, 2013, 07:30 PM
Post: #1
|
|||
|
|||
alsaproblems (want it for voicecommand)
hello
i am trying to get voicecommand working on xbian -> http://stevenhickson.blogspot.nl/2013/06/voice-command-v30-for-raspberry-pi.html its desinend for raspbian but after modifying some links from /dev/shm to /run/shm , it starts . also installed asla, alsa must work at least a bit, i can input audio into the device, when i say computer my terminal say's found audio (it does that when it hears the command computer to start recording for a command to execute something) but audio output doesn't work. If i put the volume high i can hear it popping but that's is. this is the report of "speaker-test" Terminal speaker-test 1.0.25 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 96 to 262144 Period size range from 48 to 131072 Using max buffer size 262144 Periods = 4 was set period_size = 65536 was set buffer_size = 262144 0 - Front Left Time per period = 2.782677 0 - Front Left Time per period = 2.779870 0 - Front Left Time per period = 2.779836 0 - Front Left Time per period = 2.779815 0 - Front Left Time per period = 2.779569 0 - Front Left Time per period = 2.780090 0 - Front Left |
|||
3rd Jan, 2014, 03:37 AM
Post: #2
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
I don't want to put you off - but I believe there is still an issue with ALSA on the RPi - maybe only XBMC but there is an issue.
However, I do know that there is possible development planned for "Siri" support - but that will not be until Xbian 1 at the earliest due to lack of developers, testers and hardware. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
3rd Jan, 2014, 07:53 PM
Post: #3
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
Oke thanks for the response , it did work on raspbian , closing xbmc doesn't work , audio input does work, i'm afraid it's in the core of xbian , I was planning to use it with my home automation project , just hoping there comes asla support for v1
Btw, if you need testers just let me know |
|||
8th Jan, 2014, 12:00 PM
Post: #4
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
this will be something very very missed (stupid issue). if custom MOTD message would be removed from /etc, you won't find a difference between Raspbmc and XBian (not considering installed XBian deb packages).
there is ONE big difference though and that is custom kernel and standard use of upstart instead of sysvinit. Debian is not planning this move even for upcoming release "SID" although linux world migrated years ago. this changes as /dev/shm -> /run/shm are two years described in Debian's migration documents - only the migration is somehow still missing. we did it while trying to keep backward compatibility but nothing is 100%. I will test ALSA on RPI's analog out and report back to you. But pulseaudio tested recently with USB sound cards was no problem. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Jan, 2014, 01:02 PM
Post: #5
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
the same test works.
i suppose you have snd_bcm2835 module loaded and sound output (HDMI/ANALOG) properly set? amixer cset numid=3 1 - analog amixer cset numid=3 2 - hdmi can you please retest ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Jan, 2014, 03:12 PM
Post: #6
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
(8th Jan, 2014 01:02 PM)mk01 Wrote: the same test works. Can you post full install instructions i thin ik might missen a packagemaker but gonne try it |
|||
8th Jan, 2014, 05:20 PM
Post: #7
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
I just installed alsa and alsa-utils
Code: sudo -i test sound is going from analog output Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Jan, 2014, 11:55 PM
Post: #8
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
(8th Jan, 2014 05:20 PM)mk01 Wrote: I just installed alsa and alsa-utilsthanks good thing , speaker-test works, only thing i need to fill in "sudo modprobe snd_bcm2835" anyway to fix that Luke |
|||
9th Jan, 2014, 01:11 AM
Post: #9
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
you can put it into /etc/modules
Code: sudo -i Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Jan, 2014, 01:43 AM
Post: #10
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
(9th Jan, 2014 01:11 AM)mk01 Wrote: you can put it into /etc/moduleswell at the moment i got a bigger problem, the software is full of files you can't find easy filled with links to /dev/shm but for xbian its /run/shm anyway to fake a device to make the folder ? luke |
|||
9th Jan, 2014, 02:12 AM
Post: #11
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
software should be updated. for transition period just copy paste this and reboot:
Code: sudo -i Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Jan, 2014, 02:22 AM
Post: #12
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
(9th Jan, 2014 02:12 AM)mk01 Wrote: software should be updated. for transition period just copy paste this and reboot: thank you very much, the software seems to have a problem now to proces the voice to text I get : Terminal I got ▒/▒, which was different than what you typed: computer it can heir the diffrent volume's with the treshold test but it can't hear wat you say, in normal mode it just keeps saying "no translation" I'm afraid something is wron with asla to recieve input luke |
|||
11th Jan, 2014, 08:26 PM
Post: #13
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
Hey,
got it working my usb card seemed to be dameged so, now every time i want to run it i need to run Terminal sudo voicecommand luke Edith: are there terminal commands to post xbmc actions like the arrow's, okay button, play pause button's etc. |
|||
13th Jan, 2014, 07:58 PM
Post: #14
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
Just a small tip from me to keep commands running even when closing shell:
Put nohup in front of the command and it will keep running. Code: sudo nohup voicecommand For autostart via xbian-config you could create an own simple service script in /etc/init.d and register it in /usr/local/include/xbian-config/config/services |
|||
14th Jan, 2014, 01:58 AM
Post: #15
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
Thanks for the response but how do I make this script and what should it contain?
Luke |
|||
« Next Oldest | Next Newest »
|