This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2012-144581, filed Jun. 27, 2012, and the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to an electric keyboard musical instrument, a method executed by the same, and a storage medium.
2. Related Art
A conventional electric keyboard musical instrument can generate musical sounds that imitate musical sounds generated from a plurality of kinds of keyboard musical instruments such as an acoustic piano, an electric piano, an electric organ, a harpsichord, etc. This is because waveforms of musical sounds generated from the abovementioned keyboard musical instruments are stored beforehand, and these waveforms thus stored are read at a speed designated by a key-pressing operation.
Furthermore, conventional keyboard musical instruments change the tone and volume of musical sounds generated in response to a key-pressing speed or strength. On the other hand, electric keyboard musical instruments also detect a key-pressing speed or strength by providing a plurality of contacts having different timing to be turned ON in response to an pressing amount for each key so as to change the tone and volume of musical sounds generated according to a key-pressing speed or strength thus detected.
Such a configuration enables conventional electric keyboard musical instruments to generate sounds which are more similar to musical sounds generated by keyboard musical instruments. Nevertheless, it is still impossible for a performer accustomed to playing actual keyboard musical instruments to play without feeling discomfort with solely such a configuration.
For example, in keyboard musical instruments such as an acoustic piano, an electric piano, etc., it has been known that there is a time lag from the time when a key is pressed down to its end and a hammer thereof operates to the time when the hammer hits a string and a sound is generated. Therefore, a configuration has been proposed also in electric keyboard musical instruments in which a sound is not generated immediately after a key-pressing being reliably made is detected and a sound is generated after a predetermined lapse of time from the detection (for example, refer to Japanese Patent No. 3254062).
It is impossible to provide a sense of musical performance specific to each of several kinds of keyboard musical instruments simply by delaying a timing of sound generation such as in Japanese Patent No. 3254062.
For example, since the range of motion of a hammer of an electric piano is narrower than that of an acoustic piano, it has been known that a time lag from key-pressing until sound generation of an electric piano is relatively short.
In addition, a sound generation start position of an electric organ is shallow as compared to that of a piano. Furthermore, it is configured so that sound generation is started at a position where the depth of a key being pressed is shallow for a high pitch feet sound of an organ and sound generation is started at a position where the depth of a key being pressed is deep for a low pitch feet sound of an organ. On the other hand, since a harpsichord has a structure in which a plectrum that works together with a keyboard strikes a string, it is configured so that a sound of a plectrum returning to touch a string is generated even when releasing a keyboard.
The conventional electric keyboard musical instruments have not been manufactured with consideration for the production of sounds specific to such kinds of keyboard musical instruments. Therefore, a performer accustomed to playing such kinds of keyboard musical instruments could not help playing without feeling discomfort when playing an electric keyboard musical instrument.
It is an object of the present invention not to impart a performer accustomed to playing a conventional keyboard musical instrument with a feeling of discomfort while playing music.
In order to achieve the abovementioned object, an electric keyboard musical instrument according to an aspect of the present invention includes:
Furthermore, a method according to an aspect of the present invention is a method executed by an electric keyboard musical instrument including a plurality of keys, the method including the steps of:
Furthermore, a storage medium according to an aspect of the present invention is a storage medium encoded with a computer-readable program that enables a computer used as an electric keyboard musical instrument having a keyboard including a plurality of keys to execute the steps of:
Embodiments of the present invention are explained in the following with reference to the attached drawings.
As illustrated in
A keyboard 11 extends in the left-right direction at a lower part of the top face of the electric keyboard musical instrument 10. A plurality of switches 12 to 15 that receives a selection of a kind of a tone is provided on the left side of the keyboard 11. Each of the plurality of switches 12 to 15 specifically refers to an acoustic piano select switch 12, an electric piano select switch 13, an electric organ select switch 14, and a harpsichord select switch 15. For example, when the acoustic piano select switch 12 is pressed down, an acoustic piano is selected as the kind of a tone.
Furthermore, switches that start and end demonstration musical performances, designate rhythm patterns, and the like, are provided on the left side of the keyboard 11.
As shown in
The CPU 21 executes various kinds of processing such as controlling the entire electric keyboard musical instrument 10, detecting key-pressing operations of keys on the keyboard 11 and operations of switches constituting the switch group 25 (for example, the acoustic piano select switch 12 of
The ROM 22 stores programs for various processing executed by the CPU 21 such as various processing corresponding to switch operations and key-pressing operations of any key on the keyboard, instructions to generate a musical sound in response to a key-pressing operation, controlling a timing in sound generation according to kinds of tone selected, and the like. Furthermore, the ROM 22 includes a waveform data area that stores waveforms to produce musical sounds from an acoustic piano, an electric piano, an electric organ, a harpsichord, etc. The RAM 23 stores programs read from the ROM 22 and the data created temporarily during processing.
The sound system 24 includes an audio source unit 26, an audio circuit 27, and a speaker 28. Upon receiving information relating to a key that is pressed from the CPU 21, the audio source unit 26 reads a predetermined waveform data from the waveform data area of the ROM 22 and generates and outputs musical sound data with a predetermined pitch. Furthermore, the sound source unit 26 reads waveform data of a tone of an acoustic piano or the like with a speed corresponding to a predefined pitch and outputs it as musical sound data. The audio circuit 27 executes D/A (Digital/Analog) conversion to the musical sound data and amplifies it. In this way, sound signals are outputted from the speaker 28.
As illustrated in
The opening portion 38a for inserting a hammer into which the front part side of the hammer member 33 described later is inserted so as to move in the vertical direction is formed at the upright portion 38. At the upper part of the upright portion 38, a hammer placing portion 39 is formed in substantially a horizontal direction toward the rear part side (left side in
Furthermore, as illustrated in
Furthermore, at the rear part of the keyboard chassis 31, i.e. at the rear side part of the substrate mounting portion 41, a key placing portion 44 is formed to be slightly higher than the hammer placing unit 39. A key support portion 45 is formed at the upper face of this key placing portion 44. At the key support portion 45, a support shaft 45a is provided which supports the rear edge part of the key 32 so as to be pivotable in the vertical direction. Furthermore, as illustrated in
On the other hand, as shown in
Furthermore, as illustrated in
As illustrated in
As illustrated in
Furthermore, as illustrated in
In this way, as illustrated in
Furthermore, the hammer member 33 is configured such that, when the key 32 is pressed from the upper side, the key abutting portion 52 of the hammer main body 49 is pressed down by the hammer guide portion 48 of the key 32 against the weight of the weight portion 50, and, along with this, an action load is applied to the key 32 by the hammer main body 49 pivoting in the clockwise direction around the support shaft 40a of the hammer support portion 40. And then the rear part of the hammer main body 49 abuts an upper limit stopper 54b made of felt or the like provided at a lower face of the key placing portion 44 of the keyboard chassis 31.
Incidentally, the first switch 34 is provided with the first contact 34a and is configured so as to contact the first switch substrate 42 in a contactable and separable manner. In this way, the first switch 34 is configured so as to output an ON signal by way of a switching operation by the first contact 34a contacting the first switch substrate 42 when the key 32 is pressed.
Furthermore, this first switch 34 is configured so as to output an OFF signal when the first contact 34a is released from the first switch substrate 42 upon returning to an initial position after the key 32 is pressed.
The second switch 35 and the third switch 36 include the second contact 35a and the third contact 36a, respectively, and the second contact 35a and the third contact 36a are configured so as to sequentially contact the second switch substrate 43 in a contactable and separable manner. In addition, it should be noted that the second contact 35a contacts prior to the third contact 36a and the third contact 36a being released prior to the second contact 35a.
In this way, the second switch 35 and the third switch 36 are configured so as to output an ON signal sequentially by way of a switching operation due to the second contact 35a and the third contact 36a sequentially contacting the second switch substrate 43 at different timing upon being pressed from the lower side by the switch pressing portion 53 of the hammer member 33.
Furthermore, this second switch 35 and third switch 36 are configured so as to output an OFF signal sequentially due to the second contact 35a and the third contact 36a separating from the second switch substrate 43 upon returning to an initial position after the key 32 is pressed.
When the key 32 starts to be pressed and is pressed down to the position x1, the first contact 34a contacts the first switch substrate 42 so that the first switch 34 outputs an ON signal. Next, when the key 32 is pressed to the position x2, the second contact 35a contacts the second switch substrate 43 so that the second switch 35 outputs an ON signal. At this moment, touch detection is started. Furthermore, when the key 32 is pressed to the position x3, the third contact 36a contacts the second switch substrate 43 so the third switch 36 outputs an ON signal. At this moment, sound generation processing is executed.
Then, when the key 32 is pressed to the position x4 and the key starts to separate and the key 32 returns to the position x3, the third contact 36a separates from the second switch substrate 43 so that the third switch 36 outputs an OFF signal. Next, when the key 32 returns to the position x2, the second contact 35a is released from the second switch substrate 43 so that the second switch 35 outputs an OFF signal. Furthermore, when the key 32 returns to the position x1, the first contact 34a separates from the first switch substrate 42 so that the first switch 34 outputs an OFF signal. At this moment, sound attenuation processing is executed.
Therefore, as illustrated in
In the following, processing executed in the electric keyboard musical instrument 10 according to the present embodiment is described in detail.
As shown in
In Step S3, the CPU 21 executes key-pressing processing. Here, the key-pressing processing refers to processing that executes control of sound generation according to the kind of tone. The key-pressing processing is described with reference to
In Step S5, the CPU 21 executes other processing including various processing such as the display of an image on the display unit 16, and activation and deactivation of LEDs (not illustrated), and returns the processing to Step S2. Then, the CPU 21 repeats the processing of Steps S2 to S5.
Next, with reference to each of the flowcharts of
In Step S11, the CPU 21 receives a selection of a kind of tone. For example, when any one among the acoustic piano select switch 12, the electric piano select switch 13, the electric organ select switch 14, and the harpsichord select switch 15 is pressed, the CPU 21 receives a selection of a kind of the tone by detecting which switch was pressed and specifying a kind of the tone.
In a case in which the kind of tone thus specified is an acoustic piano, the CPU 21 sets the kind of tone as an acoustic piano in Step S12.
Furthermore, in a case in which the kind of tone thus specified is an electric piano, the CPU 21 sets the kind of tone as an electric piano in Step S13.
Furthermore, in a case in which the kind of tone thus specified is an electric organ, the CPU 21 sets the kind of tone as an electric organ in Step S14.
Furthermore, in a case in which the kind of tone thus specified is a harpsichord, the CPU 21 sets the kind of tone as a harpsichord in Step S15.
When the processing of Steps S12, S13, S14 or S15 ends, the CPU 21 further stores information indicating the kind of tone set in a predetermined area of the RAM 23. Although not illustrated, the operations on various switches that start and end the demonstration musical performances, designate rhythm patterns, and the like are detected. In this way, the switch processing ends. In other words, the processing of Step S2 of
In Step S21, the CPU 21 determines the kind of tone. More specifically, the CPU 21 refers to information indicating a kind of tone stored in a predetermined area of the RAM 23 so as to determine the kind of tone.
In a case of a determination result in which the kind of tone is an acoustic piano, the CPU 21 executes the sequence of processing of Steps S22 to S28 (hereinafter, referred to as processing of “an acoustic piano”). In a case of a determination result in which the kind of tone is an electric piano, the CPU 21 executes the sequence of processing of Steps S29 to S35 (hereinafter, referred to as processing of “an electric piano”). In a case of a determination result in which the kind of tone is an electric organ, the CPU 21 executes the sequence of processing of Steps S36 to S44 (hereinafter, referred to as processing of “an acoustic organ”). In a case of a determination result in which the kind of tone is a harpsichord, the CPU 21 executes the sequence of processing of Steps S45 to S49 (hereinafter, referred to as processing of “a harpsichord”).
In the following, the respective processing of an acoustic piano, an electric piano, an electric organ, and a harpsichord is described individually in this order.
Processing of Acoustic Piano
In Step S22, the CPU 21 determines whether the second switch 35 is ON. More specifically, the CPU 21 determines whether the ON signal from the second switch 35 has been detected, the signal of which is outputted when the key 32 is pressed to the position x2 (refer to
Therefore, in Step S22, until the second switch 35 is determined to be ON, the CPU 21 repeatedly executes the determination processing of Step S22. Then, when the second switch 35 is determined to be ON, the CPU 21 advances the processing to Step S23.
In Step S23, the CPU 21 starts velocity measurement. More specifically, the CPU 21 starts measuring a time necessary for calculating velocity in Step S25 described later. It should be noted that the time when measurement starts in Step S23 refers to an elapsed time during which the key 32 moves from the position x2 to the position x3.
In Step S24, the CPU 21 determines whether the third switch 36 is ON. More specifically, the CPU 21 determines whether the ON signal from the third switch 36 has been detected, the signal of which is outputted when the key 32 is pressed to the position x3 (refer to
Therefore, in Step S24, until the third switch 36 is determined to be ON, the CPU 21 repeatedly executes the determination processing of Step S24. Then, when the third switch 36 is determined to be ON, the CPU 21 advances the processing to Step S25.
In Step S25, the CPU 21 calculates velocity. Velocity refers to the strength of a key-pressing of key 32 which indicates the volume of sound generation and can be calculated based on the speed of the key 32. Therefore, the CPU 21 ends “measuring a time” started in the processing of Step S23, and calculates the speed of the key 32 as velocity, based on the distance between the position x2 and the position x3 of the key 32 and the measured time.
In Step S26, the CPU 21 calculates a latency time of an acoustic piano. Latency time of an acoustic piano refers to a time from when the CPU 21 detects that the third switch 36 becomes ON until the CPU 21 transmits a sound generation instruction signal to the sound source unit 26 in a case in which the kind of tone is an acoustic piano. In an actual acoustic piano, since there is a time lag from the time when a key is pressed down to its end and a hammer thereof operates until the time when the hammer hits a string and a sound is generated, it is configured so that this time lag can be applied to the electric keyboard musical instrument 10 of the present embodiment. The same applies to an electric piano described later as well. The delay time of an acoustic piano is calculated by multiplying a coefficient stored in a coefficient table shown in
Here, the delay time table is described.
According to this delay time table, a delay time corresponding to each key number is set to be smaller with higher pitch, i.e. with a higher key number. This is because the hammer is smaller in a high-tone range than in a low-tone range, and thus the delay time after key-pressing becomes small. Furthermore, a delay time of an acoustic piano is set to be longer than a delay time of an electric piano. This is because the range of motion of a hammer of an acoustic piano is wider than that of an electric piano, and thus the delay time after key-pressing becomes longer.
Next, a coefficient table is described.
According to this coefficient table, a coefficient corresponding to each velocity range is set to be greater as the velocity range becomes greater. Here, a velocity range is a concept that corresponds to a range of velocity values. For example, the velocity calculated by the processing of Step S25 in
Therefore, more specifically, the following processing is executed as the processing of Step S26 in
In Step S27, the CPU 21 determines whether a latency time of an acoustic piano lapsed. In a case in which the latency time of an acoustic piano has not elapsed, the CPU 21 determines as NO in Step 27 and returns the processing to Step S27. In other words, the processing of an acoustic piano enters a standby state by repeatedly executing the determination processing of Step S27 during a time until the latency time of an acoustic piano elapsed.
Then, in a case in which the latency time of an acoustic piano has elapsed, the CPU 21 determines as YES in Step S27 and advances the processing to Step S27.
In Step S28, the CPU 21 executes an instruction to generate a sound. More specifically, the CPU 21 supplies a pitch of a musical sound to be generated and a Note-on-Event indicating a velocity to the sound source unit 26. The sound source unit 26 reads waveform data of the ROM 22 based on a pitch, a velocity, and a kind of tone determined in Step S21 so as to generate musical sound data. In this way, a musical sound is generated from the speaker 28. When the processing of Step S28 ends, the processing of key-pressing ends.
Processing of Electric Piano
Next, the processing of an electric piano is described.
In a case in which a kind of tone is determined to be an electric piano in the processing of Step S21, the processing of the following Steps S29 to S35 is executed as the processing of an electric piano.
In Step S29, the CPU 21 determines whether the second switch 35 is ON. The specific processing is similar to that of Step S22. Therefore, the processing of an electric piano enters a standby state by the determination processing of Step S29 being repeatedly executed during a time until the ON signal from the second switch 35 is outputted. Then, when the ON signal from the second switch 35 is outputted, in Step S29, it is determined that the second switch 35 is ON, and the processing advances to Step S30.
In Step S30, the CPU 21 starts measuring velocity. More specifically, the CPU 21 starts measuring a time necessary for calculating velocity in Step S32 described later. It should be noted that the time when a measurement starts in Step S30 refers to an elapsed time during which the key 32 moves from the position x2 to the position x3.
In Step S31, the CPU 21 determines whether the third switch 36 is ON. The specific processing is similar to that in Step S24. Therefore, the processing of an electric piano enters a standby state by the determination processing of Step S31 being repeatedly executed during a time until the ON signal from the third switch 36 is outputted. Then, when the ON signal from the third switch 36 is outputted, in Step S31, it is determined that the third switch 36 is ON, and the processing advances to Step S32.
In Step S32, the CPU 21 calculates velocity. The specific processing is similar to that of Step S25.
In Step S33, the CPU 21 calculates a latency time of an electric piano. Latency time of an electric piano refers to a time from when the CPU 21 detects that the third switch becomes ON until the CPU 21 transmits a sound generation instruction signal to the sound source unit 26 in a case in which the kind of tone is an electric piano. In an actual electric piano, since there is a time lag from the time when a key is pressed down to its end and a hammer thereof operates until the time when the hammer hits a string and a sound is generated, it is configured so that this time lag can be applied to the electric keyboard musical instrument 10 of the present embodiment. The same applies to the abovementioned acoustic piano. Similarly to the abovementioned method in Step S26, the delay time of an electric piano is calculated by multiplying a coefficient stored in a coefficient table shown in
In Step S34, the CPU 21 determines whether a latency time of an electric piano elapsed. In a case in which the latency time of an electric piano does not lapsed, the CPU 21 determines as NO in Step 34 and returns the processing to Step S34. In other words, the processing of an electric piano enters a standby state by repeatedly executing the determination processing of Step S34 during a time until the latency time of an electric piano has elapsed.
Then, in a case in which the latency time of an electric piano elapsed, the CPU 21 determines as YES in Step S34 and advances the processing to Step S35.
In Step S35, the CPU 21 executes an instruction to generate a sound. The specific processing is similar to that of Step S28. When the processing of Step S35 ends, the CPU 21 ends the processing of key-pressing.
Processing of Electric Organ
Next, the processing of an electric organ is described.
In a case in which the kind of tone is determined to be an electric organ in the processing of Step S21, the processing of the following Steps S36 to S44 is executed as the processing of an electric organ.
With reference to
Therefore, in Step S36, until the first switch 34 is determined to be ON, the CPU 21 repeatedly executes the determination processing of Step S36. Then, when the first switch 34 is determined to be ON, the CPU 21 advances the processing to Step S37.
In Step S37, the CPU 21 starts measuring the first velocity. More specifically, the CPU 21 starts measuring a time necessary for calculating the fist velocity in Step S39 described later. It should be noted that the time when measurement starts in Step S37 refers to an elapsed time during which the key 32 moves from the position x1 to the position x2.
In Step S38, the CPU 21 determines whether the second switch is ON. The specific processing is similar to that of Step S22. Therefore, the processing of an electric organ enters a standby state by the determination processing of Step S38 being repeatedly executed during a time until the ON signal from the second switch 35 is outputted. Then, when the ON signal from the second switch 35 is outputted, in Step S38, it is determined that the second switch 35 is ON, and the processing advances to Step S39.
In Step S39, the CPU 21 calculates the first velocity. More specifically, the CPU 21 ends “measuring a time” started in the processing of Step S37 and calculates the first velocity, which is a first speed of the key 32 based on the distance between the position x1 and the position x2 of the key 32.
In Step S40, the CPU 21 executes an instruction to generate a high pitch feet sound. The high pitch feet sound refers to high pitch harmonics among the 9 harmonics to be generated simultaneously, for example, from the fifth harmonic to the ninth harmonic. More specifically, the CPU 21 supplies a pitch of a musical sound to be generated and a Note-on-Event indicating a velocity to the sound source unit 26. The sound source unit 26 reads waveform data of the ROM 22 based on a pitch, a velocity, and the kind of tone determined in Step S21 so as to generate musical sound data. In this way, a musical sound is generated from the speaker 28. In an actual organ, since the high pitch feet sound starts to be generated at a smaller rate of key-pressing as compared to a piano, in the present embodiment, it is configured so that an actual organ's sound generation mechanism can be applied to the electric keyboard musical instrument 10.
In the present embodiment, an instruction for sound generation is executed in Step S40 immediately after measuring the first velocity. Therefore, it may be configured so that a delay time of an electric organ is provided to the delay time table of
In Step S41, the CPU 21 starts measuring the second velocity. More specifically, the CPU 21 starts measuring a time necessary for calculating the fist velocity in Step S43 described later. It should be noted that the time when measurement starts in Step S41 refers to an elapsed time during which the key 32 moves from the position x2 to the position x3.
In Step S42, the CPU 21 determines whether the third switch is ON. The specific processing is similar to that of Step S24. Therefore, the processing of an electric organ enters a standby state by the determination processing of Step S42 being repeatedly executed during a time until the ON signal from the third switch 36 is outputted. Then, when the ON signal from the third switch 36 is outputted, in Step S42, it is determined that the third switch 36 is ON, and the processing advances to Step S43.
In Step S43, the CPU 21 calculates the second velocity. More specifically, the CPU 21 ends “measuring a time” started in the processing of Step S41 and calculates the second velocity, which is a second speed of the key 32 based on the distance between the position x2 and the position x3 of the key 32.
In Step S44, the CPU 21 executes an instruction to generate a low pitch feet sound. The low pitch feet sound refers to low pitch harmonics among 9 harmonics to be generated simultaneously, for example, from the first harmonic to the fourth harmonic. More specifically, the CPU 21 supplies a pitch of a musical sound to be generated and a Note-on-Event indicating a velocity to the sound source unit 26. The sound source unit 26 reads waveform data of the ROM 22 based on a pitch, a velocity, and the kind of tone determined in Step S21 so as to generate musical sound data. In this way, a musical sound is generated from the speaker 28. In an actual organ, since the low pitch feet sound starts to be generated with greater rate of key-pressing similarly to a piano, in the present embodiment, it is configured so that an actual organ's sound generation mechanism can be applied to the electric keyboard musical instrument 10. When the processing of Step S44 ends, the CPU 21 ends the processing of key-pressing.
In the present embodiment, an instruction of sound generation is executed in Step S44 immediately after measuring the second velocity. Therefore, it may be configured so that a delay time of an electric organ is provided to the delay time table of
Processing of Harpsichord
Next, the processing of a harpsichord is described.
In a case in which the kind of tone is determined to be a harpsichord in the processing of Step S21, the processing of the following Steps S45 to S49 is executed as the processing of a harpsichord.
In Step S45, the CPU 21 determines whether the second switch is ON. The specific processing is similar to that of Step S22. Therefore, the processing of a harpsichord enters a standby state by the determination processing of Step S45 being repeatedly executed during a time until the ON signal from the second switch 35 is outputted. Then, when the ON signal from the second switch 35 is outputted, in Step S45, it is determined that the second switch 35 is ON, and the processing advances to Step S46.
In Step S46, the CPU 21 calculates the first velocity. More specifically, the CPU 21 starts measuring a time necessary for calculating velocity in Step S48 described later. It should be noted that the time when measurement starts in Step S46 refers to an elapsed time during which the key 32 moves from the position x2 to the position x3.
In Step S47, the CPU 21 determines whether the third switch is ON. The specific processing is similar to that of Step S24. Therefore, the processing of an electric organ enters a standby condition by the determination processing of Step S47 being repeatedly executed during a time until the ON signal from the third switch 36 is outputted. Then, when the ON signal from the third switch 36 is outputted, in Step S47, it is determined that the third switch 36 is ON, and the processing advances to Step S48.
In Step S48, the CPU 21 calculates velocity. The specific processing is similar to that of Step S25.
In Step S49, the CPU 21 executes an instruction to generate a sound. The specific processing is similar to that of Step S28. When the processing of Step S49 ends, the CPU 21 ends the processing of key-pressing.
In the present embodiment, an instruction of sound generation is executed in Step S49 immediately after measuring the velocity. Therefore, it may be configured so that a delay time of a harpsichord is provided to the delay time table of
In the following, each processing of an acoustic piano, an electric piano, an electric organ, and a harpsichord is described individually in this order.
Processing of Acoustic Piano
In Step S52, the CPU 21 determines whether the first switch 34 is OFF. More specifically, the CPU 21 determines whether an OFF signal from the first switch 34 has been detected, the signal of which is outputted when the key 32 is pressed and returns to the position x1 (refer to
Therefore, in Step S52, until the first switch 34 is determined to be OFF, the CPU 21 repeatedly executes the determination processing of Step S52. Then, when the first switch 34 is determined to be OFF, the CPU 21 advances the processing to Step S53.
In Step S53, the CPU 21 executes a sound attenuation instruction. More specifically, the CPU 21 supplies a Note-off-Event indicating a pitch of a musical sound to be attenuated to the sound source unit 26 and instructs to attenuate a musical sound of the pitch indicated by the Note-off-Event. When the processing of Step S53 ends, the processing of key-releasing ends.
Processing of Electric Piano
Next, the processing of an electric piano is described.
In a case in which the kind of tone is determined to be an electric piano in the processing of Step S51, the processing of the following Steps S54 and S55 is executed as the processing of an electric piano.
In Step S54, the CPU 21 determines whether the first switch 34 is OFF. The specific processing is similar to that of Step S52. Therefore, the processing of an electric piano enters a standby state by the determination processing of Step S54 being repeatedly executed during a time until the OFF signal from the first switch 34 is outputted. Then, when the OFF signal from the first switch 34 is outputted, in Step S54, it is determined that the first switch 34 is OFF, and the processing advances to Step S55.
In Step S55, the CPU 21 executes a sound attenuation instruction. The specific processing is similar to that of Step S53. When the processing of Step S55 ends, the CPU 21 ends the processing of key-releasing.
Processing of Electric Organ
Next, the processing of an electric organ is described.
In a case in which the kind of tone is determined to be an electric organ in the processing of Step S51, the processing of the following Steps S56 to S59 is executed as the processing of an electric organ.
With reference to
Therefore, in Step S56, until the second switch 35 is determined to be OFF, the CPU 21 repeatedly executes the determination processing of Step S56. Then, when the second switch 35 is determined to be OFF, the CPU 21 advances the processing to Step S57.
In Step S57, the CPU 21 executes an instruction to attenuate a low pitch feet sound. More specifically, the CPU 21 supplies a Note-off-Event indicating a pitch of a musical sound to be attenuated to the sound source unit 26 and instructs to attenuate a musical sound of the pitch indicated by the Note-off-Event.
In Step S58, the CPU 21 determines whether the first switch is OFF. The specific processing is similar to that of Step S52. Therefore, the processing of an electric piano enters a standby state by the determination processing of Step S58 being repeatedly executed during a time until the OFF signal from the first switch 34 is outputted. Then, when the OFF signal from the first switch 34 is outputted, in Step S58, it is determined that the first switch 34 is OFF, and the processing advances to Step S59.
In Step S59, the CPU 21 executes an instruction to attenuate a high pitch feet sound. More specifically, the CPU 21 supplies a Note-off-Event indicating a pitch of a musical sound to be attenuated to the sound source unit 26 and instructs to attenuate a musical sound of the pitch indicated by the Note-off-Event. When the processing of Step S59 ends, the CPU 21 ends the processing of key-releasing.
Processing of Harpsichord
Next, the processing of a harpsichord is described.
In a case in which the kind of tone is determined to be a harpsichord in the processing of Step S51, the processing of the following Steps S60 to S63 is executed as the processing of a harpsichord.
In Step S60, the CPU 21 determines whether the second switch is OFF. The specific processing is similar to that of Step S56. Therefore, the processing of a harpsichord enters a standby state by the determination processing of Step S60 being repeatedly executed during a time until the OFF signal from the second switch 35 is outputted. Then, when the OFF signal from the second switch 35 is outputted, in Step S60, it is determined that the second switch 35 is OFF, and the processing advances to Step S61.
In Step S61, the CPU 21 executes an instruction to generate a sound of a plectrum touching a string. The reason for executing the present processing is that a harpsichord has plectrums working together with a keyboard, and a sound is generated by a plectrum striking a string upon key-pressing, and furthermore, a sound is generated again by the plectrum returning to touch a string upon key-releasing. More specifically, the CPU 21 supplies a Note-on-Event indicating a pitch of a musical sound to be generated to the sound source unit 26. The sound source unit 26 reads waveform data of the ROM 22 based on a pitch and the kind of tone determined in Step S21 so as to generate musical sound data. In this way, a musical sound is generated from the speaker 28. It should be noted that, in Step S61, a sound volume may be controlled in consideration with a velocity upon key-releasing.
In Step S62, the CPU 21 determines whether the first switch is OFF. The specific processing is similar to that of Step S52. Therefore, the processing of a harpsichord enters a standby state by the determination processing of Step S62 being repeatedly executed during a time until the OFF signal from the first switch 34 is outputted. Then, when the OFF signal from the first switch 34 is outputted, in Step S62, it is determined that the first switch 34 is OFF, and the processing advances to Step S63.
In Step S63, the CPU 21 executes a sound attenuation instruction. The specific processing is similar to that of Step S53. When the processing of Step S63 ends, the CPU 21 ends the processing of key-releasing.
An electric keyboard musical instrument 10 of the present embodiment includes: keys 32; third switches 36 that detect that the keys 32 are pressed down to a position x3; various switches 12 to 15 that receive a selection of a kind of tone; and a CPU 21 that executes generating a sound with a tone of the kind received by various switches 12 to 15 in response to the third switch 36 detecting that a key 32 is pressed down to a position x3. The CPU 21 changes a time from when the third switch 36 detects that a key 32 is pressed down to position x3 until sound generation is executed, according to a kind of tone received through the various switches 12 to 15.
With such a configuration, it is possible to reflect the characteristics of a keyboard mechanism of a plurality of actual keyboard musical instruments with a single electric keyboard musical instrument.
Furthermore, the electric keyboard musical instrument 10 includes a table that stores sound generation delay times for each kind of tone, and the CPU 21 retrieves a sound generation delay time corresponding to a kind of tone received by the various switches 12 to 15 and determines a time until sound generation is executed based on the sound generation delay time thus retrieved.
With such a configuration, it is possible to realistically reproduce the difference of a latency time of sound generation between an acoustic piano and an electric piano, for example.
Furthermore, the electric keyboard musical instrument 10 according to the present embodiment further includes the second switch 35 that detects that the key 32 is pressed down to the position x2 and the CPU 21 that executes generating a sound in response to the key 32 having been pressed down to the position x2 in a case in which the tone received is an electric organ.
With such a configuration, it is possible to reflect the characteristics of a keyboard musical instrument in which a sound starts to be generated with a smaller key-pressing rate as with an actual organ, compared to a piano.
It should be noted that the present invention is not to be limited to the aforementioned embodiment, and that various modifications, improvements, etc. within a scope that is described in the claims are also included in the present invention.
It should be noted that, in the present specification, the steps describing the program recorded in the storage medium include not only processing executed in a time series following this order, but also processing executed in parallel or individually, which is not necessarily executed in a time series.
Although some embodiments of the present invention have been described above, the embodiments are merely exemplifications, and are not to limit the technical scope of the present invention. For example, the kind of tone described in the present embodiments may include strings, guitar, pipe organ, etc. Various other embodiments can be employed for the present invention, and various modifications such as omissions and replacements are possible without departing from the spirits of the present invention. Such embodiments and modifications are included in the scope of the invention and the summary described in the present specification, and are included in the invention described in the claims as well as the equivalent scope thereof.
Number | Date | Country | Kind |
---|---|---|---|
2012-144581 | Jun 2012 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4402245 | Oya et al. | Sep 1983 | A |
4966051 | Tajima | Oct 1990 | A |
5044251 | Matsuda et al. | Sep 1991 | A |
5094136 | Kudo et al. | Mar 1992 | A |
5117729 | Kunimoto | Jun 1992 | A |
5177314 | Matsuda et al. | Jan 1993 | A |
5189238 | Hayakawa | Feb 1993 | A |
5241129 | Muto et al. | Aug 1993 | A |
5256830 | Takeuchi et al. | Oct 1993 | A |
5313013 | Suzuki et al. | May 1994 | A |
5347087 | Kozuki | Sep 1994 | A |
5373098 | Kitayama et al. | Dec 1994 | A |
5376753 | Kosugi et al. | Dec 1994 | A |
5426262 | Kitayama et al. | Jun 1995 | A |
5428185 | Kunimoto et al. | Jun 1995 | A |
5442130 | Kitayama et al. | Aug 1995 | A |
5478968 | Kitagawa et al. | Dec 1995 | A |
5554813 | Kakishita | Sep 1996 | A |
5578780 | Wachi | Nov 1996 | A |
5629490 | Inaba | May 1997 | A |
5959231 | Hasebe | Sep 1999 | A |
5981860 | Isozaki et al. | Nov 1999 | A |
6096963 | Hirano | Aug 2000 | A |
7420114 | Vandervoort | Sep 2008 | B1 |
7429699 | Tajika | Sep 2008 | B2 |
8178772 | Iwase | May 2012 | B2 |
20070289435 | Tajika | Dec 2007 | A1 |
20090031886 | Iwase | Feb 2009 | A1 |
20120227575 | Nakagawa et al. | Sep 2012 | A1 |
Number | Date | Country |
---|---|---|
3254062 | Feb 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20140000443 A1 | Jan 2014 | US |