0
我正在嘗試在我的pi3上設置Google家庭助理,但我遇到麥克風問題。當我跑麥克風測試它說沒有文件存在:爲谷歌助理設置USB麥克風
$ arecord --format=S16_LE --duration=5 --rate=16k --file-type=raw out.raw
arecord: main:722: audio open error: No such file or directory
據谷歌開發者,我需要建立一個名爲.asoundrc用下面的命令目錄說明:
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type plug
slave {
pcm "hw:<card number>,<device number>"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:<card number>,<device number>"
}
}
當我運行這個命令,雖然我得到這個錯誤:
bash: !default: event not found
我將不勝感激任何反饋!
並確保您已添加卡號和設備號碼而不是「,<設備號>」 請正確閱讀上述鏈接中的說明。 :) –
Ishanka25