Patent Translate Powered by EPO and Google Notice This translation is machine-generated. It cannot be guaranteed that it is intelligible, accurate, complete, reliable or fit for specific purposes. Critical decisions, such as commercially relevant or financial decisions, should not be based on machine-translation output. DESCRIPTION JPH096362 [0001] BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument having a combination of speakers and headphones, such as an electronic piano, an electronic organ, and a single keyboard, which can be played in a dynamic range suitable for headphones. [0002] 2. Description of the Related Art In recent electronic musical instruments, in addition to speakers, many headphones can be attached for the purpose of not disturbing the surroundings during practice. [0003] 6 and 7 are diagrams for explaining the configuration of an electronic musical instrument provided with such conventional speakers and headphones. [0004] In FIG. 6, when the headphone jack is inserted, the jack unit 12 detects that the jack is inserted, and sends a signal indicating the detection to the muting unit (muffling mechanism) 11. [0005] 10-05-2019 1 The mute unit 11 receives this signal, turns off the sound output circuit to the speaker 13, and mutes the sound. Accordingly, the musical tone signal amplified by the main amplifier 10 is controlled to a predetermined gain by the resistor 17 and then sent to the jack unit 12 and emitted from the headphone 14. [0006] FIG. 7 shows another configuration of the conventional electronic musical instrument. In such a configuration, when the headphone jack is inserted, the headphone amplifier 16 causes the tone signal from the D / A converter 9 to sound suitable for headphones with a gain different from that of the main amplifier 10, and the jack unit 12 Through the headphones 14 and emitted. The switching operation of the sound emission circuit is the same as in the case of FIG. [0007] As described above, when the musical tone signal generated by the sound source 7 is sent to the headphone 14 in the conventional electronic musical instrument, only the gain of the sound suitable for the headphone is controlled by the resistor 17 or the headphone amplifier 16. The sound produced from the above and the sound produced when using the headphone 14 were produced with the same dynamic range, although the gain was different. [0008] Therefore, for example, when expressing the sound of a musical instrument having a large dynamic range such as an acoustic piano by the sound of a piano of an electronic musical instrument, if it is heard at a moderate volume by a normal keystroke, it will be loud at the time of smashing and it will catch on the ear The burden increases. [0009] 10-05-2019 2 The volume of the electronic musical instrument is usually adjusted to be suitable for the speaker 13. Moreover, when the sound is emitted by the speaker 13, the sound is heard at a position distant from the sound source (speaker), so, for example, even in the case of an instrument such as an electronic piano having a large change width of touch curve It will not be offensive. [0010] However, in the case of headphones, since the sounding body is in close contact with the ear, even when the dynamic range is acceptable when listening from the speaker, the burden on the ear becomes very large. [0011] For this reason, there has been a demand for an electronic musical instrument capable of removing an offensive sound with a large dynamic range when listening with headphones. [0012] SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and when the output destination of the musical tone is switched to the headphone by inserting the headphone jack, the musical tone data read out according to the touch signal is An object of the present invention is to provide an electronic musical instrument capable of playing in a dynamic range suitable for headphones by switching to a headphone conversion table. [0013] According to the present invention, in an electronic musical instrument having a headphone 14 and a speaker 13, when the headphone jack 12 is inserted, detecting means 25 for detecting that the jack is inserted; Based on the detection result of the means 25, based on the data stored in the storage means 32, which stores the detection result of the detection means, switching means 21 for switching the circuit to emit sound, and the storage means 32, corresponding to the data The reading unit 33 reads the conversion table, the speaker conversion table 34 read by the reading unit 33, and the headphone conversion table 35 read by the reading unit 33. 10-05-2019 3 [0014] The data of the headphone conversion table 35 is compressed based on the strength of the middle touch of the speaker conversion table 34. [0015] The electronic musical instrument according to the present invention detects the insertion and removal of the headphone jack 12 by the detection means 25, stores the detection result in the storage means 32, and switches the conversion table to be read out according to the state of the signal. It makes it possible to play in the optimal dynamic range according to. [0016] As a result, it is possible to obtain a dynamic range that is natural and natural for hearing. In addition, it becomes possible to always listen to the performance with the optimum dynamic range according to the type of output device, and it becomes a high quality electronic musical instrument. [0017] Further, when the data of the speaker conversion table 34 is compressed into the data of the headphone conversion table 35, the data is compressed based on the middle position of the touch strength. This makes it possible to prevent the influence of tone change due to volume change, and to obtain a well-balanced sound. [0018] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a schematic block diagram showing the overall construction of an electronic musical instrument according to the present invention. 10-05-2019 4 Hereinafter, embodiments of the present invention will be described with reference to the drawings. [0019] In the figure, 1 is an operation panel, 2 is a CPU, 3 is a ROM, 4 is a RAM, 5 is a keyboard, 6 is a keyboard scan circuit, 7 is a sound source, and 8 is a waveform memory. Further, 9 is a D / A converter, 10 is a main amplifier, 11 is a mute unit, 12 is a headphone jack unit, 13 is a speaker, and 14 is a headphone. [0020] In addition to the power switch, the operation panel 1 is provided with various switches and displays such as a tone color selection switch, a mode specification switch, a melody selection switch, a rhythm selection switch, and the like. [0021] The set / reset state of each switch of operation panel 1 is detected by a panel scan circuit (not shown) included in the inside, and data relating to the set state of the switch detected by this panel scan circuit is control of CPU 2 Is stored in a predetermined area of the RAM 4 below. [0022] The CPU 2 controls each unit of the electronic musical instrument according to a control program stored in a program memory unit (not shown) of the ROM 3 and controls to read out and generate predetermined data according to the key depression part of the keyboard 5 . [0023] Incidentally, while the headphone jack of the present invention is inserted into the headphone jack 12, the processing for switching to the headphone conversion table 35 and reading the musical tone data is performed by the reading unit 33 provided in the CPU 2. . 10-05-2019 5 [0024] The ROM 3 stores timbre data and various fixed data in addition to the program for operating the CPU 2 described above. The speaker conversion table 34 and the headphone conversion table 35 directly related to the present invention are provided in the ROM 3. [0025] The RAM 4 defines the work area of the CPU 2, various registers for controlling the electronic musical instrument, counters, flags, buffers, etc., and necessary data among the data stored in the ROM 3 is transferred and temporarily stored. Data area to be stored in [0026] The information on the insertion state of the headphone jack detected by the detection unit 25 is stored in the storage unit 32 of the RAM 4 and is referred to when the CPU 2 reads data from the conversion table based on the key press information. [0027] The keyboard 5 is used to specify musical tones to be generated, and comprises a plurality of keys and key switches that open and close in conjunction with key depression / key release operations of these keys. The key depression / key release operation is detected by the keyboard scan circuit 6. [0028] The detected signal is temporarily stored in a predetermined area of the RAM 4 under the control of the CPU 2 and read out by the CPU 2 as required. [0029] The keyboard scan circuit 6 detects the player's key depression / key release operation, that is, the strength of the touch as well as the key on / off, and the detected on / off information and the strength of the touch are RAM4 together with the key number. It is stored at the top and read out by the CPU 2 at a predetermined timing. 10-05-2019 6 [0030] The tone generator 7 reads out from the waveform memory 8 tone waveform data and envelope data corresponding to the signal output from the CPU 2, adds an envelope to the read tone waveform data, and outputs it as a tone signal. [0031] The tone signal output from the tone generator 7 is analog-converted by the D / A converter 9 and supplied to the main amplifier 10. Therefore, a waveform memory 8 for storing waveform data and envelope data is connected to the sound source unit 7. [0032] The main amplifier 10 amplifies the analog tone signal supplied from the D / A converter 9 with a predetermined gain. The output of the main amplifier 10 is supplied to the mute unit 11. [0033] The mute unit 11 receives a signal from the headphone jack unit 12, and when a headphone jack is inserted into the headphone jack unit 12, the circuit to the speaker 13 is turned off and muffled. [0034] When the headphone jack is inserted and the circuit to the headphone 14 is formed, the detection unit 25 detects that the headphone jack is inserted, and a signal indicating the detection is sent to the mute unit 11. send. 10-05-2019 7 The operation of each part accompanying the insertion of the headphone jack will be described in detail in the description of FIG. [0035] When the muting unit 11 is turned off, the resistor 17 controls the tone signal from the main amplifier 10 to a gain suitable for the headphone 14 and sends it to the headphone jack unit 12. [0036] The speaker 13 and the headphone 14 convert an analog musical tone signal as an electrical signal sent from the main amplifier 10 into an acoustic signal. That is, the tone is emitted according to the generated tone signal. [0037] FIG. 2 is a view for explaining the configuration of the speaker conversion table 34 and the headphone conversion table 35 of the electronic musical instrument according to the present invention. [0038] As illustrated in FIG. 2A, the touch curve of the conversion table of the conventional electronic musical instrument covers a very large dynamic range so that, for example, the sound of an acoustic piano can be expressed. [0039] For this reason, when listening to the performance through the headphones 14, even a pleasant sound in the case of medium touch strength, or a very loud sound when the touch strength is strong makes the ear bothersome I will. [0040] Therefore, as illustrated in FIG. 2 (b), the headphone conversion table in which the volume of the weak touch is increased and the volume of the strong touch is reduced to compress the dynamic 10-05-2019 8 range based on the medium touch intensity. When 35 is created and stored in the ROM 3 and listened via the headphones 14, a tone signal is generated based on the headphone conversion table 35. [0041] The reason why the touch intensity is compressed on the basis of the middle position is to maintain the balance because the timbre also changes when the volume is changed. [0042] FIG. 3 is a diagram for explaining the detection of the presence / absence of the headphone jack and the switching operation of the sound output circuit. [0043] In the figure, when the headphone jack is not inserted, that is, when the speaker 13 emits sound, the jack built-in switch 25 of the headphone jack 12 is turned on. Thereby, the input to the inverter 22 becomes L level, and the output signal from the inverter 22 becomes H level. [0044] Therefore, an H level signal is input to the transistor 23, the transistor 23 is turned on, a current flows through the coil of the relay 21, a switch of the relay 21 is turned on, and a circuit connecting the sound source 7 and the speaker 13 is formed. As a result, sound emission from the speaker 13 becomes possible. [0045] Further, a part of the output from the inverter 22 branches and is sent to the CPU 2. The CPU 2 receives the interrupt signal and sets the flag of the storage unit 32 to off. 10-05-2019 9 Thereby, when the key is pressed, the CPU 2 refers to the flag, confirms that the sound is emitted from the speaker 13, and reads data from the speaker conversion table 34. [0046] In a step, when the headphone jack is inserted into the headphone jack 12 in the figure, the jack built-in switch 25 is turned off. Therefore, the input signal to the inverter 22 becomes H level and the output signal becomes L level. As a result, the relay of the transistor is turned off and the current to the coil of the relay 21 is turned off. [0047] Therefore, the circuit connecting the sound source 7 and the speaker 13 is turned off, and the tone signal from the main amplifier 10 is output from the headphones. [0048] Further, part of the L level signal output from the inverter 22 is branched and sent to the CPU 2. The CPU 2 receives the interrupt signal and sets the flag of the storage unit 32 on. Thereby, when the key is pressed, the CPU 2 looks at the flag, confirms that the sound is emitted from the headphone 14, and reads data from the headphone conversion table 35. [0049] As described above, according to the present invention, the conversion tables 34 and 35 are switched according to the output destination to read out data, so that it is possible to play in the 10-05-2019 10 dynamic range suitable for each listening means of the speaker 13 and the headphone 14. [0050] Next, with reference to FIG. 4, the operation of the conversion processing for switching the conversion table and performing reading will be described. In the present description, it is detected in advance whether or not the jack of the headphone is inserted. If the jack is inserted, it is assumed that the storage unit 32 of the RAM 4 is flagged. [0051] In the conversion process, first, it is checked whether or not there is a key event (step S11). This is done by examining an event buffer stored in a predetermined area of the RAM 4. [0052] If there is no key event, there is no need for sound generation or mute processing, so the process returns to the main routine and the keyboard scan is repeated. [0053] On the other hand, if there is a key event in step S11, it is then checked whether the key event is an on-event (step S12). This is done by comparing the OLD and NEW event buffers stored in a predetermined area of the RAM 4. [0054] If the key event is an off event, the process branches since there is a mute, and the mute 10-05-2019 11 processing is performed (step S17), and the process returns to the main routine. [0055] On the other hand, since the sound is generated in the case of the on event in step S12, it is checked whether the headphone jack is inserted (step S13). This is performed by the reading unit 33 of the CPU 2 checking whether the flag of the predetermined area of the main memory is on. [0056] If the flag is on, that is, if the headphone jack is inserted, it is necessary to control the dynamic range, so the process branches and the data corresponding to the key touch intensity is read out from the headphone conversion table 35 (step S16) , Send to sound source 7. [0057] On the other hand, when the flag is off, sound generation from the speaker is performed, so data corresponding to the strength of the key touch is read from the normal speaker conversion table 34 (step S14) and sent to the sound source 7. [0058] As a result, the sound source 7 performs a tone generation process (step S15), and returns to the main routine. [0059] 1 controls the gain signal from the main amplifier 10 with the resistor 17 and sends it to the headphone jack 12, while FIG. 5 sends the output from the D / A converter 9 to the headphone amplifier 16. 9 shows an entire configuration in the case where a signal obtained by the headphone amplifier 16 is controlled. [0060] Also in this case, the switching operation of the conversion table to be read out is the same as the case of FIG. 10-05-2019 12 [0061] Thus, according to the present invention, the presence or absence of the insertion of the headphone jack is stored in the storage unit 32. When the headphone jack is inserted, the mute unit 11 is turned off and switched to the headphone circuit. [0062] Therefore, the selection of the conversion table by the key on event can be performed by a simple operation of checking the flag of the storage unit 32, and quick processing can be performed. [0063] In this embodiment, although the case where the presence / absence of insertion of the headphone jack is stored in the storage unit 32 of the RAM 4 has been described as an example, even if the presence / absence of the insertion of the headphone terminal is stored in the register of the CPU 2 Good. [0064] Further, although the present embodiment has been described by way of example in which the conversion table is switched, for example, when outputting from the headphone 14, the data value may be corrected by calculation with a specific function. [0065] As described above in detail, according to the present invention, it is possible to perform with an optimum dynamic range in accordance with a listening device such as a speaker or a headphone. [0066] Brief description of the drawings [0067] 1 is a schematic block diagram showing the overall configuration of the electronic musical instrument according to the present invention. 10-05-2019 13 [0068] 2 is a diagram for explaining the configuration of the conversion table for the speaker and the conversion table for the headphone according to the present invention. [0069] 3 is a diagram for explaining the detection of the presence or absence of headphone terminal insertion, and the switching of the output circuit. [0070] 4 is a flow chart for explaining the switching readout operation of the conversion table. [0071] 5 is a schematic block diagram showing another configuration of the electronic musical instrument according to the present invention. [0072] 6 is a schematic block diagram showing the overall configuration of a conventional electronic musical instrument. [0073] 7 is a schematic block diagram showing another configuration of the conventional electronic musical instrument. [0074] Explanation of sign [0075] 1 operation panel 2 CPU 3 ROM 4 RAM 5 keyboard 6 keyboard scan circuit 7 sound source 8 waveform memory 9 D / A converter 10 main amplifier 11 mute unit 12 jack unit 13 speaker 14 headphone 16 headphone amplifier 17 resistor 21 relay (switching means) 22 inverter 23 transistor 24 jack 25 detection unit (jack built-in switch) (detection unit) 32 storage unit (storage unit) 33 readout unit (readout unit) 34 speaker conversion table 35 headphone conversion table 10-05-2019 14
© Copyright 2021 DropDoc