Orchestrating Innovation: Creating a MIDI Interface in LabVIEW
summary
Implements a LabVIEW MIDI interface that actually sends and receives messages: a MIDI file driver that reads the whole file into a byte array for speed, a C++ wrapper for DLL callbacks to post LabVIEW user events, and a custom 2D picture control UI that maps 88 keys and updates on demand. Uses the Windows multimedia DLL for MIDI in/out, filters callbacks to note on/off, handles ~4,000-note files with acceptable latency, and demonstrates end-to-end playback to a physical keyboard.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:19Piano and MIDI inspiration
- 2:45Live piano UI demo
- 4:11Building piano UI with 2D control
- 8:46Rendering keys mathematically
- 10:12MIDI device communication issues
- 12:19MIDI output via Windows DLL
- 13:47Wrapping MIDI DLL for LabVIEW
- 16:59Processing MIDI input events
- 18:32Reading MIDI files
- 21:47Efficient MIDI parsing
- 24:41Playing MIDI files
- 26:10Live MIDI player demo
- 27:39Q&A
related talks
23mLet's talk about MIDI
19mLabVIEW on my Mind
20mLook What You MIDI Me Do!
47mLooking at Music, an experiment with Kotlin, JavaFX, MIDI, and Virtual Threads
45mI Play The JavaScript
26mLearning to Read Music with the Web MIDI API
14mMIDI, communications, and music in JavaScript
25mProgramming with a DJ Controller - not vibe coding
