CureMIDI
USB-MIDI Interface(2IN/2OUT) for STM32
Install / Use
/learn @keshikan/CureMIDIREADME
USB-MIDI Interface (2IN/2OUT) for STM32 "CureMIDI"
Overview
This repository shows STM32F0 (ARM Cortex-M0) based USB-MIDI Interface. It has 2 MIDI-IN and 2 MIDI-OUT, and is USB MIDI class-compliant.
The USB-MIDI Class Driver is based on mimuz-tuch project (c) D.F.Mac. @TripArts Music.
STM32F0を使用した、USB-MIDIインターフェースです。INを2系統、OUTを2系統実装しています。USB MIDI Classに対応するシステム(Windows, iOS, Android, etc.)に対し、ドライバレスでMIDI入出力ポートを追加できます。
USB MIDI Classドライバは、D.F.Mac. @TripArts Music氏作成のドライバを基に、一部改造を加えています。

Specifications
- USB MIDI class-compliant
- MIDI port: 2IN/2OUT
- MIDI buffer size: 512B/1port
Building Information
Making hardware
See Schematic, KiCad Source.
Building software
Install SW4STM32(need registration), import Project files, and build.
File Location
- Binary file for STM32F042
- STM32CubeMX Project file
- Source codes and project files (System WorkBench for STM32)
- Schematic
NOTICE
VID/PID
Vendor ID(VID) and Product ID(PID) in <usbd_desc.c> should be unique pair for each USB devices. Default VID 0x1209 and PID 0x0001 is experimental IDs from http://pid.codes .When distributing or selling, you must get your own IDs, and change to your own IDs in order to avoid conflicting to other USB devices.
USBのVendor ID(VID)とProduct ID(PID)は、<usbd_desc.c>内に記述します。 デフォルトのVID(0x1209)/PID(0x0001)ペアは、http://pid.codesで定められている実験用IDです。そのため、本機器を配布したり販売したりする場合には、別途固有のIDペアを取得し、書き換えてご使用下さい。
References
MIDI specification
- The Complete MIDI 1.0 Detailed Specification (MIDI Association)
- MIDI1.0規格書 (AMEI)
- MIDIの学習 (Laboratory "U")
USB-MIDI technical information
Copyrights
- USB MIDI Class Driver by D.F.Mac. @TripArts Music
- STM32 CubeF0 by STMicroelectronics
Author
(c) 2018 Keshikan ( Website, Twitter )
License
- USB MIDI Class Driver: CC BY 4.0
- STM32 CubeF0: BSD-3-Clause based.
- Other Codes, Hardware, Schematic: GPLv3
See also LICENSE.md
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
