简体   繁体   English

如何将带麦克风的蓝牙扬声器连接到Pi Zero W并与Google Assistant结合使用

[英]How to connect Bluetooth speaker with mic to Pi Zero W and use it with Google assistant

please could someone help me. 请有人可以帮我。 I'm trying to connect my Bluetooth speaker with microphone to my Pi Zero W as the Zero W doesn't have a 3.5mm jack. 我正在尝试将带麦克风的蓝牙扬声器连接到Pi Zero W,因为Zero W没有3.5mm插孔。 Also after that could someone show me how to set it as the audio input and output for the Google Assistant. 然后,有人可以告诉我如何将其设置为Google Assistant的音频输入和输出。 Thanks 谢谢

I found this blog extremely useful http://youness.net/raspberry-pi/bluetooth-headset-raspberry-pi-3-ad2p-hsp . 我发现此博客非常有用http://youness.net/raspberry-pi/bluetooth-headset-raspberry-pi-3-ad2p-hsp Plus the blogger is happy to give support about his post. 另外,博客作者很乐意为他的帖子提供支持。 Mainly Pulseaudio is required. 主要是需要Pulseaudio。 You would be using the bluetoothctl command to detect your Bluetooth device, to pair and to connect. 您将使用bluetoothctl命令检测您的蓝牙设备,进行配对和连接。 With Pulseaudio active you would be using pacmd set-default-sink and pacmd set-default-source to make your audio device available for the system, including the Google Assistant sdk. 启用Pulseaudio时,您将使用pacmd set-default-sink和pacmd set-default-source使您的音频设备可用于系统,包括Google Assistant sdk。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM