Course Project

Digital Theremin Using STM32 and Audio Synthesis | ECSE 444 Course Project

  • stm32
  • 2020

For this project, we developed a digital theremin using the B-L475E-IOT01A discovery board. The instrument employed motion-based audio synthesis to adjust pitch, distortion, and volume based on accelerometer readings and an external potentiometer.

Key features included:

  • Sine Wave Playback: Real-time synthesis of tones controlled by board orientation and potentiometer adjustments.
  • Flash Playback Mode: Stored and manipulated a preloaded audio clip in flash memory, enabling pitch adjustments through subsampling and doubling.
  • Optimized Signal Processing: Leveraged a state machine and DMA buffer updates to improve responsiveness and performance.

Future improvements could involve incorporating contactless controls with a Time of Flight (ToF) sensor and advanced signal processing using PSOLA for enhanced pitch manipulation.

image.png

image.png