This repository contains all the files for the Minecraft Pipe Organ.
Everything in old/
is the stuff used in videos. I've since rewritten everything to be much cleaner and generally better.
config.lua
- The configuration script expects a continuous array of Advanced Peripherals's Redstone Integrators, which should power a continuous array of Steam Whistles from Create. Each set of 12 Integrators must contain one octave. Each octave may be in ascending or descending order, as the script takes care of this.
midi.lua
- MIDI support code.
play.lua
- The player script. Expects an organ-config
file of the type generated by config.lua
. It takes a single MIDI file as its argument, and will parse and play the file. Any MIDI file should work. Special consideration may be necessary for the organ's limited range.
If more than one copy of a given note is available, the player script will choose whichever one was least recently active. This may help with timing precision.
diskwatch.lua
- Watches for disk insertions, and plays any MIDI files present on the disk in alphabetical order.