It doesn't even need to be this complicated. You can take the speaker output of any audio playing device with a decently powered amplifier and run the signal directly into any coil on the BLDC, permanent magnet DC motor or even an electromagnetic relay and get audio reproduction from it. I used to do this as a kid with the small permanent magnet DC motors I recovered out things I took apart. You don't need microcontrollers, BLDC motor controllers or software to do this. It won't be high fidelity sound (because it's not designed to be a speaker) but it will reproduce sound and music with ease.
It doesn't even need to be this complicated. You can take the speaker output of any audio playing device with a decently powered amplifier and run the signal directly into any coil on the BLDC, permanent magnet DC motor or even an electromagnetic relay and get audio reproduction from it. I used to do this as a kid with the small permanent magnet DC motors I recovered out things I took apart. You don't need microcontrollers, BLDC motor controllers or software to do this. It won't be high fidelity sound (because it's not designed to be a speaker) but it will reproduce sound and music with ease.
(post is archived)