JP2016071036A - Volume control device and volume control program - Google Patents

Volume control device and volume control program Download PDF

Info

Publication number
JP2016071036A
JP2016071036A JP2014198393A JP2014198393A JP2016071036A JP 2016071036 A JP2016071036 A JP 2016071036A JP 2014198393 A JP2014198393 A JP 2014198393A JP 2014198393 A JP2014198393 A JP 2014198393A JP 2016071036 A JP2016071036 A JP 2016071036A
Authority
JP
Japan
Prior art keywords
value
volume control
volume
amount
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014198393A
Other languages
Japanese (ja)
Inventor
大 青谷
Masaru Aotani
大 青谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2014198393A priority Critical patent/JP2016071036A/en
Publication of JP2016071036A publication Critical patent/JP2016071036A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a volume control device that performs volume control so as to prevent a sudden change in volume in an electric musical instrument even when a failure occurs in an operator.SOLUTION: The device has a plurality of operators including volume control and adjusts parameters corresponding to the operators with an AD value obtained by analog/digital (AD) conversion of an amount of operation (a physical input) of each of the operators. The device comprises: an AD value storage unit 5 that stores the AD value; a change amount detection unit 4 that detects an amount of change of the AD value; and a volume controlling unit 6 that implements volume control in such a manner that when the amount of change of an AD value relating to the volume control exceeds a predetermined value, volume control corresponding to the AD value is not performed and a previous AD value stored in the AD value storage unit 5 is maintained.SELECTED DRAWING: Figure 2

Description

本発明は、ピアノやオルガンなどの音を再生する電子楽器に用いる音量制御装置に係り、複数の操作子への操作量(物理的な入力)に対してアナログ/ディジタル変換を行って取得したAD値で音量などの調節を行うに際し、いずれかの操作子に故障が発生した場合に音量制御を行う音量制御装置及び音量制御プログラムに関する。   The present invention relates to a volume control device used for an electronic musical instrument that reproduces sounds such as pianos and organs, and is obtained by performing analog / digital conversion on the operation amount (physical input) to a plurality of operators. The present invention relates to a volume control device and a volume control program that perform volume control when a malfunction occurs in any of the controls when adjusting the volume by value.

電子楽器は、例えば特許文献1に開示されているように、鍵盤や操作パネルを操作することにより生成される楽音データを電子楽器内部に設けられた音源に送り、音源の楽音データに応じた楽音信号を発生し、スピーカで音響信号に変換することにより楽音を発生する。
電子楽器が発音する音量については、操作子となる回転式又はダイヤルスイッチにより、回転角や移動量をポテンションメーターによりアナログ/ディジタル変換して電圧値(AD値)とし、このAD値の変化により音量制御が行われる。
For example, as disclosed in Patent Document 1, an electronic musical instrument sends musical sound data generated by operating a keyboard or an operation panel to a sound source provided in the electronic musical instrument, and a musical sound corresponding to the musical sound data of the sound source. A musical sound is generated by generating a signal and converting it into an acoustic signal by a speaker.
The volume of sound produced by an electronic musical instrument is converted into a voltage value (AD value) by analog / digital conversion of the rotation angle and movement amount by a potentiometer using a rotary type or dial switch as an operation element. Volume control is performed.

また、電子楽器は、発音に対してダンパペダル効果を付与する操作子としてペダルを備え、ペダルの踏み込み量に応じて効果を制御することが行われる。ペダルによる制御は、上述した音量制御の操作子と同様に、アナログ/ディジタル変換された電圧値(AD値)で行われる。
電子楽器では、上述したペダルの他、発音に関して各種の効果を生じさせる操作子を備え、操作子の操作量に応じてパラメータを調整して各種制御が行われていた。
In addition, the electronic musical instrument includes a pedal as an operation element that imparts a damper pedal effect to the sound generation, and the effect is controlled according to the depression amount of the pedal. The control by the pedal is performed by a voltage value (AD value) subjected to analog / digital conversion in the same manner as the volume control operator described above.
In the electronic musical instrument, in addition to the pedal described above, an operation element that causes various effects regarding sound generation is provided, and various controls are performed by adjusting parameters according to the operation amount of the operation element.

そして、上述した音量制御や残響効果制御を行う各操作子が接続される電気回路(ADポート)は、図4に示すように、複数のAD値を取得するために、共通の電源及びグランドを使用して構成されている。図4の回路では、8個の操作子に対してそれぞれポテンションメーターが接続され、抵抗Rに対する各操作子1−1〜1−8の位置により、電源ライン(3.3V)とグランド間の任意位置で分圧された電圧(AD値)が出力されるA/D変換器を構成している。   Then, the electric circuit (AD port) to which each of the controls for performing the volume control and the reverberation effect control described above is connected has a common power supply and ground to obtain a plurality of AD values as shown in FIG. Configured to use. In the circuit of FIG. 4, a potentiometer is connected to each of the eight operators, and depending on the positions of the operators 1-1 to 1-8 with respect to the resistor R, between the power line (3.3V) and the ground. An A / D converter is configured to output a voltage (AD value) divided at an arbitrary position.

特許第2915735号公報Japanese Patent No. 2915735

上述したような電気回路において、あるADポートの接続先の操作子、例えばペダルが故障した場合、AD用の電源が不安定になり、全ての操作子に対応するAD値が最大値(電源電圧)又は最小値(グランド)を取ってしまう現象が生じる。そのため、音量制御の操作子が出力するAD値も影響を受けることになる。音響制御の操作子自体に故障が生じた場合においても、同様の現象が生じる場合がある。   In the electrical circuit as described above, when an operator connected to an AD port, for example, a pedal breaks down, the power supply for AD becomes unstable, and the AD value corresponding to all the operators is the maximum value (power supply voltage). ) Or a minimum value (ground) occurs. Therefore, the AD value output by the volume control operator is also affected. A similar phenomenon may occur even when a failure occurs in the acoustic control operator itself.

発音に関するノイズ対策としては、数回取得したAD値の平均値を採用したり、一瞬のノイズ(AD値の変化量が一瞬だけ大きくなる現象や静電気等に起因する)は無視するよう音量制御を行うソフトウェア側で対応することが考えられるが、前述のように、AD値が最大値や最小値に貼りついた時には、スピーカ等の出力音量が急減に最大音量となってしまうという問題があった。   As noise countermeasures related to sound generation, the average value of AD values acquired several times is adopted, or volume control is performed so as to ignore instantaneous noise (due to a phenomenon in which the amount of change in AD value increases for a moment or static electricity). Although it is conceivable to deal with the software side to perform, as described above, when the AD value sticks to the maximum value or the minimum value, there is a problem that the output volume of the speaker or the like suddenly decreases to the maximum volume .

本発明は上記事情に鑑みて提案されたもので、電子楽器において、操作子に故障が発生した場合においても、急激な音量変化が生じないように音量調整が行われる音量制御装置及び音量制御プログラムを提供することを目的とする。   The present invention has been proposed in view of the above circumstances, and in an electronic musical instrument, a volume control device and a volume control program that perform volume adjustment so that a sudden volume change does not occur even when a malfunction occurs in an operator. The purpose is to provide.

上記目的を達成するため請求項1の音量制御装置は、音量調整を含んだ複数の操作子を備え、各操作子の操作量(物理的な入力)に対してアナログ/ディジタル(AD)変換を行って得たAD値で前記操作子に対応するパラメータを調整する装置において、
前記操作量に応じた前記AD値を記憶するAD値記憶部と、
前記AD値の変化量を検出する変化量検出部と、
前記音量調整に関するAD値の変化量が所定値を超える場合は、前記AD値に対応する音量調整を行うことなく前記AD値記憶部に記憶された従前のAD値を維持して音量制御を行う音量制御部と、
を備えたことを特徴としている。
In order to achieve the above object, a volume control apparatus according to claim 1 includes a plurality of operators including volume adjustment, and performs analog / digital (AD) conversion on the operation amount (physical input) of each operator. In an apparatus for adjusting a parameter corresponding to the operation element by an AD value obtained by performing,
An AD value storage unit that stores the AD value according to the operation amount;
A change amount detector for detecting a change amount of the AD value;
When the change amount of the AD value related to the volume adjustment exceeds a predetermined value, the volume control is performed while maintaining the previous AD value stored in the AD value storage unit without performing the volume adjustment corresponding to the AD value. A volume control unit;
It is characterized by having.

請求項2は、請求項1の音量制御装置において、
前記音量調整に関するAD値の変化量が所定値を超える場合に、異常発生を表示する表示部を備えたことを特徴としている。
Claim 2 is the volume control device of claim 1,
A display unit is provided for displaying an abnormality when the amount of change in the AD value related to the volume adjustment exceeds a predetermined value.

請求項3の音量制御プログラムは、音量調整を含んだ複数の操作子を備え、各操作子の操作量(物理的な入力)に対してアナログ/ディジタル(AD)変換を行って得たAD値で前記操作子に対応するパラメータを調整するプログラムにおいて、
前記AD値の変化量を検出する機能と、
前記音量調整に関するAD値の変化量が所定値を超える場合は、前記AD値に対応する音量調整を行うことなく従前状態を維持する制御を行う機能と、
をコンピュータ上で実行することを特徴としている。
The volume control program according to claim 3 includes a plurality of operators including volume adjustment, and an AD value obtained by performing analog / digital (AD) conversion on an operation amount (physical input) of each operator. In the program for adjusting the parameter corresponding to the operation element in
A function of detecting a change amount of the AD value;
A function of performing control to maintain the previous state without performing volume adjustment corresponding to the AD value when the amount of change in the AD value related to the volume adjustment exceeds a predetermined value;
Is executed on a computer.

本発明の音量制御装置及び音量制御プログラムによれば、電子楽器の音量制御に関し、AD値の変化量が所定値を超える場合は、音量調整を行うことなく従前状態を維持する制御が行われるので、操作子の故障時において、音量が急激に最大値に変化する事態を防止することができる。   According to the volume control device and the volume control program of the present invention, regarding the volume control of the electronic musical instrument, when the amount of change in the AD value exceeds a predetermined value, control is performed to maintain the previous state without performing volume adjustment. It is possible to prevent a situation in which the sound volume suddenly changes to the maximum value when the operating element fails.

本発明の音量制御装置を備えた電子楽器のハードウエア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the electronic musical instrument provided with the volume control apparatus of this invention. 本発明の音量制御装置の機能を説明するためのブロック図である。It is a block diagram for demonstrating the function of the volume control apparatus of this invention. 音量制御装置における処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence in a volume control apparatus. 複数の操作子及びポテンションメーターから構成されるA/D変換器の電気回路図である。It is an electric circuit diagram of an A / D converter composed of a plurality of operators and a potentiometer.

以下、本発明の実施形態に係る音量制御装置を備えた電子楽器について、図面を参照しながら説明する。
図1は、ディジタルピアノ(電子楽器)の主要なハードウエア構成を示すブロック図であり、バス30に対して、CPU10、ROM11、RAM12、キースキャン回路16、音源18、ディジタル信号処理回路19を接続する構成をコンピュータ上に構築している。
CPU10には、回転操作、スライド操作や踏み込み量など、それぞれ物理的な入力が行われる複数の操作子から構成される操作子群1、音色選択や音設定(残響効果や音響効果の設定)を行う操作パネル2、外部装置との間のMIDIデータ受け渡し制御を行うためのMIDIインタフェース回路15が接続されている。
Hereinafter, an electronic musical instrument provided with a volume control device according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing the main hardware configuration of a digital piano (electronic musical instrument). A CPU 10, ROM 11, RAM 12, key scan circuit 16, sound source 18, and digital signal processing circuit 19 are connected to a bus 30. The configuration to do is built on the computer.
The CPU 10 is provided with an operator group 1 composed of a plurality of operators that perform physical inputs such as a rotation operation, a slide operation, and a stepping amount, tone selection, and sound settings (reverberation effect and sound effect settings). An operation panel 2 to be performed and a MIDI interface circuit 15 for performing MIDI data transfer control with an external device are connected.

各操作子は、発音の音量を調節する音量スイッチ1a、発音に対してダンパペダル効果を付与するためのペダル1b等から構成されている。
音量スイッチ1aは、操作子となる回転式又はダイヤルスイッチにより、回転角や移動量である操作量(物理的な入力)をポテンションメーターによりアナログ/ディジタル変換して電圧値(AD値)とし、このAD値の変化により音量制御が行われる。
ペダル1bは、ペダルの踏み込み量(操作量)をポテンションメーターによりアナログ/ディジタル変換して電圧値(AD値)とし、このAD値の変化により発音に対するダンパペダル効果を変化させ残響効果制御が行われる。
鍵盤17は、演奏者が楽音の音高を指示する複数の鍵と、この鍵に連動して開閉するキースイッチにより構成されている。鍵盤17は、キースイッチの状態をスキャンしてキーデータとして出力するキースキャン回路16に接続されている。
Each operation element includes a volume switch 1a for adjusting the volume of sound generation, a pedal 1b for imparting a damper pedal effect to the sound generation, and the like.
The volume switch 1a is converted into a voltage value (AD value) by analog / digital conversion of an operation amount (physical input), which is a rotation angle or a movement amount, by a potentiometer, using a rotary or dial switch as an operator. Volume control is performed by changing the AD value.
The pedal 1b performs analog / digital conversion of the pedal depression amount (operation amount) to a voltage value (AD value) using a potentiometer, and changes the damper pedal effect for sound generation by changing the AD value, thereby performing reverberation effect control. .
The keyboard 17 is composed of a plurality of keys by which the performer instructs the pitch of a musical tone, and a key switch that opens and closes in conjunction with the keys. The keyboard 17 is connected to a key scan circuit 16 that scans the state of the key switch and outputs it as key data.

CPU10は、ROM11に格納されている制御プログラムに従って、ディジタルピアノ(電子楽器)の全体を制御するものである。制御プログラムには、音量制御プログラム等、各操作子を制御するプログラムが含まれることで、コンピュータ上に音量制御装置を構築している。
また、CPU10は、鍵盤17の押鍵に対し発音チャネルを割り当てるアサイナ処理、音源18に対するアクセス処理等を行う。
The CPU 10 controls the entire digital piano (electronic musical instrument) in accordance with a control program stored in the ROM 11. The control program includes a program for controlling each operator, such as a volume control program, so that a volume control device is constructed on the computer.
Further, the CPU 10 performs assigner processing for assigning a sound generation channel to key depression of the keyboard 17, access processing for the sound source 18, and the like.

ROM11は、CPU3により実行又は参照される各種プログラムや各種データ等を格納する。ROM11に記憶されているプログラムやデータは、システムバス30を介してCPU10により参照される。すなわち、CPU10は、システムバス30を介してROM11から制御プログラム(命令)を読み出して解釈・実行すると共に、所定の固定データを読み出して演算処理に使用するよう構成されている。   The ROM 11 stores various programs executed by or referred to by the CPU 3, various data, and the like. Programs and data stored in the ROM 11 are referred to by the CPU 10 via the system bus 30. That is, the CPU 10 is configured to read a control program (command) from the ROM 11 via the system bus 30 and interpret / execute it, and to read predetermined fixed data and use it for arithmetic processing.

RAM12は、CPU10がプログラムを実行する際に必要な各種データを一時的に記憶するワーキングメモリとして使用される。例えば、操作子群1の各操作子の操作量(物理的な入力)をA/D変換して取得したAD値、操作パネル2による操作処理データ、鍵盤17から取り込まれたキーデータ等がRAM12に一時的に記憶される。RAM12に記憶されたデータは、システムバス30を介してCPU10により参照される。   The RAM 12 is used as a working memory that temporarily stores various data necessary for the CPU 10 to execute a program. For example, the AD value obtained by A / D converting the operation amount (physical input) of each operator in the operator group 1, operation processing data by the operation panel 2, key data fetched from the keyboard 17, and the like are stored in the RAM 12. Temporarily stored. Data stored in the RAM 12 is referred to by the CPU 10 via the system bus 30.

キースキャン回路16は、鍵盤17のキースイッチの状態をスキャンし、鍵のオン/オフ状態を示すキーデータとして出力する。キーデータは、システムバス30を介してCPU10に送られ、RAM12に一時的に記憶される。   The key scan circuit 16 scans the state of the key switch of the keyboard 17 and outputs it as key data indicating the on / off state of the key. The key data is sent to the CPU 10 via the system bus 30 and temporarily stored in the RAM 12.

音源18は、CPU10から送られてきた楽音データ(音色番号に対応して作成される波形アドレス、キーナンバに対応して作成される周波数データ等)に従って駆動され、時分割でディジタル楽音信号を発生する。この音源18で発生されたディジタル楽音信号は、ディジタル信号処理回路19に出力される。   The tone generator 18 is driven in accordance with musical tone data (a waveform address created corresponding to a timbre number, frequency data created corresponding to a key number, etc.) sent from the CPU 10, and generates a digital musical tone signal in a time division manner. . The digital musical tone signal generated by the sound source 18 is output to the digital signal processing circuit 19.

波形メモリ40は、例えばROMで構成され、パルスコード変調(PCM)された波形データが記憶されている。波形メモリ40には、複数の音色を実現するため、各音色に対応した複数種類の波形データ(音色番号で特定される)が記憶されている。波形メモリ40に記憶されている波形データは、音源18により読み出される。   The waveform memory 40 is composed of, for example, a ROM, and stores waveform data that has been subjected to pulse code modulation (PCM). The waveform memory 40 stores a plurality of types of waveform data (specified by tone color numbers) corresponding to each tone color in order to realize a plurality of tone colors. The waveform data stored in the waveform memory 40 is read by the sound source 18.

ディジタル信号処理回路19は、音源18から入力されるディジタル楽音信号と、CPU10から入力される係数との間で所定の演算を行って出力するものである。例えば、ペダル1bの踏み込み量によって決定される係数とディジタル楽音信号とを演算し、所定のダンパペダル効果が付加されたディジタル楽音信号を生成する。ディジタル信号処理回路19で生成されたディジタル楽音信号はD/A変換器20に供給される。   The digital signal processing circuit 19 performs a predetermined calculation between the digital musical sound signal input from the sound source 18 and the coefficient input from the CPU 10 and outputs the result. For example, a coefficient determined by the amount of depression of the pedal 1b and a digital musical tone signal are calculated, and a digital musical tone signal to which a predetermined damper pedal effect is added is generated. The digital musical tone signal generated by the digital signal processing circuit 19 is supplied to the D / A converter 20.

D/A変換器20は、音源18から供給されたディジタル楽音信号をアナログ楽音信号に変換するものである。D/A変換器20が出力するアナログ楽音信号は、増幅器21に送出される。   The D / A converter 20 converts the digital musical tone signal supplied from the sound source 18 into an analog musical tone signal. The analog tone signal output from the D / A converter 20 is sent to the amplifier 21.

増幅器21は、入力されたアナログ楽音信号を所定の増幅率で増幅して出力する。増幅器21で所定の増幅が行われたアナログ楽音信号は、スピーカ22に供給される。   The amplifier 21 amplifies the input analog musical sound signal with a predetermined amplification factor and outputs it. The analog tone signal that has been amplified by the amplifier 21 is supplied to the speaker 22.

スピーカ22は、電気信号としてのアナログ楽音信号を音響信号に変換するものである。すなわち、鍵盤17の各鍵の押下に対応した楽音に、音量制御を行う操作子による物理的入力(回転量、移動量等)で調整する音量に対して、ダンパペダル効果を付与するペダルの物理的入力(踏み込み量)に対応した音響効果が付加されて発音されることになる。   The speaker 22 converts an analog musical sound signal as an electric signal into an acoustic signal. That is, the physical of the pedal that imparts a damper pedal effect to the sound corresponding to the depression of each key on the keyboard 17 with respect to the volume adjusted by physical input (rotation amount, movement amount, etc.) by an operator performing volume control. A sound effect corresponding to the input (depression amount) is added to produce a sound.

図2は、音響制御プログラムにより電子楽器内に構築された音量制御装置の機能を示すブロック図である。
音量制御装置は、音量調整を含んだ複数の操作子から構成される操作子群1と、各操作子の操作量(物理的な入力)に対してアナログ/ディジタル(AD)変換を行ってAD値を得るA/D変換器3と、AD値の変化量を検出する変化量検出部4と、AD値を記憶するAD値記憶部5と、AD値で操作子に対応するパラメータを調整する制御を行う音量制御部6と、必要に応じて音量制御状態を表示する表示部7と、を備えて構成されている。
FIG. 2 is a block diagram illustrating functions of a volume control device built in an electronic musical instrument by an acoustic control program.
The volume control device performs analog / digital (AD) conversion on an operator group 1 composed of a plurality of operators including volume adjustment, and an operation amount (physical input) of each operator to perform AD. An A / D converter 3 for obtaining a value, a change amount detection unit 4 for detecting a change amount of the AD value, an AD value storage unit 5 for storing the AD value, and a parameter corresponding to the operator with the AD value are adjusted. A volume control unit 6 that performs control and a display unit 7 that displays a volume control state as necessary are configured.

操作子群1は、図1で示したように、発音の音量を調節する音量スイッチ1a、発音に対してダンパペダル効果を付与するためのペダル1b等の複数の操作子を備えている。
各操作子からの操作量(物理的な入力)は、A/D変換器3へ出力され、アナログ/ディジタル(AD)変換を行ってAD値を取得する。
As shown in FIG. 1, the operator group 1 includes a plurality of operators such as a volume switch 1a for adjusting the volume of sound generation and a pedal 1b for imparting a damper pedal effect to the sound generation.
The operation amount (physical input) from each operator is output to the A / D converter 3, and analog / digital (AD) conversion is performed to obtain an AD value.

変化量検出部4では、前回取得のAD値と直前(今回)取得のAD値から変化量を検出する。また、AD値記憶部5では、取得したAD値を記憶しておく。   The change amount detection unit 4 detects the change amount from the previously acquired AD value and the immediately previous (current) acquired AD value. Further, the AD value storage unit 5 stores the acquired AD value.

音量制御部6は、変化量検出部4で検出した音量調整に関するAD値の変化量が予め設定された所定値以上である場合は、異常発生と認識し、AD値に対応する音量調整を行うことなく、前回取得のAD値により従前の入力状態を維持する音量制御を行う。
また、音量調整に関するAD値の変化量が所定値未満である場合は、直前(今回)取得のAD値に対応して音量調整を行う。
表示部7では、音量制御部6で音量制御に異常が生じたと認識した場合に、インジケータを点滅させる。
When the change amount of the AD value related to the volume adjustment detected by the change amount detection unit 4 is greater than or equal to a predetermined value set in advance, the volume control unit 6 recognizes that an abnormality has occurred and performs volume adjustment corresponding to the AD value. Instead, volume control is performed to maintain the previous input state based on the previously acquired AD value.
Further, when the change amount of the AD value related to the volume adjustment is less than the predetermined value, the volume adjustment is performed corresponding to the AD value acquired immediately before (this time).
The display unit 7 blinks the indicator when the volume control unit 6 recognizes that an abnormality has occurred in the volume control.

次に、音量制御装置における処理について、図2のブロック図及び図3のフローチャート図を参照しながら説明する。
電子楽器の電源投入により起動され(ステップ31)、CPU10、RAM12、音源18等の初期化処理が行われる(ステップ32)。
初期化処理では、CPU10内部のレジスタやフラグのクリア処理、RAM12内に定義された各種バッファ、レジスタ及びフラグ等に対する初期値設定処理、音源18に初期値を設定して不要な音が発音されるのを防止する処理等が行われる。
Next, processing in the volume control device will be described with reference to the block diagram of FIG. 2 and the flowchart of FIG.
The electronic musical instrument is activated when the power is turned on (step 31), and initialization processing of the CPU 10, RAM 12, sound source 18 and the like is performed (step 32).
In the initialization process, the CPU 10 internal registers and flags are cleared, initial value setting processes for various buffers, registers, flags, etc. defined in the RAM 12, and initial values are set in the sound source 18 to generate unnecessary sounds. A process for preventing this is performed.

次に、メインルーチン(ステップ33)の処理として、操作子群1の各操作子の操作量(物理的な入力)に応じたAD値をA/D変換器3で取得する(ステップ34)。
続いて、変化量検出部4において、今回(直前)取得のAD値と前回取得のAD値との変化量(差分)ΔXを検出し、音量制御部6において、検出された変化量ΔXが予め設定された所定値a以上であるかどうかの比較を行う(ステップ35)。
Next, as the processing of the main routine (step 33), an AD value corresponding to the operation amount (physical input) of each operator in the operator group 1 is acquired by the A / D converter 3 (step 34).
Subsequently, the change amount detection unit 4 detects the change amount (difference) ΔX between the AD value acquired this time (immediately before) and the AD value acquired last time, and the volume control unit 6 detects the change amount ΔX detected in advance. A comparison is made as to whether or not the predetermined value a is exceeded (step 35).

検出された変化量ΔXが予め設定された所定値a以上である場合は、異常発生と認識してエラー処理を行う(ステップ36)。
エラー処理では、検出された変化量ΔXが音量スイッチ1aに関するものである場合に、直前に取得したAD値に対応する音量調整を行うことなく、前回取得のAD値により従前の入力状態を維持する音量制御を行う。また、この時、表示部7のインジケータを点灯させる。
If the detected change ΔX is greater than or equal to a predetermined value a set in advance, it is recognized that an abnormality has occurred and error processing is performed (step 36).
In the error processing, when the detected change amount ΔX is related to the volume switch 1a, the previous input state is maintained by the previously acquired AD value without performing the volume adjustment corresponding to the AD value acquired immediately before. Perform volume control. At this time, the indicator of the display unit 7 is turned on.

検出された変化量ΔXが音量スイッチ1aに関するものでない場合についても、直前に取得したAD値ではなく、前回取得のAD値により従前の入力状態を維持するようパラメータを調整する処理(音量制御に対するエラー処理と同様の処理)を行う。または、エラー状態であることを無視し、直前に取得したAD値で操作子に対応するパラメータを調整する処理(通常処理と同様の処理)を行ってもよい。   Even in the case where the detected change amount ΔX is not related to the volume switch 1a, the process of adjusting the parameter to maintain the previous input state based on the previously acquired AD value instead of the previously acquired AD value (error for volume control) The same processing as the processing is performed. Alternatively, a process of adjusting the parameter corresponding to the operator with the AD value acquired immediately before (ignoring the error state) (a process similar to the normal process) may be performed.

検出された変化量ΔXが予め設定された所定値a未満である場合は、直前に取得したAD値で操作子に対応するパラメータを調整する通常処理が行われ(ステップ37)、メインルーチン(ステップ33)以下の処理が繰り返される。すなわち、音量調整の場合では、音量スイッチ1aの操作量に応じた音量が出力されることになる。   If the detected change ΔX is less than the predetermined value a set in advance, normal processing for adjusting the parameter corresponding to the operator with the AD value acquired immediately before is performed (step 37), and the main routine (step 33) The following processing is repeated. That is, in the case of volume adjustment, a volume corresponding to the operation amount of the volume switch 1a is output.

上述した音量制御装置によれば、電子楽器の音量制御を行う場合に、音量調整に関わるAD値の変化量ΔXが所定値a以上である場合は、音量調整を行うことなく従前状態を維持する音量制御が行われるので、複数の操作子のいずれかが故障して、操作子に対応するAD値が最大値や最大値を出力する場合においても、音量が急激に最大値に変化する事態を防止することができ、聴覚へのダメージやスピーカに損傷を与えることを防止することができる。   According to the above-described volume control device, when the volume control of the electronic musical instrument is performed, if the change amount ΔX of the AD value related to the volume adjustment is equal to or greater than the predetermined value a, the previous state is maintained without performing the volume adjustment. Since the volume control is performed, even when one of the plurality of operating elements breaks down and the AD value corresponding to the operating element outputs the maximum value or the maximum value, the situation where the volume suddenly changes to the maximum value. It is possible to prevent damage to the hearing and the speaker.

1…操作子群、 1a…音量スイッチ、 1b…ペダル、 2…操作パネル、 3…A/D変換器、 4…変化量検出部、 5…AD値記憶部、 6…音量制御部、 7…表示部、 10…CPU、 11…ROM、 12…RAM、 18…音源。   DESCRIPTION OF SYMBOLS 1 ... Operation element group, 1a ... Volume switch, 1b ... Pedal, 2 ... Operation panel, 3 ... A / D converter, 4 ... Change amount detection part, 5 ... AD value memory | storage part, 6 ... Volume control part, 7 ... Display unit 10 ... CPU, 11 ... ROM, 12 ... RAM, 18 ... sound source.

Claims (3)

音量調整を含んだ複数の操作子を備え、各操作子の操作量に対してアナログ/ディジタル(AD)変換を行って得たAD値で前記操作子に対応するパラメータを調整する装置において、
前記操作量に応じた前記AD値を記憶するAD値記憶部と、
前記AD値の変化量を検出する変化量検出部と、
前記音量調整に関するAD値の変化量が所定値を超える場合は、前記AD値に対応する音量調整を行うことなく前記AD値記憶部に記憶された従前のAD値を維持して音量制御を行う音量制御部と、
を備えたことを特徴とする音量制御装置。
In a device that includes a plurality of controls including volume adjustment, and adjusts parameters corresponding to the controls with an AD value obtained by performing analog / digital (AD) conversion on the operation amount of each control,
An AD value storage unit that stores the AD value according to the operation amount;
A change amount detector for detecting a change amount of the AD value;
When the change amount of the AD value related to the volume adjustment exceeds a predetermined value, the volume control is performed while maintaining the previous AD value stored in the AD value storage unit without performing the volume adjustment corresponding to the AD value. A volume control unit;
A volume control apparatus comprising:
前記音量調整に関するAD値の変化量が所定値を超える場合に、異常発生を表示する表示部を備えた請求項1に記載の音量制御装置。   The volume control apparatus according to claim 1, further comprising: a display unit that displays an abnormality when the amount of change in the AD value related to the volume adjustment exceeds a predetermined value. 音量調整を含んだ複数の操作子を備え、各操作子の操作量に対してアナログ/ディジタル(AD)変換を行って得たAD値で前記操作子に対応するパラメータを調整するプログラムにおいて、
前記AD値の変化量を検出する機能と、
前記音量調整に関するAD値の変化量が所定値を超える場合は、前記AD値に対応する音量調整を行うことなく従前状態を維持する制御を行う機能と、
をコンピュータ上で実行することを特徴とする音量制御プログラム。
In a program comprising a plurality of controls including volume control, and adjusting parameters corresponding to the controls with an AD value obtained by performing analog / digital (AD) conversion on the operation amount of each control,
A function of detecting a change amount of the AD value;
A function of performing control to maintain the previous state without performing volume adjustment corresponding to the AD value when the amount of change in the AD value related to the volume adjustment exceeds a predetermined value;
Is executed on a computer.
JP2014198393A 2014-09-29 2014-09-29 Volume control device and volume control program Pending JP2016071036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014198393A JP2016071036A (en) 2014-09-29 2014-09-29 Volume control device and volume control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014198393A JP2016071036A (en) 2014-09-29 2014-09-29 Volume control device and volume control program

Publications (1)

Publication Number Publication Date
JP2016071036A true JP2016071036A (en) 2016-05-09

Family

ID=55864539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014198393A Pending JP2016071036A (en) 2014-09-29 2014-09-29 Volume control device and volume control program

Country Status (1)

Country Link
JP (1) JP2016071036A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5865496A (en) * 1982-01-28 1983-04-19 ヤマハ株式会社 Digital data setting unit
JPH0777980A (en) * 1993-09-08 1995-03-20 Yamaha Corp Electronic musical instrument
JP2002014677A (en) * 2000-06-29 2002-01-18 Kawai Musical Instr Mfg Co Ltd Method for setting split point of electronic musical instrument and device therefor
JP2007281687A (en) * 2006-04-04 2007-10-25 Tamura Seisakusho Co Ltd Sound adjustment system
JP2011049722A (en) * 2009-08-26 2011-03-10 Yamaha Corp Sound volume adjusting apparatus
JP2011075411A (en) * 2009-09-30 2011-04-14 Gunze Ltd Apparatus for measurement of substrate component quantity of specimen, biosensor, and measurement display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5865496A (en) * 1982-01-28 1983-04-19 ヤマハ株式会社 Digital data setting unit
JPH0777980A (en) * 1993-09-08 1995-03-20 Yamaha Corp Electronic musical instrument
JP2002014677A (en) * 2000-06-29 2002-01-18 Kawai Musical Instr Mfg Co Ltd Method for setting split point of electronic musical instrument and device therefor
JP2007281687A (en) * 2006-04-04 2007-10-25 Tamura Seisakusho Co Ltd Sound adjustment system
JP2011049722A (en) * 2009-08-26 2011-03-10 Yamaha Corp Sound volume adjusting apparatus
JP2011075411A (en) * 2009-09-30 2011-04-14 Gunze Ltd Apparatus for measurement of substrate component quantity of specimen, biosensor, and measurement display device

Similar Documents

Publication Publication Date Title
JP7177407B2 (en) Electronic musical instrument, pronunciation control method and program
JP2015184392A (en) electronic keyboard musical instrument
JP3373647B2 (en) Electronic keyboard instrument
JP4525619B2 (en) Electronic musical instrument keyboard device
JP6822578B2 (en) Electronic musical instrument
JP2016071036A (en) Volume control device and volume control program
US10224888B1 (en) Parameter control device and control method
JP6589854B2 (en) Electronic musical instrument and electronic musical instrument system
JP2010072417A (en) Electronic musical instrument and musical sound creating program
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
JP4517395B2 (en) Electronic musical instruments
JP6631505B2 (en) Electronic musical instruments and electronic musical instrument systems
JP6700891B2 (en) Control device for pedal operator
JP6705374B2 (en) Electronic musical instruments and electronic musical instrument systems
WO2022102527A1 (en) Signal generation device, electronic musical instrument, electronic keyboard device, electronic apparatus, signal generation method, and program
JP2017053914A (en) Waveform generation device
US20230402024A1 (en) Electronic device, method, and storage medium
JP2017173383A (en) Velocity correction device, velocity correction method, program, and electric musical instrument
JP7073709B2 (en) Electronic devices, control methods and programs for electronic devices, and audio systems
JP6724776B2 (en) Electronic musical instruments and electronic musical instrument systems
JP2021005061A5 (en)
JP2004361528A (en) Musical tone signal generator and legato processing program
JP2016045254A (en) Sound preview device and program
JP3105132B2 (en) Tone generator for electronic musical instruments
JP2811615B2 (en) Input control device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160825

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181114

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190515