GB1561779A - Electronic musical instruments - Google Patents

Electronic musical instruments Download PDF

Info

Publication number
GB1561779A
GB1561779A GB25604/77A GB2560477A GB1561779A GB 1561779 A GB1561779 A GB 1561779A GB 25604/77 A GB25604/77 A GB 25604/77A GB 2560477 A GB2560477 A GB 2560477A GB 1561779 A GB1561779 A GB 1561779A
Authority
GB
United Kingdom
Prior art keywords
signal
circuit
key
key code
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
GB25604/77A
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP7506576A external-priority patent/JPS531014A/en
Priority claimed from JP7506676A external-priority patent/JPS531015A/en
Application filed by Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Publication of GB1561779A publication Critical patent/GB1561779A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/18Selecting circuits
    • G10H1/26Selecting circuits for automatically producing a series of tones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H5/00Instruments in which the tones are generated by means of electronic generators
    • G10H5/002Instruments using voltage controlled oscillators and amplifiers or voltage controlled oscillators and filters, e.g. Synthesisers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

(54) ELECTRONIC MUSICAL INSTRUMENTS (71) We, NIPPON GAKKI SEIZO KABUSHIKI KAISHA, a corporation organised and existing under the laws of Japan, of lel, Nakazawa-cho, Hamamatsu-shi, Shizuoka-ken, Japan, do hereby declare the invention, for which we pray that a patent may be granted to us, and the method by which it is to be performed, to be particularly described in and by the following statement:- This invention relates to electronic musical instruments.
Various types of electronic musical instruments have recently been developed with the rapid advances in electronic techniques.
Electronic organs, typical electronic musical instruments, are widely used because they can produce many types of tone colors and various tone effects thereby enabling rich and versatile musical expressions, and because they can readily be performed by even unskilled players. Electronic musical instruments of this type form musical tones by electronic means different from such natural musical instruments at pianos and pipe organs. When classified according to the method of forming musical tones, electronic musical instruments are classified into tone signal keying systems and synthesizer systems.The tone signal keying system is applied in the conventional type of electronic organ according to which tone source signals having frequency corresponding to the tone pitches of various keys are provided, and the tone source signals of the tone pitches of the operated keys are selected by the operation of the keys of a keyboard unit and supplied to a tone coloring circuit so as to produce desired musical sounds. This system is disclosed, for example, in U.S. Patent No. 3,744,809.According to the synthesizer system, as the keys are depressed, voltage signals hereinafter termed tone pitch signals corresponding to the tone pitches of the operated keys are generated which are used to drive and control voltage controlled type oscillators for producing tone signals corresponding to the tone pitches of the operated keys and a desired musical tone is produced by utilizing these tone signals.
This system is disclosed, for example in U.S.
Patent No. 3,897,709.
As above described, electronic musical instruments are constructed to form musical tones by electronic means so that they can produce by simple manipulation musical tones resembling those of natural musical instruments as well as tones specific to electronic musical instruments and for this reason they have been used extensively. It is strongly desired to construct electronic musical instruments such that they can also provide the glissando effect and the portamento effect which are used in natural musical instruments thereby improving the effect of a musical performance.
However, if the player wishes to produce the glissando effect, in which the musical tone is varied stepwise over a scale, with a prior art electronic musical instrument described above he must sequentially depress the keys of a keyboard in succession at a constant speed and such performance is particularly difficult to execute. Especially when a relatively quick glissando is desired a highly skilled technique is necessary. Where a portamento affect is desired, in which the tone pitch is continuously varied from one musical scale note to the other, as in one type of a Hawaiian guitar, in the electronic musical instrument of the tone signal keying system described above, it it impossible to obtain the portamento effect, since the frequencies of the tone signals are fixed.For this reason, a special portamento performance device has been added to such electronic musical instruments for obtaining the portamento effect. Such portamento performance device utilizes a variable frequency type oscillator and the oscillation frequency thereof is continuously varied by continuously adjusting a variable resistor or the like for the purpose of producing the portamento effect. This system is disclosed, for example, in U.S. Patent No.
3,669,422.
However, the operation of an electronic musical instrument incorporated with a portamento performance device as above described is extremely complicated so that unskilled players cannot satisfactorily perform the portamento effect. More particulariy, to obtain a portamento effect it is necessary to manually operate the operating element of the portamento performance device while performing a melody as well as an accompaniment on a keyboard unit. Moreover such operation must satisfy a desired varying speed condition and must stop when the musical tone reaches the desired destination pitch, and therefore requires excellent skill which will not be attained by unskilled players.
Accordingly, it is an object of this invention to provide an improved electronic musical instrument in which the rate of change in the musical tone pitch from a note corresponding to a firstly depressed key to another note corresponding to a subsequently depressed key can be varied as desired, for example so as to permit the production of a glissando effect or a portamento effect.
According to this invention, there is provided an electronic musical instrument comprising key coder means for delivering key code signals identifying depressed keys, key code memory means for storing said key code signals, comparator means connected to said key coder means and to said key code memory means for comparing a first key code received from said key code memory means with a second key code received from said key coder means, calculation means responsive to the result of comparison in said comparator means for adding to or subtracting from the content of said key code memory means a predetermined value defining a semitone step repetitively at a predetermined clock rate thereby renewing said first key code in said key code memory until said first key code becomes equal to said second key code, and tone forming means connected to said key code memory means and forming a musical tone having a pitch determined by said first key code in said key code memory means.
An embodiment of the invention will now be described, by way of example, with reference to the accompanying drawings, in which: Fig. 1 is a block diagram showing the basic construction of an electronic material embodying the invention; Figs. 2A and 2B, when combined as shown in Fig. 2C, show a block diagram of one embodiment of this invention; Figs. 3A to 3F are symbols showing various types of logical elements utilized in this invention; Fig. 4 is a connection diagram showing one example of the timing signal generator shown in Fig. 2; Figs. 5A through 5Q are waveforms show- ing various timing pulses formed by the timing signal generator shown in Fig. 4; Fig. 6 is a connection diagram showing the detail of one example of the note detection circuit shown in Fig. 2;; Fig. 7 is a connection diagram showing the detail of a key switch circuit; Fig. 8 is a connection diagram showing the detail of one example of the block detection circuit shown in Fig. 2; Fig. 9 is a connection diagram showing the detail of a sampling and holding circuit shown in Fig. 2; Fig. 10 is a connection diagram showing the detail of a state control circuit shown in Fig. 2; Figs. 11A through 110 are waveforms at various portions useful to explain the operations of the note detection circuit, the block detection circuit, the state detection circuit and the sampling and holding circuit shown in Fig. 2; Fig. 12 is a connection diagram showing the detail of one example of a first key code memory circuit; Figs. 13A and 13B, when combined as shown in Fig. 13C, show a connection diagram show the detail of one example of the key ON-OFF detection circuit shown in Fig. 2;; Figs. 14A and 14B, when combined as shown in Fig. 14C, show a connection diagram of one example of a truncate circuit shown in Fig. 1; Fig. 15 is a connection diagram showing the detail of one example of a depressed key state memory circuit; Figs. 16A and 16B, when combined as shown in Fig. 16C, show examples of a comparator circuit, a calculating circuit and a second key code memory circuit shown in Fig. 2; Figs. 17A through 17G are waveforms ot various portions useful to explain the operation of a pulse width adjusting circuit shown in Fig. 16; Fig. 18 is a connection diagram showing the detail of one example of a sampling control circuit shown in Fig. 2; ; Figs. 19A and 19B, when combined as shown in Fig. 19C, show a connection diagram showing the detail of one example of a sampling circuit and an analogue-digital conversion circuit shown in Fig. 2; Figs. 20A through 20R are waveforms of various portions useful to explain the operations of the sampling control circuit, sampling circuit and the analogue-digital conversion circuit; Fig. 21 is a connection diagram showing the detail of one example of the tone pitch voltage controllers for respective channels, and the musical tone forming unit; and Fig. 22 is a connection diagram showing the detail of one example of a tone pitch voltage controller and the control panel shown in Fig. 2.
Description of the Preferred Embodiment.
A preferred embodiment of this invention will now be described in detail with reference to the accompanying drawings. The electronic musical instrument 10 shown in Fig. 1 comprises a keyboard 12 provided with a plurality of keys. When the keys are depressed, a key coder 14 produces key code signals KC corresponding to the depressed keys and encoded digitally.The key codes are sent to a key code converter unit or key code converter 20 which comprises a memory circuit 22 for storing a key code corresponding to a firstly depressed key (hereinafter termed first key code signal), a comparator 24 for comparing the output of the memory circuit 22 with a key code corresponding to a subsequently depressed key (hereinafter termed second key code signal) and a calculation unit (arithmetic unit) 26 which repeatedly adds or subtracts a predetermined value to or from from the first key code signal stored in the memory device 22 until the result of calculation comes to coincide with the second key code signal.
The calculation unit 26 comprises a gate circuit 30 connected to receive the key code from the key coder 14, a full adder 32 responsive to the output of the gate circuit 30 for producing an output S, a detector 34 watching a portion of the output (key code) of the memory circuit 22 for judging whether the value to be added to or subtracted from the full adder 32 should be "1" or "2" and a gate circuit 36 which is enabled when a portamento control signal is not applied via terminal 30, for applying the output of the memory device 22 to an input terminal B of the full adder 32, but is disabled when the portamento (glissando) control signal is applied via terminal 30. for preventing the output of the memory device 22 from being applied to the input terminal B of the full adder 32.The gate circuit 30 operates to send an output to the full adder 32 indicating that "1" or "2" should be added or subtracted or that any addition or subtraction is not necessary in response to the result of comparison between the first key code signal stored in the memory circuit 22 and the second key code signal newly supplied from the key coder, which is made by the comparator 24, and to a signal that discriminates whether a value to be added or subtracted is "1" or "2". The signal for effecting the addition and subtraction described above is formed by a calculation timing pulse supplied to the gate circuit 30 via a terminal 30b.
The output from the memory circuit 22 is sent to a tone pitch voltage controlling and musical tone forming circuit 40 to act as a note code for forming a desired musical tone.
The operation of the key code converter 20 will now be described.
The operation of a case wherein a portamento (glissando) is not performed will firstly be described. At this time, a portamento (glissando) control signal is not applied to the gate circuits 30 and 36 via the terminal 30,. As a consequence, the gate circuit 36 is enabled to supply the output of the key coder 14 to the full adder 32 without any modification. Accordingly, the output S from the full adder is the same as the output from the key coder and is stored in the memory circuit 22, and the output thereof is sent to the tone pitch voltage controlling and musical tone forming device 40 to form a predetermined musical tone.
Next, a case in which a portamento (glissando) is performed during the course of performance will be described. At this time, the portamento (glissando) control signal is applied to the gate circuits 30 and 36 via terminal 30". Then the gate circuit 36 is enabled to apply the output of the memory circuit 22 to the input terminal B of the full adder 22, whereas the gate circuit 30 prevents the output key code signal of the key coder 14 from being applied directly to the input A of the full adder 32 so as to perform the following operation in response to the outputs of the comparator 24 and the detector 34.
Suppose now that the first key code signal is being stored in the memory device 22.
Under these conditions, when the key coder 14 produces the second key code signal, the comparator 24 compares the second key code signal with the first key code signal read out from the memory device 22 thereby producing a line 24s a signal indicating which one one of the key code signals is larger. When both key code signals coincide with each other the comparator produces a coincidence signal on the line 24".
The detector 34 detects a signal from the output of the memory circuit 22 which discriminates whether a step value to be added or subtracted is "1" or "2". When applied with the above described signals from the comparator 24 and the detector 34, the gate circuit 30 performs the following logical operations.
Where the first key code signal is smaller than the second key code signal, that is when the key codes are becoming higher, the gate circuit 30 judges whether the output from the detector 34 is one of note codes C#, D, E, It, G, G#, A # and B or not, and when it is not such, the gate circuit 30 sends to the full adder 32 an output indicating that "2" should be added to the output of the memory circuit. On the other hand, when it is one of such note codes, the gate circuit 30 applies to the full adder 32 a signal indicating that "1" should be added to the output of the memory circuit.
Where the first key code signal is larger than the second key code signal, that is when the kev codes are descending, the gate circuit 30 judges whether the output from the detector 34 is one of the notes codes D, Djth, F, F#, G#, A, B and C or not, and when it is not such, the gate circuit 30 sends to the full adder 32 an output indicating that "2" should be added to the output from the memory circuit 22. On the other hand, when it is one of such note codes, the gate circuit 30 sends to the full adder 32 a signal indicating that "1" should be added to the output of the memory circuit.
When a signal showing the coincidence between the first and second code signals is supplied from the comparator 24 during the logical operation described above, the gate circuit-30 terminates such logical operation.
At this time, the content of the memory circuit 22 is equal to the second key code signal.
The operation of this invention as applied to an actual electronic musical instrument will now be described with reference to Figs. 2 and following drawings.
The principal elements of the embodiment of this invention shown in Figs. 2A and 2B comprises a key coder 100 which is constructed to detect key switches operated by depressed keys (one key switch is provided for each key, and where the switch is of the make contact type, the switch is closed when associated key is depressed, whereas in the case of the break contact type, the switch is opened when the key is depressed) for N0 ducing coded signals representing the detected key switches, that is key codes KC; a channel processor 200 for assigning the key codes supplied from the key coder 100 to any one of the channels that can simultaneously produce tones (the number of the channels is much smaller than the number of keys, for example 8, which is the number of keys that can be operated simultaneously, or with a slight time difference, that is the maximum number of the keys that can be operated with both hands and one foot); a key code converter 300 which operates and processes the kev codes supplied from the channel processor thereby converting them into key codes KC' utilized to obtain a glissando effect or a portamento effect; a key code-tone pitch voltage converter 400 for generating voltages KV determining the pitches of the tones corresponding to the key codes supplied fromthe key code converter 300; a tone pitch voltage control unit for each channel 500 responsive to the operated and released key switches which are assigned to respective channels by the channel processor 200 for controlling the tone pitch voltage KV; a musical tone forming unit 600 which produces a musical tone signal for each channel corresponding to each tone pitch voltage KV supplied from each tone pitch voltage control unit 500, a tone pitch voltage control unit 700 which controls the tone pitch voltage control unit 500 for each channel for exercising the change over between the glissando and the portamento effects and controlling the speed of the glissando and the portamento effects; a timing signal generator 200 for supplying various timing signals to various units described above, and a loudspeaker and a amplifier for generating the musical sounds corresponding to the output of the musical tone forming urut 600.
The key coder 100 is provided with a key switch circuit 102 including a plurality of key switches 101a101n which are divided into a plurality of blocks (for example, groups for respective octaves). The key switches of each group are assigned to corresponding notes (for example keys for 12 notes of C, C, D .... B). First terminals a movable contacts) of respective key switches 1019 101, of the respective blocks are commonly connected for the same named notes, and wiring lines N.N" are provided for respective notes. The other contacts b (stationary contacts) of the key switches 101a~101n of the same group are also commonly connected and wiring lines Bi-Bi are provided for respective blocks.Consequently, each one of the key switches 101a101a connected between column and row lines at each crosspoint of a matrix circuit constituted by the block wiring lines B,Bl which acts as the row lines and the note wiring lines N,--N, which act as the column lines.For this reason, the total number of the wiring lines derived from key switch circuit 102, that is the sum of the number of the block wiring lines Bi B1 and the number of the note wiring lines, is much smaller than the number of key switches 101a101 For example, assuming that the total number of the key switches 101, --101,, is equal to (lem) the total number of the wiring lines derived from the key switch circuit is equal to the sum of the number of the notes m and the number of the blocks 1, that is (m + 1).The key switches 101,--101, of the key switch circuit 102 constructed as above described are connected to a note detection circuit 103 via note wiring lines N,--N, and to a block detection circuit 104 via block wiring lines Bi-Bi.
The detection of all operated ones of the key switches 101a-101ii is performed in a series of different operating states (hereinafter merely termed states) which are utilized sequentially.
According to a first operating state ST1, a signal is applied to the movable contacts a all key switches 101a101ni from the note detection circuit 103 via the note wiring lines NlN,a and the signal is applied to the block wiring wires Bi-Bi of the block to which the operated key switches belong via the stationary contacts b of only the operated key switches. The signal thus derived is supplied to the block detection circuit 104 and stored therein. In this manner, the presence of one or more of the operated key switches of any block can be detected.During the first state, the timing of storing the signal in the block detection circuit 104 is determined bv a first state signal supplied from a state control circuit 105 which operates in synchronism with the timing signal generator 800. Upon completion of the storing operation of the block detection circuit 104, the state control circuit 105 detects this condition and then controls the second state.
According to a second operating state ST2, one block is extracted according to a predetermined order of preference from one or a plurality of blocks that have been stored in the block detection circuit so as to apply a signal to the stationary contacts b of the key switches belonging to said extracted block via block wiring lines Bi-Bj corresponding to the block extracted from the block detection circuit 104 whereby the signal is derived from the stationary contacts a of the key switches of respective notes in said one block via note wiring lines N1Nm. This derived signal is then stored in the note detection circuit 103.
In this manner the signal from the block detection circuit 103 is transmitted to only note wiring lines N,N", corresponding to the operated ones of the key switches lOla 10L and this signal is stored in the note detection circuit 103, thereby detecting the note codes of one or a plurality of the operated key switches belonging to the extracted block. The block signal extracted by the block detection circuit 104 is converted or encoded into a block code signal (hereinafter termed a block code BC) comprising a plurality of bits (for example 3) representing the block, and the block code is stored in a sampling and holding circuit 106.The timing of extracting one block of the block detection circuit 104 during the second state and the timing of storing of the note detection circuit 103 are determined by the second state signal supplied by the state control circuit 105 in the same manner as in the first state described above. Upon completion of the storing operation of the note detection circuit 103, the state control circuit 105 detects this condition and then controls a third state.
A third operating state ST3 follows the second state ST2. In the third state, one or a plurality of note signals that have been stored in the note detection circuit 103 during the second state are sequentially extracted according to a predetermined order of preference and in synchronism with the clock pulse. The extracted note signal is then connected or encoded into a note code signal (hereinafter termed a note code NC) comprising a plurality of bits (in this example 4) which represents the extracted note signal, and the note codes NC are sequentially supplied to the sampling and holding circuit 106.
Since during the third state ST2 the detection is only performed for a note stored in the note detection circuit 103 there is no time wasted. For example, where three types cf the notes are stored in the note detection circuit 103 a third operating state regarding a specific block will terminate after three clock pulses. When all note codes stored in the note detection circuit 103 are read out this is detected by the state control circuit 105 to prepare for the ccntrol of the next operating state. In this case, when some of the memories of the block signals still remain in the block detection circuit 104 the control is returned to the second or third operating state for executing the same in the same manner as above described.Where there is no memory of the block signal remaining in the block detection circuit 104 the control is returned again to the first state.
The sampling and holding circuit 106 stores and holds a block code BC supplied from the block detection circuit 104 during the third state and produces the block code BC in synchronism with a note code NC supplied from a note detection circuit 103. Accordingly, the sampling and holding circuit 106 produces a key code KC having 7 bits, for example, corresponding to the combination of the block code BC and the note code NC. The key code KC enables ready discrimination between operated key switches. In this manner, before completion of the detection of all operated key switches the control is proceeded stepwisely, namely the first state ST1 o the second state ST2 e the third state ST,S ....
for each block. When a block code BC regarding all blocks which have been firstly stored in the block detection circuit 104 is transmitted and when the transmission of the note code NC regarding the note of the operated key switches in the last block is completed, the contents of all the memories in the block detection circuit 104 and the note detection circuit 103 have been extracted so that no memory is remaining in the block detection circuit 104 and the note detection circuit 103, whereby the operations state is advanced to a fourth state ST, or the wait state. When the state control circuit 105 confirms that operations of the key switch circuit 102, the note detection circuit 103 and the block detection circuit 104 have been reset, the first state ST1 is resumed.Thereafter the fourth state ST,, that is the wait state, will be reached by repeating the second and third states ST2 and STa in a manner as above described during which the detection operations of all key switches are repeated once.
The key code KC sent from the sampling and holding circuit 106 of the key coder 100 is applied to the channel processor 200 in which channels for forming the musical tone signals are assigned. At this time, the key code KC sent out from the sampling and holding circuit 106 is held for a definite interval and the holding time corresponds to one operation time in which one assignment is executed in the channel processor 200.
The channel processor 200 comprises a first key code memory circuit 201, a key ON-OFF detection circuit 202, a truncate circuit 203 and a depressed key state memory circuit 204.
The first key code memory circuit 201 comprises a specific number of memory circuits corresponding to the number of channels that can produce musical tones simultaneously when a plurality of keys are depressed simultaneously. It is advantageous to construct each memory circuit with a circulating shift register.
Suppose now that the number of the channels is equal to A, that the number of bits of a key code KC is equal to B, an A stage (one stage = B bits) shift register having B memory units is used, and a key code RC already stored or assigned is shifted sequentially and sent out on the time division basis by the clock pulse. The sent out key code is used as a control signal for generating a musical tone waveform and also fed back to the input side of the shift register for circulation.
The key ON-OFF detection circuit 202 compares an input key code KC supplied from the key coder 100 with all the memory key codes sequentially sent out from the first key code memory circuit 201 on the time division basis and when these key codes Co- incide with each other, the key ON-OFF detection circuit 202 prevents the key code from being stored in the first key code memory circuit 201, in other words, the assignment of the channels is terminated under a judgement that a key code KC which is identical to the input key code KC nas already been assigned to a specific channel.
In the case of a non-coincidence, the input key code KC is stored in one of the vacant channels of the first key code memory circuit 201 because a new key has been depressed.
Furthermore, where the result of comparison is a non-coincidence and one key code KC has been assigned to each of the channels, the truncate circuit 203 detects the channel to which has been assigned a tone corresponding to an already released key and which has attenuated to the largest extent and causes the key code KC stored in that channel to be forcibly rewritten as an input key code KC. Each time the key code KC is assigned, the key ON-OFF detection circuit 202 supplies the state of assignment of the input key code KC of respective channels to the depressed key state memory circuit 204 to store the state of assignment therein.The output from the memory circuit 204 is used to control the musical tone generation of respective channels as will be described later and to detect a released key so as to change the corresponding memory content of the de pressed key state rhemory circuit 204 thereby terminating the musical tone generation while gradually attenuating the musical tone generated by a channel according to a predetermined condition. During the subsequent operation, vacant channels are selected in accordance with the content stored in the depressed key memory circuit 204 for applying an input key code KC to a stage of a corresponding channel of the first lrev ce memory circuit 201.The portions of the first key code memory circuit 201 and the depressed key state memory circuit 204 corresponding to respective channels are selected in synchronism and on a time division basis for storing the signal.
The key code converter 300 corresponds to the key code converter 20 of the embodiment shown in Fig. 1. Only when a control signal is applied to the control terminal 301 (corresponding to the terminal 302 shown in Fig. 1) does the key code converter 300 function to operate and process the key codes KC which are sequentially supplied from the channel processor 200 whereby the key codes are sequentially processed by addition or subtraction thereto or therefrom of a predetermined value over a range from a key code corresponding to an operated key to a key code KC corresponding to a subsequently depressed key thus converting the key codes KC into shifted key codes KC' which are used to obtain a glissando effect or a portamento effect.
The key code converter 300 comprises a key code shift control terminal 301; a second key code memory circuit 302 (corresponding to the memory circuit 22 shown in Fig. 1) constituted by a circulating shift register having a plurality of memory stages of the number equal to the number of channels and operates to sequentially store the key codes KC supplied from the channel processor 200; an operation circuit 303 which stores again in the second key code memory circuit 302 an operated key code KC' which is formed by adding or subtracting a predetermined value to and from the output key code KC' read out from the second key code memory circuit 302 only when a control signal is applied to the key code shift control terminal 301; and a comparator 304 (corresponding to the comparator 26 shown in Fig. 1) which compares an input key code KC supplied from the channel processor 200 with an output key code KC' from the second key code memory circuit 302 and terminates the operation and processing of the operation circuit 303 which corresponds to the calculation device 26 shown in Fig. 1 when the key codes KC and KC' coincide with each other. The addition and subtraction operations of the operation circuit 303 are controlled by a signal supplied by the comparator 304 in accordance with the result of comparison.Where the output key code KC' from the second keycode memory circuit 302 is larger than the input key code KC supplied from the channel processor 200 a subtraction operation is performed, whereas when the output key code KC' is smaller than the input key code KC an addition operation is performed.In other words, when a key producing a higher tone pitch than that of a firstly operated key is subsequently operated, an addition processing is performed so that the memory in the second key code memory circuit 302 is sequentially shifted such that the output key code KC' from the second key code memory circuit will become a key code KC which produces a higher tone pitch, whereby the musical tone forming unit 600 produces a musical tone signal which increases stepwisely for obtaining a glissando effect, nr a musical tone signal which increases continuously for obtaining a portamento effects The operation period of the operation circuit 303 is determined by a speed control pulse applied to a speed control terminal 305 which corresponds to terminal 30b shown in Fig. 1 whereby the speeds of the glissando and portamento effects are controlled variably.
The key code tone pitch voltage converter unit 400 comprises a sampling circuit 401, a sampling control circuit 402 which controls the sampling period and a digital-analogue converter circuit 402. In the key code tonc pitch voltage generator unit 400, the key code RC' supplied from the key code converter 300 is sampled by the sampling circuit 401 and the sampled key code KC" is applied to the digital-analogue converter 403. The sampling period of the sampling circuit 401 is determined by the output of the sampling control circuit 402 and the sampling period is equal to a time in which the number of the clock pulses necessary to shift the content of the second key code memory circuit is counted by a number equal to the number of channels plus one.Accordingly, each time one cycle of shifting of the second key code memory circuit 302 is substantially completed, the sampling circuit 401 sequentially samples key codes corresponding to different channels and continues to continuously produce the sampled key code KC' till the next sampling time thereby performing decreased speed sampling.Because, the key coder 100, the channel processor 200 and the key code converter unit 300 are required to rapidly detect the state (key depressed and key released states) of the key switches 101a101n as well as the assignment to the channels whereas the portions handling the tone pitch voltage are not required to operate at a high speed because in these portions the key codes are processed parallelly and because when the tone pitch voltage of the analogue signal is processed at a high speed, it is difficult to follow up such high speed processing. More particularly, a small static capacitance of the circuit system and the wiring lines distort the wave form thus making > it difficult to obtain a correct musical tone commensurate with the key code KC'.For the various reasons described above, key code KC' is sampled at a low speed and the sampled key code KC" is then converted into an analogue signal which is applied to the voltage controlled type variable frequency oscillators of respective channels to act as the tone pitch voltage KV.
The digital-analogue converter circuit 403 connected to the output side of the sampling circuit 401 operates to convert the above described key code KC" into a corresponding tone pitch voltage KC. The digital-analogue converter circuit 403 is connected to receive a key code KC" which is sampled by the sampling circuit 401 at a low sampling speed and to divide the sampled key code KC" into a block code Bt:" and a note code NC" which are decoded separately. The decoded block code BC" is applied to a resistance potentiometer for deriving a voltage signal corresponding to the block code. The derived voltage signal is further divided by the decoded note code NC" in proportion to the note thereby producing a tone pitch voltage KV corresponding to the key code KC".By the control signal supplied from the sampling control circuit 402 the tone pitch voltage KV is distributed among the channels to which the key codes KC" sampled by the sampling circuit 401 are assigned. Distribution of the tone pitch voltage KV among respective channels is done in synchronism with the operation of the depressed key state memory circuit 204, and the selected channels are also the same. As above described the tone pitch voltage KV converted into an analogue voltage corresponding to the key code KC" is distributed among respective channels. However, when converting the key code KC" into the tone pitch voltage KV a portion of the converted tone pitch voltage KV during initial build up thereof would be smeared due to a small capacitance of the circuit system of the digital-analogue converter.
For this reason, when the tone pitch voltage KV converted in proportion to the key code KC" is applied to the musical tone forming circuit in the later stage the aforesaid initial portion which is smeared causes the forming of a musical tone quite different from the key code KC", but the musical tone frequency increases gradually, thereby finally producing a musical tone having a frequency corresponding to the desired key code KC". This smearing of the aforesaid method portion of the tone pitch voltage KV persists only a very short time, but in an ordinary musical instrument the musical tone at the time of starting the tone is also important. For this reason, the digital-anologue converter circuit 403 is constructed to distribute the tone pitch voltage among respective channels only when the digital-analogue conversion has been completed.In other words, after being blocked for a very short time (a fraction of the sampled output) after reception of the key code KC" from the sampling circuit the tone pitch voltage KV is distributed among various channels.
The tone pitch voltage control unit 500 for respective channels comprises a plurality of tone pitch voltage control circuits 501a501h independently provided for respective channels.
The tone pitch voltage control circuits 501h through 501h are constructed to independently receive the tone pitch voltage KV supplied from the digital-analogue converter circuit 403 and to enable (open) a gate circuit by a key ON signal supplied from the depressed key state memory circuit 204 thereby storing the tone pitch voltage KV in a capacitor, the terminal voltage thereof being sent to the musical tone forming unit 600 as will be described later.The tone pitch voltage control circuits S01aS01h are also constructed to control the charging time constant of the capacitor when the tone pitch voltage KV is applied by a control signal supplied from a tone pitch voltage control unit 700 to be described later so as to vary the building up and building down of the output tone pitch voltage KV' thereby obtaining a glissando effect or a portamento effect.
The musical tone forming unit 600 includes a plurality of musical tone forming circuits 601---601n independently provided for respective channels. Although not shown, each musical tone forming circuit comprises a voltage controlled variable frequency oscillator (VCO), a voltage controlled type variable filter (VCF), a voltage controlled type variable gain amplifier (VCA), and an en veiope generator (EG) for programming the timing and the amount of controlling various component elements described above (VCO, VCF, VCA). When a tone pitch voltage KV' is applied from the tone pitch voltage control circuits 501,--501h the voltage controlled type variable frequency oscillator VCO generates an oscillation having a frequency corresponding to the applied tone pitch voltage KV'.
The oscillation output is sent out via VCF and VCA to act as a musical tone signal and mixed with musical tone signals sent from musical tone forming circuits of the other channels by mixing resistors 900a900h. The mixed signal is supplied to a loudspeaker, not shown, through an output terminal. When VCO, VCF and VCA are controlled by a waveform control signal generated by an envelope generator (EG) the oscillation frefrequency of the VCO is varied finely in accordance with the waveform control signal whereas in the VCF, its frequency characteristic is varied to form a musical tone signal resembling the tone of a natural musical instrument. Furthermore, in the VCA, the envelope of the musical tone is controlled in accordance with the control waveform.The envelope generator EG is controlled by an adjusting lever, not shown, provided for the control panel 950 of the electronic musical instrument and its timing of starting control is determined by a key-ON signal supplied from the depressed key state memory circuit 204.
The tone pitch voltage control unit 700 supplies a control signal to each of the tone pitch voltage control circuits 5012501h of the tone pitch voltage control unit 500 for respective channels so as to vary the charging time constant of the capacitor provided for respective tone pitch voltage circuits 501- 501h thereby controlling the variation of the tone pitch voltage during switcning between the glissando and portamento effects and during sustaining.
The switching between the glissando and portamento effects are performed by operating a transfer switch provided on the control panel 950. Furthermore, the tone pitch voltage control unit 700 is connected to apply a portamento (glissando) control signal and an addition control pulse to the terminals 301 and 305 respectively of the key code converter unit 300 described above.
The timing signal generator 800 generates various synchronizing signals by counting a reference clock signal supplied from an oscillator, not shown and supplies the synchronizing signals to various component elements described above thereby synchronizing the operations thereof.
Having described the outline of the fundamental elements and operations thereof of one embodiment of an electronic musical instrument embodying the invention the detail of the construction and operation of various elements will now be described with reference to detailed connection diagram and waveforms.
Before describing detailed circuits, symbols utilized therein will firstly be described. Thus Fig. 3A shows an inverter, Figs. 3B and 3C AND gate circuits, Figs. 3D and 3C O;R gate circuits, and Fig. 3F a delay flip-flop circuit termed as D flip-flop. Where the number of the inputs is small, standard symbols as shown in Figs. 3B and 3C are used. However, where there are many inputs modified symbols as shown in Figs. 3C and 3E are used. More particularly in the cases of Figs.
3C and 3E, a single input line is depicted on the input side and a plurality of signal lines are depicted to cross the input line, and the cross points between the used input lines and the single line are bounded by small circles. In the case of Fig. 3C, the logical equation is: Output =A.B.D whereas in the case of Fig. 3E Output = A+B+C.
Timing Pulse Generator 800.
Fig. 4 shows the detail of the timing pulse generator 800 shown in Fig. 2 which gener ates a reference control signal for the electronic musical instrument. For this reason, this timing pulse generator will be described at first. It comprises a four bit counter 801 constituted by four cascade connected flip flop circuits, and a shift register 802 having a plurality of bits of the number equal to that of the channels. In this embodiment, the number of channels is 8. There is provided a reference oscillator, not shown, which produces an output pulse qb. The frequency of pulse + is reduced to obtain output pulses pl and . The counter 801 counts the clock pulse tWl shown in Fig. 5A.This clock pulse is an extremely high frequency pulse having a period of lFs, for example. In the follow ing, the pulse period is called a channel time". Assume now that the number of tones of the electronic musical instrument which are generated simultaneously is 8, then the number of the channels is 8 so that the time slots sequentially sectionalized by the clock pulse +1 and having a width of l,ms are sequentially assigned to the first to eighth channels.Because, the channel processor 200 is constructed to operate under a dynamic logic by operating various memory circuits and logic circuits on the time division bases in order to form a plurality of musical tones at the same time by depressing a plurality of keys at the same time or at slightly different times. As shown in Fig. SB, when respective time slots are sequentially assigned to first to eighth channel times, each channel time will be repeatedly generated at each 8 channel times. More particularly, when a clock pulse fl is applied to the input terminal of the counter 801 from an oscillator, not shown, the counter sequentially counts the clock pulse and produces the result of count as a binary decimal code outputs comprising parallel four bits.Among these outputs, the output of the most significant flip-flop circuit is derived out through an inverter 803d as output pulses Si-Sa in a range of from the first to the eighth channel times, as shown in Fig.
5C. Also the most significant flipflop circuit produces not inverted pulses S,--SI, as shown in Fig. 5D. When the parallel four bit output signals of the counter 801 are simultaneously applied to the inputs of an AND gate circuit 804, this AND gate circuit is enabled to detect the full count condition, thus producing a pulse Sl6 as shown in Fig.
SE at the time of the full count. This pulse S16 is inverted by an inverter 805 to obtain a pulse S16. Thus, the pulse S16 is produced at each assigned processing time (16#s) of the channel processor 200. The processing time is equal to a time in which respective channel times circulate twice. This is because that the channel processor 200 compares the input key code KC with the memory code KC which has already been assigned in the first 8 channel times and performs a writing operation in the succeeding 8 channel times.
Pulses S1S8, and pulses SgSio shown in Figs. 5C and 5D respectively separate the first half 8 channel times and the second half 8 channel times.
When the first to third outputs among the parallel four bit outputs from the counter 801 are simultaneously applied to the inputs of an AND gate circuit 806, this AND gate circuit is enabled to produce output pulses Ss and Si8 at an interval of 8 channel times as shown in Fig. 6G. The output pulses S8 and S,, produced by the AND gate circuit 806 are applied to an 8 bit shift register 802 and sequentially shifted by the clock pulses l and 1t2 thereby producing pulses BTi-3T9 from respective bits corresponding to the sequential sampling of the first to eighth channel times as shown in Figs. 5J through 5Q.
Consequently, the outputs from respective bits of the shift register 802 correspond to timing signals which are derived out in parallel at a spacing of eight channel times.
The first to seventh bit output of the shift register 802 is taken out through an OR gate circuit 807, and an AND gate circuit 808 is enabled when the output of the OR gate circuit 807 and the output from the most significant bit of the counter 801 are simultaneously applied to its inputs thus producing a clock pulse + as shown in Fig. 5E An AND gate circuit 809 is enabled when the output of the OR gate circuit 807 and the output of the inverter 803d are simultaneously applied to its inputs for producting a clock pulse ssg as shown in Fig. SI.
On the output side of the shift register 802 are connected AND gate circuits 810810h which are enabled by the output of the shift register 802 and the respective outputs A,- A7 of the depressed key state memory circuit 204 as will be described later. The outputs of the AND gate circuits 810b--810h are applied to the inputs of a NAND gate circuit 811 for producing an enabling signal ENB which is used in the channel processor 200.
The timing pulse generator 800 further comprises a shift register 815 having channels, the number of the stages of the shift register being (in this example, 8) equal to that of the channels in the same manner as the shift register 802. The outputs of respective stages of the shift register 815 are applied to the inputs of a NOR gate circuit 816 together with an initial clear signal IC which is produced when a power switch, not shown, is closed. The output of the NOR gate circuit 816 is applied to the first stage of the shift register 815. Like shift register 802, the shift register 815 is driven and its content is shifted by two phase clock pulses +1 and d, and applies its output to one input of a NAND gate circuit 817 from its first stage output.
To the other input of the NAND gate circuit is applied the BT5 pulse from shift register 802. For this reason, NAND gate circuit 817 produces one pulse SYNC at each 72 clock pulses.
The initial clear signal IC is produced by differentiating the voltage variation which occurs when the power switch is closed. Since the circuit for producing the initial clear signal is well known in the art, it is not shown herein.
Various circuit elements operate by using the pulse signals and the clock pulses as the timing signals. The operations of various circuit elements will be described sequentially in the following.
Key Code 100.
The key switch circuit 102 is shown in Fig. 6, one example of the note detection circuit 103 is shown in Fig. 7 and one example of the block detection circuit 104 connected to the key switch circuit 102 shown in Fig.
6 is shown in Fig. 8. Fig. 9 shows one example of a sampling and holding circuit which samples the note code NC and the block code BC respectively produced by the note detection circuit 103 and the block detection circuit 104 shown in Figs. 7 and 8 respectively for matching the timing of the note code and the block code, and Fig. 10 shows one example of the state control circuit 105 which controls the operations of the note detection circuit 103, block detection circuit 104 and the sampling and holding circuit 106 described above. As will be described hereinafter in detail, the key coder 100 is constituted by these circuit elements.
A. Key Switch Circuit 102.
The key switch circuit 102 is shown in Fig. 6 and provided with a plurality of key switches 101α--101n respectively corresponding to the keys of the keyboard of an electronic musical instrument. One of the terminals (stationary contacts) of the key switches 101, --101, are commonly connected to respective blocks U1-U5 and then connected to the block input/output terminals 106'α-106'e shown in Fig. 8 via block wiring lines Bi B^. The other terminals (movable contacts) of the key switches 101a10l are connected respectively in series with diodes 107a107u which are used for the purpose of preventing the current from one terminal from flowing to the other terminal.The diodes for the same named note (C#, D . . . . A#, B, C) are commonly connected and then connected to note input/output terminals 108a--1081 respectively through note wiring lines Ni- N12. The number of keys of a two stage keyboard is generally 61. If these keys are divided into five blocks (five octaves) of U1 -U.5, the key (hereinfater called a CL note) of the lowest octave would becomes surplus.
It is uneconomical to increase the number of blocks for this surplus CL note. For this reason, in the embodiment shown in Fig. 6, the CL note is included in block U1 so that this block covers 13 key switches. More particularly, one terminal of the key switch 101, corresponding to the CL note is connected to block wiring line B#, while the other terminal is connected to the note input/output terminal 108" via note wiring line N13.
Since the keyboard portion (key switch circuit 102) and the electrical circuit portion (note detection circuit 103 and block detection circuit 104) are generally located remotely, the length of the wiring lines N1- N13 interconnecting the key switch circuit 102 and the note detection circuit 103 and the wiring lines interconnecting the key switch circuit 102 and the block detection circuit 104 is large thereby accompanying line capacitances ob and Q. For the sake of description the capacitance of lines B1B5 is denoted by Cb and that of lines N1-N15 by Cn. Of course, line capacitances Cb and Cn are independent from each otter, but in this embodiment they are utilized efficiently.
In the note detection circuit 103 shown in Fig. 7 signal transmission circuits 109a~109Ras detected note memory circuits 110a110w and note preference gate circuits 111n--111, are provided for each one of the notes C, B .... C#, and CL. Although Fig. 7 shows the detail of only the signal transmission circuits 109a, 109o and 109m, the detected note memory circuits 110 low and 110m and the note preference gate circuits 111" 111e and 111m for notes C, C# and CL.
Although Fig. 7 shows the detail of only the signal transmission circuits lO9an 1098 and 109m, the detected note memory circuits 110, 110e and llOm and the note preference gace circuits 111a, 111e and 111, for notes C, C# and CL, and the circuits for the other notes are constructed in the same manner. Signal transmission circuits 1093~109= apply voltage VIED to the note input/output terminal 10S,-- 108m by the switching action of transistors 112 provided for each note to charge the line capacitance of the note wiring lines N1-N13.
The signals from the note input/output terminals 10Sa10Sm are supplied to the detected note memory circuits 1103~110m each constituted by an inverter 113, AND gates circuits 114 and 115, an OR gate circuit and a delay flip-flop circuit 117 and independently stores a pulse ST2, (described to be later) supplied from the state control 105. When a detected note signal is applied to either one of the detected note memory circuits 110,-- 110u, the OR gate circuit 118 sends out a note presence signal AN. The memories read out from the detected note memory circuits 110a110in are supplied to the note preference gate circuits 111a111ni each comprising an OR gate circuit 119, an inverter 120 and an AND gate circuit 121 whereby the memory contents of the detected note memory circuits 110,--110, are read out in accordance with a predetermined order of preference and each read out memory is supplied to a note code transmission circuit 122 thus sending out through one of OR gate circuits 123',--123'd 4 bit note code corresponding to each note code.The note preference gate circuits 111 -11 1rn are constructed such that the memory contents of the detected note memory circuits 1 1O-1 1 Orn are sequentially read out from the note preference gate circuit 11 1a on the upper side toward the note preference gate circuit 11 irn on the lower side whereby the read out memory contents are converted into note codes NC. Where either one of the detected note memory circuits 1106110, is dected a memory note signal MN is sent out via OR gate circuit 119 of one note preference gate circuit B. Block Detection Circuit 104.
As shown in Fig. 8, the block detection circuit 104 comprises detected block memory circuits 123a123e, block preference gate circuits 124a124en signal transmission circuits 125e125a and a block code transmission circuit 126 which are provided independently for each one of the blocks U1U5.
Each one of the detected block memory circuits 123,--123, is constituted by an inverter 126', AND gate circuits 127 and 128, an OR gate circuit 129 and a delay flip-flop circuit 130. When a block detection signal is supplied is either one of the detected block memory circuits 123a123e, a block presence signal AB representing that there is a block in which the operated key switch has been detected is sent out to the state control circuit 105. When supplied with a first state signal ST1 from the state control circuit 105, each one of the detected block memory circuits 123a123.
stores the block detection signal. Each one of the block preference gate circuits 124a124e is constituted by an OR gate circuit 132, inverters 133 and 134 and AND gate circuits 135-137, and whenever a block detection signal is being stored in any one of the detected block memory circuits 123 ~123e the OR gate circuit 132 of the block preference circuit 124e sends to the state control circuit 105 a memory block signal MB which represents that a block detection signal is now being stored.Furthermore, each time a second state signal ST2 is applied, the memory contents of the detected block memory circuits 132e- 132e are sequentially read out in accordance with a predetermined order of preference (in this embodiment, from 124" to 124e) and the read out block detection signals are supplied to a block code transmission circuit 126 at which these signals are encoded. Then the encoded signals are sent out via OR gate circuits 138,--138, as three bit block codes BC.
Each one of the signal transmission lines 125a 125e is constituted by a transistor 139 which is turned ON by the fourth state signal STo for discharging the line capacitance Cb of the block wiring lines 1-B5 and two complementary transistors 140 and 141 which are connected to ground the block wiring lines B1B, only when the block detection signals are sent out from the detected block preference circuits 12=4a124e but to connect the block wiring lines B1-B to a source VDD where the block detection signals are not sent out.
C. State Control Circuit 105.
As shown in Fig. 10, the state control circuit 105 is constituted by two delay flipflop circuits 142 and 143, inverters 144 and 145, AND gate circuits 146-153, and OR gate circuits 154 and 155, and constructed to produce control signals STi-STo for detecting first to fourth states are shown in Table 1 thereby completing the detection of the operated key switches. The output signals Q1 and Q2 of the delay flip-flop circuits 142 and 143 show the operation states under execution.
TABLE 1
State 1 QX 1 Q, First State (ST1) 1 0 Second State (ST2) 0 1 Third State (ST2) 1 1 Fourth State (STo) 0 0 Thus, various state signals STi-STo are generated in accordance with the outputs Ql and Q2 of the delay flip-flop circuits 142 and 143.These flip-flop circuits are written with input signals by the clock pulse #g shown in Fig. SI and their contents are read out by the clock pulse + shown in Fig. 5H so that the minimum interval of generating state signals STi-STo is equal to the period of the clock pulse +. In other words, all operations of the key coder 100 are synchronized by the clock pulse A- D. Sampling and Holding Circuit 106.
As shown in Fig. 9, the sampling and holding circuit 106 is constructed such that the block codes BC sent from the block code transmission circuit 126 of the block detection circuit 104 shown in Fig. 8 are respectively stored in block code temporary memory circuits 159158 at the timings of the first and third state signals ST1 and ST3 supplied from the operation state control circuit 105.
Each of the block code temporary memory circuits 156-158 comprises an AND gate circuit 159, an OR gate circuit 160 and a delay flip-flop circuit 161 and stores block code BC each time the first and third state signals ST1 and ST3 are applied. The outputs of the block code temporary memory circuits 156-158 are applied to one inputs of AND gate circuits 162-164 with the other inputs connected to receive the memory note signal MN supplied from the note detection circuit 103, so that the stored block codes BC are read out from the delay flip-flop circuits 165 -167 in synchronism with the note code NC each time the memory note signal MN is applied.Reading out operations of the block codes BC from the delay flip-flop circuits 165-167 are synchronized by the clock pulse ssB- The sampling and holding circuit 106 is supplied with note code NC from the note detection circuit 103. The note code NC is written in delay flip-flop circuits 168-171 and the read out therefrom at the timing of the clock pulse ssB. Thus, after being synchonized with the block code BC, the note code is derive out as the note code.In the same manner, the fourth state signal STo generated by the state control circuit 105 is also stored in a delay flip-flop circuit 172 and then read out at the timing of the clock pulse B. The purpose of an inverter 173 is to form a key code KC specific to the note signal CL in which the block code is forcibly changed to "0" "0" "0,' at the time of sending out the note code CL.
E. Operation of Key Coder 100.
The operation of the key coder 100 shown in Figs. 6-10 will now be described in detail with reference to the waveforms shown in Figs. 11A-11O. In describing the operation, it is assumed that keys corresponding to the notes B and A of block Us and the note B of block U2 are operated so that their key switches are closed.
As shown in Figs. 11A and llB when the clock pulses + and ssB shown in Figs. SH and 51 are applied to the delay flip-flop circuits 142 and 143 of the state control circuit 105 (Fig. 10) from the timing signal generator 800 shown in Fig. 3, these delay flipflop circuits store the output signals from OR gate circuits 154 and 155, respectively, at the timing of the clock pulse ssg and send out their outputs Q1 and Q2 at the timing of the clock pulse +s. For example, it is assumed now that when the state control circuit 105 is in the fourth state ST0, that is the waiting state at a time t1 shown in Fig. 11A, then the outputs Ql and Q2 from the delay flipflop circuits 142 and 143 will be "0" and "0,' respectively as shown in Table 1 so that the outputs of the inverters 144 and 145 will be "1" and "1". Accordingly, AND gate circuit 151 is enabled to produce a signal "1" which is applied to the input of the delay flip-flop circuit 142 via OR gate circuit 154.
At the same time, as shown in Fig. 11c, the fourth state signal STo (waiting state) is sent out through AND gate circuit 151. This fourth state signal ST, is applied to respective signal transmission circuits 125a123e of the block detection circuit 104 (Fig. 8) thereby turning ON transistors 139 of the signal transmission circuits 125a125e with the result that the wiring line capacitances Cb of respective block wiring lines Buzz are discharged.
When clock pulse ssg is generated during times t1 and t2 as shown in Fig. 11A, the outputs of the OR gate circuits 154 and 155 are stored respectively in the delay flip-flop circuits 142 and 143 of the state control circuit 105 shown in Fig. 10. At this time, since the output of only OR gate circuit 154 is "1", the delay flip-flop circuits 142 and 143 store "1" and "0" respectively.When the clock pulse +s is generated at time t2 shown in Fig. 11A, the memories stored in the delay ílip2Iop circuits 142 and 143 are read out As a consequence, their outputs Qi and Q2 become "1" and "0" with the result that AND gate circuit 152 produces the first state signal ST1 shown in Fig. llD which is applied to respective signal transmission lines 109a--109rn of the note detection circuit 103 shown in Fig. 7 thus turning ON tran- sistors 102 of these signal transmission lines.
When transistors 112 are turned ON, voltage VDD is applied to key switch circuit 102 via note input/output terminals 108.108,,, thus charging all capacitances CE of the note wiring lines N1-N11.
When these capacitances Ca are charged, a signal is produced on the block wiring line B of block U to which an operated key switch among all key switches 101a101 belongs to charge the capacitance iCb of the block wiring line B. Thus, a block containing the operated key is detected depending upon whether the charged capacitance belongs to which block, whereby a detection signal is applied to the block input/output terminal 106' corresponding to the detected block U.
This detection signal is also applied to the corresponding detected block memory circuit 123 of the block detection circuit 104 shown in Fig. 6. When a block detection signal is applied to any one of the detected block memory circuits 123a123e, a block presence signal AB shown in Fig. 11G is sent to the state control circuit 105 via OR gate circuit 131. The block presence signal AB represents that there is a block in which an operated key switch has been detected and its value increases as the wiring line capacitance A of the note wiring line N1-N12 increases when the first state signal STl is sent out.
One inputs of the AND gate circuits 128 of the detected block memory circuits 123at 123, are connected to the block input/output terminals 106',-106',, respectively, to receive the block detection signals while the other inputs are connected to receive the first state signal ST1. Consequently, in the first state, only in the detected block memory circuit 123 corresponding to block U in which an operated key switch has been detected, signal "1" is stored in the delay flip-flop circuit 130 via AND gate circuit 128 and OR gate circuit 129.For example when the operated key switches are detected in blocks U2 and U3 a block detection signal "1" is stored in the delay flip-flop circuits 130 of the detected block memory circuits 123, and 123e. The above described operation is executed while the clock pulse +, is being produced as the first state operation.
When a block presence signal AB which represents that there is an operated key switch is produced, this block presence signal AB is applied to one input of the AND gate circuit 150 of the state control circuit 105 shown in Fig. 10. When applied with the block presence signal AB, the state control circuit 10S judges that there is a block in which the presence of an operated key switch has been detected thus proceeding to the control of the second state. More particularly, when a block presence signal AB is applied, since inverters 144 and 145 and producing signal "1", the AND gate circuit 1SO is enabled to produce signal "1" which is applied to the delay flip-flop circuit 143 via OR gate circuit 155.As a consequence, signals "0" and "1" are stored in the delay flip-flop circuits 142 and 143 respectively at a time 4 shown in Fig. llA and signals (a and "1" are read out at time tg by the clock pulse f. The "0" and "1" outputs of the delay flip-flop circuits 142 and 143 are in the second state as shown in Table 1.Then the AND gate circuit 153 of the state control circuit 105 generates the second state signal ST2 as shown in Fig. 11E. At this time, the delay flip-flop circuits 130 of the delay detection circuits 123, and 123e are storing block detection signals "1" as above described so that these delay flip-flop circuits 130 apply signal "1" to one inputs of the OR gate circuits of corresponding block preference gate circuits 124, and 124e. The outputs of the OR gate circuits of respective block preference gate circuits 124,,--124, are connected to the inputs of the OR gate circuits of the block preference gate circuits 124b124e sequentially at lowcr orders, so that so long as at least one of the detected block memory circuit 123,123e is storing a block detection signal, the OR gate circuit 132 of the block preference gate circuit 124e of block U, at the lowest order of preference sends out a signal "1" shown in Fig. 11H which acts as a memory block signal MB showing that there is a memory block. This memory block signal MB is applied to one inputs of AND gate circuits 146, 148 and 149 of the state control circuit 105. Consequently, substantially concurrently with the generation of the second state signal ST2' the AND gate circuit 146 is enabled whereby another second state signal ST2, will be generated.In this manner, when signals "0" and "1" of the delay flip-flop circuits 142 and 143 are read out by the clock pulse + at time t, shown in Fig. 11A, second state signals ST2 and ST2 are generated thus controlling the second state.
In the second state, a single memory block among a plurality of memory blocks is extracted in accordance of an order of preference determined by the block preference gate circuits 124,-124,. In Fig. 4, the order of preference is set în the order of blocks Us, Us . . ., U1. U,. In the block preference gate circuit 124, of block U2 at the highest order, the output of the inverter 133 is normally "1", so that as soon as the block detection signal "1" is applied from the delay flip-flop circuit 130 of the detected block memory circuit 123,, AND gate circuit 135 is enabled.The outputs from the delay flip-flop circuits of the detected block memory circuits 123,123e of the blocks UfiU1 at higher orders are sequentially applied to the block preference gate circuits 124b--124, regarding the blocks U4 U1 at lower orders via OR gate circuits 132 of the block preference gate circuits 124at 124, regarding blocks U2-U1. Accordingly, when the detected block memory circuits 123, 123d of the blocks U2-U2 at upper orders stock block detection signals, a signal "0,' is applied to one input of AND gate circuits 135 via inverters 133 of the block preference gate circuits 124b-124, regarding blocks U4 -U1 at lower orders whereby the AND gate circuits 135 are disabled to establish a preference connection. Consequently only one AND gate circuit 135 of the block preference gate circuits 124a124, produces signal "1".
Where detection of the operated key switches is memorized in blocks U2 and Uss, signal "1" is produced from only the AND gate circuit 135 of the block preference gate circuit 124 regarding the block Us during the interval of the second state ST2 shown by time t4 in Fig. IIA. Since the AND gate circuit 135 of the other block preference gate circuits 124b 124, is supplied with "1" output (which is inverted by inverter 133) of the OR gate circuit 132 of the block preference gate circuit 124, regarding block U,, due to the preferential operation as described above, the outputs of the AND gate circuits 135 of the other block preference gate circuits 124b124e regarding the other blocks U4-U1 are all "0".
The AND gate circuit 137 is enabled when the outputs of the AND gate circuits 135 of the block preference gate circuits 124a 124e and the second state signal ST2 are applied to the inputs, and the output of the AND gate circuit 137 is applied to the transistors 140 of the signal transmission circuits 125a~125e and the block code transmission circuit 126. The inputs of respective AND gate circuits 136 are connected to receive the second stage signal ST2 and the outputs of the AND gate circuits 135 which are inverted by inverters 134.
At time t4 shown by Fig. llA, the second state signal ST2 (Fig. 11E) produced by the state control circuit 105 is applied to the inputs of the AND gate circuits 136 and 137 of respective preference gate circuits 136 and 137 while the other second state signal ST2, is applied to the detected note memory circuits 110a110rn of the note detection circuit 103.
Consequently, during an interval t4-t0, that is the interval in which the second state signal ST2 is generated, the output of only AND gate circuit 137 of the block preference gate circuit 124a becomes "1" and the outputs of the AND gate circuits 137 of the other block preference gate circuit 124b--124e are all "0,'. In this manner, the memory of only block U5 is read out and the read out signal is applied to the block code transmission circuit 126 and to the transistors 140 of the signal transmission circuits 125,. The output of the AND gate circuit 137 of the block preference gate circuit 124a is inverted by the inverter 126' of the detected block memory circuit 123 and the inverted output disables the AND gate circuit 127.Accordingly, the memory of the delay flip-flop circuit 130 of the detected block memory circuit 123a is erased. However, since the outputs of the AND gate circuits 137 of the other block preference gate circuits 124b124e are "0" signals "1" are applied to the inputs of the AND gate circuits 127 of the detected block memory circuits 123b123e through inverters 126 so that the output of the delay flip-flop circuit 130 is maintained unchanged. Thus, the memory contents of the blocks U4-U1 are held continuously.
The output of the AND gate circuit 135 of the block preference gate circuit 124a regarding block U5 is "1" and this "1" signal is applied to one input of AND gate circuit 136 via inverter 134. Accordingly, the AND gate circuit 136 will not be enabled by the "0" output of inverter 134 even when the second state signal ST2 is applied to the other input. On the other hand, the A-ND gate circuits 136 of the other blocks U4-U1 are enabled by the "1" signals obtained by inverting the "0" outputs of the AND gate circuits 135 and the second state signal ST.., thereby producing an outputs "1" which are used to turn ON transistors 141 of the signal transmission circuits 125h--125e.
As above described, in the signal transmission circuit 125a of block U2, transistor 140 is turned ON while transistor 141 is turned OFF thus applying ground potential to the block input/output terminal 106'a. In the signal transmission circuits 125b125a of the blocks U4-U1, transistors 140 are turned OFF while transistors 141 are turned ON.
Accordingly, voltage VDD is applied to block input/output terminals 106'-106', regarding blocks U4-U1 via transistor 141 thus charging the capacitance Cb of the block wiring lines B2B, of the key switch circuit 102 shown in Fig. 6.Then the diodes 107 connected to the key switches 101 included in blocks U4 U1 are reversely biased so that the key switches 101 included in the blocks U4-U1 will be electrically isolated from the note wiring lines N1-N12. However, since the potential of the block input/output terminal 106! & of the block Ub is reduced to the ground potential the capacitance Cb of the block wiring wires B, will be discharged, thus rendering conductive the diode 107 connected to the operated key switch 101 of block U.5. At this time, key switches 101 of block Us correspond to tone notes C, B . .. CX respectively and since the capacitances C, of respective note wiring lines N1-N12 have already been charged in the first state, the charges of the capacitances of the note wiring lines N1-N12 corresponding to the operated key switches will discharge through a circuit of diode 107 key switch 101 block input/output terminal 106'a and transistor 140 of the block preference gate circuit 125a. In block U6, for example, when it is now assumed that the key switches of notes B and A are closed, then the charges of the capacitances of the wiring lines N2 and N4 of notes B and A are discharged whereas the capacitances C2 of the other wiring lines N1, N8, N2-Ni-2 maintain their charges.
Consequently, signals "0" are applied to the inputs of inverters 113 of the detected note memory circuits 110b and 110d from the note input/output terminals 108b and 108d whereas signal "1" are applied to the inputs of inverters 113 from the other note input/output terminals lOSa, 108, 108ç108z1S. In this manner, signal "0"- is applied from the block input/output terminal 106'a of the extracted block Us to either one of the note input/ output terminals 108a108, corresponding to the operated key switch of the extracted block U2, thus judging that the operated key switch corresponds to a specific note.
In the detected note memory circuit 11Q- llOm the signals applied through note input/ output terminals 108a108m are inverted by inverters 113 and then applied to one inputs of respective AND gate circuits 115. Since the other inputs of the AND gate circuits 115 and applied with the second state signal ST2, which is generated by the state control circuit 105 shown in Fig. 10, signal "1" is stored in the delay flip-flop circuits 117 via AND gate circuits 115 and OR gate circuits 116 in the detected note memory circuits 110, and 1 10d corresponding to the notes B and A which are detected when the other second state signal ST2, is executed by the operations described above.
The reason that the other second state signal ST2, is used for storing the note signal m the detected note memory circuit 110110, instead of the second state signal ST2 is to positively store the detected note in the block detection circuit 104 only when a memory .block is available (when the memory block signal MB is "1") and to inhibit to store a new memory in the third state as will be described later.
The second state described above completes within the period of one clock pulse (+s), and at the next time t6 (Fig. 11A) the delay flip flop circuits 117 of the detected note memory circuits 110, and 110d parallelly produce signals "1" which are applied to the note preference circuits 11 1b and 11 1d At this time t6, the third state ST,' is executed.
In the third state, single note is derived out from the stored note signals according to a predetermined order of preference of the note preference gate circuits 111,--111,. In the note preference gate circuits 1116--111m shown in Fig. 7, the order of preference is set in the order of notes C, B, . . . C# and CL. Like the block preference gate circuits 124124e described above, in the note pre ference gate circuits 111111, a signal "0" is normally applied to the inverter 120 of the note preference gate circuit 111a of the most significant note C so that the output of the inverter 120 is normally "1".When this signal "1" is applied to the flip-flop circuit 117 of the defected note memory circuit 110, the AND gate circuit 121 will be enabled at once. The outputs of the delay flip-flop circuits of the note preference gate circuits 111a- 11 1i regarding the notes C-C at the upper orders are applied to one inputs of the AND gate circuits at lower orders via OR gate circuits 119 whereas the outputs of the delay flipop circuits 117 of the note preference gate circuits 111,--111, regarding the notes BiCL at lower orders are applied to the other inputs of the AND gate circuits 121 thereby disabling the same.The outputs of the delay flip-flop circuits 117 of the detected note memory circuits 1 10a1 10rn are supplied to one inputs of the AND gate circuit 114 thereof whereas the outputs of the delay flip flop circuits 117 of the detected note memory circuits 110,--114 regarding the notes C, C:* at the higher orders of preference are sequen tially applied via OR gate circuits 119 to the other innputs of the AND gate circuits 114 of the detected note memory circuits 110b110m at lower orders.The AND gate circuits 114 of the detected note memory circuit 109a at the highest order is normally supplied with signal '0" so as to self-hold the memory of the delay flip-flop circuit 117 of the detected note memory circuit 1 l aX The circuit is constructed such that the memories of the delay flip-flop circuits 1 10,-1 10m at lower orders are selfheld by the signals "1" sent from the delay flip-flop circuits 1108 of the detected note memory circuits at higher orders.
Consequently, at time t; shown in Fig. 11A, that is at a time when the third state signal ST, is generated, the note preference gate circuit 111b of note B produces an output signal "1" which is applied to the note code transmission circuit 122.At this time, the outputs of the other note preference gate circuits 11 1a, 111,--111, are all "o". When time t8 (see Fig. 11A) is reached the memory of the detected note memory circuit 110, is erased and the output of the delay flip-flop circuit 117 thereof becomes "0" with the result that the detected note memory circuit 1 10d of note A applies signal "1" to the note code transmission circuit 122 via the note preference gate circuit 11 1d When the next clock pulse is generated at time t10 the memory of the detected note memory circuit 1 10d will be erased.
As above described when the read out operations of all detected note signals are completed, the memory note signai MN produced by the OR gate circuit 111,21 regarding the note at the lowest order changes to "0" at time t,2 as shown in Fig. 1 1H. This change of from "1" to "0" of the memory note signal MN means completion of the contents of the detected note memory circuits 110a-110m.
As above described, in the third state, the memories of the notes B and A are continuously read out during an internal of clock pulses (two clock periods) corresponding to the number of notes (in this example A and B) stored in the detected note memory circuits 110a through 110run.
Transistors 112 provided for the signal transmission circuits 109a109ni are connected to be turned ON when applied with either one of the first state signal ST1 and the third state signal ST, so that in this embodiment the sum of the first and third state signals (ST1 + ST,) is used to drive transistor 112 without preparing a specific third state signal.
Considering now the conditions contributing to the third state, it is essential that the state preceding one clock pulse is at the second state or at the third state. In the state control circuit 105 shown in Fig. 10, output signal Q2 of the delay flip-flop circuit 143 is applied to one inputs of AND gate circuits 147-149.
The fact that this signal Q2 is "1" means that the present state is the second state or the third state as can be noted from Table 1.
Under these conditions, the block detection circuit 104 applies to one input of AND gate circuit 149 a memory block signal MB which shows the presence of an available memory block, and the note detection circuit 103 applies to the other input of the AND gate circuit 149 a note presence signal AN which shows that there is a note signal required m be stored, whereby the AND gate circuit 149 is enabled to apply signal "1" to the delay flip-flop circuit 142. Whenever AND gate circuit 149 is enabled the AND gate circuit 148 is also enabled so that signal "1" is applied to the delay flip-flop circuit 142.
a result, the inputs to the delay flip-flop circuits 142 and 143 becomes "1" so that after one clock pulse both outputs Qi and Q2 becomes "1" thus establishing the third state shown in Table 1. For this reason, a case wherein both outputs Q1 and Q2 are "1" shows that the third state is now being executed. Where the note presence signal AN is still generated after the state has changed to the third state, the output of the AND gate circuit 147 becomes "1" which is applied to the delay flip-flop circuits 142 and 143 thus changing their outputs Q2 and Q2 to "1" to continue reading out of the stored notes by maintaining the third state.Where the output Q1 of the delay flip-flop circuit 142 is "1", the state is either the first or third state so that this signal is applied to transistor 112 of the note detection circuit 103 (Fig. 7) to act as the sum of the first and third state signals (ST, + STo). When the AND gate circuit 148 of the state control circuit 148 of the state control circuit 105 shown in Fig. 10 is enabled whereas AND gate circuit 149 is not enabled, in other words, where the note presence signal AN from the note detection circuit 103 disappears at a time when the memory block signal MB is being supplied from the block detection circuit 104, it is judged that the extraction of the memory note of the extracted block has been completed thereby proceeding to the extrac- tion of the next block and the note thereof.
More particularly, when the output "1" of the AND gate circuit 148 is applied to the delay flip-flop circuit 143 via OR gate circuit 155 the outputs Q1 and Q2 of the delay flipflop circuits 142 and 143 are changed to "0" and "1" respectively for generating the second state signal thereby proceeding to the second state.
when such control is effected, during a interval between t and t10 (Fig. 11A) the third state is repeatedly processed and when all memory notes of the detected note memory circuits 110a110,, have been extracted the note presence signal AN produced by the OR gate circuit 118 shown in Fig. 5 becomes "0".
This means that the third state with reference to one block has terminated. Consequently, if any memory block is still remaining in the block detection circuit 104, (the memory block signal MB produced by the OR gate circuit 132 of the block detection circuit 104 shown in Fig. 8 is "1" the state control circuit 105 must repeat the control of the second state for extracting the next memory block thereby extracting a note corresponding to an operated key switch corresponding thereto.
Accordingly, where only the AND gate circuit 148 of the state control circuit shown in Fig.
10 is enabled, the state control circuit 105 is returned to the second state by applying the output signal "1" of the AND gate circuit 148 to the delay flip-flop circuit 143 via OR gate circuit 155 whereby the second state signals ST2 and ST2 are generated for controlling the second state in the same manner as above described. Since in this case the note B of block U5 is not yet extracted (still remaining) the state is returned to the second state from the third state at time t10 as shown in Figs. 11E and llF. As shown in Fig. 11K, the memory block U2 is extracted by the second state signal ST2 at times t10 and t12 shown in Fig. 11E.As shown in Fig. 11K, the memory block Us is extracted by the second state signal ST2 at times t10 and tl2, Fig. 11E. At the next clock pulse the state is again proceeded to the third state as shown by times t12 and tl4 shown in Fig. 11F, thus extracting the note of the operated key switch of block Us. Accordingly, note B during an interval of t22-t14 (Fig. 11L) is extracted.
By repeating the operation described above all of the memory blocks stored in the block detection circuit 104 and the memory note stored in the note detection circuits 103 are extracted. Then, all of the clock presence signal AB, memory block signal MB, note presence signal AN, and memory note signal MN become "0,'. Consequently, AND gate circuits 147-151 of the state control circuit 10S shown in Fig. 10 are all disabled with the result that the signals supplied to the delay flip-flop circuits 142 and 143 become "0".
Then, during the next dock cycle the outputs Q1 and Q2 become "0" thereby proceeding to the fourth state shown in Table 1, that is the waiting state. Consequently the fourth state signal STo turns ON transistor 139 of the block detection circuit 104 whereby the block wiring lines B1-B5 are grounded to reset the key switch circuit system.
In the above described operation, when the state is switched to the second state during an interval t4-t0 shown in Fig. 11A, the block preference gate circuit 124. of the block detection circuit 104 produces signal "1" which is applied to the block code transmission circuit 126 to be converted into a block code BC which represents the block code U5. More particularly, when the output signal from the block preference gate circuit 124a is applied to the block code transmission circuit 126, OR gate circuits 1384138 produce signals "1", "0" and "1" respectively between 4 and t6 as shown in Fig. 11K which constitute the block code BC representing the block U5.
In this case, the circuit is constructed such that when the block preference gate circuits 124a-124o regarding blocks U5-U, produce outputs the block code transmission circuit 126 produces block codes as shown in the following Table 2.
TABLE 2
Block U5 101 U4 100 U2 011 U2 010 U1 001 In the foregoing description, notes B and A included in the block U5 were sequentially extracted between t6 and t10 as shown in Fig.
I1F. The extraction signal of note 13 at a higher order of preference is firstly applied to the note code transmission circuit 122 from the note preference gate circuit 111b of the note code detection circuit 103 shown in Fig.
7 as signal "1". In response to this signal, OR gate circuits 1233123d produce signals "1", "1", "0" and "1" respectively between t6 and t5 as shown in Fig. 11L which constitute the note code NC representing note B. When the note preference gate circuit 111, applies its output signal to the note code transmission circuit 122 at the next clock pulse, OR gate circuits 123a123d produce outputs "1", "0", "1" and "0" respectively between t5 and t10 as shown in Fig. ilL which constitute a note code NC representing note A.
Similar to the block code transmission circuit 126 of the block detection circuit 104 described above when the note preference gate circuits 111a--111m of the note detection circuit 103 produce outputs, the note code transmission circuit 122 will produce note codes NC as shown in the following Table 3.
TABLE 5
Note Note code (NC) C 1110 B 1101 1100 A 1010 G # 1001 G 1000 F # 0110 F 0101 E 0100 D # 0010 D 0001 C# 0000 CL 1110 As shown in Figs. 11R and 11L, the block detection circuit 104 and the note detection circuit 103 extract an encoded memory block at the highest order of preference (in this example block U) at the second state thereby proceeding to the third state at the next clock pulse . At the third state, the stored notes (that is notes B and A) included in the previously extracted block U. are sequentially encoded and extracted. When the extraction of the stored notes completes, the state pro ceeds to the fourth state (waiting state) or returns to the second state. The fourth and second states are selected in accordance with the presence or absence of the memory block.
Where the memory block U2 is still remaining as above described, the state is returned to the second state thus extracting block U3 as shown in Fig. 11K. When block U3 is extracted the state is again proceeded to the third state by the next clock pulse A., thus extracting the memory note B as shown in Fig.
11L. These operations are repeated until all of the memory blocks and the memory notes are extracted, and when such extraction is completed the state is advanced to the fourth state (waiting state). By repeating these operations (first to fourth states) blocks and notes containing operated key switches are sequentially encoded and extracted.
However, the block code BC and the note codes NC produced by the block detection circuit 104 and the note detection circuit 103 are generated at different times as shown in Figs. 11K and 11L, so that if they are applied to the circuits on the later stages without any modification difficulties would be resulted. For this reason, the block codes BC and the note codes NC are supplied to the sampling and holding circuit 106 shown in Fig. 9 so as to match their generating timings for combining them into a key code which is supplied to the circuits on the later stages. The sampling and holding circuit 106 also functions to form a special block code BC for the note CL.
The detail of the sampling and holding circuit 106 will be described hereunder with reference to Fig. 9.
When the block code transmission circuit 126 shown in Fig. 6 produces a block code BC consisting of three bits KBl, KB3 and KB3 and representing the block U, at time 4 as shown in Fig. 11K, respective bits KB1 -KB, of the block code BC are applied to the block code temporary memory circuits 156, 157 and 158 of the sampling and holding circuit 106.Respective block code temporary memory circuits 156-158 store respective bits KB1-KB2 in the delay flip-flop circuits 161 via OR gate circuits 160 at the timing of the clock pulse Ipg. When the next clock pulse fi is supplied, the memory contents of the delay flip-flop circuits 161 are read out and supplied to one inputs of AND gate circuits 162-164. The output signals of respective delay flip-flop circuits 161 are applied to the inputs thereof via AND gate circuits 159 and OR gate circuits 160.
During an interval in which the AND gate circuits 159 are enabled, that is under the first and third states, the outputs of the delay flip-flop circuits 161 are applied to the inputs thereof. Writing by clock pulse h and reading out of the stored signals by clock pulse , one clock later than fB, are continued to selfhold the memories. In this manner, the bits KBl, KB, and IlB3 of the block code BC are stored in block code temporary memory circuits 156, 157 and 158, respectively.
Accordingly, the block code BC which represents bloc U is held during the third state.
Each output signal of the block code temporary memory circuits 156, 158 is applied to each of inputs of AND gate circuits 162164, so that when the memory note signal MN is applied to the other inputs from the note detection circuit 103, AND gate circuits 162-164 are enabled. In other words, when the memory note signal MN that represents that the note detection circuit 103 contains a memory note is applied, the AND gate circuits 162-164 acting as the block code output gate circuits produce the memory output signals of the block code temporary memory circuits 156-159 and these output signals are applied to the delay flip-flop circuits 165 -167.As a consequence, AND gate circuits 162-164 acting as the block code output gate circuits continue to produce the block code BC of the block U5 as shown in Fig. 11M only during the interval in which the memory notes contained in block U, are extracted.
Consequently, block codes BC are obtained during the interval of generating the note codes NC shown in Fig. 11L and the codes NC and BC are generated synchronously.
When extraction of the memory notes B and A contained in block Us is completed, the memory note signal MN becomes "0" so that AND gate circuits 162-164 are disabled thus interrupting the sending out of the block code BC representing the block U, which is stored in the block code temporary memory circuits 156-158. When the memory note signal MN becomes "0" when the memory block signal MB is "1" or under a condition in which a memory block presents the state control circuit 105 shown in Fig. 10 returns to the second state.As a consequence, AND gate circuits 159 are disabled to clear the contents of the block code temporary memory circuits 156-158. The block codes BC sent cut from AND gate circuits 162 through 164 are applied to the delay flip-flop circuits 165 -167 respectively and send out therefrom as block codes BC at the timing of clock pulse j5g as shown in Fig. llN. The note codes NC produced by the note code transmission circuit 122 are applied to respective delay flip-flop circuits 168-171 from which they are sent out as note code outputs NC at the timing of the clock pulse jg as shown in Fig. 11D. Consequently, the block code outputs BC produced by the sampling and holding circuit 106 and representing block Ub, and the note code outputs NC representing the notes B and A contained in this block are produced at the same timing or synchronously.
Each three bit block code BC and four bit note code NC are combined to form a key code KC of the parallel seven bits construc tion. For this reason, each seven bit key code KC represents one of the operated key switches. Where keys corresponding to note B of block U5 are operated, as can be noted from Tables 2 and 3, block code BC is expressed by "101" whereas the note code NC by "1101" and the seven bit key code KC obtained by combining them is expressed bv a code "101 1101".The sampling and holding circuit 106 sequentially performs contained in this block is extracted and supplied to respective delay flip-flop circuits of the sampling and holding circuits 168-171 and then sent out therefrom at the timing of clock pulse |igX The block codes BC stored in the block code temporary memory circuit 156158 are supplied to respective delay flip-flop circuits 165-167 by the memory note signal MN and then produced therefrom at the timing of clock pulse ssB thus synchronized with the note code NC.Accordingly, the sampling and holding circuit 106 produces a seven bit key code "011 1101" representing the note B of block U3. When the operations described above are completed the signals of all operated key switches (in this examples three key switches) are converted into corresponding key codes KC which are detectable digitally.
In addition to the operation of forming the seven bit key code KC in synchronism with the generation of the block codes BC and the note codes NC, the sampling and holding circuit 106 also forms a special block code BC for note CL.
Inherently the note CL is contained in a block different from block U1, but for the convenience of grouping the key switch circuit 101, the note CL is included in block U1.
For this reason, it is necessary to make block code BC of note CL to be different from the block code BC of block U1. For the reason described above, where a signal is obtained from note CL, a special block code BC is purposely generated for forming a key code RC representing note CL. This special block code BC is generated in the following manner.
More particularly, when a key switch corresponding to the note CL is depressed, since it is included in block Ul, the block code transmission circuit 126 produces a block code "001" that represents block Ul which is stored in the block code temporary memory circuit 158 of the sampling and holding circuit 106.
On the other hand, in the note detection circuit 103, AND gate circuit 121 of the note preference gate circuit 111, produces an output signal at the third state. This output signal is converted into a note code "1110" representing note CL in the note code transmission circuit 122. The signal CL produced at this time by the AND gate circuit 121 of the note preference gate circuit 111,, is inverted by inverter 173 of the sampling and holding circuit 106 and the output of the inverter disables the AND gate circuit 162.
As a consequence the "1" signal of above described block code "001" representing block U1 is inhibited by AND gate circuit 162 so that the block code "001" is forcibly converted idle "000". In this example, since a code "000" is not assigned to blocks U1-U5 this code "000" becomes the sixth block code BC, which is sent out only when key switch 101 corresponding to note CL is operated so that this block code BC serves to discriminate the note C from note CL which are assigned in duplicate to note C.The flipflop circuit 172 provided for the sampling and holding circuit 106 is used to produce a start signal X, one clock pulse delayed, by producing signal STo by the state control circuit 105 at the timing of clock pulse B, and to supply the start signal X to a key ON-OFF detection circuit 202 to be described later.
Above description regards the detail of the operation of key coder 100 which detects operated keys and generates key codes KC corresponding thereto.
Channel Processor 200.
The detail of the construction and operation of the channel processor 200 will now be described with reference to Figs. 12-15 which are connection diagrams showing one examples of first key code memory circuit 201, key ON-OFF detection circuit 202, truncate circuit 203 and depressed key state memory circuit 204 constitute the channel processor 200.
A. Key Code Memory Circuit 201.
The first key code memory circuit 201 shown in Fig. 12 comprises a plurality of shift registers 205320Sg for respective bits KN1-KB3 of a key code KC, the number of the stages (memory positions) of each shift register being equal to the number of the musical tones that can be produced at the same time, that is the number of channels (in this embodiment, 8 channels). These shift registers 205a205 are driven by a two phase clock pulse comprising a clock pulse (pl shown in Fig. SA and a clock pulse , having an opposite phase with respect to the clock pulse +1 so as to sequentially shift their contents.The outputs produced by the last stages of the shift registers are fed back to their inputs through AND gate circuits 206at 206g and OR gate circuits 2071207 respectively. For this reason, these shift registers cooperate to constitute a 8 stage 7 bit circulating shift register having a number of stages capable of storing key codes of the same number as the channels, and comprising parallel bits.To the inputs of respective shift registers are applied key codes KC each consisting of bits KN1-KB via AND gate circuits 208-208 and OR gate circuits 207a207g. Consequently, each time a set signal which is produced corresponding to channels not yet assigned with key codes is impressed upon line 209 from key ON-OFF detection circuit 202, the AND gate circuits 208208g are enabled to apply respective bit signals KN1-KR, of the key codes KC in the shift registers 205a.205g and the same key code KC is written and held in the stages of respective shift registers corresponding to the channels not yet assigned with the key codes.The dact that which key code KC (KN1-KB2) is assigned to which channel can be judged by the output timings of the shift registers driven by clock pulses ssl and 2 because dock pulses 03 and 02 and channels which are assigned with the key codes on the time division basis are synchronous.
Accordingly, the stored key codes KC assigned to respective channels are derived out sequentially on the time division basis at each channel time shown in Fig. 5B, and the derived out key codes are sequentially applied to a key code converter 300 (to be described later) via output terminals 210,--210, and are also fed back to the inputs of respective shift registers to be fed therein.An initial clear signal IC is supplied to one input of the OR gate circuit 207g to write signal "1" in the shift registers at the timing of the initial clear signal IC. To the other inputs of the AND gate circuits 206,--206, are applied the output of a NAND gate circuit 209'. The inputs of this NAND gate circuit 209' are connected to receive a set signal supplied from the key ON-OFF detection circuit 202 to be described later via line 209 and the initial clear signal IC.
B. Key ON-OFF Detection Circuit 202.
The kev ON-OFF detection circuit 202 shown in Figs. 13A and 13B comprises a key code comparator circuit 211 which compares the stored key codes KC derived out from shift registers 205,-20S of the first key code memory circuit 211 with key codes KC newly applied to the shift registers. The stored key codes corresponding to respective channels and supplied to the key code comparator circuit 211 circulate twice during one assignment period TP shown in Fig. SD. More particularly, during the first half assignment period TP, (Fig. 5C) channel times 1 to 8 circulate once, and during the second half assignment period TP2, channel times 1 to 8 circulate once again. In contrast, since the key code KC produced by the sampling and holding circuit 106 is read out by the clock pulse q5g shown in Fig.SI, the content of this key code KC does not vary during one assignment period TP. Consequently, with this circuit construction, the contents of respective shift registers 205,--205, are circulated twice and then derived out during one assignment period TP, the key code comparator circuit 211 compares two key codes to determine that whether the key codes KC now being produced by the key coder 100 during the iirst half of the assignment period TP1 have already been stored in the shift registers or not, that is assigned to specific channels, and to make assignment during the second half of the assignment period TP2 based on the result of comparison effected during the first half of the assignment period TP1.The coincidence detection signal EQ produced by the key code comparator circuit 211 is "1" when there is no coincidence, whereas "0" when there is no coincidence. The coincidence between the detected key code KC and the key coae KC assigned to a specific channel is judged by the channel time in which the coincidence detection signal EQ is "1". When, at the end of the first half assignment period TPl, for example, the key code comparator circuit 211 produces a "0" signal as the coincidence detection signal EQ (this shows that the input key code KC is not yet assigned to any channel) the output of the AND gate circuit 212 is also "0". As a consequence, this output signal "0" from the AND gate circuit 212 is stored in delay flip-flop circuit 215 via OR gate circuit 213 and AND gate circuit 214.Since the pulse signal S16 shown in Fig. 5F is applied to one input of the AND gate circuit 214, the memory content of the delay flip-flop circuit 215 is held until one assignment period elapses. The output signal "0" from the delay flip-flop circuit 215 is inverted by an inverter 216 and then applied to one input of an AND gate circuit 217. There is provided a shift register 218 having the same number of the memory stages as the channels (in this embodiment, 8) and is driven by clock pulses fl and P2 in synchronism with respective channel times. The assignment states of respective channels are written in this shift register such that idle channels are represented by "0" and assigned channels by "1" and these data are shifted sequentially.Thus idle channels can be designated by discriminating the outputs of the shift register and by judging that the "0" outputs were generated in what channel times. When a "0" output representing an idle channel is produced by the shift register 218 during the second or latter half assignment period TP2, the "0" signal is applied to one input of an AND gate circuit 217. The other three inputs of this AND gate circuit are connected to receive signals "1" applied through inverter 216, pulses S9S16 shown in Fig. 5D and signal "1" produced by an OR gate circuit 220 which detects the key code KC and since the output of inverter 219 becomes "1" each time shift register 218 produces signal "0" corresponding to an idle channel, the AND gate circuit 217 is enabled to supply signal "1" to line 209 of the first key code memory circuit 201 to act as a set signal. In response to this set signal the first key code memory circuit 210 shown in Fig. 12 stores the input key code KC at a stage corresponding to an idle channel as described above.Since shift register 218 produces signals "0" at channel times corresponding to all idle channels, the same input key code KC is written in the stages corresponding to the idle channels of the first key code memory circuit. The AND gate circuit 221 (Fig. 13A) is applied to its inputs with a truncate signal in addition to the same inputs as the AND gate circuit 217.As will be described later, the truncate signal is generated in a channel time corresponding to a channel for a key which was released firstly, and the circuit is so constructed that one truncate signal will be generated in a channel time corresponding to the second half assignment period TP2. Consequently the AND gate circuit 217 produces signal "lj' in a channel time corresponding to a channel for a key which was released firstly among a plurality of channels corresponding to the stages of the shift register in which the input key code KC has been written by the set signal sent out from the AND gate circuit 217. The output "'1" from AND gate circuit 221 is written in a corresponding stage of the shift register 218 shown in Fig. 138 via an OR gate circuit 222.In other words, signal "1" representing that assignment has been completed is written in a memory stage of the shift register 218 which corresponds to a channel corresponding to a stage in which an input key code KC has been written by the set signal produced by the AND gate circuit 217.
Consider now a case wherein an innut key code KC has already been assigned to a channel which is stored in the first key code memory circuit 201. Where the input key code has already been aassigned to certain channel, the coincidence detection signal EQ of the key code comparator circuit 211 is "1" which is applied to one input of an AND gate circuit 212. The inputs of this AND gate circuit receive "1" signals except the output from shift register 218.Accordingly, when the coincidence detection signal EQ is "1" and when the output of the shift register 218 is also "1", AND gate circuit 212 is enabled to produce signal "1" which is applied to the input of a delay flip-flop circuit 215 via an OR gate circuit 213 and an AND gate circuit 214 and held therein until one assignment period TP (Fig. 4E) elapses in the same manner as above described. However, since an inverter 216 is connected on the output side of the delay flip-flop circuit 215 it is impossible to obtain signals "1" from the AND gate circuits 217 and 221 when the coincidence detection signal EQ of the key code comparator circuit 211 is "1" with the result that no assignment is made. At this time, the output from the shift register 218 is fed back to the input via an AND gate circuit 223 and an OR gate circuit 222 thus preserving the original state.Under these conditions, the other input of the AND gate circuit 223 receives signal "1" unless the key is released.
The operation described above refers to the channel assignment operation of the input key code of the key ON-OFF detection circuit 202.
The released key detection operation of the key ON-OFF detection circuit 202 will now be described. In the channel assignment described above, the AND gate circuit 221 produces a signal "1" in a channel time corresponding to a channel which was assigned by the AND gate circuit 221 and this signal "1" is written in a stage of the shift register 218 corresponding to said channel thereby showing that the assignment to that channel has already been made.For this reason, the shift register 218 stores the state of assignment of respective channels, and the memory informations of the shift register are sequentially shifted by the clock pulses fl and 2 corresponding to tMie channel times and then sequentially derived out from the last stage to be supplied to a depressed key state memory circuit 204 which will be described later with reference to Figs. 14A and 14B and also fed back to the input of the shift register 218 via AND gate circuit 223 and OR gate circuit 222 for holding the memories by circulation.
The signal produced by the AND gate circuit 221 and showing the assigned channel is sequentially written and stored in a 8 stage shift register 225 having the same construction as the shift register 218. Accordingly, the contents of the shift registers 218 and 225 are the same at this time. The contents of the shift register 225 are also sequentially shifted by clock pulses + and Z#2 and the output from the last stage of this shift register 225 is fed back to its input via an AND gate circuit 226 and an OR gate circuit 224 for holding the memory contents.
Each time when a start signal X is produced by the delay flip-flop circuit 172 of the sampling and holding circuit 106 shown in Fig. 9 by the clock pulse çB, that is each time signal X is produced at the timing of the clock pulse ssB when all operated key signals are converted into corresponding key codes KC for establishing the fourth state, the signal X is applied to one input of an AND gate circuit 226 via an inverter 227, whereby the AND gate circuit 226 is disabled thus clearing all memory contents cf the shift register 225. When thus cleared, the output from the AND gate circuit 221 and then output from the AND gate circuit 212 (via OR gate circuit 228) are written in the shift register 225.By this operation signal "1" is written in a stage of the shift register corresponding to a channel which is assigned with a key switch operated after the fourth state (waiting state) and the written signal is held until the next start signal X is generated.
On the other hand, since shift register 218 is not cleared or reset, even when keys are subsequently released signals "1" of the channels thereof are continuously written in corresponding stages of the shift register 218.
Under these conditions, when the state again becomes the fourth state and a start signal X is supplied, the output signal of the shift register 225 would no more be fed back to the input side thereof, but would be applied to one input of a NAND gate circuit 230 via an inverter 229. The other inputs of the NAND gate circuit 230 are supplied with pulse signals S,--S, shown in Fig. SC, a start signal X, the inverted output signal of the shift register 225 and the output signal of the shift register 218. Consequently, the outputs of the shift registers 218 and 225 are compared only under the fourth state and only during an interval between pulse signals 51- Ss (the first half assignment period To1).
When the output of the shift register 218 is "1", and the output of the shift register 225 is "0", that is subsequent to the latest fourth state, where the key codes KC are not continuously supplied to corresponding channels (that is when the keys are released), the output of the inverter 229 becomes "1" so that the output of the NAND gate circuit 230 becomes "0" for detecting the channels of the released keys. Accordingly, by the judgement of the channel time of the signal "0" produced by the NAND gate circuit 230 the released keys of specific channels can be determined. Since the output "0" of the NAND gate circuit 230 disables AND gate circuit 223 it becomes impossible to feed back the output signal "1" of the shift register 218 to the input thereof so that the signals "1" of the stage corresponding to the channels regarding already released keys are changed to "0".
An inverter 231 is provided for inverting the output of the NAND gate circuit 230 which represents that a channel corresponding to a depressed key has been detected for applying the inverted signal to the truncate signal to be described later, and inverters 232 and 233 are provided for writing signal "1" in the shift registers 218 and 225 by an enabling signal ENB.
C. Truncate Circuit 203.
An example of the truncate circuit 203 is shown in Figs. 14.N and 14B. When the NAND gate circuit 230 of the key ON-OFF detection circuit 202 described above detects a channel or a released channel, the released key channel detection signal is inverted into signal "1" by an inverter 231 and then stored in a delay flip-flop circuit 235 via an OR gate circuit 234. The output of the delay flipflop circuit 235 is fed back to its input side via an AND gate circuit 236 and an OR gate circuit 234 and held in the delay flipflop circuit. To the other input of the AND gate circuit 236 included in the feed back circuit of the delay flip-flop circuit 235 is applied a pulse signal i shown in Fig. SF, the delay flip-flop circuit 235 holds the fed back signal until the assigned period TP terminates and then resets.When the shift register 218 of the key ON-OFF detection circuit 202 produces an output under thes conditions during a channel time corresponding to a channel not assigned during the second half assigning period (pulses SgSl6), signal "1" is applied from the inverter 237 so that AND gate circuit 238 is enabled to produce a pulse signal corresponding to the output "0,' of the shift register 218. As will be described hereinbelow, in this case, the output of the NAND gate circuit 239 and the enabling signal ENB are "1".The output signal of the AND gate circuit 238 is applied to the input terminal CI of an adder 240 so as to add [1] to three bit signals applied to input terminals A1-A3 of the adder and the results of addition are produced from output terminals SS, as three bit signals.
These outputs are applied to one inputs of respective AND gate circuits 241a and 241b with the other inputs connected to receive the output of the inverter 27 so that the AND gate circuits 241a241b are enabled only when signal "1" is produced by the inverter 237 or only during the channel time correspond to a channel for which assignment has not been made thus supplying the outputs of the AND gate circuits 241241b to input terminals of shift registers 245so 245c respectively through OR gate circuit 242 and AND gate circuits 243 and 244. The AND gate circuits 243 and 244 are enabled by signal "1" supplied to their one inputs through an inverter 246 (in this case, the initial clear signal IC is not produced).Each one of the shift registers 245e245e comprises a shift register having memory stages of the equal to the number of the channels (in this embodiment 8) and its content is sequentially shifted by clock pulses sst and synchronized with the channel time for producing an output from the last stage. The outputs from the shift registers 245a243 are applied to input terminals A1-A3 of the adder 240. Accordingly, these circuit elements constitute a released key channel progress memory circuit 247 which sequentially adds [1] to the present count at a stage corresponding to an idle channel of the shift register 218 among various stages of shift registers 245,--245,, each time the key ON OFF detection circuit 202 detects a released key. Since the released key channel progress memory circuit 247 employs three parallelly connected shift registers 245,--245, each having 8 stages, parallel three bit released key progress signals applied to respective channels are sequentially shifted at each channel time so that the largest released key progress signal will be produced as a three bit signal (binary code) at a channel time corresponding to the firstly released key.
Since the released key channel progress memory circuit 247 is of a 3 bit construction the maximum value of its output is "7" (111) so that by adding [1] the output becomes "0" (000). In other words there is a defect that the firstly released key channel is mistaken for the lastly released key channel.
For this reason, on the output sides of the shift registers 245a243c is provided a NAND gate circuit 239 for the purpose of detecting the coincidence of the three bit signals. The output of the NAND gate circuit 239 is applied to one input of the AND gate circuit 238 for disabling the same. Thus, further addition operation is inhabited for that channel thereby obviating the disadvantage described above. By the operation described above, it is possible to sequentially assign by using a circuit to be described later, starting from the channel whose key has been firstly released. Such assignment operation is necessary because, where the number of the depressed keys is large due to application sf sustain after key release, it is necessary to assign a new key code by discriminating the firstly released key.The three bit released key progress signals produced by the released key channel progress memory circuit 247 at respective channel times are applied to and stored in respective delay flip-flop circuit 250,--250, for respective bits via AND gate circuits 248a2480 and OR gate circuits 249a 249o. The three bits signals stored in respective delay flip-flop circuits 250a--250e are written by the clock pulse , and read out by the clock pulse 1q52 so that their outputs are delayed by one clock pulse period. The outputs are fed back to the inputs of the delay flipflop circuits 250a--250e respectively via AND gate circuits 251a--251e and OR gate circuits 249a249c to be stored.In other words, the delay flip-flop circuits 250a-250o act as the memory circuits for storing the three bit signals. The outputs from the delay flip-flop circuits 250a--250e are applied to a comparator 252 to act as three bit released key progress signals. The comparator 252 is constructed to compare released key progress signals Sg which is delayed one clock period and supplied by the delay flip-flop circuits 250a--250e with newly released key progress signals from the released key channel progress memory circuit 247 so as to produce an output "1" only when S" > SB. Since this signal "1" is applied to one inputs of AND gate circuits 241a--241e via a NOR gate circuit 253 as signal "0", feeding back of the outputs of respective delay flip-flop circuit 250a--250o to their inputs is inhibited.Also the signal "1" produced by the comparator 250 is applied to one input of an AND gate circuit 254 so that this AND gate circuit is enabled at the timing of producing the output from the comparator 252 during the first half assignment period TPl. Thus, AND gate circuits 248a--248o are enabled to store respective bit signals of a newly released key progress signal 5A produced by the memory circuit 247 in respective delay flip-flop circuits 250a-250e For the reason described above, these circuit elements constitute a maximum released key progress signal extraction circuit 255 which extracts or detects the maximum one of the released key progress signals of respective channels, and at the end of the first half assignment period TP,, only the maximum released key progress signal is stored in one of the delay flip-flop circuits 2504250e and these flip-flop circuits are reset by a pulse signal S (Fig. 5E) at the end of one assignment period TP.The output of the AND gate circuit 254 which is produced during the first half assignment period TP1 is applied to one inputs of AND gate circuits 256a256o, so that 3 bit encoded signals for respectively channels and produced by the timing signal generator 800 shown in Fig. 4 that is the channel code signals HCl -H (channel times encoded into binary signals) are stored in respective delay flip-flop circuits 2584258a via OR gate circuits 257 --257, respectively.Like the maximum key release progress signal extraction circuit 255, the outputs of the delay flip-flop circuits 258s 2580 are applied to the inputs of AND gate circuits 259a--259o together with the output of the NOR gate circuit 253 so that the channel code signals HC1HCs representing a channel in which the maximum released key progress signal is produced during the first half assignment period TP1 are stored in the delay flip-flop circuits 258a-- 258C. The channel code signals HC1HC stored in these flip-flop circuits and representing the channels in which the maximum released key progress signal have been produced are held until one assignment period TP terminates.The delay flip-flop circuits 258o258c are reset by a pulse signal S1 (Fig. 5E) supplied thereto via NOR gate circuit 253. The channel code signals HC1- HC3 produced by the delay flip-flop circuits 258e258c are applied to a comparator 260 to be compared with the input channel code signals HC1-H.
When both channel code signals coincide with each other, a coincidence signal "1" is produced which is applied to the key ON OFF detection circuit 202 as a truncate signal. Since the channel code signals H- HC3 circulate twice during one assignment period TP, the writing of the signals into the delay flip-flop circuits 258,--258, is performed during the first circulation (the first half assignment period TP,), the coincidence signal will be produced only once by the comparator 260 during a specific time in the second half assignment period TP2.For this reason, these circuit elements constitute a firstly released key channel extraction or detection circuit 261 which produces a pulse signal utilized as the truncate signal in a channel time corresponding to the firstly released key channel (a channel in which truncate progresses to the largest extent) in each second half assignment period TPe, whereby a channel is positively designated only once to which new key code KC is to be assigned for the key ON-OFF detection circuit 202. The reason that an initial clear signal IC is written in the shift register 245a alone of the released key channel progress memory circuit 247 through the OR gate circuit 242 is to write signal "1" in all stages of the first shift register 245 thereby assuring the truncate operation at the initial state.More specifically, when all contents of the shift registers 245,--245, were reset, signal "1" (which is produced by the comparator 252 when SA > SB) would not be produced by the comparator 252 of the maximum released key progress signal extraction circuit 255. Conse quently, the channel code signals -HCt would not be stored in the delay Sipwflop circuits 258,--258, of the firstly released key channel extraction circuit 261 so that the delay flip-flop circuits 258a,258e will continue their reset states obtained by the pulse signal Sis (Fig. 5E) applied through the NOR gate circuit 164.As a consequence, a condition of coincidence SA=SB can not be obtained in the comparator 260 so that no truncate signal is produced and it would be impossible to assign the firstly produced key code KC. To obviate this difficulty, signal "1" is written in all stages of the shift registers 245 by using the initial clear signal IC.
The writing of signal "1" effected by the initial clear signal IC is not limited to the shift register 245, so that it is sufficient to construct the circuit such that signal "1" is written in at least one of the three shift registers 245,245o. The above description relates to the operation of a truncate circuit 203 which designates one channel in the progress of advancing the truncate to the highest extent.
D. Depressed Key State Memory Circuit 204.
The detail of the depressed key state mcmory circuit 204 will now be described with reference to Fig. 15 in which the output from the shift register 218 of the key ON OFF detection circuit 202 described above is sequentially applied to one inputs of AND gate circuits 262a262h respectively. As described hereinabove the signal "1" has been written in only the stage corresponding to a channel assigned with the key code KC, and signal "0" has been written in a stage corresponding to the channel for a released key.
Accordingly, the signal produced, on the time division basis, from the shift register at each channel time represents the present stage of a key assigned to each channel. The signals stored in the shift register in the above described manner are sequentially shifted by clock pulses 01 and +2 and finally produced from the shift register 218 and applied to the depressed key state memory circuit 204.
When the output of the shift register is "1" that is during the channel time in which the key corresponding to the assigned key code is being depressed, some of the AND gate circuit 262,262h in which some of the channel signals BT1-BT3 which are applied sequentially on the time division basis as shown in Figs. 5J-3Q to respective channels from the timing signal generator 800 shown in Fig. 4, and having the same timing are enabled and the outputs "1" from the some of the AND gate circuits are stored in delay flip-flop circuits 264,--264h via OR gate circuits 263,--263h. The outputs of the delay flip-flop circuits 264,264h are fed back to their inputs via AND gate circuits 263,- 265h and OR gate circuits 263b263h and held in respective delay flip-flop circuits.
Accordingly, signals "1" supplied from the shift register 218 shown in Fig. 13 and representing the depressed key channel are stored in only the stages of the delay flip-flop circuits 264^264h which are provided for corresponding channels, and the signals "1" stored in the delay flip-flop circuits 264,264h are held therein until subsequent channel signals BTlBTS which are produced on the time division basis disable AND gate circuits 263, 265h via inverters 266,--266h. For example, when the shift register 218 (Fig. 13) produces signal "1" during the third channel time shown in Fig. 5, the channel signal generated in the third channel time is only the channel signal BT5 shown in Fig. 5L. Consequently, only the AND gate circuit 262c is enabled and its output signal is written in the delay shift register 264e via OR gate circuit 263O. These circuit elements constitute a series-parallel converter 267 which converts signals which are produced serially on the time division basis in accordance with channel times and representing the depressed key channels of the shift register 218 into parallel signals for 8 channels. Consequently, respective delay flip-flop circuits 264,--264h of the series-parallel converter 267 are sequentially written with the output signals produced from the shift register 218 (Fig. 13) and representing the depressed key states of respective channels in accordance with the channel signals BT1-BT8. Thus, the series-parallel converter 267 produces signal "1" on some of the output lines 268,--268h for respective channels which are assigned with key codes KC and in which keys corresponding to the key codes are depressed. For example, as above described when a key of the third channel is depressed signal "1" will be produced on line 268,.The signals "1" produced in this manner corresponding to the depressed key channels are applied to the gate electrodes of field effect transistors 263"263h via NOR gate circuits 269"269h respectively whereby these field effect transistors are turned OFF to apply signals "1" to input/output terminals 271, 271b corresponding to the first to eight channels. For example, when the third channel is designated as above described, the delay flip-flop circuit 264, applies signal "1" to one input of a NOR gate gate circuit 269, via line 268, and transistor 270, alone is turned OFF by the output "0,' from the NOR gate circuit 269,.As a result, only the input/output terminal 271, is applied with signal "1" whereas the other input/output terminals 271s, 271b, 271d-271h with signals "0".
Accordingly, the terminal supplied with signal "1" among the input/output terminals 271a 271h shows that the key of the corresponding channel is depressed. These signals "1" that is the key ON signals KO controls corresponding tone pitch voltage control circuits 501a501h of the tone pitch control unit 500 for different channels to be described later.
The depressed key state memory circuit 204 is also provided with a mode terminal 272 for switching the number of tone generating channels. Since such switching is not related to this stage of description it is assumed now that the mode terminal 272 is supplied with signal "1". Accordingly, all inverters 274- 274b produce signal "0" at their outputs.
Key Code Converting Unit 300.
The detail of the key code converting unit 300 will be described hereunder with reference to Figs. 16A and 16B which show one example of the key code converting unit 300 shown in Fig. 2. As shown, the key code converting unit comprises a second key code memory circuit 302, an operation circuit 303 and a comparator circuit 304.
A. Operation circuit 303.
A key code shift control terminal 301 is provided for supplying to the operation circuit 303 a tone pitch variable control signal which detects presence or absence of a tone pitch variable control (glissando effect or portamento effect). A signal "1" is applied to this terminal 301 to produce a normal performance musical tone whereas a signal "0" is applied for effecting a tone pitch changing control. At first the normal operation will be described.When signal "1" is applied to the key code shift control terminal 301, this signal is applied to one inputs of AND gate circuits 308a308 provided for the operation circuit 303 so as to pass respective bit signals KN1 -KB2 from the first key code memory circuit 201 which are supplied through input terminals 307a~307g of the key code converting unit 300, and the bit signals KN1-KN, KB1-KB2 of the key code signal KC are respectively applied to 7 bit input terminals A1-A, of a full adder 310 via AND gate circuits 308a308e and OR gate circuit 309a 309g respectively.The signal "1" applied to the key code shift control terminal 301 is inverted into signal "0" by an inverter 311 thereby disabling AND gate circuits 3 12a 312g. Accordingly, the output signals produced by the last stages of shift registers 3 13a3 13g of a second key code memory circuit 302 to be described later and connected to the 7 bit sum output terminals Si-S, of the adder 310 are inhibited from returning and applied to the input terminals B1-B, of the full adder 310.Each one of the shift registers 313a313g has memory stages of the number same as the number of channels (in this embodiment 8). These memory stages are provided for respective bits KN1-KN4, KB1 ~lZBa of the key code KC, and the memories in the shift registers are shifted sequentially by clock pulses +1 and fz. Similar to the shift registers 205a203g (see Fig. 12) of the first key code memory circuit 201 described above, the shift registers 313a313g constitute a memory circuit which stores 7 bit key codes KC of the number equal to the number of the channels and sequentially shift the stored key codes.The full adder 310 operates to add input key code signals KC supplied to respective input terminals A1-A7 to the signals applied to respective input terminals 31-B, for producing sum signals on the output terminals Si-S,. However, as the input signals applied to the input terminals B1B, of the adder 310 are inhibited by the output of the inverter 311, the input key codes KC will be produced of the output terminals Si-S, of the adder 310 without any modification. The respective bits KN1-KN4 and KB1-KB of the parallel 7 bit key code signals KC appearing at the output terminals 51-S, of the full adder 310 are parallelly stored in shift registers 313a--313g respectively. Consequently, these seven stage shift registers 313, through 313g store key codes KC of 8 channels and the stored key codes are sequentially shifted by clock pulses #1 and ht2 and finally produced sequentially from the last stages as parallel seven bit signals. The key code signals KC' comprising parallel 7 bit output signals KN1, -KN4, and KB1,-KB,' are converted into corresponding tone pitch voltages by the key code tone pitch voltage converting unit 400 to be described hereinafter and then applied to the musical tone forming unit 600.Accordingly, during the normal operation in which signal "1" is supplied to the key code shift control terminal 301, the seven bit key codes KC sequentially supplied from the first key code memory circuit 201 are sequentially produced without any change thus producing normal performance musical tones.
When signal "0" is applied to the key code shift control terminal 301, AND gate circuits 30S,308g on the input side of the full adder 310 are disabled thereby inhibiting all key codes KC from the first key code memory circuit 201 from being applied to the adder 310. When signal "0" is applied to the key code shift control terminal 301 the output of the inverter 311 becomes "0" with the result that AND gate circuits 312a312g are en-; abled to apply the output signals of the shift registers 313a313e to the input terminals B1-B7 of the adder 310.At this time, since the key codes KC supplied to input terminals A1-A, of the full adder 310 from the first key code memory circuit 201 are inhibited by the AND gate circuits 308a308E, signals applied to input terminals B1-13, of the adder 310 from respective shift registers 313a 313g will appear on the output terminals S--S, of the adder 310 without any change and then fed back to the inputs of respective shift registers 313a313g to be held therein.
Under these conditions, when a new key code NKC is generated by the depression of a key, the new key code NKC supplied by the first key code memory circuit 201 is compared with the key code KC' produced by respective shift registers 3l3a3l3g by comparator 304 shown in Fig. 16A. When the value of A (A1-A,) is larger than that of B (B1- B,), that is A > B, signal "1" appears on terminal 314, whereas in the opposite case signal "0" appears on terminal 314. Where A=B, the output of a NAND gate circuit becomes "0". In this case, the comparator 304 operates on the 2's complement logic by utilizing an adder 316.More particularly, bit signals KN1-KN4 and KBi-KBa of the new key code NKC supplied from the first key code memory circuit 201 are applied to the input terminals A1-A7 of the adder 316, whereas the output signals from the second key code memory circuits 302 are applied to the other input terminals of the adder 316 respectively through inverters 317a3 17g. The sum output terminals Si-S, of the adder 316 are supplied with coincidence signals obtained by the NAND gate circuit 315. When the sum of A (A1A,) and B (B1-B,) exceeds the number of the output bits (in this embodiment 7), the adder 316 produces a carry signal N =1 from a carry producing terminal CO.The comparison is performed in the following manner. Let us denote the value of the new code NKC applied to input terminals A1A, by a, and the value of the output key code KC' produced by the second key code memory circuit 302 by ss. Under these states, the value of the signals applied to input terminals B1B, is equal to a value N minus "1" at which the carry signal is produced, that is a value corresponding to (No 1) at which signals applied to input terminals B1-B, are all "1", minus the values of ,8 inverted by inverters 317a317s, that is (N--1-ss). 'Consequently, the sum of a applied to input terminals A1-A, and (N 1 ) applied to input terminals B1-B,, that is (a+N-1-fl) appears on the carry producing terminal CO and output terminals S,- S, which produce the result of addition of the adder 316. Where ez > ,B, a carry signal N="1" appears on the carry signal producing terminal CO.On the other hand, where α # ss, the carry signal produced by the carry signal producing terminal CO is "0,'. When =,B, the signal becomes (N-l) so that all signals appearing on output terminals 5,-S, are "1" thus changing the output from the NAND gate circuit 315 to "0".
A speed control pulse TC for controlling the speed of a tone pitch change and having a relatively long period is applied to a speed control terminal 305 shown in Fig. 16B from an oscillator to be described later. The speed control pulse TC is shaped by a pulse width adjuster 319 into a calculation control pulse having a pulse width corresponding to 8 channel times. This operation will be described as follows. The pulse width adjuster 319 comprises delay flip-flop circuit 320 and 321 which are driven by a clock pulse #B' produced during the first to third channel times as shown in Fig. 17A and by a clock pulse + produced during the fifth to seventh channel times as shown in Fig. 17B, and AND gate circuit 323 and an inverter 324.
When the pulse width adjuster 319 is supplied with a speed control pulse TC having longer period clock pulses ,' and #B' as shown in Fig. 17C, the speed control pulse is written in the delay flip-flop circuit 320 by the clock pulse #A', and produces a signal shown in Fig. 17D in accordance with clock pulse ssgt. The output from the delay flipflop circuit 320 is applied to the input of the delay flip-flop circuit 321 to be written therein by the clock pulse A The signal stored in the delay flip-flop circuit 321 is taken out as a Q output shown in Fig. 17E by the clock pulse #B. When applied with the outputs of both delay flip-flop circuits 320 and 321, the AND gate circuit 323 is enabled to produce a pulse signal as shown by Fig.
17F. In this manner, the AND gate circuit 323 produces an output at each building up portion of the speed control signal TC and the pulse width of the output is equal to a width covering the first to eighth channel times. The output of the AND gate circuit 323 is inverted by inverter 324 and the output of this inverter is used as an operation control signal OPC shown in Fig. 17G.
Under these states, when a key code KC having a larger a than the output key codes KC' of the shift registers 313a319g is supplied from the first key code memory circuit 201, the carry signal producing terminal CO of the adder 316 produces signal "1" as above described which is applied to one inputs of AND gate circuits 325 and 326. When applied with the speed control signal TC shown in Fig. 17C from the oscillator to be described later, the pulse width adjuster 319 produces an operation control signal OPC shown in Fig l 7G which is applied to one inputs of AND gate circuits 323-328 via the NOR gate circuit 329.At this time, the note code NC sent from the note code transmission circuk 122 of the note detection circuit shown in Fig. 7 comprises binary codes (BCD) in which note C C# is taken as the reference and a semitone is used as one unit. For example, binary codes are assigned such that [0] to note C, [1] to note D, [2] to note D#, [4] to note E, [5] to note F, [6] to note F,# [8] to note G, [9] to note G#, [10] to note A, [12] to note A#, [13] to note B, and [14] to note C skipping [3], [7] [11] and [1S]. With such assignment, it is possible to discriminate whether the increasing or decreasing increment to the next step is [1] or [2] by judging the least two bits KNX and KN2 of the note code.To realize an ascending chromatic scale, a value "1" should be added when the bits Kin, and KN2 exhibits "00" or "10", whereas a value [2] should be added in the other cases. To realize a descending chromatic scale, a value [1] should be subtracted when the bits KN, and KN2 exhibits "10" or "01", and a value [2] when "00". Accordingly, when an OR gate circuit 331 applied with the output from a shift register 313. and the output of a shift register 313b inverted by an inverter 330 produces signal in "1", it means that [1] is to be added, whereas when an OR gate circuit 332 applied with the outputs of shift registers 313a and 313b produces signal "1", it means that [1] is to be subtracted.For example, when the bit signals KN1-KN4 produced by shift registers 313a313d are "1000" which represents note D, OR gate circuit 331 and 332 produce signals "1" respectively. These signals "1" are applied to one inputs of AND gate circuits 326 and 328 whereas AND gate circuits 325 and 327 are disabled by the outputs "0" of inverters 333 and 334. As a consequence, only AND gate circuit 326 15 enabled to produce signal "1".This signal "1" is applied to only terminal A, of the adder 310 via OR gate circuit 309 to add [1] to the key codes supplied to input terminals B1-B,, that is the key codes utilized to judge a portion of the notes by the OR gate circuits 331 and 332, and the result of addition is applied to the inputs of shift registers 313,313g via output terminals S -S, and stored in these shift registers. When the note codes KN1,-KN4, produced by the shift registers 313,--3136 are "0100" which represents a note D, the output of the OR gate circuit 331 becomes "0" which is inverted by inverter 333 to obtain signal "1" By this signal "1" AND gate circuit 325 alone is enabled.The output signal "1" of this AND gate circuit is applied to the input terminal A2 alone via a OR gate circuit 309r so that a key code KC' produced by adding [2] to the output key code KC' of shift registers 3 13a3 13g is supplied and stored in these shift registers. Accordingly, where the output key code KC' of the second key code memory circuit 302 is smaller than the input key code KC, [1] or [2] is sequentially added depending upon the note codes Kin1' -KN4, and the sum is stored again in the second key code memory circuit 302.Since the operation control signal OPC (Fig. 17G) is a single pulse which is generated for an interval of from the first to speed control pulse TC is supplied, the operation described above terminates when the contents of shift registers 3 13a3 13g are shifted one cycle by clock pulses +1 and 02. As a result, each time the speed control signal TC is supplied, an addition operation is made for the key code KC' of each channel. When the key code KC' added with [1] or [2] is read out in the next cycle, the key code KC' of each channel is changed to a code representing a note of one order higher. Upon application of the next speed control pulse TC, [1] or [2] is added by an operation similar to that described above for producing a key code KC' representing a note of higher order.
In this manner, each time a speed control pulse TC is applied, the key code signal of each channel is stepwisely increased until the value a of the input key code KC coincides with the value p of the key code KC' produced by the second key code memory circuit 302 at which the carry signal produced from the carry signal terminal CO of the adder 316 becomes "0" with the result that AND gate circuits 325 and 326 utilized to control the addition of [1] or [2] are disabled to terminate the operational processing.
The key codes KC' corresponding to respective channels of the second key code memory circuit 302 do not coincide each other in many cases. In such cases, the addition operations are sequentially completed in channels in which a condition y= ss holds. When the addition operations of all channels are completed the key codes KC' corresponding to all channels of the second key code memory circuit 302 coincide with the input key codes KC. The repetition frequency of the addition operation is controlled by the period of the speed control pulse TC, and therefore the speed of the stepwise increase of the key code KC' for each channel can be varied by varying the period of the speed control pulse TC thus changing the speed of the portamento or glissando performance as will be described later.Since the circulation time of each one of the shift registers 313,--313, is extremely short, when an operation control signal having a pulse width larger than one circulation time is used a key code signal at several higher orders will be formed in an extremely short time whereby it is impossible to produce a portamento effect or a glissando effect having a desired speed. The pulse width adjusting circuit 319 is provided to obviate this difficulty.
The operation described above performs a key code conversion necessary to obtain a gradually rising portamento or glissando effect.
When a key code KC having a value a smaller than the key code KC' produced by the second key code memory circuit 302 is supplied from the channel processor 200, the NAND gate 315 of the comparator 304 produces a signal "1" while the carry signal producing terminal CO of the adder 316 produces signal "0". Consequently, opposite to that described above, the output "1" of the inverter 335 is applied to each one of inputs of the AND gate circuits 327 and 328.Then, only the AND gate circuit 328 is enabled when OR gate circuit 321 produces signal "1" that designates a subtraction, and the output of the AND gate circuit 328 is applied to all input terminals A1A, of the adder 310, which means that (N-1) is to be added as above described The result of addition becomes (N--T+) corresponding to the sum of a carry signal N and (fi- 1).
( ss1) appears on the output terminal S1 -S, meaning that [1] was subtracted. When the output of the OR gate circuit 332 becomes "0", the AND gate circuit 327 alone is enabled by the output signal "1" of the inverter 334 to produce a signal "1" which is applied to the input terminals A2-A, of the adder 310. Thus, by the input terminals except terminal A1, '(N - 2) is added. As a consequence, the result of addition becomes (N 2+P) consisting of a carry signal N and (P--2), the latter being applied to output terminals S1 S7 showing that [2] was subtracted.
By repeating the operation each time a speed control pulse TC is applied, the number of key codes KC corresponding to respective channels and stored in the second key code memory circuit 302 gradually decreases thereby obtaining portamento and glissando effects in which the tone pitch decreases gradually. When the value ,8 of the output key code KC' of the second key code memory circuit 302 coincides with the value a of the input key code, all signals appearing on the output terminals Si-S, of the adder 316 becomes "1" and the output signal of the NAND gate circuit 315 becomes "0". As a consequence, AND gate circuits 327 and 328 are disabled to terminate the subtraction operation.
With the key code converting unit constructed as above described, as a new key code NKC is applied, the key codes KC' stored in the second key code memory circuit 302 and corresponding to respective channel are sequentially calculated until the key code KC' stored in the second key code memory circuit 302 and corresponding to each channel comes to coincide with a new key code NKC, thereby producing gradually varying key code KC' which is applied to the musical tone forming unit 600 to be described later. Thus, it is possible to obtain a portamento or glissando effect which varies at any speed from a musical scale corresponding to a previously operated key to a musical scale corresponding to a newly operated key.
Key Code Tone Pitch Voltage Converting Unit 400.
The detail of the key code tone pitch voltage converting unit 400 will now be described with reference to Figs. 18 and 19.
The key code tone pitch voltage converting unit 400 comprises a sampling control circuit 402 shown in Fig. 18, a sampling circuit 401 and a digital-analogue converter 403 shown in Figs. 19A and 19B. At first, the sampling control circuit 402 which produces a reference timing signal and a control signal will be described.
A. Sampling Control Circuit 402.
The detail of one example of this circuit 402 is shown in Fig. 18 in which a synchronizing signal SYNC is applied to an inverter 404 via the timing signal generating unit 800 shown in Fig. 4. Consequently, signal "1" is written in the first stage of an 8-stage/1-bit shift register 405 driven by clock pulses çl and 12 by applying the output signal SYNC from the inverter 404 via an OR gate circuit 406 and stored signal "1" is shifted sequentially by the clock pulses + and 5b2. Channel signals BT1-BT8 (Figs. 20B-20H) the same as the channel signals BT1-BT8 shown in Fig. 4 are produced by respective stages of the shift register 405.As a signal "1" written in the first stage of the shift register 405 is shifted up to the last stage thereof, a NOR gate circuit 407 produces a signal "1" thus again a signal "1" is written in the first stage. Consequently, shift register 405 is driven synchronously with the shift register 802 shown in Fig. 4. The reason that two shift registers are synchronously driven for obtaining the same channel signals BT1 tBTfi is that where the circuit is assembled by a plurality of integrated circuit blocks or where the shift registers are remotely located, it is possible to readily obtain eight synchronized channel signals BTlBTs by using a single synchronizing line.The first to third outputs of the shift register 405 is taken out as a clock pulse çBt shown in Fig. 20Q through an OR gate circuit 408, whereas the fifth to seventh outputs are taken out as a clock pulse +"' shown in Fig. 20R via an OR gate circuit 409. These clock pulses +' and B' are applied to the delay flip-flop circuits 320 and 321 shown in Fig. 1Ç9B. The output signal of the inverter 404 is also applied to the input of 9-stage/l-bit shift register 411 driven by the clock pulses +1 and 02. The respective stage outputs of this shift register are applied to one input of the OR gate circuit 410 via a NOR gate circuit 414.Consequently, the last stage of the shift register 411 produces a pulse signal SC at each ninth count of the clock pulses +1 and 02. The inverter 412 produces an inverted signal SC of the pulse signal SC as shown in Fig. 20F. The outputs from the first and last stages of the shift register 411 are applied to the NOR gate circuit 413 for producing a pulse signal SOF which is "0,' when the ninth and first bits are produced as shown in Fig. 20H.
Various pulse signals produced by the sampling control circuit 402 are utilized in the sampling circuit 401 in a manner to be described later.
B. Sampling Circuit 401 and Digital Analogue Converting Circuit 403.
Figs. 19A and 19B show the detail of one example of the sampling circuit 401 and the digital-analogue converting circuit 403. The respective signal bits KN'i-KB's of the out- puts key code KC' of the second key code memory circuit shown in Fig. 16B are supplied and stored in delay flip-flop circuits 416a 416 respectively via AND gate circuits 414,-- 414g and OR gate circuits 4154415g respectively. The stored information (or key codes) are held until the next pulse signal SC is supplied to inverter 417, and AND gate circuits 41Sa18g are disabled by the "0" output from the inverter 417.Since the shift register 411 has 9 stages which is larger by one than the number of channels, the pulse signal pro duced by the shift register 411 is synchronous with the channel time which varies sequentially each time the channel time circulates. Thus, by sampling the output signal of the second key code memory circuit 302 with a pulse signal produced from the last stage of the shift register 411 it is possible to sample the key codes KC' at different channel times.
More particularly, as shown in Fig. 20J, the pulse signal SC; samples a key code KC' corresponding to the second channel times BT2 for storing the sampled key code KC' in the delay flip-flop circuits 416.--416,.
Accordingly, this sampling corresponds to successive sampling of the output key code KC' of the second key code memory each channel, and the memory of the sampled key code KC" is held until the next sampling.
Such reduced speed sampling is effected for the reason that the digital-analogue converting circuit 403 to be described later can not follow a high speed operation and that since the succeeding circuit systems are constructed to parallelly process the informations for respective channels, they are not required to operate at a high speed as key code 100 and channel processor 200. Thus, the circuit elements described above constitute the sampling circuit 401 which sequentially samples the key codes KC of respective samples at reduced speeds.
The key codes KC" sampled at a low speed by the pulse signal SC of the sampling circuit 401 and stored in the delay flip-ilop circuits 416a16i are divided into note codes KN1"-KN4" and block codes KB1,,-KB1' which are supplied to decoders 419 and 420 respectively where the codes are converted into parallel decimal signals thus producing signals "1" only at the output terminals corresponding to the codes. For example, when a key code KC" representing the note B of block U2 is applied, a signal "1011" is applied to the input terminals A-D of the decoder 419, while a signal "101" to the input terminals A-C of the decoder 420.
Consequently, the decoder 420 which converts block codes KBl"-KB2" producer signal "1" at its output terminal 5 alone. The decoder 419 which converts the note codes KN1,'- KN4" produces signal "1" only at its output terminal 13. Consequently, among transistors 420,--424 and 42ia421r respectively connected to the output terminals of decoders 419 and 420, only transistors 420b and 421a respectively connected to terminals 13 and 15 at which signal "1" appears are turned on.Accordingly, the voltage appearing at point A of a first potentiometer circuit constituted by resistors 422a-422,t (the values of these resistors are selected to be r'-16r') and serving to divide a source voltage +V is supplied to point a of a second potentiometer circuit 423 comprising a plurality of resistors 4231a423lb (having a resistance value r) and resistors 4322a4232 (having a resistance value R), through conducting transistor 421a. When transistor 420b is turned on by the output of the decoder 419 the potential at point b will be derived out. Since the potential of point a is the output of the first potentiometer 422 selected to correspond to the block codes KB1,,-KB", the output signal of transsistor 420b will have a voltage value corresponding to the block codes KB1" -KB,1, and the note codes KN1,,-KN4,, and used as the tone pitch voltage KV which controls the voltage controlled type variable frequency oscillator to be described later. The key code KC' supplied from the key code converting unit 300 is sampled at a low speed and then supplied to decoders 419 and 420 so that it is held for one period of the low speed sampling and then produced as an output signal.When converting a digital signal into a tone pitch voltage KV, due to the electrostatic capacitance of transistors 420at 420l, and 421a421f connected on the output side of decoders 419 and 420 and due to the stray capacitance of the circuit system, the rate of build up of the converted output signal (tone pitch voltage KV) is influenced by a CR time constant so that the output can not increase sharply. However, this difficulty can be obviated at the time of assigning the tone pitch voltage KV to respective channels as will be described in the following.
The pulse signal SC generated by the sampling control circuit 402 is also applied to one inputs of AND gate circuits 424a 424g of the digital-analogue converting circuit 403. The other inputs of these AND gate circuits are connected to receive channel signals BT1 BT8 respectively shown in Figs.
20A-201 so that only the AND gate circuit 424 which is supplied with a channel signal synchronous with the pulse signal SC (Fig.
20J) is enabled, and the output of this AND gate circuit 424 is stored in the delay flipflop circuits 426,--4261, via OR gate circuits 423---423h. As described above, since the pulse signal supplied to one inputs of the AND gate circuits 424,424h is the output produced from the last stage of the shift register 411 which has counted clock pulses of the number equal to the number of the channels plus one so that the pulse signal SC coincides with one of the channel signals sequentially shifted by one from channel signals BT1-BT8. Consequently, this pulse signal SC samples channel signals BT1-BT2 at a reduced speed of 1/8, and each one of the sampled channel signals BT'1-BT18 is stored in either one of the delay flip-flop circuits 426,--426, and held therein until the AND gate circuit 427,427h are disabled by the output of the inverter 417.
Low speed sampling of channel signals BT1 BT8 and key code KC' are made by the same signal, that is pulse signal SC and the key code KC' supplied to the key code tone pitch voltage converting unit 400 is supplied at a channel time corresponding to a channel assigned with said key code. As above described, the tone pitch voltage KV produced by converting the key code KC sampled by the sampling circuit 401 into an analogue signal is supplied to a channel whose signal "1" is stored and held in the delay flip-flop circuits 426E426h by the pulse signal SG.
Accordingly, by tuming ON transistors 428a --428e connected on the output side of the delay flip-flop circuits 426,,--426t, by the output signal thereof it is possible to supply tone pitch voltages KV to any desired channels which are assigned by the channel processor 200 through output terminals 429,--429h.
The outputs of the delay flip-flop circuits 426-426h are connected to one inputs of AND gate circuits 430ak30h and the other inputs of these AND gate circuits are connected to receive a pulse SOF (Fig. 20N) produced by the NOR gate circuit 413 of the sampling control circuit 402 shown in Fig.
18. Since the inputs of the NOR gate circuit 413 are connected to the first and last stages of the shift register 411, the pulse signal SOF is a rectangular wave followed by zero period of two channel times as shown in Fig. 20N.
As shown in Figs. 200 and 20P, initial portions corresponding to two channel times of the tone pitch voltages which are supplied to respective channels from the digital-analogue converting circuit 403 are inhibited such that inaccurate building up portions of the tone pitch voltages are cut off thus stabilizing the same.
As above described, the digital-analogue converting circuit 403 comprises a sampling circuit 401 which samples at a low speed the key codes KC' supplied from the second key code memory circuit 302 and sequentially stored the sampled key codes for respective channels, and a digital-analogue converter which converts the sampled key codes KC't into corresponding tone pitch voltages KV and supplies the tone pitch voltages KV to channels which are assigned with the key codes.
Tone Pitch Voltage Control Unit for Respective Channels 500, Musical Tone Forming Unit 600 and Tone Pitch Voltage Control Unit 700.
The tone pitch voltage control unit for respective channels 500, the musical tone forming unit 600 and the tone pitch voltage control unit 700 will now be described. Fig.
21 shows the detail of one example of the tone pitch voltage control unit for respective channels 500 and the musical tone forming unit 600 and Fig. 22 shows the detail of one example of the tone pitch voltage control unit 700.
A. Tone Pitch Voltage Control Unit for Respective Charnels 500.
As shown in Fig. 21, the tone pitch voltage control unit for respective channels 500 comprises tone pitch voltage control circuits 501, 301h for respective channels. The tone pitch voltage control circuit 501a in charge of the first channel comprises a transistor 502 with its base electrode connected to receive a key ON signal KOl produced by the input/ output terminal 271, of the depressed key state memory circuit 501a via an inverter 517 so that transistor 502 turns ON when the key ON signal KO1 is "1" (that is when the key of the first channel is depressed).When a key ON signal KO1 is at "1" level, a tone pitch voltage KV corresponding to a key code KC assigned to the first channel is supplied to the tone pitch voltage control circuit 501a from the digital-analogue converting circuit 403. When transistor 502 is turned on by the inverted key ON signal UX a differentiating circuit constituted by resistors 503 and 504 and a capacitor 505 and connected to the emitter electrode of the transistor produces a differentiated output which is derived out as a positive pulse via an inverter 506. The output of the inverter 306 turns ON a transistor 507 via an OR gate circuit 516 for rapidly charging a capacitor 508.Across the transistor 507 are connected a first series circuit including a resistor 509 having a medium resistance value and a transistor 510, and a second series circuit including a resistor 511 having a large resistance value and a transistor 512, so that by selectively turning ON the transistors 510 and 512 while the transistor 507 is OFF it is possible to select the charging time constant of the capacitor 508 charged by the tone pitch voltage KV.
NAND gate circuit 513, AND gate circuits 514 and 515 and OR gate circuit 516 are provided for the purpose of controlling the tone pitch signal KV' utilized to charge the capacitor 508 in accordance with the output signal from the tone pitch voltage control unit 700 as will be described later in more detail. Tone pitch voltage control circuits 501b501h in charge of the other channels are constructed identical to the tone pitch voltage control circuit 501a described above in charge of the first channel.
B. Musical Tone Forming Unit 600.
The musical tone forming unit 600 comprises a plurality of musical tone forming circuits 601a01b provided for respective channels. The musical tone forming circuit 601" in charge of the first channel comprises a oscillator VCO 602 controlled by the terminal voltage KV1 of the capacitor 508 provided for the tone pitch voltage control circuit 501" and charged by the tone pitch voltage KV for producing a source signal having a frequency corresponding to the voltage KV, a tone color forming circuit VCF 603 which controls the pass frequency of the source signal, and an amplitude level adjuster VCA 604 for adjusting the level of the musical tone signal of the musical tone forming circuit 601, for the first channel CH1 is applied to the output terminal 901 via mixing resistor 900a and then applied to a loudspeaker through an amplifier, not shown, for producing a desired musical tone, in the same manner as the conventional musical tone forming circuit. The musical tone forming circuits 601,;--601h in charge of the other channels are constructed similarly. The outputs of the other musical tone forming circuits are also supplied to the output terminal 901 via mixing resistors 900b900h- C. Tone Pitch Control Unit 700.
The tone pitch control unit 700 is provided for the purpose of controlling the speed of the portamento or glissando effect, switching between the portamento and glissando effects, and detecting the level change of the musical tone signal during sustain. There is provided a voltage controlled variable frequency oscillator 701 for producing on the terminal 305 shown in Fig. 16B a speed control pulse TC having a relatively long period corresponding to the output voltage of a variable resistor 952 mounted on the control panel 950.The output voltage of the variable resistor 952 is also supplied to comparators 703, 704 and 705 to be compared with reference voltages VrlVrs having values expressed by an equation Vrl > Vr2 > r3. The output of the comparator 703 is applied to the key code shift control terminal 301 shown in Fig. 16B to act as a tone pitch voltage variable control signal. An OR gate 708 is provided to apply the output of the comparator 703 and the output of a switch 954 of the control panel 950 to the input of the AND gate circuit 514 of the tone pitch voltage control unit 500. The output of the comparator 705 is applied to one input of the AND gate circuit 515 of the control unit 500 shown in Fig. 2. The switching between the portamento effect P and the glissando effect G is made by a transfer switch 954.The control panel 950 is also provided with a transfer switch 935 for switching between the presence and absence of the tone pitch change of the musical tone signal (that is glissando or portamento) and the output of the transfer switch 955 is applied to the input of the NAND gate circuit 513 of the control unit 500 shown in Fig. 21.
D. The Operations of Tone Pitch Voltage Control Unit 500 for Respective Channels, Musical Forming Unit 600 and Tone Pitch Voltage Control Unit 700.
These units operate as follows. The operation wherein the transfer switch 954 of the control panel 950 is switched to the portamento side (shown in the drawing) and the transfer switch 955 is switched to the no sustain control side (shown in the drawing) will firstly be described. Under these conditions, when the sliding arm of the variable resistor 952 is moved toward the grounded terminal a voltage lower than the reference voltage Vr3 is produced so that the oscillator 701 produces an oscillation output having a relatively long period corresponding to this low voltage.
This oscillation output is applied to the speed control terminal 305 shown in Fig. 16B to act as a speed control pulse TC. Since the voltage generated bv the variable resistor 952 is lower than the reference value Vt3, all comparators 703, 704 and 705 produce signals "0". The "0,' output signal of the comparator 703 is supplied to the key code shift control terminal 301 shown in Fig. 16B to act as a tone pitch variable control signal. Consequently, the operation circuit 303 of the key code converting unit 300 repeats the addition or subtraction operations described above until the key code KC corresponding to the firstly operated key comes to coincide with the key code KC corresponding to the secondly depressed key.As has been discussed hereinabove, the operation speed at this time is determined by the speed control pulse TC generated by the oscillator 701. In this case, the control speed is extremely low. By this operation, the key code KC' generated by the second key code memory circuit 302 gradually increases or decreases.
As above described, the key code KC' produced by the second key code memory circuit 302 is calculated each time a speed control pulse TC having an extremely long period is generated by oscillator 701 and exhibits a key code KC' representing an upper adjacent note. The key code KC' which varies slowly is sampled by the sampling circuit 401 of the tone pitch voltage converting unit 400 and then converted into a tone pitch voltage KV by the digital-analogue converting circuit 403.
The tone pitch voltage KV is supplied to one of the tone pitch voltage control circuits 501" 501h assigned to a specific key code. In the following description, it is assumed that the key code is assigned to a first channel.
Under these circumstances, the tone pitch voltage KV produced by the digital-analogue converter 403 increases stepwisely each time the speed control pulse TC is generated. When the depressed key state memory circuit 204 detects the fact that a key code KC corresponding to the firstly operated key has been assigned to the first channel, the output terminal 271a (Fig. 15) corresponding to the first channel produces a key ON signal KO1.
This signal becomes "1" when a key is depressed and the inverted signal KOl of this key ON signal KO1 turns on the transistor 502 thereby producing a differentiated pulse at the juncture between the capacitor 505 and the resistor 504. This differentiated pulse is inverted into a positive pulse by the inverter 506. The inverted positive pulse is applied to the gate electrode of the field effect type transistor 507 thus momentarily turns ON the same. During the turned ON interval of che transistor 507, the tone pitch voltage KV corresponding to the firstly operated key and impressed upon the drain electrode of the transistor 507 rapidly charges the capacitor 508.Thereby producing a source signal corresponding to the terminal voltage of the capacitor 508 or the firstly depressed key, when a key ON signal KOl at "1" state is impressed upon one input from the terminal 271a of the depressed key state memory circuit 204, the inputs of the NAND gate circuit 513 becomes "1" and "0" thus producing a signal "I" which is applied to transistor 512 thus maintaining the same in an ON state while the key ON signal KOl is being supplied.
The transistor 512 is ON only momentarily when the first key is depressed so that thereafter only transistor 512 continues its ON state. As a consequence, the tone pitch voltage KV which is supplied through the digitalanalogue converting circuit 403 and varies stepwisely at a low speed charges capacitor 508 via a high value resistor 511. At this time, the charging time constant is very large so that the stepwisely varying tone pitch voltage KV is changed into a continuously varying tone pitch voltage KV' and then supplied to the musical tone forming circuit 601, thus providing a portamento effect in which the tone pitch continuously increases at slow speed from the tone pitch of the firstly operated key to that of the secondly operated key.When the operated key is released the key ON signal KO1 changes from "1" to "0" so that the inputs to the NAND gate circuit 513 become "1" and "0" whereby the NAND gate circuit produces signal "0". Consequently, concurrently with the release of the key, charging of the capacitor 508 is stopped with the result that no portamento effect is provided for a sustain portion.When the transfer switch 955 of the control panel 950 is transferred to the side opposite to that shown in the drawing (sustain control side) signal "0" is applied to input of the NAND gate circuit 513 so that transistor 512 continues its ON state even when the key is released at which the inverted key ON signal KOl becomes "1".
thus providing the portamento effect also for the sustain portion.
When a voltage larger than the reference voltage Vr3 but smaller than the reference voltage Vr2 is produced by moving the sliding arm of the variable resistor 952 toward the side opposite opposite the grounded terminal the period of the speed control pulse TC generated by the oscillator becomes shorter with the result that the operation period as well as the variation of the tone pitch voltage KV become faster. When a voltage larger than the reference voltage V, < is produced by the variable resistor 932, the output of the comparator 705 becomes "1" which is applied to one input of the AND gate circuit 515.
Since the other input of this AND gate circuit is supplied with the output "1" of the NAND gate circuit 513 which is produced when the key ON signal KOl is applied, the AND gate circuit 515 is enabled to produce output "1". This output signal "1" turns ON transistor 310 thus charging capacitor 508 through resistor 509 having a medium resistance value with a tone pitch voltage KV which varies at a relatively fast speed. The terminal voltage KV' of this capacitor 508 is converted into a musical tone signal by the musical tone forming circuit 601a thus producing a musical tone through a loudspeaker, not shown, which is provided with a portamento effect continuously varying at a relatively high speed.
The reason that the transistors are selectively turned ON so as to reduce the value of the charging resistor with the increase in the tone pitch voltage KV lies in that under a large charging time constant it is impossible to follow relatively fast variation in the tone pitch voltage KV.
When the variable resistor g52 of the control panel 950 is adjusted to produce a still higher voltage the outputs of both comparators 704 and 705 become "1". The output signal "1" from the comparator 704 is applied to one input of the AND gate circuit 514 while the output of the NAND gate circuit 513 which is produced when the key ON signal KVl is applied to the other input of the AND gate circuit 514 so that this AND gate circuit is enabled to produce signal '"1" which is used to turn ON transistor 507 via OR gate circuit 516.As a consequence, when the tone pitch voltage KV varies rapidly, this tone pitch voltage KV directly charges capacitor 508 via transistor 507 thus providing a rapidly changing glissando like portamento effect.
As the output voltage of the variable resistor 952 is further increased, the oscillator 701 produces an extremely fast speed control pulse TC. When the voltage produced by the variable resistor 952 becomes higher than the reference voltage Vr1, the output of the comparator 703 changes to "1" from "0". Since the "0" output signal of the comparator 703 is applied to the key code shift control terminal 301 of the calculation circuit 303 shown in Fig. 16B to act as the tone pitch voltage variable control signal, when the output voltage of the variable resistor becomes higher than the reference voltage Vrl the operation of the calculation circuit 303 is terminated to resume the normal operation.
Above description refers to the provision of a portamento effect. A glissando effect is provided in the following manner.
To obtain a glissando effect the transfer switch 954 of the control panel 950 is switched to the opposite side thus applying a signal "1" to one input of the OR gate circuit 708 whereby signal "1" is normally applied to one input of the AND gate circuit 514 is normally "1" as above described when a key ON signal KOl representing the selection of the first channel is applied to the input of the NAND gate circuit 513. As a consequence, the AND gate circuit 514 is enabled whenever a key ON signal KOl is supplied thus producing signal "1". This signal "1" turns ON transistor 507 via the OR gate circuit 516.Thus, when the output voltage of the variable resistor 952 of the control panel 950 is smaller than the reference voltage V,1, in other words varies at a speed below a speed determined by the reference value Vr1, the capacitor 508 is directly charged by the tone pitch voltage KV via transistor 507 so that the voltage KV' across this capacitor 508 varies stepwisely as the tone pitch voltage KV varies stepwisely. Accordingly, the musical tone forming circuit 601, produces a musical tone signal which varies stepwisely, just like a case wherein the keys of a piano are successively played.
When the output of the variable resistor 954 is increased beyond the reference value V,1 the operation of the operation circuit 303 is stopped in the same manner as in the case of providing the portamento effect thus resuming the normal operation. When the transfer switch 955 is switched to the sustain control side (to the upper side) the NAND gate circuit 513 will normally be supplied with signal "0" so that the AND gate circuit 514 is enabled by the output "1" from this NAND gate circuit and signal "1" supplied from transfer switch 706 via OR gate circuit 708 thus producing an output "1" which turns ON transistor 507. Consequently, also during sustain, a glissando effect can be provided.Thus, the variable resistor 952 which produces a variable voltage has two functions of the speed control of the portamento or glissando effect aand the variable control of the tone pitch (glissando or portamento). This construction reduces the number of the operating elements thus making easy performance of a not yet skilled player. Of course, the reference value V,1 is set at such stage which varies so fast that no portamento or glissando effect can be provided.
In the above described embodiment the reason that a signal "1" is written in the respective stages of the shift register 205 of the first key code memory circuit 201 of the channel processor 200 by the initial clear signal IC is to precharge the capacitor by a tone pitch voltage to prepare for the first key operation. More prticularly, where it is contemplated to provide the portamento or glissando effect starting from the first key the starting point can be set such that a tone pitch can be controlled by any one of the keys.
Although in the foregoing embodiment, during the operational processing of the signals for producing a key code which varies stepwisely, [1] or [2] was added or subtracted for producing key codes which sequentially vary according to the order of the notes in the musical scale on the assumption that the step be a semitone, it should be under stood that the invention is not limited to the specific embodiment. For example, the invention is also applicable to a case wherein the key code is sequentially varied by using a desired interval as a unit or to only a portion of a musical scale for example not using black keys or to only medium tone.
Furthermore, in the foregoing embodiment a stepwisely varied key code was converted into an analogue quantity and then applied to a voltage controlled type variable frequency oscillator, but it is also possible to use the stepwisely varying key code signal to digitally select a sound signal for producing a musical signal.
Furthermore, in the embodiment described above, a key information was encoded and the encoded key code was processed digitally to produce a gradually varying tone pitch voltage, it will be clear that the tone pitch voltage can be produced bv other methods.
As above described according to the electron musical instrument of this invention a key information is encoded into a key code signal which is subjected to addition and subtraction calculations thereby forming a sequentially varying key code signal which is used to produce a corresponding musical tone.
Accordingly, it is possible to readily and automatically provide a glissando effect in which the tone varies successively, and a portamento effect in which the tone varies continuously. Accordingly, the expression of a music is greatly enriched, and the musical instrument of this invention can readily be performed even by a not yet skilled player.
WHAT WE CLAIM IS: 1. An electronic musical instrument comprising key coder means for delivering key code signals identifying depressed keys, key code memory means for storing said key code signals, comparator means connected to said key coder means and to said key code memory means for comparing a first key code received from said key code memory means with a second key code received from said key coder means, calculation means responsive to the result of comparison in said comparator means for adding to or subtracting from the content of said key code memory means a predetermined value defining a semitone step repetitively at a predetermined clock rate thereby renewing said first key code in said key code memory until said first key code becomes equal to said second key code,
and tone forming means connected to said key code memory means and forming a musical tone having a pitch determined by said first key code in said key code memory means.
2. An electronic musical instument according to claim 1 which further comprises a variable frequency oscillator for producing a signal that determines said clock rate.
3. An electronic musical instrument according to claim 1 wherein said key coder means produces said key code signals on a time division basis, and said key code memory means comprises a plurality of memory stages for storing said key code signals on the time division basis.
4. An electronic musical instrument according to claim 3 wherein said key coder means comprises memory means for storing said key code s gilals at memory stages corresponding to time division channels.
5. An electronic musical instrument according to claim 4 wherein said key coder means further comprises first means for representing a time division channel to be secured, and second means responsive to the output of said first means for determining a stage of said memory means utilized to store said key code signal thereby storing key code signals at said stage and not yet secured stages.
6. An electrical musical instrument according to claim 1 wherein said tone forming means includes first means for producing a tone pitch voltage corresponding to the output of said key code memory means, a capacitor for storing said voltage and a voltage controlled type variable frequency oscillator for generating an oscillation having a frequency determined by the voltage stored in said capacitor.
7. An electronic musical instrument accord .ing to claim 6 which further comprises second means for varying the charging time constant of said capacitor.
8. An electronic musical instrument according to claim 7 which further comprises a variable frequency oscillator for producing a signal that determines the clock rate for said calculation means.
9. An electronic musical instrument according to claim 8 which further comprises third means for controlling the oscillation frequency of said variable frequency oscillator, said second means and said third means being so inter-related that said charging time constant becomes longer as said oscillation frequency of said variable frequency oscillator becomes higher, and vice versa.
10. An electronic musical instrument according to claim 6 which further comprises means for generating a signal representing a released key state, a first gate means connected between said capacitor and said tone pitch voltage generating means, a second gate means for controlling said first gate means by said signal generated by said signal generating means, and a manual switch for controlling said second gate means.
11. An electronic musical instrument according to claim 2 which further comprises a variable voltage source which controls oscillation frequency of said variable frequency oscillator, a comparator which compares the voltage of said variable voltage source with a predetermined reference voltage, and means responsive to the output of said comparator
**WARNING** end of DESC field may overlap start of CLMS **.

Claims (13)

**WARNING** start of CLMS field may overlap end of DESC **. specific embodiment. For example, the invention is also applicable to a case wherein the key code is sequentially varied by using a desired interval as a unit or to only a portion of a musical scale for example not using black keys or to only medium tone. Furthermore, in the foregoing embodiment a stepwisely varied key code was converted into an analogue quantity and then applied to a voltage controlled type variable frequency oscillator, but it is also possible to use the stepwisely varying key code signal to digitally select a sound signal for producing a musical signal. Furthermore, in the embodiment described above, a key information was encoded and the encoded key code was processed digitally to produce a gradually varying tone pitch voltage, it will be clear that the tone pitch voltage can be produced bv other methods. As above described according to the electron musical instrument of this invention a key information is encoded into a key code signal which is subjected to addition and subtraction calculations thereby forming a sequentially varying key code signal which is used to produce a corresponding musical tone. Accordingly, it is possible to readily and automatically provide a glissando effect in which the tone varies successively, and a portamento effect in which the tone varies continuously. Accordingly, the expression of a music is greatly enriched, and the musical instrument of this invention can readily be performed even by a not yet skilled player. WHAT WE CLAIM IS:
1. An electronic musical instrument comprising key coder means for delivering key code signals identifying depressed keys, key code memory means for storing said key code signals, comparator means connected to said key coder means and to said key code memory means for comparing a first key code received from said key code memory means with a second key code received from said key coder means, calculation means responsive to the result of comparison in said comparator means for adding to or subtracting from the content of said key code memory means a predetermined value defining a semitone step repetitively at a predetermined clock rate thereby renewing said first key code in said key code memory until said first key code becomes equal to said second key code, and tone forming means connected to said key code memory means and forming a musical tone having a pitch determined by said first key code in said key code memory means.
2. An electronic musical instument according to claim 1 which further comprises a variable frequency oscillator for producing a signal that determines said clock rate.
3. An electronic musical instrument according to claim 1 wherein said key coder means produces said key code signals on a time division basis, and said key code memory means comprises a plurality of memory stages for storing said key code signals on the time division basis.
4. An electronic musical instrument according to claim 3 wherein said key coder means comprises memory means for storing said key code sìgilals at memory stages corresponding to time division channels.
5. An electronic musical instrument according to claim 4 wherein said key coder means further comprises first means for representing a time division channel to be secured, and second means responsive to the output of said first means for determining a stage of said memory means utilized to store said key code signal thereby storing key code signals at said stage and not yet secured stages.
6. An electrical musical instrument according to claim 1 wherein said tone forming means includes first means for producing a tone pitch voltage corresponding to the output of said key code memory means, a capacitor for storing said voltage and a voltage controlled type variable frequency oscillator for generating an oscillation having a frequency determined by the voltage stored in said capacitor.
7. An electronic musical instrument accord .ing to claim 6 which further comprises second means for varying the charging time constant of said capacitor.
8. An electronic musical instrument according to claim 7 which further comprises a variable frequency oscillator for producing a signal that determines the clock rate for said calculation means.
9. An electronic musical instrument according to claim 8 which further comprises third means for controlling the oscillation frequency of said variable frequency oscillator, said second means and said third means being so inter-related that said charging time constant becomes longer as said oscillation frequency of said variable frequency oscillator becomes higher, and vice versa.
10. An electronic musical instrument according to claim 6 which further comprises means for generating a signal representing a released key state, a first gate means connected between said capacitor and said tone pitch voltage generating means, a second gate means for controlling said first gate means by said signal generated by said signal generating means, and a manual switch for controlling said second gate means.
11. An electronic musical instrument according to claim 2 which further comprises a variable voltage source which controls oscillation frequency of said variable frequency oscillator, a comparator which compares the voltage of said variable voltage source with a predetermined reference voltage, and means responsive to the output of said comparator
for rendering inoperative said calculation means thereby directly applying a newly supplied key code signal to said key code memory means.
12. An electronic musical instrument according to claim 4 which further comprises means for generating a tone pitch voltage corresponding to the output of said key code memory means, a plurality of capacitors corresponding to a plurality of time division channels and adapted to store said tone pitch voltage, a plurality of variable frequency oscillators for generating oscillation frequencies respectively corresponding to the terminal voltages of said capacitors and switch means for assigning said tone pitch voltage to said capacitors on the time division basis.
13. An electronic musical instrument substantially as described herein with reference to Fig. 1, or Figs. 2A, 2B, and 2C, or Figs.
1 to 22 of the accompanying drawings.
GB25604/77A 1976-06-25 1977-06-20 Electronic musical instruments Expired GB1561779A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP7506576A JPS531014A (en) 1976-06-25 1976-06-25 Electronic musical instrument
JP7506676A JPS531015A (en) 1976-06-25 1976-06-25 Electronic musical instrument

Publications (1)

Publication Number Publication Date
GB1561779A true GB1561779A (en) 1980-03-05

Family

ID=26416210

Family Applications (1)

Application Number Title Priority Date Filing Date
GB25604/77A Expired GB1561779A (en) 1976-06-25 1977-06-20 Electronic musical instruments

Country Status (3)

Country Link
US (1) USRE32838E (en)
DE (1) DE2728637A1 (en)
GB (1) GB1561779A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5216189A (en) * 1988-11-30 1993-06-01 Yamaha Corporation Electronic musical instrument having slur effect
JP2650488B2 (en) * 1990-11-29 1997-09-03 ヤマハ株式会社 Musical instrument control method for electronic musical instruments
WO2015112845A2 (en) * 2014-01-23 2015-07-30 Moog Music, Inc. Voltage-controlled oscillator with variable core for electronic musical instrument and related methods

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3746773A (en) * 1972-02-04 1973-07-17 Baldwin Co D H Electronic organ employing time position multiplexed signals
US3886836A (en) * 1973-04-11 1975-06-03 Nippon Musical Instruments Mfg Electronic musical instrument capable of generating tone signals having the pitch frequency, tone color and volume envelope varied with time
US3929053A (en) * 1974-04-29 1975-12-30 Nippon Musical Instruments Mfg Production of glide and portamento in an electronic musical instrument
US3979989A (en) * 1974-05-31 1976-09-14 Nippon Gakki Seizo Kabushiki Kaisha Electronic musical instrument
US4026180A (en) * 1974-05-31 1977-05-31 Nippon Gakki Seizo Kabushiki Kaisha Electronic musical instrument
US3979996A (en) * 1974-05-31 1976-09-14 Nippon Gakki Seizo Kabushiki Kaisha Electronic musical instrument
JPS5651632B2 (en) * 1974-09-17 1981-12-07

Also Published As

Publication number Publication date
USRE32838E (en) 1989-01-24
DE2728637A1 (en) 1978-02-02

Similar Documents

Publication Publication Date Title
US4079650A (en) ADSR envelope generator
US3844379A (en) Electronic musical instrument with key coding in a key address memory
US4059039A (en) Electrical musical instrument with chord generation
US4185532A (en) Envelope generator
US5119710A (en) Musical tone generator
US4144788A (en) Bass note generation system
US4080862A (en) Electronic musical instrument having octave slide effect
US4192211A (en) Electronic musical instrument
USRE30736E (en) Tone wave generator in electronic musical instrument
US4178826A (en) Envelope generator
US4365533A (en) Musical instrument
US4237764A (en) Electronic musical instruments
GB1519786A (en) Circuit arrangement for electronic musical instruments
US4166405A (en) Electronic musical instrument
GB1561779A (en) Electronic musical instruments
US4562763A (en) Waveform information generating system
US4263828A (en) Electronic musical instrument having envelope controlled _automatic performance
US4627325A (en) Touch response apparatus for electronic musical apparatus
US4214500A (en) Electronic musical instruments
US4189972A (en) Electronic musical instrument of numerical value processing type
US4223584A (en) Electronic musical instrument
US4217806A (en) Automatic rhythm generating method and apparatus in electronic musical instrument
US4204452A (en) Single key preferential selection device in electronic musical instrument
US4308779A (en) Control waveform generators for electronic musical instruments
US5109746A (en) Envelope generator for use in an electronic musical instrument

Legal Events

Date Code Title Description
PS Patent sealed [section 19, patents act 1949]
PE20 Patent expired after termination of 20 years

Effective date: 19970619