Casio CZ-1 Patch Librarian Copyright (c) 1996 - Karl Schmidt Introduction I wrote this program back in 1991 to help me store and manage patches for my Casio CZ-1 synthesizer. The program is not nearly as user friendly as it should be, but is very functional. I now release the program as FREEWARE with the following license agreement: You are granted the right to use and to make an unlimited number of copies of this software. You may not disassemble, decompose, reverse engineer, or alter this file or any of the other files in the package. This software is provided as FREEWARE and cannot be sold. This restriction does not apply to connect time charges, or flat rate connection/download fees for electronic bulletin board services. This software can not be bundled with any commercial package without express written permission from the author. The author of this program accepts no responsibility for damages resulting from the use of this product and makes no warranty or representation, either express or implied, including but not limited to, any implied warranty of merchantability or fitness for a particular purpose. This software is provided as is, and you, its user, assume all risks when using it. Given this, enjoy the program. If there is anything that you would really like to see added to the program, write me an e-mail. Have fun playing with your CZ-1! Karl Schmidt - August 18, 1996 karl@cyweb.com http://www.cyweb.com/~karl Functionality Receive or send patches to computer disk space View patch parameter data Configure and send patch libraries to the CZ-1 Backup database files User definable system exclusive MIDI channel Requirements IBM-PC compatible computer running DOS (DOS shells from other operating systems may work) MPU-401 compatible MIDI or sound card (I/O address must be 330H) Casio CZ-1 synthesizer Patch Storage Structure and Terminology A patch is the contents of all parameters that make up a sound in the CZ-1. Patch Librarian can store up to 2048 patches, but because of limited screen space, it can only display 64 patch names on the screen at a time. Thus, Patch Librarian can show all the CZ-1 patches currently in CZ-1 internal memory on the screen, but can only show a portion of the patches contained on disk. To compensate for this, Patch Librarian uses disk banks which contain blocks of 64 patches. Disk bank 1 contains patches 1-64, disk bank 2 contains patches 65-128, and so on. When choosing patches from disk, the user is able to change which disk bank’s names are displayed on the screen. In addition to being able to send individual patches, Patch Librarian can also send groups of patches to the CZ-1. This is accomplished through patch libraries, which are mappings between each CZ-1 internal memory location and a Patch Librarian disk patch number. In a patch library, patch number 0 is used to define a CZ-1 internal memory location that will not have a patch sent to it. There are 64 patch libraries available, but only 1 patch library can be displayed on the screen at a time. When using patch libraries, the user is able to change which patch library is displayed on the screen. Disk patches are stored to the file ‘CZPATCH.DAT’. Libraries are stored to the file ‘CZPATCH.LIB’. When the disk patch file is modified, a backup of the old file is stored as ‘CZPBAK.DAT’. Likewise, when the library file is modified, a backup of the old file is stored as ‘CZPBAK.LIB’. Command List Startup: At the DOS prompt, type ‘CZPATCH’ optionally followed by either or both the synth’s MIDI exclusive channel, or the ‘/LOAD’ option. The ‘/LOAD’ option loads the names of all the patches from the CZ-1, but is time consuming. If the synth’s MIDI exclusive channel is 5 and patch loading is desired, type ‘CZPATCH 5 /LOAD’ at the DOS prompt. If no MIDI exclusive channel is specified, the channel will default to the value used the last time the program ran. Main Menu: 1. Get a Patch from the CZ-1 - Downloads a patch from the CZ-1. The list of all patches in the CZ-1 is displayed. Choose a patch number between 1 and 64 or 0 to cancel. Pressing any key while the data transfer is going on will cancel the transfer (although the program is not smart enough to realize the transfer was stopped). Once the patch is received or the transfer is canceled, the list of the first disk bank of patches is displayed, and the user is prompted to enter a disk patch number to save to. The highest disk patch number listed is always empty. Other disk patch numbers could overwrite patches. Entering 0 will allow the user to examine other disk banks or cancel the operation. After entering 0, the user can enter 0 again to cancel saving the patch, or 1 through 32 to choose a new disk bank to view. 2. Send a Patch to the CZ-1 - Uploads a patch to the CZ-1. The list of the first disk bank of patches is displayed, and the user is prompted to enter a disk patch number to send to the CZ-1. Enter a disk patch number, or enter 0 to examine other disk banks or cancel the operation. After entering 0, the user can enter 0 again to cancel sending the patch, or 1 through 32 to choose a new disk bank to view. After selecting a disk patch location to send, choose a CZ-1 memory location between 1 and 64 to send the patch to, or 0 to cancel the send. 3. Analyze a Patch - Allows the user to view the parameters for a patch. The user is asked whether they would like to view a disk patch (enter ‘D’), to view a CZ-1 internal memory patch (enter ‘C’), or cancel (enter ‘Q’). Upon selecting the patch, the patch parameters are displayed. Press any key to go back to the main menu. See either main menu option 1 or 2 for instructions on how to select a patch. 4. Delete a Patch from disk - Select a disk patch to delete from disk. See menu option 1 or 2 for instructions on how to select a patch. 5. Send a Patch Library to the CZ-1 - Choose a patch library from 1 to 64 to send to the CZ-1. Patch library 1 will be displayed on the screen. To change the display to another library, enter 0 followed by the library to view. Entering a 0 followed by a 0 cancels the operation and returns to the main menu. 6. Edit a Patch Library - Choose a patch library to edit from 1 to 64. Patch library 1 will be displayed on the screen. To change the display to another library, enter 0 followed by the library to view. Entering a 0 followed by a 0 cancels the operation and returns to the main menu. After selecting a patch library to edit, choose which library patch to change from 1 to 64. Next, enter which disk patch number to assign to the library patch. Entering 0 for the library patch quits back to the main menu. 7. Set a Patch Library to a Disk Bank - Sets patches in a disk library to correspond to patches in a disk bank. Choose the disk bank, or 0 to cancel. Next, choose the library. See option 5 or 6 for instructions on how to select a patch library. 8. Update CZ Patch Names - Gets patch names for patches stored in the CZ-1’s internal memory. This information is used for displaying the CZ-1’s patch names. The command line ‘/LOAD’ option does this operation when the program first starts up. 9. Change CZ-1 MIDI Channel - Prints the current MIDI channel and asks for a new MIDI channel. The MIDI channel must be between 1 and 16. Q. Quit - Exits the program.