kasploosh.com

Send Sysex To CZ-1 Using amidi

Get Ready

  1. Make sure your cables are connected in the correct order. OUT from the computer goes to IN on the CZ. OUT from the CZ goes to IN on the computer.
  2. Make sure the PROTECT switch is set to OFF. This is a slide switch on the back of the CZ.
  3. Make sure the CZ-1’s MIDI system is turned on. The LED above the MIDI ON/OFF button should be lit.
  4. Press the MIDI button. To make things simple, we are going to use default values and MIDI channel 1 everywhere. Apply the following settings:

    POLYPolyphonic mode
    KBCH=01Sending on MIDI channel 1
    CH=01Receiving on MIDI channel 1
    PRG=ENAProgram changes enabled

    When you’re done, your LCD should look like this:

    POLY KBCH=01 CH=01 PRG=ENA

  5. You need to know what port you are targeting with amidi. Your CZ is connected to a physical port on your computer, but what is that port called, according to amidi? To find out, open a terminal and do this:

    amidi -l --> Dir Device Name --> IO hw:0,0 EMU10K1 MPU-401 (UART) --> IO hw:0,1 Emu10k1 Synth MIDI (16 subdevices) --> IO hw:0,2 Emu10k1 Synth MIDI (16 subdevices)

    At this point, you can test to make sure amidi is getting messages from your CZ. Start amidi in dump mode:

    amidi -d

    Now press a few keys on the CZ keyboard. You should see note on and note off events immediately. If not, amidi can’t yet talk to your CZ. Press Ctrl-C to exit dump mode.

Actual Steps

  1. Make your CZ-1 ready to use sysex tone data. Press the MIDI button on the CZ, and press the DOWN button. Please set SYSTEM EXCLUSIVE TONE DATE=ENA.

    When you’re done your LCD should look like this:

    SYSTEM EXCLUSIVE TONE DATA=ENA

  2. Open a terminal, and change directories until you are in the same directory with your sysex file.

    cd /path/to/sysex/files/ ls --> czwigout.syx

  3. Next we use amidi to send the sysex file to the MIDI port:

    amidi -p hw:0 -s czwigout.syx

    Change "hw:0" to your actual port, and change "czwigout.syx" to your actual sysex file. amidi immediately begins sending the sysex file out to the MIDI port.

  4. Your Casio fills up with data and “blinks like a Disco” as Cosmo once said.
13549.58363