Electronic musical instrument, control method thereof, and computer program product

By introducing a performance determination and processing execution unit into an electronic musical instrument, the processing of the function operator controls the performance state according to the performance state, the problem of musical tone interference caused by misoperation is solved, and the continuity of the performance is improved and the operation burden is reduced.

CN115376476BActive Publication Date: 2025-08-05CASIO COMPUTER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210553849.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-21
Filing Date
2022-05-20
Publication Date
2025-08-05
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

During the playing of existing electronic instruments, the player may misoperate the function operation parts and cause processing other than the pronunciation of the musical sound, which affects the performance fluency and increases the operating burden.

Method used

The electronic musical instrument is provided with a performance determination unit and a processing execution unit to control the execution of the switch processing according to the operation and performance status of the functional operators, to ensure that only necessary musical tone processing is performed during the performance, and to suppress interference caused by erroneous operation.

Benefits of technology

It effectively suppresses the musical tone interference caused by misoperation in the performance, reduces the operating burden of the performer, and improves the continuity and fluency of the performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115376476B_ABST
    Figure CN115376476B_ABST
Patent Text Reader

Abstract

The present invention provides an electronic musical instrument, a control method for the electronic musical instrument, and a storage medium. The electronic keyboard musical instrument (100) comprises: at least one first operation switch that receives an operation by a performer and corresponds to a switch process; a performance determination unit (15) that determines whether a performance is being performed; and a switch process execution unit (16) that executes a switch process corresponding to the first operation switch based on the operation on the first operation switch. When the first operation switch is operated and the performance determination unit (15) determines that no performance is being performed, the switch process execution unit (16) executes the switch process corresponding to the first operation switch. When the first operation switch is operated 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 corresponding to the first operation switch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic musical instrument, a control method of the electronic musical instrument, and a storage medium. Background Art

[0002] Electronic musical instruments are known that produce musical tones in response to a performer's operation of a performance operating member, and that perform processing other than producing the musical tones in response to the performer's operation of an operating member different from the performance operating member. For example, Japanese Patent Application Laid-Open No. 2021-43372 discloses an electronic music device that produces musical tones in response to a performer's operation of a keyboard having a performance operating member, and that performs processing other than producing the musical tones, namely, adjusting the volume, in response to the performer's operation of an operating switch having a setting operation portion. Summary of the Invention

[0003] The electronic musical instrument disclosed herein has:

[0004] At least one functional operating element that receives a performer's operation and processes the operation accordingly;

[0005] a performance determination unit that determines whether a performance is being performed; and

[0006] a processing execution unit that executes processing corresponding to the functional operation element according to the operation of the functional operation element;

[0007] When the functional operating element is operated and the performance determination unit determines that no performance is being performed, the processing execution unit executes a process corresponding to the functional operating element.

[0008] When the performance determination unit determines that a performance is being performed when the functional operating element is operated, the processing execution unit does not execute a process corresponding to the functional operating element. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a diagram showing the appearance of an electronic keyboard instrument according to the first embodiment of the present disclosure.

[0010] Figure 2 It is a diagram showing the electrical structure of the electronic keyboard instrument according to the first embodiment of the present disclosure.

[0011] Figure 3 This is a diagram showing the structure of a sound source LSI (Large Scale Integration) according to the first embodiment of the present disclosure.

[0012] Figure 4 It is a diagram showing the functional structure of the electronic keyboard instrument according to the first embodiment of the present disclosure.

[0013] Figure 5 This is a flowchart for explaining the main program processing executed by the electronic keyboard instrument according to the first embodiment of the present disclosure.

[0014] Figure 6 This is a flowchart for explaining the switch control process executed by the electronic keyboard instrument according to the first embodiment of the present disclosure.

[0015] Figure 7 This is a flowchart for explaining the switch control process executed by the electronic keyboard instrument according to the second embodiment of the present disclosure. DETAILED DESCRIPTION

[0016] Below, with reference to the attached Figure 1 The electronic keyboard instrument according to the first embodiment of the present disclosure will be described. In the drawings, the same or equivalent components are denoted by the same reference numerals.

[0017] Figure 1 The electronic keyboard instrument 100 shown has a plurality of playing operating members that accept playing operations by a user, that is, a player, who uses the electronic keyboard instrument 100 to perform music, and outputs musical sounds according to the playing operations on the playing operating members. The electronic keyboard instrument 100 is an example of an electronic musical instrument. Figure 1 As shown, the electronic keyboard instrument 100 includes a keyboard 101 , a pedal unit 102 , a display 103 , a first operation switch group 104 , and a second operation switch group 105 .

[0018] The keyboard 101 includes 88 keys serving as performance operating elements, which accept finger-pressing and key-release operations performed by the player. The electronic keyboard instrument 100 outputs musical tones in response to the key-pressing operations on the keys of the keyboard 101. Alternatively, the player may use a part of the body other than the fingers and hands, such as the elbow or foot, to perform performance operations on the keys.

[0019] The pedal unit 102 includes three pedals, which serve as performance operating elements and receive foot-operated performance operations. Specifically, the pedal unit 102 includes a soft pedal 102a, a damper pedal 102b, and a damper pedal 102c. The soft pedal 102a, damper pedal 102b, and damper pedal 102c correspond to the acoustic effects imparted to musical sounds produced by the acoustic piano when the player depresses the soft, damper, and damper pedals, respectively. Specifically, the soft pedal 102a corresponds to an acoustic effect that softens the timbre of the musical sound. The damper pedal 102b corresponds to an acoustic effect that prolongs the duration of the sound produced by the player depressing the damper pedal 102b. The damper pedal 102c corresponds to an acoustic effect that prolongs the duration of the sound produced by the player depressing the damper pedal 102b. When a player depresses the soft pedal 102a, the damper pedal 102b, or the damper pedal 102c and then presses a key on the keyboard 101, the electronic keyboard instrument 100 outputs a musical sound with an acoustic effect corresponding to the pedal being pressed. The pedal unit 102 is connected to an input / output interface 108, described later, via a connection cable 102d.

[0020] The display 103 displays various images such as an operation screen and a warning screen under the control of a display control circuit 109 described later.

[0021] The first operating switch group 104 and the second operating switch group 105 are each composed of a plurality of operating switches that are different from the performance operating elements and accept operations performed by the performer. Each operating switch is pre-associated with a different switch process, and in response to the performer's operation, an instruction to execute the corresponding switch process is accepted. A switch process is a process other than the production of musical sounds. Hereinafter, for ease of understanding, the operating switches that constitute the first operating switch group 104 will be referred to as "first operating switches," and the operating switches that constitute the second operating switch group 105 will be referred to as "second operating switches." The first operating switch is an example of a functional operating element, and the switch process associated with the first operating switch is an example of a process associated with the functional operating element.

[0022] The first operation switch group 104 consists of a volume adjustment switch 104a, a pitch adjustment switch 104b, and a timbre selection switch 104c. The volume adjustment switch 104a is the first operation switch corresponding to a switch process for adjusting the volume of a musical sound. The pitch adjustment switch 104b is the first operation switch corresponding to a switch process for adjusting the pitch of a musical sound. The timbre selection switch 104c is the first operation switch corresponding to a switch process for selecting the timbre of a musical sound. The electronic keyboard instrument 100 can output musical sounds in the timbres of various instruments, such as an acoustic piano, an organ, and a saxophone. By operating the timbre selection switch 104c, the performer can specify which instrument's timbre the electronic keyboard instrument 100 should use to output musical sounds. Furthermore, the first operation switch group 104 may include an operation switch corresponding to any desired switch process in addition to, or in place of, the volume adjustment switches 104a through timbre selection switches 104c.

[0023] 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 corresponding to the switch processing for switching the power of the electronic keyboard instrument 100 on and off. The mode selection switch 105b is a second operation switch corresponding to the switch processing for selecting the control mode of the electronic keyboard instrument 100. The electronic keyboard instrument 100 operates in any one of the control modes described below: the operation lock off (OFF) mode, the operation lock on (ON) mode, and the operation lock automatic (AUTO) mode. By operating the mode selection switch 105b, the performer can specify the control mode in which the electronic keyboard instrument 100 operates.

[0024] The electronic keyboard instrument 100 is based on the above-mentioned structures. Figure 2 As shown, it also has: 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 storage unit 112, a sound source LSI 113, an audio system 114 and a system bus 115.

[0025] The keyboard interface 106 includes a plurality of key sensors (not shown) that detect performance operations on the keys of the keyboard 101, generate key operation information corresponding to the detection results, and output the generated key operation information to the CPU 111. Specifically, when the keyboard interface 106 detects a key-press operation on a key, it detects a speed corresponding to the speed of the key-press operation, generates key operation information indicating the key number of the key-pressed key and the detected speed of the key-press, and outputs the generated key operation information to the CPU 111. When the keyboard interface 106 detects a key-release operation on a key, it detects a speed corresponding to the speed of the key-release operation, generates key operation information indicating the key number of the key-released key and the detected speed of the key-release, and outputs the generated key operation information to the CPU 111.

[0026] The pedal interface 107 includes multiple pedal sensors (not shown). These pedal sensors detect performance operations on the pedals provided on the pedal unit 102, generate pedal operation information corresponding to the detection results, and output the generated pedal operation information to the CPU 111. Specifically, when the pedal interface 107 detects a performance operation on a pedal, it detects the amount of pedal displacement corresponding to the amount of pedal operation. It then generates pedal operation information indicating the pedal for which the performance operation was performed and the detected pedal displacement, and outputs the information to the CPU 111. The pedal interface 107 is provided on 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 through wired communication via the connection cable 102d, and the information is then transmitted to the CPU 111 via the input / output interface 108.

[0027] The input / output interface 108 includes a wireless communication module and a wired communication module (neither of which are shown in the figure), and exchanges data with devices external to the electronic keyboard instrument 100 through wireless communication or wired communication. The input / output interface 108 includes a connection port (not shown) connected to the connection cable 102 d, and outputs the pedal operation information input from the pedal interface 107 through wired communication via the connection cable 102 d to the CPU 111.

[0028] The display control circuit 109 controls the display 103 according to the control of the CPU 111 , and causes the display 103 to display various images.

[0029] The operation switch interface 110 has a plurality of operation switch sensors not shown in the figure, which detect the operation of each first operation switch constituting the first operation switch group 104 and the operation of each second operation switch constituting the second operation switch group 105, generate switch operation information representing the detection results, and output the generated switch operation information to the CPU 111.

[0030] The CPU 111 controls each unit of the electronic keyboard instrument 100 according to the programs and data stored in the storage unit 112 .

[0031] The storage unit 112 includes a ROM (Read Only Memory) 112a and a nonvolatile memory 112b, such as a flash memory or EPROM (Erasable Programmable Read Only Memory), to which data can be written. These nonvolatile memory stores programs and data used by the CPU 111 to execute various processes. The ROM 112a pre-stores sound waveform data representing the sound waveforms of the various musical instruments described above. As described later, the sound waveform data stored in the ROM 112a is used by the sound source LSI 113 to generate a musical sound signal representing the musical sound. In addition to the ROM 112a and nonvolatile memory 112b, the storage unit 112 further includes a RAM (Random Access Memory) 112c, which serves as a work area for the CPU 111.

[0032] The sound source LSI 113 generates a musical sound signal representing a musical sound under 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 sound signal representing the sound 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.

[0033] The sound system 114 outputs musical sound based on the musical sound signal input from the sound source LSI 113. The sound system 114 is an example of a musical sound output unit. Specifically, the sound system 114 includes a DAC (Digital to Analog Converter), an amplifier, and a speaker, all of which are not shown. The DAC converts the musical sound signal input from the sound source LSI 113 into an analog sound signal, the amplifier amplifies the analog sound signal, and the speaker produces the amplified analog sound signal. In addition, the sound system 114 can also output the analog signal amplified by the amplifier to an external device such as headphones via an output terminal (not shown) instead of producing sound through the speaker.

[0034] The system bus 115 is a data and command transmission path, and interconnects the keyboard interface 106 , the input / output interface 108 , the display control circuit 109 , the operation switch interface 110 , the CPU 111 , the storage unit 112 , and the sound source LSI 113 .

[0035] Below, refer to Figure 3 The details of the generation of the musical sound signal by the sound source LSI 113 will be described. Figure 3As shown, the sound source LSI 113 includes 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 the DSP 113b are connected to the system bus 115 via the bus interface 113c, and exchange data with various components of the electronic keyboard instrument 100, including the CPU 111 and the ROM 112a, via the bus interface 113c and the system bus 115.

[0036] Each waveform generator 113d in the waveform generating device 113a reads waveform data stored in the ROM 112a under the control of the CPU 111 and generates a waveform signal representing the sound waveform based on the read waveform data. Each waveform generator 113d outputs the generated waveform signal to the DSP 113b via a different channel 113e. Each of the 256 waveform generators 113d is uniquely associated with a number from "0" to "255" as an identifier. The 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 the CPU 111.

[0037] DSP113b generates a musical sound signal based on the waveform signal input from waveform generator 113d. Specifically, under the control of CPU111, DSP113b performs signal processing on the waveform signals input from each waveform generator 113d, mixing the processed waveform signals to generate the musical sound signal. Specifically, DSP113b performs signal processing on the waveform signals input from each waveform generator 113d so that the sound waveform represented by the waveform signal changes according to the parameters indicated by musical sound parameter information input from CPU111, which specifies the parameters of the musical sound. Furthermore, DSP113b performs signal processing on the waveform signals input from each waveform generator 113d so that the sound effects indicated by effect information input from CPU111, which specifies the acoustic effects to be added to the musical sound, are added to the musical sound. DSP113b outputs the generated musical sound signal to sound system 114.

[0038] like Figure 4As shown, the electronic keyboard instrument 100 having the above-described physical structure functionally includes a key operation information acquisition unit 10, a pedal operation information acquisition unit 11, a switch operation information acquisition unit 12, a generator operation information acquisition unit 13, a musical sound output control unit 14, a musical performance determination unit 15, and a switch processing execution unit 16. The key operation information acquisition unit 10 through the switch processing execution unit 16 are implemented by the CPU 111. Specifically, the CPU 111 executes a program stored in the ROM 112a to control the various components of the electronic keyboard instrument 100, thereby functioning as the key operation information acquisition unit 10 through the switch processing execution unit 16.

[0039] The key operation information acquisition unit 10 acquires the key operation information described above from the keyboard interface 106. The pedal operation information acquisition unit 11 acquires the pedal operation information described above from the pedal interface 107. The switch operation information acquisition unit 12 acquires the switch operation information described above from the operation switch interface 110. The generator operation information acquisition unit 13 acquires the generator operation information described above from the waveform generator 113a of the sound source LSI 113.

[0040] The musical sound output control unit 14 causes the sound system 114, serving as a musical sound output unit, to output musical sounds corresponding to the player's musical operation on the keys and pedals serving as the musical operation elements. Specifically, the musical sound output control unit 14 causes the sound source LSI 113 to generate musical sound signals based on 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, and outputs the generated musical sound signals to the sound system 114, causing the sound system 114 to output musical sounds based on 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 sound based on the key operation information, determines musical sound parameters based on the determined pitch, volume, and timbre, and outputs musical sound parameter information representing the determined musical sound parameters to the DSP 113b of the sound source LSI 113. The DSP 113b performs signal processing on the waveform signals input from the waveform generators 113d included in the waveform generating device 113a of the sound source LSI 113, causing the sound waveform represented by the waveform signals to change according to the parameters indicated by the musical sound parameter information input from the CPU 111. By mixing the waveform signals subjected to this signal processing, a musical sound signal representing a musical sound having the pitch, volume, and timbre determined by the CPU 111 is generated. Furthermore, the musical sound output control unit 14 determines the acoustic effect to be added to the musical sound based on the pedal operation information and outputs effect information indicating the determined acoustic effect to the DSP 113b. The DSP 113b performs signal processing on the waveform signals input from the waveform generators 113d, thereby adding the acoustic effect indicated by the effect information input from the CPU 111 to the musical sound. By mixing the waveform signals subjected to this signal processing, a musical sound signal representing the musical sound to which the acoustic effect determined by the CPU 111 is added is generated.

[0041] The performance determination unit 15 determines whether the performer is performing a performance using the electronic keyboard instrument 100. The performance determination unit 15 is an example of a performance determination unit. 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 generates a waveform signal. That is, the performance determination unit 15 determines that the performer is performing a performance when at least one of the 256 waveform generators 113d generates a waveform signal. On the other hand, the performance determination unit 15 determines that the performer is not performing a performance when none of the 256 waveform generators 113d generates a waveform signal. The performance determination unit 15 determines whether each waveform generator 113d generates a waveform signal based on the generator action information obtained by the generator action information acquisition unit 13.

[0042] In response to the operation of the first or second operating switch, the switch processing execution unit 16 executes the switch processing corresponding to the operated operating switch. The switch processing execution unit 16 is an example of a processing execution unit. The switch processing execution unit 16 detects the operation of the first or second operating switch based on the switch operation information acquired by the switch operation information acquisition unit 12.

[0043] When the first operation switch is operated, the switch process execution unit 16 controls the execution of a switch process based on 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 the operation lock-off mode, in which operation of the first operation switch is valid, the switch process execution unit 16 executes the switch process corresponding to the operated first operation switch. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation lock-on mode, in which operation of the first operation switch is invalid, the switch process execution unit 16 does not execute the switch process corresponding to the operated first operation switch.

[0044] When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, the switch process execution unit 16 controls the execution of a switch process based on the determination result of the performance determination unit 15. Specifically, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, if the performance determination unit 15 determines that the player is not performing a performance, the switch process execution unit 16 executes the switch process corresponding to 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-locked automatic mode, if the performance determination unit 15 determines that the player is performing a performance, the switch process execution unit 16 does not execute the switch process corresponding to the operated first operation switch.

[0045] According to this configuration, when the electronic keyboard instrument 100 is operating in the operation-lock automatic mode and the performer interrupts their performance to operate the first operation switch, the switch process is executed. On the other hand, if the performer's body or clothing accidentally comes into contact with the first operation switch during the performance, causing the first operation switch to be operated against the performer's intention, the switch process is not executed. Therefore, according to this configuration, the possibility of performance being disrupted by the switch process being executed against the performer's intention, other than to produce musical sounds. Furthermore, according to this configuration, when the electronic keyboard instrument 100 is operating in the operation-lock automatic mode, the switch process is switched on or off when the first operation switch is operated, based on the determination result of the performance determination unit 15. Therefore, according to this configuration, the performer's operational burden can be reduced compared to a situation where the performer switches the control mode of the electronic keyboard instrument 100 by operating the mode selection switch 105b to switch the switch process on or off.

[0046] As described above, the performance determination unit 15 determines whether a performance is in progress based on whether at least one of the waveform generators 113d included in the sound source LSI 113 is generating a waveform signal. When the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, the switch processing execution unit 16 controls the execution of the switch processing based on the determination result of the performance determination unit 15. With this configuration, it is possible to appropriately determine whether the performer is in progress based on whether at least one of the waveform generators 113d is generating a waveform signal, and appropriately control the execution of the switch processing based on this determination result.

[0047] As described above, when the first operation switch is operated, the switch process execution section 16 controls whether or not to execute the switch process based on the current control mode of the electronic keyboard instrument 100 and the determination result of the music performance determination section 15. In contrast, when the second operation switch is operated, the switch process execution section 16 executes the switch process corresponding to the operated second operation switch, regardless of the determination result of the music performance determination section 15, even when the electronic keyboard instrument 100 is operating in any of the control modes: the operation lock off mode, the operation lock on mode, and the operation lock automatic mode. In other words, when the second operation switch is operated, the switch process corresponding to the operated second operation switch must be executed.

[0048] Below, refer to Figure 5 The flowchart of the main program processing of the electronic keyboard instrument 100 having the above-mentioned physical and functional structure is explained. When the player turns on the power of the electronic keyboard instrument 100 by operating the power switch 105a, the CPU 111 starts Figure 5 The main program processing is shown in the flowchart.

[0049] When the main routine processing begins, the CPU 111 first performs an initialization process to initialize various settings of the electronic keyboard instrument 100 (step S101). During the initialization process in step S101, the control mode of the electronic keyboard instrument 100 is set to the operation-lock automatic 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 the 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" if the control mode of the electronic keyboard instrument 100 is the operation-lock automatic mode, "1" if the control mode is the operation-lock off mode, and "2" if the control mode is the operation-lock on mode. During the initialization process in step S101, the control mode of the electronic keyboard instrument 100 is set to the operation-lock automatic mode, and the value of the control mode flag is set to "0," which corresponds to the operation-lock automatic mode.

[0050] After the initialization process of step S101 is executed, the key operation information acquisition unit 10 acquires key operation information from the keyboard interface 106 (step S102). After the process of step S102 is executed, the pedal operation information acquisition unit 11 acquires pedal operation information from the pedal interface 107 (step S103).

[0051] After executing step S103, the musical sound output control unit 14 executes a musical sound output control process (step S104) to control the output of musical sound by the sound system 114. In step S104, the musical sound output control unit 14 determines the pitch, volume, and timbre of the musical sound based on the key operation information obtained in step S102, and determines the acoustic effect to be applied to the musical sound based on the pedal operation information obtained in step S103. The musical sound output control unit 14 then causes the sound source LSI 113 to generate a musical sound signal representing the musical sound having the determined pitch, volume, and timbre and having the determined acoustic effect applied, and causes the sound system 114 to output the musical sound based on the musical sound signal generated by the sound source LSI 113. Furthermore, during the musical sound output control process, if a key-off operation is detected based on the key operation information, the musical sound output control unit 14 executes a muting process to attenuate the volume of the musical sound being output. This muting process includes a muting process to terminate the output of the musical sound.

[0052] After executing the musical sound output control process of step S104, CPU111 executes a switch control process to control the execution of the switch process (step S105). The details of the switch control process of step S105 will be described later. After executing the switch control process of step S105, CPU111 determines whether the power of the electronic keyboard instrument 100 is turned off (step S106). If it is determined that the power is not turned off (step S106; No), the process returns to step S102. With this structure, CPU111 repeatedly executes the processes of steps S102 to S106 until the power of the electronic keyboard instrument 100 is turned off. In step S106, if it is determined that the power is turned off (step S106; Yes), CPU111 ends the main routine process.

[0053] The switch control process executed in step S105 of the main routine process will be described in detail below. In step S105, the CPU 111 executes Figure 6 The switch control process is shown in the flowchart.

[0054] When the switch control process begins, the switch operation information acquisition unit 12 first 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 any of the plurality of second operation switches constituting the second operation switch group 105, namely, the power switch 105a and the mode selection switch 105b, has been operated based on the switch operation information acquired in step S201 (step S202).

[0055] If it is determined in step S202 that any second operation switch has not been operated (step S202: No), the process proceeds to step S204. On the other hand, if it is determined that any second operation switch has been operated (step S202: Yes), the switch process execution unit 16 identifies the operated second operation switch based on the switch operation information acquired in step S201 and executes the switch process corresponding to the identified second operation switch (step S203). Specifically, in step S203, if the power switch 105a has been operated, the switch process execution unit 16 executes a switch process to switch the power of the electronic keyboard instrument 100 on and off. Furthermore, if the mode selection switch 105b has been operated in step S203, the switch process execution unit 16 executes a switch process to switch the control mode of the electronic keyboard instrument 100. If the switch process to switch the control mode of the electronic keyboard instrument 100 has been executed, the switch process execution unit 16 executes a process to change the value of the control mode flag described above to a value corresponding to the switched control mode.

[0056] In this way, Figure 6 In the switch control process shown in the flowchart, if it is determined that any second operation switch has been operated (step S202: Yes), the process of step S203 is executed without reference to the current control mode of the electronic keyboard instrument 100. With this configuration, even when the electronic keyboard instrument 100 is operating in any of the operation lock off mode, the operation lock on mode, and the operation lock automatic mode, when the second operation switch is operated, the switch process execution unit 16 executes the switch process corresponding to the operated second operation switch.

[0057] After executing the process in step S203, the process transfers to step S204. In step S204, the switch process execution unit 16 determines whether any of the plurality of first operation switches constituting the first operation switch group 104, namely, the volume adjustment switch 104a, the pitch adjustment switch 104b, and the tone selection switch 104c, has been operated based on the switch operation information obtained in step S201 (step S204). If, in step S204, it is determined 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 current control mode of the electronic keyboard instrument 100 is the operation lock on mode by determining whether the value of the control mode flag is "2," which corresponds to the operation lock on mode (step S205). When 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 current control mode of the electronic keyboard instrument 100 is the operation lock automatic mode by determining whether the value of the control mode flag is "0" corresponding to the operation lock automatic mode (step S206).

[0058] If, in step S206, the control mode is determined to be the operation-lock automatic mode (step S206: Yes), the generator operation information acquisition unit 13 acquires generator operation information from the waveform generator 113a of the sound source LSI 113 (step S207). As described above, each of the 256 waveform generators 113d in the waveform generator 113a is uniquely associated in advance with a number from "0" to "255" as an identifier. After executing the process of step S207, the performance determination unit 15 sets the first process number to the smallest number among the numbers associated with each waveform generator 113d as an identifier, namely, "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 in the waveform generator 113a associated with the currently set first process number as an identifier is generating a waveform signal (step S209). For example, when the currently set first process number is “0”, the performance determination section 15 determines whether the waveform generator 113 d associated with the number “0” as an identifier has generated a waveform signal.

[0059] If, in step S209, it is determined 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 "255," the largest number among the numbers associated as identifiers with each waveform generator 113d (step S211). If, in step S211, it is determined 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. The performance determination unit 15 repeatedly executes the determination in step S209 while incrementing the first process number one by one (step S210), thereby determining whether each waveform generator 113d in the sound source LSI 113 is generating a waveform signal. If, in step S211, the currently set first processing number is determined to be "255" (step S211: Yes), the performance determination unit 15 determines that no performance is being performed (step S212). With this configuration, if none of the waveform generators 113d included in the sound source LSI 113 generates a waveform signal, the performance determination unit 15 determines that no performance is being performed.

[0060] After the execution of the processing in step S212, the processing transfers to step S214. In step S214, the switch processing execution unit 16 determines the first operation switch operated by the performer based on the switch operation information obtained in step S201, and executes the switch processing corresponding to the determined first operation switch (step S214). Specifically, in step S214, if the volume adjustment switch 104a is operated, the switch processing execution unit 16 executes the switch processing to change the volume of the musical sound. In addition, in step S214, if the pitch adjustment switch 104b is operated, the switch processing execution unit 16 executes the switch processing to change the pitch of the musical sound. In addition, in step S214, if the timbre selection switch 104c is operated, the switch processing execution unit 16 executes the switch processing to switch the timbre of the musical sound. After the execution of the processing in step S214, the switch processing execution unit 16 ends the switch control processing.

[0061] As described above, if it is determined that the first operation switch has been operated (step S204: Yes), and if it is determined that the electronic keyboard instrument 100 is operating in the operation-locked automatic mode (step S206: Yes), then if it is determined that no performance is being performed (step S212), the process of step S214 is executed. With this configuration, if the switch process execution unit 16 operates the first operation switch while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, and if the performance determination unit 15 determines that no performance is being performed, the switch process corresponding to the operated first operation switch is executed.

[0062] If it is determined in step S204 that the first operation switch has been operated (step S204: Yes), then in the process of step S205 executed, if it is determined that the control mode is the operation lock on mode (step S205: Yes), the switch process execution unit 16 does not execute the process of step S214 and terminates the switch control process. 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 execution unit 16 does not execute the switch process corresponding to the operated first operation switch.

[0063] The electronic keyboard instrument 100 operates in any of the following control modes: the operation lock off mode, the operation lock on mode, and the operation lock automatic mode. Therefore, if 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 returns No), in the processing of step S206 executed, determining that the control mode is not the operation lock automatic mode (step S206 returns No) is equivalent to determining that the control mode is the operation lock off mode. If it is determined in step S206 that the current control mode of the electronic keyboard instrument 100 is not the operation lock automatic mode (step S206 returns No), that is, if it is determined that the control mode is the operation lock off mode, the switch processing execution unit 16 executes the processing 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 off mode, the switch processing execution unit 16 executes the switch processing corresponding to the operated first operation switch.

[0064] If it is determined in step S209 that the waveform generator 113d corresponding to the first processing number has generated a waveform signal (step S209: Yes), the performance determination unit 15 determines that the performer is performing a performance (step S213). With this configuration, the performance determination unit 15 determines that a performance is in progress when at least one of the waveform generators 113d included in the sound source LSI 113 generates a waveform signal. After executing the processing of step S213, the switch processing execution unit 16 does not execute the processing of step S214 and ends the switch control processing. With this configuration, if the switch processing execution unit 16 operates the first operation switch while the electronic keyboard instrument 100 is operating in the operation-lock automatic mode, the switch processing corresponding to the operated first operation switch is not executed if the performance determination unit 15 determines that a performance is in progress.

[0065] As described above, the electronic keyboard instrument 100 includes a plurality of first operation switches, which are examples of functional operating elements that receive operations from a performer; a performance determination unit 15 that determines whether a performance is in progress; and a switch processing execution unit 16 that, based on operations on the first operation switches, executes a switch processing corresponding to the operated first operation switches. If the electronic keyboard instrument 100 is operating in the operation-locked automatic mode and the performance determination unit 15 determines that a performance is not in progress, the switch processing execution unit 16 executes the switch processing corresponding to the operated first operation switches. If the electronic keyboard instrument 100 is operating in the operation-locked automatic mode and the performance determination unit 15 determines that a performance is in progress, the switch processing execution unit 16 does not execute the switch processing corresponding to the operated first operation switches. This configuration can reduce the possibility of performance being interrupted and reduce the operational burden on the performer.

[0066] The electronic keyboard instrument 100 also includes a sound source LSI 113 that generates a musical sound signal representing a musical sound, and a sound system 114 that outputs the musical sound based on the musical sound signal. The sound source LSI 113 includes multiple waveform generators 113d that generate waveform signals, and the musical sound signal is generated based on the waveform signals generated by these multiple waveform generators. The performance determination unit 15 determines whether a performance is in progress based on whether at least one of the waveform generators 113d is generating a waveform signal. This configuration allows for appropriate control of the execution of the switch process.

[0067] (Second embodiment)

[0068] In the first embodiment described above, the electronic keyboard instrument 100 determines whether a performance is in progress based on whether at least one of the waveform generators 113d included in the sound source LSI 113 generates a waveform signal, and controls the execution of a switch process based on the result of this determination. However, this is merely an example, and the electronic keyboard instrument 100 can use any other method to determine whether a performance is in progress and control the execution of a switch process based on the result of this determination. The following describes an electronic keyboard instrument 100 according to a second embodiment of the present disclosure, which determines whether a performance is in progress based on whether a performance operation is performed on at least one of a plurality of performance operating elements and controls the execution of a switch process based on the result of this determination.

[0069] The electronic keyboard instrument 100 of this embodiment has substantially the same physical and functional structure as the electronic keyboard instrument 100 of the first embodiment. However, the functions of the performance determination unit 15 of the electronic keyboard instrument 100 of this embodiment differ partially from those of the electronic keyboard instrument 100 of the first embodiment. The following description focuses on the functions of the performance determination unit 15 of the electronic keyboard instrument 100 of this embodiment, focusing on the differences from the first embodiment.

[0070] In this embodiment, the performance determination unit 15 determines whether a performance is in progress based on whether the performer has performed a performance operation on at least one of the multiple performance operating elements of the electronic keyboard instrument 100. As in the first embodiment, the electronic keyboard instrument 100 includes 88 keys provided on the keyboard 101 and three pedals provided on the pedal unit 102 as performance operating elements. The performance determination unit 15 determines that the performer is performing a performance if a performance operation has been performed on at least one of the performance operating elements, that is, if a performance operation has been performed on at least one of the 88 keys and the three pedals. On the other hand, the performance determination unit 15 determines that the performer is not performing a performance if a performance operation has not been performed on any of the performance operating elements, that is, if a performance operation has not been performed on any of the 88 keys and the three pedals. The performance determination unit 15 determines whether a performance operation has been performed on each key based on the key operation information acquired by the key operation information acquisition unit 10, and determines whether a performance operation has been performed on each pedal based on the pedal operation information acquired by the pedal operation information acquisition unit 11.

[0071] In this embodiment, as in the first embodiment, the switch process execution section 16 controls the execution of a switch process based on the determination result of the performance determination section 15 when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode. Specifically, when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, the switch process execution section 16 executes the switch process corresponding to the operated first operation switch if the performance determination section 15 determines that no performance is being performed, and does not execute the switch process corresponding to the operated first operation switch if the performance determination section 15 determines that a performance is being performed.

[0072] According to such a configuration, it is possible to appropriately determine whether the player is performing a performance based on whether a performance operation is performed on at least one of the performance operating elements, and appropriately control the execution of the switch processing based on the result of the determination.

[0073] As described above, the electronic keyboard instrument 100 includes a plurality of keys and a plurality of pedals as the performance operating elements. Therefore, according to the structure of this embodiment, not only when the player performs performance operations on the keys, but also when the player performs performance operations on the pedals without performing performance operations on the keys, it is possible to detect that a performance is in progress and appropriately control the execution of the switch processing.

[0074] The following describes the operation of the electronic keyboard instrument 100 of this embodiment having the above-mentioned physical and functional structure, focusing on the differences from the operation of the electronic keyboard instrument 100 of the first embodiment. Figure 5 In step S105 of the main routine process shown in the flowchart, instead of Figure 6 The switch control process shown in the flowchart is executed Figure 7 The switch control process is shown in the flowchart.

[0075] exist Figure 7 When the switch control process shown in the flowchart begins, the switch operation information acquisition unit 12 first 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 plurality of 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 no second operation switch has been operated (step S302: No), the process transfers to step S304. On the other hand, if it is determined that any second operation switch 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 the switch process corresponding to the identified second operation switch (step S303).

[0076] After executing step S303, the process moves to step S304. In step S304, the switch process execution unit 16 determines whether any of the plurality of 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 any of the first operation switches has not been operated (step S304: 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 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).

[0077] 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 automatic mode (step S306). If it is determined in step S306 that the control mode is not the operation lock automatic mode (step S306; no), that is, if it is determined that the control mode is the operation lock off mode, the processing transfers to step S314. On the other hand, if it is determined in step S306 that the control mode is the operation lock automatic mode (step S306; yes), the CPU 111 executes the performance operation member flag update processing (step S307) of updating the value of the performance operation member flag. The performance operation member flag and the performance operation member flag update processing are described below.

[0078] The electronic keyboard instrument 100 has 91 performance operating elements, including 88 keys provided on the keyboard 101 and three pedals provided on the pedal unit 102. In this embodiment, a number from "0" to "90" is used as an identifier and uniquely pre-associated with each performance operating element. Specifically, a number from "0" to "87" is used as an identifier and uniquely pre-associated with each of the 88 keys of the keyboard 101. Furthermore, a number from "88" to "90" is used as an identifier and uniquely pre-associated with each of the three pedals of the pedal unit 102: the soft pedal 102a, the sostenuto pedal 102b, and the damper pedal 102c.

[0079] In this embodiment, the storage area of RAM 112c contains 91 performance operation element flags that indicate whether a performance operation has been performed on each of the 91 performance operation elements of the electronic keyboard instrument 100. Each performance operation element flag is uniquely associated with a number between "0" and "90" as an identifier. The value of each performance operation element flag is set to either "0" or "1" depending on whether a performance operation has been performed on the performance operation element associated with the same number as the corresponding performance operation element flag. Specifically, the value of each performance operation element flag is set to "0" if no performance operation has been performed on the corresponding performance operation element, and to "1" if a performance operation has been performed on the performance operation element associated with that performance operation element. For example, the value of the performance operation element flag associated with key number "3" is set to "0" if no performance operation has been performed on the key associated with key number "3," and to "1" if the key has been performed.

[0080] In this embodiment, Figure 5In the initialization process executed in step S101 of the main routine process shown in the flowchart of FIG. 1 , each performance operation element flag is cleared to zero, and the value of each performance operation element flag is set to "0" as an initial value.

[0081] Return to Figure 7 In the performance operation member flag update process of step S307, CPU 111 updates the value of each performance operation member flag based on the key operation information obtained in step S102 of the main routine process and the pedal operation information obtained in step S103 of the main routine process. Specifically, CPU 111 determines the keys and pedals currently not being performed based on the key operation information and the pedal operation information, and sets the value of the performance operation member flag corresponding to the determined key and pedal to "0". In addition, CPU 111 determines the keys and pedals currently being performed based on the key operation information and the pedal operation information, and sets the value of the performance operation member flag corresponding to the determined key and pedal to "1".

[0082] After the execution of the performance operation member flag update process in step S307, the performance determination unit 15 sets the second processing number to the smallest number among the numbers corresponding to the respective performance operation members as identifiers, i.e., "0" (step S308). After the execution of the process in step S308, the performance determination unit 15 determines whether the value of the performance operation member flag corresponding to the second processing number currently set as the identifier is "1," thereby determining whether a performance operation has been performed on the performance operation member corresponding to the second processing number as the identifier (step S309). For example, if the currently set second processing number is "0," the performance determination unit 15 determines whether the value of the performance operation member flag corresponding to the number "0" is "1," thereby determining whether a performance operation has been performed on the key corresponding to the number "0."

[0083] If it is determined in step S309 that a performance operation has not been performed on the performance operation element associated with the second processing number (step S309: No), that is, if it is determined that the value of the performance operation element flag associated with the second processing number is not "1", the performance determination unit 15 determines whether the currently set second processing number is the largest number among the numbers associated as identifiers with the various performance operation elements, that is, "90" (step S311). If it is determined in step S311 that the currently set second processing number is not "90" (step S311: No), the performance determination unit 15 increments the second processing number by 1 (step S310), and the process returns to step S309. The performance determination unit 15 repeatedly executes the determination in step S309 while incrementing the second processing number one by one (step S310), thereby determining whether a performance operation has been performed on each performance operation element of the electronic keyboard instrument 100.

[0084] If it is determined in step S311 that the currently set second processing 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 if no performance operation has been performed on any of the performance operating elements of the electronic keyboard instrument 100. After executing the process in step S312, the process transfers to step S314. In step S314, the switch processing execution unit 16 identifies the first operation switch operated by the performer based on the switch operation information obtained in step S301 and executes the switch processing corresponding to the identified first operation switch (step S314). With this configuration, if the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, and the performance determination unit 15 determines that no performance is being performed, the switch processing corresponding to the operated first operation switch is executed. After executing the process in step S314, the switch processing execution unit 16 terminates the switch control process.

[0085] When it is determined in step S309 that a performance operation has been performed on the performance operating member corresponding to the second processing number (step S309; yes), that is, when it is determined that the value of the performance operating member flag corresponding to the second processing number is "1", the performance determination unit 15 determines that the performer is performing (step S313). With such a structure, the performance determination unit 15 determines that a performance is in progress when a performance operation has been performed on at least one of the performance operating members of the electronic keyboard instrument 100. After the execution of the processing of step S313, the switch processing execution unit 16 does not execute the processing of step S314 and ends the switch control processing. With such a structure, when the switch processing execution unit 16 operates the first operation switch in the state where the electronic keyboard instrument 100 is operating in the operation lock automatic mode, when the performance determination unit 15 determines that a performance is in progress, the switch processing corresponding to the operated first operation switch is not executed.

[0086] As described above, the performance determination unit 15 of the electronic keyboard instrument 100 of this embodiment determines whether a performance operation is being performed based on whether a performance operation is being performed on at least one of the multiple performance operating elements that receive the player's performance operation. When the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, the switch processing execution unit 16 of the electronic keyboard instrument 100 of this embodiment controls the execution of the switch processing based on the determination result of the performance determination unit 15. With this configuration, the execution of the switch processing can be appropriately controlled.

[0087] As described above, the electronic keyboard instrument 100 of this embodiment includes a plurality of keys and a plurality of pedals as a plurality of performance operating elements. With such a configuration, the execution of the switch processing can be appropriately controlled.

[0088] As mentioned above, although embodiment of this disclosure was described, this disclosure is not limited to the said embodiment, Various changes are possible within the range which does not deviate from the summary of this disclosure.

[0089] For example, in the first and second embodiments described above, when the electronic keyboard instrument 100 is operating in the operation-lock automatic mode, if the first operation switch is operated after the performance determination unit 15 determines that no performance is being performed, but before a predetermined reference time (e.g., 1 second) has elapsed while the performance determination unit 15 has not determined that a performance is being performed, the switch processing execution unit 16 may not execute the switch processing corresponding to the operated first operation switch. In this modified example, when the electronic keyboard instrument 100 is operating in the operation-lock automatic mode, if the first operation switch is operated after the performance determination unit 15 determines that no performance is being performed, but before a predetermined reference time (e.g., 1 second) has elapsed while the performance determination unit 15 has not determined that a performance is being performed, the switch processing execution unit 16 executes the switch processing corresponding to the operated first operation switch.

[0090] Specifically, in this variation, a non-performance time timer is provided in the storage area of RAM 112c, and the non-performance time timer measures the non-performance time, which is the time elapsed since the performance determination unit 15 determined that no performance was being performed. The non-performance time timer starts measuring the non-performance time based on the fact that the performance determination unit 15 determines that no performance is being performed. When the performance determination unit 15 determines that a performance is being performed, the non-performance time timer stops measuring the non-performance time and the timer value of the non-performance time is cleared. The switch processing 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 greater than the reference time, and whether the timing is a timing after the performance determination unit 15 determines that no performance is being performed and before the reference time has elapsed without the performance determination unit 15 determining that a performance is being performed.

[0091] When the electronic keyboard instrument 100 is operating in the operation-locked automatic mode, the performance determination unit 15 may sometimes determine that a performance is not in progress due to a temporary interruption of a performance operation. For example, during a performance, if the performer removes their hands from the keys to flip through the sheet music, temporarily interrupting the performance operation, the performance may be determined to be in progress. According to the configuration of this variation, after determining that a performance operation is not in progress due to an interruption of the performance operation, if the first operation switch is operated against the performer's intention, the switch processing is not executed if the timing of the operation is before a reference time has passed since the performance operation was determined to be in progress. For example, after determining that a performance operation is in progress due to an interruption of the performance operation due to the performer removing their hands from the keys to flip through the sheet music, if the performer's body or clothing accidentally touches the first operation switch while reaching for the sheet music to flip through the sheet music, the switch processing is not executed if the timing of the contact is before a reference time has passed since the performance operation was determined to be in progress. Therefore, according to the configuration of this variation, the possibility of performance being disrupted by the switch processing being executed against the performer's intention can be suppressed.

[0092] In the first and second embodiments described above, after determining that the first operation switch has been operated, the control mode of the electronic keyboard instrument 100 and whether a performance is currently being performed are determined, and the execution of the switch processing is controlled based on the results of these determinations. However, this is merely an example, and the control mode of the electronic keyboard instrument 100 and the determination of whether a performance is currently being performed may also be performed before determining whether the first operation switch has been operated. In this variation, if the control mode of the electronic keyboard instrument 100 is determined to be in the operation lock on mode, or if it is determined to be in the operation lock automatic mode and a performance is currently being performed, the determination of whether the first operation switch has been operated is not performed. In contrast, if the control mode of the electronic keyboard instrument 100 is determined to be in the operation lock off mode, or if it is determined to be in the operation lock automatic mode and a performance is currently being performed, the determination of whether the first operation switch has been operated is performed, and the execution of the switch processing is controlled based on the results of this determination. That is, if it is determined that the first operation switch has been operated, the switch processing corresponding to the operated first operation switch is executed. On the other hand, 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 automatic mode and a performance is being performed, that is, when the switch processing corresponding to the first operation switch is not executed even if the first operation switch has been operated, unnecessary determination of whether the first operation switch has been operated is not performed, thereby reducing the processing load.

[0093] In the first embodiment described above, the performance determination unit 15 determines whether all waveform generators 113d included in the sound source LSI 113 are generating waveform signals, and based on the results of this determination, determines whether a performance is in progress. However, this is merely an example. Below, a modified example will be described in which the performance determination unit 15 determines whether a portion of the waveform generators 113d included in the sound source LSI 113 are generating waveform signals, and based on the results of this determination, determines whether a performance is in progress.

[0094] The electronic keyboard instrument 100 of this modification has an accompaniment function and a metronome function. When the accompaniment function is turned on, the electronic keyboard instrument 100 is independent of whether the performer performs a performance operation on the performance operating member, that is, in any case when the performer performs a performance operation on the performance operating member and when the performer does not perform a performance operation on the performance operating member, a predetermined accompaniment sound is emitted. When the metronome function is turned on, the electronic keyboard instrument 100 emits a predetermined metronome sound regardless of whether the performer performs a performance operation on the performance operating member. Specifically, in this modification, the sound source LSI 113 generates an accompaniment sound signal representing the accompaniment sound and a metronome sound signal representing the metronome sound under the control of the CPU 111 and outputs them to the sound system 114. The sound system 114 outputs the accompaniment sound and the metronome sound according to the input accompaniment sound signal and the metronome sound signal.

[0095] In this variation, each waveform generator 113d included in the sound source LSI 113 belongs to either the first waveform generator group or the second waveform generator group. Each of the first and second waveform generator groups consists of at least one waveform generator 113d. Hereinafter, for ease of understanding, waveform generators 113d that constitute the first waveform generator group will be referred to as "first waveform generators," and waveform generators 113d that constitute the second waveform generator group will be referred to as "second waveform generators."

[0096] Each first waveform generator constituting the first waveform generator group generates a waveform signal for use by the sound source LSI 113 in generating a musical tone signal representing a musical tone. Specifically, 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 to generate the musical tone signal. Each second waveform generator constituting the second waveform generator group generates a waveform signal for use by the sound source LSI 113 in generating the aforementioned accompaniment tone signal and metronome tone signal. Specifically, the DSP 113b mixes the waveform signals input from each second waveform generator to generate the accompaniment tone signal and metronome tone signal.

[0097] Each first waveform generator generates a waveform signal based on a performance operation performed on the multiple performance operating members of the electronic keyboard instrument 100, namely, the 88 keys and the three pedals. On the other hand, each first waveform generator does not generate a waveform signal if no performance operation is performed on any of the multiple performance operating members of the electronic keyboard instrument 100. In contrast, each second waveform generator generates a waveform signal regardless of whether a performance operation is performed on the performance operating member if the accompaniment function or the metronome function is turned on and the accompaniment sound or the metronome sound is emitted at the timing. That is, each second waveform generator generates a waveform signal based on a factor different from the performance operation performed on the performance operating member. Furthermore, each second waveform generator does not generate a waveform signal if the accompaniment function or the metronome function is turned off.

[0098] The performance determination unit 15 of this modified example determines whether a performance is in progress based 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 in progress if at least one of the first waveform generators is generating a waveform signal, if at least one of the second waveform generators is generating a waveform signal, or if 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 in progress if none of the first waveform generators is generating a waveform signal, if at least one of the second waveform generators is generating a waveform signal, or if none of the second waveform generators is generating a waveform signal.

[0099] In this variation, as in the first and second embodiments, the switch processing execution unit 16 controls the execution of the switch processing according to the result of the determination by the performance determination unit 15 when the first operation switch is operated while the electronic keyboard instrument 100 is operating in the operation-lock automatic mode.

[0100] With this configuration, even if no second waveform generators are generating waveform signals when at least one of the performance operating elements is performing a performance, at least one of the first waveform generators is generating a waveform signal, and a performance is determined to be in progress. Switching is controlled based on the result of this determination. Furthermore, even if no performance operation is being performed on any of the performance operating elements, at least one of the second waveform generators is generating a waveform signal, and at least one of the first waveform generators is generating a waveform signal, and a performance is determined to be in progress. Switching is controlled based on the result of this determination. In other words, with this configuration, whether or not a performer is performing a performance can be appropriately determined based on whether or not at least one of the first waveform generators is generating a waveform signal, and switching is controlled based on the result of this determination. Furthermore, with this configuration, whether or not a performance is in progress is determined without reference to whether or not the second waveform generators are generating waveform signals. This reduces the processing load compared to a case where all waveform generators 113d included in the sound source LSI 113 are determined to be generating waveform signals.

[0101] Furthermore, it is naturally possible to provide a dedicated electronic musical instrument that already has a structure for implementing the various functions of the present invention as the electronic musical instrument of the present invention, and it is also possible to enable an existing electronic musical instrument to function as the electronic musical instrument of the present invention by applying a program. In other words, by applying a program for implementing the various functions of the electronic musical instrument of the present invention in a manner that can be executed by a processor such as a CPU that controls the existing electronic musical instrument, the existing electronic musical instrument can be enabled to function as the electronic musical instrument of the present invention.

[0102] In addition, the application method of such a program is arbitrary. The program can be stored in a computer-readable storage medium such as a floppy disk, CD (Compact Disc)-ROM, DVD (Digital Versatile Disc)-ROM, memory card, etc. for application. Furthermore, the program can also be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program can also be posted on a bulletin board (BBS: Bulletin Board System) on a communication network for distribution. Furthermore, it can also be configured so that the program is started and executed under the control of the OS (Operating System) in the same way as other application programs, thereby performing the above-mentioned processing.

[0103] As mentioned above, although the preferred embodiment of this disclosure was described, this disclosure is not limited to a specific embodiment, and this disclosure includes the invention described in the claims and the equivalent scope thereof.

Claims

1. An electronic musical instrument, characterized in that have: At least one functional operating element that receives a performer's operation and processes the operation accordingly; a performance determination unit that determines whether a performance is being performed; and a processing execution unit that executes processing corresponding to the functional operation element according to an operation on the functional operation element; The electronic musical instrument is switchable between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode. When the functional operating element is operated in the operation lock off mode, a process corresponding to the operated functional operating element is executed. When the function operating element is operated in the operation lock on mode, the processing corresponding to the operated function operating element is not executed. When the function operating element is operated in the operation lock automatic mode, the processing execution unit executes the processing corresponding to the function operating element when the performance determination unit determines that no performance is being performed. When the performance determination unit determines that a performance is being performed when the functional operating element is operated, the processing execution unit does not execute a process corresponding to the functional operating element.

2. An electronic musical instrument, characterized in that have: At least one functional operating element that receives a performer's operation and processes the operation accordingly; a performance determination unit that determines whether a performance is being performed; and a processing execution unit that executes processing corresponding to the functional operation element according to an operation on the functional operation element; The electronic musical instrument is switchable between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode. When the functional operating element is operated in the operation lock off mode, a process corresponding to the operated functional operating element is executed. When the function operating element is operated in the operation lock on mode, the processing corresponding to the operated function operating element is not executed. When the function operating element is operated in the operation lock automatic mode, If the function operating element is operated at a timing before a reference time has passed since the performance determination unit determined that the performance was not being performed and the performance determination unit did not determine that the performance was being performed, the processing execution unit does not execute the processing corresponding to the function operating element. When the function operating element is operated after the reference time has elapsed since the performance determination unit determined that a performance was not being performed, the process execution unit executes a process corresponding to the function operating element.

3. The electronic musical instrument according to claim 1 or 2, characterized in that: The electronic musical instrument further comprises: a sound source that generates a musical sound signal representing a musical sound; and a musical sound output unit, which outputs musical sound according to the musical sound signal, The sound source has: a plurality of waveform generators that generate waveform signals, The sound source generates the musical sound signal according to the waveform signals generated by the plurality of waveform generators, The performance determination unit determines whether a performance is being performed based on whether at least one of the plurality of waveform generators generates a waveform signal.

4. The electronic musical instrument according to claim 3, wherein The electronic musical instrument further comprises: A plurality of performance operating members, which accept the performance operation of the performer, The plurality of waveform generators include at least one first waveform generator and at least one second waveform generator, The first waveform generator generates a waveform signal according to a performance operation on the plurality of performance operating members, and does not generate a waveform signal when no performance operation is performed on any of the plurality of performance operating members. The second waveform generator generates a waveform signal according to a factor different from the performance operation on the plurality of performance operating members. Regardless of whether the second waveform generator generates a waveform signal, the performance determination unit determines whether a performance is being performed based on whether the first waveform generator generates a waveform signal.

5. The electronic musical instrument according to claim 1 or 2, wherein: The electronic musical instrument further comprises: A plurality of performance operating members, which accept the performance operation of the performer, The performance determination unit determines whether a performance is being performed based on whether a performance operation is being performed on at least one of the plurality of performance operating elements.

6. The electronic musical instrument according to claim 5, wherein: The plurality of performance operating members include a plurality of keys and at least one pedal.

7. The electronic musical instrument according to claim 1 or 2, wherein: The at least one functional operating element includes one or more of a volume adjustment switch, a pitch adjustment switch, and a timbre selection switch, and the processing corresponding to the functional operating element includes one or more of a volume adjustment processing, a pitch adjustment processing, and a timbre selection processing.

8. The electronic musical instrument according to claim 1 or 2, characterized in that: The electronic musical instrument further includes at least one second operation switch, and when the second operation switch is operated, a process corresponding to the operated second operation switch is executed regardless of a determination result by the music performance determination unit.

9. The electronic musical instrument according to claim 8, wherein The at least one second operation switch includes one or more of a power switch and a mode selection switch.

10. A method for controlling an electronic musical instrument, characterized in that: The control method comprises the following steps: a performance determination step of determining whether a performance is in progress; and The processing execution step executes the processing corresponding to the functional operating element according to the operation of at least one functional operating element, wherein the at least one functional operating element receives the operation of the performer and corresponds to the processing. The electronic musical instrument is switchable between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode. When the functional operating element is operated in the operation lock off mode, the processing corresponding to the operated functional operating element is executed in the processing execution step. When the functional operating element is operated in the operation lock on mode, the processing corresponding to the operated functional operating element is not executed in the processing execution step. When the function operating element is operated in the operation lock automatic mode, When the function operating element is operated and it is determined in the performance determination step that no performance is being performed, the processing corresponding to the function operating element is executed in the processing execution step. When the functional operating element is operated and it is determined in the performance determination step that a performance is being performed, the processing corresponding to the functional operating element is not executed in the processing execution step.

11. A method for controlling an electronic musical instrument, characterized in that: The control method comprises the following steps: a performance determination step of determining whether a performance is in progress; and The processing execution step executes the processing corresponding to the functional operating element according to the operation of at least one functional operating element, wherein the at least one functional operating element receives the operation of the performer and corresponds to the processing. The electronic musical instrument is switchable between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode. When the functional operating element is operated in the operation lock off mode, the processing corresponding to the operated functional operating element is executed in the processing execution step. When the functional operating element is operated in the operation lock on mode, the processing corresponding to the operated functional operating element is not executed in the processing execution step. When the function operating element is operated in the operation lock automatic mode, If the function operating element is operated at a timing before a reference time has passed since the performance determination step determined that the performance is not being performed and the performance determination step determined that the performance is not being performed, the processing corresponding to the function operating element is not performed in the processing execution step, If the function operating element is operated at a timing after the reference time has elapsed since the performance determination step determined that no performance is being performed, the process corresponding to the function operating element is executed in the process execution step.

12. The method for controlling an electronic musical instrument according to claim 10 or 11, wherein: In the performance determination step, whether a performance is being performed is determined based on whether at least one of a plurality of waveform generators included in the sound source of the electronic musical instrument generates a waveform signal.

13. The method for controlling an electronic musical instrument according to claim 12, wherein: In the performance determination step, whether a performance is being performed is determined based on whether at least one first waveform generator among the plurality of waveform generators generates a waveform signal, regardless of whether at least one second waveform generator among the plurality of waveform generators generates a waveform signal. The first waveform generator generates a waveform signal in response to a performance operation on a plurality of performance operating members of the electronic musical instrument for receiving a performance operation by a player, and does not generate a waveform signal when no performance operation is performed on any of the plurality of performance operating members. The second waveform generator generates a waveform signal according to a factor different from the performance operation on the plurality of performance operating elements.

14. The method for controlling an electronic musical instrument according to claim 10 or 11, wherein: In the performance determination step, whether or not a performance is being performed is determined based on whether or not a performance operation is being performed on at least one of a plurality of performance operating elements provided in the electronic musical instrument for receiving a performance operation by a player.

15. The method for controlling an electronic musical instrument according to claim 14, wherein: The plurality of performance operating members include a plurality of keys and at least one pedal.

16. The method for controlling an electronic musical instrument according to claim 10 or 11, wherein: The at least one functional operating element includes one or more of a volume adjustment switch, a pitch adjustment switch, and a timbre selection switch, and the processing corresponding to the functional operating element includes one or more of a volume adjustment processing, a pitch adjustment processing, and a timbre selection processing.

17. The method for controlling an electronic musical instrument according to claim 10 or 11, wherein: The electronic musical instrument further includes at least one second operation switch, and when the second operation switch is operated, a process corresponding to the operated second operation switch is executed regardless of a determination result in the music performance determination step.

18. The method for controlling an electronic musical instrument according to claim 17, wherein: The at least one second operation switch includes one or more of a power switch and a mode selection switch, and the processing corresponding to the second operation switch includes one or more of a power switch processing and a mode selection processing.

19. A computer program product comprising a computer program, characterized in that The computer program enables the computer to function as: a performance determination unit that determines whether a performance is being performed; and a processing execution unit that executes the processing corresponding to the functional operation element according to the operation of at least one functional operation element corresponding to the processing in response to the operation of the performer, The computer is capable of switching between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode, When the functional operating element is operated in the operation lock off mode, a process corresponding to the operated functional operating element is executed. When the function operating element is operated in the operation lock on mode, the processing corresponding to the operated function operating element is not executed. When the function operating element is operated in the operation lock automatic mode, When the functional operating element is operated and the performance determination unit determines that no performance is being performed, the processing execution unit executes a process corresponding to the functional operating element. When the performance determination unit determines that a performance is being performed when the functional operating element is operated, the processing execution unit does not execute a process corresponding to the functional operating element.

20. A computer program product comprising a computer program, characterized in that The computer program enables the computer to function as: a performance determination unit that determines whether a performance is being performed; and a processing execution unit that executes the processing corresponding to the functional operation element according to the operation of at least one functional operation element corresponding to the processing in response to the operation of the performer, The computer is capable of switching between an operation lock off mode, an operation lock on mode, and an operation lock automatic mode, When the functional operating element is operated in the operation lock off mode, a process corresponding to the operated functional operating element is executed. When the function operating element is operated in the operation lock on mode, the processing corresponding to the operated function operating element is not executed. When the function operating element is operated in the operation lock automatic mode, If the function operating element is operated at a timing before a reference time has passed since the performance determination unit determined that the performance was not being performed and the performance determination unit did not determine that the performance was being performed, the processing execution unit does not execute the processing corresponding to the function operating element. When the function operating element is operated after the reference time has elapsed since the performance determination unit determined that a performance was not being performed, the process execution unit executes a process corresponding to the function operating element.

Citation Information

Patent Citations

  • Sound signal generation method, sound signal generation device, sound signal generation program, and electronic music device

    JP2021043372A

  • Electronic musical instrument

    JP1994222765A