US-12626678-B2 - Signal generation device, signal generation method and non-transitory computer-readable storage medium
Abstract
A signal generation device includes a memory configured to store instructions and a processor communicatively connected to the memory. The processor is configured to execute the instructions to function as a signal generation unit to generate a sound signal based on key operation data associated with a key operation and a decay control unit to control a decay speed of the sound signal based on pedal operation data. The decay control unit is configured to control the decay speed to a first speed in a case where the pedal operation position is in a first range, and the decay control unit is configured to control the decay speed to a second speed in a case where the pedal operation position is in a second range. A first boundary position between the first and the second ranges is determined based on control information obtained by the key operation.
Inventors
- Shin Yamamoto
- Takahiro Mizuguchi
Assignees
- YAMAHA CORPORATION
Dates
- Publication Date
- 20260512
- Application Date
- 20220830
- Priority Date
- 20210901
Claims (19)
- 1 . A signal generation device comprising: a memory configured to store instructions; and a processor communicatively connected to the memory and configured to execute the stored instructions to function as: a signal generation unit configured to generate a sound signal based on key operation data associated with operation of a key; and a decay control unit configured to control a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein the decay control unit is further configured to control the decay speed to a first speed in a case where the pedal operation position is in a first range in a changeable range of the pedal operation position, wherein the decay control unit is further configured to control the decay speed to a second speed greater than the first speed in a case where the pedal operation position is in a second range adjacent to the first range, and wherein a first boundary position indicating a first boundary between the first range and the second range of the pedal operation position is determined based on control information obtained by the operation of the key.
- 2 . The signal generation device according to claim 1 , wherein the decay control unit is further configured to control the decay speed to a third speed different from the first speed and the second speed in a case where the pedal operation position is in a third range different from the first range and the second range.
- 3 . The signal generation device according to claim 2 , wherein the third range is adjacent to one of the first range and the second range, and wherein a second boundary position indicating a second boundary between the third range and one of the first range and the second range of the pedal operation position is determined based on the control information.
- 4 . The signal generation device according to claim 2 , wherein the third range is adjacent to the second range, and wherein a second boundary position indicating a second boundary between the second range and the third range of the pedal operation position is determined based on the control information.
- 5 . The signal generation device according to claim 4 , wherein a difference between the first boundary position and the second boundary position depends on the control information.
- 6 . The signal generation device according to claim 1 , wherein the control information includes pitch information corresponding to the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the pitch information indicates a first pitch, and a second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the pitch information indicates a second pitch higher than the first pitch.
- 7 . The signal generation device according to claim 1 , wherein the control information includes speed information of the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the speed information indicates a first speed, and a fourth second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the speed information indicates a second speed which is smaller than the first speed.
- 8 . The signal generation device according to claim 1 , wherein the control information includes output level information of the sound signal generated by the operation of the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the output level information indicates a first output level, and a second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the output level information indicates a second output level smaller than the first output level.
- 9 . The signal generation device according to claim 1 , wherein the first boundary position between the first range and the second range is determined based on the control information obtained from the operation of the key corresponding to the sound signal for which the decay speed is controlled.
- 10 . A signal generation method comprising: generating a sound signal, via a signal generation device, based on key operation data associated with operation of a key; and controlling a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein controlling the decay speed of the sound signal includes: determining a first boundary position indicating a first boundary between a first range in a changeable range of the pedal operation position and a second range adjacent to the first range based on control information obtained by the operation of the key; and controlling the decay speed to a first speed in a case where the pedal operation position is in the first range, and to a second speed greater than the first speed in a case where the pedal operation position is in the second range.
- 11 . The signal generation method according to claim 10 , wherein controlling the decay speed of the sound signal further includes controlling the decay speed to a third speed different from the first speed and the second speed in a case where the pedal operation position is in a third range different from the first range and the second range.
- 12 . The signal generation method according to claim 11 , wherein the third range is adjacent to one of the first range and the second range, and wherein controlling the decay speed of the sound signal further includes determining a second boundary position indicating a second boundary between the third range and one of the first range and the second range of the pedal operation position based on the control information.
- 13 . The signal generation method according to claim 11 , wherein the third range is adjacent to the second range, and wherein controlling the decay speed of the sound signal further includes determining a second boundary position indicating a second boundary between the second range and the third range of the pedal operation position based on the control information.
- 14 . The signal generation method according to claim 13 , wherein a difference between the first boundary position and the second boundary position depends on the control information.
- 15 . The signal generation method according to claim 10 , wherein the control information includes pitch information corresponding to the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the pitch information indicates a first pitch, and a second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the pitch information indicates a second pitch higher than the first pitch.
- 16 . The signal generation method according to claim 10 , wherein the control information includes speed information of the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the speed information indicates a first speed, and a fourth-second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the speed information indicates a second speed which is smaller than the first speed.
- 17 . The signal generation method according to claim 10 , wherein the control information includes output level information of the sound signal generated by the operation of the key, and wherein the first boundary position indicates a first position of the pedal operation position in a case where the output level information indicates a first output level, and a sixth-second position of the pedal operation position closer to a rest position of the pedal operation position than the first position in a case where the output level information indicates a second output level smaller than the first output level.
- 18 . The signal generation method according to claim 10 , wherein the first boundary position between the first range and the second range is determined based on control information obtained from the operation of the key corresponding to the sound signal for which the decay speed is controlled.
- 19 . A non-transitory computer-readable storage medium having stored thereon a program for causing a computer to execute operations comprising: generating a sound signal, via a signal generation device, based on key operation data associated with operation of a key; and controlling a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein controlling the decay speed of the sound signal includes: determining a first boundary position indicating a first boundary between a first range in a changeable range of the pedal operation position and a second range adjacent to the first range based on control information obtained by the operation of the key; and controlling the decay speed to a first speed in a case where the pedal operation position is in the first range, and to a second speed greater than the first speed in a case where the pedal operation position is in the second range.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of priority to Japanese Patent Application No. 2021-142676, filed on Sep. 1, 2021, the entire contents of which are incorporated herein by reference. FIELD The present disclosure relates to a technique for generating a sound signal. BACKGROUND In order to make a sound from an electronic piano as close as possible to a sound of an acoustic piano, various efforts have been made. For example, in order to better reflect an effect of a damper on a sound of an acoustic piano, WO 2019/058457 discloses a technique for controlling the decay speed of a sound when a damper pedal is operated. SUMMARY According to an embodiment of the present disclosure, there is provided a signal generation device including a memory configured to store instructions, and a processor communicatively connected to the memory and configured to execute the stored instructions to function as: a signal generation unit configured to generate a sound signal based on key operation data associated with a key operation; and a decay control unit configured to control a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein the decay control unit is further configured to control the decay speed to a first speed in a case where the pedal operation position is present in a first range in a changeable range of the pedal operation position, wherein the decay control unit is further configured to control the decay speed to a second speed greater than the first speed in a case where the pedal operation position is in a second range adjacent to the first range, and wherein a first boundary position between the first range and the second range is determined based on control information obtained by the key operation. According to an embodiment of the present disclosure, there is provided a signal generation method including generating a sound signal based on key operation data associated with a key operation, and controlling a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein controlling the decay speed of the sound signal includes: determining a first boundary position between a first range in a changeable range of the pedal operation position and a second range adjacent to the first range based on control information obtained by the key operation; and controlling the decay speed to a first speed in a case where the pedal operation position is in the first range, and to a second speed greater than the first speed in a case where the pedal operation position is in the second range. According to an embodiment of the present disclosure, there is provided a non-transitory computer-readable medium having stored thereon a program for causing a computer to execute operations including generating a sound signal based on key operation data associated with a key operation, and controlling a decay speed of the sound signal based on pedal operation data associated with a pedal operation position, wherein controlling the decay speed of the sound signal includes, determining a first boundary position between a first range in a changeable range of the pedal operation position and a second range adjacent to the first range based on control information obtained by the key operation; and controlling the decay speed to a first speed in a case where the pedal operation position is in the first range; and to a second speed greater than the first speed in a case where the pedal operation position is in the second range. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a diagram showing a configuration of a keyboard instrument according to an embodiment. FIG. 2 is a block diagram showing a functional configuration of a sound source unit according to an embodiment. FIG. 3 is a block diagram showing a functional configuration of a signal generation unit according to an embodiment. FIG. 4 is a diagram illustrating a definition of a general envelope waveform. FIG. 5 is a diagram illustrating an example of an envelope waveform of a piano sound. FIG. 6 is a diagram illustrating a relationship between a damper setting range and a note number defined in a decay control table according to an embodiment. FIG. 7 is a flowchart showing a decay control processing according to an embodiment. FIG. 8 is a diagram illustrating a relationship between a damper setting range and a note number defined in a decay control table according to a modification. FIG. 9 is a diagram illustrating a relationship between a damper setting range and a note number defined in a decay control table according to a modification. FIG. 10 is a diagram illustrating a relationship between a damper setting range and a note number defined in a decay control table according to a modification. FIG. 11 is a diagram illustrating a relationship between a damper setting range and a note number defined in a decay control table according to a modi