Yamaha TX81Z expander - voice editor

Ken Hughes
Before using the program make sure that the TX81Z is switched on and connect OUT3 on the Music 2000 to MIDI IN on the expander. Set the Basic Receive Channel to 1.
The reason I use OUT3 rather than OUT1 is because the memory address of MIDI IN on the Music 2000 is the same as OUT3, and I use both. If you wish to use OUT1 instead you will need to delete the reference to '3 MIDILINE' in the 's' and 'u' words.
The values in the program are the standard ones in the TX81Z initial voice data. Before using the program it is best to select the voice that you wish to edit and use the INIT VCE option. You then only need to alter the values that differ from the initial voice data.
The program consists of four parts, named 'one', 'two', 'three' and 'name'.
To use it, call up Notepad and GET 'one'. You may then change the values in text mode or change to panel mode (f2) and use the Shift, plus the arrow and pound sign, keys. Pressing f1 (play) at any point will send all the values to the TX81Z.
The same procedure applies to parts 'two' and 'three'.
To send the name of the altered instrument, GET 'name', alter the name in text mode, and MAKE it. Enter command mode and type
name <Return>
to send it to the expander.
If you wish to keep the new instrument on disc for re-loading into the TX81Z, then MAKE all four parts after editing them and save the program to disc with a name of your choice. The data can then be re-loaded and sent to the expander using the words 'one', 'two', 'three' and 'name' in command mode. The TX81Z will not take the data from all four parts in one go.
Please note that the program does not use some of the infrequently used data values. If you require these you can make up another panel to send them or enter them directly on the front panel of the expander. I have given the range of the data values on the panels. There is no data error check in the program, but the TX81Z appears to ignore wrong data.

How the program works

To change the LFO speed on the TX81Z requires the following system exclusive message to be sent:
&F0  - Start exclusive message
&43  - I.D. (Yamaha)
&10  - Basic Receive Channel (1)
&12  - Group Number
54   - Parameter
0-99 - Data
&F7  - End of exclusive message
The first four bytes are in the 's' word. The last byte is in the 't' word. The parameter is in the 'LFO Speed' word which also calls the 's' word. The data byte is the number on the screen. The '|' word calls the 't' word.
Thus the line 'LFO Speed 35 |' sends:
1     VOICES MIDIV
3     MIDILINE
&43F0 MIDIWOUT
&1210 MIDIWOUT
54    MIDIOUT
35    MIDIOUT
&F7   MIDIOUT
Some items such as the Algorithm need a data number 1 less than the required value to be sent out - thus Algorithm 1 needs 0 to be sent. This is done by using the word ':' or '-|' instead of '|'. 'name' uses the '_' word to convert the letters typed in to their ASCII numbers.
This program works in a similar way to Ian's Waugh's TX81Z performance editor program (published in Micro User, August 1990) except that it will only send a complete Notepad page. As it is a voice editor program it could be put with Ian's performance editor to make a complete editor program for the TX81Z. The programming methods in these programs could also be used by owners of other types of expander to control their own equipment by making up their own panels.

Related file on this disc:
U.TX81Zve - Voice editor for the Yamaha TX81Z expander. Note: this program can be loaded only if you are using a Music 2000 system disc.

Published in AMPLINEX 022, July 1991