Currently, the InventorHub.speaker only supports play_notes() and beep(). This makes it difficult to implement rich sound effects or realistic RC car engine sounds (such as for the Lego Technic Audi or custom creations) using only the hub's internal storage and spe
It would be amazing if Pybricks could support importing and playing custom audio files directly from the hub for standalone execution.
We understand the hardware constraints of the hub, so we don't expect high-quality MP3 playback. Even supporting very low-quality, small-sized 8-bit mono WAV files would be absolutely perfect and highly appreciated. Even a few short sound clips would drastically improve standalone robot projects.
- Using
play_notes() to mimic sound effects, but it is limited to simple buzzer-like melodies.
- Streaming audio cues to a connected PC/smartphone via
pybricksdev, but this removes the ability to run the robot fully standalone in the field.
Many users who migrated from the official Lego Mindstorms app miss the custom sound block feature. Supporting even low-bitrate WAV file playback on MicroPython would be highly valued by the community!
Currently, the
InventorHub.speakeronly supportsplay_notes()andbeep(). This makes it difficult to implement rich sound effects or realistic RC car engine sounds (such as for the Lego Technic Audi or custom creations) using only the hub's internal storage and speIt would be amazing if Pybricks could support importing and playing custom audio files directly from the hub for standalone execution.
We understand the hardware constraints of the hub, so we don't expect high-quality MP3 playback. Even supporting very low-quality, small-sized 8-bit mono WAV files would be absolutely perfect and highly appreciated. Even a few short sound clips would drastically improve standalone robot projects.
play_notes()to mimic sound effects, but it is limited to simple buzzer-like melodies.pybricksdev, but this removes the ability to run the robot fully standalone in the field.Many users who migrated from the official Lego Mindstorms app miss the custom sound block feature. Supporting even low-bitrate WAV file playback on MicroPython would be highly valued by the community!