Continuous click determination device and method, and program

By obtaining the operation events of the keys and pedals in the electronic keyboard instrument, determining homophones and performing specific sound controls, the shortcomings of the determination of the same pitch combo are solved, and the performance expressiveness and timbre nature are improved.

CN120299475APending Publication Date: 2025-07-11YAMAHA CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510013129.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-01-09
Filing Date
2025-01-06
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In the prior art, it is difficult to make appropriate judgments when determining the combo of the same pitch, especially in terms of the combination relationship between the key operation timing and the pedal state.

Method used

By setting the first acquisition unit and the second acquisition unit in the electronic keyboard instrument, the note event of the key operation and the pedal event of the pedal operation are obtained, and the homophone combo is determined based on the time interval and state of these events, and the control unit performs different sound controls to correct the timbre deviation.

Benefits of technology

The appropriate judgment of homophone combos is achieved, the expressiveness of the performance is improved, and the sound characteristics that are close to nature can be reproduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120299475A_ABST
    Figure CN120299475A_ABST
Patent Text Reader

Abstract

The invention provides a consecutive click determination device capable of appropriately determining homophone consecutive clicks. A musical-note-on event and a musical-note-off event are acquired as musical-note events corresponding to the operation of keys, and a pedal-on event and a pedal-off event are acquired as pedal events corresponding to the operation of a pedal having a function of continuing sound. On the basis of a time interval from acquisition of a first note-on event related to consecutive homophones to acquisition of a second note-on event among the note-on events, a note-off event, a pedal-on event, and a pedal-off event, it is determined whether or not the second note-on event is a consecutive homophone click with respect to the first note-on event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a consecutive hit determination device and method, and a program. Background Art

[0002] There is known a technique applied to electronic musical instruments or the like to make the sound during consecutive hits of the same note closer to a natural sound. For example, in Patent Documents 1, 2, and 3, based on the amplitude ratio between a first note and a second note in a consecutive hit relationship, the decay rate of the sound, the pitch, timbre, volume, etc. of the second note are controlled.

[0003] In addition, Patent Documents 4 and 5 disclose examples of determining consecutive hits based on whether it is a medium strike or not.

[0004] Patent Document 1: JP 7215523 B2

[0005] Patent Document 2: JP 7298650 B2

[0006] Patent Document 3: JP 4167786 B2

[0007] Patent Document 4: JP H052392 A

[0008] Patent Document 5: JP H056181 A Summary of the Invention

[0009] Technical Problem to be Solved by the Invention

[0010] However, for example, in the case of an acoustic keyboard instrument, especially regarding the same pitch, not only the key operation but also the combination of the key operation timing and the pedal state is related to the consecutive hit relationship. Therefore, there is room for improvement in more appropriately determining consecutive hits of the same pitch.

[0011] An object of the present invention is to provide a consecutive hit determination device that can appropriately determine consecutive hits of the same note.

[0012] Technical Solution for Solving the Technical Problem

[0013] According to one aspect of the present invention, there is provided a consecutive hit determination device including: a first acquisition unit that acquires a note-on event and a note-off event as note events corresponding to an operation of a key; a second acquisition unit that acquires a pedal-on event and a pedal-off event as pedal events corresponding to an operation of a pedal having a function of sustaining a sound.

[0014] A determination unit that determines whether a homophonic double hit has occurred with respect to the first note-on event and the second note-on event based on the time interval from the acquisition of the first note-on event related to consecutive homophonic notes among the acquired note-on events, note-off events, pedal-on events, and pedal-off events.

[0015] Effects of the invention

[0016] According to one aspect of the present invention, homophonic double hits can be appropriately determined. Description of the drawings

[0017] Figure 1 It is a block diagram of an electronic keyboard instrument to which a double hit determination device is applied.

[0018] Figure 2 It is a functional block diagram of an electronic keyboard instrument for implementing double hit determination processing.

[0019] Figure 3 It is a timing chart showing the types when determining homophonic double hits.

[0020] Figure 4 It is a timing chart showing the types when determining homophonic double hits.

[0021] Figure 5 It is a timing chart showing the types when determining homophonic double hits.

[0022] Figure 6 It is a timing chart showing the types when determining homophonic double hits.

[0023] Figure 7 It is a flowchart of double hit determination processing.

[0024] Figure 8 It is a diagram showing the signal flow for implementing a specified sound control.

[0025] Explanation of reference numerals

[0026] 11: CPU; 31: First acquisition unit; 32: Second acquisition unit; 33: Determination unit; 34: Control unit; 100: Electronic keyboard instrument. Detailed implementation manners

[0027] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0028] Figure 1 It is a block diagram of an electronic keyboard instrument to which a double hit determination device according to an embodiment of the present invention is applied.

[0029] The electronic keyboard instrument 100 is configured by connecting each element to the CPU 11 via a bus 23. The electronic keyboard instrument 100 includes a ROM 12, a RAM 13, a timer 14, a storage unit 15, and various I / Fs (interfaces) 16.

[0030] A control program to be executed by the CPU 11 is stored in the ROM 12. The CPU 11 realizes various functions by expanding and executing the control program stored in the ROM 12 in the RAM 13.

[0031] The storage unit 15 is a non-volatile memory. The storage unit 15 stores various information and various setting information. The various I / Fs 16 include a MIDI I / F for receiving / sending MIDI (Musical Instrument Digital Interface) signals. The various I / Fs 16 may include a communication I / F for connecting to a communication network wirelessly or wired.

[0032] The electronic keyboard instrument 100 further includes a keyboard section 17, a pedal 18, various operation sections 19, a display section 20, and a sound generation section 21. The keyboard section 17 and the pedal 18 are elements for inputting performance signals.

[0033] The keyboard section 17 includes a plurality of keys and sensors or detection circuits (not shown in both cases) for detecting operations of the respective keys. The pedal 18 includes one or more pedals and sensors or detection circuits (not shown in both cases) for detecting operations of the pedal. It should be noted that the pedal 18 includes at least a pedal having a function of sustaining sound, such a pedal is, for example, a sustain pedal or a selection pedal.

[0034] The input performance signal is sent to the CPU 11 as a MIDI signal (event data based on the MIDI standard). The MIDI signal related to the keys includes information such as a note number indicating pitch, note on, note off, note on velocity, note off velocity, etc. The MIDI signal related to the pedal includes information of pedal on and pedal off.

[0035] It should be noted that the MIDI signal is control information for instructing sound-related processing, and is, for example, event data such as note on, note off, program change, pitch bend change, control change, etc. Hereinafter, they will be simply referred to as "events".

[0036] The various operation sections 19 include a plurality of operation members (not shown) for inputting various information and receive instructions from the user. The display section 20 displays various information. The sound generation section 21 includes a sound source circuit, an effect circuit, and a sound system (not shown in all cases). The sound generation section 21 has functions such as correcting sound characteristics in sound control based on events of the CPU 11, which will be described in detail later.

[0037] Figure 2 This is a functional block diagram of an electronic keyboard instrument 100 for implementing consecutive hit determination processing. The electronic keyboard instrument 100 includes, as functional units, a first acquisition unit 31, a second acquisition unit 32, a determination unit 33, and a control unit 34. The functions of these respective functional units are implemented through the cooperation of a CPU 11, a ROM 12, a RAM 13, a timer 14, a sound generation unit 21, and various I / Fs 16, etc. It should be noted that when the "specified sound control" function described later is not required, the control unit 34 does not need to be provided.

[0038] Generally speaking, when the same key is continuously pressed within a specified time TX (for example, 3 seconds; Figures 3 to 6 ), and a specified condition is satisfied, it is generally determined as a consecutive hit of the same note. In the present embodiment, the operation of the pedal 18 is also considered in the determination of consecutive hits of the same note. It should be noted that the "consecutive hit of the same note" here is, for example, "a consecutive hit of the same pitch".

[0039] However, the events used in the determination are not limited to the events of obtaining force through the actual operations of the keyboard unit 17 and the pedal 18, and may also be events obtained from the outside through various I / Fs 16. Alternatively, a series of MIDI data stored in the storage unit 15 may be obtained and analyzed to determine consecutive hits of the same note.

[0040] The first acquisition unit 31 acquires note-on events and note-off events as note events corresponding to the operations of the respective keys in the keyboard unit 17.

[0041] The second acquisition unit 32 acquires pedal-on events and pedal-off events as pedal events corresponding to the operations of the pedal 18.

[0042] Based on the time interval from the acquisition of the first note-on event (the first note-on event) related to consecutive same notes to the acquisition of the second note-on event (the second note-on event) among the acquired note-on events, note-off events, pedal-on events, and pedal-off events, the determination unit 33 determines whether the second note-on event is a consecutive hit of the same note with respect to the first note-on event.

[0043] When it is determined that it is a consecutive hit of the same note, the control unit 34 performs "specified sound control" different from the sound control (normal sound control) when it is determined that it is not a consecutive hit of the same note for the sound control based on the second note-on event. The normal sound control controls sound generation and sound cancellation with the set sound characteristics. In the specified sound control, as will be described later in Figure 8 it corrects the sound characteristics.

[0044] Figures 3 to 6 This is a timing diagram showing the type when determining consecutive hits of the same note based on the input events.

[0045] First, regarding the state of the pedal 18, after the acquisition of a pedal-on event, the determination unit 33 determines the state where a pedal-off event has not been acquired as the "pedal-on state" corresponding to the state of depressing the pedal 18. The determination unit 33 determines any other state as the "pedal-off state" corresponding to the state of not depressing the pedal 18.

[0046] In Figure 3 the example of, a note-off event is acquired between the first note-on event and the second note-on event. Also, the second note-on event is acquired within a prescribed time TX from the acquisition of the first note-on event. That is, the time interval between the first and second note-on events is within the prescribed time TX. On the other hand, the pedal is in the pedal-on state at the acquisition time of the note-off event and the acquisition time of the second note-on event. In this case, it is determined as a homophonic double hit.

[0047] That is, when the determination unit 33 acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event in the pedal-on state before the elapse of the prescribed time TX from the acquisition of the first note-on event, it is determined as a homophonic double hit. It should be noted that the acquisition time of the pedal-on event only needs to be before the note-off event after the first note-on event, and the front-back relationship with the first note-on event is not restricted.

[0048] In Figure 4 the example of, a note-off event is acquired between the first note-on event and the second note-on event. Also, the second note-on event is acquired after the elapse of the prescribed time TX from the acquisition of the first note-on event. In this case, although the note-off event and the second note-on event are acquired in the pedal-on state, it is determined as not a homophonic double hit. It should be noted that the front-back relationship between the pedal-on event and the first note-on event is not restricted.

[0049] That is, when the determination unit 33 acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event after the elapse of the prescribed time TX from the acquisition of the first note-on event, it is determined as not a homophonic double hit.

[0050] In Figure 5 the example of, a note-off event is acquired between the first note-on event and the second note-on event. However, the pedal is in the pedal-off state at the acquisition time of the second note-on event. In this case, it is determined as not a homophonic double hit.

[0051] That is, when the determination unit 33 acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event after the pedal becomes in the pedal-off state, it is determined as not a homophonic double hit. It should be noted that the front-back relationship between the pedal-on event and the first note-on event is not restricted.

[0052] In Figure 6 the example of Figure 6 , no note-off event is obtained between the first note-on event and the second note-on event. Also, the second note-on event is obtained within a specified time TX from the acquisition of the first note-on event. This corresponds to the case where the key is continuously pressed to a deeper pressed position within a short period of time. In this case, regardless of the state of the pedal, it is determined to be a homophonic double strike.

[0053] That is, the determination unit 33 determines it to be a homophonic double strike when no note-off event is obtained after the first note-on event and the second note-on event is obtained before the elapse of the specified time TX from the acquisition of the first note-on event. Therefore, it is possible to determine a homophonic double strike that does not pass through a note-off.

[0054] Figure 7 is a flowchart of the double strike determination process. This process starts, for example, when the power of the electronic keyboard instrument 100 is turned on and ends when the power is turned off.

[0055] In step S101, the CPU 11 monitors the input of an event (note event or pedal event). If an event is input, the event is acquired; if no event is input, the process is skipped. In step S102, the CPU 11 starts the determination of the pedal state based on the last acquired pedal event. Thereafter, the pedal state is determined whenever a new pedal event is acquired, and the determination result is updated.

[0056] In step S103, the CPU 11 determines whether a note-on event is acquired in step S101. The note-on event acquired in step S101 is the "first note-on event". It should be noted that when the CPU 11 acquires a note-on event, the timer 14 starts timing the elapsed time from the acquisition moment of this note-on event.

[0057] As a result of the determination in step S103, if the CPU 11 does not acquire a note-on event, it returns to step S101; if a note-on event is acquired, it proceeds to step S104.

[0058] In step S104, the CPU 11 monitors the input of an event. If an event is input, the event is acquired; if no event is input, the process is skipped. In step S105, the CPU 11 determines whether a note-on event consecutive to the first note-on event (related to the same pitch) is acquired in step S104. The note-on event acquired in step S104 becomes the "second note-on event".

[0059] When the discrimination result in step S105 does not obtain the second note-on event, in step S106, the CPU 11 determines whether a specified time TX has elapsed since the acquisition time of the first note-on event. Then, when the specified time TX has not elapsed since the acquisition time of the first note-on event, the CPU 11 returns to step S104. However, when the specified time TX has elapsed since the acquisition time of the first note-on event, the CPU 11 proceeds to step S108.

[0060] In step S108, the CPU 11 determines that the current second note-on event is not a homophonic double hit relative to the first note-on event. For example, as Figure 4 in the example of, when the specified time TX has elapsed during the period from the acquisition of the first note-on event to the acquisition of the second note-on event, regardless of the pedal state, it is determined that it is not a homophonic double hit. This is regardless of whether a note-off event has been obtained during the period from the acquisition of the first note-on event to the acquisition of the second note-on event. Additionally, considering changing Figure 6 a part of, assuming that a note-off event has not been obtained and the specified time TX has elapsed during the period from the acquisition of the first note-on event to the acquisition of the second note-on event, it is also determined that it is not a homophonic double hit. After step S108, the CPU 11 returns to step S101.

[0061] When the discrimination result in step S105 is that the second note-on event has been obtained, the CPU 11 performs a determination process in step S107. In this determination process, based on the time interval from the acquisition of the first note-on event to the acquisition of the second note-on event, the note-off event, the pedal-on event, and the pedal-off event, it is determined whether it is a homophonic double hit.

[0062] For example, as Figure 3 in the example of, when the note-off event after the acquisition of the first note-on event in the pedal-on state is maintained and the second note-on event is obtained in the pedal-on state before the specified time TX has elapsed since the acquisition of the first note-on event, it is determined that it is a homophonic double hit.

[0063] Additionally, as Figure 6 in the example of, when no note-off event is obtained after the first note-on event and the second note-on event is obtained before the specified time TX has elapsed since the acquisition of the first note-on event, it is also determined that it is a homophonic double hit.

[0064] However, as Figure 5 in the example of, when the note-off event after the acquisition of the first note-on event in the pedal-on state and the second note-on event is obtained after becoming the pedal-off state, it is determined that it is not a homophonic double hit. After the determination process, the CPU 11 returns to step S101.

[0065] Note that in the determination process (S107), it is also possible to configure it to be able to determine homophonic consecutive strikes of three or more strikes. In such a case, after a specified time TX has elapsed since the acquisition of the last note-on event, it returns to step S101. When the next note-on event is acquired before the specified time TX has elapsed since the acquisition of the last note-on event, the type determination shown in Figures 3 to 6 can also be applied to determine whether the next note-on event conforms to a homophonic consecutive strike with respect to the last note-on event. That is, the processing equivalent to S104 to S106 can also be executed until the specified time TX has elapsed since the last note-on event. Therefore, when the last note-on event is set as the first note-on event and the next note-on event is set as the second note-on event, if the two are in a relationship of homophonic consecutive strikes, it can also be determined that it is a homophonic consecutive strike of three or more strikes.

[0066] Next, a specified sound control will be described. The specified sound control can also be applied to real-time performance processing that generates sound in conjunction with the performance operation of the performer on the keyboard unit 17.

[0067] Figure 8 is a diagram showing a signal flow for implementing the specified sound control. The specified sound control, when it is determined that there is a homophonic consecutive strike, is applied to the sound control based on the note-on event determined to be a homophonic consecutive strike (in the case of a double strike, it is the second note-on event). In this sound control, as an example, for the purpose of achieving a timbre deviation closer to natural, the equalizer characteristics are controlled.

[0068] Note that the method for determining homophonic consecutive strikes in the case of applying this specified sound control is not limited to the above example. That is, when it is determined that there is a homophonic consecutive strike by other methods including known methods, the specified sound control can also be applied. In addition, the execution timing of the specified sound control is not limited, but for example, it can start when it is determined that there is a homophonic consecutive strike.

[0069] The conversion table 41, the normal distribution table 43, and the EQ coefficient table 44 are stored in advance in the storage unit 15. The function of the calculation unit 42 is realized through the cooperation of the CPU 11, the ROM 12, the RAM 13, etc. The determination of the values in each table and the calculation of the values in the calculation unit 42 are controlled by the control unit 34 ( Figure 2 ).

[0070] The note numbers, velocities, and note-on intervals of each note event are input into the conversion table 41. The velocity includes the note-on velocity and the note-off velocity. The note-on interval is the time interval from the acquisition of the above first note-on event to the acquisition of the second note-on event.

[0071] The conversion table 41 converts the input information into the influence degree on the variance and outputs it to the calculation unit 42. The influence degrees are output respectively for the note number, the tempo, and the note-on interval.

[0072] In the specified sound control, the control unit 34 uses the variance adjustment coefficient K1 (correction value) calculated by the calculation unit 42 to correct the sound characteristics. The variance adjustment coefficient K1 is equivalent to the standard deviation and is calculated as a value of any one of multiple stages (for example, 10 stages), for example. When the control unit 34 causes the calculation unit 42 to calculate the variance adjustment coefficient K1, the control unit 34 uses the conversion table 41 to determine the respective influence degrees on the variance adjustment coefficient K1 in the following manner. For example, the control unit 34 executes at least one of the following (a) to (e).

[0073] (a)The lower the note number, the greater the influence degree of the note number is increased

[0074] (b)The greater the note-on tempo of the first note-on event, the greater the influence degree of the tempo is increased

[0075] (c)The greater the note-on tempo of the second note-on event, the greater the influence degree of the tempo is increased

[0076] (d)The greater the difference between the note-on tempo of the first note-on event and the note-on tempo of the second note-on event, the greater the influence degree of the tempo is increased

[0077] (e)The shorter the note-on interval, the greater the influence degree of the note-on interval is increased

[0078] The calculation unit 42 calculates the variance adjustment coefficient K1 based on the respective influence degrees input from the conversion table 41. It should be noted that weights can also be set for the respective influence degrees.

[0079] A random index with an equal probability is input in the normal distribution table 43. The normal distribution table 43 generates a random number R1 for this input. Since the random number R1 is generated using the normal distribution (Gaussian distribution), the timbre deviation is random, and a coherent timbre deviation close to natural phenomena can be achieved.

[0080] By multiplying the random number R1 by the variance adjustment coefficient K1, it becomes the final index, and this final index is input to the EQ coefficient table 44. The EQ coefficient table 44 generates and outputs the EQ coefficient K2 based on the input final index. Here, as an example, the final index is a scalar value for selecting the EQ coefficient K2, and the EQ coefficient K2 is the filter coefficient of an IIR (Infinite Impulse Response) filter.

[0081] The control unit 34 controls the equalizer characteristics in the sound generation of the second note-on event using the output EQ coefficient K2, thereby achieving a predetermined sound control different from the normal sound control. This control can appropriately reproduce the timbre deviation when the same note is played repeatedly, such as in an acoustic keyboard instrument, thereby improving the expressiveness.

[0082] In addition, the equalizer characteristics can be made variable for each of the divided frequency domains (frequency bands). For example, the frequency domain can be divided into multiple (for example, three) frequency domains by multiple center frequencies, and a random number R1 is generated for each frequency domain, thereby determining the EQ coefficient K2 for each frequency domain. In this way, the expressiveness is further improved.

[0083] Furthermore, when making the equalizer characteristics variable for each of the divided frequency regions, the center frequency or the number of frequency regions may be changed by a random number.

[0084] It should be noted that, from the viewpoint of improving expressiveness, the control unit 34 is not limited to the equalizer characteristics in the prescribed sound control, and may control at least one of the equalizer characteristics, the attack waveform, or the volume characteristics (speed characteristics). In this case, the attack waveform or the volume characteristics may be determined based on the random number. For example, the attack waveform or the volume characteristics may be maintained in a plurality of patterns, and the random number range may be divided into a plurality of patterns, and the attack waveform or the volume characteristics corresponding to the range to which the generated random number belongs may be adopted.

[0085] It should be noted that, in the case of determining that the same-sound combo is three or more consecutive hits, the sound characteristics can be changed by further adding parameters according to the number of consecutive hits. For example, in the third sound, the second sound can be further multiplied by a coefficient based on other parameters, or multiplied by a newly generated random number, so that the third sound characteristics are different from the second sound characteristics.

[0086] It should be noted that, from the viewpoint of achieving a predetermined sound control regardless of the method of determining the unison hit, the electronic keyboard instrument 100 includes the following as a functional unit: Figure 2 The first acquisition unit 31 shown may be an acquisition unit, a determination unit instead of the determination unit 33, and a control unit instead of the control unit 34. The functions of these functional units are realized by the cooperation of the CPU 11, ROM 12, RAM 13, timer 14, sound generation unit 21, and various I / Fs 16.

[0087] First, the above acquisition unit acquires note-on events and note-off events as note events corresponding to the operation of the keys. The above determination unit determines whether the first note-on event and the second note-on event related to consecutive same notes among the acquired note-on events are homophonic double hits. Regarding the sound control based on the second note-on event, in the case where it is determined to be a homophonic double hit, the above control unit performs a prescribed sound control different from the sound control in the case where it is determined not to be a homophonic double hit. In addition, in the prescribed sound control, the above control unit uses a random number corresponding to the variance set based on the correction value to correct the sound characteristics.

[0088] For example, in Figure 8 , assuming that the variance adjustment coefficient K1 is the "correction value", the product value of the random number R1 (a random number following a normal distribution) and the variance adjustment coefficient K1 is the "value corresponding to the random number following the normal distribution with the variance corrected", and the EQ coefficient K2 is the "filter coefficient corresponding to the EQ (n numbers)". In this case, the above control unit uses the "random number" corresponding to the "variance" set based on the "correction value" to correct the sound characteristics.

[0089] According to the present embodiment, based on the note-on interval, note-off event, pedal-on event, and pedal-off event, it is determined whether the second note-on event is a homophonic double hit relative to the first note-on event. Therefore, considering the relationship with the pedal state to determine the homophonic double hit, the homophonic double hit can be appropriately determined.

[0090] According to the present embodiment, in the case where it is determined to be a homophonic double hit, a prescribed sound control different from the sound control in the case where it is determined not to be a homophonic double hit is performed. Therefore, the timbre deviation during homophonic double hits can be reproduced, and thus the expressiveness can be improved.

[0091] It should be noted that the present invention can also be applied to the process of reducing the number of simultaneous sounds. For example, based on the determination result of the homophonic double hit, the sound generation of a part of the sound generation channels in a double hit relationship can be stopped.

[0092] It should be noted that the device applying the double hit determination device of the present invention is not limited to an electronic keyboard instrument and does not necessarily have a sound generation function.

[0093] It should be noted that at least a part of the respective functional units shown in Figure 2 , Figure 8 can also be implemented by AI (Artificial Intelligence).

[0094] The present invention has been described in detail based on its preferred embodiments, but the present invention is not limited to these specific embodiments and is intended to include various embodiments within the scope not departing from the gist of the present invention.

[0095] It should be noted that by reading out a storage medium storing a control program represented by software for implementing the present invention into this musical instrument, the same effects as those of the present invention can be achieved. In this case, the program code read out from the storage medium itself implements the new functions of the present invention, and the non-transitory computer-readable recording medium storing the program code constitutes the present invention. Additionally, the program code can also be supplied via a transmission medium or the like. In this case, the program code itself constitutes the present invention. Furthermore, as the storage medium in these cases, in addition to ROM, floppy disks, hard disks, optical discs, magneto-optical discs, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, etc. can also be used. As the non-transitory computer-readable recording medium, it also includes media that hold a program for a certain period of time, such as a server when the program is transmitted via a network such as the Internet or a communication line such as a telephone line, and a volatile memory (e.g., DRAM (Dynamic Random Access Memory)) inside a computer system serving as a client.

Claims

1. A combo judgment device, characterized in that, Comprising: A first acquisition unit that acquires a note-on event and a note-off event as note events corresponding to operations of keys; A second acquisition unit that acquires a pedal-on event and a pedal-off event as pedal events corresponding to operations of a pedal having a function of sustaining sound; A determination unit that determines whether or not it is a homophonic double hit with respect to the first note-on event and the second note-on event based on the time interval from the acquisition of the first note-on event related to consecutive same notes to the acquisition of the second note-on event among the acquired note-on events, the note-off event, the pedal-on event, and the pedal-off event.

2. The double-hit determination device according to claim 1, After the acquisition of the pedal-on event, the determination unit determines the state where the pedal-off event has not been acquired as a pedal-on state corresponding to the state of stepping on the pedal, and determines the other states as a pedal-off state corresponding to the state of not stepping on the pedal, When the determination unit acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event in the pedal-on state before a predetermined time has elapsed since the acquisition of the first note-on event, it determines that it is a homophonic double hit.

3. The double-hit determination device according to claim 1, After the acquisition of the pedal-on event, the determination unit determines the state where the pedal-off event has not been acquired as a pedal-on state corresponding to the state of stepping on the pedal, and determines the other states as a pedal-off state corresponding to the state of not stepping on the pedal, When the determination unit acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event after a predetermined time has elapsed since the acquisition of the first note-on event, it determines that it is not a homophonic double hit.

4. The double-hit determination device according to claim 1, After the acquisition of the pedal-on event, the determination unit determines the state where the pedal-off event has not been acquired as a pedal-on state corresponding to the state of stepping on the pedal, and determines the other states as a pedal-off state corresponding to the state of not stepping on the pedal, When the determination unit acquires a note-off event after the first note-on event in the pedal-on state and acquires the second note-on event after becoming the pedal-off state, it determines that it is not a homophonic double hit.

5. The double-hit determination device according to claim 1, When the determination unit does not acquire a note-off event after the first note-on event and acquires the second note-on event before a predetermined time has elapsed since the acquisition of the first note-on event, it determines that it is a homophonic double hit.

6. The double-hit determination device according to claim 1, It further has a control unit that, when it is determined that it is a homophonic double hit, performs a predetermined sound control different from the sound control in the case where it is determined that it is not a homophonic double hit for the sound control based on the second note-on event.

7. The double-hit determination device according to claim 6, The control unit performs the specified sound control based on at least one of the note number, the note-on velocity of the first note-on event, the note-on velocity of the second note-on event, or the time interval.

8. The double-hit determination device according to claim 6, The control unit implements the specified sound control using a random number generated by using a normal distribution.

9. A combo judgment device, characterized in that, comprising: an acquisition unit that acquires a note-on event and a note-off event as note events corresponding to operations of keys; a determination unit that determines whether a first note-on event and a second note-on event related to consecutive same notes among the acquired note-on events are double-hits of the same note; a control unit that, when it is determined that it is a double-hit of the same note, performs a specified sound control different from the sound control when it is determined that it is not a double-hit of the same note for the sound control based on the second note-on event; In the specified sound control, the control unit uses a random number corresponding to a variance set based on a correction value to correct the sound characteristics.

10. A double-hit determination method implemented by a computer, characterized in that a note-on event and a note-off event are acquired as note events corresponding to operations of keys, a pedal-on event and a pedal-off event are acquired as pedal events corresponding to operations of a pedal having a function of sustaining sound, based on the time interval from the acquisition of the first note-on event related to consecutive same notes among the acquired note-on events to the acquisition of the second note-on event, the note-off event, the pedal-on event, and the pedal-off event, it is determined whether it is a double-hit of the same note with respect to the first note-on event and the second note-on event.

11. A program that causes a computer to execute a double-hit determination method, characterized in that a note-on event and a note-off event are acquired as note events corresponding to operations of keys, a pedal-on event and a pedal-off event are acquired as pedal events corresponding to operations of a pedal having a function of sustaining sound, based on the time interval from the acquisition of the first note-on event related to consecutive same notes among the acquired note-on events to the acquisition of the second note-on event, the note-off event, the pedal-on event, and the pedal-off event, it is determined whether it is a double-hit of the same note with respect to the first note-on event and the second note-on event.