Skip to content

Instantly share code, notes, and snippets.

@pineapplehunter
Last active March 24, 2022 01:08
Show Gist options
  • Save pineapplehunter/16c51a204d1f1d85178d59f245ca5978 to your computer and use it in GitHub Desktop.
Save pineapplehunter/16c51a204d1f1d85178d59f245ca5978 to your computer and use it in GitHub Desktop.

aiyprojectメモ

音声の再生と録音チェック

キットに付属のオーディオを探すようになっているので標準的なオーディオでも使えるように調整

/boot/config.txt#を外す

dtparam=audio=on

/home/pi/AIY-projects-python/checkpoints/check_audio.pyを書き換える。

136,137c136,137
<     if not check_sound_card_present():
<         return
---
>     #if not check_sound_card_present():
>     #    return

認証情報がうまく更新できない

assistant.jsonを書き換えているのに変なエラーが出る

.cache/voice\**のディレクトリを削除してからやり直すとうまく動く

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment