Abstract:
Speech and melody information are separately inputted and stored. The speech timing is modified (corrected) to alignment with the melody.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to electronic equipment, and more particularly to electronic equipment capable of inputting and outputting melody information as well as vocal information corresponding to note information. 
     2. Description of the Prior Art 
     An electronic composing machine which stores notes in a memory in the form of intervals and time durations, and expresses the stored notes by means of a synthesizer in terms of monotonies to automatically play music, has been known. However, for vocal music, a listener encounters difficulty in matching the music to a text because only a melody is played. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide an electronic equipment capable of playing melody information as well as vocal information by storing the molody information as well as the vocal information in a memory in the form of parameters. 
     It is another object of the present invention to provide an electronic equipment capable of producing vocal information corrected with respect to interval and time, while maintaining the frequency of the vocal information substantially unchanged, in accordance with melody information. 
     It is another object of the present invention to provide an electronic equipment capable of producing melody information or vocal information in accordance with the melody information, as required. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows an external view of one embodiment of an electronic composing machine with vocal sound in accordance with the present invention, 
     FIG. 2 illustrates functions of all keys on a keyboard, 
     FIG. 3 shows a block diagram of a configuration of the electronic composing machine with vocal sound shown in FIG. 1, 
     FIG. 4 shows an example of a music sheet and a step, 
     FIG. 5 shows various displays, 
     FIG. 6 shows a music inputting procedure, 
     FIG. 7 shows a melody data and a vocal data stored in a memory, 
     FIG. 8 shows a correction procedure, and 
     FIGS. 9 to 13 show flow charts for explaining mode selection operations. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     One embodiment of the present invention is now explained with reference to the drawings. 
     FIG. 1 shows an external view of one embodiment of the electronic composing machine with vocal sound in accordance with the present invention, in which MP denotes a voice input microphone, DIS denotes a display, SW denotes a power switch/mode selection switch, VC denotes a volume control knob for a speaker SP, SP denotes an output speaker for monotony or vocal sound, and KB denotes a keyboard. 
     FIG. 2 illustrates functions of the keyboard KB shown in FIG. 1. It has letter name keys  A ,  B ,  C ,  D ,  E ,  F  and  G , note/step keys  1 ,  2 ,  3 ,  4 ,  5 ,  6 ,  7 ,  8  and  9 , and auxiliary keys  0 , • ,  ♯ ,  ♭ ,  ↑ ,  ↓ and  -  to represent melody information, and control keys  Tem ,  Set ,  Mel ,  Voi ,  CM ,  CV  and  CL  to control the functions. 
     The mode selection switch SW shown in FIG. 1 is a three-position switch to represent three modes &#34;OFF&#34;, &#34;PROG&#34; and &#34;PLAY&#34;. In the &#34;OFF&#34; mode, the power is off, in the &#34;PROG&#34; mode, the melody/vocal information is inputted and corrected, and in the &#34;PLAY&#34; mode, monotonies or vocal sound is automatically played. 
     FIG. 3 shows a block diagram of the electronic composing machine with vocal sound shown in FIG. 1, in which numeral 1 denotes an input unit (corresponding to KB in FIG. 1), numeral 2 denotes a display (corresponding to DIS in FIG. 1), numeral 3 denotes a microphone for inputting voice (corresponding to MP in FIG. 1), numeral 4 denotes an analog-to-digital converter for converting vocal information to digital information, numeral 5 denotes a parcor analyzer for parametering the vocal information digitized by the analog-to-digital converter, numeral 6 denotes a central processor for controlling the entire equipment, numeral 7 denotes a first memory for storing the melody information, numeral 8 denotes a second memory for storing the vocal information parametered by the parcor analyzer 5, numeral 9 denotes a time axis correction circuit for normalizing the vocal parameters stored in the second memory 8, numeral 10 denotes a second auxiliary memory for storing the vocal parameters normalized by the time axis correction circuit 9 and temporarily storing data inputted by the input unit 1, numeral 11 denotes a first auxiliary memory for storing step information assigned, in an ascending order, to notes and rests of a music sheet corresponding to the melody information shown in FIG. 4, numeral 12 denotes a parcor synthesizer for synthesizing a voice signal in accordance with the normalized vocal parameters stored in the second auxiliary memory 10, numeral 13 denotes a digital-to-analog converter for analog-converting the voice signal, synthesized by the parcor synthesizer 12, numeral 16 denotes an amplifier for amplifying the analog-converted voice signal, numeral 17 denotes a speaker (corresponding to SP in FIG. 1) for converting the voice signal amplified by the amplifier 16, numeral 15 denotes a volume controller (corresponding to VC in FIG. 1) for controlling volume of sound from the speaker 17 and numeral 14 denotes a monotony synthesizer for synthesizing monotonies from the melody information stored in the first memory 7. 
     When the mode selection switch SW is switched from the &#34;OFF&#34; position to the &#34;PROG&#34; position, the central processor 6 initially clears all of the memories as shown in a flow chart of FIG. 9, stores standard tempo information (60) at an address 000 of the first memory 7 and stores step information (1) in the first auxiliary memory (S1→S2→S3). Then, melody information and vocal information are entered by keying the input unit 1. Referring to a flow chart of FIG. 10, the operation when the mode selection switch SW has been switched from the &#34;PLAY&#34; position to the &#34;PROG&#34; position in order to correct the melody/vocal information produced in the &#34;PLAY&#34; mode is explained. 
     The mode selection switch SW of the input unit 1 is switched to the &#34;PROG&#34; position in order to correct the melody/vocal information produced in the &#34;PLAY&#34; mode. The input unit 1 issues a &#34;PROG&#34; mode command signal to the central processor 6. The central processor 6 first clears the second auxiliary memory 10 (S4). Then, the central processor 6 reads out the step information stored in the first auxiliary memory 11 and displays it on the display 2 by decimal numbers (S5). The step information comprises integers ranging from 1 to 999. As shown in a score of FIG. 4(a), the notes and the rests of the score are numbered in an ascending order with a first note or rest of the music sheet being assigned with the number 1. 
     The central processor 6 then reads out the melody information stored at the addresses of the first memory 7 corresponding to the addresses of the step information and displays it on the display 2 (S6→S7→S8). The melody information is displayed adjacent to the step information. 
     Assuming that the data in the first auxiliary memory 11 is &#34;10&#34; and the melody information shown in FIG. 4(a) is stored in the first memory 7, the step information 10 represents a dotted crotchet with a letter name &#34;G&#34; as seen from FIG. 4(a) and the display 2 displays as shown in FIG. 5(a). The step information 11 represents a quaver with a letter name &#34;F&#34; and the display 2 displays as shown in FIG. 5(c). 
     The central processor 6 reads out the vocal parameters stored at the addresses of the second memory 8 corresponding to the addresses of the step information, adds to them sound source frequency signal information determined based on the melody information, stores the combined information in the second auxiliary memory 10, then determines the durations of the vocal sound from the notes in the melody information and the tempo information stored at the address 000 of the first memory 7, and expands or compresses the time axis by the time axis correction circuit 9 (S9→S10→S11→S12). 
     The time axis correction circuit 9 expands or compresses the data along the time axis without changing the frequency thereof. 
     The central processor 6 then determines pitches or tones of the vocal parameters corrected for time axis, based on the note information stored in the first memory 7 and sends them to the parcor synthesizer 12 (S13→S14). The vocal parameters are voice-synthesized by the parcor synthesizer 12 and the output signal therefrom is supplied to the A/D converter 13, the amplifier 16 and the speaker 17. The volume of the sound output is controlled by the volume controller 15. 
     When the vocal parameter is not stored at the corresponding address of the second memory 8, the voice sound is not produced. 
     When the melody information is not stored at the corresponding address of the first memory 7, only the step information is displayed. 
     After the series of operations described above, the central processor 6 waits for the data from the input unit 1. 
     The operation of the central processor 6 when the key data is entered is classified into the following two operations. 
     In the first operation, when the key data belonging to the classes &#34;LETTER NAME&#34;, &#34;NOTE&#34; or &#34;AUX.&#34; shown in FIG. 2 is inputted, the key code is stored in the second auxiliary memory 10 and the content thereof is displayed on the display 2 (S15→S16→S17→S18). 
     In the second operation, when the key data belonging to the class &#34;CONTROL&#34; shown in FIG. 2 is inputted, a control operation as shown in a flow chart of FIG. 11 is carried out based on the data stored in the second auxiliary memory 10. 
     (1) In response to  Tem  key input, tempo information is stored at a start address of the first memory 7 based on the data stored in the second auxiliary memory 10 (S19). 
     (2) In response to  Set  key input, step information is stored in the first auxiliary memory 11 based on the data stored in the second auxiliary memory 10 (S20). 
     (3) In response to  Mel  key input, melody information is stored at the addresses of the first memory 7 corresponding to the addresses of the step information stored in the first auxiliary memory 11 based on the data stored in the second auxiliary memory 10, and the step information in the first auxiliary memory 11 is incremented by one (S21→S22→S29). 
     (4) In response to  Voi  key input, the content of the second auxiliary memory 10 is cleared and the voice input from the microphone 3 is supplied to the A/D converter 4 and the parcor analyzer 5 to produce vocal parameters, which are sequentially stored in the second auxiliary memory 10 (S24→S25). This operation is continued until vacant areas of the second auxiliary memory have been exhausted (S26). After the above operation, the vocal information stored in the second auxiliary memory 10 is normalized by the time axis correction circuit 9 (S27). The vocal parameters are normalized to a fixed length. The normalized vocal parameters are read out from the second auxiliary memory 10 and stored at the addresses of the second memory 8 corresponding to the addresses of the step information stored in the first auxiliary memory 11 (S28). Finally, the content of the first auxiliary memory 11 is incremented by one (S29). 
     (5) In response to  CM  key input, the content of the first memory 7 is cleared. The data (60) is stored at the start address 000 (S30→S31). 
     (6) In response to  CV  key input, the content of the second memory 8 is cleared (S32). 
     (7) In response to  CL  key input, the content of the second auxiliary memory 10 is cleared (S33). 
     The input correction operation in the &#34;PROG&#34; mode is explained by way of example. If the keys  E ,  5 ,  • are depressed when the display 2 displays as shown in FIG. 5(a), codes  E ,  5 ,  • are stored in the second auxiliary memory 10 and the display 2 now displays as shown in FIG. 5(b). If the key  Mel  is then depressed, the melody information  E ,  5 ,  • is read from the second auxiliary memory 10 and it is stored at the address 10 of the first memory 7 so that the correction is mode. Then, the content of the first auxiliary memory 11 is incremented by one and the display 2 now displays the step information &#34;11&#34; and the melody information &#34;F4&#34;. 
     The operation when the mode selection switch SW of the input unit 1 has been switched to the &#34;PLAY&#34; position is now explained with reference to a flow chart of FIG. 12. When the mode selection switch SW of the input unit 1 is switched from the &#34;PROG&#34; position to the &#34;PLAY&#34; position, the keyboard 1 issues a &#34;PLAY&#34; mode command signal to the central processor 6. The central processor first clears the second auxiliary memory 10. Then, the central processor 6 reads out the step information stored in the first auxiliary memory 11 and displays it on the display 2 by decimal numbers (S35). Then, the central processor 6 waits for the data from the input unit 1. 
     The operation of the central processor 6 when the key data is inputted is classified into the following two operations. 
     In the first operation, when the key data belonging to the class &#34;LETTER NAME&#34;, &#34;NOTE&#34; or &#34;AUX.&#34; shown in FIG. 2 is inputted, the key code is stored in the second auxiliary memory 10 and the content of the second auxiliary memory 10 is displayed on the display 2 (S36→S37→S38→S39→S40). 
     In the second operation, when the key data belonging to the class &#34;CONTROL&#34; of FIG. 2 is inputted, the central processor 6 carries out control operations in response to the following five control keys in a manner shown in a flow chart of FIG. 13. 
     (1) In response to  Tem  key input, the tempo data is stored at the address 000 of the first memory 7 (S41). 
     (2) In response to  Set  key input, the step information is stored in the first auxiliary memory 11 (S42). 
     (3) In response to  Mel  key input, the melody information is read out from the address of the first memory 7 specified by the step information stored in the first auxiliary memory 11 and it is supplied to the monotony synthesizer 14. The melody information is converted to a monotony by the monotony synthesizer 14 and the converted signal is supplied to the amplifier 16 and the speaker 17. The content of the first auxiliary memory 11 is incremented by one, and the above operation is repeated until the melody information read from the first memory 7 reaches zero (S43→S44→S45→S46→S47→S48). &#34;1&#34; is set in the first auxiliary memory 11. Thus, the monotony output operation is completed (S43→S44→S49). 
     (4) In response to  Voi  key input, the same operation as (3) is repeated for the vocal data stored in the second memory 8 to produce voice output. The time axis correction circuit 9, the second auxiliary memory 10, the first auxiliary 11, the parcor synthesizer 12 and the D/A converter 13 are used as are used in producing the voice output in the &#34;PROG&#34; mode (S50→S51→S52→S53 S54→S55→S56→S57). The content of the first auxiliary memory 11 is incremented by one and the voice output operation is completed (S50→S51→S49). 
     (5) In response to  CL  key input, the monotony or voice output operation is stopped and &#34;1&#34; is set in the first auxiliary memory 11. 
     Finally, a procedure for inputting and playing the music sheets (a) and (b) of FIG. 4 by the &#34;PROG&#34; mode and the &#34;PLAY&#34; mode is explained. 
     When the mode selection switch SW is switched from the &#34;OFF&#34; position to the &#34;PROG&#34; position, the &#34;PROG&#34; mode is established. The first memory 7 and the second memory 8 are initially cleared and the standard tempo information (60) is stored at the address 000 of the first memory 7, and &#34;1&#34; is set in the first auxiliary memory 11. 
     Starting from this condition, the music sheet of FIG. 4(a) is inputted in steps 1 to 25 shown in FIG. 6. In FIG. 6, respective columns show step numbers, displays when the steps are started and input data. &#34;i&#34; shows a voice input from the microphone MP. 
     Through the above steps, data shown in FIG. 7(a) and (b) are stored in the first memory 7 and the second memory 8, respectively. Thus, by switching the mode selection switch to the &#34;PLAY&#34; position and keying the keys  1 , Set ,  Mel  in this sequence, the music represented by the music sheet of FIG. 4(a) is automatically played by monotonies at tempo 60, and by keying the keys  1 ,  Set ,  Voi  in this sequence, the music is automatically played by vocal sound. 
     The music sheet of FIG. 4(b) shows a bass for the music sheet of FIG. 4(a). The music sheets of FIG. 4(a) and FIG. 4(b) differ in the six steps, steps 7 to 12, of the step information. 
     In the &#34;PROG&#34; mode, the tempo is set to &#34;100&#34; and bass data are set in the steps 7 to 12 by a procedure shown in FIG. 8. Thus, the data in the first memory 7 is changed as shown in FIG. 7(c). 
     The content of the second memory 8 is unchanged. Thus, by keying the keys 1 ,  Set ,  Mel  in this sequence, the bass music represented by the music sheet of FIG. 4(b) is automatically played by monotonies, and by keying the keys  1 ,  Set ,  Voi  in this sequence, it is played by vocal sound. If a listener sings a song in treble in harmony with the automatic play, double chorus can be played by one person. Alternatively, the treble may be automatically played by the machine and the bass may be sung by the listener. 
     As described hereinabove, according to the present invention, the vocal song can be readily handled by the electronic composing machine and the user of the machine can sing a desired part of the song depending on a desired tone of the user to play double chorus. Thus, the application is broadened. 
     While the parcor voice analyzer and synthesizer are used in the embodiment, the present invention is not limited thereto but any vocal data which can be time axis-adjusted may be used.