Skip to content

ivofrolov/MIDICLK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIDI Clock Converter

4HP eurorack module that provides two trigger outputs with an adjustable rhythm based on the incoming MIDI timing clock.

Description.

MIDI clock (24 PPQN) is read from TRS type A input. MIDI start message resets all clocks.

Adjust output clock rate using the clock divider encoder. Turn it clockwise to decrease the rate and counterclockwise to increase it. Press and hold while turning the knob to set the second clock divider.

Clock outputs provide about 3 milliseconds triggers.

DIY

Hardware

See BOM and board layout.

Schematic and PCB files are in the hardware KiCad project folder, which also contains panel design FreeCad file.

Firmware

Project is built using make in debug mode by default. In order to change mode use make ENV=release build. The same applies to other Makefile variables. Available targets are

  • build - compile firmware.elf file
  • size - display firmware size in bytes
  • fuses - program chip fuses bits
  • upload - write firmware to chip memory

In release mode reset is disabled (RSTDISBL fuse is programmed) due to lack of available pins.

More ideas

  • offset control (half of the note duration)
  • triplet/dotted note switch
  • MIDI type A/B switch
  • gate length control (trigger or note duration)
  • customizable dividers

References

About

Eurorack module MIDI clock converter

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages