2016-09-27 156 views
0

有人可以幫助我設置我的RPi 3.我打算用我的遊戲耳機創建語音識別和語音識別(Creative Technology,Ltd聲音衝擊波戰術(3D)Sigma聲卡)。揚聲器現在正在工作,但不幸的是我被困在設置麥克風。設置樹莓派3 USB麥克風(創造性的聲音衝擊波)

在我調整了設置之前,我可以錄製/創建一個wav文件,但每當我播放wav文件時就沒有聲音。更改一些設置後,我遇到下面的新錯誤。提前致謝!

錯誤:

[email protected]:~ $ arecord -D plughw:0,0 test9.wav 
Recording WAVE 'test9.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono 
^CAborted by signal Interrupt... 
arecord: pcm_read:2031: read error: Interrupted system call 

CONFIGS:

〜/ .asoundrc

pcm.!default { type plug slave { pcm "hw:0,0" } } 
ctl.!default { type hw card 0 } 

/usr/share/alsa/alsa.conf

defaults.ctl.card 0 
defaults.pcm.card 0 
defaults.pcm.device 0 
defaults.pcm.subdevice -1 

/lib/modprobe.d/aliases.conf

options snd-pcsp index=-2 
options snd-usb-audio index=0 
options snd_bcm2835 index=1 
options cx88_alsa index=-2 
options snd-atiixp-modem index=-2 
options snd-intel8x0m index=-2 
options snd-via82xx-modem index=-2 

# Does the reordering. 
options snd slots=snd-usb-audio,snd-bcm2835 

aplay -l

[email protected]:~/Desktop $ aplay -l 
**** List of PLAYBACK Hardware Devices **** 
card 0: Sigma [Sound Blaster Tactic(3D) Sigma], device 0: USB Audio [USB Audio] 
    Subdevices: 1/1 
    Subdevice #0: subdevice #0 
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] 
    Subdevices: 8/8 
    Subdevice #0: subdevice #0 
    Subdevice #1: subdevice #1 
    Subdevice #2: subdevice #2 
    Subdevice #3: subdevice #3 
    Subdevice #4: subdevice #4 
    Subdevice #5: subdevice #5 
    Subdevice #6: subdevice #6 
    Subdevice #7: subdevice #7 
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] 
    Subdevices: 1/1 
    Subdevice #0: subdevice #0 

的arecord -l

[email protected]:~/Desktop $ arecord -l 
**** List of CAPTURE Hardware Devices **** 
card 0: Sigma [Sound Blaster Tactic(3D) Sigma], device 0: USB Audio [USB Audio] 
    Subdevices: 1/1 
    Subdevice #0: subdevice #0 

回答

0

更新

我已成功地解決問題!事實證明,當我運行alsamixer時,~/.asoundrc配置文件會自動更新。我的配置被新的設置覆蓋。