ELECTRONIC MUSIC KEYBOARD
20240029696 ยท 2024-01-25
Inventors
Cpc classification
G10H2220/271
PHYSICS
G10H2220/221
PHYSICS
International classification
G10H1/34
PHYSICS
Abstract
An electronic music keyboard having a plurality of keys, a number of magnetic sensors equal to the number of keys, a magnet disposed in each key, an A/D converter connected to each magnetic sensor, a microcontroller connected to the A/D converters and configured to receive digital values indicative of the key position and convert them into key position values and select useful key position values at which to emit sounds, a digital signal processor (DSP) connected to the microcontroller and configured to receive the useful key position values and accordingly emit at least one sound signal and an electroacoustic transducer connected to the DSP and configured to receive at least one sound signal and accordingly generate a music sound.
Claims
1. Electronic music keyboard comprising: a plurality of keys; a number of magnetic sensors equal to the number of keys; a permanent magnet disposed in each key with a magnetic pole facing a respective magnetic sensor, so as to move closer to/away from the magnetic sensor according to the movement of the key; said magnetic sensor being configured so as to output a voltage signal of analog type that is inversely proportional to the distance between the magnet and the magnetic sensor; an A/D converter connected to each magnetic sensor to digitize said voltage signal generated by the magnetic sensor and to output a plurality of digital values indicative of the position of the key; a microcontroller connected to said A/D converters and configured to receive said digital values indicative of the position of the key and convert them into key position values; a digital signal processor (DSP) connected to said microcontroller to generate at least one sound signal; and an electroacoustic transducer connected to said DSP and configured to receive said at least one sound signal and accordingly generate a music sound; wherein each A/D converter is an at least 8-bit converter capable of providing at least 256 digital values indicative of the key position; said microcontroller is configured to convert said at least 256 digital values from each A/D converter into respective at least 256 key position values varying from a rest position to an end stroke position; said microcontroller comprises selection means according to the type of music instrument to be emulated; the selection means are configured so that, from said at least 256 key position values, they select a plurality of useful key position values associated with respective sound signals according to the music instrument to be emulated; said microcontroller being configured to output a useful key position value corresponding to the key position when using the keyboard; said digital signal processor (DSP) being configured to receive said useful key position value emitted by the microcontroller and in accordance emit said sound signal associated with the useful value to the electroacoustic transducer emitting the music sound.
2. The electronic music keyboard according to claim 1, wherein said magnetic sensor is a Hall sensor.
3. The electronic music keyboard according to claim 1, wherein said magnetic sensors are mounted on a PCB disposed under a plate of a frame whereon the keys are mounted.
4. The electronic music keyboard according to claim 3, wherein said magnetic sensors are positioned on the PCB and are aligned along a row.
5. The electronic music keyboard according to claim 3, wherein said plate of the frame has a plurality of through slots disposed in parallel position and aligned along a row, and the PCB is fixed to the frame under the plate, in such a way that the magnetic sensors of the PCB are in register with the slots of the plate it.
6. The electronic music keyboard according to claim 5, wherein each key has a fork wherein a support is mounted to support said magnet; said fork protruding inferiorly from the key so as to cross a respective slot of the plate of the frame.
7. The electronic music keyboard (100) according to claim 1, comprising spacers disposed between the PCB and the plate of the frame to keep the PCB spaced from the plate of the frame.
8. The electronic music keyboard according to claim 1, wherein said DSP is configured to output nine sound signals for each key of the keyboard, corresponding to the sound of nine phonic wheels of a conventional Hammond organ.
9. The electronic music keyboard according to claim 1, wherein said DSP is configured to modify a synthesized sound signal according to said useful key position values sent by the microcontroller, and generate a modified sound signal that is sent to said electroacoustic transducer.
10. The electronic music keyboard according to claim 9, wherein said synthesized sound signal sis the sound signal of a pipe organ that is modified according to various opening degrees of a valve of a pipe organ based on the position of each key.
11. The electronic music keyboard according to claim 1, wherein: said microcontroller is configured to detect key velocity values as the space traveled by the key between two key positions divided by the time taken by the key to travel said space and to send said key velocity values to said DSP; and said DSP is configured to receive said velocity values of the key and modify a synthesized sound signal to output a modified sound signal based on said key velocity values that are indicative of the pressure exerted on the key.
12. Signal processing method for an electronic music keyboard according to claim 1, comprising the following steps: division of the positions of each key of the keyboard into at least 256 positions, between a rest position and an end stroke position; selection of a plurality of useful positions from among said at least 256 key positions; association of sound signals to said selected useful positions, according to the music instrument to be emulated; detection of the position of each key while using the keyboard; emission of the sound signal associated with the detected useful key position; and emission of the music sound according to the sound signal emitted.
Description
[0034] Additional features of the invention will become clearer from the following detailed description, which refers to a purely illustrative and therefore non-limiting embodiment, illustrated in the accompanying drawings, wherein:
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041] With the help of the Figures, an electronic music keyboard according to the invention is described, it being indicated overall by the reference numeral 100.
[0042] The keyboard (100) comprises a plurality of keys (1) mounted on a frame (2). The keys (1) are hinged to the frame (2) by means of hinges (C).
[0043] Spring means (of known type and therefore not illustrated) are interposed between the frame (2) and each key (1) to hold the keys in a horizontal position (
[0044] According to the invention, the keyboard (100) comprises a printed circuit board (PCB) (3) on which a plurality of magnetic sensors (4) equal to the number of keys (1) on the keyboard is mounted. Each magnetic sensor (4) can be a Hall sensor. The magnetic sensors (4) are aligned along a row.
[0045] A magnet (5) having an effective magnetic pole facing a respective magnetic sensor (4) is mounted in each key (1).
[0046] When the key (1) is in rest position (
[0047] When the key (1) is in the end stroke position (
[0048] The frame (2) comprises a plate (20) arranged on legs (21) so as to maintain itself along a horizontal plane. A plurality of through slots (22) in the shape of rectangular slots, parallel to each other and aligned along a row, are formed in the plate (20).
[0049] The PCB (3) is attached to the frame (2) under the plate (20), so that the magnetic sensors (4) of the PCB are in register with the slots (22) of the plate (20).
[0050] Spacers (D) keep the PCB (3) spaced from the plate (20) of the frame. The PCB (3) is attached to the plate (20) by means of screw means (41) that are screwed in the spacers (D) and in tangs (23) that protrude inferiorly from the plate (20).
[0051] The keys (1) are mounted above the plate (20) of the frame.
[0052] Each key (1) has a fork (10) that protrudes inferiorly and is suitable for passing through a respective slot (22) of the plate of the frame.
[0053] A support (11), for example in the shape of a parallelepiped, is fixed to the fork (10). The holder (11) is suitable for supporting the magnet (5) so that the magnet protrudes inferiorly from the support (11). The magnet (5) can have a cylindrical shape.
[0054] In this way, the effective pole of the magnet (5) of each key is located under the plate (20) of the frame, near a respective magnetic sensor (4).
[0055] With reference to
[0056] When the key (1) is moved downwards, the magnet (5) is moved closer to the magnetic sensor (4), which produces a voltage change at its ends. The analog voltage signal (V) from each magnetic sensor (4) is continuously digitized by means of a respective analog-to-digital (A/D) converter (6), which generates digital values (V1, . . . . Vn) of the voltage signal generated by the sensor as an output.
[0057] Each A/D converter (6) is connected to a microcontroller (7) that receives the digital values (V1, . . . . Vn) of the voltage signal (V) detected by each sensor (4) and converts them into position values indicative of the position of the key.
[0058] A/D converters (6) must be at least 8-bit converters in order to have sufficient resolution of the voltage and consequently of the position for the purposes to be achieved.
[0059] In the case of an 8-bit A/D converter, the microcontroller (7) will be able to convert 256 key position values from the rest position to the end stroke position. Therefore, the key positions can be divided into 256 positions from the rest position to the end stroke position
[0060] The microcontroller (7) comprises selection means (70) according to the type of music instrument to be emulated. From among the possible 256 key position values, the selection means (70) select a plurality of useful key positions values (P1, . . . Pm) indicative of useful positions of the key (1) in which certain sound signals are to be activated according to the music instrument to be emulated, and thus exclude the other key position values that do not correspond to the useful positions. Each useful key position value (P1, . . . Pm) is associated with a certain sound signal (S*, S1 . . . Sk) according to the instrument to be emulated or an appropriate parameterization of the computational synthesis model of the music signal.
[0061] Thus, during the use of the keyboard (100), when a key (1) reaches a useful position, the microcontroller (7) outputs the corresponding useful key position value (P1, . . . Pm) associated with a corresponding sound signal (S*, S1 . . . Sk) to be emitted.
[0062] The microcontroller (7) is connected to a digital signal processor (DSP) (8) suitable for modifying a synthesized sound signal (S) according to the useful key position values (P1, . . . Pm) sent by the microcontroller (7). The synthesized sound signal (S) is generated by a synthesis algorithm (of known type and therefore not illustrated) according to the type of instrument to be emulated.
[0063] Then, depending on the position of the keys, the DSP (8) modifies the synthesized signal (S) and generates a modified sound signal (S*) that is sent to an electroacoustic transducer (9) that generates a music sound (S).
[0064] With reference to
[0065] The A/D converter (6) of each sensor is controlled by the microcontroller (7) which activates and commands the A/D conversions at regular time intervals. So, with an adequate time resolution, the microcontroller (7) knows the position of the key (1) at each time instant. From among the various positions of the key, ranging from the rest position to the end stroke position, the microcontroller (7) selects some useful key position values (P1, . . . Pm) and communicates them to the DSP (8), which modifies the synthesized sound signal (S) and generates the modified sound signal (S*) to be sent to the electroacoustic transducer (9) according to the useful positions selected by the microcontroller.
[0066] With reference to
[0067] In such a case, therefore, only nine specific useful key positions need to be considered, that is to say a number of useful positions equal to the number of phonic wheels to be activated. For instance, only one area of the key travel may be considered, corresponding to values 20 to 29, which is useful for triggering a sound equivalent to the sound produced by nine phonic wheels associated with that particular key. The area to be considered, the sequence of wheels to be activated, and the distance between values can be determined as desired on a key-by-key basis, as long as the position detection resolution permits.
[0068] When the microcontroller (7) which controls the A/D converter (6) detects that the useful key positions 1 to 9 have been reached, the microcontroller (7) informs the DSP (8), which will activate an electronic sound that simulates the sound generated by the phonic wheels of a mechanical Hammond organ that would have been activated at that moment.
[0069] If the musician presses the key downwards, the DSP (8) generates sound signals corresponding to the activated phonic wheels. Otherwise said, when the key reaches position 1, the sound signal (S1) corresponding to the sound of the phonic wheel 1 is activated; when the key reaches position 2, the sound signals (S1, S2) corresponding to the sound of the phonic wheel 1 and of the phonic wheel 2 are activated, and so on until the key reaches position 9, where sound signals (S1, . . . S9) corresponding to the sound of all nine phonic wheels are activated. If the key continues to move downwards beyond position 9, the sound signals (S1, . . . S9) corresponding to the sound of all nine phonic wheels remain activated.
[0070] On the other hand, if the musician releases the key or otherwise moves the key back upwards, once the key reaches position 9, the sound of some or all of the phonic wheels will be gradually deactivated.
[0071] The microcontroller (7) informs the DSP (8) of the activation state of the phonic wheels with an appropriate time frequency and based on the information received from the microcontroller (7) the DSP will generate sound signals related to the activated phonic wheels.
[0072] In order to emulate a pipe organ, the DSP (8) must be configured to modify the synthesized sound signal (S) to simulate different degrees of opening of a pipe organ valve depending on the position of the key.
[0073] In such a case, several separate sound signals are not generated, and the only synthesized signal (S) is modified according to the position of the key. For instance, the physical generation model of the modified sound can consider the position to modulate the attack noise or to modify the amplitude or to modulate other parameters of the physical model.
[0074] In this case, the key positions useful for the sound generation can be taken according to the type of organ pipe to be emulated.
[0075] In the case where the keyboard (100) is to emulate a piano, the DSP (8) is configured to modify the synthesized signal (S) and generate a modified sound signal (S*) according to the pressure exerted on the key.
[0076] Considering that the microcontroller (7) knows the time it takes for the key to move from one position to the next position, the microcontroller (7) can calculate velocity values (I) of the key, such as a total velocity of the key from the rest position (value 0) to the end stroke position (value 255) or a partial velocity of the key from any position to the end stroke position. Since the velocity values (I) of the key are proportional to the pressure exerted on the key, the piece of information on the partial velocity of the key is important in order to simulate what are known as repeated notes in an extremely accurate way. The velocity values (I) are sent from the microcontroller (7) to the DSP (8) so that the DSP generates sound signals based on the velocity values of the key that are indicative of the pressure exerted on the key, with greater accuracy than the prior art. Due to the linearity of the voltage with respect to the key position, the difference between two consecutive voltage values corresponds to equal distances in the position of the key. Therefore, the measurement time between any two positions corresponds to a correct velocity evaluation.
[0077] The invention also relates to a signal processing method for an electronic music keyboard (100).
[0078] The method comprises the following steps: [0079] division of the positions of each key of the keyboard into at least 256 positions, between a rest position and an end stroke position, [0080] selection of a plurality of useful positions from among said at least 256 key positions, [0081] association of sound signals (S*; S1, . . . Sk) to said selected useful positions, according to the music instrument to be emulated, with differentiated detection also on a key-by-key basis; [0082] detection of the position of each key while using the keyboard, [0083] emission of the sound signal (S*; S1, . . . Sk) associated with the detected useful key position, and [0084] emission of the music sound (S) according to the sound signal (S*; S1, . . . Sk) emitted.
[0085] Equivalent variations and modifications may be made to the present embodiment of the invention, within the scope of a person skilled in the art, but still within the scope of the invention as expressed by the appended claims.