MidiJoy

Year
2014
Type
Modern device
Category
Joystick-port MIDI interface that turns the Atari into a live POKEY instrument
Manufacturer
Frederik Holst (Phobotron); ABBUC Hardware Contest 2014
Breadboard circuit with a microcontroller board wired to the two joystick ports of an Atari XL computer

Overview

Classic 8-bit MIDI interfaces such as Hybrid Arts' MIDIMate and Wizztronics' MIDIMax made the Atari a sequencer. It sent notes out to synthesizers and never made a sound itself. MidiJoy works the other way round: it makes the Atari an instrument. MIDI notes from a keyboard or a computer sequencer come in, and the Atari plays them in real time on its own POKEY sound chip.

It was designed by Frederik Holst (Phobotron), entered in the ABBUC Hardware Contest 2014 and introduced on AtariAge as "MidiJoy — using your Atari as a chiptune instrument". The source code is published on GitHub (fredlcore/MidiJoy).

How it works

Part What it does
Interface A small microcontroller board that emulates a USB-MIDI device, with optional serial (DIN) MIDI. A PC or Mac sees it as an ordinary MIDI port, so any instrument or sequencer that outputs MIDI can drive it
Connection to the Atari The two controller (joystick) ports, not SIO. These give a fast parallel path into the computer
MidiJoy software Runs on the Atari, reads incoming MIDI data from the joystick ports and plays it on POKEY

Because the data comes in through the joystick ports instead of the serial bus, a MidiJoy-driven Atari can be played live, in real time, with up to four sound channels at once. Most SIO-based MIDI interfaces can't do that. The software also lets you change POKEY's parameters on the fly: AUDCTL (the chip's channel-joining, filter and clock settings) and the four AUDC distortion and volume registers. It can also switch on ADSR envelopes, so notes swell and fade like a synthesizer voice. Incoming music can be recorded and saved to disk.

Why it's interesting

POKEY's raw sound (square waves, pure tones and its noise "distortions") is the core of the Atari chiptune sound. Normally you reach it through trackers such as RMT or by programming. MidiJoy lets a musician play it from a keyboard or sequence it in a modern DAW next to other instruments, with the real chip producing the audio. Later forum discussion noted that the project's documentation also covers playing back MIDI files from disk, without streaming them from a host.

Building and using one

  • The project is published on GitHub (fredlcore/MidiJoy). Follow its instructions for the interface board and the cable to the two joystick ports.
  • Because it uses the controller ports, MidiJoy works on any 8-bit Atari with two ports, and it leaves the SIO bus free for drives.
  • For the opposite job, driving external synths from the Atari, use a MIDIMate-compatible interface (see DIY MIDI interfaces).
  • MidiJoy is one of several ABBUC contest projects that are still built today. See ABBUC for others.

Credits