Sounds
- 1 Minute to read
Sounds
- 1 Minute to read
Article Summary
Share feedback
Thanks for sharing your feedback!
1. Overview
Sounds controller allows playing predefined and custom sounds in the robot.
2. List of pre-defined sounds
You can find a list of predefined sounds, including suggested use cases for each of them under this section.
3. Using the controller
Creating the controller in your app:
from raya.application_base import RayaApplicationBase
class RayaApplication(RayaApplicationBase):
async def setup(self):
...
self.sound = await self.enable_controller('sound')
...
Sounds controller methods:
Each method page includes standalone examples of their use.
4. Example
Was this article helpful?