Resonance sound control device
10049651 ยท 2018-08-14
Assignee
Inventors
Cpc classification
G10H2210/271
PHYSICS
G10H2220/221
PHYSICS
G10H2210/305
PHYSICS
International classification
G10H7/00
PHYSICS
G10H1/34
PHYSICS
Abstract
In an electronic piano including plural keys and a sound source device (sound emission section) that emits a sound by pressing of the key, an intermediary resonance state of a resonance sound can be reproduced by including a resonance circuit that inputs a sound source from the sound source device corresponding to the each key and outputs a resonance sound, a position detection sensor (multi-stage switch section) in which plural switches close sequentially according to a key pressing state of the key, and a resonance sound control device that controls the resonance sound by an open/close state of plural switches by the position detection sensor.
Claims
1. A resonance sound control device in an electronic piano including a plurality of keys and a sound emission section that emits a sound by pressing of the key, comprising: a resonance circuit that inputs a sound source from the sound emission section corresponding to the each key and outputs a resonance sound; a multi-stage switch section in which a plurality of switches close sequentially according to a key pressing state of the key; and a resonance sound control section that controls the resonance sound by an open/close state of the plurality of switches by the multi-stage switch section.
2. The resonance sound control device according to claim 1, wherein the multi-stage switch section includes N pieces of switch, an intermediary resonance state of the resonance sound is reproduced in an ON-state of the first to (M1)-th switches where M is an integer smaller than N, a perfect resonance state of the resonance sound is reproduced in an ON-state of the M-th switch, and an actual sound of the electronic piano is emitted in an ON-state of the N-th switch.
3. The resonance sound control device according to claim 1, wherein the multi-stage switch section includes 3 pieces of switch, an intermediary resonance state of the resonance sound is reproduced in an ON-state of only the first switch, a perfect resonance state of the resonance sound is reproduced in an ON-state of the second switch, and an actual sound of the electronic piano is emitted in an ON-state of the third switch.
4. The resonance sound control device according to claim 2, wherein the electronic piano includes a damper pedal, and the resonance sound control section controls a resonance sound considering a stepped down state of the damper pedal.
5. The resonance sound control device according to claim 3, wherein the electronic piano includes a damper pedal, and the resonance sound control section controls a resonance sound considering a stepped down state of the damper pedal.
6. The resonance sound control device according to claim 2, wherein the electronic piano includes a sostenute pedal, and the resonance sound control section controls the resonance sound in the resonance circuit by a resonance coefficient selected by combination of an ON/OFF state of the plurality of switches configuring the multi-stage switch section and an ON/OFF state of the sostenute pedal considering a stepped down state of the sostenute pedal.
7. The resonance sound control device according to claim 3, wherein the electronic piano includes a sostenute pedal, and the resonance sound control section controls the resonance sound in the resonance circuit by a resonance coefficient selected by combination of an ON/OFF state of the plurality of switches configuring the multi-stage switch section and an ON/OFF state of the sostenute pedal considering a stepped down state of the sostenute pedal.
8. The resonance sound control device according to claim 4, a resonance state is compared between in an ON/OFF state by the multi-stage switch section and in a stepped down state by the damper pedal, and a resonance sound is added with either state having a stronger resonance state being made the state of each key.
9. The resonance sound control device according to claim 5, a resonance state is compared between in an ON/OFF state by the multi-stage switch section and in a stepped down state by the damper pedal, and a resonance sound is added with either state having a stronger resonance state being made the state of each key.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) An Embodiment of the present invention will be described in detail based on the following drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DESCRIPTION OF EMBODIMENTS
(15) Hereinafter, a resonance sound emission device according to an embodiment of the present invention will be explained referring to the drawings.
(16) In the drawing, a CPU 1, a RAM 2, a ROM 3, a program memory 4, a music sound waveform memory 5, a sound source device 6 as a sound emission section, a keyboard interface 7, a pedal interface 8, a panel interface 9, and a resonance sound control device 10 are connected to a bus line 40.
(17) A keyboard device 70 is connected to the keyboard interface 7, a pedal device 80 is connected to the pedal interface 8, and an operation panel 90 is connected to the panel interface 9 respectively.
(18) The keyboard device 70 includes plural (88 keys for example) keys and a position detection sensor that detects the pressing down amount of each key.
(19) The keyboard interface 7 creates key event information and touch information based on an output signal of the position detection sensor. The information of them is linked to the key number, and is stored in the RAM 2.
(20) The pedal device 80 is arranged in order to reproduce, by an electronic piano, an effect achieved by stepping of each pedal in an acoustic piano. The pedal device 80 includes a damper pedal that makes all strings to resonate, a sostenuto pedal that makes a specific string to resonate, a soft pedal that reduces the sound emission, and sensors (volume) that detect the stepping amount of these pedals.
(21) The sensor (volume) that detects the stepping amount of the damper pedal is configured with a sensor that can detect 128 stages of the stepping amount, fine control is not conducted in the resonance process, and therefore it is configured to be capable of detecting the stepping amount (step down state) of 8 stages for example.
(22) Further, the sensor (volume) that detects the stepping amount of the sostenuto pedal is also configured with a sensor that can detect 128 stages of the stepping amount, and it is configured to be capable of detecting the stepping amount (step down state) of 2 stages of ON/OFF with 64 stages for example as a boundary.
(23) A digital/analog converter 20 is connected to the resonance sound control device 10, and a sound system 30 including amplifiers and speakers is connected to the digital/analog converter 20. With respect to the amplifier and the speaker, it is preferable to arrange at least 2 sets each so that the direction of the sound image can be controlled.
(24) The CPU 1 controls each configuration elements according to a control program that is stored in the program memory 4. Waveform data corresponding to plural timbres are stored in the music sound waveform memory 5, and a parameter for processing the music sound waveform data and creating a music sound is stored in the ROM 3. The RAM 2 is used as a work area that temporarily stores various data when the CPU 1 executes a program. The operation panel 90 includes an LCD screen, various switches and volumes, and display lamps such as an LED, and is disposed on a control panel that is arranged adjacently to the keyboard device 70 for example.
(25) At the time of a performance, music sound waveform data are read out from the music sound waveform memory 5 to the sound source device 6 in response to a key-on signal that is inputted from the keyboard device 70. The music sound waveform data are read out at a frequency corresponding to the key-on number included in the key-on signal. In the sound source device 6, with respect to the music sound waveform data having been read out, processes of the envelope control, addition of effects, and so on are practiced, the envelope control including formation of an attack section according to the velocity, and a music sound signal is created. The music sound signal is provided with a resonance sound by the resonance sound control device 10, is converted to an analog music sound signal by the digital/analog converter 20, and is thereafter fed to the sound system 30. In the sound system 30, the analog music sound signal is amplified by the amplifiers, and is sounded by the speakers.
(26) The resonance sound control device 10 is a device that adds the resonance sound of strings (string resonance) in a state where the damper gets away to the sound source (actual sound of a piano). As shown in
(27) Also, the resonance circuit 11 is configured to be capable of reproducing a state where the key partially pressed resonates in pressing the key and the resonance degree that changes according to the key pressing depth.
(28) In other words, as shown in
(29) The feedback coefficient (resonance coefficient) is selected from a resonance sound coefficient table based on four elements of a key pressing state in the keyboard device 70, the stepping amount (step down state) of the damper pedal and the stepping amount (step down state) of the sostenuto pedal in the pedal device 80, and a key number in the keyboard device 70. Thereby an intermediary resonance state can be reproduced. The reason of considering the key number is that, since the string is different according to the key, the resonance coefficient is made to differ for each sound range so as to achieve a resonance sound matching the string.
(30) The keyboard device 70 is made a three-contact keyboard where a first switch SW1, a second switch SW2, and a third switch SW3 are turned on in order in pressing the key. Thereby, the keyboard device 70 is configured to detect a pressing depth position in each key to determine the key pressing state. In other words, the actual sound is emitted when the third switch SW3 is turned on, the sound is made to be in an intermediary (low sound volume) resonance state of the key when only the first switch SW1 is turned on, the sound is determined to be in a perfect resonance state when the second switch SW2 is turned on. Thereby, an intermediary resonance state of an acoustic piano can be reproduced.
(31)
(32) Each key 71 of the keyboard device 70 is supported by a balance pin 72 that becomes a fulcrum, and a capstan screw 73 protruding upward is arranged near the end part on a right side of the balance pin 72, namely the back direction of the key 71. In a frame 74, a hammer section 76 is arranged, the hammer section 76 extending generally in the horizontal direction and being vertically swingable around a shaft 75 that is arranged near the frame 74. Near the distal end of the hammer section 76, an action weight 76a is arranged.
(33) Meanwhile, at a position of the key 71 to the left of the balance pin 72, namely near the end part in the front direction of the key 71, a counterweight 78 is arranged in a hanging state. Also, in the frame 74, a stopper 79 is arranged which suppresses the action weight 76a from jumping up excessively. With respect to the key 71, a side where the counterweight 78 is arranged is at a lifted position when the key 71 is not pressed.
(34) When the key 71 is pressed at the time of a performance, a front end part of the key 71 lowers around the balance pin 72, and the back side end part of the key 71 is lifted up adversely. At this time, since the capstan screw 73 pushes up the hammer section 76 provided with the action weight 76a, a performer feels the reaction force of this pushing up force as a touch.
(35) On a lower surface in a center of the stopper 79, a position detection sensor SW as a sensor for detecting a displacement amount in a vertical direction of the hammer section 76 is arranged. On an upper surface in a center of the hammer section 76, a switch pressing section 77 for pressing the position detection sensor SW is arranged. The position detection sensor SW is configured with the first to third switches SW1, SW2, SW3 having different distance to the switch pressing section 77.
(36) The first switch SW1 detects pressing of the switch pressing section 77 arranged in the hammer section 76 that is interlocked when the key 71 starts to descend, and generates an output. The third switch SW3 detects pressing of the switch pressing section 77 at a position in the vicinity of a lowermost position of the key 71, namely at a position where the position the key 71 is pushed down to the maximum, and generates an output. The second switch SW2 detects pressing of the switch pressing section 77 in the middle of descending of the key 71, namely when the key 71 has descended to a height set between the first switch SW1 and the third switch SW3, and generates an output.
(37) It is preferable that the position detection sensor SW is configured with a dome-shape rubber switch and a switch substrate having a junction of carbon and the like. A movable junction is arranged in the rubber switch. When the rubber switch is pressed by the switch pressing section 77, the rubber switch deforms, the movable junction comes in contact with a carbon junction, and thereby an output is generated.
(38) Also, the position detection sensor SW may be various kinds of position detection sensors such as a magnetic sensor, an optical sensor, and a vibration sensor.
(39) Further, as described above, the operation state (stepping amount) of the damper pedal and the sostenute pedal by the pedal device 80 comes to be related to the resonance state. In other words, with respect to the damper pedal, by stepping this pedal, the damper felt comes to a state of getting away from strings corresponding to all keys 71, and resonance (a role of extending all sounds: damper resonance) occurs among all strings. With respect to the sostenute pedal, when the key 71 is pressed and this pedal is stepped, the damper felt comes to a state of getting away from a string corresponding to the pressed key 71, this string resonates (a role of extending a specific sound), and only the sound continues even when the finger is detached from the key 71. Therefore, even by a control signal (a pedal stepping signal by the sensor) inputted from the damper pedal and the sostenute pedal of the pedal device 80, an effect corresponding to the pedal configuring the pedal device 80, namely a damper pedal effect and a sostenute pedal effect, is added to a music sound signal.
(40) When a resonance sound is created by the resonance circuit 11 described above, it is necessary to effect control referring to not only the state of the position detection sensor SW (the first switch SW1, the second switch SW2, the third switch SW3) of the keyboard device 70 but also to the state of the damper pedal and the sostenute pedal of the pedal device 80. For example, the state by the switch of each key 71 and the state of the damper pedal are compared with each other, and the state having a stronger resonance state is made a resonance state of each key 71, and the resonance sound is added. A concrete procedure for adding a resonance sound will be described below.
(41) Next, a music sound generation process in an electronic piano will be explained referring to the flowchart of
(42) When the electric source of the electronic piano is turned on, first, an initializing process is executed such as initializing of variables in executing each process (Step S1).
(43) Next, a panel event process of grasping the operation state of the operation panel 90 is executed (Step S2).
(44) Next, a key event process of grasping the key pressing state in the keyboard device 70 is executed (Step S3).
(45) Next, a pedal event process of grasping the pedal operation state in the pedal device 80 is executed (Step S4).
(46) Next, a resonance coefficient transfer process of transferring the resonance sound coefficient (the feedback coefficient in
(47) Next, a music sound generation process of generating a music sound according to pressing of a key 71 of the keyboard device 70 is executed (Step S6).
(48) Next, an effect provision process of providing a sound effect such as a resonance sound by the resonance sound coefficient based on Step S5 to the music sound of Step S6 is executed (Step S7).
(49) Then, after other processes (Step S8) are executed, the process returns to Step S2.
(50) Thereafter, the processes from Step S2 are repeated.
(51)
(52) First, a smoothing coefficient (smth) of the resonance coefficient and a damper pedal value (CurPedal) are initialized (Step S11). The smoothing coefficient (smth) of the resonance coefficient is a smoothing coefficient for suppressing generation of a noise in transferring the resonance coefficient, and is set to a preset determined value for initialization. The damper pedal value (CurPedal) is a current value of the stepping amount of the damper pedal, and is initialized to 0.
(53) Next, a key number (KeyNo) of a processing object is initialized to 0 (Step S12).
(54) Then, SW1 (KeyNo) showing the ON/OFF state of the first switch SW1 of the key number (KeyNo), SW2 (KeyNo) showing the ON/OFF state of the second switch SW2 of the key number (KeyNo), and SW3 (KeyNo) showing the ON/OFF state of the third switch SW3 of the key number (KeyNo) are made OFF respectively, sosteFlag (KeyNo) showing the state of the sostenute process of the key number (KeyNo) is made OFF, and a current value CurResCoef (KeyNo) of the resonance coefficient of the key number (KeyNo) and a target value TarResCoef (KeyNo) of the resonance coefficient of the key number (KeyNo) are made 0 (Step S13).
(55) With respect to the process of Step S13, initialization for all keys is completed by continuing until the key number (KeyNo) becomes larger than 127 (Step S14), other initialization processes are executed (Step S15), and initialization finishes.
(56) Although the number of pieces of the key of an electronic piano is 88 pieces, since 128 pieces of key are made the object in the process in MID employed in the standards of the electronic musical instrument, processes for 128 keys are executed in order to execute the process in compliance with the standards in the present embodiment which is the reason where the key number (KeyNo) exists up to 127.
(57) The resonance sound control device 10 of the present invention is characterized that a resonance sound matching the resonance coefficient is added to a music sound signal of the sound source device 6 considering the key pressing state in the keyboard device 70 and the pedal operation state in the pedal device 80. Therefore, a process for adding a resonance sound to a music sound signal is executed by a series of processes of the key event process (Step S3) for grasping the key pressing state in the keyboard device 70, the pedal event process (Step S4) for grasping the pedal operation state in the pedal device 80, the resonance coefficient transfer process (Step S5) for transferring a coefficient of the resonance sound determined from the operation state of the keyboard device 70 and the pedal device 80.
(58) Hereinafter, a procedure related to adding a resonance sound in a series of processes described above will be explained referring to the flowcharts of
(59)
(60) First, whether or not there is a change in the state of the key is determined (Step S21).
(61) When there is a change in the state of the key in Step S21, the key number (KeyNo) with a change is stored in a memory (Step S22).
(62) Next, the state of the first switch (SW1) to the third switch (SW3) in the key number (KeyNo) with a change is stored in the memory (Step S23). In other words, the ON/OFF state of the first switch SW1 (KeyNo), the second switch SW2 (KeyNo), and the third switch SW3 (KeyNo) is stored.
(63) Then, from the combination of the ON/OFF state of the first switch SW1 (KeyNo), the second switch SW2 (KeyNo), and the third switch SW3 (KeyNo), a resonance coefficient calculation process for calculating the resonance coefficient is executed (Step S24). A concrete procedures of the resonance coefficient calculation process will be described below.
(64) After the resonance coefficient calculation process is executed, the other key event process with respect to the key state other than that related to resonance coefficient calculation is executed (Step S25).
(65)
(66) Next, the sostenute pedal process (Step S31) in
(67)
(68) First, whether or not there is a change in the state of the sostenute pedal is determined (Step S41).
(69) When there is a change in the state of the sostenute pedal in Step S41, the key number (KeyNo) of the processing object is initialized to 0 (Step S42).
(70) Next, whether or not the sostenute pedal is in ON-state is determined (Step S43).
(71) When the sostenute pedal is not in ON-state in Step S43, sosteFlag (KeyNo) of the corresponding key number (KeyNo) is set to OFF (Step S44), and the resonance coefficient calculation process is executed (Step S45). A concrete procedure of the resonance coefficient calculation process will be described below.
(72) When the sostenute pedal is in ON-state in Step S43, whether or not the second switch SW2 (KeyNo) is in ON-state is determined (Step S46), sosteFlag (KeyNo) of the key number (KeyNo) corresponding to being in ON-state is set to ON (Step S47).
(73) Also, when the second switch SW2 (KeyNo) is in OFF-state in Step S46, even when the sostenute pedal is in ON-state in Step S43, sosteFlag (KeyNo) of the corresponding key number (KeyNo) maintains OFF.
(74) KeyNo=KeyNo+1 is applied to the key number (Step S48), the processes from Step S43 to Step S49 are repeated until the key number (KeyNo) exceeds 127, and thereby the processes for all keys are executed.
(75) Also, the reason Step 46 is executed after Step S43 is as follows.
(76) In the case of an acoustic piano, with respect to the action of the sostenute pedal, only the damper felt of a key already pressed at the instant of stepping the sostenute pedal is maintained in a getting away state. In other words, even when the sostenute pedal is in a stepped state, a key pressed afterward does not become the object of maintaining the damper felt in a getting away state. In order to reproduce this action in an electronic piano, it is necessary to detect a key already pressed (the second switch SW2 is ON) when the sostenute pedal comes in ON-state (Step S43).
(77) Next, the damper pedal process (Step S32) in
(78)
(79) First, whether or not there is a change in the state of the damper pedal is determined (Step SM).
(80) When there is a change in the state of the damper pedal in Step S51, the state of the damper pedal is stored in a memory (Step S52).
(81) Next, the key number (KeyNo) of the processing object is initialized to 0 (Step S53), and the resonance coefficient calculation process is executed (Step S54). A concrete procedure of the resonance coefficient calculation process will be described below.
(82) KeyNo=KeyNo+1 is applied to the key number (Step S55), the processes from Step S54 to Step S56 are repeated until the key number (KeyNo) exceeds 127, and thereby the processes for all keys are executed.
(83) Next, the resonance coefficient calculation process called up in Step S24 of
(84) From the key and the state of the sostenute pedal process, KeyResDepth is determined (Step S61).
(85) In other words, a value matching the first switch SW1, the second switch SW2, the third switch SW3 and sosteFlag of the objected key number (KeyNo) is taken out from KeyResDepth table, and is made KeyResDepth.
(86) In this example, KeyResDepth is converted into any value of 0, 3, 7, 7, 7, 7, 7, 7 with respect to 8 kinds of combination of ON/OFF state of the first switch SW1, the second switch SW2, the third switch SW3, and sosteFlag by referring to the KeyResDepth table as shown in
(87) In other words, when sosteFlag is OFF, 0, 3, 7, and 7 become the value of KeyResDepth when the ON/OFF state of the first switch SW1/second switch SW2/third switch SW3 is OFF/OFF/OFF, ON/OFF/OFF, ON/ON/OFF, and ON/ON/ON respectively. When sosteFlag is ON, 7 becomes the value of KeyResDepth regardless of the state of the position detection switches SW (first switch SW1 to third switch SW3).
(88) In
(89) Next, from the state of the stepping amount of the damper pedal, PedalResDepth is determined (Step S62). With respect to PedalResDepth, the value of the stepping amount of the damper pedal is converted into any value (0 to 7) of 8 stages by calculation.
(90) KeyResDepth and PedalResDepth are compared with each other, and one with a deeper resonance state (one with a larger value) is employed as a resonance state ResDepth of the key (Steps S63 to S65).
(91) ResDepth is converted into the target value TarResCoef of the resonance coefficient by taking out a value matching the key number (KeyNo) becoming the object and ResDepth from a ResCoefTable as shown in
(92) For example, when ResDepth is 0, B0_RC0 for a board of the key numbers 0 to 23, B1_RC0 for a board of the key numbers 24 to 35, B2_RC0 for a board of the key numbers 36 to 47, B3_RC0 for a board of the key numbers 48 to 59, B4_RC0 for a board of the key numbers 60 to 71, B5_RC0 for a board of the key numbers 72 to 83, and B6_RC0 for a board of the key numbers 84 to 127 are selected respectively as the resonance coefficient.
(93) Although ResDepth of 0 corresponds to a state where the damper felt comes in contact with a string perfectly, with respect to a low sound string, since the mass of the string is large, even when the damper felt for stopping a sound comes in contact with the string, the sound does not stop perfectly at once. Therefore, it is set so that the selected resonance coefficient differs so as to cause a difference in the resonance sound between a low sound string and a high sound string even when ResDepth is same 0.
(94)
(95) The resonance coefficient is transferred for each key consecutively. The value is updated and transferred so that a noise is not generated by changing the resonance coefficient little by little (the value of smth) from the current value CurResCoef toward the target value TarResCoef.
(96) The key number (KeyNo) of a processing object is initialized to 0 (KeyNo=0) (Step S71).
(97) The current value CurResCoef and the target value TarResCoef are compared with each other. When the current value is equal to the target value and reaches the target value, it is determined that updating is not necessary (Step S72).
(98) When the current value CurResCoef is not equal to the target value TarResCoef in Step S72, whether the current value CurResCoef is larger than the target value TarResCoef is determined (Step S73).
(99) When the current value CurResCoef is larger than the target value TarResCoef in Step S73, the current value CurResCoef is updated to a value reduced slightly (the value of smth) from the current value CurResCoef (Step S74).
(100) Whether the updated current value CurResCoef is smaller than the target value TarResCoef is determined (Step S75). When the updated current value CurResCoef is smaller, the current value CurResCoef is updated to the target value TarResCoef (Step S76). When the updated current value CurResCoef is larger, the current value CurResCoef remaining unchanged is transferred to a predetermined coefficient memory of the resonance sound control device 10 (Step S77).
(101) When the current value CurResCoef is smaller than the target value TarResCoef in Step S73, the current value CurResCoef is updated to a value increased slightly (the value of smth) from the current value CurResCoef (Step S78).
(102) Whether the updated current value CurResCoef is larger than the target value TarResCoef is determined (Step S79). When the updated current value CurResCoef is larger, the current value CurResCoef is updated to the target value TarResCoef (Step S780). When the updated current value CurResCoef is smaller, the current value CurResCoef remaining unchanged is transferred to the predetermined coefficient memory of the resonance sound control device 10 (Step S77).
(103) In order to execute these processes in the next key number (KeyNo+1), (KeyNo=KeyNo+1) is applied to the key number (Step S81), and the resonance coefficient is transferred in all keys until the key number (KeyNo) reaches 127 (Step S82).
(104) According to the resonance sound control device 10 described above, with respect to pressing of a key by the key 71, a resonance state at an intermediary key position can be reproduced by using the position detection sensor SW including the switches of 3 stages of the first switch SW1, the second switch SW2, and the third switch SW3 and utilizing a resonance coefficient matching the detected position of each key in the resonance circuit 11 as a feedback coefficient.
(105) Also, the sound of an electronic piano can be made similar to a resonance sound of an acoustic piano by controlling a resonance sound referring to not only the state of the position detection sensor SW (first switch SW1 to third switch SW3) but also to the step down state of the damper pedal and the sostenute pedal of the pedal device 80. 11 . . . resonance circuit, 20 . . . digital/analog converter, 30 . . . sound system, 40 . . . bus line, 70 . . . keyboard device, 71 . . . key, 77 . . . switch pressing section, 80 . . . pedal device, 90 . . . operation pane, SW . . . position detection sensor (multi-stage switch section), SW1 . . . first switch, SW2 . . . second switch, SW3 . . . third switch