Electronic musical instrument, electronic musical instrument control method and program
The electronic musical instrument's mode selection system addresses unintended switch operations by automatically managing processes based on performance detection, reducing disruptions and operational burden.
Patent Information
- Application Number
- JP2024071203
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2041-05-21
AI Technical Summary
Existing electronic musical instruments face issues where unintended operation of switches during performance can disrupt the performance by executing processes other than tone production, leading to operational burden on the performer.
The instrument incorporates a mode selection system with operation lock-off, lock-on, and auto modes, determining performance status based on waveform generation, to control switch processing accordingly, reducing disruptive switch operations.
This system minimizes performance disruptions and reduces operational burden by automatically managing switch operations based on performance detection, ensuring intended processes are executed.
Smart Images

Figure 0007732534000001 
Figure 0007732534000002 
Figure 0007732534000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to an electronic musical instrument, a control method for an electronic musical instrument, and a program. [Background technology]
[0002] There is known an electronic musical instrument that produces musical tones in response to a performer's performance manipulation of performance controls, and that also performs processes other than producing musical tones in response to the performer's manipulation of controls other than the performance controls. For example, Patent Document 1 discloses an electronic musical device that produces musical tones in response to a performer's performance manipulation of a keyboard provided on the performance controls, and that also performs processes other than producing musical tones, such as adjusting the volume, in response to the performer's manipulation of control switches provided on a setting manipulation unit. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-43372 Summary of the Invention [Problem to be solved by the invention]
[0004] When a performer is performing using the electronic music device described in Patent Document 1, the operation switch may be operated against the performer's intention. For example, when the performer reaches out to turn a sheet of music in a music stand while performing using the electronic music device, the performer's body or clothing may accidentally come into contact with the operation switch, causing the operation switch to be operated against the performer's intention. If the operation switch is operated against the performer's intention during a performance, there is a risk that a process other than producing musical tones will be executed in response to the operation, contrary to the performer's intention, thereby disrupting the performance.
[0005] The electronic music device is configured so that the state can be set by operating a setting switch provided on the electronic music device to either an enabled state in which operation of the operation switch is enabled, or an disabled state in which operation of the operation switch is disabled, and by setting the state of the electronic music device to the disabled state when a performance is to be performed, even if the operation switch is operated against the performer's intention during performance, the operation is disabled, so no processing other than the production of musical tones will be executed in response to the operation.With this configuration, it is possible to reduce the possibility of processing other than the production of musical tones being executed against the performer's intention during performance, thereby hindering the performance.
[0006] However, in this case, the performer must perform the cumbersome operation of operating the setting switch and setting the electronic musical device to a disabled state each time they play. Furthermore, if the performer wants to interrupt their performance and have the electronic musical device perform a process other than producing musical tones, they must perform the cumbersome operation of operating the setting switch, setting the electronic musical device to a enabled state, and then operating the operation switch. Therefore, there is a need for a system that reduces the operational burden on the performer while preventing the performance from being disrupted by the unintended execution of a process other than producing musical tones during a performance.
[0007] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide an electronic musical instrument, a control method for an electronic musical instrument, and a program that can reduce the operational burden on the performer while minimizing the possibility of impeding performance. [Means for solving the problem]
[0008] In order to achieve the above object, the electronic musical instrument according to the present invention comprises: at least one first function operator associated with a process and operable by a player; Depending on whether or not a performance operation is being performed on at least one of the plurality of performance operators, or depending on whether or not at least one of the plurality of waveform generators is generating a waveform signal, a performance determination means for determining whether or not a performance is being performed; a process execution means for executing a process associated with the first function operator in response to an operation on the first function operator; a mode selection means for selecting one of a control mode from an operation lock-off mode, an operation lock-on mode, and an operation lock auto mode; Equipped with When the operation lock-off mode is selected by the mode selection means, the process execution means executes a process associated with the first function operator when the first function operator is operated, When the operation lock-on mode is selected by the mode selection means, the process execution means does not execute a process associated with the first function operator when an operation is performed on the first function operator, When the operation lock auto mode is selected by the mode selection means, the process execution means executes the process associated with the first function operator when the performance determination means determines that no performance is being performed when the first function operator is operated, and does not execute the process associated with the first function operator when the performance determination means determines that a performance is being performed when the first function operator is operated. It is characterized by: [Effects of the Invention]
[0009] According to the present invention, it is possible to provide an electronic musical instrument, a control method for an electronic musical instrument, and a program that can reduce the operational burden on the performer while minimizing the possibility of impeding performance. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a diagram showing the appearance of an electronic keyboard instrument according to a first embodiment of the present invention. [Figure 2] 1 is a diagram showing the electrical configuration of an electronic keyboard instrument according to a first embodiment of the present invention. [Figure 3] 1 is a diagram showing the configuration of a sound source LSI (Large Scale Integration) according to a first embodiment of the present invention. [Figure 4]1 is a diagram showing the functional configuration of an electronic keyboard instrument according to a first embodiment of the present invention; [Figure 5] 3 is a flowchart illustrating a main routine process executed by the electronic keyboard instrument according to the first embodiment of the present invention. [Figure 6] 4 is a flowchart illustrating a switch control process executed by the electronic keyboard instrument according to the first embodiment of the present invention. [Figure 7] 10 is a flowchart illustrating a switch control process executed by an electronic keyboard instrument according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0011] (First embodiment) An electronic keyboard instrument according to a first embodiment of the present invention will now be described with reference to the drawings, in which identical or equivalent components are denoted by the same reference numerals.
[0012] The electronic keyboard instrument 100 shown in Fig. 1 is equipped with a plurality of performance controls that accept performance operations by a performer who is a user who plays using the electronic keyboard instrument 100, and outputs musical tones in response to the performance operations on the performance controls. The electronic keyboard instrument 100 is an example of an electronic musical instrument. As shown in Fig. 1, the electronic keyboard instrument 100 is equipped with a keyboard 101, a pedal unit 102, a display 103, a first operation switch group 104, and a second operation switch group 105.
[0013] The keyboard 101 has 88 keys that are performance operators that accept performance operations such as key pressing and key release operations performed by the performer's fingers. The electronic keyboard instrument 100 outputs musical tones in response to key pressing operations on the keyboard 101. Note that the performer may perform performance operations on the keys using parts of their body other than their fingers, such as their elbows or feet.
[0014] The pedal unit 102 includes three pedals that are performance controls that accept foot-operated performance operations by the performer. Specifically, the pedal unit 102 includes a soft pedal 102a, a sostenuto pedal 102b, and a damper pedal 102c. The soft pedal 102a, the sostenuto pedal 102b, and the damper pedal 102c are associated with sound effects that are applied to musical tones produced by the acoustic piano when the performer presses a key on the acoustic piano while holding down the soft pedal, the sostenuto pedal, and the damper pedal, respectively. That is, the soft pedal 102a is associated with a sound effect that softens the tone of the musical tones. The sostenuto pedal 102b is associated with a sound effect that extends the tone duration of a musical tone that was produced in response to a key that was being pressed when the performer pressed the sostenuto pedal 102b. The damper pedal 102c is associated with a sound effect that extends the duration of a musical tone. When the performer depresses a key on the keyboard 101 while depressing the soft pedal 102a, sostenuto pedal 102b, or damper pedal 102c, the electronic keyboard instrument 100 outputs a musical tone to which the sound effect associated with the pedal being depressed has been added. The pedal unit 102 is connected to an input / output interface 108 (described later) via a connection cable 102d.
[0015] The display 103 displays various images such as an operation screen and a warning screen under the control of a display control circuit 109, which will be described later.
[0016] The first operation switch group 104 and the second operation switch group 105 are each composed of a plurality of operation switches that are different from performance operators and that accept operations by the performer. Each operation switch is pre-assigned a different switch process, and accepts an instruction to execute the associated switch process in response to an operation by the performer. The switch process is a process other than producing musical tones. For ease of understanding, the operation switches that make up the first operation switch group 104 will be referred to as "first operation switches," and the operation switches that make up the second operation switch group 105 will be referred to as "second operation switches." The first operation switches are an example of function operators, and the switch process associated with the first operation switches is an example of a process associated with a function operator.
[0017] The first operation switch group 104 is composed of a volume adjustment switch 104a, a pitch adjustment switch 104b, and a timbre selection switch 104c. The volume adjustment switch 104a is a first operation switch associated with switch processing for adjusting the volume of a musical tone. The pitch adjustment switch 104b is a first operation switch associated with switch processing for adjusting the pitch of a musical tone. The timbre selection switch 104c is a first operation switch associated with switch processing for selecting the timbre of a musical tone. The electronic keyboard instrument 100 is capable of outputting musical tones in the timbres of multiple types of instruments such as an acoustic piano, organ, and saxophone, and the performer can specify the timbre of which instrument the electronic keyboard instrument 100 will output the musical tone by operating the timbre selection switch 104c. The first operation switch group 104 may include operation switches associated with any switch processing in addition to or instead of the volume adjustment switches 104a to the timbre selection switches 104c.
[0018] The second operation switch group 105 is composed of a power switch 105a and a mode selection switch 105b. The power switch 105a is a second operation switch associated with a switch process that switches the power of the electronic keyboard instrument 100 ON / OFF. The mode selection switch 105b is a second operation switch associated with a switch process that selects a control mode of the electronic keyboard instrument 100. The electronic keyboard instrument 100 operates in one of three control modes: an operation lock OFF mode, an operation lock ON mode, and an operation lock AUTO mode, all of which will be described later. The performer can specify in which control mode the electronic keyboard instrument 100 operates by operating the mode selection switch 105b.
[0019] In addition to the components described above, the electronic keyboard instrument 100 includes a keyboard interface 106, a pedal interface 107, an input / output interface 108, a display control circuit 109, an operation switch interface 110, a CPU (Central Processing Unit) 111, a memory unit 112, a sound source LSI 113, a sound system 114, and a system bus 115, as shown in FIG.
[0020] The keyboard interface 106 includes a plurality of key sensors (not shown), detects performance operations on each key of the keyboard 101 using the key sensors, generates key operation information according to the detection results, and outputs the generated key operation information to the CPU 111. Specifically, when the keyboard interface 106 detects a key depression, it detects a velocity at the time of key depression corresponding to the speed of the key depression, generates key operation information indicating the key number of the key that was depressed and the detected velocity at the time of key depression, and outputs the generated key operation information to the CPU 111. When the keyboard interface 106 detects a key release, it detects a velocity at the time of key release corresponding to the speed of the key release, generates key operation information indicating the key number of the key that was released and the detected velocity at the time of key release, and outputs the generated key operation information to the CPU 111.
[0021] The pedal interface 107 includes a plurality of pedal sensors (not shown), detects a performance operation on each pedal of the pedal unit 102 using the pedal sensors, generates pedal operation information corresponding to the detection results, and outputs the generated pedal operation information to the CPU 111. Specifically, when the pedal interface 107 detects a performance operation on a pedal, it detects a pedal displacement amount corresponding to the depression of the pedal corresponding to the amount of performance operation on the pedal, generates pedal operation information indicating which pedal was operated and the detected pedal displacement amount, and outputs the generated pedal operation information to the CPU 111. The pedal interface 107 is provided in the pedal unit 102 and is connected to the input / output interface 108 via a connection cable 102d. The pedal interface 107 outputs the pedal operation information to the input / output interface 108 by wired communication via the connection cable 102d, and then outputs the pedal operation information to the CPU 111 via the input / output interface 108.
[0022] The input / output interface 108 includes a wireless communication module and a wired communication module, neither of which are shown, and exchanges data by wireless communication or wired communication with devices external to the electronic keyboard instrument 100. The input / output interface 108 includes a connection port, not shown, to which the connection cable 102d is connected, and outputs to the CPU 111 the pedal operation information input from the pedal interface 107 by wired communication via the connection cable 102d.
[0023] The display control circuit 109 controls the display 103 under the control of the CPU 111, and causes the display 103 to display various images.
[0024] The operation switch interface 110 has a plurality of operation switch sensors (not shown), and detects operations on each of the first operation switches that make up the first operation switch group 104 and operations on each of the second operation switches that make up the second operation switch group 105 using the operation switch sensors, generates switch operation information indicating the detection results, and outputs the generated switch operation information to the CPU 111.
[0025] The CPU 111 controls each part of the electronic keyboard instrument 100 in accordance with the programs and data stored in the storage unit 112 .
[0026] The storage unit 112 includes a ROM (Read Only Memory) 112a and a data-writable non-volatile memory 112b such as a flash memory or an EPROM (Erasable Programmable Read Only Memory), and stores in a non-volatile manner programs and data used by the CPU 111 to execute various processes. The ROM 112a pre-stores audio waveform data indicating audio waveforms of musical tones of each of the above-mentioned multiple types of musical instruments. As will be described later, the audio waveform data stored in the ROM 112a is used by the sound source LSI 113 to generate musical tone signals representing musical tones. In addition to the ROM 112a and the non-volatile memory 112b, the storage unit 112 also includes a RAM (Random Access Memory) 112c that functions as a work area for the CPU 111.
[0027] The sound source LSI 113 generates a musical sound signal representing a musical sound in accordance with the control of the CPU 111, and outputs the generated musical sound signal to the sound system 114. The musical sound signal is a digital audio signal representing the audio waveform of the musical sound. The sound source LSI 113 is an example of a sound source. The generation of the musical sound signal by the sound source LSI 113 will be described in detail later.
[0028] The sound system 114 outputs musical sounds in response to musical sound signals input from the sound source LSI 113. The sound system 114 is an example of a musical sound output means. Specifically, the sound system 114 includes a DAC (Digital to Analog Converter), an amplifier, and a speaker, all of which are not shown, and converts the musical sound signals input from the sound source LSI 113 into analog audio signals using the DAC, amplifies the analog audio signals using the amplifier, and produces the amplified analog audio signals through the speaker. Note that the sound system 114 may output the analog signals amplified by the amplifier to an external device such as headphones via an output terminal, not shown, instead of producing the sounds through the speaker.
[0029] The system bus 115 is a transmission path for data and commands, and interconnects the keyboard interface 106, input / output interface 108, display control circuit 109, operation switch interface 110, CPU 111, storage unit 112, and sound source LSI 113.
[0030] The generation of musical tone signals by the tone generator LSI 113 will be described in detail below with reference to Fig. 3. As shown in Fig. 3, the tone generator LSI 113 comprises a waveform generator 113a having 256 waveform generators 113d, a DSP (Digital Signal Processor) 113b, and a bus interface 113c. The waveform generator 113a and DSP 113b are connected to a system bus 115 via the bus interface 113c, and exchange data with each section of the electronic keyboard instrument 100, including the CPU 111 and ROM 112a, via the bus interface 113c and the system bus 115.
[0031] Each waveform generator 113d included in waveform generating device 113a reads waveform data stored in ROM 112a under the control of CPU 111, and generates a waveform signal representing an audio waveform in accordance with the read waveform data. Each waveform generator 113d outputs the generated waveform signal to DSP 113b via a different channel 113e. Each of the 256 waveform generators 113d is uniquely assigned a number from "0" to "255" as an identifier. Waveform generating device 113a generates generator operation information indicating whether each waveform generator 113d is generating a waveform signal, and outputs the generated generator operation information to CPU 111.
[0032] The DSP 113b generates a musical tone signal in response to the waveform signal input from the waveform generator 113d. That is, under the control of the CPU 111, the DSP 113b performs signal processing on the waveform signals input from each waveform generator 113d and generates a musical tone signal by mixing the processed waveform signals together. Specifically, the DSP 113b performs signal processing on the waveform signals input from each waveform generator 113d to change the audio waveform represented by the waveform signal in response to parameters indicated by musical tone parameter information input from the CPU 111 that specifies the parameters of the musical tone. The DSP 113b also performs signal processing on the waveform signals input from each waveform generator 113d to add to the musical tone a sound effect indicated by effect information input from the CPU 111 that specifies the sound effect to be added to the musical tone. The DSP 113b outputs the generated musical tone signal to the sound system 114.
[0033] 4, the electronic keyboard instrument 100 having the above-described physical configuration functionally comprises a key operation information acquisition section 10, a pedal operation information acquisition section 11, a switch operation information acquisition section 12, a generator operation information acquisition section 13, a musical tone output control section 14, a performance determination section 15, and a switch processing execution section 16. The key operation information acquisition section 10 to the switch processing execution section 16 are realized by a CPU 111. That is, the CPU 111 functions as the key operation information acquisition section 10 to the switch processing execution section 16 by executing a program stored in a ROM 112a and controlling each section of the electronic keyboard instrument 100.
[0034] The key operation information acquisition unit 10 acquires the above-mentioned key operation information from the keyboard interface 106. The pedal operation information acquisition unit 11 acquires the above-mentioned pedal operation information from the pedal interface 107. The switch operation information acquisition unit 12 acquires the above-mentioned switch operation information from the operation switch interface 110. The generator operation information acquisition unit 13 acquires the above-mentioned generator operation information from the waveform generating device 113a of the sound source LSI 113.
[0035] The musical sound output control unit 14 causes the sound system 114, which is musical sound output means, to output musical sounds in accordance with the performer's performance operations on the keys and pedals, which are performance operators. Specifically, the musical sound output control unit 14 causes the sound source LSI 113 to generate musical sound signals in accordance with the key operation information acquired by the key operation information acquisition unit 10 and the pedal operation information acquired by the pedal operation information acquisition unit 11, output the generated musical sound signals to the sound system 114, and cause the sound system 114 to output musical sounds in accordance with the musical sound signals input from the sound source LSI 113. More specifically, the musical sound output control unit 14 determines the pitch, volume, and timbre of the musical sounds in accordance with the key operation information, determines musical sound parameters in accordance with the determined pitch, volume, and timbre, and outputs musical sound parameter information indicating the determined musical sound parameters to the DSP 113b of the sound source LSI 113. The DSP 113b performs signal processing on waveform signals input from each waveform generator 113d included in the waveform generating device 113a of the sound source LSI 113 to change the audio waveform represented by the waveform signal in accordance with parameters indicated by the musical sound parameter information input from the CPU 111, and mixes the waveform signals that have been subjected to the signal processing to generate a musical sound signal representing a musical sound having the pitch, volume, and timbre determined by the CPU 111. The musical sound output control unit 14 also determines a sound effect to be applied to the musical sound in accordance with the pedal operation information, and outputs effect information indicating the determined sound effect to the DSP 113b. The DSP 113b performs signal processing on waveform signals input from each waveform generator 113d to apply the sound effect indicated by the effect information input from the CPU 111 to the musical sound, and mixes the waveform signals that have been subjected to the signal processing to generate a musical sound signal representing a musical sound to which the sound effect determined by the CPU 111 has been applied.
[0036] The performance determination unit 15 determines whether a performer is performing the electronic keyboard instrument 100. The performance determination unit 15 is an example of a performance determination means. Specifically, the performance determination unit 15 determines whether a performance is being performed based on whether at least one of the 256 waveform generators 113d included in the waveform generating device 113a of the sound source LSI 113 is generating a waveform signal. That is, if at least one of the 256 waveform generators 113d is generating a waveform signal, the performance determination unit 15 determines that a performer is performing the instrument. On the other hand, if none of the 256 waveform generators 113d is generating a waveform signal, the performance determination unit 15 determines that a performer is not performing the instrument. The performance determination unit 15 determines whether each waveform generator 113d is generating a waveform signal based on the generator operation information acquired by the generator operation information acquisition unit 13.
[0037] The switch processing execution unit 16 executes a switch processing associated with the operated operation switch in response to an operation of the first operation switch or the second operation switch. The switch processing execution unit 16 is an example of a processing execution means. The switch processing execution unit 16 detects an operation of the first operation switch or the second operation switch based on the switch operation information acquired by the switch operation information acquisition unit 12.
[0038] When the first operation switch is operated, the switch processing execution unit 16 controls the execution of switch processing in accordance with the current control mode of the electronic keyboard instrument 100. Specifically, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in an operation lock OFF mode in which operation of the first operation switch is valid, the switch processing execution unit 16 executes switch processing associated with the operated first operation switch. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in an operation lock ON mode in which operation of the first operation switch is invalid, the switch processing execution unit 16 does not execute switch processing associated with the operated first operation switch.
[0039] When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 controls the execution of switch processing in accordance with the result of the determination by the performance determination unit 15. That is, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the performance determination unit 15 determines that a performer is not performing the instrument, the switch processing execution unit 16 executes switch processing associated with the operated first operation switch. On the other hand, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the performance determination unit 15 determines that a performer is performing the instrument, the switch processing execution unit 16 does not execute switch processing associated with the operated first operation switch.
[0040] With this configuration, when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the performer stops playing and operates the first operation switch, the switch processing is executed. However, if the performer's body or clothing accidentally comes into contact with the first operation switch during performance, causing the first operation switch to be operated against the performer's intention, the switch processing is not executed. Therefore, with this configuration, the possibility of performance being disrupted by the unintended execution of a switch processing other than the generation of musical tones during performance is reduced. Furthermore, with this configuration, when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, whether or not to execute the switch processing when the first operation switch is operated is determined based on the result of the performance determination unit 15. Therefore, with this configuration, the operational burden on the performer can be reduced compared to when the performer switches the control mode of the electronic keyboard instrument 100 by operating the mode selection switch 105b to switch the control mode of the electronic keyboard instrument 100 and thereby switches whether or not to execute the switch processing.
[0041] As described above, the performance determination unit 15 determines whether or not a performance is being performed based on whether or not at least one of the waveform generators 113d included in the sound source LSI 113 is generating a waveform signal, and when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 controls the execution of switch processing based on the result of the determination by the performance determination unit 15. With this configuration, it is possible to appropriately determine whether or not a performance is being performed by a performer based on whether or not at least one of the waveform generators 113d is generating a waveform signal, and to appropriately control the execution of switch processing based on the result of the determination.
[0042] As described above, when the first operation switch is operated, the switch processing execution unit 16 controls whether or not to execute switch processing depending on the current control mode of the electronic keyboard instrument 100 and the result of the determination by the performance determination unit 15. On the other hand, when the second operation switch is operated, the switch processing execution unit 16 executes switch processing associated with the operated second operation switch regardless of the result of the determination by the performance determination unit 15, regardless of whether the electronic keyboard instrument 100 is operating in any control mode among the operation lock OFF mode, operation lock ON mode, and operation lock AUTO mode. In other words, when the second operation switch is operated, the switch processing associated with the operated second operation switch is always executed.
[0043] The main routine processing executed by the electronic keyboard instrument 100 having the above-described physical and functional configuration will be described below with reference to the flowchart of Fig. 5. When the performer turns on the power of the electronic keyboard instrument 100 by operating the power switch 105a, the CPU 111 starts the main routine processing shown in the flowchart of Fig. 5.
[0044] When the main routine processing starts, first, the CPU 111 executes initialization processing to initialize various settings of the electronic keyboard instrument 100 (step S101). In the initialization processing of step S101, the control mode of the electronic keyboard instrument 100 is set to the operation lock AUTO mode, which is the default control mode. In this embodiment, a control mode flag indicating the current control mode of the electronic keyboard instrument 100 is provided in a storage area of the RAM 112c. The value of the control mode flag is set to any value between "0" and "2" depending on the current control mode of the electronic keyboard instrument 100. Specifically, the value of the control mode flag is set to "0" when the control mode of the electronic keyboard instrument 100 is the operation lock AUTO mode, to "1" when the control mode is the operation lock OFF mode, and to "2" when the control mode is the operation lock ON mode. In the initialization processing of step S101, the control mode of the electronic keyboard instrument 100 is set to the operation lock AUTO mode, and the value of the control mode flag is set to "0", which corresponds to the operation lock AUTO mode.
[0045] After the initialization process in step S101, the key operation information acquisition unit 10 acquires key operation information from the keyboard interface 106 (step S102). After the process in step S102, the pedal operation information acquisition unit 11 acquires pedal operation information from the pedal interface 107 (step S103).
[0046] After executing the process of step S103, the musical sound output control unit 14 executes a musical sound output control process for controlling the output of musical sounds by the sound system 114 (step S104). In the musical sound output control process of step S104, the musical sound output control unit 14 determines the pitch, volume, and timbre of the musical sound according to the key operation information acquired in step S102, and determines the sound effect to be added to the musical sound according to the pedal operation information acquired in step S103. Then, the musical sound output control unit 14 causes the sound source LSI 113 to generate a musical sound signal representing the musical sound having the determined pitch, volume, and timbre and to which the determined sound effect has been added, and causes the sound system 114 to output the musical sound according to the musical sound signal generated by the sound source LSI 113. Note that, if the musical sound output control unit 14 detects, based on the key operation information, that a key has been released during the musical sound output control process, it executes a sound attenuation process for attenuating the volume of the musical sound being output. The sound attenuation process includes a sound mute process for terminating the output of the musical sound.
[0047] After executing the musical sound output control process in step S104, the CPU 111 executes switch control process for controlling the execution of switch process (step S105). The switch control process in step S105 will be described in detail later. After executing the switch control process in step S105, the CPU 111 determines whether or not the power supply to the electronic keyboard instrument 100 has been turned off (step S106). If it is determined that the power supply has not been turned off (step S106; No), the process returns to step S102. With this configuration, the CPU 111 repeatedly executes the processes of steps S102 to S106 until the power supply to the electronic keyboard instrument 100 is turned off. If it is determined in step S106 that the power supply has been turned off (step S106; Yes), the CPU 111 ends the main routine process.
[0048] The switch control process executed in step S105 of the main routine process described above will now be described in detail. In step S105, the CPU 111 executes the switch control process shown in the flowchart of FIG.
[0049] When the switch control process is started, first, the switch operation information acquisition unit 12 acquires switch operation information from the operation switch interface 110 (step S201). After executing the process of step S201, the switch process execution unit 16 determines whether or not an operation has been performed on any of the plurality of second operation switches constituting the second operation switch group 105, i.e., the power switch 105a and the mode selection switch 105b, based on the switch operation information acquired in step S201 (step S202).
[0050] In step S202, if it is determined that none of the second operation switches has been operated (step S202; No), the process proceeds to step S204. On the other hand, if it is determined that any of the second operation switches has been operated (step S202; Yes), the switch processing execution unit 16 identifies the operated second operation switch based on the switch operation information acquired in step S201, and executes switch processing associated with the identified second operation switch (step S203). Specifically, in step S203, if the power switch 105a has been operated, the switch processing execution unit 16 executes switch processing to switch the power of the electronic keyboard instrument 100 between ON and OFF. Also, in step S203, if the mode selection switch 105b has been operated, the switch processing execution unit 16 executes switch processing to switch the control mode of the electronic keyboard instrument 100. When the switch process execution unit 16 executes the switch process for switching the control mode of the electronic keyboard instrument 100, it executes the process of changing the value of the control mode flag described above to a value corresponding to the control mode after switching.
[0051] 6, when it is determined that any of the second operation switches has been operated (step S202; Yes), the process of step S203 is executed without taking into consideration the current control mode of the electronic keyboard instrument 100. With this configuration, when the second operation switch is operated, the switch process execution unit 16 executes the switch process associated with the operated second operation switch, regardless of whether the electronic keyboard instrument 100 is operating in the operation lock OFF mode, the operation lock ON mode, or the operation lock AUTO mode.
[0052] After executing the process of step S203, the process proceeds to step S204. In step S204, the switch process execution unit 16 determines, based on the switch operation information acquired in step S201, whether any of the multiple first operation switches constituting the first operation switch group 104, i.e., the volume adjustment switch 104a, the pitch adjustment switch 104b, and the timbre selection switch 104c, has been operated (step S204). If it is determined in step S204 that none of the first operation switches has been operated (step S204; No), the switch process execution unit 16 terminates the switch control process. On the other hand, if it is determined that any of the first operation switches has been operated (step S204; Yes), the switch process execution unit 16 determines whether the value of the control mode flag is "2," which corresponds to the operation lock ON mode, thereby determining whether the current control mode of the electronic keyboard instrument 100 is the operation lock ON mode (step S205). If it is determined that the control mode is not the operation lock ON mode (step S205; No), the switch processing execution unit 16 determines whether the value of the control mode flag is "0", which corresponds to the operation lock AUTO mode, thereby determining whether the current control mode of the electronic keyboard instrument 100 is the operation lock AUTO mode (step S206).
[0053] If it is determined in step S206 that the control mode is the operation lock AUTO mode (step S206; Yes), the generator operation information acquisition unit 13 acquires generator operation information from the waveform generation device 113a of the tone generator LSI 113 (step S207). As described above, each of the 256 waveform generators 113d included in the waveform generation device 113a is uniquely assigned a number from "0" to "255" as an identifier. After executing the process of step S207, the performance determination unit 15 sets the first processing number to the smallest number among the numbers assigned as identifiers to each waveform generator 113d, i.e., "0" (step S208). After executing the process of step S208, the performance determination unit 15 determines, based on the generator operation information acquired in step S207, whether the waveform generator 113d included in the waveform generation device 113a, which is associated as an identifier with the currently set first processing number, is generating a waveform signal (step S209). For example, if the currently set first process number is "0", the performance determination unit 15 determines whether the waveform generator 113d associated with the number "0" as an identifier is generating a waveform signal.
[0054] If it is determined in step S209 that the waveform generator 113d associated with the first process number is not generating a waveform signal (step S209; No), the performance determination unit 15 determines whether the currently set first process number is the largest number among the numbers associated as identifiers with each waveform generator 113d, i.e., "255" (step S211). If it is determined in step S211 that the currently set first process number is not "255" (step S211; No), the performance determination unit 15 increments the first process number by 1 (step S210), and the process returns to step S209. While incrementing the first process number by 1 (step S210), the performance determination unit 15 repeatedly executes the determination of step S209 to determine whether each waveform generator 113d included in the sound source LSI 113 is generating a waveform signal. In step S211, if it is determined that the currently set first process number is "255" (step S211; Yes), the performance determination unit 15 determines that no performance is being performed (step S212). With this configuration, the performance determination unit 15 determines that no performance is being performed when none of the waveform generators 113d included in the sound source LSI 113 is generating a waveform signal.
[0055] After executing the process of step S212, the process proceeds to step S214. In step S214, the switch process execution unit 16 identifies the first operation switch operated by the performer based on the switch operation information acquired in step S201, and executes switch process associated with the identified first operation switch (step S214). Specifically, in step S214, if the volume adjustment switch 104a is operated, the switch process execution unit 16 executes switch process to change the volume of the musical sound. Also, in step S214, if the pitch adjustment switch 104b is operated, the switch process execution unit 16 executes switch process to change the pitch of the musical sound. Also, in step S214, if the timbre selection switch 104c is operated, the switch process execution unit 16 executes switch process to switch the timbre of the musical sound. After executing the process of step S214, the switch process execution unit 16 ends the switch control process.
[0056] As described above, when it is determined that the first operation switch has been operated (step S204; Yes) and it is determined that the electronic keyboard instrument 100 is operating in the operation lock AUTO mode (step S206; Yes), and when it is determined that no performance is being performed (step S212), the process of step S214 is executed. With this configuration, when the first operation switch has been operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, and the performance determination unit 15 determines that no performance is being performed, the switch process execution unit 16 executes the switch process associated with the operated first operation switch.
[0057] If it is determined in step S204 that the first operation switch has been operated (step S204; Yes) and if it is determined in the process of step S205 that the control mode is the operation lock ON mode (step S205; Yes), the switch process executing unit 16 ends the switch control process without executing the process of step S214. With this configuration, if the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock ON mode, the switch process executing unit 16 does not execute the switch process associated with the operated first operation switch.
[0058] The electronic keyboard instrument 100 operates in one of the control modes of the operation lock OFF mode, the operation lock ON mode, and the operation lock AUTO mode. Therefore, in the process of step S206, which is executed when it is determined in step S205 that the current control mode of the electronic keyboard instrument 100 is not the operation lock ON mode (step S205; No), determining that the control mode is not the operation lock AUTO mode (step S206; No) corresponds to determining that the control mode is the operation lock OFF mode. In step S206, when it is determined that the current control mode of the electronic keyboard instrument 100 is not the operation lock AUTO mode (step S206; No), that is, when it is determined that the control mode is the operation lock OFF mode, the switch process execution unit 16 executes the process of step S214. With this configuration, when an operation is performed on the first operation switch while the electronic keyboard instrument 100 is operating in the operation lock OFF mode, the switch process execution unit 16 executes the switch process associated with the operated first operation switch.
[0059] If it is determined in step S209 that the waveform generator 113d associated with the first processing number is generating a waveform signal (step S209; Yes), the performance determination unit 15 determines that a performer is performing a performance (step S213). With this configuration, the performance determination unit 15 determines that a performance is being performed when at least one of the waveform generators 113d included in the sound source LSI 113 is generating a waveform signal. After executing the process of step S213, the switch process execution unit 16 terminates the switch control process without executing the process of step S214. With this configuration, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, and the performance determination unit 15 determines that a performance is being performed, the switch process execution unit 16 does not execute the switch process associated with the operated first operation switch.
[0060] As described above, the electronic keyboard instrument 100 includes a plurality of first operation switches, which are an example of function operators operated by a performer; a performance determination unit 15 that determines whether a performance is being performed; and a switch processing execution unit 16 that executes a switch process associated with the operated first operation switch in response to the operation of the first operation switch. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 executes the switch process associated with the operated first operation switch if the performance determination unit 15 determines that a performance is not being performed. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 does not execute the switch process associated with the operated first operation switch if the performance determination unit 15 determines that a performance is being performed. This configuration reduces the possibility of performance being interrupted while reducing the operational burden on the performer.
[0061] The electronic keyboard instrument 100 also includes a sound source LSI 113 that generates musical tone signals representing musical tones, and a sound system 114 that outputs musical tones in response to the musical tone signals. The sound source LSI 113 includes a plurality of waveform generators 113d that generate waveform signals, and generates musical tone signals in response to the waveform signals generated by the plurality of waveform generators 113d. The performance determination unit 15 determines whether a performance is being performed based on whether at least one of the waveform generators 113d is generating a waveform signal. This configuration allows for optimal control of the execution of switch processing.
[0062] (Second embodiment) In the first embodiment, the electronic keyboard instrument 100 was described as determining whether or not a performance is being performed based on whether or not at least one of the waveform generators 113d included in the sound source LSI 113 is generating a waveform signal, and controlling the execution of switch processing based on the result of the determination. However, this is merely an example, and the electronic keyboard instrument 100 can determine whether or not a performance is being performed using any method, and control the execution of switch processing based on the result of the determination. Below, we will explain an electronic keyboard instrument 100 according to a second embodiment of the present invention, which determines whether or not a performance is being performed based on whether or not a performance operation is being performed on at least one of a plurality of performance operators, and controls the execution of switch processing based on the result of the determination.
[0063] The electronic keyboard instrument 100 according to this embodiment has roughly the same physical and functional configuration as the electronic keyboard instrument 100 according to the first embodiment. However, the function of the performance determination unit 15 of the electronic keyboard instrument 100 according to this embodiment is partially different from the function of the performance determination unit 15 of the electronic keyboard instrument 100 according to the first embodiment. Below, the function of the performance determination unit 15 provided in the electronic keyboard instrument 100 according to this embodiment will be explained, focusing on the differences from the first embodiment.
[0064] In this embodiment, the performance determination unit 15 determines whether or not a performance is being performed based on whether or not a performer is performing a performance operation on at least one of the multiple performance operators provided on the electronic keyboard instrument 100. As in the first embodiment, the electronic keyboard instrument 100 includes, as performance operators, 88 keys on a keyboard 101 and three pedals on a pedal unit 102. The performance determination unit 15 determines that a performance is being performed by a performer when a performance operation is being performed on at least one of the performance operators, i.e., when a performance operation is being performed on at least one of the 88 keys and three pedals. On the other hand, the performance determination unit 15 determines that a performance is not being performed by a performer when a performance operation is not being performed on any of the performance operators, i.e., when a performance operation is not being performed on any of the 88 keys and three pedals. The performance determination unit 15 determines whether or not a performance operation is being performed on each key based on the key operation information acquired by the key operation information acquisition unit 10, and determines whether or not a performance operation is being performed on each pedal based on the pedal operation information acquired by the pedal operation information acquisition unit 11.
[0065] In this embodiment, similarly to the first embodiment, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 controls the execution of switch processing in accordance with the result of the determination by the performance determination unit 15. That is, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the performance determination unit 15 determines that no performance is being performed, the switch processing execution unit 16 executes switch processing associated with the operated first operation switch, and if the performance determination unit 15 determines that performance is being performed, the switch processing execution unit 16 does not execute switch processing associated with the operated first operation switch.
[0066] With this configuration, it is possible to suitably determine whether a performer is performing a performance based on whether a performance operation is being performed on at least one of the performance controls, and to suitably control the execution of switch processing according to the result of this determination.
[0067] As described above, the performance operators of the electronic keyboard instrument 100 include a plurality of keys and a plurality of pedals. Therefore, according to the configuration of this embodiment, it is possible to detect that a performance is being performed not only when the performer is performing a performance operation on the keys, but also when the performer is performing a performance operation on the pedals while not performing a performance operation on the keys, and to appropriately control the execution of switch processing.
[0068] The operation of the electronic keyboard instrument 100 according to this embodiment, which has the above-described physical and functional configuration, will be described below, focusing on the differences from the operation of the electronic keyboard instrument 100 according to the first embodiment. In step S105 of the main routine process shown in the flowchart of Fig. 5, the electronic keyboard instrument 100 according to this embodiment executes the switch control process shown in the flowchart of Fig. 7 instead of the switch control process shown in the flowchart of Fig. 6.
[0069] 7 is started, first, the switch operation information acquisition unit 12 acquires switch operation information from the operation switch interface 110 (step S301). After executing the process of step S301, the switch process execution unit 16 determines whether any of the second operation switches constituting the second operation switch group 105 has been operated, based on the switch operation information acquired in step S301 (step S302). If it is determined in step S302 that none of the second operation switches has been operated (step S302; No), the process proceeds to step S304. On the other hand, if it is determined that any of the second operation switches has been operated (step S302; Yes), the switch process execution unit 16 identifies the operated second operation switch based on the switch operation information acquired in step S301, and executes switch process associated with the identified second operation switch (step S303).
[0070] After executing the process of step S303, the process proceeds to step S304. In step S304, the switch process execution unit 16 determines whether any of the multiple first operation switches constituting the first operation switch group 104 has been operated, based on the switch operation information acquired in step S301 (step S304). If it is determined in step S304 that none of the first operation switches has been operated (step S304; No), the switch process execution unit 16 ends the switch control process. On the other hand, if it is determined that any of the first operation switches has been operated (step S304; Yes), the switch process execution unit 16 determines whether the current control mode of the electronic keyboard instrument 100 is the operation lock ON mode (step S305).
[0071] If it is determined in step S305 that the control mode is the operation lock ON mode (step S305; Yes), the switch processing execution unit 16 ends the switch control processing. On the other hand, if it is determined that the control mode is not the operation lock ON mode (step S305; No), the switch processing execution unit 16 determines whether the current control mode of the electronic keyboard instrument 100 is the operation lock AUTO mode (step S306). If it is determined in step S306 that the control mode is not the operation lock AUTO mode (step S306; No), that is, if it is determined that the control mode is the operation lock OFF mode, the processing proceeds to step S314. On the other hand, if it is determined in step S306 that the control mode is the operation lock AUTO mode (step S306; Yes), the CPU 111 executes a performance operator flag update process that updates the value of the performance operator flag (step S307). The performance operator flag and the performance operator flag update process will be described below.
[0072] The electronic keyboard instrument 100 has a total of 91 performance controls, including 88 keys on a keyboard 101 and three pedals on a pedal unit 102. In this embodiment, a number from "0" to "90" is uniquely assigned to each performance control as an identifier. Specifically, a number from "0" to "87" is uniquely assigned to each of the 88 keys on the keyboard 101 as an identifier. Furthermore, a number from "88" to "90" is uniquely assigned to each of the three pedals on the pedal unit 102, namely, a soft pedal 102a, a sostenuto pedal 102b, and a damper pedal 102c, as an identifier.
[0073] In this embodiment, a storage area of the RAM 112c is provided with 91 performance operator flags that indicate whether a performance operation is being performed on each of the 91 performance operators provided on the electronic keyboard instrument 100. A number from "0" to "90" is uniquely assigned to each performance operator flag in advance as an identifier. The value of each performance operator flag is set to either "0" or "1" depending on whether a performance operation is being performed on a performance operator associated with the same number as the performance operator flag. Specifically, the value of each performance operator flag is set to "0" if no performance operation is being performed on the corresponding performance operator, and to "1" if a performance operation is being performed on the corresponding performance operator. For example, the value of the performance operator flag associated with the number "3" is set to "0" if no performance operation is being performed on the key associated with the number "3," and to "1" if a performance operation is being performed on that key.
[0074] In this embodiment, in the initialization process executed in step S101 of the main routine process shown in the flowchart of FIG. 5, each performance operator flag is cleared and the value of each performance operator flag is set to the initial value "0".
[0075] 7, in the performance operator flag update process of step S307, the CPU 111 updates the values of each performance operator flag in accordance with the key operation information acquired in step S102 of the main routine process and the pedal operation information acquired in step S103 of the main routine process. That is, the CPU 111 identifies keys and pedals for which no performance operation is currently being performed based on the key operation information and pedal operation information, and sets the values of the performance operator flags corresponding to the identified keys and pedals to "0." The CPU 111 also identifies keys and pedals for which performance operation is currently being performed based on the key operation information and pedal operation information, and sets the values of the performance operator flags corresponding to the identified keys and pedals to "1."
[0076] After executing the performance operator flag update process in step S307, the performance determination unit 15 sets the second process number to "0," which is the smallest number among the numbers associated as identifiers with each performance operator (step S308). After executing the process in step S308, the performance determination unit 15 determines whether a performance operation is being performed on a performance operator associated as an identifier with the second process number by determining whether the value of the performance operator flag associated as an identifier with the currently set second process number is "1" (step S309). For example, if the currently set second process number is "0," the performance determination unit 15 determines whether a performance operation is being performed on a key associated with the number "0" by determining whether the value of the performance operator flag associated with the number "0" is "1."
[0077] If it is determined in step S309 that a performance operation has not been performed on the performance operator associated with the second process number (step S309; No), i.e., if it is determined that the value of the performance operator flag associated with the second process number is not "1," the performance determination unit 15 determines whether the currently set second process number is the largest number among the numbers associated as identifiers with each performance operator, i.e., "90" (step S311). If it is determined in step S311 that the currently set second process number is not "90" (step S311; No), the performance determination unit 15 increments the second process number by 1 (step S310), and the process returns to step S309. While incrementing the second process number by 1 (step S310), the performance determination unit 15 repeatedly executes the determination of step S309 to determine whether a performance operation has been performed on each performance operator provided on the electronic keyboard instrument 100.
[0078] In step S311, when it is determined that the currently set second process number is "90" (step S311; Yes), the performance determination unit 15 determines that no performance is being performed (step S312). With this configuration, the performance determination unit 15 determines that no performance is being performed when no performance operation is being performed on any of the performance operators provided on the electronic keyboard instrument 100. After executing the process of step S312, the process proceeds to step S314. In step S314, the switch process execution unit 16 identifies the first operation switch operated by the performer based on the switch operation information acquired in step S301, and executes the switch process associated with the identified first operation switch (step S314). With this configuration, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, and the performance determination unit 15 determines that no performance is being performed, the switch process execution unit 16 executes the switch process associated with the operated first operation switch. After executing the process of step S314, the switch process execution unit 16 ends the switch control process.
[0079] In step S309, if it is determined that a performance operation is being performed on the performance operator associated with the second processing number (step S309; Yes), that is, if it is determined that the value of the performance operator flag associated with the second processing number is "1", the performance determination unit 15 determines that a performer is performing a performance (step S313). With this configuration, the performance determination unit 15 determines that a performance is being performed when a performance operation is being performed on at least one of the performance operators provided on the electronic keyboard instrument 100. After executing the process of step S313, the switch process execution unit 16 ends the switch control process without executing the process of step S314. With this configuration, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, and the performance determination unit 15 determines that a performance is being performed, the switch process execution unit 16 does not execute the switch process associated with the operated first operation switch.
[0080] As explained above, the performance determination unit 15 of the electronic keyboard instrument 100 according to this embodiment determines whether a performance operation is being performed based on whether a performance operation is being performed on at least one of a plurality of performance operators that accept performance operations by the performer. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 of the electronic keyboard instrument 100 according to this embodiment controls the execution of switch processing based on the result of the determination by the performance determination unit 15. With this configuration, the execution of switch processing can be suitably controlled.
[0081] As described above, the electronic keyboard instrument 100 according to this embodiment includes a plurality of performance operators including a plurality of keys and a plurality of pedals. This configuration allows for optimal control of the execution of switch processing.
[0082] (Variation) Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present invention.
[0083] For example, in the first and second embodiments, when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the first operation switch is operated at a timing before a predetermined reference time (e.g., one second) has elapsed since the performance determination unit 15 determined that no performance is being performed, without the performance determination unit 15 determining that performance is being performed, the switch processing execution unit 16 may be configured not to execute the switch processing associated with the operated first operation switch. In this modified example, when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, if the first operation switch is operated at a timing after the performance determination unit 15 determined that no performance is being performed, but after the reference time has elapsed since the performance determination unit 15 determined that no performance is being performed, without the performance determination unit 15 determining that performance is being performed, the switch processing execution unit 16 executes the switch processing associated with the operated first operation switch.
[0084] Specifically, in this modified example, a non-performance time timer that measures non-performance time, which is the time that has elapsed since the performance determination unit 15 determined that no performance is being performed, is provided in a storage area of the RAM 112c. The non-performance time timer starts measuring the non-performance time in response to the performance determination unit 15 determining that no performance is being performed. When the performance determination unit 15 determines that performance is being performed, the measurement of the non-performance time by the non-performance time timer is stopped and the timer value of the non-performance time is cleared. The switch process execution unit 16 determines whether the non-performance time indicated by the timer value of the non-performance time timer at the time when the first operation switch is operated is equal to or longer than a reference time, and whether the time is before the reference time has elapsed since the performance determination unit 15 determined that no performance is being performed, without the performance determination unit 15 determining that performance is being performed.
[0085] When the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the performance determination unit 15 may determine that a performance is not being performed in response to a temporary interruption of a performance operation during a performance. For example, a performance may be determined to be not being performed when a player releases their hands from the keys to turn pages of the music score, temporarily interrupting the performance. According to the configuration of this modified example, if a first operation switch is operated unintentionally by the player after it is determined that a performance operation is not being performed in response to the interruption of the performance operation, switch processing is not executed if the operation occurs before a reference time has elapsed since it was determined that a performance operation is not being performed. For example, if a player's body or clothing accidentally touches the first operation switch while reaching out to turn pages of the music score after it is determined that a performance operation is not being performed in response to an interruption of the performance operation due to the player releasing their hands from the keys to turn pages of the music score, switch processing is not executed if the contact occurs before a reference time has elapsed since it was determined that a performance operation is not being performed. Therefore, the configuration of this modified example can reduce the possibility that a performance will be hindered due to a switch process being executed against the performer's intention.
[0086] In the above-described first and second embodiments, it has been described that after it is determined that the first operation switch has been operated, the control mode of the electronic keyboard instrument 100 and whether or not a performance is being performed are determined, and the execution of switch processing is controlled according to the results of these determinations. However, this is merely an example, and the control mode of the electronic keyboard instrument 100 and whether or not a performance is being performed may be determined before determining whether or not the first operation switch has been operated. In this modified example, when it is determined that the control mode of the electronic keyboard instrument 100 is the operation lock ON mode, or when it is determined that the control mode is the operation lock AUTO mode and it is determined that a performance is being performed, the determination of whether or not the first operation switch has been operated is not performed. In contrast, when it is determined that the control mode of the electronic keyboard instrument 100 is the operation lock OFF mode, or when it is determined that the control mode of the electronic keyboard instrument 100 is the operation lock AUTO mode and it is determined that no performance is being performed, the determination of whether or not the first operation switch has been operated is performed, and the execution of switch processing is controlled according to the result of the determination. That is, if it is determined that the first operation switch has been operated, the switch processing associated with the operated first operation switch is executed, whereas if it is determined that the first operation switch has not been operated, the switch processing is not executed. With this configuration, when the electronic keyboard instrument 100 is operating in the operation lock AUTO mode and a performance is being performed, that is, when the switch processing associated with the first operation switch is not executed even if the first operation switch has been operated, unnecessary determinations as to whether the first operation switch has been operated are not executed, thereby reducing the processing load.
[0087] In the first embodiment, the performance determination unit 15 determines whether waveform signals are being generated for all of the waveform generators 113d included in the sound source LSI 113, and determines whether performance is being performed based on the results of the determination. However, this is merely an example. Below, we will explain a modified example in which the performance determination unit 15 determines whether waveform signals are being generated for some of the waveform generators 113d included in the sound source LSI 113, and determines whether performance is being performed based on the results of the determination.
[0088] The electronic keyboard instrument 100 according to this modification has an accompaniment function and a metronome function. When the accompaniment function is ON, the electronic keyboard instrument 100 produces predetermined accompaniment sounds regardless of whether the performer is performing performance operations on the performance controls, i.e., whether the performer is performing performance operations on the performance controls or not. When the metronome function is ON, the electronic keyboard instrument 100 produces predetermined metronome sounds regardless of whether the performer is performing performance operations on the performance controls. Specifically, in this modification, the sound source LSI 113, under the control of the CPU 111, generates accompaniment sound signals representing accompaniment sounds and metronome sound signals representing metronome sounds, and outputs them to the sound system 114. The sound system 114 then outputs the accompaniment sounds and metronome sounds according to the input accompaniment sound signals and metronome sound signals.
[0089] In this modification, each waveform generator 113d included in the sound source LSI 113 belongs to either a first waveform generator group or a second waveform generator group. Each of the first waveform generator group and the second waveform generator group is made up of at least one waveform generator 113d. For ease of understanding, hereinafter, the waveform generator 113d that constitutes the first waveform generator group will be referred to as the "first waveform generator," and the waveform generator 113d that constitutes the second waveform generator group will be referred to as the "second waveform generator."
[0090] Each first waveform generator constituting the first waveform generator group generates a waveform signal that is used by the sound source LSI 113 to generate a musical sound signal representing a musical tone. That is, the DSP 113b of the sound source LSI 113 performs signal processing on the waveform signals input from each first waveform generator and mixes the processed waveform signals together to generate a musical sound signal. Each second waveform generator constituting the second waveform generator group generates a waveform signal that is used by the sound source LSI 113 to generate the above-mentioned accompaniment sound signal and metronome sound signal. That is, the DSP 113b mixes the waveform signals input from each second waveform generator together to generate the accompaniment sound signal and metronome sound signal.
[0091] Each first waveform generator generates a waveform signal in response to performance operations on the multiple performance operators of the electronic keyboard instrument 100, i.e., the 88 keys and three pedals. On the other hand, each first waveform generator does not generate a waveform signal when no performance operations are being performed on any of the multiple performance operators of the electronic keyboard instrument 100. In contrast, each second waveform generator generates a waveform signal when the accompaniment function or metronome function is ON and it is time to produce an accompaniment sound or metronome sound, regardless of whether a performance operation is being performed on the performance operators. In other words, each second waveform generator generates a waveform signal in response to factors other than performance operations on the performance operators. Note that when the accompaniment function or metronome function is OFF, each second waveform generator does not generate a waveform signal.
[0092] The performance determination unit 15 according to this modification determines whether a performance is occurring depending on whether the first waveform generator is generating a waveform signal, regardless of whether the second waveform generator is generating a waveform signal. Specifically, the performance determination unit 15 determines that a performance is occurring when at least one of the first waveform generators is generating a waveform signal, when at least one of the second waveform generators is generating a waveform signal, and when none of the second waveform generators is generating a waveform signal. On the other hand, the performance determination unit 15 determines that a performance is not occurring when none of the first waveform generators is generating a waveform signal, when at least one of the second waveform generators is generating a waveform signal, and when none of the second waveform generators is generating a waveform signal.
[0093] In this modified example, as in the first and second embodiments, when an operation is performed on the first operation switch while the electronic keyboard instrument 100 is operating in the operation lock AUTO mode, the switch processing execution unit 16 controls the execution of the switch processing in accordance with the result of the judgment by the performance judgment unit 15.
[0094] With this configuration, when a performance operation is being performed on at least one of the performance operators, even if none of the second waveform generators is generating a waveform signal, it is determined that a performance is being performed based on the fact that at least one of the first waveform generators is generating a waveform signal, and the execution of the switch processing is controlled in accordance with the result of this determination. Furthermore, when a performance operation is not being performed on any of the performance operators, even if at least one of the second waveform generators is generating a waveform signal, it is determined that no performance operation is being performed based on the fact that none of the first waveform generators are generating a waveform signal, and the execution of the switch processing is controlled in accordance with the result of this determination. That is, with this configuration, it is possible to suitably determine whether a performer is performing a performance based on whether at least one of the first waveform generators is generating a waveform signal, and to suitably control the execution of the switch processing in accordance with the result of this determination. Furthermore, with this configuration, it is possible to determine whether a performance is being performed without taking into account whether the second waveform generator is generating a waveform signal, thereby reducing the processing load compared to when determining whether waveform signals are being generated for all of the waveform generators 113d included in the sound source LSI 113.
[0095] It is possible to provide a dedicated electronic musical instrument that is already equipped with the components required to implement the functions of the present invention as the electronic musical instrument of the present invention, and also to make an existing electronic musical instrument function as the electronic musical instrument of the present invention by applying a program to the existing electronic musical instrument. That is, by applying a program to a processor such as a CPU that controls the existing electronic musical instrument so that the program for implementing the functions of the electronic musical instrument of the present invention can be executed, the existing electronic musical instrument can be made to function as the electronic musical instrument of the present invention.
[0096] The application method of such a program is arbitrary. The program can be applied by storing it on a computer-readable storage medium such as a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disc)-ROM, or a memory card. Furthermore, the program can be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program can be distributed by posting it on a bulletin board system (BBS) on a communication network. The program can then be started and executed under the control of an operating system (OS) in the same way as other application programs, thereby enabling the above-mentioned processing to be performed.
[0097] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the specific embodiments, and the present invention includes the inventions described in the claims and their equivalents. The inventions described in the original claims of this application are appended below.
[0098] (Appendix 1) at least one function operator associated with a process, which is operated by a performer; a performance determination means for determining whether or not a performance is being performed; a process execution means for executing a process associated with the function operator in response to an operation on the function operator; Equipped with The processing execution means When the function operator is operated and the performance determination means determines that no performance is being performed, a process associated with the function operator is executed; When the function operator is operated and the performance determination means determines that a performance is being performed, the process associated with the function operator is not executed. An electronic musical instrument characterized by:
[0099] (Appendix 2) The processing execution means If the function operator is operated at a timing before a reference time has elapsed since the performance determination means determined that no performance is being performed, without the performance determination means determining that a performance is being performed, the process associated with the function operator is not executed, When the function operator is operated at a timing after the performance determination means determines that no performance is being performed and the reference time has elapsed without the performance determination means determining that a performance is being performed, a process associated with the function operator is executed. 2. The electronic musical instrument according to claim 1,
[0100] (Appendix 3) a sound source that generates a musical tone signal representing a musical tone; a musical sound output means for outputting musical sounds in response to the musical sound signal; Furthermore, The sound source is a plurality of waveform generators for generating waveform signals; generating the musical tone signal in response to the waveform signals generated by the plurality of waveform generators; the performance determination means determines whether performance is being performed based on whether at least one of the plurality of waveform generators is generating a waveform signal. 3. The electronic musical instrument according to claim 1 or 2.
[0101] (Appendix 4) further comprising a plurality of performance operators that accept performance operations by a performer; the plurality of waveform generators include at least one first waveform generator and at least one second waveform generator; The first waveform generator generating waveform signals in response to performance operations on the plurality of performance operators; When no performance operation is performed on any of the plurality of performance operators, no waveform signal is generated; the second waveform generator generates a waveform signal in response to a factor different from the performance operations on the plurality of performance operators; the performance determination means determines whether performance is being performed depending on whether the first waveform generator is generating a waveform signal, regardless of whether the second waveform generator is generating a waveform signal. 4. The electronic musical instrument according to claim 3.
[0102] (Appendix 5) further comprising a plurality of performance operators that accept performance operations by a performer; the performance determination means determines whether or not a performance is being performed depending on whether or not a performance operation is being performed on at least one of the plurality of performance operators. 3. The electronic musical instrument according to claim 1 or 2.
[0103] (Appendix 6) The plurality of performance operators include a plurality of keys and at least one pedal. 6. The electronic musical instrument according to claim 5,
[0104] (Appendix 7) a performance determination step of determining whether or not a performance is being performed; a process execution step of accepting an operation by a performer and executing a process associated with at least one function operator in response to the operation on the function operator; Including, In the processing execution step, When the function operator is operated and it is determined in the performance determination step that no performance is being performed, a process associated with the function operator is executed; When the function operator is operated and it is determined in the performance determination step that a performance is being performed, the process associated with the function operator is not executed. 10. A method for controlling an electronic musical instrument comprising:
[0105] (Appendix 8) Computer, a performance determination means for determining whether or not a performance is being performed; a process execution means for accepting an operation by a performer and for executing a process associated with at least one function operator in response to the operation on the function operator; It functions as The processing execution means When the function operator is operated and the performance determination means determines that no performance is being performed, a process associated with the function operator is executed; When the function operator is operated and the performance determination means determines that a performance is being performed, the process associated with the function operator is not executed. A program characterized by: [Explanation of symbols]
[0106] 10...Key operation information acquisition section, 11...Pedal operation information acquisition section, 12...Switch operation information acquisition section, 13...Generator operation information acquisition section, 14...Musical sound output control section, 15...Performance determination section, 16...Switch processing execution section, 100...Electronic keyboard instrument, 101...Keyboard, 102...Pedal unit, 102a...Soft pedal, 102b...Sostenuto pedal, 102c...Damper pedal, 102d...Connection cable, 103...Display, 104...First operation switch group, 104a...Volume adjustment switch, 104b...Pitch adjustment switch, 104c...Tone selection switch, 105...Second operation switch a group of switches, 105a power switch, 105b mode selection switch, 106 keyboard interface, 107 pedal interface, 108 input / output interface, 109 display control circuit, 110 operation switch interface, 111 CPU, 112 storage unit, 112a ROM, 112b non-volatile memory, 112c RAM, 113 sound source LSI, 113a waveform generator, 113b DSP, 113c bus interface, 113d waveform generator, 113e channel, 114 sound system, 115 system bus
Claims
1. at least one first function operator associated with a process and operable by a player; a performance determination means for determining whether or not a performance is being performed depending on whether or not a performance operation is being performed on at least one of the plurality of performance operators, or depending on whether or not at least one of the plurality of waveform generators is generating a waveform signal; a process execution means for executing a process associated with the first function operator in response to an operation on the first function operator; a mode selection means for selecting one of a control mode from an operation lock-off mode, an operation lock-on mode, and an operation lock auto mode; Equipped with When the operation lock-off mode is selected by the mode selection means, the process execution means executes a process associated with the first function operator when the first function operator is operated, When the operation lock-on mode is selected by the mode selection means, the process execution means does not execute a process associated with the first function operator when an operation is performed on the first function operator, When the operation lock auto mode is selected by the mode selection means, the process execution means executes the process associated with the first function operator when the performance determination means determines that no performance is being performed when the first function operator is operated, and does not execute the process associated with the first function operator when the performance determination means determines that a performance is being performed when the first function operator is operated. An electronic musical instrument characterized by:
2. When the operation lock-on mode is selected by the mode selection means, the performance determination means does not determine whether or not a performance is being performed.
2. The electronic musical instrument according to claim 1.
3. a sound source for generating a musical tone signal representing a musical tone; the sound source comprises the plurality of waveform generators; the plurality of waveform generators generate waveform signals; the sound source generates the musical tone signal in response to the waveform signals generated by the plurality of waveform generators.
2. The electronic musical instrument according to claim 1.
4. Further comprising the plurality of performance operators, the plurality of performance operators accept performance operations by a performer; the plurality of waveform generators include at least one first waveform generator and at least one second waveform generator; The first waveform generator generating waveform signals in response to performance operations on the plurality of performance operators; When no performance operation is performed on any of the plurality of performance operators, no waveform signal is generated; the second waveform generator generates a waveform signal in response to a factor different from the performance operations on the plurality of performance operators; the performance determination means determines whether performance is being performed depending on whether the first waveform generator is generating a waveform signal, regardless of whether the second waveform generator is generating a waveform signal.
4. The electronic musical instrument according to claim 3.
5. Further comprising the plurality of performance operators, the plurality of performance operators accept performance operations by a performer; 2. The electronic musical instrument according to claim 1.
6. The plurality of performance operators include a plurality of keys and at least one pedal.
6. The electronic musical instrument according to claim 5.
7. further comprising at least one second function operator; When the second function operator is operated, a process associated with the second function operator is executed regardless of the determination result by the performance determination means as to whether or not a performance is being performed.
2. The electronic musical instrument according to claim 1.
8. the first function operator includes at least one of a volume adjustment means, a pitch adjustment means, and a tone color selection means; the second function operator includes at least one of a power switch and the mode selection means; 8. The electronic musical instrument according to claim 7.
9. A performance determination step for determining whether or not a performance is being performed depending on whether or not a performance operation is being performed on at least one of a plurality of performance operators, or depending on whether or not at least one of a plurality of waveform generators is generating a waveform signal; a process execution step of accepting an operation by a performer, and executing a process associated with at least one first function operator in response to the operation on the first function operator associated with the process; a mode selection step of selecting one of an operation lock-off mode, an operation lock-on mode, and an operation lock auto mode; Including, When the operation lock-off mode is selected in the mode selection step, the process execution step executes a process associated with the first function operator when the first function operator is operated; When the operation lock-on mode is selected in the mode selection step, in the process execution step, when an operation is performed on the first function operator, the process corresponding to the first function operator is not executed, When the operation lock auto mode is selected in the mode selection step, in the processing execution step, when an operation is performed on the first function operator and it is determined in the performance determination step that no performance is being performed, a processing corresponding to the first function operator is executed, and when an operation is performed on the first function operator and it is determined in the performance determination step that a performance is being performed, the processing corresponding to the first function operator is not executed.
10. A method for controlling an electronic musical instrument comprising:
10. Computer, a performance determination means for determining whether or not a performance is being performed depending on whether or not a performance operation is being performed on at least one of the plurality of performance operators, or depending on whether or not at least one of the plurality of waveform generators is generating a waveform signal; a process execution means for accepting an operation by a player and for executing a process associated with at least one first function operator in response to the operation on the first function operator; a mode selection means for selecting one of a control mode from an operation lock-off mode, an operation lock-on mode, and an operation lock auto mode; It functions as When the operation lock-off mode is selected by the mode selection means, the process execution means executes a process associated with the first function operator when the first function operator is operated, When the operation lock-on mode is selected by the mode selection means, the process execution means does not execute a process associated with the first function operator when an operation is performed on the first function operator, When the operation lock auto mode is selected by the mode selection means, the process execution means executes the process associated with the first function operator when the performance determination means determines that no performance is being performed when the first function operator is operated, and does not execute the process associated with the first function operator when the performance determination means determines that a performance is being performed when the first function operator is operated. A program characterized by:
Citation Information
Patent Citations
electronic musical instrument
JP1992044669U
Electronic musical instrument
JP1994222765A
Method and device for controlling response of manipulator and record medium recording program for controlling response of manipulator
JP1999175241A
Panel controller of electronic musical instrument
JP2003044048A
Electronic stringed musical instrument
JP2013057953A