This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2021-126427, filed Aug. 2, 2021, the entire contents of which are incorporated herein by reference.
The present invention relates to an electronic instrument, a method for controlling an electronic instrument, and a storage medium.
In the related art, fingering for wind instruments such as a saxophone is difficult, and when sound with a pitch is desired to be generated, it takes time for a beginner to adjust the fingering for performing the pitch. If the sound is generated before the fingering is adjusted, the sound is generated with an incorrect pitch different from the pitch desired to be performed. In consideration of such a situation, in the related art, a time, which is described as a waiting time from start of fingering to actual sound generation, can be set in some electronic wind instruments capable of performing digital processing. An electronic instrument based on the same concept is described in, for example, JP H01-250996 A.
However, it is difficult to grasp the waiting time suitable for one's own performance, and thus a problem arises that the waiting time is set to be longer than necessary to hinder the performance, or conversely, the waiting time is set to be too short to generate undesired sound.
Therefore, one advantage of the present invention is to enable proper performance.
An electronic instrument includes at least one processor, and the at least one processor is configured to determine, based on previously acquired fingering time information relating to a time required for a fingering operation performed by a performer, a delay set time for confirming a new fingering operation in response to the new fingering operation.
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
For example, as shown in
The control system 200 is provided in the electronic wind instrument 100 and includes: at least one central processing unit (CPU) 201; a read only memory (ROM) 202; a random access memory (RAM) 203; a key scanning unit 204 to which the pitch designation keys 102 in
The CPU 201, which is a processor, executes a predetermined control program stored in the ROM 202. Accordingly, the CPU 201 instructs the sound source LSI 210, which is a sound source, to generate the musical sound waveform signal with a pitch which is designated by pitch data indicating a pitch designation state acquired based on the fingering operation performed on the pitch designation key 102. Moreover, the CPU 201 controls the pitch, a sound volume, a tone color, and the like of the musical sound waveform signal generated by the sound source LSI 210, based on various detection signals acquired by the voice sensor 205 and the breath sensor 207 in
The ROM 202 stores a control program illustrated in flowcharts in
The pitch designation keys 102 include a plurality of pitch designation operators with which a plurality of pieces of pitch information are respectively associated. The key scanning unit 204 in
The voice sensor 205 is, for example, a microphone provided in the mouthpiece-shaped device 103 in
The breath sensor 207 is, for example, a pressure sensor provided in the mouthpiece-shaped device 103 in
The sound source LSI 210 includes a synthesizer sound source, and generates, in accordance with a sound generation instruction from the CPU 201, the musical sound waveform signal, which corresponds to the pitch designated by the pitch designation key 102, and the sound volume or the like designated based on the detection signals from the voice sensor 205 and the breath sensor 207.
In the electronic wind instrument 100 and the control system 200 respectively shown in
Here, unlike a keyboard of a piano or the like, the pitch designation keys 102 of the electronic wind instrument 100 are not necessarily arranged adjacent to each other to correspond to pitches adjacent to each other, fingering operations for designating the respective pitches are generally determined, and proficiency in the fingering operations is required for a beginner. When a performance level of the performer is low, at the time of designating the pitch, the performer considers a fingering corresponding to the pitch by considering in the head or referring to a fingering chart or the like and performs an operation of pressing the pitch designation key 102 according to the fingering. Therefore, a certain amount of fingering time is required until the fingering for the desired pitch is confirmed. When the performance level of the performer is high, the performer can immediately confirm, at the time of designating the desired pitch, the corresponding fingering to be performed on the pitch designation key 102. Therefore, in an electronic wind instrument in the related art, when a performance level of a performer is low, there is a high possibility that while the performer hesitates about fingering, a CPU confirms a pitch designation state of a pitch designation key and issues a sound generation instruction to a sound source LSI. As a result, a musical sound waveform signal unintended by the performer is generated from a speaker. Therefore, in the present embodiment, the CPU 201 waits for a predetermined delay set time after the key scanning unit 204 detects the fingering to be performed on the pitch designation key 102, then confirms the pitch designation state of the pitch designation key 102 output by the key scanning unit 204, and instructs the sound source LSI 210 to generate the sound according to the confirmed pitch designation state.
In this case, when the performance level of the performer is low, the fingering tends take time, and thus the delay set time is preferably longer. On the other hand, when the performance level of the performer is high, the fingering time is short, and thus the delay set time is preferably shorter. Therefore, in the present embodiment, a mode called a delay set time setting mode can be set by an operation of the switch unit 104 in
First, when the performer sets a mode of the electronic wind instrument 100 to the delay set time setting mode by, for example, operating a mode switch of the switch unit 104, a mode setting unit 301 sets the delay set time setting mode. As a result, the mode setting unit 301 operates a fingering time measurement unit 302.
For each of a plurality of predetermined fingering patterns, the fingering time measurement unit 302 measures the fingering time required for the fingering operation and acquires the fingering time information by allowing the performer to sequentially perform fingering operations on the pitch designation keys 102 in
Specifically, the fingering time measurement unit 302 first accesses, for example, a fingering pattern number storage unit 303 provided in the ROM 202 in
Next, the fingering time measurement unit 302 reads out a fingering pattern corresponding to the fingering pattern number 1, for example, from a fingering pattern storage unit 304 provided in the ROM 202 in
The fingering time measurement unit 302 scans the pitch designation key 102 in
The fingering time measurement unit 302 stores the fingering time information measured for the fingering pattern 1 in, for example, a storage area in a measured fingering time for each fingering pattern storage unit 307 provided in the RAM 203 in
When the measurement of the fingering time for the fingering pattern 1 ends, the fingering time measurement unit 302 also executes the same fingering time measurement processing for fingering patterns 2 to 7. Here, when the fingering patterns 2, 3, 4, 5, 6, and 7 are respectively set as (re, mi), (mi, fa), (fa, so), (so, la), (la, si), and (si, do), the fingering time measurement unit 302 measures T (re, mi), T (mi, fa), T (fa, so), T (so, la), T (la, si), and T (si, do) as the fingering time information for the fingering patterns, and stores the measured T (re, mi), T (mi, fa), T (fa, so), T (so, la), T (la, si), and T (si, do) in corresponding storage areas in the measured fingering time for each fingering pattern storage unit 307.
Next, a delay set time calculation unit 308 derives the delay set time corresponding to the current performance level of the performer based on the fingering time information stored in the measured fingering time for each fingering pattern storage unit 307 and measured for the seven fingering patterns. For example, the delay set time calculation unit 308 may calculate an average value of the seven measured fingering times and set the average value as the delay set time. In addition, the delay set time calculation unit 308 may set a maximum value among the seven measured fingering times as the delay set time. The delay set time calculation unit 308 stores information of the delay set time thus calculated in, for example, a delay set time storage unit 309 provided in the RAM 203 in
Subsequently, when the performer sets a mode of the electronic wind instrument 100 to the normal mode by, for example, operating the mode switch of the switch unit 104 in
When the designation of the pitch is confirmed in the key scanning unit 204 that is the normal mode key scanning unit 310 as described above, the CPU 201 instructs the sound source LSI 210 to generate the musical sound waveform signal having the pitch corresponding to the designation of the pitch.
According to the control operation, in the electronic wind instrument 100 of the present embodiment, in the delay set time setting mode, the performer is allowed to designate a plurality of pitches, a time until the fingering for the pitch is adjusted is measured, and an appropriate delay set time is automatically set based on the measured time. Then, in the normal mode, the performer can easily set, without trial and error, the delay set time from start of the fingering on the pitch designation key 102 to start of sound generation with the sound source LSI 210.
When a power supply is turned on, the CPU 201 executes initialization processing and executes initialization of various settings (for example, a storage state of the RAM 203) (step S401).
Subsequently, the CPU 201 repeatedly executes a series of processing of steps S402 to S409 until it is determined in step S410 that a power switch of the switch unit 104 is turned off.
In the repeated processing, the CPU 201 first determines whether the delay set time setting mode described with reference to
If the determination in step S402 is YES, the CPU 201 executes delay set time setting processing (step S403). Details of this processing will be described later with reference to a flowchart in
After the delay set time setting processing of step S403 or if the determination in step S402 is NO, the CPU 201 executes the following processing in the normal mode.
First, the CPU 201 executes key scanning processing (step S404). In this processing, the CPU 201 starts the measurement using the timer 209 in
Next, the CPU 201 executes voice sensor processing (step S405). In this processing, the CPU 201 acquires a voice value corresponding to a magnitude of a voice sensor signal from the voice sensor 205 in the mouthpiece-shaped device 103 in
Next, the CPU 201 executes breath sensor processing (step S406). In this processing, the CPU 201 acquires a breath value corresponding to a magnitude of a breath sensor signal from the breath sensor 207 in the mouthpiece-shaped device 103 in
Subsequently, the CPU 201 executes switch processing (step S407). In the processing, the CPU 201 acquires an operation state of the switch unit 104 in
Thereafter, the CPU 201 executes sound generation processing (step S408). In this processing, when the designation of the pitch is confirmed in the key scanning processing of step S404, the CPU 201 determines the sound volume or the like based on the voice value determined in step S405 and the breath value determined in step S406, determines the pitch corresponding to the designation of the pitch confirmed in step S404, and instructs the sound source LSI 210 in
Thereafter, the CPU 201 executes other processing such as envelope control of the musical sound being generated (step S409).
Finally, the CPU 201 determines whether the power switch of the switch unit 104 in
If the determination in step S410 is NO, the CPU 201 returns to the processing of step S402 and continues the series of repeated processing of steps S402 to S409.
If the determination in step S410 is YES, the CPU 201 ends the main processing illustrated in the flowchart of
Next, the CPU 201 sets the test fingering pattern number to 0. In addition, the CPU 201 starts the timer 209 in
Thereafter, the CPU 201 repeatedly executes a series of processing of steps S503 to S508 while incrementing the test fingering pattern number by 1 in step S508 until it is determined in step S507 that the processed test fingering pattern is the last test fingering pattern. The series of repeated processing correspond to a function of the fingering time measurement unit 302 in
In the series of repeated processing, the CPU 201 first acquires, through the key scanning unit 204 in
Next, the CPU 201 determines whether the input corresponding to the current test fingering pattern ends (step S504). Then, if the input does not end, determination about the end of the input in the next step S505 is NO, the processing returns to step S504 and stands by until the input ends.
If the input ends and the determination about the end of the input in step S505 is YES, the CPU 201 acquires, from the measurement value of the timer 209, the measured fingering time required for the current test fingering pattern, and stores the measured fingering time in the RAM 203. At this time, the RAM 203 corresponds to the measured fingering time for each fingering pattern storage unit 307 in
Thereafter, the CPU 201 determines whether the current test fingering pattern is the last test fingering pattern (step S507).
If the determination in step S507 is NO, the CPU 201 increments the test fingering pattern number by 1. In addition, the CPU 201 restarts the timer 209 in
If the determination in step S507 is YES, the CPU 201 derives the delay set time corresponding to the current performance level of the performer, based on the measured fingering times for the seven test fingering patterns stored in the RAM 203 (step S509). In step S509, the CPU 201 calculates as the delay set time, for example, the average value of the measured fingering times for the seven test fingering patterns or the maximum value among the measured fingering times. This processing corresponds to a function of the delay set time calculation unit 308 in
Finally, the CPU 201 stores the delay set time derived in step S509 in a storage area of the RAM 203 that can be referred to by the key scanning unit 204 in
As described above, the delay set time stored in the RAM 203 in step S510 is referred to as the delay set time for confirming the designation of the pitch in the key scanning processing of step S404 in
As described above, in the electronic wind instrument 100, even if the operation on the pitch designation key 102 performed by the performer is deviated from a blowing timing of the exhaled breath of the performer or an utterance timing of the voice of the performer in the mouthpiece-shaped device 103, the sound generation instruction can be issued by combining data acquired by the voice sensor 205 or the breath sensor 207 with data acquired at the deviated timing by the pitch designation key 102. The embodiment described above is an example in which the electronic instrument according to the present invention is the electronic wind instrument 100, but the electronic instrument may be an electronic stringed instrument in which pitch designation operators have arrangement similar to that of pitch designation operators (strings and frets) of an analog stringed instrument.
In addition, the control system of the electronic instrument according to the present invention may be configured such that one or more pieces of hardware among hardware illustrated in
The control system 200A in
In the control system 200A in
Further, the control system of the electronic instrument according to the present invention may be formed as a control device that does not include a performance operator by itself, and may acquire the performance information from an external wind instrument type or guitar type MIDI controller. A configuration in this case is shown in
The control system 200B in
In addition, in the embodiment, the test fingering patterns are seven fixed patterns, but various fingering patterns each having a difficulty level corresponding to the performance level of the performer may be given as the plurality of fingering patterns. Further, fingering patterns corresponding to a song performed by the performer may be used in advance. In this case, even if the fingering patterns are the same, the delay set times are different from each other depending on immediately preceding fingering patterns, and thus the delay set times can be set individually. The test fingering patterns and the program executed in the present invention may be stored in a removable storage medium such as a USB memory, a CD, or a DVD, or may be stored in a server, instead of being stored in a memory built in the electronic instrument itself, such as the ROM 202 in
Further, when the delay set time is derived based on the plurality of fingering patterns, instead of using the uniform average value or maximum value for the plurality of fingering patterns, the delay set time may be calculated by performing weighting according to the difficulty level of the fingering pattern, or the delay set time may be set based on a measurement time for the fingering of each fingering pattern by referring to a table in the memory.
Although some embodiments of the present invention have been described above, the present invention is not limited to the embodiments, includes combinations of the configurations of the plurality of embodiments within a feasible range, and further includes the inventions described in the claims and equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2021-126427 | Aug 2021 | JP | national |