Skip to content

terminus-community/MIDI-Toy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIDI-Toy

Hello. This repository contains a little toy.

If you have heard of Pixelflut, well, it is very similar, except we don't use a screen, we have a MIDI synthesizer instead!

I am currently doing the records on Casio Privia PX-350M and E-Mu 0404 USB. The hardware is simple: small batch fixture for ESP32 from AliExpress and my own MIDI I/O board:

MIDI I/O board, ESP32 small batch fixture

Why?

  • It is fun
  • The process gives me some insight on how synthesizers interpret MIDI messages (undocomented behavior)
  • It helps me to test the MIDI I/O module a bit more
  • If somebody sends me code, it allows me to know more about other languages

HTTP API commands

MIDI command receiver is working in WiFi access point mode. It has a static IP: 192.168.4.1.

Press and release key

  • To press: http://192.168.4.1/on?pitch=60&velocity=60
  • To release a key: http://192.168.4.1/off?pitch=60&velocity=60

Pitch range is from 22 to 106. Velocity range is from 0 to 127.

When the input is correct, the response will be equal to ACK.

Change an instrument

http://192.168.4.1/ins?patch=3

When the input is correct, the response will be equal to ACK.

Instrument 1 can be a piano, instrument 128 might sound like shooting.

MIDI System commands

There are no options, the response will be equal to ACK.

Links

MIDI commands descriptions