Skip to content

tanukiichii/sequencer_STM32F407

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 

Repository files navigation

STM32F407 Step Sequencer

This project is a hardware sequencer built on the STM32F407 microcontroller, combining buttons, LEDs, and an audio codec to create a small, interactive music instrument.


How It Works

Input

  1. Potentiometer — controls BPM (tempo)
  2. Mode Button — switches between PLAY and EDIT modes. Holding it in PLAY or FX mode enters REC mode
  3. CLEAR Button — clears the whole pattern (PLAY) or clears the selected sample (EDIT)
  4. FX Button — enters FX mode
  5. TM1638 Module — 16 buttons for sample triggering and editing

Output

  1. LEDs — indicate the current step in PLAY mode or the selected slot/sample in EDIT mode
  2. Audio Output — using the CS43L22 codec in analog mode (via DAC). Driver taken from an online tutorial

Usage

PLAY Mode

  • Press any of the 16 buttons on the TM1638 module to play one of 16 samples
  • LEDs light up in sequence to visually indicate the current step

EDIT Mode

  • First press selects a sample; pressing CLEAR cancels the selection
  • Subsequent presses assign the sample to one or more of the 16 steps
  • LEDs show which steps are occupied by the selected sample

REC Mode

  • Hold the mode button and press a button to record a sample or effect into the pattern

FX Mode

  • Hold a button to apply a corresponding effect to the pattern
  • Currently, only reverb is implemented; more effects are planned

Audio Output

Connect any speaker or headphones to the mini-jack on the board to hear the sound


Hardware

  • STM32F407 Discovery or compatible board
  • TM1638 module (16 buttons + LEDs)
  • Potentiometer and buttons for control

Notes

  • This is an experimental, in-progress project
  • The code is a mix of embedded input handling, step sequencing logic, and audio output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages