Electronic musical instrument, method for controlling electronic musical instrument and program

The electronic musical instrument dynamically changes acoustic characteristics like velocity and timbre based on playing speed, simulating acoustic instrument expressiveness by detecting note-ons and note-offs, addressing the lack of performance-based variation in conventional electronic instruments.

JP2024163649APending Publication Date: 2024-11-22CASIO COMPUTER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023079438
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Conventional electronic musical instruments lack the ability to vary the expression of musical tones based on the speed of performance, unlike acoustic instruments which inherently produce slight variations due to player interaction.

Method used

An electronic musical instrument that includes a processor to detect note-ons and note-offs, calculating time intervals between key presses to dynamically change acoustic characteristics such as velocity, timbre, and pitch of the musical waveform, simulating the expressiveness of acoustic instruments by adding random elements.

Benefits of technology

The solution allows for varied expression of musical sound waveforms, replicating the nuances of acoustic instruments by altering acoustic characteristics based on playing speed and style, enhancing the simulation of percussion, stringed, and wind instruments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024163649000001_ABST
    Figure 2024163649000001_ABST
Patent Text Reader

Abstract

To variously change expression which is reproduced by adding a random element to a musical sound waveform and which is by the musical sound waveform on technology for improving expression force of the musical sound waveform generated by an electronic musical instrument.SOLUTION: A processor changes an acoustic characteristic (velocity, for example) of a musical sound waveform (percussion instrument sound waveform, for example) which is reproduction-started by a waveform reproduction unit during this note-on time (S203 and S204) according to a time interval of previous note-on of the musical sound waveform which is the same type as this time (S201), and performs sound production processing based on the change (S205).SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for improving the expressiveness of musical tone waveforms generated by electronic musical instruments. [Background technology]

[0002] With acoustic instruments, such as wind instruments, string instruments, and percussion instruments, where the sound produced depends largely on the player, it is difficult to produce the exact same sound every time, and there is slight variation, which is one of the characteristics of the instrument and the individuality of the player.

[0003] Conventionally, there is known a technique for modularizing expression rules and procedures to automatically edit performance parameters, thereby enabling colorful / diverse expression to be applied to performance data with simple operations (for example, the technique described in Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2001-159892 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, the conventional technology has a problem in that it is not possible to vary the expression of the musical tones produced in a variety of ways according to the speed at which the performer plays, as is the case with acoustic musical instruments.

[0006] The present invention aims to make it possible to express some of the characteristics of an acoustic instrument by adding random elements to musical sound waveforms and making it possible to vary the expression of the reproduced musical sound waveform in a variety of ways. [Means for solving the problem]

[0007] An electronic musical instrument in one example embodiment includes a processor, a waveform playback unit that plays a musical sound waveform, and an operator that inputs a note on or a note off that respectively indicates the start or end of playback of the musical sound waveform. When the processor detects a second note on input by the operator, it calculates the time interval from the detection timing of a first note on that is a note on of a musical sound waveform of the same type as the second note on and that was input by the operator one note before the second note on, to the detection timing of the second note on, and changes the acoustic characteristics of the musical sound waveform that it causes the waveform playback unit to start playing at the detection timing of the second note on, in accordance with the time interval. Effect of the Invention

[0008] According to the present invention, by adding random elements to musical tone waveforms, it is possible to vary the expression of the reproduced musical tone waveform in a variety of ways, thereby making it possible to express some of the characteristics of an acoustic instrument. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of an electronic keyboard instrument. [Diagram 2] 10 is a flowchart showing a first embodiment of a control process when a note-on is detected. [Diagram 3] 5A to 5C are diagrams illustrating the operation of a first embodiment of a control process when a note-on is detected. [Figure 4] 13 is a flowchart showing a second embodiment of a control process when a note-on is detected, and a corresponding control process when a note-off is detected. [Diagram 5] 13 is a flowchart showing a third embodiment of a control process at the time of note-on detection and a detailed example of a waveform modification process in the third embodiment. [Figure 6] 13A to 13C are diagrams illustrating the operation of a third embodiment of a control process when a note-on is detected. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Fig. 1 is a diagram showing an example of the hardware configuration of an electronic keyboard instrument 100 which is an embodiment of an electronic musical instrument according to the present invention.

[0011] The electronic musical instrument is, for example, an electronic keyboard instrument 100, and is equipped with a keyboard 105 consisting of a number of keys as performance controls, switches for turning the power of the electronic keyboard instrument 100 on / off, adjusting the volume, specifying the tone of the musical sound output, and various settings such as the tempo of the automatic bass line accompaniment, switches 107 including switches for adding performance effects, a bend wheel, pedals, etc., and an LCD (Liquid Crystal Display) 109 for displaying various setting information.

[0012] In the electronic keyboard instrument 100, a CPU (processor) 101, a ROM (read only memory) 102, a RAM (random access memory) 103, a sound source LSI (large scale integrated circuit) 104, a key scanner 106 to which a keyboard 105 is connected, an I / O interface 108 to which a switch 107 is connected, and an LCD controller 110 to which an LCD 109 is connected are all connected to a system bus 114. Furthermore, a D / A converter 111, an amplifier 112, and a speaker 113 are connected in sequence to the output side of the sound source LSI 104. The speaker 113 is provided, for example, on the rear, side, or back of the housing of the electronic keyboard instrument 100.

[0013] A processor, that is, a CPU 101, executes a control program stored in a ROM 102 while using a RAM 103 as a work memory, thereby executing the control operation of the electronic keyboard instrument 100 shown in FIG.

[0014] At this time, the CPU 101 takes in performance data played by the user on the keyboard 105 via the key scanner 106 and the system bus 114, generates note-on data and note-off data corresponding to the performance, and outputs them to the sound source LSI 104, which is a waveform reproducing section that reproduces musical sound waveforms. As a result, the sound source LSI 104 generates and outputs or ends output of musical sound waveform data 115, which is a digital signal corresponding to the input note-on data and note-off data. The musical sound waveform data 115 output from the sound source LSI 104 is converted by the D / A converter 111 into an analog musical sound waveform signal 116, which is then amplified by the amplifier 112 and output from the speaker 113 as the musical sound played by the user.

[0015] In the electronic keyboard instrument 100 having the above configuration, several embodiments of the control process for enabling the processor CPU 101 to add random elements to the musical tone waveforms generated based on the user's performance to variably change the expression of the musical tones to be generated will be described in detail below.

[0016] A CPU 101 in FIG. 1 loads a control program stored in a ROM 102 into a RAM 103 and executes the program, thereby executing the following control processing. When the CPU 101 detects the current note-on, which is the second note-on input by pressing the key 105 as an operator, by the key scanner 106, it first calculates the time interval from the detection timing of the previous note-on, which is the first note-on that is a note-on of the same type of musical sound waveform as the second note-on and that was input by pressing the key 105 immediately before the current note-on and detected by the key scanner 106, to the detection timing of the current note-on. Then, the CPU 101 changes the acoustic characteristics of the musical tone waveform data 115 that the sound source LSI 104 starts to reproduce at the timing of detection of the current note-on, in accordance with the calculated time interval. The acoustic characteristics to be controlled include, for example, the velocity of the generated musical tone waveform, the tone color (frequency characteristic) of the musical tone waveform, the pitch (tone pitch) of the musical tone waveform, and the time decay characteristic of the musical tone waveform.

[0017] 2 is a flowchart showing a first embodiment of a specific example of the control process at the time of note-on detection described above. This flowchart shows an example of note-on detection process, which is part of the control process described above and executed by the CPU 101. In main processing (not shown), the CPU 101 operates the key scanner 106 to check whether any key on the keyboard 105 is a note-on (start of sound generation by pressing a key) or a note-off (end of sound generation by pressing a key), and when a note-on is detected, the CPU 101 executes the processing of the flowchart in FIG. 2.

[0018] In a first embodiment of the control processing upon detection of a note-on, the CPU 101, upon detection of a note-on indicating a pitch input by pressing a key on the keyboard 105, causes the sound source LSI 104 to start playing one percussion sound waveform associated with the note-on as musical sound waveform data 115. That is, in the first embodiment, the performance of a percussion instrument is simulated by pressing keys on the keyboard 105.

[0019] When the CPU 101 determines that the previous note-on and the current note-on input by pressing a key on the keyboard 105 consecutively instruct the start of playback of the same percussion sound waveform, the CPU 101 changes the acoustic characteristics of the percussion sound waveform that the sound source LSI 104 starts to play at the detection timing of the current note-on based on the time interval from the previous note-on to the current note-on. More specifically, the CPU 101 determines that the start of playback of the same percussion sound waveform is consecutively instructed when the key inputs of the previous note-on and the current note-on specify the same pitch and specify the same range of velocity. The acoustic characteristics of the percussion sound waveform include, for example, the velocity at the time of striking (depressing) a note-on, the simulated waveform characteristics (frequency characteristics) of the percussion sound waveform, or the time decay characteristics of the percussion sound waveform.

[0020] In order to execute the above control processing, the CPU 101 executes a control processing program exemplified by the flowchart of FIG. 2 upon detection of a note-on.

[0021] First, the CPU 101 obtains a subtraction timer value t, which is the elapsed time since the previous note-on of the same percussion sound waveform determined as described above (step S201 in FIG. 2). This subtraction timer value t is a variable held in, for example, the RAM 103, and is reset to a predetermined value for the next detected note-on of the same percussion sound waveform in step S206 (described later) which is the last step of the control process when the current note-on is detected in FIG. 2, and thereafter decays to 0 over time, for example, by an interrupt process not shown in particular or by a hardware timer. This subtraction timer value t may be set and controlled in the RAM 103 for each same percussion sound waveform (a key pressed in the same velocity range for a key of the same pitch on the keyboard 105).

[0022] Next, the CPU 101 determines whether the subtraction timer value t acquired in step S201 is 0 (step S202 in FIG. 2).

[0023] If the determination in step S202 is YES, it means that the time interval between pressing keys of the same pitch on the keyboard 105 in the same velocity range corresponding to the same percussion sound waveform is long, and it can be determined that fast playing is not being performed. In this case, since it is not necessary to make the acoustic characteristics of the percussion sound waveforms reproduced consecutively different from each other, the CPU 101 skips the processing of the next steps S203 and S204.

[0024] If the determination in step S202 is NO, it means that the time interval between pressing keys of the same pitch on the keyboard 105 corresponding to the same percussion sound waveform and within the same velocity range is short, and it can be determined that fast playing is being performed. In this case, the CPU 101 first obtains the velocity indicating the strength of the key pressing on the keyboard 105 detected together with the current note-on by the key scanner 106 (step S203 in FIG. 2).

[0025] Next, CPU 101 executes the following velocity conversion process (step S204 in FIG. 2). First, the CPU 101 refers to the velocity conversion data read from the ROM 102 to the RAM 103, for example, when the power is turned on. FIG. 3 is a diagram showing an example of the velocity conversion data 301 read to the RAM 103. The velocity conversion data 301 is, for example, data generated by synthesizing sine waves of multiple frequencies (for example, low and high frequencies) and gradually oscillating and attenuating from a predetermined maximum value MAX and a predetermined minimum value MIN as time passes. The behavior of a percussion instrument can be simulated by the velocity conversion data 301 in which a sine wave with a large period and amplitude simulating the vibration of the entire percussion instrument is added to a sine wave with a smaller period and amplitude than the former, simulating the striking surface of the percussion instrument, and the amplitude of the composite wave attenuates as time passes. In addition, velocity conversion data corresponding to a waveform other than a waveform obtained by synthesizing sine waves of multiple frequencies may be adopted as long as the waveform corresponds to the behavior of the sound source of the instrument (for example, the vibration characteristics of the velocity). By providing a value of the passage of time on the horizontal axis, the CPU 101 can read out the value of the velocity conversion data 301 at that point in time. Next, at the timing of detecting the current note-on, the CPU 101 reads out the velocity conversion data 301 at the time position from the beginning corresponding to the subtraction timer value t acquired in step S201 from the velocity conversion data 301 illustrated in FIG. 3 on the RAM 103. If the subtraction timer value t is not 0, the larger the subtraction timer value t is, the shorter the time interval from the previous note-on to the current note-on for the same percussion sound waveform is, and the faster the speed of the fast playing can be determined. In this case, the value of the velocity conversion data 301 that oscillates in a large value range, read out from the position of short time elapsed corresponding to the large subtraction timer value t in FIG. 3, is read out. On the other hand, the smaller the subtraction timer value t is, the closer to 0 it is, the longer the time interval from the previous note-on to the current note-on for the same percussion sound waveform is, and the slower the speed of the fast playing can be determined. In this case, in FIG. 3, the value of the velocity conversion data 301 that oscillates in a smaller value range and is read out from a position where a long time has elapsed, which corresponds to the small value of the decrement timer value t, is read out.

[0026] After the processing of steps S203 and S204, the CPU 101 assigns a corrected velocity value obtained by calculating the value of the velocity conversion data 301 calculated in step S204 to the velocity value input together with the current note-on acquired in step S203, and executes a sound generation process in which the sound source LSI 104 starts playing a percussion sound waveform (step S205 in FIG. 2). This calculation is, for example, a calculation to add the velocity value input by note-on to the value of the velocity conversion data 301. When the calculation is an addition, the velocity conversion data 301 may be data that gradually oscillates and attenuates from a maximum value MAX=15 and a minimum value MIN=-15, for example. Alternatively, this calculation may be, for example, a calculation of multiplying the velocity value input by the note-on by the value of the velocity conversion data 301. When the calculation is a multiplication, the velocity conversion data 301 may be data that gradually oscillates and attenuates from a maximum value MAX=1.1 and a minimum value MIN=0.9, for example.

[0027] As described above, the larger the subtraction timer value t, the faster the speed of playing the same percussion instrument is determined to be, and the larger the value of the velocity conversion data 301. Therefore, the correction range of the velocity value corrected in step S205 becomes larger, and the range of change in velocity from the previous time of the same percussion sound waveform that is to be reproduced this time by the sound source LSI 104 becomes larger. On the other hand, the closer the subtraction timer value t is to 0, the slower the speed of playing the same percussion instrument is determined to be, and the smaller the value of the velocity conversion data 301. Therefore, the correction range of the velocity value corrected in step S205 is small, and the range of change in velocity from the previous time for the same percussion sound waveform that is now being reproduced by the sound source LSI 104 is also small. In this way, in the first embodiment, the faster the key pressing speed of the same key on the keyboard 105 and in the same velocity range, which corresponds to fast playing of the same percussion instrument, the greater the variation in velocity of the same percussion sound waveform can be.

[0028] On the other hand, if the aforementioned decrement timer value t is 0, the CPU 101 skips steps S203 and S204, and instead specifies the velocity value input together with the current note-on acquired in step S203 as is, and executes sound generation processing to cause the sound source LSI 104 to start playing a percussion sound waveform (step S205 in FIG. 2).

[0029] Finally, the CPU 101 resets the decrement timer value t, which is a variable on the RAM 103, to a predetermined value (step S206 in FIG. 2). Thereafter, the CPU 101 ends the control process at the time of note-on detection according to the first embodiment illustrated in the flowchart of FIG. 2, and returns to the main process (not shown).

[0030] In the above-described first embodiment, the velocity of the same percussion sound waveform that is instructed by the CPU 101 to the sound source LSI 104 to reproduce upon a current note-on is controlled to vary in accordance with the subtraction timer value t that measures the time interval between the previous note-on, which is the first note-on, and the current note-on, which is the second note-on, for key presses within a uniform velocity range of the same key on the keyboard 105 corresponding to the same percussion sound waveform. In contrast to this, an acoustic characteristic such as the timbre of the percussion sound waveform may be changed instead of the velocity.

[0031] FIG. 4A is a flow chart showing a second embodiment of a control process when the key scanner 106 detects a note-on of any key on the keyboard 105 by a main process (not shown) executed by the CPU 101. FIG. 4B is a flowchart showing a control process when the key scanner 106 detects a note-off of any key on the keyboard 105 by a main process (not shown) executed by the CPU 101. These flowcharts show examples of the note-on detection process and the note-off detection process, which are part of the above-mentioned control process executed by the CPU 101, in the same way as in the first embodiment of FIG.

[0032] In a second embodiment of the control processing when a note-on is detected, the CPU 101, upon detection of a note-on indicating a pitch input by pressing a key on the keyboard 105, causes the sound source LSI 104 to start playing a stringed instrument sound waveform of the pitch corresponding to the note-on as musical sound waveform data 115, and also increments the number of detected note-ons, which is a variable on the RAM 103, by 1. That is, in the second embodiment, the performance of a stringed instrument is simulated by pressing keys on the keyboard 105. On the other hand, when the CPU 101 detects a note-off input from the keyboard 105, it causes the sound source LSI 104 to mute the stringed instrument sound waveform being reproduced at a pitch corresponding to the note-off, and also reduces the number of detected note-ons, which is a variable in the RAM 103, by one.

[0033] CPU 101 determines that fast playing has been performed if the number of detected note-ons up until the detection timing of the current note-on, which is the second note-on, is 0 or 1. In this case, CPU 101 changes the acoustic characteristics of the stringed instrument sound waveform that is to be reproduced by sound source LSI 104 at the detection timing of the current note-on, which is the second note-on caused by pressing a key on keyboard 105, according to the time interval between the previous note-on, which is the first note-on, and the current note-on, which is the second note-on. Examples of the acoustic characteristics of a stringed instrument sound waveform include the velocity at the time of striking a string (depressing a key) due to a note-on, the simulated waveform characteristics (frequency characteristics) of the stringed instrument sound waveform, and the time decay characteristics of the stringed instrument sound waveform.

[0034] In order to execute the above control processing, the CPU 101 executes a control processing program exemplified by the flowchart of FIG. 4(a) upon detection of a note-on.

[0035] First, the CPU 101 obtains the number n of note-ons up to the previous time (step S401 in FIG. 4). This note-on number n is a variable held in, for example, the RAM 103, and is incremented by 1 for the next note-on to be detected in step S407 (described later) of the control process when the current note-on is detected. On the other hand, this note-on number n is decremented by 1 for the next note-on to be detected in step S411 (described later) which is the last step of the control process when a note-off is detected as exemplified in FIG. 4(b). As a result, the note-on number n indicates the number of musical sound waveform data 115 actually output from the sound source LSI 104 up to the previous time, not including the current note-on.

[0036] Next, CPU 101 determines whether or not the previous note-on count n acquired in step S401 is smaller than 2, that is, whether it is 0 or 1 (step S402 in FIG. 4).

[0037] If the note-on count n is 2 or more, this means that three or more note-ons, including the current one, have occurred simultaneously without a note-off (execution of FIG. 4(b)). This is the case when three or more keys on the keyboard 105 are pressed simultaneously, and the performer is conscious of playing a chord on a stringed instrument. In this case, the acoustic characteristics are not changed in step S405 (described later), the determination in step S402 becomes NO, and the process proceeds to step S406, where normal sound generation processing is executed.

[0038] On the other hand, if the number of note-ons n up to the previous time is 0 or 1, it can be determined that the performer has performed a performance operation such as fast playing in which note-ons and note-offs are repeated. In this case, the determination in step S402 is YES. The reason why the determination is made including the case where the number of note-ons n is 1 is that when consecutive key presses on the same key on the keyboard 105 are made in succession, even if a single note is intended to be played, the next key press (note-on) may be detected before the completion of key release for the previous key press is detected.

[0039] If the determination in step S402 is YES, the CPU 101 acquires the subtraction timer value t that decays from the previous note-on, similarly to the case of step S201 in the first embodiment in FIG. 2 (step S403 in FIG. 4).

[0040] Next, the CPU 101 determines whether the subtraction timer value t acquired in step S403 is 0 (step S404 in FIG. 4), similarly to step S202 in the first embodiment in FIG.

[0041] If the determination in step S404 is YES, the CPU 101 determines that successive key presses have been performed on the same stringed instrument but that fast playing has not been performed, as in the case of step S202 in the first embodiment of FIG. 2, and skips step S405 and proceeds to processing in step S406.

[0042] If the determination in step S404 is NO, it is determined that the same stringed instrument is being played at a high speed. In this case, the CPU 101 changes the acoustic characteristics of the stringed instrument sound waveform that the sound source LSI 104 is caused to start reproducing, based on the subtraction timer value t and the velocity conversion data 301, at the timing of detecting the current note-on caused by pressing the same key and the same velocity range as the previous note-on on the keyboard 105, in the same manner as in steps S203 and S204 in FIG. 2 in the first embodiment (step S405 in FIG. 4).

[0043] After the processing of step S405, the CPU 101 executes a sound generation process in which the sound source LSI 104 starts playing a stringed instrument sound waveform by specifying the sound generation control data obtained by modifying the acoustic characteristics of step S405 for the note number and velocity input for the current note-on (step S406 in FIG. 4).

[0044] On the other hand, as described above, if the determination in step S402 is NO or the determination in step S404 is YES, the CPU 101 executes normal sound generation processing for the note number and velocity input for the current note-on, without making any change in the acoustic characteristics in step S405, and for making the sound source LSI 104 start reproducing a stringed instrument sound waveform (if the determination in step S402 in FIG. 4 is NO or the determination in step S404 is YES → step S406).

[0045] Thereafter, CPU 101 increments the number of previous note-ons n, which is a variable in RAM 103, by 1 (step S407 in FIG. 4), and resets the decrement timer value t, which is also a variable in RAM 103, to a predetermined value (step S408 in FIG. 4). Finally, the CPU 101 ends the control process at the time of note-on detection according to the second embodiment illustrated in the flowchart of FIG. 4(a), and returns to the main process (not shown).

[0046] When a note-off is detected, the CPU 101 executes a control processing program exemplified by the flowchart of FIG.

[0047] In FIG. 4(b), the CPU 101 first issues an instruction to the sound source LSI 104 to mute the stringed instrument sound waveform being reproduced at the pitch specified by the current note-off (step S410 in FIG. 4).

[0048] Then, the CPU 101 decrements the number n of detected note-ons, which is a variable in the RAM 103, by 1 (step S411 in FIG. 4).

[0049] Finally, the CPU 101 ends the control process at the time of note-off detection exemplified in the flowchart of FIG. 4(b), and returns to the main process (not shown).

[0050] Fig. 5(a) is a flow chart showing a third embodiment of the control process when the key scanner 106 detects a note-on of any key on the keyboard 105 by the main process (not shown) executed by the CPU 101. In the third embodiment, a stringed instrument sound is simulated by the electronic keyboard instrument 100, as in the second embodiment of Fig. 4. The control process of the third embodiment is an example in which the electronic keyboard instrument 100 of Fig. 1 simulates an electric bass as a stringed instrument.

[0051] In guitars and bass instruments, it is possible to produce stringed instrument sounds of the same pitch by pressing different strings at different fret positions. Changing the strings and the fret positions where the strings are pressed in this way is called an "alternate position." In this case, even if the pitch is the same, the stringed instrument sound produced will change slightly depending on the alternating position. On the other hand, in fast playing on a stringed instrument, it is easier to play successive fast note-ons at fret positions as close as possible, even if they are on different strings. Therefore, in the third embodiment, when the CPU 101 determines, using a judgment algorithm similar to that in the second embodiment, that the current note-on, which is the second note-on for the same stringed instrument sound waveform, will be played in succession with fast playing in response to the previous note-on, which is the first note-on, the CPU 101 executes the following control processing. In other words, when the CPU 101 assumes that a change position has been made on a virtual stringed instrument for the current note-on at the detection timing of the current note-on, if the fret difference between the pressed fret position of the current note-on after the change position and the pressed fret position of the previous note-on after the change position is within a specified fret, for example within two frets, the CPU 101 designates the stringed instrument sound waveform that it causes the sound source LSI 104, which is the waveform playback unit, to start playing at the detection timing of the current note-on as the stringed instrument sound waveform that should be produced if it were assumed that a change position had been made. On the other hand, if the fret difference is greater than, for example, two frets, the CPU 101 designates the string instrument sound waveform that the sound source LSI 104 starts to play at the timing of detection of the current note-on as the string instrument sound waveform that would be generated if the position had not been changed.

[0052] In order to execute the above control process, the CPU 101 executes a control process program exemplified by the flowchart of Fig. 5(a) when a note-on is detected. In Fig. 5(a), the same operations as those in Fig. 4(a) of the second embodiment are executed in the steps having the same reference numbers as those in Fig. 4(a). The operation in Fig. 5(a) differs from that in Fig. 4(a) in that the acoustic characteristic change process in step S405 in Fig. 4(a) is replaced by a waveform change process in step S501 in Fig. 5(a) and in that step S502 in Fig. 5(a) is inserted between steps S406 and S407 in Fig. 4(a).

[0053] In FIG. 5(a), if the determination in step S404 described above in the second embodiment of FIG. 4(a) is NO, and it is determined that fast playing or the like is being performed from the previous note-on to the current note-on for the same stringed instrument sound, the CPU 101 executes waveform modification processing shown in the flowchart in FIG. 5(b) (step S501 in FIG. 5).

[0054] In FIG. 5(b), the CPU 101 first obtains the note number N of the current note-on (hereinafter referred to as "current note number N") and the note number N' of the previous note-on of the same stringed instrument sound (velocity in the same range of the same key on the keyboard 105) (hereinafter referred to as "previous note number N'"), both of which are variables in the RAM 103 (step S510 in FIG. 5(b)). When the CPU 101 detects a note-on of any key on the keyboard 105 from the key scanner 106, it sets the note number associated with that key to the current note number N, which is a variable in the RAM 103. Furthermore, in the latter step S502 of executing the note-on detection process of FIG. 5(a), the CPU 101 copies and sets the value of the current note number N, which is a variable on the RAM 103, to the previous note number N', which is a variable on the RAM 103, for the next note-on detection process.

[0055] In FIG. 5(b), the CPU 101 next determines whether the result of subtracting the value of the current note number N from the value of the previous note number N' stored in the RAM 103 for the same stringed instrument sound is greater than 0 (step S511 in FIG. 5(b)).

[0056] If the determination in step S511 is NO, CPU 101 repeatedly executes the process of steps S511 → S512 → S511 while subtracting 5 from the value of the current note number N, which is a variable value in RAM 103 (step S512 in FIG. 5(b)), until the value of the current note number N becomes smaller than the value of the previous note number N'.

[0057] If the determination in step S511 is YES, the CPU 101 determines whether or not the result of subtracting the value of the current note number N from the value of the previous note number N' is 2 or less (step S513 in FIG. 5(b)).

[0058] If the determination in step S513 is YES, CPU 101 executes a selected waveform change process (step S514 in FIG. 5B). After the process in step S514, CPU 101 ends the waveform change process in step S501 in FIG. 5A shown in the flowchart in FIG. 5B.

[0059] If the determination in step S513 is NO, the CPU 101 skips the selected waveform change process in step S514, and ends the waveform change process in step S501 of FIG. 5(a) shown in the flowchart in FIG. 5(b).

[0060] Assuming that the previous note-on and the current note-on were generated by pressing the same string on a virtual electric bass, if the pressed string for this note-on is changed from the current string to one string higher, the pressed fret position will be five frets (five semitones) smaller. Therefore, the new pressed string position after the above change position for this note-on will be a fret position that is -5 frets from the pressed string fret position corresponding to the original pressed string, and will be a string one string lower than the string corresponding to the original pressed string. Therefore, if the fret position for the new pressed string is close enough to the fret position of the pressed string for the previous note-on (for example, if it is two frets or less), it is better to press the string for this note-on using the above change position.

[0061] FIG. 6 is a diagram showing "pitches (note numbers)" on each fret from the open to the 10th fret and on each string from the 1st to 4th strings on an electric bass.

[0062] Now, suppose that the previous note number, for example, C2 (36) on the third fret of the third string is pressed (note-on) and sounded, and the current note-on is E2 (40) on the seventh fret of the same third string. When simulating a stringed instrument with the electronic keyboard instrument 100, note-ons are not actually specified by strings and frets, but by keys on the keyboard 105 in FIG. 1. Therefore, in the third embodiment, assuming that a change position is performed by the process of the flowchart in Fig. 5(b), the 7th fret of the 3rd string, pitch = E2, corresponding to the current note-on is changed by -5 to obtain the new 2nd fret, and the 3rd string is changed by -1 to obtain the 2nd string. As a result, the pitch = E2 of the 2nd fret of the 2nd string becomes the change position. In this case, the fret difference between the new pressed fret position (2nd fret, 2nd string) and the pressed fret position of the previous note-on (3rd fret, 3rd string) is 3-2=1, so the determination in step S513 in Fig. 5(b) is YES. Therefore, in the above case, it is determined that a new position should be used, and the CPU 101 executes step S514 in Fig. 5(b).

[0063] On the other hand, suppose that the previous note number was, for example, C2 (36) on the third fret of the third string, and was pressed (note on) and sounded, and the current note on is D2 (38) on the fifth fret of the same third string. In this case, assuming that the change position is performed according to the process in the flowchart of Figure 5(b), the 5th fret of the 3rd string, pitch=D2, which corresponds to the current note-on, is changed by -5 to obtain a new open fret, and the 3rd string is changed by -1 to obtain the 2nd string. As a result, the pitch=D2 of the open fret of the 2nd string becomes the change position. In this case, the fret difference between the new pressed fret position (open fret, 2nd string) and the pressed fret position of the previous note-on (3rd fret, 3rd string) is 3-0=3, so the determination in step S513 in Fig. 5(b) is NO. Therefore, in the above case, it is determined that it is better not to change the position, and CPU 101 skips step S514 in Fig. 5(b).

[0064] Furthermore, although not shown, if the pressed string position for the current note-on is 10 frets or more away from the pressed string position for the previous note-on, the pressed string for the current note-on must be changed from the current string to two strings higher. In this case, the pressed string fret position is 10 frets (10 semitones) smaller. Therefore, the new pressed string position after the above-mentioned change position for the current note-on is a fret position that is -10 by performing the operation of -5 twice on the pressed string fret position corresponding to the original pressed string, and is a string that is two strings lower than the string corresponding to the original pressed string. And if the fret position for the new pressed string is sufficiently close to the fret position for the previous note-on (for example, if it is 2 frets or less), it is better to press the string for the current note-on using the above-mentioned change position.

[0065] As described above, in the third embodiment, when simulating a stringed instrument using the electronic keyboard instrument 100, it is possible to automatically determine whether or not it is necessary to change positions based on the relationship between the note number of the previous note-on and the note number of the current note-on.

[0066] 5(b), if the determination in step S513 is YES, that is, if it is determined that a position change should be performed, the CPU 101 executes step S514. As a result, the CPU 101 selects a stringed instrument sound waveform that should be generated if the position change is performed, as the stringed instrument sound waveform that the sound source LSI 104 starts to reproduce at the detection timing of the current note-on.

[0067] 5(b), if the determination in step S513 is NO and it is determined that changing the position is not necessary, the CPU 101 skips step S514. As a result, the CPU 101 selects the stringed instrument sound waveform that should be generated if changing the position is not performed, which is set as the default, as the stringed instrument sound waveform that the sound source LSI 104 starts to reproduce at the detection timing of the current note-on.

[0068] After executing the waveform change process of step S501 in FIG. 5(a) shown in the flowchart in FIG. 5(b) in the above manner, the CPU 101 instructs the sound source LSI 104 to generate sound based on the stringed instrument sound waveform selected as described above and the note number and velocity specified by the current note-on.

[0069] Although the above third embodiment has been described with reference to a four-string electric bass, a six-string electric guitar may also be used. In this case, only when the pressed string for the current note-on is changed from the third string to the fourth string, the pressed string fret position becomes four frets (four semitones) smaller than the fifth fret (five semitones), and only in this case, the value subtracted from the current note number N in the process of step S512 in FIG. 5(b) should be changed from 5 to 4.

[0070] In addition to the first, second and third embodiments described above, as another embodiment, when the CPU 101 detects a note-on, it checks the current beat state, and if it can be regarded as the first beat, it can treat the current beat as a strong beat and change the velocity of the musical tone waveform data to be note-on so as to add an accent.

[0071] Furthermore, for example, in the simulation of a string instrument, it is possible to make the tuning vary over a long period of playing, or to count the time that a certain tone color is selected and control the pitch to lower over time. Alternatively, instead of time, it is also possible to use the product of note-on time and velocity. Conversely, for brass tone colors, it is also possible to simulate the pitch rising.

[0072] According to the embodiment described above, it is possible to vary the musical tone waveform data 115 that is note-on depending on the time between note-ons. This allows the acoustic characteristics to vary even for note-ons with the same note number and velocity, increasing the random element and making it possible to express some of the characteristics of an acoustic instrument. According to the above-described embodiment, it is possible to avoid mechanical nuances when one waveform data, such as rolls and flams in percussion performance, is continuously reproduced. For example, by using velocity conversion data 301 as shown in FIG. 3 for the conversion, it is possible to simulate the behavior of an instrument by providing data that makes the entire instrument, like a drum cymbal, swing widely while also vibrating finely with the amplitude of the musical tone. Furthermore, the techniques of the above-described embodiments are effective when playing back the same pitch continuously on an acoustic instrument such as a guitar or trumpet. Furthermore, with string instruments, it is possible to create effects such as slightly different tones even with the same string position by moving the pick and bow up and down or by using the fingers. Similarly, in wind instruments there is a technique called double tonguing, in which the tongue and throat are used alternately, which also makes it possible to create the effect of producing slightly different tones even when playing the same pitch using the tongue and throat. By alternating these subtly different waveforms during high-speed continuous playback, it is possible to simulate various playing techniques. Furthermore, as explained in the third embodiment, by preparing multiple musical tone data at the same pitch, it is possible to select the musical tone waveform to be generated this time from the pitch generated previously, imitating a playing style with minimal position movement in stringed instrument performance. [Explanation of symbols]

[0073] 100 Electronic Keyboard Instruments 101 CPU 102 ROM 103 RAM 104 Sound source LSI 105 keyboard 106 Key Scanner 107 Switch 108 I / O Interface 109 LCD 110 LCD Controller 111 D / A Converter 112 Amplifier 113 Speaker 114 System Bus 115 Musical sound waveform data 116 Analog musical sound waveform signal 301 Velocity conversion data

Claims

1. 1. An electronic musical instrument comprising: a processor; a waveform reproducing section for reproducing a musical tone waveform; and an operator for inputting a note-on or a note-off for instructing a start or end of reproduction of the musical tone waveform, The processor, when detecting a second note-on input by the operator, calculating a time interval from a detection timing of a first note-on which is a note-on of the same musical tone waveform type as the second note-on and which was input by the operator immediately before the second note-on to a detection timing of the second note-on; changing an acoustic characteristic of the musical sound waveform that is to be reproduced by the waveform reproduction unit at the detection timing of the second note-on in accordance with the time interval; Electronic musical instrument.

2. The processor, at a detection timing of the note-on indicating one pitch input by the operator, causing the waveform reproducing unit to start reproducing one percussion sound waveform associated with the note-on as the musical sound waveform; when the first note-on and the second note-on input by the operator successively instruct the start of playback of the same percussion sound waveform, changing an acoustic characteristic of the percussion sound waveform that is to be started to be played by the waveform playback unit at a detection timing of the second note-on based on the time interval; 2. The electronic musical instrument according to claim 1.

3. a memory for storing velocity conversion data which is a waveform corresponding to the behavior of a sound source of a musical instrument and which gradually oscillates and attenuates from a predetermined maximum value and a predetermined minimum value over time; the operator further inputs a velocity value according to the strength of the input together with the note-on input, the processor, at the timing of detecting the second note-on, reads from the memory the velocity conversion data at the position of the time lapse from the beginning corresponding to the time interval, and assigns an updated / changed velocity value obtained by calculating the value of the read velocity conversion data to the velocity value input together with the second note-on by the operator, and causes the waveform playback unit to start playing the percussion sound waveform.

3. The electronic musical instrument according to claim 2.

4. The processor, at a timing when the note-on is detected by the operator, the waveform reproducing unit is caused to start reproducing, as the musical sound waveform, a stringed instrument sound waveform having a pitch corresponding to the note-on, and the number of detected note-ons is increased by 1; at a timing when the note-off input by the operator is detected, the waveform replay unit is caused to mute the stringed instrument sound waveform being reproduced at a pitch corresponding to the note-off, and the number of detected note-ons is decreased by 1; when the number of detected note-ons up to the detection timing of the second note-on is 0 or 1, it is determined that fast playing has been performed, and an acoustic characteristic of the stringed instrument sound waveform that is to be reproduced by the waveform reproduction unit is changed in accordance with the time interval.

2. The electronic musical instrument according to claim 1.

5. The processor, assuming that a change position has been made on the stringed instrument for the second note-on at the detection timing of the second note-on, if the fret difference between the pressed fret position of the second note-on after the change position and the pressed fret position of the first note-on is within a predetermined fret, the stringed instrument sound waveform that is to be started to be played by the waveform playback unit at the detection timing of the second note-on is designated as the stringed instrument sound waveform that would be generated if it were assumed that the change position had been made, and if the fret difference is greater than the predetermined fret, the stringed instrument sound waveform that is to be started to be played by the waveform playback unit at the detection timing of the second note-on is designated as the stringed instrument sound waveform that would be generated if it was assumed that the change position had not been made.

5. The electronic musical instrument according to claim 4.

6. 1. A method for controlling an electronic musical instrument comprising: a processor; a waveform reproducing section for reproducing a musical tone waveform; and an operator for inputting a note-on or a note-off for instructing a start or end of reproduction of the musical tone waveform, the method comprising: The processor, a process of calculating, when a second note-on input by the operator is detected, a time interval from a detection timing of a first note-on which is a note-on of the same musical tone waveform type as the second note-on and which was input by the operator immediately before the second note-on to a detection timing of the second note-on; a process of changing an acoustic characteristic of the musical sound waveform that is to be played back by the waveform playback unit at the detection timing of the second note-on in accordance with the time interval; How to do it.

7. 1. A program for controlling an electronic musical instrument comprising: a processor; a waveform reproducing section for reproducing a musical tone waveform; and an operator for inputting a note-on or a note-off for instructing a start or end of reproduction of the musical tone waveform, the program comprising: The processor, a process of calculating, when a second note-on input by the operator is detected, a time interval from a detection timing of a first note-on which is a note-on of the same musical tone waveform type as the second note-on and which was input by the operator immediately before the second note-on to a detection timing of the second note-on; a process of changing an acoustic characteristic of the musical sound waveform that is to be played back by the waveform playback unit at the detection timing of the second note-on in accordance with the time interval; A program for executing the above.

Citation Information

Patent Citations

  • Performance data preparing device and recording medium

    JP2001159892A