Replies: 4 comments 4 replies
-
It would be awesome if this could be implemented. Gives robot creations so much more personality (i'm working on a Wall-E with lots of functions). I would love to help with some testing if that speeds things up. |
Beta Was this translation helpful? Give feedback.
-
I will add my vote for support to play .wav or .mp3 files on Spike Prime. @dlech - The kids on our FLL team have been devoted users of ev3dev for several years. We've just moved to Spike Prime and are only now realizing that Pybricks is where you're spending most of your time now. We're totally sold, huge fans! The kids want to add playing sound files (Rick Roll) when the bot completes each mission. Fingers crossed that you have time for this soon. Like @redmerl, I am also a willing beta-tester if needed. |
Beta Was this translation helpful? Give feedback.
-
@dlech any updates on this feature? Thanks! |
Beta Was this translation helpful? Give feedback.
-
It's outside my programming area of expertise, but I'd like to try to add support for playing sound files for my FLL team this year. Can you provide guidance or links to documentation, samples, or similar code that would help me do this? Looking at the current code, I think I more or less understand how the speaker type creates the square wave form and passes it to For our purposes it's probably easiest to hard-code the sound file data in the firmware code. Wav files are pretty big though, what is the size limit for the firmware for Spike Prime? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Since I was working on sound drivers in Pybricks MicroPython recently, just wanted to write down a few ideas before I forget since I'm not going to get around to them any time soon.
set_volume
would generate this table, then it would be used until the volume is changed.Beta Was this translation helpful? Give feedback.
All reactions