Skip to content

Blinken-Lights/MIDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MIDI

Notes on CC messages: in the file Nano_MIDI2CV.ino the line 'if(mi_code == mi_note_on){' detects 'note on' messages. CC messages could be read at this point too, by testing the condition 'if(mi_code == controller_change){'. The 'controller number' will be in mi_data_byte1 and the 'controller value' will be in mi_data_byte2.

The file is designed to work with an MCP4922 DAC. It converts note numbers into values to output to the DAC, using the lookup table midi_voltages. The MCP4922 output voltage is exactly 1/1000 of the 12-bit value you send to it [within some error tolerance, when using a 4.096 voltage reference], which makes the maths simple.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages