Turn of the beep sounds on Pepper robot

左心房为你撑大大i 提交于 2019-12-10 12:05:14

问题


The Pepper robot use beep sounds to indicate when it start and end listing to something.

This nerves a lot.

Is there a way to turn this off without decreasing the main volume?


回答1:


Erasing wavs is a bit rude :)

You can simply disable the audio feedback by using calls to the ALSpeechRecognition method nammed setAudioExpression.

asr = ALProxy("ALSpeechRecognition")
asr.setAudioExpression( False )

More info about this api can be found here: http://doc.aldebaran.com/2-5/naoqi/audio/alspeechrecognition-api.html




回答2:


The files of the sounds you mention are located here:

/opt/aldebaran/share/naoqi/wav/begin_reco.wav
/opt/aldebaran/share/naoqi/wav/end_reco.wav

You could replace that file with silence, but without root access I dont think it is possible.



来源:https://stackoverflow.com/questions/52857432/turn-of-the-beep-sounds-on-pepper-robot

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!