CHORD SETTING APPARATUS AND ELECTRONIC WIND INSTRUMENT USING THE SAME

Abstract: An apparatus disclosed designates pitches based on combinations of operated statuses of a plurality of pitch designating switches (2) and sets a chord whose type is designated by type designating switches (3) and whose root is the designated pitch.

Description: The present invention relates to a chord setting apparatus according to the preamble of claim 1 and an electronic wind instrument which produces a musical tone associated with a chord set by this apparatus. There is known a so-called electronic wind instrument which has pitch designating switches located where a player can easily touch them and with which the player designates a single pitch (note) through a single operation by a combination of how to press these switches and plays a music with a musical tone at the designated pitch. According to this type of electronic wind instrument, however, unlike electronic keyboard instruments or electronic stringed instruments, pitches are assigned to different combinations of the pitch designating switches in operation, not in one-to-one correspondence to the switches. It is not therefore possible to designate a plurality of pitches simultaneously. Because of the above, electronic wind instruments are generally considered capable of giving only single-tone initiated musical performance and a chord performance using the instruments is hardly thought of. Typical electronic wind instruments have around ten pitch designating switches which include seven switches corresponding to pitches of notes C to B and two for designating sharp (#) and flat (b). Unlike electronic keyboard instruments and electronic stringed instruments having many pitch designating switches, therefore, the electronic wind instruments may designate major chords only and cannot be expected to ensure easy designation of different chords such as minor and seventh chords. With the use of such an electronic wind instrument which has fewer pitch designating switches and generally designates pitches by combinations of these switches in operation, there hardly exists a method available or proposed for playing a music with many chords including not only major chords but also different types of chords such as minor and seventh chords. The only method, it seems, is to program in advance pitch differences with respect to roots designated by the pitch designating switches and generate a chord sound when actually playing a music, by automatically preparing a root designated by operation of the pitch designating switches and musical tones based on the pitch difference data programmed with respect to the designated root. (Refer to the manuals of YAMAHA WX-7 and WX-11 and AKAI EWV2000, which disclose a chord setting apparatus according to the preamble of claim 1.) With the use of the above method for setting a chord according to the mentioned program system, however, it is necessary to provide a switch or switches to enter pitch differences, a display unit for displaying input data at the time of programming and a memory for storing the entered pitch difference data. This would inevitably increase the manufacturing cost and require a troublesome operation for executing the programming. In addition, when power is turned off, the set pitch difference data will be erased and should be programmed again. This is very inconvenient. To back up the memory as one solution, it is necessary to provide a power unit for memory backup, thus increasing the cost. Due to a small mounting space in or on the electronic wind instrument body, the memory backup unit should be externally mounted. This is disadvantageous for the portability of the instrument and will increase the production costs thereof. It is therefore the object of the present invention to provide a chord setting apparatus for a monophonic musical instrument which does neither reduce the portability of that instrument nor increase the production costs thereof. According to the present invention this object is solved by the advantageous measures indicated in new claim 1. Due to these measures, the chord setting apparatus does not necessitate the use of a memory, so that the portability of the instrument is not decreased at all and, in addition, the production costs thereof are not increased. The production costs, indeed, are negligible insofar as the actuators, which are the basis for the selection of a respectively produced chord, are already part of the musical instrument itself. An advantageous development of the present invention is the subject matter of claim 2. Claims 4 through 6 are directed to the preferred features of an electronic wind instrument which is provided with such a chord setting apparatus. The document US-A-4 065 993 discloses a chord setting apparatus for an electronic organ, i.e. an electronic musical instrument comprising a manual keyboard by means of which a player can generate plural tones at the same time by depressing a corresponding number of keys of the keyboard. This known chord setting apparatus, consequently, is provided for a so-called "polyphonic" instrument and, thus, belongs to another class when compared to the apparatus of the present invention which is provided for a "monophonic" instrument. In this known instrument, a chord is either produced in a "three-finger mode" or in a "one-finger mode"; in the first mentioned mode, the produced chord as a whole corresponds exactly to all tones which are assigned to the respectively depressed keys, whereas, in the second mode, the produced chord as a whole is dependent on the single one depressed key. The document US-A-4 178 821 describes a synthesizer which is responsive to the output signals of an electronic musical instrument, which instrument can also be a wind instrument, i.e. a monophonic musical instrument. This document, however, does not disclose a chord setting apparatus. This invention can be more fully understood from the following detailed description in combination with the accompanying drawing, in which: Fig. 1 is a diagram illustrating the system arrangement of one embodiment of this invention; Fig. 2 is a diagram illustrating pitch data (internal chord values); Figs. 3A and 3B are diagrams illustrating the internal configuration of an R register; Fig. 4 is a diagram illustrating the internal structure of a single tone conversion table; Fig. 5 is a diagram illustrating the internal structure of the first chord conversion table; Fig. 6 is a diagram illustrating the internal structure of the second chord conversion table; Figs. 7A and 7B are perspective views of the one embodiment of this invention; Figs. 8A through 8F are diagrams for explaining how to set the pitches of musical tones (single tones) and chords in normal mode and chord mode 1 through operation of pitch designating switches and octave setting switches; Figs. 9A through 9F are diagrams for explaining how to set chords in chord mode 2; Figs. 10A through 10F are diagrams for explaining how to set minor chords in chord mode 2; Figs. 11A through 11E are diagrams for explaining how to set major seventh chords in chord mode 2; Fig. 12 is a flowchart for explaining the operation of a CPU when a mode selecting switch is operated; Fig. 13 is a flowchart for explaining a process the CPU executes based on a chord flag; Fig. 14 is a flowchart for explaining a normal mode process executed by the CPU; Fig. 15 is a flowchart for explaining in detail a chord mode 1 process performed by the CPU; Figs. 16A and 16B show a flowchart for explaining in detail a chord mode 2 process performed by the CPU; and Fig. 17 is a flowchart for explaining a tone generation control process performed by the CPU upon execution of a breath operation. A preferred embodiment of this invention will now be described with reference to the accompanying drawings, wherein Fig. 1 illustrates the system arrangement of this embodiment. A mode selecting switch 1 serves to switch among a normal mode (normal playing mode) and two types of chord modes (chord playing modes) including chord modes 1 and 2. An ordinary melody can be played in normal mode, while chords can be played in chord mode (chord mode 1 or 2). The mode selecting switch 1 is turned ON when coupled to a power source of voltage V DD . The normal mode, chord mode 1 and chord mode 2 are switched from one to another every time the mode selecting switch is switched ON. Pitch designating actuator or switches 2 include switches 2a to 2g serving to designate notes within one octave range of "C₄," "D₄," "E₄," "F₄," "G₄," "A₄ and "B₄." In normal mode the pitch designating switches 2 can designate pitches of musical tones within the above octave range by combinations of those switches depressed (in ON state). The root of a chord is designated in chord mode 1 whereas the type of a chord and the root thereof are designated in chord mode 2, as will be described later. Octave setting switches 3 serve to command alteration of an octave with respect to the pitch of a musical tone designated by operation of the pitch designating switches 1 in normal mode and chord mode 2. Five types of octaves can be set by operating these switches 3. For instance, with the pitch of "C4" designated by operation of the pitch designating switches, octaves of "C₂," "C₃," "C₄", "C₅" and "C₆" which are notes of "C" can be set. In chord mode 1, the type of any one of a minor 7th chord, minor chord, major chord, SUS chord (suspended chord) and augmented chord can be set through operation of the octave setting switches 3. Timbre/effect select switches 4 serve to select the timbre of a musical tone and select whether or not to add various effects to the musical tone. The octave setting switches 3 and timbre/effect select switches 4 are parameter designating switches which designate parameters such as an octave and timbre/effects for the pitch of a musical tone designated by the operation of the pitch designating switches 2. Sharp/flat setting switches 5 include a sharp (#) setting switch 5a and a flat (b) setting switch 5b. The former switch 5a serves to designate a pitch a half tone higher than the one designated by operation of the pitch designating switches 2. The flat setting switch 5b serves to designate a pitch a half tone lower than the one designated by operation of the switches 2. In other words, when switched ON, the sharp setting switch 5a and flat setting switch 5b can respectively set half tone higher and lower pitches. Accordingly, pitch designation in the range between "B₁" and "C₇" as shown in Fig. 2 is possible by operating the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5. The pitches of "B₁" to "C₇" correspond to the pitch data (internal code values) shown in Fig. 2, and a CPU (central processing unit) 6 uses this pitch data to executes its process. The CPU 6, comprising a microprocessor, for example, scans the status (ON/OFF state) of each of the mode selecting switch 1, pitch designating switches 2, octave setting switches 3, timbre/effect select switches 4 and sharp/flat setting switches 5 in predetermined intervals in a timer interrupt or the like, and acquires the pitch (in normal mode) designated by the switches 2, the pitch of the root of a chord (in chord mode 1) or the type of a chord and the pitch of the root of the chord (in chord mode 2) from the status data of the switches 2. From the scanned status data of the octave setting switches 3, the CPU 6 determines the octave (in normal mode and chord mode 2) designated by the switches 3 or the type of a chord (in chord mode 1). From the status data of the timbre/effect select switches 4, the CPU 6 determines the timbre/effect designated by the operation of the switches 4. When pitch designation is altered in normal mode, the CPU 6 sends pitch data to a tone generator 7 to generate a musical tone at the newly designated pitch. Further, the CPU 6 sends timbre data to the tone generator 7 to generate a musical tone with the designated timbre and controls the tone generator 7 so as to add the specified effect to the musical tone. A breath sensor 8 detects strength (or volume) information of a player's breath blown through the mouth section of the electronic wind instrument body, and the information sensed by the sensor 8 is converted into its corresponding analog voltage (sense signal) by a voltage detector 9 before it is supplied to an A/D converter 10. This A/D converter 10 converts the received analog voltage into digital data (breath data) and sends it to the CPU 6. Based on the breath data from the A/D converter 10, the CPU 6 prepares key-ON data for starting tone generation, key-OFF data for stopping the tone generation or volume data for specifying the volume level of a musical tone generated from the tone generator 7 and outputs the data to the tone generator 7. Built in the CPU 6 are a chord flag, various buffers such as KENAME, OCTBF, NEWKEY, OLDKEY, KDATA, CHORD0, CHORD1, CHORD2, CHORD3, OLDCHORD1, OLDCHORD2, OLDCHORD3, NEWCODE and OLDCODE, and various registers such as BRATH and R registers, which will be described in detail later. The R register serves to hold in bit units the status data of each of the pitch designating switches 2a-2g which is scanned by the CPU 6, and has a 7-bit structure as shown in Fig. 3A. As this diagram clearly shows, the status data of each of the switches 2a to 2g are respectively stored in the individual bits 1 (LSB) to 7 (MSB) of the R register. The value of each bit is "1" when its associated switch is ON and "0" when it is OFF (see Fig. 3B). For instance, when only the switch 2a is ON, only the LSB (bit 1) is set to "1" as indicated by 20-1 in Fig. 3B. When only the switches 2a and 2b are ON, only the bit 1 (LSB) and bit 2 are set to "1" as indicated by 20-3 in Fig. 3B. A single tone conversion table 11 holds the contents of the R register and pitch data (internal code values) of single tones corresponding to these contents as shown in Fig. 4. The CPU 6 searches through the single tone conversion table 11 using the content of the R register as a key to acquire the pitch data of a single tone designated by operation of the pitch designating switches 2 in normal mode. For instance, when all the pitch designating switches 2a-2g are switched ON and the tone or pitch name "C₄" of the 4-th octave is specified, every bit of the R register becomes "1" and the CPU 6 searches through the single tone conversion table 11 and reads out pitch data (internal code value) "60" (in decimal notation) corresponding to the content of the R register having all the bits set to "1." A first chord conversion table 12 holds chord data 30 consisting of a pair of chord data 30-1 and pitch data 30-2 of each constituent of a chord corresponding to the chord data 30-1 for every chord designated in chord mode 1, as shown in Fig. 5. These data, which will be described later, are associated with a chord set by operating the pitch designating switches 2 and octave setting switches 3 in chord mode 1. The CPU 6 searches through the first chord conversion table 12 using the chord data 30-1 as a key and reads out pitch data of the individual constituents of the designated chord. Although the individual constituents of each chord stored in a chord constituent region 30 are indicated by pitch symbols such as "C₄" and "E₄" in Fig. 5, actually pitch data (internal code values) corresponding to these pitch symbols are stored. A second chord conversion table 13 holds pitch data (internal code values) of the individual constituents of every chord designated in chord mode 2, as shown in Fig. 6. The pitch data (internal code values) of the individual constituents of a chord designated by operation of the pitch designating switches 2 is stored in the conversion table 13 at an address corresponding to the value of the R register. In chord mode 2, the CPU 6 searches through the second chord conversion table 13 using the value of the R register holding the status data of each of the pitch designating switches 2 as a key and reads out pitch data (internal code values) of the individual constituents of the chord designated by operation of the switches 2. The tone generator 7 has an analog sound source or a digital sound source such as an FM sound source or PCM sound source, and can simultaneously generate a plurality of musical tone signals with different pitches. Based on the pitch data, timbre data, volume data, etc. sent from the CPU 6 in normal mode, the tone generator 7 generates a musical tone signal at the designated pitch with musical characteristics such as the timbre and volume corresponding to the above timbre data and volume data. The tone generator 7 starts generating the musical tone upon reception of key-ON data from the CPU 6, and stops the tone generation upon reception of key-OFF data from the CPU 6. The musical tone signal from the tone generator 7 is sent to a sound or tone output unit 14. When the chord mode 1 is selected, the CPU 6 searches the single tone conversion table 11 shown in Fig. 4 from the status data of the pitch designating switches 2 stored in the R register to obtain the root of a chord and obtains the type of the chord from the status data of the octave setting switches 3. Based on the root and type of the chord, the CPU 6 prepares pitch data of each constituent of the chord and sends it to the tone generator 7. When the chord mode 2 is selected, the CPU 6 searches the root and type of a chord from the status data of the pitch designating switches 2 stored in the R register. Based on the status data of the octave setting switches 3 and sharp/flat setting switches 5, the CPU 6 alters the pitches of the individual constituents of the chord and sends the resulting pitch data of each constituent of the chord to the tone generator 7. Based on the received pitch data of each chord constituent, the tone generator 7 generates the chord and sends it to the tone output unit 14. The tone output unit 14 comprises an amplifier 14-1 and a loud speaker 14-2 and produces a single tone or a chord sent from the tone generator 7 outside as a sound. Figs. 7A and 7B are outer views of an electronic wind instrument realized by providing various switches illustrated in Fig. 1. This embodiment takes the shape of a wind instrument having a horn section 15 and a mouth section 16. The pitch designating switches 2 comprising the switches 2a-2g, octave setting switches 3 comprising the switches 3a-3e, timbre/effect select switch 4 and sharp/flat setting switches 5a and 5b, which have been explained referring to Fig. 1, are provided on the horn section 15 where a player can easily put his fingers on. The breath sensor 8 shown in Fig. 1 is provided near the joint between the mouth section 16 and the horn section 15. The other elements also shown in Fig. 1 are provided at the interior of the horn section 15 shown in Figs. 7A and 7B. Operation Figs. 8A through 8F are diagrams for explaining how to play a music in normal mode and chord mode 1. For instance, in playing a melody of "C₄," "A₅," "D₅" and "G₆" (the subscripts affixed to the individual pitch names "C," "A," "D" and "G" indicating an octave number) shown in Fig. 8A, the normal mode is selected by the mode selecting switch 1, then the pitch designating switches 2 and octave setting switches 3 are sequentially operated as shown in Figs. 8C-8F while performing a breath operation to blow through the mouth section 16. Figs. 8C-8F illustrate the statuses of the pitch designating switches 2 and octave setting switches 3, and those switches activated (ON) are marked in black. For instance, in setting the pitch of "C₄," as shown in Fig. 8C, the all the switches 2a-2g of the pitch designating switches are switched ON to designate the pitch of "C₄" and at the same time the switch 3c of the octave setting switches is switched ON to inform that no octave alteration will be made to the pitch designated by the switches 2. In setting the pitch of "A₅," as shown in Fig. 8D, the switches 2a and 2b of the pitch designating switches are switched ON to designate the pitch name of "A" and at the same time the switch 3b of the octave setting switches is switched ON to specify "one octave above." Similarly, the pitches of "D₅ and "G₆" are set by performing the switch operations as shown in Figs. 8E and 8F. In this manner, the pitches of "A₄" to "G₄" are designated by operation of the pitch designating switches 2 and "2 octaves above," "1 octave above," "no octave alteration," "1 octave below" and "2 octaves below" can be specified to those pitches designated by the pitch designating switches 2, by activating the associated switches 3a 3e of the octave setting switches 3. Although not particularly illustrated, a pitch half tone higher than the one set in the above manner can be set by activating the sharp setting switch 5a and a half tone lower pitch can be set by activating the flat setting switch 5b. Through a breath operation to blow through the mouth section 16 with a strength equal to or higher than a predetermined level, a musical tone (single tone) having the pitch set by operation of the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5 is generated from the tone generator 7 and produced as a sound from the tone output unit 14. In normal mode, therefore, the pitch of the desired musical tone (single tone) can be set by operating the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5, and the desired melody can be played by performing the above breath operation. To play a harmony with a sequence of chords "C (C major)," "Am (A minor)," "Dm (D minor)" and "G₇ (G minor 7th)" as shown in Fig. 8B, the chord mode 1 should be selected by the mode selecting switch 1. In chord mode 1, operating the pitch designating switches 2 specifies the roots of chords and operating the octave setting switches 3 specifies the types of chords, such as minor 7th chord, minor chord, major chord, suspended chord, and augmented chord. More specifically, the minor 7th chord, minor chord, major chord, suspended chord, and augmented chord are designated by respectively operating the switches 3a to 3e of the octave setting switches 3. In chord mode 1, therefore, the root "C₄" of the chord is set by operating the pitch designating switches 2 as shown in Fig. 8C and the "major chord" is set by operating the octave setting switch 3C as shown in the same diagram. By effecting the aforementioned breath operation, the chord of "C (C major)" shown in Fig. 8B is generated from the tone generator 7 and produced as a sound from the tone output unit 14. Similarly, the chords "Am (A minor)," "Dm (D minor)" and ""Gm7 (G minor 7th)" as shown in Fig. 8B are set by the operation of the pitch designating switches 2 and octave setting switches 3, and these chords are generated from the tone generator 7 and produced as a sound from the tone output unit 14 by effecting the breath operation. In chord mode 1, therefore, the desired chord can be set by operating the pitch designating switches 2 and octave setting switches 3 and this chord can be played by effecting the breath operation. The following will describe how to play a chord when the chord mode 2 is selected by the mode selecting switch 1, referring to Figs. 9A-9F. Those switches activated (ON) are also marked in black. In chord mode 2, the octave setting switches 3 will not be operated, and the types of chords (major chord, minor chord, major 7th chord, etc.) and the roots of the chords are set by operating only the pitch designating switches 2. Operating the octave setting switches 3 can set and alter in the units of octaves the pitches of the constituents of each chord set in the above manner. The functions of the individual octave setting switches 3 are the same as those in normal mode. That is, the pitch of each constituent of the chord set by the operation of the pitch designating switches 2 can be altered in the units of octaves like "2 octaves above," "1 octave above," "no octave alteration," "1 octave below" and "2 octaves below" by activating the associated switches 3a-3e of the octave setting switches 3. In chord mode 2, the individual switches 2a-2g of the pitch designating switches are respectively assigned with the pitches "C₄" (switch 2g), "D₄" (switch 2f), "E₄" (switch 2e), "F₄" (switch 2d), "G₄" (switch 2c), "A₄" (switch 2b) and "B₄" (switch 2a), as indicated within the parentheses "( )" affixed on the right of the switches in Fig. 9B. In designating a major chord, that of the pitch designating switches 2 which is associated with the pitch name of the root of the desire chord is activated, then the octave alteration of the pitch of the root is specified by operation of the octave setting switches 3. For instance, in setting the C major chord having "C₄" as its root as shown in Fig. 9A, the switch 2g associated with the pitch of "C₄" is activated and the switch 3c associated with "no octave alteration" is activated, as shown in Fig. 9B. In specifying a minor chord, any two of the pitch designating switches 2 are switched ON. If, at this time, the designated two pitch names are adjacent to each other (having an adjacent pitch relation), the lowest pitch designated will be the root of the minor chord. For instance, when the switch 2g associated with the pitch name "C₄" and the switch 2f associated with the pitch name "D₄" are switched ON as shown in Fig. 9C, the C minor chord having the lowest pitch "C₄" as its root is specified since those two designated pitches "C₄" and "D₄" have a continuous pitch relation. Since the switch 3d is ON specifying "1 octave below," the C minor chord (Cm) having the pitch "C₃" as the root is specified. If the designated two pitch names are not adjacent to each other (having a non-adjacent pitch relation), a minor chord having the highest pitch designated as the root is set. For instance, when the switch 2a associated with the pitch name "B₄" and the switch 2d associated with the pitch name "F₄" are switched ON, with the switch 3c for specifying "no octave alteration" being switched ON as shown in Fig. 9D, "B₄" and "F₄" have a non-adjacent pitch relation and "B₄" is the highest pitch. Accordingly, the B minor chord (Bm) having the highest pitch "B₄" (see Fig. 9A) as its root is specified. Similarly, a D minor chord (Dm), E minor chord (Em), F minor chord (Fm) and G minor chord (Gm) other than the aforementioned C minor chord (Cm) and B minor chord (Bm) can be set by operating the pitch designating switches 2 and octave setting switches 3 as shown in Figs. 10B to 10F. That is, it is possible to set minor chords having all the notes of "C," "D," "E," "F," "G," "A" and "B" in one octave range as the roots. In designating a major 7th chord, three of the pitch designating switches 2 need to be switched ON. If, at this time, the designated three pitches have an adjacent pitch relation, a major 7th chord having the lowest pitch designated as the root is set. For instance, when the switches 2c to 2e are switched ON, with the switch 3b for specifying "1 octave above" being switched ON as shown in Fig. 9E, the E major 7th chord (E₇) (see Fig. 9A) having the lowest pitch "E₅" (associated with the switch 2c) as its root is specified. If the designated three pitches have a non-adjacent pitch relation, on the other hand, a major 7th chord having the highest pitch designated as the root is set. For instance, when the switches 2c, 2e and 2f are switched ON, with the switch 3c for specifying "no octave alteration" being switched ON as shown in Fig. 9F, the G major 7th chord (G₇) (see Fig. 9A) having the highest pitch "G4" as its root is specified. Similarly, a C major 7th chord (C₇), D major 7th chord (D₇), F major 7th chord (F₇) and A major 7th chord (A₇) other than the aforementioned E major 7th chord (E₇) and G major 7th chord (G₇) can be set by operating the pitch designating switches 2 and octave setting switches 3 as shown in Figs. 11B to 11E. That is, it is possible to set major 7th chords having all the notes of "C," "D," "E," "F," "G," "A" and "B" in one octave range as the roots. The switching between the normal mode, chord mode 1 and chord mode 2 by means of the mode selecting switch 1 is done by the CPU 6 executing the operational flowchart shown in Fig. 12, The chord flag used in the flowchart is for storing the presently selected mode; it stores "0" for normal mode, "1" for chord mode 1 and "2" for chord mode 2. The CPU 6 discriminates whether or not the mode selecting switch 1 is ON (SA1), then discriminates whether or not the chord flag is set to "2" (SA2) if the switch 1 is ON. If the chord flag is set to "2" (i.e., if the chord mode 2 has been selected), this flag is then set to "0" (SA3). If the chord flag is not set to "2" in SA2, i.e., if it is "0" or "1," the value of the flag is incremented by 1 (SA4). Through the above operation, every time the mode selecting switch 1 is switched ON, the mode will be changed in the sequence of normal mode (chord flag=0) → chord mode 1 (chord flag=1) → chord mode 2 (chord flag=2) → normal mode (chord flag=0)→ ... The CPU 6 executes the process of the operational flowchart shown in Fig. 13 based on the chord flag upon occurrence of a timer interrupt at a predetermined cycle. First, the statuses (ON/OFF states) of the individual switches 2a-2g of the pitch designating switches 2 are scanned and are stored in the R register shown in Fig. 2A (SB1). As a result, the statuses of the switches 2a-2g are stored in the first bit (LSB) to seventh bit (MSB) of the R register, respectively. Subsequently, the CPU 6 discriminates whether or not the value of the chord flag is "0" (SB2) and executes the normal mode process to generate a musical tone (single tone) at the pitch designated by the operation of the pitch designating switches 2 if the flag is "0" (i.e., if the normal mode has been selected) (SB3). If the value of the chord flag is not "0" in SB2, on the other hand, the CPU 6 then discriminates whether or not the value of the chord flag is "1" (SB4). If the chord flag is "1" (if the chord mode 1 has been selected), the CPU 6 executes the chord mode 1 process to generate a chord whose root is the pitch designated by the operation of the pitch designating switches 2 and which is designated by the operation of the octave setting switches 3 (SB5). If the chord flag is not "1" in SB4, i.e., if it is "2" (chord mode 2 having been selected), the CPU 6 executes the chord mode 2 process to generate a chord designated by the operation of the pitch designating switches 2 (SB6). Fig. 14 illustrates the operational flowchart for explaining the normal mode process SB3. First, the CPU 6 searches the single tone conversion table 11 shown in Fig. 3 using the value of the R register as a key, reads out the pitch data (internal code value) designated by operation of the pitch designating switches 2 and stores the pitch data in the buffer KENAME (SC1). Through the above operation, if only the switch 2g of the pitch designating switches 2 is switched ON, for example, only the bit 7 (MSB) of the R register becomes "1" and the other bits 1 (LSB) to 6 all become "0" because of the process SB1 shown in Fig. 13. Accordingly, the CPU 6 searches the single tone conversion table 11, reads out pitch data "71" of "B₄" (4-th octave of "B") corresponding to the content of the R register and stores the data in the buffer KENAME (see Fig. 4). Subsequently, the CPU 6 scans the statuses of the sharp/flat setting switches 5, and it sets "1" in the buffer SHA.FRA if sharp setting switch 5a is ON and sets "-1" therein if the flat setting switch 5b is ON (SC2). Then, the CPU 6 scans the statuses of the individual switches 3a-3e of the octave setting switches 3 and stores octave change data corresponding to activated switches in the buffer OCTBF (SC3). For instance, if the switch 3b is ON, octave change data "12" is written in the buffer OCTBF. If the switches 3a, 3c, 3d and 3e are ON, octave change data of "24," "0," "-12" and "-24" are respectively written in the buffer OCTBF. As shown in Fig. 2, the pitch data (internal code value) of the pitch of the same pitch name increases by 12 upon each 1-octave increment and decreases by 12 upon each 1-octave decrement. The above operation permits the buffer OCTBF to store values corresponding to pitch differences associated with a command to alter the 4-th octave pitch designated by the operation of the pitch designating switches 2 in the units of octaves designated by the operation of the octave setting switches 3. Subsequently, the values of the buffers KENAME, OCTBF and SHA.FRA are added together and the resultant value is stored in the buffer NEWKEY (SC4). This operation permits the buffer NEWKEY to store the pitch data (internal code value) designated by the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5. The CPU 6 then discriminates whether or not the value in the buffer NEWKEY equals the value in buffer OLDKEY (SC5). As the buffer OLDKEY contains the previously designated pitch data (which will be described later), the value in the buffer NEWKEY becomes equal to that in the buffer OLDKEY if the previous operation of the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5 is the same as the present operation thereof. It is therefore discriminated whether or not pitch designation has been changed by determining if the values in the buffers NEWKEY and OLDKEY equals each other. If the present pitch designation is determined to be different from the previous one in SB4, the value of the buffer NEWKEY is stored in the buffer OLDKEY (SC6). The pitch data stored in the buffer NEWKEY is then written in the buffer KDATA (SC7) and it is discriminated whether or not a tone-ON flag is ON (SC8). The tone-ON flag serves to memorize whether a musical tone is presently generated from the tone generator 7; it holds "1" (ON) if the tone generation is in progress and "0" (OFF) if otherwise. If the tone-ON flag is ON in SC8, the CPU 6 outputs a key-OFF signal to the tone generator 7 to specify interruption of the tone generation (SC9) and sets the tone-ON flag to "0" (OFF) (SC10). The pitch data stored in the buffer KDATA is then sent to the tone generator 7 (SC11). If the pitch designation changes through the above operation, tone generation from the tone generator 7 will be stopped when a musical tone is presently produced therefrom, and newly designated pitch data will be sent to the tone generator 7. The tone-ON flag is reset to "0" (OFF) from the "1" (ON) status. If it is discriminated in SC5 that no alteration has been made to pitch designation, the process will be terminated immediately. A detailed description will be given of the chord mode 1 process of the aforementioned SB5, referring to the flowchart shown in Fig. 15. First, the CPU 6 searches the single tone conversion table 11 using the value of the R register as a key, and stores the pitch data of the root of the chord designated by operation of the pitch designating switches 2, in the buffer KENAME (SD1). Subsequently, the CPU 6 scans the statuses of the octave setting switches 3 and stores the chord type data designated by the operation of the switches 3 into the buffer OCTBF (SD2). The values of the chord type data are the same as those of the aforementioned octave change data in normal mode. That is, the value of the chord type data is "24" when the switch 3a is switched ON specifying a minor 7th chord, is "12" when the switch 3b is switched ON specifying a minor chord, and is "0" when the switch 3c is switched ON specifying a major chord. Similarly, the value of the chord type data is "-12" when the switch 3d is switched ON specifying a suspended chord and "-24" when the switch 3e is switched ON specifying an augmented chord. Then, the pitch data (internal code value) of the root of a chord stored in the buffer KENAME is added to the designated chord type data stored in the buffer OCTBF, and the result (chord data 30-1) is stored in the buffer NEWCODE (SD3). Since the pitch data (internal code value) increases (or decreases) by "12" for each 1-octave increment (or decrement), the result of the addition (value of the buffer NEWCODE) would differ every time the type of a chord differs. The CPU 6 then discriminates whether or not the chord data 30-1 stored in the buffer NEWCODE equals the chord data 30-1 stored in the buffer OLDCODE (SD4). As the buffer OLDCODE contains the chord data 30-1 previously designated (which will be described later), the values of the chord data 30-1 in the buffers NEWCODE AND OLDCODE become equal to each other if the chord previously designated by the operation of the pitch designating switches 2 and octave setting switches 3 is the same as the presently designated chord. It is therefore discriminated whether or not chord designation has been changed by determining if the value of the buffer NEWCODE equals that of the buffer OLDCODE, It is discriminated in SD5 that alteration has been made to the chord designation, the chord data 30-1 stored in the buffer NEWCODE will be written in the buffer OLDCODE (SD5). Then, the CPU 6 searches the first chord conversion table 12 shown in Fig. 5 using the chord data 30-1 in the buffer NEWCODE as key data, acquires pitch data of the root, third and fifth (also seventh in case of a minor 7th chord), which are the constituents of a chord corresponding to the chord data 30-1, and writes these pitch data in the buffers CHORD0-CHORD2 (CHORD3) (SD6). In other words, when the chord mode 1 is selected, the CPU 6 searches the first chord conversion table 12 using as a key the chord data 30-1 which is the result of adding the pitch data (pitch data of the root of a chord) stored in the buffer KENAME to the chord type data stored in the buffer OCTBF, and prepares the pitch data of the root, third and fifth (also seventh in case of a minor 7th chord), which are the constituents of the designated chord. For instance, in case of a C major chord having "C₄" as the root, the pitch data stored in the buffer KENAME would become "60" while the chord type data stored in the buffer OCTBF would be "0." Therefore, the chord data 30-1 stored in NEWCODE is "60" (=60+0). As shown in Fig. 5, the value of the chord data 30-1 associated with a C major chord is "60." Similarly, in case of a C augmented chord having "C₄" as the root, KENAME="60" and OCTBF="-24," the value of the chord data 30-1 would be 60-24=36. The first chord conversion table 11 shown in Fig. 5 contains the individual constituents of a C augmented chord as a chord associated with the chord data 30-1 having a value of "36." Subsequently, the CPU 6 discriminates whether or not the tone-ON flag is ON ("1") (SD7), and outputs the key-OFF signal to the tone generator 7 if the flag is ON (SD8). Then, the CPU 6 sets the tone-ON flag OFF ("0") (SD9) and sends the pitch data of the constituents of a chord stored in the buffers CHORD0-CHORD2 (CHORD3) to the tone generator 7 (SD10). If a musical tone is presently produced from the tone generator 7 when chord designation has been altered through the above operation, tone generation from the tone generator 7 is stopped and the pitch data of each constituent of a newly designated chord is sent to the tone generator 7. The tone-ON flag is reset to OFF ("0"). Referring to the flowchart of Figs. 16A and 16B, a detailed description will be given of the chord mode 2 process of the process SB6 in the flowchart shown in Fig. 13. First, the CPU attains pitch data of each constituent of a chord designated by operation of the pitch designating switches 2, from the second chord conversion table 13 shown in Fig. 6 based on the value of the R register and stores the attained pitch data in the buffers CHORD1 (root), CHORD1 (third), CHORD2 (fifth) and CHORD4 (seventh) (SE1). The value of the R register is equal to the value of the address at which the pitch data of each corresponding chord constituent stored in the second chord conversion table 13, and this pitch data is acquired by reading pitch data from the second chord conversion table 13 at the address specified by the value of the R register. For instance, when only the switch 2a of the pitch designating switches 2 is switched ON, a C major is specified as shown in Fig. 3B and the value of the R register would be "1." Referring now to the second chord conversion table 13 of Fig. 6, pitch data (internal code values) of "C₄," "E₄" and "G₄," the constituents of the C major, are stored at the address 1. When the switches 2a-2c are switched ON, a C major 7th chord is specified as shown in Fig. 3B, and the value of the R register would be "7." Referring now to the second chord conversion table 13 of Fig. 6, pitch data (internal code values) of "C₄," "E₄," "G₄" and "B₄b," the constituents of the C major 7th chord, are stored at the address 7. Then, the CPU 6 scans the statuses of the sharp/flat setting switches 5 (SE2) and discriminates whether or not the sharp setting switch 5a is ON (SE3). If the switch 5a is ON, the CPU 6 increments the values of the buffers CHORD0-CHORD2 (CHORD3) by 1 (SE4). If the switch 5a is OFF in SE3, the CPU 6 then discriminates whether or not the flat setting switch 5b is ON (SE5) and decrements the values of the buffers CHORD0-CHORD2 (CHORD3) by 1 (SE6). If the sharp setting switch 5a is switched ON in the above operation, every constituent of the chord designated by the operation of the pitch designating switches 2 rises up a half tone. If the flat setting switch 5b is switched ON, every constituent of the chord falls a half tone. Following the above-described SE4 or SE6, the CPU 6 scans the statuses of the individual octave setting switches 3 and alters the pitch data stored in the buffers CHORD0-CHORD2 (CHORD3) in the units of octaves in accordance with the octave setting switches 3a-3e switched OFF. More specifically, if the switch 3a is ON, the values of the buffers CHORD0-CHORD2 (CHORD3) are all incremented by "24" (2-octave increment), and if the switch 3b is ON, the values of the buffers CHORD0-CHORD2 (CHORD3) are all incremented by "12" (1-octave increment). Similarly, when the switches 3c-3e are ON, those values of the buffers are incremented by "0" (no octave alteration), "-12" (1-octave decrement) and "-24" (2-octave decrement), respectively. Through the above operation, the pitches of the individual constituents of the chord designated by the operation of the pitch designating switches 2 are altered in the units of octaves by operating the octave setting switches 3. Subsequently, the CPU 6 discriminates whether or not the values of the buffers CHORD0-CHORD2 (CHORD3) equal those of OLDCHORD0-OLDCHORD2 (OLDCHORD3) (SE8). OLDCHORD0-OLDCHORD2 (OLDCHORD3) contain pitch data of the constituents of the previously designated chord (which will be described later). When the present chord designation done by operating the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5 is the same as the previous one, the values of the buffers CHORD0-CHORD2 (CHORD3) respectively coincide with those of the buffers OLDCHORD0-OLDCHORD2 (OLDCHORD3). Accordingly, it is discriminated in the aforementioned SE8 whether or not chord designation has been changed. If the decision in SE8 is alteration in chord designation, the values of the buffers CHORD0-CHORD2 (CHORD3) are stored in the buffers OLDCHORD0-OLDCHORD2 (OLDCHORD3), respectively (SE9) and it is then discriminated whether or not the tone-ON flag is ON ("1") SE10). If the tone-ON flag is ON, i.e., if a musical tone is presently generated from the tone generator 7, the key-OFF signal is sent to the tone generator 7 (SE11) and the tone-ON flag is set OFF ("0") (SE12). Subsequently, the pitch data stored in the buffers CHORD0-CHORD2 (CHORD3) are sent to the tone generator 7. If chord designation is changed by the above operation during tone generation, tone generation is stopped and the pitch data of the individual constituents of a newly designated chord is sent to the tone generator 7. As described above, a single tone of the pitch selected from the range of "B₁" to "C₇" shown in Fig. 2 can be set by operating the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5. In chord mode 1, five types of chords, "minor 7th chord," "minor chord," "major chord," "suspended chord" and "augmented chord" having each the full scale notes of 1 octave can be set as the root by operating the pitch designating switches 2 and octave setting switches 3. In chord mode 2, three types of chords, "major chord," "minor chord" and "major 7th chord" having each the full scale notes of 1 octave can be set at the root by operating the pitch designating switches 2, octave setting switches 3 and sharp/flat setting switches 5. The single tone or chord set in the above manner can be generated from the tone generator 7 by performing a breath operation on the mouth section 15 at a strength equal to or greater than a predetermined level. Fig. 17 illustrates the operation flowchart of the tone generation control process the CPU 6 executes when a breath operation is performed. When a timer interrupt occurs at a predetermined cycle, the CPU 6 reads breath data corresponding to the breath operation through the A/D converter 10, and writes this data into the BRATH register (not shown) (SF1). Then, the CPU 6 discriminates whether or not the value in the BRATH register is equal to or greater than a threshold value Th at the start of generation of the key-ON signal (SF2). If it is equal to or greater than the threshold value Th, the CPU 6 discriminates whether or not the tone-ON flag is ON ("1") (SF3). If the tone-ON flag is not ON, i.e., if no tone generation is presently done by the tone generator 7, the key-ON signal and initial data specifying the volume, etc. at the start of tone generation are sent to the tone generator 7 (SF4), and the tone-ON flag is set ON ("1") (SF5). The initial data is set based on the amount of a change in breath data per unit time, for example. Upon reception of the key-ON signal through the above operation, the tone generator 7 starts generating a chord or a single tone based on the pitch data of each constituent of the chord or the pitch data of the single tone sent from the CPU 6. If the tone-ON flag is not ON ("1") in SF3, the CPU 6 prepares after data such as volume data for specifying the volume of a presently generated chord (or single tone) based on the value of the breath data (SF6). When a player performs a breath operation through the above operation, the volume of the chord or single tone to be generated will be changed in accordance with the strength of the breath operation. If the value of the breath data is smaller than the threshold value Th of the key-ON signal in SF2, the CPU 6 discriminates whether or not the tone-ON flag is ON ("1"(SF7). If this flag is ON ("1"), the CPU 6 sends the key-OFF signal to the tone generator 7 (SF8) and then sets the flag OFF ("0") (SF9). Through the above operation, if the value of the breath data becomes smaller than the predetermined threshold value Th of the key-ON signal during generation of a chord or a single tone, the key-OFF data is sent to the tone generator 7, causing the generator 7 to stop the chord or single tone generation. Although, according to the above embodiment, when the number of the pitch designating switches switched ON is 1, 2 or 3 in chord mode 2, the major chord, minor chord or seventh chord is set, it is also possible to set other chords associated with the number of operated switches when it is 4 or more. The association between the number of activated switches and the types of chords to be set by the switches need not be limited, but may hold an arbitrary relation. The number of the pitch designating switches is in no way restricted to 7; it can vary as long as the switches can designate pitches in at least a 1-octave range. Further, the root of a chord need not be restricted to fall within the range specified in the above embodiment. The CPU may prepare pitch data of each constituent of a chord through a computation without using any chord conversion table. In addition, the pitch designating switches are not restricted to be of an ON/OFF type, but may be electrostatic capacitive or pressure-sensitive switches. As described above, this invention can realize a chord setting apparatus particularly effective in an electronic wind instrument, which has fewer number of pitch designating switches and normally designates a pitch by a combination of operated pitch designating switches, and an electronic wind instrument which facilitates the setting of a chord using this chord setting apparatus.

Claims: A chord setting apparatus for an electronic wind instrument (15) , said instrument (15) comprising pitch designating means (2, 5) having a plurality of pitch designating actuators (2a-2g) , said actuators (2a-2g) each being not assigned to a predetermined pitch but being operable such that by a simultaneous actuation of a combination of plural actuators (2a-2g) only one pitch can be designated from among the pitches of at least one octave range; characterized in that: [a] quantity detecting means (6) are provided which, in response to an operation of said pitch designating actuators (2a-2g) , detect the number of said pitch designating actuators (2a-2g) which are simultaneously operated; [b] said pitch designating actuators (2a-2g) are reassigned for chord setting operation to individually designate corresponding pitches; [c] type designating means (2a-2g) for designating a type of chord are provided which operate in accordance with a detection result of said quantity detecting means (6) ; and [d] chord setting means (6, 13) are provided which, in response to an operation of one or simultaneously more than one of said pitch designating actuators, set a chord of a respective type designated by said type designating means (2a-2g) , a root of which chord is, in the case where only a single pitch designating actuator is operated, the pitch corresponding to said single actuator, and in the case where a plurality of pitch designating actuators is simultaneously operated, either the highest one or the lowest one of those pitches corresponding to the pitch designating actuators operated. A chord setting apparatus according to claim 1, characterized in that said chord setting means (6, 13) , in response to a simultaneous operation of two or more of said pitch designating actuators (2a-2g) , discriminate whether or not those one pitches which are assigned to the respectively operated two or more pitch designating actuators (2a-2g) have a non-continuous pitch relation, and do either set the chord of the respectively designated type the root of which is the highest or the lowest assigned pitch, when said non-continuous pitch relation is detected, or do set the chord of the respectively designated type the root of which is that one of said highest and lowest pitches which is different from the afore mentioned root, when said non-continuous pitch relation is not detected. An electronic wind instrument, characterized by a chord setting apparatus according to claim 1 or 2. An electronic wind instrument according to claim 3, characterized by a command means (6) for detecting a strength of a breath operation and for giving a command to generate a musical tone associated with the chord respectively set by said chord setting means (6, 13) when the respective strength of said breath operation becomes equal to or greater than a predetermined level. An electronic wind instrument according to claim 3 or 4, characterized by parameter setting means (3, 4) for setting a value of a parameter for controlling a characteristic of a musical tone to be generated. An electronic wind instrument according to one of claims 3 to 5, characterized by mode selecting means (1) for selectively switching between a normal mode for setting a single pitch and a chord mode for setting a chord; wherein a control means (6, 11) sets the respectively designated pitch when the normal mode is selected and permits the chord setting means (6, 12) to set a chord when the chord mode is selected by said mode selecting means (1) .

Inventors: SAKASHITA, SHIGEO PAT.DEP.DEVEL.DIV. HAMURA
Applicants: CASIO COMPUTER COMPANY LIMITED
Application year: 1989
Main classification: G10H1
IPC codes: G10H1