The STM32F4 Discovery is a development board with an ARM microcontrolller from STM which is very suitable for audio applications. Now it is possible to program it with the Arduino-IDE if you have installed the plugins.
Programming the STM32F407 microcontroller is usually very complicated if you are using the common deveoper IDEs and frameworks. With Arduino-IDE it is now possible for every one.
- playing sound
- using the accelerometer
- controlling the sound with the accelerometer
You have to install the STM32GENERIC framework.
The installatiion instructions you will find here.