Welcome to ROSMASTER M1 PRO repository
9.Custom Wake-up Response
Custom Wake-up Response
1. Course Content
Add audio files to the multi_brains program audio library to customize the voice response audio after wake-up.
Note
This part of the tutorial is for reference only for users who need to customize a personalized voice response audio; it does not affect normal use.
If you do not need to customize a personalized response audio, you can skip this lesson first.
2. Preparing Audio Files
Here, the audio material for the voice response can be downloaded and prepared by yourself.
3. Loading Audio Files
multi_brains system audio path:
~/yahboomcar_ros2_ws/yahboomcar_ws/src/multi_brains/system_vioce

Among them:
zh is the Chinese reply voice, suitable for domestic users. Put the prepared audio files into the directory:
xxxxxxxxxx~/yahboomcar_ros2_ws/yahboomcar_ws/src/multi_brains/system_vioce/zh/wakeup
en is the English reply voice, suitable for international users. Put the prepared audio files into the directory:
xxxxxxxxxx~/yahboomcar_ros2_ws/yahboomcar_ws/src/multi_brains/system_vioce/en/wakeup
After that, when the multi_brains program is started, it will automatically load the audio files in the corresponding directory, and will randomly play the personalized reply voice when the user wakes it up.