# Patent

## Title
Automatic accompaniment apparatus implementing smooth transition to

## Abstract

This is a division of U.S. patent application Ser. No. 08/084,745 filed Jun. 29, 1993, now abandoned, which was, in turn, a continuation of co-pending U.S. patent application Ser. No. 07/820,761 filed Jan. 13, 1992, now abandoned, which was, in turn, a division of U.S. patent application Ser. No. 07/447,381 filed Dec. 7, 1989 and now U.S. Pat. No. 5,099,738, which was, in turn, a continuation of co-pending U.S. patent application Ser. No. 07/292,966 filed Jan. 3, 1989, now abandoned. The complete disclosures of all of the foregoing patent(s) and patent applications are hereby incorporated herein by reference as if set forth fully herein

## Background
This application relates to Disclosure Document No. 200720 received by the United States Patent and Trademark Office on Sep. 7, 1988.

1. Field of the Invention

The present invention relates generally to electronic musical instruments. More particularly, the present invention relates to a versatile user-programmable musical instrument with the capability of transparently altering pitch and velocity for the user, so that only correct values relating to scale and chord value are available at any given moment.

Still more particularly, the present invention is directed to an electronic musical instrument which may be played in conjunction with the playback of a CD or similar prerecorded sound recording on which is stored synchronously with the sound recording CHORD change and/or SCALE change information which may be sent to the instrument over an interface so that the musician has creative input but does not have the option of playing an incorrect chord or note.

2. The Prior Art

Electronic keyboard and other electronic musical instruments are known in the prior art. Also known are electronic musical keyboard instruments which generate tone and velocity information compatible with the MIDI (Musical Instrument Digital Interface) standard which has come into wide usage in recent years. Numerous keyboard instruments, such as those manufactured by Roland, provide a powerful measure of performance.

Electronic musical instruments which provide for an automatic accompaniment to be generated by the instrument in response to a performer playing the instrument are also known in the art. Examples of such instruments are found in U.S. Pat. Nos. 4,433,601, 4,508,002, and 4,682,526 to Hall, et al.

In addition, some keyboard musical instruments provide for the automatic sharpening or flatting of a note on the white keys in response to a signal indicating that a scale is to be played in a key other than "C". An example of such an instrument is shown in U.S. Pat. No. 4,513,650 to Nagaska, et al.

While these prior art schemes and devices have been successful and have performed their intended functions, there still remains a need for improvement.

The present invention includes a set of force sensitive transducers, arranged, for example as a keyboard. The keyboard is electronically scanned and the identity of the key or keys being depressed, along with information relating to the velocity of that key depression, are stored. Stored tables in memory convert that information to MIDI standard information relating to pitch and velocity for transmission to MIDI compatible tone generators or to MIDI messages for any MIDI event. The tables may be standard tables employing chord voicing information, individual note information, or other information relating to the MIDI events to be implemented. The tables switch in real time at a speed sufficient to seem transparent to the user, thus allowing dynamic reconfiguration of the keyboard during the performance of the musical composition. In a presently preferred embodiment, the tables are arranged such that during the interval of time in which a particular chord is being played, the depression of any key will result in the generation of a "correct" note in that chord or a "correct" note in a scale which is compatible with that chord. It is thus impossible for the musician to strike a wrong note. In addition, the keyboard may be operated at 100% efficiency because the keys may be defined such that they are all utilizable at any time during the performance of the musical composition. This affords the musician the widest possible choice of correct notes and chords at any point in the performance.

According to one presently preferred aspect of the present invention, chord and scale information may be stored along with pre-recorded music on musical media such as a CD disk and may be sent to the system of the present invention via a MIDI interface so that a musician can "play along" with prerecorded music. Since the chord change and any scale change timing is synchronously provided by the prerecorded media, the musician has creative input but does not have the option of playing an incorrect chord or note.

In this embodiment, the code necessary to implement chord changes requires only a fraction of the memory necessary to store melody and chord notes on a CD for playing along, thus making such an embodiment a practical reality. For instance, a typical popular music selection would require up to 500K bytes of information to reproduce the parts contained on the recording. A 10 song album could require 5M bytes or more of memory, and would not afford creative input by the listener. On the other hand, with the present invention, only one MIDI message per chord change or scale change is required. Using the present invention, chord changes for an entire album could reside in less than 100K bytes of memory. This not only reduces cost to a practical level, but at the same time allows the listener to provide creative accompaniment to the prerecorded music. As the CD plays, the chord changes appear as MIDI patch changes at the moment the CD accesses the appropriate address during its play cycle.

FIG. 1 is a block diagram of a presently preferred embodiment of the invention.

FIG. 2 is a schematic drawing of the data acquisition apparatus of a presently preferred embodiment of the invention, including the force sensing resistors and signal conditioning circuitry.

FIG. 3A is a flow diagram for the main loop executed by the software for the present invention.

FIG. 3B is a flow diagram for the output loop executed by the software for the present invention.

FIG. 4 is a presently preferred embodiment of a layout of a force sensing resistor keyboard for use in the present invention.

FIGS. 5a-f are a flow diagram for the mapping software useful for the present invention.

FIGS. 6a-J illustrate screen contents when using a computer for editing tables.

In a presently preferred embodiment, the MIDI standard (Musical Instrument Digital Interface) is utilized to define which note is to be played and the volume (velocity) at which that note is to be played. As those of ordinary skill in the art will appreciate, the MIDI standard allows for both note pitch and note velocity (volume) information to be transmitted to a tone generator. The MIDI standard is well known and the MIDI Specification 1.0 is hereby incorporated by reference.

Referring first to FIG. 1, a block diagram of the musical instrument system 10 of the present invention, an array of input switching devices comprising force sensing transducers 12 is used as the interface between the musician and the instrument. In its most common form, force sensitive transducer array 12 may be configured as a keyboard, having the appearance of a keyboard of a conventional musical instrument, including both white keys and black keys. Other keyboard arrangements, such as that shown in FIG. 3, infra, may be used. Those of ordinary skill in the art will recognize that, in accordance with the present invention, the human interface may also be configured to resemble a guitar neck, a series of percussion pad inputs, or the like. For the purpose of simplicity, reference will be made herein to keys as if a keyboard is being discussed, but those of ordinary skill will realize that no limitation is intended by such usage.

Presently preferred force sensing transducers for the present invention are force sensing resistors such as those manufactured by Interlink Electronics of Santa Barbara, Calif. Those of ordinary skill in the art will recognize, however, that other input switching devices may be used, such as those commonly found on presently available electronic keyboard instruments and the like.

In the block diagram of FIG. 1, there are n+1 force sensing resistors, having outputs on lines 14.sub.0 through 14.sub.n. These output lines 14.sub.0 -14.sub.n are connected to signal conditioning circuits 16. The function of signal conditioning circuits 16 is to convert the output of each force sensing resistor in the array 12 to a DC voltage signal having a voltage range which can be utilized by the rest of the system. The outputs from the signal conditioning circuits, shown on lines 18.sub.0 -18.sub.n, are connected to multiplexer and analog to digital (A/D) converter circuit 20. The function of multiplexer and A/D circuit 20 is to select one of lines 18.sub.0 through 18.sub.n and connect it to an analog to digital converter which then converts the voltage appearing on that line to a multi-bit digital representation, as is well known in the art.

The operations of system 10 are controlled via microprocessor 22, which is connected to a data bus 24 and an address bus 26. The multi-bit digital output of the A/D converter portion of multiplexer and A/D converter 20 is connected to data bus 24. Address bus 26 is connected to the multiplexer and A/D converter circuit 20 in order to control the addressing of the multiplexer.

As is common in microprocessor-controlled circuits, a program for controlling the operation of microprocessor 22 is stored in program storage 28, which may be a read-only memory (ROM), a programmable read-only memory (PROM), or other similar means known in the art, such as EPROMs, EEPROMs, etc. Program storage 28 is connected to data bus 24 and address bus 26. In addition, random access memory 30 is also connected to data bus 24 and address bus 26.

Universal Asynchronous Receiver Transmitter (UART) 32 is also connected to data bus 24 and address bus 26. As is well understood by those of ordinary skill in the art, UART 32 is utilized to interface between the system 10 of the present invention and a series of one or more tone generators, which produce the musical sounds in response to the musician's manipulations of the keyboard containing the force sensing resistors.

A MIDI system exclusive message may be utilized via the UART for editing purposes. This message may originate from an external editing source, such as a computer, disclosed later herein, or a sequencer performing a systems exclusive data drive as is understood by those skilled in the art. MIDI patch change information is also communicated through this port.

Referring now to FIG. 2, a force sensing resistor 12.sub.x is shown connected at one end to a source of positive voltage 50. A limiting resistor 52 is connected to the other end of the force sensing resistor 12 and at its other end to the non-inverting input of amplifier 54. Resistor 56 is shown connected between the output of operational amplifier 54 and its inverting input. Resistor 58 is connected between the output of operational amplifier 54 and ground. Resistor 60 is connected between the inverting input of amplifier 54 and ground. Resistor 62 is connected between the non-inverting input of operational amplifier 54 and ground. The node comprising the bottom end of limiting resistor 52 and the non-inverting input of operational amplifier 54 is one of the lines 14 shown in FIG. 1. The output of operational amplifier 54 is one of the lines 18 shown in FIG. 1. In a presently preferred embodiment, amplifier 54 may be an LM324 operational amplifier and resistors 52, 56, 58, 60 and 62 may be 10 kOhms.

The output of the circuit of FIG. 2 is a DC voltage between approximately 0 volts and 4 volts with a power supply voltage of 5 volts. When no pressure is applied to the force sensing resistor, its resistance may be greater than approximately 2 megohms. When a reasonable finger pressure is applied to force sensing resistor 12.sub.x, its resistance will decrease to a value in the neighborhood of 5 kOhms, and a fingertip impulse to the force-sensing resistor can drive its resistance down to as low as 2 to 3 kOhms or lower.

Those of ordinary skill in the art will recognize that as the number of keys increases, the total scan time necessary to read and digitize the outputs of operational amplifiers 54 will increase. At some large number of keys the time will become large enough to affect performance and require higher speed performance components. To avoid degraded performance and to avoid the need to use higher speed performance hardware, it is presently preferred to modularize the hardware into blocks handling sixteen keys. These modules may be interfaced to one another to configure systems of larger size incrementally by groups of sixteen keys.

In such an embodiment, an ADC0816 sixteen channel multiplexer and 8-bit A/D converter, manufactured by National Semiconductor of Santa Clara, Calif., may be utilized. An 8032 microprocessor, manufactured by Intel Corporation of Santa Clara, Calif., is satisfactory to drive a modular system handling sixteen keys. In such a modular embodiment, a program storage capacity of 32k is sufficient. The tables necessary for operation of the present invention may also be stored in ROM. A 32k dynamic random access memory is satisfactory for use in this preferred modular embodiment. Those of ordinary skill in the art will readily recognize that the modularity disclosed herein, while presently preferred, is not to be taken as in any way limiting the scope of the present invention.

The hardware of FIGS. 1 and 2 is driven by a software program. In a presently preferred embodiment the software includes one main loop and two interrupt-driven tasks.

Referring now to FIG. 3a, the main loop of a presently preferred software routine for use with the present invention is shown. First, at step 100, the hardware of the system is initialized and all flags are reset. The initialization process includes the scanning of all of the force sensing resistors for the purpose of determining a noise margin. The output of the A/D converter representing the output from each force sensing resistor circuit is stored and examined and a threshold, higher than the highest voltage reading, is set.

After hardware initialization, the software enters the main loop which reads the output of a timer at step 102. When the time out value has been reached the program determines which of two loops it is in at step 104. There are two loops because, in a presently-preferred embodiment, the DC voltage output of each force sensing transducer driven operational amplifier 54 corresponding to a key on the keyboard is read twice. If it is determined at step 104 that the software is in the first loop, the DC voltage outputs of all of the operational amplifiers 54 are read and saved in memory at step 106. Next, at step 108, the loop 2 flag is set. The program then returns to step 102.

If, however, it has been determined that the software is in the second loop at step 104, the program again reads all of the DC voltages at the outputs of operational amplifiers at step 110. The DC voltage value read during execution of the second loop for each key on the keyboard is compared with the previously-stored DC voltage value for that key from the first loop, and the larger of the two values is selected. Next, at step 112, the loop 2 flag is reset. The software then proceeds to an output loop.

The output loop of the presently preferred embodiment is shown at FIG. 3b. First, at step 114, it is determined whether data from all keys on the keyboard have been processed. If so, the software exits from the output loop. If not, at step 116 it is determined whether the stored digitized DC voltage value for the next key on the keyboard is above the threshold determined during the initialization routine. If it is, the note-on flag for that particular key is read to see if it is set. If it is set, the program returns to step 114. If it has not been set, the note-on flag for that particular key is set at step 120. Next, at step 122 the software refers to a note value table to define the note. In the presently preferred embodiment, the note's definition will be a MIDI code. Those of ordinary skill in the art will realize that this note-on signal may be designated for any MIDI channel.

The velocity information relating to the note is also determined by reference to a table, which converts the raw digitized DC voltage value associated with each key on the keyboard to a MIDI velocity code. Those of ordinary skill in the art will recognize that use of such a table allows for expansion, compression or other volume level manipulation. At step 124, an address derived from the raw digitized DC value is used to address a velocity table to obtain a MIDI velocity value. Next, at step 126, a MIDI note-on message is sent with the calculated velocity. The program then returns to step 114.

If, at step 116, it is determined that the DC voltage value corresponding to the key on the keyboard is below threshold, at step 128 it is determined whether the note-on flag for that particular key has been reset. If it has, the program returns to step 114. If it has not, at step 130 the note-on flag for that particular key is reset. Next, at step 132 the note value table is again consulted to determine the MIDI code for the note that has been assigned to the key being depressed. Next, at step 132, a MIDI note-off message is sent with velocity=0 and the program returns to step 114.

One of the features of the present invention which sets it apart from anything known in the prior art is the use of the tables which give the system the ability to assign any key to any note value or any other MIDI event. Table switching is performed in real time at a speed sufficient to render the process undetectable to the ear. The two primary types of tables are chord tables and scale tables.

Chord tables are normally accessed via a specified section of the keyboard (such as all black notes in a conventional keyboard.) These tables contain all possible notes within a given chord and may be assigned in any manner desired. For example, a C major chord consists of the three notes C,E, and G. In ascending pitch, the notes might be assigned to a particular key or group of keys in any, including, but not limited to the following: E-G-C, E-C-G, C-E-G, C-E-G-C, etc., with the ability to assign various octaves and instrument voices.

Scale tables contain all notes within a given scale and are likewise accessed by a specified section of the keyboard. Chord tables and scale tables may be switched independently of one another either in real time by the user or via predetermined computer control such as via a sequencer or the like.

In one embodiment of the present invention, chord and scale information may be stored along with prerecorded music on musical media such as a CD disk and may be sent to the system of the present invention via a MIDI interface so that a musician can "play along" with prerecorded music. Since the chord change and any scale change timing is synchronously provided by the prerecorded media, the musician has creative input but does not have the option of playing an incorrect chord or note.

In this embodiment, the code necessary to implement chord changes requires only a fraction of the memory necessary to store melody and chord notes on a CD for playing along, thus making such an embodiment a practical reality. For instance, a typical popular music selection would require up to 500K bytes of information to reproduce the parts contained on the recording. A 10 song album could require 5M bytes or more of memory, and would not afford creative input by the listener. On the other hand, with the present invention, only one MIDI message per chord change or scale change is required. Using the present invention, chord changes for an entire album could reside in less than 100K bytes of memory. This not only reduces cost to a practical level, but at the same time allows the listener to provide creative accompaniment to the prerecorded music. As the CD plays, the chord changes appear as MIDI patch changes at the moment the CD accesses the appropriate address during its play cycle.

The number of tables which may be associated with the system of the present invention is limited only by the size of the memory which is utilized with the system. For instance, with a memory size of 64K, scale tables and chord tables for sixteen of the most common chords for each root note for 128 different keyboard keys can be provided.

By the arrangement of and switching of the tables, the user is presented with an incredibly flexible musical instrument that contains all of the correct musical choices at any given point in time, but only those correct choices. Since only correct choices are presented, the musician is freed from the complex and sometimes tedious task of performing the mathematical calculations necessary to execute correct chord, melody and harmony structures.

Referring now to FIG. 4, a presently preferred layout for a keyboard for use as part of the present invention is shown. A first group of two sets of seven function keys, indicated by even reference numerals 202-228, preferably relate to chord tables. Depressing any one of keys 202-228 will result in the generation of MIDI codes representing a component note of a desired musical chord.

The section of keys just above keys 202-228 is arranged much like two octaves of a conventional keyboard. Keys bearing even reference numerals 230-256 are the white keys of the keyboard and keys bearing even reference numerals 258-276 are the black keys of the keyboard. Note that the particular layout permits playing black keys only by running a finger across the keyboard, since white keys do not extend all of the way between black keys.

The white keys 230-256 are assigned to individual notes from scale tables. However, unlike a conventional keyboard, keys 230-256 are all utilized in the playing of each scale. If the scale is arranged so that key 230 is always the root note, the keyboard may be arranged such that key 232 is always the second, key 234 is always the third, key 236 is always the fourth, key 238 is always the fifth, key 240 is always the sixth, key 242 is always the seventh, key 244 is octave and so on.

Those of ordinary skill in the art will recognize that this arrangement results in a 100% efficient keyboard in that all keys are proper notes and are used in any scale. Furthermore, the key/note assignments may be made such that the root note always resides at the memory location corresponding to key 230 so that playing a scale, major or minor, in any key is as simple as playing a C major scale on a conventional keyboard. This arrangement frees the musician from having to count notes and intervals and memorize musical keys and scales which require the use of the black keys on a conventional keyboard to implement sharps and flats. When compared with a conventional keyboard which hasten efficiency of approximately from 25% to 60% from three note-chords to a seven note scale, and which requires the musician to be ever mindful of flatted intervals and other peculiarities of certain musical chords, keys and scales, the power of and simplicity of use of the musical instrument of the present invention is readily discernible.

As examples of possible note/key assignments, Table 1 shows the note assignments to keys 230-256 for the C major, C# minor, D# major, and F minor scales respectively. ______________________________________ C Major       C# Minor  D# Major   F Minor ______________________________________ Key 230 C         C#        D#       F Key 232 D         D#        F        G Key 234 E         E         G        G# Key 236 F         F#        G#       A# Key 238 G         G#        A#       C Key 240 A         A#        C        D Key 242 B         B         D        D# Key 244 C         C#        D#       F Key 246 D         D#        F        G Key 248 E         E         G        G# Key 250 F         F#        G#       A# Key 252 G         G#        A#       C Key 254 A         A#        C        D Key 256 B         B         D        D# ______________________________________

From the examples given in Table 1, those of ordinary skill in the art will easily configure the key/note map for any musical scale. In systems employing tone generators which are capable of outputting non-standard intervals, such as are found in certain Arabic and Oriental musical structures, key/note maps to implement these otherwise difficult musical systems are easily developed. It will additionally be noted from Table 1 that the playing of a scale in a different key is easily accomplished on the same keys which would produce the scale of C major on a conventional keyboard, thus illustrating the elimination of the need to constantly calculate sharps and flats when in keys other than C major.

The black keys, even reference numerals 258-276 may be configured as the notes which are components of selected chords. For example, Table 2 note assignments to keys 258-276 for a C major and D# minor chord respectively. ______________________________________ C Major   D# Minor ______________________________________ Key 258        C           D# Key 260        E           F# Key 262        G           A# Key 264        C           D# Key 266        E           F# Key 268        G           A# Key 270        C           D# Key 272        E           F# Key 274        G           A# Key 276        C           D# ______________________________________

Since the two sets of seven horizontal keys, even reference numerals 202-228, are also assigned to chord component notes, MIDI note-on messages from keys 258-276 may be sent on a different MIDI channel to drive a voice different from that associated with keys 202-228.

Two sets of 16 vertical keys, even reference numerals 278-308 and even reference numerals 310-340 respectively may be used for numerous functions. In a presently preferred embodiment, keys with reference numerals 278-308 are used to cause MIDI program commands which will transform the rest of the unit to an entire window of corresponding scale and chord information and may also sound a chord if desired. Keys bearing reference numerals 310-340 may be configured to be a scale. Since white keys 230-256 are already configured as a scale, the two sets of scale keys can be used with different voices to create two scales of two different instruments. Those of ordinary skill in the art will readily recognize that the scales played on keys 230-256 and 310-340 respectively could even be different scales.

The two sets of three keys 342, 344 and 346, to the left of the double group of seven horizontal seven keys and 348, 350 and 352 to the right of the double group of seven horizontal keys may be used as MIDI control signals as positive pitch bend, negative pitch bend, modulation, etc.

The two sets of 15 keys above keys 230-276 may be used for any MIDI function. In a presently preferred embodiment they may be used for any of the computer controlled functions disclosed with respect to FIGS. 6a-i and in Appendix A hereto.

While the embodiment of FIG. 4 has been discussed in terms of specific key functions, those of ordinary skill in the art will readily recognize that any key may be assigned any MIDI function and that the embodiment of FIG. 4 is merely a practical illustrative and presently preferred arrangement.

The set of 16 vertical keys shown at even reference numerals 278-308, may be configured to cause MIDI program commands which will change the chord configured on keys 202-228 and 258-276. Depressing these program change keys can optionally sound the chord which they select. In this manner, the musician may play a song and with one finger redefine the chord keys at the appropriate times so that the song may be played without the possibility of striking an incorrect note in a chord. Optionally one or more of these keys may also cause one or both banks of scale keys 230-256 and 310-340 to define a different scale if it is desired.

Another computer, either integral with the system of FIG. 1, or an external computer may be used as a mapping tool to manipulate other MIDI compatible musical instruments as well as the musical instrument of the present invention. One computer which has been found to be particularly suitable for use with the present invention is the Atari 1040 ST computer, which comes with a built-in MIDI interface. A program usable for such a computer to implement some of the functions of the present invention, along with its related documentation, is attached hereto as appendix A and is expressly incorporated herein by reference.

FIGS. 5a-f show the essential operation of the computer program disclosed in appendix A in block diagram form. Referring first to FIG. 5a, the main loop begins at step 400 where all the tables and indices are initialized as is well understood by those of ordinary skill in the art. Next, at step 402 it is determined whether a MIDI byte has been received. If a MIDI byte has been received, the program proceeds to the MIDI processing loop disclosed with respect to FIG. 5b. If not, at step 404 a determination is made whether one of the mouse buttons has been clicked. If not, the loop returns to step 402. If a mouse button has been clicked, the program proceeds to block 406 where the tables and indices are edited by user interface. After the user has edited the desired tables, a determination is made at step 408 whether it is desire to quit the program. If so, the program is ended and if not, it returns to step 402.

Referring now to FIG. 5b, the MIDI processing routine is disclosed. First, at step 410 the received MIDI bytes are assembled into MIDI events. Next, at step 412, it is determined whether a complete MIDI event has been assembled. If not, the program returns to the main processing loop. If, however, a complete MIDI event has been assembled, if the event is a note-off, at step 414 a psuedo note-off command is changed to a real note-off command. Then, a determination is made at step 416 whether the events channel matches either the upper or the lower bank. If not, at step 420 the event is transmitted to the other MIDI units in the system and then at step 421 a determination is made regarding whether the program is in zoom mode. If not, the program returns to the main processing loop. If so, the program returns to zoom processing.

If, at step 416 the events channel has matched one of the two banks, a determination of what kind of MIDI event has been assembled is made at step 418. If it is a note-on event, the program proceeds to note-on processing described with respect to FIG. 5c. If the event is a note-off event, the program proceeds to note-off processing described with respect to FIG. 5d. If the event is a patch change, the program proceeds to patch change processing described with respect to FIG. 5e.

Referring now to FIG. 5c, the note-on processing routine begins at step 424 where the computation of what value this note is mapped into is made. At step 426, the value is examined to see if it is less than zero. If the note is mapped into a value of less than zero, it indicates zoom processing and the program proceeds to zoom processing as disclosed with respect to FIG. 5f.

If, however, the note has a mapped value of greater than zero at step 428 the events channel may optionally be changed if desired. At step 430 the mapped value for the incoming note number is substituted for the incoming note number. Next, at step 432 this map value is stored in a table which indicates the note and channel on which it came in and the note and channel on which it went out. This table is used later to identify the note to be turned off in the event of an intervening patch change. Next, at step 434 the mapped note-on event is transmitted over the MIDI channel.

Referring to FIG. 5d, the note-off processing routine is disclosed. First, at step 436, the note and channel out and note and channel in information are retrieved from the table in which they were stored. Next, the mapped value of the stored note to be turned off is substituted for the incoming note number at step 438. At step 440, the table channel is substituted for the event's channel and at step 442 the mapped note-off event is transmitted.

Referring to FIG. 5e the patch change processing routine is described. First, at step 444 it is determined to which bank the patch change refers. If there is no match, the program returns to the main processing loop. If there is a match, at step 446 it is determined whether the current bank number is the same as the current channel number. If it is, at step 448 the channel indices are updated. Step 450, is performed after step 446 if there is no match between the channel number and the bank number, and after step 448 if there has been a match. After step 450, the patch change MIDI event is transmitted at 452.

Referring now FIG. 5f, zoom processing begins at step 454 where a zoom index is computed from the current map number. Next, at step 456 the zoom index and the map index are swapped. Next, at step 458, a loop is performed relating to the zoom depth. If the count is not completed, at step 462 a MIDI event is built from the map index and the loop. Next, a step 464, the event is broken into bytes and the program proceeds to MIDI processing according to FIG. 5b. When the loop for zoom depth has been completed, the zoom index and map index are swapped in step 460 and the program returns to the main loop.

Since in the MIDI standard, there are 128 possible notes, the tables which are used with the present invention may be conveniently divided into 256 eight-bit bytes. The first set of 128 eight bit bytes define the 128 possible MIDI notes. The second 128 eight bit bytes define the MIDI channels over which the notes will be transmitted.

The tables are switched by a dynamic table allocation process. The tables are arranged in two banks of 128 tables each. Each table has 128 bytes. Each location in a table may hold a value of indicating one of 128 possible MIDI notes. A MIDI note which comes into the UART is directed to either the upper or the lower bank of tables depending on the channel number assigned to that incoming MIDI note. Which table in the bank is selected by the position of a mouse used in conjunction with the computer. Alternatively, the table can be selected by a MIDI patch change over a MIDI channel reserved for patch changes. The value of the incoming note (between zero and 127) determines the address to look at within the table. The contents of the table gives the note and channel number to be transmitted.

Note-off information, on the other hand, may not be related to the table from which the note-on information was obtained because of the possibility that a patch change will change the table to be referenced before that particular key on the keyboard is released. To avoid the problem of stuck notes, a second table, transparent to the user, is used to enter the note-on information. When the transducer circuitry senses that a key has been released, the system looks to this user transparent table to determine which note to turn off to avoid errors due to patch changes.

The previously described zoom function is a powerful function which allows the musician greatly enhanced flexibility when composing and playing compositions. It allows a single pad to play many notes, as in a chord, in place of a single note, and further optionally allows patch change information to be sent to co-ordinate chord changes among a plurality of MIDI instruments.

In order to better understand the zoom function, FIGS. 6a-H, show what the computer screen will show at various points in the zoom process.

In FIG. 6a, two tables are shown. The upper table is from the first bank of tables and the lower table is from the second bank of tables both previously described. In a presently preferred embodiment, to conserve memory space, the upper and lower bank of tables each contain 16 tables which are zoomable. These tables are found as the last two columns of eight entries in each of the upper and lower banks. Each table of structures contains 128 structures. Each structure has six bytes. The first byte defines which of the 256 tables of both the upper and lower bank to address. The second byte contains a start address from zero to 127 within that table. The third byte contains two nibbles. The high nibble contains an all/white/black mask which allows either all keys, white keys only or black keys only to be selected. The low nibble decides how deep to zoom. The depth of the zoom is the number of notes in an upward direction from the start note. The fourth byte may contain an optional patch change which may be sent to other devices. The fifth byte contains information defining a channel for the patch change to sent over. Byte six is currently reserved for a function to be defined later. The zoom function is enabled as follows. Normally, the content of the note tables will be a note number. However, if the contents of the note table is minus one, a zoom table instead of a note table is referred to.

FIGS. 6a-j, illustrate the use of a computer running the software disclosed in appendix A hereto to perform editing on the tables of the present invention. FIGS. 6a-j are printouts showing the screen configurations of a computer at various steps in the editing process.

Referring first to FIG. 6a, the screen shows an upper matrix of 16.times.8 table positions and a lower matrix of 16.times.8 table positions. Note that in the upper matrix, the chord B minor in the second row of the twelfth column appears in reverse video, having been selected by a mouse. Likewise, in the bottom of matrix, the chord D in the eighth row of the fifteenth column has been selected. In particular configuration, the sixteen zoomable tables have been located in the last two columns of both the upper and lower matrices. Thus, the selection of B minor in the upper matrix is not the selection of a zoomable table, but the selection of the D chord in the lower matrix is from a zoomable table.

Referring now to FIG. 6b, the table for a B minor chord has been brought up. Note that in the far left-hand column, outside of the rectangle, a list of the 12 chromatic scale notes, beginning with C and ending with B, represents the key positions on a conventional keyboard corresponding to those notes. In the first row of the table outside of the rectangle, the numbers -2 through 8 signify the octaves spanning by MIDI. Within the rectangle, there are 128 entries, corresponding to the 128 possible keys of a keyboard addressed by the invention. Note that the screen contains three print styles, normal, bold, and reverse video as will be readily recognizable by those of ordinary skill in the art. In the fields below the rectangle, the indication "notes" has been selected by mouse, and thus appears in reverse video, indicating that this is a note table. It will be recognized that the notes which appear in bold representation on screen indeed represent the notes from an extended B minor scale. The notes appearing in normal video are unselected. It will be noted that seven notes in the third octave in the +3 octave column, seven notes in the +4 octave, and two notes in the +5 column have been displayed in reverse video. These 16 notes have been selected and assigned to keyboard keys by placing the mouse their locations and engaging the mouse button or by selection through MIDI input.

It should be understood that for the purposes of all of FIGS. 6a-j, all 128 positions in the rectangle are always active and any one or group of these positions may be simultaneously selected for manipulation by the edit screen for any of the purposes described in the software documentation in Appendix A or may be selected for the purpose of downloading a group of 16 keyboard keys in a modular unit. This may be accomplished through a systems exclusive MIDI message as a single table, group of tables, or even by individual notes, channels or other MIDI events.

It will also be noted that in the field under the rectangle column, the indication "white" has been selected by the mouse and thus is shown in reverse video, indicating that white keys from the conventional keyboard notation in the first column have been selected. Thus, the 16 notes of the B minor scale shown will be played only when corresponding MIDI values, relating to white keys designated in the column to the left of the rectangle, are received in the appropriate octave designated by the note's position in the rectangle.

Referring now to FIG. 6c, a third screen is shown, differing from the second screen in that the indication "black" has been selected by the mouse in the field under the rectangle. The 16 notes in the reverse video within the rectangular field have been selected by the mouse and correspond to the black key notations in the first column outside the rectangle. Those of ordinary skill in art will recognize that the selected notes are all contained within a B minor chord. This examples of white and black notes are not intended to indicate any limitation on the intermingling of white and black notes for any manipulation, as shown by the availability of the choice "all" in the "white/black/all" field under the rectangle.

Referring now to FIG. 6d, the indication "channels" has been selected by the mouse and appears in reverse video, indicating that the portion of the tables dealing with the channels over which the notes are to be sent has been accessed. The screen shown in FIG. 6d corresponds to the screen shown in FIG. 6c, the reverse video images showing the channels over which the notes comprising the B minor chord shown in FIG. 6c are to be sent. Those of ordinary skill in the art will recognize that any one of the 16 MIDI channels could be selected for any of these notes, thus allowing a single keyboard to play any chord or scale in one or more of several voices.

FIG. 6e is included to show that any randomly chosen notes can be assigned to the selected black keys. Although not shown in FIG. 6e, the same is true for the white keys, which may have assigned to them any random note or other MIDI event.

The zoom functioning of the present invention is shown with respect to FIGS. 6f-j.

The lower matrix of FIG. 6a had the D in the last row of column 15 selected. The screen shown in FIG. 6f is brought up to edit the zoom function. The event which equals the position in the matrix i.e., C# in the -2 octave (C# -2), will cause anything selected in the zoom edit page shown in FIG. 6g to be output, including patch change, note information or other MIDI events. It will be noted that the first column within the rectangle of the screen of FIG. 6f contains chord information. In bold video the chords G, F, E minor, and C have been selected and are highlighted because the filters allowing zoom only are active, indicated by the indication "zoom" in reverse video. It should be understood that any one of the 128 positions within the rectangle on the screen of FIG. 6f are zoomable. The A minor chord is shown in reverse video to indicate that it has been selected.

Referring now to FIG. 6g, the reverse video indications of "notes" and "black" show that the notes of A minor chord indicated by the five reverse video notes in the rectangular field have been selected to be played when the MIDI values corresponding to the black key (C# -2 as selected in FIG. 6f) has been received. This is indicated at the top of FIG. 6g.

In FIG. 6g, the A minor chord has been composed of the five notes shown in reverse video and will play. Anytime that the key indicated at the top of this edit screen is depressed, when its host edit page (here FIG. 6f) has been selected, whatever is selected in the zoom rectangle will be output as indicated by the reverse video indication "black" in the field below the rectangle. The "depth" of "05" appearing in the field under the rectangle indicates how many notes are to be played in the chord and/or scale. This number is user selectable. The information "patch 026 16" in the field under the rectangle are user selectable and indicate that a MIDI patch change 026 will be sent out on channel 16. The MIDI patch numbers are shown in FIG. 6h. Comparing the position 026 in FIG. 6h to the corresponding position in FIG. 6a confirms that the patch relates to the A minor chord.

Referring now to FIG. 6i, the definitions of the patch changes are defined by the user. FIG. 6i shows that patch changes for the lower matrix are transmitted on channel 16 and patch changes for the upper matrices are received on channel 16.

Also shown in FIG. 6i is the transpose function, allowing a global transpose relative to the note C-3. If the note identifiers appearing in the upper and lower boxes are equal to C-3 no transposing will take place. Otherwise, all notes will be transposed up or down by the difference between the note C-3 and the contents of the upper and lower transpose boxes, allowing exploration of various keys without the need to reconfigure the tables being utilized.

FIG. 6j illustrates the map filling function which allows filling the upper and lower matrices automatically. The reverse video indications show that the upper matrix from positions 18 to 32 in the matrix are to be filled with the table at MIDI number 17 in the upper matrix. It further indicates that the successive positions in the matrix are incremented by half steps and are displayed by names. Both chord and scale tables are changed; the selection of "all" "white" or "black" allows selection of chords, scales or both. Also, the name itself may be automatically transposed, thus avoiding the need to manually enter a new name in each corresponding table which has been transposed. Likewise, channel information may be selected so that a voicing arrangement may be placed on pre-existing tables without altering their note values. Alternatively, both note and channel information may be altered by selecting "both".

While a presently preferred embodiment of the invention has been disclosed, those of ordinary skill in the art will, from an examination of the within disclosure and drawings be able to configure other embodiments of the invention. These other embodiments are intended to fall within the scope of the present invention which is to be limited only by the scope of the appended claims.

## Claims

1. An electronic musical instrument comprising: signals in response to being played; tables, said translation tables adapted to translate said manual input device signals into corresponding control signals; sound recording track and an information track recorded thereon, said information track containing translation table selection signals synchronized with events in said sound recording track, said device adapted to output said translation table selection signals; translation tables and said translation table selection signals, and adapted to generate said control signals; and

2. An electronic musical instrument comprising: signals in response to being played; translation tables adapted to translate said manual input device signals into corresponding control signals; containing events; synchronized to said events in said music; translation tables and said translation table selection signals, and adapted to generate said control signals; and

3. An electronic musical instrument comprising: signals in response to being played; translation tables adapted to translate said manual input device signals into corresponding control signals; containing chord changes and scale changes; time-indexed to said chord changes and said scale changes in said music; translation tables and said translation table selection signals, and adapted to generate said control signals; adapted to generate a first audio signal representative of said music, said first audio signal having at any given moment a predetermined chord and scale; adapted to generate a second audio signal representative of the manual playing of said manual input devices, notes of said second audio signal at each said given moment being within said predetermined chord and scale.

4. An electronic musical instrument comprising: signals in response to being played; translation tables adapted to translate said manual input device signals into corresponding control signals; containing chord changes and scale changes; synchronized to said chord changes and said scale changes in said music; translation tables and said translation table selection signals, and adapted to generate said control signals; adapted to generate a first audio signal representative of said music, said first audio signal being at every instant within a predetermined chord and scale; adapted to generate a second audio signal representative of the playing of said manual input devices, notes of said second audio signal at each said instant being within said predetermined chord and scale.

5. An electronic musical instrument comprising: representative of a musical signal; second memory adapted for the retrieval of CHORD signals; and associated therewith, said electronic signal generator adapted to receive a sequence of different CHORD signals from said second memory and to generate signals within a chord identified by a most recently received CHORD signal in response to depressions of said plurality of force sensitive keys.

6. An electronic musical instrument comprising: representative of a musical signal; second memory adapted for the retrieval of SCALE signals; and associated therewith, said electronic signal generator adapted to receive a sequence of different SCALE signals from said second memory and to generate signals within a scale identified by a most recently received SCALE signal in response to depressions of said plurality of force sensitive keys.

7. An electronic musical instrument comprising: musical signal, said signal containing chord and scale changes; retrieval of CHORD and SCALE signals, said CHORD signals denoting said chord changes and said SCALE signals denoting said scale changes; and associated therewith, said electronic signal generator adapted to sequentially receive a sequence of CHORD and SCALE signals from said second memory and to generate signals within a chord and scale, respectively, identified by a most recently received pair of CHORD and SCALE signals in response to depressions of said plurality of force sensitive keys.

8. An electronic musical instrument comprising: phrases, each said phrase having a chord and a scale associated therewith, said memory also containing a prerecorded sequence of CHORD and SCALE signals, said CHORD and SCALE signals identifying chords and scales associated with said phrases of said prerecorded musical signal; input signals; plurality of CHORD tables, a SCALE table memory for retrieval of one of a plurality of SCALE tables, a table memory loader for receiving said CHORD tables and said SCALE tables from an external source and storing them in, respectively, said CHORD table memory and said SCALE table memory, said translator responsive to said CHORD and SCALE signals for selecting one of said CHORD tables to be an ACTIVE CHORD TABLE and one of said SCALE tables to be an ACTIVE SCALE TABLE during playback of said prerecorded musical signal, and said translator further responsive to said manual input signals and adapted to generate control signals; adapted to generate signals within said ACTIVE CHORD TABLE and said ACTIVE SCALE TABLE.

9. An electronic musical instrument according to claim 8 wherein said memory is a CD.

10. An electronic musical instrument comprising: so as to, in response to said keys being depressed, generate audio signals within a chord defined by said CHORD signal and within a SCALE defined by said SCALE signal; phrases, each said phrase having a chord and a scale associated therewith, said memory also containing a prerecorded sequence of CHORD and SCALE signals, said CHORD and SCALE signals identifying chords and scales associated with said phrases of said prerecorded musical signal; and memory to said programmable MIDI music synthesizer while said prerecorded musical signal is playing.

11. An electronic musical instrument comprising: so as to, in response to said keys being depressed, generate audio signals within a chord defined by said CHORD signal and within a SCALE defined by said SCALE signal; phrases, each said phrase having a chord and a scale associated therewith, said memory also containing a prerecorded sequence of CHORD and SCALE signals, said CHORD and SCALE signals identifying chords and scales associated with said phrases of said prerecorded musical signal; memory to said programmable MIDI music synthesizer while said prerecorded musical signal is playing;

12. An electronic musical instrument comprising: so as to, in response to said keys being depressed, generate audio signals within a chord defined by said CHORD signal and within a SCALE defined by said SCALE signal; phrases, each said phrase having a chord and a scale associated therewith, said memory also containing a prerecorded sequence of CHORD and SCALE signals, said CHORD and SCALE signals identifying chords and scales associated with said phrases of said prerecorded musical signal; memory to said programmable MIDI music synthesizer while said prerecorded musical signal is playing; signals for generating and amplifying a mixed audio signal; and audio signal.

13. A prerecorded compact disk recording comprising: musical signal in a compact disk player; and digital signal containing a sequence of CHORD and SCALE signals time-indexed to said first prerecorded digitized optical signal, said CHORD signals adapted to control the chord within which the keys of a musical synthesizer will cause audio signals to be generated by said musical synthesizer, and said SCALE signals adapted to control the scale within which the keys of a musical synthesizer will cause audio signals to be generated by said musical synthesizer, said first prerecorded digitized optical signal and said second prerecorded digitized optical signal adapted to be read by said compact disk player so as to provide said CHORD and said SCALE signals at an output of said compact disk player at times corresponding to times at which said compact disk player is outputting said musical signal and said musical signal is in a scale corresponding to said SCALE signals and in a chord corresponding to said CHORD signals.

14. An electronic musical instrument comprising: sequence of data, said first sequence of data representative of music containing chord and scale changes and adapted to cause said sound reproduction device to create first audio signals representative of said music, said second sequence of data time-indexed to said first sequence of data and containing CHORD and SCALE signals representative of said chord and scale changes; adapted to transmit said first sequence of data from said memory system to said sound reproduction system, said sound reproduction system further adapted to create first audio signals representative of said music from said first sequence of data; link adapted to transmit said second sequence of data from said memory system to said electronic audio signal generator, said electronic audio signal generator equipped with a plurality of input devices for causing said electronic audio signal generator to create second audio signals, said electronic audio signal generator adapted to generate in response to activations of said input devices only audio signals within a particular chord after receipt of a particular CHORD signal and only audio signals within a particular scale after receipt of a particular SCALE signal.

15. An electronic musical instrument comprising: first sequence of data representative of music containing chord and scale changes and said second sequence of data containing CHORD signals representative of said chord changes and SCALE signals representative of said scale changes, said CHORD signals time-indexed to said chord changes and said SCALE signals time-indexed to said scale changes; adapted to transmit said first sequence of data from said memory system to said first sound reproduction system, said first sound reproduction system adapted to generate first audio signals representative of said music from said first sequence of data; and one of a plurality of scales linked to said memory system with a link adapted to transmit said second sequence of data from said memory system to said second sound reproduction device so that said CHORD signals cause said second sound reproduction system to operate in a chord defined by a most recently received CHORD signal and a scale defined by a most recently received SCALE signal, said second sound reproduction device including a plurality of input devices adapted to cause said second sound reproduction device to generate second audio signals in said chord and said scale.

16. An electronic musical instrument according to claim 15 wherein: one of said input devices is activated so as to cause generation of a particular second audio signal, and said second sound reproduction device subsequently receives a CHORD or SCALE signal representative of a different chord or scale from the chord or scale that said second sound reproduction device is then operating in, said particular second audio signal will not change as long as said one of said input devices remains activated.

17. An electronic musical instrument according to claim 15 wherein: one of said input devices is activated so as to cause generation of a particular second audio signal, and said second sound reproduction device subsequently receives a CHORD or SCALE signal representative of a different chord or scale from the chord or scale that said second sound reproduction device is then operating in, said particular second audio signal will not change as long as said one of said input devices remains activated, and if said one of said input devices is deactivated and then reactivated after said second sound reproduction device subsequently receives a CHORD or SCALE signal representative of a different chord or scale from the chord or scale that said second sound reproduction device is then operating in, activation of said one of said input devices will cause generation of an audio signal within the then-current chord and scale as defined by the most recently received CHORD and SCALE signals.

18. An electronic musical instrument comprising: first sequence of data representative of music and said second sequence of data containing control signals representative of changes within said music, said control signals time-indexed to said changes within said music; adapted to transmit said first sequence of data from said memory system to said first sound reproduction system, said first sound reproduction system adapted to generate first audio signals representative of said music from said first sequence of data; parameters and linked to said memory system with a link adapted to transmit said second sequence of data from said memory system to said second sound reproduction device so that said control signals cause said second sound reproduction system to vary said operating parameters to conform to operating parameters defined by most recently received control signals, said second sound reproduction device including a plurality of input devices adapted to cause said second sound reproduction device to generate second audio signals.

19. A memory system for use with an electronic musical instrument, said memory system comprising: first sequence of data representative of music and said second sequence of data containing control signals representative of changes within said music, said control signals time-indexed to said changes within said music, said first sequence of data adapted to cause a first sound reproduction device linked to said memory system with a link adapted to transmit said first sequence of data from said memory system to said first sound reproduction system to generate first audio signals representative of said music from said first sequence of data, said second sequence of data adapted to cause a second sound reproduction device controlled by a plurality of electronically programmable operating parameters and linked to said memory system with a link adapted to transmit said second sequence of data from said memory system to said second sound reproduction device so that said control signals cause said second sound reproduction system to vary said operating parameters to conform to operating parameters defined by most recently received control signals, said second sound reproduction device including a plurality of input devices adapted to cause said second sound reproduction device to generate second audio signals.

20. An electronic musical instrument comprising: first sequence of data representative of music and said second sequence of data containing control signals representative of changes within said music, said control signals time-indexed to said changes within said music; adapted to transmit said first sequence of data from said memory system to said first sound reproduction system, said first sound reproduction system adapted to generate first audio signals representative of said music from said first sequence of data; and parameters and linked to said memory system with a link adapted to transmit said second sequence of data from said memory system to said second sound reproduction device so that said control signals cause said second sound reproduction system to vary said operating parameters to conform to operating parameters defined by most recently received control signals, said second sound reproduction device including a plurality of input devices adapted to cause said second sound reproduction device to generate second audio signals.

21. An electronic musical instrument comprising: first sequence of data representative of music and said second sequence of data containing control signals representative of changes within said music, said control signals time-indexed to said changes within said music; adapted to transmit said first sequence of data from said memory system to said first sound reproduction system, said first sound reproduction system adapted to generate first audio signals representative of said music from said first sequence of data; and controlled by a plurality of operating parameters and linked to said memory system with a link adapted to transmit said second sequence of data from said memory system to said second sound reproduction device so that said control signals cause said second sound reproduction system to vary said operating parameters to conform to operating parameters defined by most recently received control signals, said second sound reproduction device including a plurality of input devices adapted to cause said second sound reproduction device to generate second audio signals.

22. An electronic musical instrument adapted to receive manual input device signals from a plurality of manual input devices, said instrument comprising: tables; translation tables and said translation table selection signals, and adapted to generate control signals for controlling an electronic signal generator.

23. An electronic musical instrument adapted to receive manual input device signals from a plurality of manual input devices, said instrument comprising: containing events; synchronized to said events in said music; translation tables and said translation table selection signals, and adapted to generate control signals for controlling an electronic signal generator.

24. An electronic musical instrument adapted to receive manual input device signals from a plurality of manual input devices, said instrument comprising: translation tables; representative of music containing chord changes and scale changes, said second memory adapted to provide said musical signals to a first sound reproduction device responsive to said musical signals and adapted to generate a first audio signal representative of said music, said first audio signal having at any given moment a predetermined chord and scale; selection signals time-indexed to said chord changes and said scale changes in said music; and translation tables and said translation table selection signals, and adapted to generate control signals for controlling an electronic signal generator responsive to said control signals and adapted to generate a second audio signal representative of manual playing of said manual input devices, notes of said second audio signal at each said given moment being within said predetermined chord and scale.

25. An electronic musical instrument comprising: tables, each said translation table corresponding to a particular chord and a particular scale; first memory; recording track and an information track recorded thereon, said information track containing translation table selection signals synchronized with events in said sound recording track, said player adapted to output said translation table selection signals; said electronic signal generator, said translator responsive to said first input signals and to said translation tables in said first memory and to said translation table selection signals so that control signals output from said translator cause said electronic signal generator to output music signals only within said particular chord and said particular scale corresponding to said translation table selected by a most recently received translation table selection signal.

26. An electronic musical instrument comprising: tables, each said translation table corresponding to a particular chord and a particular scale; first memory; sound recording track; information track recorded thereon, said information track containing translation table selection signals synchronized with events in said sound recording track, said second player adapted to output said translation table selection signals; said electronic signal generator, said translator responsive to said first input signals and to said translation tables in said first memory and to said translation table selection signals so that control signals output from said translator cause said electronic signal generator to output music signals only within said particular chord and said particular scale corresponding to said translation table selected by a most recently received translation table selection signal.

27. A method of operating an electronic musical instrument in a play-along mode with a pre-recorded sound recording, said pre-recorded sound recording having at least a sound recording track and an information track recorded thereon, said information track containing translation table selection signals synchronized with events in said sound recording track, each said translation table corresponding to a particular chord and a particular scale, said method comprising: tables, each of said translation tables corresponding to a particular chord and a particular scale; table selection signal output containing translation table selection signals; table selection signal output; controlling an output of the electronic musical instrument by applying said first input signals to a translation table most recently selected by a most recently received translation table selection signal so that said control signals cause the electronic musical instrument to output music signals in response to said first input signals which music signals are only within said particular chord and said particular scale corresponding to said translation table selected by said most recently received translation table selection signal.

28. A method of operating an electronic musical instrument in a play-along mode with a pre-recorded sound recording and a pre-recorded data recording, said pre-recorded sound recording having at least a sound recording track, said pre-recorded data recording having at least an information track recorded thereon, said information track containing translation table selection signals synchronized with events in said sound recording track, each said translation table corresponding to a particular chord and a particular scale, said method comprising: tables, each of said translation tables corresponding to a particular chord and a particular scale; table selection signal output containing translation table selection signals; table selection signal output; controlling an output of the electronic musical instrument by applying said first input signals to a translation table most recently selected by a most recently received translation table selection signal so that said control signals cause the electronic musical instrument to output music signals in response to said first input signals which music signals are only within said particular chord and said particular scale corresponding to said translation table selected by said most recently received translation table selection signal.