JPH0659673A - Expression device - Google Patents

Expression device

Info

Publication number
JPH0659673A
JPH0659673A JP4227802A JP22780292A JPH0659673A JP H0659673 A JPH0659673 A JP H0659673A JP 4227802 A JP4227802 A JP 4227802A JP 22780292 A JP22780292 A JP 22780292A JP H0659673 A JPH0659673 A JP H0659673A
Authority
JP
Japan
Prior art keywords
volume
expression
data
variable resistor
pedal
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
JP4227802A
Other languages
Japanese (ja)
Inventor
Kazunari Inaba
一成 稲葉
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 JP4227802A priority Critical patent/JPH0659673A/en
Publication of JPH0659673A publication Critical patent/JPH0659673A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide an expression device capable of facilitating delicate sound volume adjustment and quickly changing sound volume by detecting moving speed of a pedal and converting a sound volume data accordingly. CONSTITUTION:An expression pedal 22 is mechanically connected to a movable part (sliding element) of a variable resistor 23, and it is devised to move the sliding element of the variable resistor 23 in accordance with depressing amount of the expression pedal 22. Additionally, a signal is introduced outside from the sliding element and it is employed as output of the variable resistor 23. The output of this variable resistor 23 is supplied to an A/D converter 24. Consequently, from this variable resistor 23, voltage corresponding to a position of the sliding element, that is, the depressing amount of the expression pedal 22 is output. The A/D converter 24 converts a voltage signal from the variable resistor 23 into a digital value, and delivers it to a CPU as the depressing amount of the expression pedal 22.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば電子楽器等にお
いて、ペダルの踏込み量に応じて音量を調整するエクス
プレッション装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an expression device for adjusting the volume according to the amount of depression of a pedal in an electronic musical instrument or the like.

【0002】近年、種々の機能を実現するために多数の
操作子を備えた電子楽器が開発され、実用に供されてい
る。かかる電子楽器の操作子の1つとして、踏込み量に
よって音量を調整するエクスプレッションペダルがあ
る。
In recent years, electronic musical instruments having a large number of operators for realizing various functions have been developed and put into practical use. As one of the operators of such an electronic musical instrument, there is an expression pedal that adjusts the volume according to the amount of depression.

【0003】このようなエクスプレッションペダルは、
演奏者が楽曲の盛り上がり等に応じて踏込み量を変化さ
せることにより発音される音量を増減させ、楽曲の表現
を豊にするために使用される。従って、演奏者の感性に
応じた微妙な音量のコントロールのできるエクスプレッ
ション装置が望まれている。
Such an expression pedal is
It is used to increase or decrease the volume of sound produced by the performer by changing the amount of depression according to the excitement of the music, etc., and to enhance the expression of the music. Therefore, there is a demand for an expression device capable of finely controlling the volume according to the sensitivity of the performer.

【0004】[0004]

【従来の技術】従来のエクスプレッションペダルは、そ
の踏込み量に対応して音量が変更されるようになってい
るのが一般的である。即ち、エクスプレッションペダル
の踏込み量と音量変化には1対1の関係しかなく、ゆっ
くり踏込んでも速く踏込んでも踏込み位置が同じ場合、
同じ音量にしか変化せず、踏込み量のみで音量が決定さ
れていた。
2. Description of the Related Art Generally, the volume of conventional expression pedals is changed according to the amount of depression. That is, there is only a one-to-one relationship between the amount of depression of the expression pedal and the change in volume, and if the depression position is the same whether slowly or quickly,
It only changed to the same volume, and the volume was determined only by the amount of depression.

【0005】そのために、小さな音の音量を微妙に調整
しようとしても、エクスプレッションペダルの踏込み量
の調整が困難であり、微妙な音量変化を実現できないと
いう欠点があった。
Therefore, even if the volume of a small sound is finely adjusted, it is difficult to adjust the depression amount of the expression pedal, and there is a drawback that a fine volume change cannot be realized.

【0006】また、小さい音量から大きい音量に移行さ
せる場合は、大きな踏込み量が必要であり、素早い音量
の変更が困難であるという欠点もあった。
In addition, there is a drawback that a large stepping amount is required when shifting from a low volume to a high volume, and it is difficult to change the volume quickly.

【0007】[0007]

【発明が解決しようとする課題】本発明は、かかる欠点
を解消するためになされたものであり、微妙な音量の調
整が容易にできるとともに、素早い音量の変化を可能な
らしめたエクスプレッション装置を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above drawbacks, and provides an expression device which enables easy delicate volume adjustment and quick volume change. The purpose is to do.

【0008】[0008]

【課題を解決するための手段】本発明のエクスプレッシ
ョン装置は、上記目的を達成するために、音量変更を指
示する操作子と、該操作子の操作位置に応じた音量デー
タを出力する出力手段と、前記操作子の移動速度を検出
する速度検出手段と、該速度検出手段により検出された
移動速度に応じて、前記出力手段から出力された音量デ
ータを変換する変換手段と、該変換手段で変換された音
量データを用いて音量を制御する制御手段とにより構成
される。
In order to achieve the above-mentioned object, an expression device of the present invention comprises an operator for instructing volume change, and output means for outputting volume data according to an operation position of the operator. A speed detecting means for detecting the moving speed of the operator, a converting means for converting the volume data output from the output means according to the moving speed detected by the speed detecting means, and a converting means for converting the volume data. And a control means for controlling the volume using the generated volume data.

【0009】[0009]

【作用】本発明は、変換手段として、例えば操作子の操
作速度に対応して、操作子の操作位置と音量の関係を示
す音量特性カーブを記憶した変換テーブルを備え、操作
子の操作により得られた音量データを、操作子の操作速
度に対応した前記音量特性カーブを用いて変換し、変換
された音量データにより音量を制御するようにしたもの
である。
According to the present invention, as the conversion means, for example, a conversion table storing a volume characteristic curve showing the relationship between the operation position of the operator and the volume corresponding to the operation speed of the operator is provided, and the conversion table is obtained by operating the operator. The converted volume data is converted using the volume characteristic curve corresponding to the operation speed of the operator, and the volume is controlled by the converted volume data.

【0010】上記変換手段に使用される音量特性カーブ
を適宜決定することにより、小音量時の微妙な調整が可
能になるとともに、小音量から大音量への素早い移行が
可能となる。
By appropriately determining the volume characteristic curve used in the converting means, it is possible to make a fine adjustment when the volume is low, and to quickly transition from the low volume to the high volume.

【0011】[0011]

【実施例】以下、本発明の実施例につき図面を参照しな
がら詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図1は、本発明のエクスプレッション装置
が適用される電子楽器の概略的な構成を示すブロック図
である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument to which the expression device of the present invention is applied.

【0013】図において、30はシステムバスであり、
このシステムバス30には、当該電子楽器の主要構成要
素としてのCPU10、ROM11、RAM12、キー
ボードスキャン回路13、パネルスキャン回路15、パ
ネル表示部17、トーンジェネレータ18、増幅器19
及びエクスプレッション装置21が接続されている。
In the figure, 30 is a system bus,
The system bus 30 includes a CPU 10, a ROM 11, a RAM 12, a keyboard scan circuit 13, a panel scan circuit 15, a panel display unit 17, a tone generator 18, and an amplifier 19 as main components of the electronic musical instrument.
And the expression device 21 is connected.

【0014】また、上記CPU10にはタイマ10a
が、上記キーボードスキャン回路13にはキーボード1
4が、パネルスキャン回路15にはパネルスイッチ群1
6が、増幅器19にはスピーカ20が、それぞれ接続さ
れている。
The CPU 10 has a timer 10a.
However, the keyboard scan circuit 13 has a keyboard 1
4 is a panel switch group 1 in the panel scan circuit 15.
6 is connected to the amplifier 19, and the speaker 20 is connected to the amplifier 19.

【0015】中央処理装置(CPU)10は、ROM1
1に記憶されている制御プログラムに従って当該電子楽
器の各部を制御するものである。また、CPU10は、
本発明に係るエクスプレッション装置としての機能の一
部を実現するものである。
The central processing unit (CPU) 10 is a ROM 1
1 controls each part of the electronic musical instrument in accordance with the control program stored in 1. Also, the CPU 10
The present invention realizes a part of the function as the expression device according to the present invention.

【0016】タイマ10aは、所定周期でCPU10に
対する割込を発生させるためのものである。このタイマ
10aにより発生される割込は、後述するように、エク
スプレッション処理ルーチンをコールするトリガーとし
て使用される。
The timer 10a is for generating an interrupt to the CPU 10 at a predetermined cycle. The interrupt generated by the timer 10a is used as a trigger for calling an expression processing routine, as will be described later.

【0017】リードオンリメモリ(ROM)11には、
上述したように制御プログラムが格納される他、CPU
10が使用する種々の固定データが記憶される。また、
この発明の特徴に直接関係する音量特性カーブを記憶し
た変換テーブル(詳細は後述する)も、このROM11
に記憶されている。このROM11は、CPU10によ
り、システムバス30を介してアクセスされる。
The read only memory (ROM) 11 includes
The control program is stored as described above, and the CPU
Various fixed data used by 10 are stored. Also,
The conversion table (details will be described later) storing the volume characteristic curve directly related to the features of the present invention is also the ROM 11
Remembered in. The ROM 11 is accessed by the CPU 10 via the system bus 30.

【0018】ランダムアクセスメモリ(RAM)12
は、CPU10の作業用領域、当該電子楽器を制御する
ための各種レジスタ、カウンタ、フラグ等が定義されて
いる。このRAM12は、CPU10により、システム
バス30を介してアクセスされる。
Random access memory (RAM) 12
Defines a work area of the CPU 10, various registers for controlling the electronic musical instrument, counters, flags, and the like. The RAM 12 is accessed by the CPU 10 via the system bus 30.

【0019】キーボード14は、複数のキーと、これら
キーの押鍵・離鍵動作に連動して開閉するキースイッチ
とで構成されている。キーボードスキャン回路13は、
上記キーボード14のキースイッチの開閉状態をスキャ
ンするものである。
The keyboard 14 is composed of a plurality of keys and a key switch that opens and closes in association with key pressing / key releasing operations of these keys. The keyboard scan circuit 13
The open / closed state of the key switch of the keyboard 14 is scanned.

【0020】即ち、キーボードスキャン回路13はキー
ボード14に対してスキャン信号を送出する。キーボー
ド14は、このスキャン信号に応答してキースイッチの
開閉状態を示す信号をキーボードスキャン回路13に返
送する。キーボードスキャン回路13は、キーボード1
4から受け取ったキースイッチの開閉状態を示す信号
を、システムバス30を介してCPU10に送る。
That is, the keyboard scan circuit 13 sends a scan signal to the keyboard 14. In response to the scan signal, the keyboard 14 returns a signal indicating the open / closed state of the key switch to the keyboard scan circuit 13. The keyboard scanning circuit 13 is the keyboard 1
The signal indicating the open / closed state of the key switch received from the CPU 4 is sent to the CPU 10 via the system bus 30.

【0021】パネルスイッチ群16は、複数のスイッチ
で構成されている。この複数のスイッチには、音色選択
スイッチ、リズム選択スイッチ、音量コントロールスイ
ッチ、或いは効果音の選択スイッチ等(いずれも図示し
ない)が含まれる。パネルスキャン回路15は、上記パ
ネルスイッチ群16の各スイッチの開閉状態をスキャン
するものである。
The panel switch group 16 is composed of a plurality of switches. The plurality of switches include a tone color selection switch, a rhythm selection switch, a volume control switch, a sound effect selection switch, etc. (none of which are shown). The panel scan circuit 15 scans the open / closed state of each switch of the panel switch group 16.

【0022】即ち、パネルスキャン回路15はパネルス
イッチ群16に対してスキャン信号を送出する。パネル
スイッチ群16は、このスキャン信号に応答して各スイ
ッチの開閉状態を示す信号をパネルスキャン回路15に
返送する。パネルスキャン回路15は、パネルスイッチ
群16から受け取った各スイッチの開閉状態を示す信号
を、システムバス30を介してCPU10に送る。
That is, the panel scan circuit 15 sends a scan signal to the panel switch group 16. In response to the scan signal, the panel switch group 16 returns a signal indicating the open / closed state of each switch to the panel scan circuit 15. The panel scan circuit 15 sends a signal indicating the open / closed state of each switch received from the panel switch group 16 to the CPU 10 via the system bus 30.

【0023】パネル表示部17は、CPU10がシステ
ムバス30を介して送出する各種データを表示するもの
である。このパネル表示部17は、当該電子楽器の各種
状態を示すLED、各種メッセージを表示するLCD等
により構成される。このLCDには、例えばエクスプレ
ッション装置21の操作により決定された音量値が表示
される。
The panel display unit 17 displays various data sent by the CPU 10 via the system bus 30. The panel display unit 17 is composed of an LED indicating various states of the electronic musical instrument, an LCD displaying various messages, and the like. On this LCD, for example, a volume value determined by operating the expression device 21 is displayed.

【0024】トーンジェネレータ18は、CPU10か
ら送出される楽音データに対応する楽音波形データ及び
エンベロープデータを図示しない楽音波形メモリから読
み出し、読み出した楽音波形データにエンベロープを付
加して楽音信号として出力するものである。このトーン
ジェネレータ18が出力する楽音信号は増幅器19に供
給される。
The tone generator 18 reads out musical tone waveform data and envelope data corresponding to the musical tone data sent from the CPU 10 from a musical tone waveform memory (not shown), adds an envelope to the read musical tone waveform data and outputs it as a musical tone signal. Is. The tone signal output by the tone generator 18 is supplied to the amplifier 19.

【0025】増幅器19は、CPU10から与えられる
音量データに従って、トーンジェネレータ18から与え
られる楽音信号を増幅するものである。この増幅器19
の出力はスピーカ20に与えられる。
The amplifier 19 amplifies the musical tone signal given from the tone generator 18 according to the volume data given from the CPU 10. This amplifier 19
Output is given to the speaker 20.

【0026】スピーカ20は、電気信号を音響信号に変
換する周知のものである。
The speaker 20 is a well-known speaker that converts an electric signal into an acoustic signal.

【0027】エクスプレッション装置21は、例えば、
図2に示すように構成される。図2において、22は操
作子としてのエクスプレッションペダルである。このエ
クスプレッションペダル22は演奏者が足で操作するも
のであり、その踏込み量に応じて音量が制御されるもの
である。なお、本発明は、操作子として足で踏むペダル
でなく、手で操作するスライダやボリュームであっても
適用できる。
The expression device 21 is, for example,
It is configured as shown in FIG. In FIG. 2, reference numeral 22 is an expression pedal as an operator. The expression pedal 22 is operated by the player with his / her foot, and the volume is controlled according to the amount of depression. It should be noted that the present invention can be applied to a slider or volume operated by hand instead of a pedal pedaled by a foot as an operator.

【0028】このエクスプレッションペダル22は、可
変抵抗器23の可動部(摺動子)に機械的に連結されて
おり、エクスプレッションペダル22の踏込み量に応じ
て可変抵抗器23の摺動子を移動させるようになってい
る。
The expression pedal 22 is mechanically connected to the movable portion (slider) of the variable resistor 23, and moves the slider of the variable resistor 23 according to the depression amount of the expression pedal 22. It is like this.

【0029】可変抵抗器23は、固定抵抗部とその上を
摺動する摺動子とで構成される周知のものである。該可
変抵抗器23の固定抵抗部の両端は、それぞれ電源(+
5V)及びグランド(GND)に接続されている。ま
た、摺動子からの信号は外部に導かれ、該可変抵抗器2
3の出力となっている。この可変抵抗器23の出力は、
A/Dコンバータ24に供給されるようになっている。
The variable resistor 23 is a well-known one which is composed of a fixed resistance portion and a slider which slides on the fixed resistance portion. Both ends of the fixed resistance portion of the variable resistor 23 are connected to a power source (+
5V) and ground (GND). In addition, the signal from the slider is guided to the outside and the variable resistor 2
The output is 3. The output of this variable resistor 23 is
It is supplied to the A / D converter 24.

【0030】従って、この可変抵抗器23からは、摺動
子の位置、つまりエクスプレッションペダル22の踏込
み量に応じた電圧が出力されることになる。
Therefore, the variable resistor 23 outputs a voltage corresponding to the position of the slider, that is, the depression amount of the expression pedal 22.

【0031】A/Dコンバータ24は、アナログ信号を
デジタル信号に変換する周知のものである。このA/D
コンバータ24は、可変抵抗器23からの電圧信号をデ
ジタル値に変換し、エクスプレッションペダル22の踏
込み量としてCPU10に送出する。
The A / D converter 24 is a well-known one that converts an analog signal into a digital signal. This A / D
The converter 24 converts the voltage signal from the variable resistor 23 into a digital value, and sends it to the CPU 10 as the depression amount of the expression pedal 22.

【0032】次に、上記構成において、当該電子楽器の
動作につき、エクスプレッション装置の動作を主体に説
明する。
Next, the operation of the electronic musical instrument having the above-described structure will be described mainly with respect to the operation of the expression device.

【0033】図3は、本エクスプレッション装置が適用
される電子楽器のメインフローチャートを示すものであ
る。電源が投入されると、先ず、初期化処理が行われる
(ステップS10)。この初期化処理は、トーンジェネ
レータ18の内部状態を初期状態に設定して電源投入時
に不要な音が発生されるのを防止したり、RAM12の
作業用領域をクリアしたり、レジスタやフラグを初期状
態に設定する処理である。
FIG. 3 is a main flowchart of an electronic musical instrument to which the present expression device is applied. When the power is turned on, first, initialization processing is performed (step S10). This initialization processing sets the internal state of the tone generator 18 to the initial state to prevent unnecessary sounds from being generated when the power is turned on, clears the work area of the RAM 12, initializes registers and flags. This is the process of setting the state.

【0034】次いで、キーボードスキャン及びイベント
処理が行われる(ステップS11)。即ち、CPU10
により駆動されたキーボードスキャン回路13は、キー
ボード14からキースイッチの開閉状態を示すデータを
入力し、該データをCPU10に送出する。CPU10
は、該データに基づいてイベントの有無を判断し、この
判断結果に基づいて鍵のオン/オフ情報を作成し、RA
M12に記憶する。
Next, keyboard scanning and event processing are performed (step S11). That is, the CPU 10
The keyboard scan circuit 13 driven by inputs the data indicating the open / closed state of the key switch from the keyboard 14 and sends the data to the CPU 10. CPU10
Determines whether or not there is an event based on the data, creates key on / off information based on this determination result, and
Store in M12.

【0035】次いで、パネルスイッチ群スキャン及びイ
ベント処理が行われる(ステップS12)。即ち、CP
U10により駆動されたパネルスキャン回路15は、パ
ネルスイッチ群16からパネルスイッチの開閉状態を示
すデータを入力し、該データをCPU10に送出する。
Next, panel switch group scanning and event processing are performed (step S12). That is, CP
The panel scan circuit 15 driven by U10 inputs data indicating the open / closed state of the panel switches from the panel switch group 16 and sends the data to the CPU 10.

【0036】CPU10は、該データに基づいてイベン
トの有無を判断し、この判断結果に基づいて各スイッチ
のオン/オフ情報を作成し、RAM12に記憶する。ま
た、各スイッチのオン/オフ情報に対応する動作、例え
ばモード変更等の処理を行う。このパネルスイッチに関
する処理は周知であり、本発明の要旨とは直接関係がな
いので、詳細な説明は省略する。
The CPU 10 determines the presence or absence of an event based on the data, creates on / off information for each switch based on the result of this determination, and stores it in the RAM 12. Also, an operation corresponding to ON / OFF information of each switch, for example, a process such as mode change is performed. Since the processing relating to the panel switch is well known and has no direct relation to the gist of the present invention, detailed description thereof will be omitted.

【0037】次いで、パネル表示部の表示処理が行われ
る(ステップS13)。これは、CPU10が、パネル
表示部17に所定のデータを送出することにより行われ
る。これにより、例えば、押下されたスイッチに対応す
るLEDが点灯され、また、選択された音色の音色番号
や選択されたリズムのリズム番号等がLCDへ表示され
ることになる。
Next, the display processing of the panel display section is performed (step S13). This is performed by the CPU 10 sending predetermined data to the panel display unit 17. As a result, for example, the LED corresponding to the pressed switch is turned on, and the tone color number of the selected tone color and the rhythm number of the selected rhythm are displayed on the LCD.

【0038】次いで、トーンジェネレータへのデータ設
定処理が行われる(ステップS14)。即ち、上記ステ
ップS11のキーボードスキャン及びイベント処理で得
られた鍵のオン/オフ情報、並びに、ステップS12の
パネルスイッチ群スキャン及びイベント処理で得られた
スイッチのオン/オフ情報に基づき楽音データを作成
し、トーンジェネレータ18に供給される。
Next, a data setting process for the tone generator is performed (step S14). That is, tone data is created based on the key on / off information obtained by the keyboard scan and event processing in step S11 and the switch on / off information obtained by the panel switch group scan and event processing in step S12. And is supplied to the tone generator 18.

【0039】これにより、押下又は離反された鍵に対応
する楽音が、パネルスイッチ群16の音色、リズム、音
量等の各スイッチの指定に従って発音され、又は消音さ
れることになる。この発音又は消音処理は周知であるの
で、ここでの詳細な説明は省略する。
As a result, the musical tone corresponding to the depressed or released key is sounded or muted according to the designation of each switch such as the tone color, rhythm and volume of the panel switch group 16. Since this sounding or mute processing is well known, detailed description thereof will be omitted here.

【0040】このトーンジェネレータ18へのデータ設
定処理が完了するとステップS11へ戻り、以上説明し
たと同様の動作が繰り返される。かかるメインルーチン
の各ステップの繰り返し実行により、キーボード14の
操作及びパネルスイッチ群16の操作に応じて当該電子
楽器で所望の演奏が行われることになる。
When the data setting process for the tone generator 18 is completed, the process returns to step S11, and the same operation as described above is repeated. By repeating the steps of the main routine, a desired performance is performed by the electronic musical instrument in response to the operation of the keyboard 14 and the panel switch group 16.

【0041】次に、本発明の特徴であるエクスプレッシ
ョン装置の動作につき、図4に示したフローチャートを
参照しながら説明する。
Next, the operation of the expression device, which is a feature of the present invention, will be described with reference to the flow chart shown in FIG.

【0042】このエクスプレッション処理ルーチンは、
タイマ10aからの割り込み信号により一定周期で起動
される。
This expression processing routine is
It is activated at a constant cycle by an interrupt signal from the timer 10a.

【0043】エクスプレッション処理では、CPU10
は、先ず、エクスプレッション装置21のA/Dコンバ
ータ24からデータを入力する(ステップS20)。こ
こで取り込んだデータはRAM12に設けられた所定の
レジスタ(以下、「新データレジスタ」という)に記憶
される。この新データレジスタは、その時のエクスプレ
ッションペダル22の踏込み位置に応じたデータであ
る。
In the expression processing, the CPU 10
First, data is input from the A / D converter 24 of the expression device 21 (step S20). The data fetched here is stored in a predetermined register (hereinafter referred to as “new data register”) provided in the RAM 12. This new data register is data corresponding to the depression position of the expression pedal 22 at that time.

【0044】次いで、前回に取り込んだデータを、RA
M12に設けられた所定のレジスタ(以下、「旧データ
レジスタ」という)から読み出し、上記新データレジス
タに記憶された今回のデータと比較する(ステップS2
1)。
Next, the previously acquired data is changed to RA
The data is read from a predetermined register (hereinafter referred to as "old data register") provided in M12 and compared with the current data stored in the new data register (step S2).
1).

【0045】そして、前回のデータと今回のデータとが
同じである、つまりイベントが無いことが判断される
と、エクスプレッションペダル22の移動はなかった旨
を認識し、何等の処理も行わずにこの処理ルーチンがら
リターンする。
When it is determined that the previous data and the current data are the same, that is, there is no event, it is recognized that the expression pedal 22 has not moved, and this processing is performed without any processing. Return from the processing routine.

【0046】一方、前回のデータと今回のデータとが異
なる、つまりイベントが有ることが判断されると、速度
検出処理が行われる(ステップS22)。この速度検出
処理では、旧データレジスタに格納されている前回デー
タ値と新データレジスタに格納されている今回データ値
との差分値を計算し、差分値が大きければ速度が大、小
さければ速度が小である旨を判断する。即ち、一定期間
で大きな変化量があったということは速度が速かったと
いうことになる。
On the other hand, if it is determined that the previous data and the current data are different, that is, that there is an event, speed detection processing is performed (step S22). In this speed detection process, the difference value between the previous data value stored in the old data register and the current data value stored in the new data register is calculated. If the difference value is large, the speed is large, and if it is small, the speed is large. Judge that it is small. That is, a large amount of change over a certain period of time means that the speed was high.

【0047】次いで、速度に対応した音量特性カーブを
用いて、エクスプレッションペダル22の現在値に対応
する音量データを補正する(ステップS23)。即ち、
上記速度検出処理で求められた差分値が所定値以上であ
る場合は、例えば図5(A)に示す音量特性が得られる
ような補正を行い、上記差分値が所定値以下である場合
は、例えば図5(B)に示す音量特性が得られるような
補正を行う。
Next, using the volume characteristic curve corresponding to the speed, the volume data corresponding to the current value of the expression pedal 22 is corrected (step S23). That is,
When the difference value obtained by the speed detection process is equal to or more than a predetermined value, correction is performed to obtain the volume characteristic shown in FIG. 5A, and when the difference value is equal to or less than the predetermined value, For example, correction is performed so that the volume characteristic shown in FIG.

【0048】かかる音量データの補正は、予め図5
(A)に示す音量特性が得られる変換テーブル、及び図
5(B)に示す音量特性が得られるような変換テーブル
を用意しておき、上記差分値に応じて何れかの変換テー
ブルを選択して、音量データの変換を行うことにより実
現される。
The correction of the volume data is performed in advance with reference to FIG.
A conversion table capable of obtaining the volume characteristic shown in (A) and a conversion table capable of obtaining the volume characteristic shown in FIG. 5 (B) are prepared, and one of the conversion tables is selected according to the difference value. It is realized by converting the volume data.

【0049】なお、音量データの補正の他の方法とし
て、上記差分値に応じて、図5(A)に示す音量特性が
得られる変換式、又は図5(B)に示す音量特性が得ら
れる変換式を用い、入力された音量データに所定の演算
を施すことにより実現することもできる。
As another method of correcting the volume data, a conversion formula that obtains the volume characteristic shown in FIG. 5A or the volume characteristic shown in FIG. 5B is obtained according to the difference value. It can also be realized by using a conversion formula and performing a predetermined calculation on the input volume data.

【0050】次に、増幅器19を制御して音量をコント
ロールする(ステップS24)。即ち、CPU10は、
上記補正が施された音量データを増幅器19に送り、該
増幅器19のゲインを所定値に設定する。これにより、
トーンジェネレータ18から送られてくる楽音信号が所
定のゲインで増幅されスピーカ20に供給される。これ
により、エクスプレッションペダル22の操作量に所定
の補正が加えられた音量で楽音が発生されることにな
る。
Next, the amplifier 19 is controlled to control the volume (step S24). That is, the CPU 10
The corrected volume data is sent to the amplifier 19, and the gain of the amplifier 19 is set to a predetermined value. This allows
The musical tone signal sent from the tone generator 18 is amplified with a predetermined gain and supplied to the speaker 20. As a result, a musical tone is generated at a volume in which the operation amount of the expression pedal 22 is corrected by a predetermined amount.

【0051】図5(A)に示す例では、エクスプレッシ
ョンペダル22の踏込み速度が速ければ、踏込み量が増
大するに従ってリニアに音量が増大するのではなく、踏
込み量の増大に伴って急激に音量が増大する。従って、
従来のように、エクスプレッションペダル22を大きく
踏み込むのでなく早く踏み込むことにより、小音量から
大音量への変化を実現でき、素早い音量の変更が可能と
なっている。
In the example shown in FIG. 5A, when the depression speed of the expression pedal 22 is high, the volume does not increase linearly as the depression amount increases, but the volume suddenly increases as the depression amount increases. Increase. Therefore,
By depressing the expression pedal 22 quickly instead of depressing it greatly as in the conventional case, a change from a low volume to a high volume can be realized, and a quick volume change is possible.

【0052】また、図5(B)に示す例では、エクスプ
レッションペダル22の踏込み速度が遅ければ、踏込み
量が増大するに従ってリニアに音量が増大するのではな
く、踏込み量が小さい範囲で音量は急激に増大するが、
踏込み量が所定量以上になるとなだらかな増大となる。
従って、小さな音の音量を微妙に調整しようとする場
合、エクスプレッションペダルの踏込み量を有る程度大
きくとることができ、微妙な音量変化を容易に実現でき
る。
Further, in the example shown in FIG. 5B, if the depression speed of the expression pedal 22 is slow, the volume does not increase linearly as the depression amount increases, but the volume suddenly increases in a small depression amount range. Increase to
When the amount of depression exceeds a predetermined amount, the amount increases gently.
Therefore, when the volume of a small sound is to be finely adjusted, the depression amount of the expression pedal can be increased to a certain extent, and a slight volume change can be easily realized.

【0053】なお、上記実施例では、速度情報として差
分データを用い、該差分データが所定値より大きいか否
かに応じて、速度が速い場合と遅い場合の2つの音量特
性カーブを有する構成としたが、差分データを複数のレ
ベルに分類し、各レベル毎に音量特性カーブを有する構
成としても良い。この場合は、より細かい音量の制御が
可能になるという効果を奏する。
In the above embodiment, the differential data is used as the speed information, and two volume characteristic curves are provided for the fast speed and the slow speed depending on whether the differential data is larger than a predetermined value or not. However, the difference data may be classified into a plurality of levels and each level may have a volume characteristic curve. In this case, there is an effect that finer volume control is possible.

【0054】また、上記実施例では差分値を用いて速度
検出を行っているが、イベントからイベントまでの時間
をカウンタで計数することにより速度検出を行うように
構成しても良い。
In the above embodiment, the speed is detected by using the difference value, but the speed may be detected by counting the time from event to event with a counter.

【0055】さらに、エクスプレッション処理はタイマ
10aにより一定間隔で起動される構成としたがメイン
ルーチンの所定箇所でコールされるサブルーチンとして
構成としても良い。
Further, although the expression processing is configured to be started at a constant interval by the timer 10a, it may be configured to be a subroutine called at a predetermined location of the main routine.

【0056】[0056]

【発明の効果】以上詳述したように、本発明によれば、
微妙な音量の調整が容易にできるとともに、素早い音量
の変化を可能ならしめたエクスプレッション装置を提供
できる。
As described in detail above, according to the present invention,
It is possible to provide an expression device that makes it possible to easily adjust the volume subtly and to change the volume quickly.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のエクスプレッション装置を適用した電
子楽器の実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of an electronic musical instrument to which an expression device of the present invention is applied.

【図2】本発明のエクスプレッション装置の実施例の構
成を示す図である。
FIG. 2 is a diagram showing a configuration of an embodiment of an expression device of the present invention.

【図3】本発明の実施例の動作を示すフローチャート
(メインフローチャート)である。
FIG. 3 is a flowchart (main flowchart) showing an operation of the embodiment of the present invention.

【図4】本発明の実施例の動作を示すフローチャート
(エクスプレッション処理)である。
FIG. 4 is a flowchart (expression processing) showing the operation of the exemplary embodiment of the present invention.

【図5】本発明の実施例の音量特性カーブの例を示す図
である。
FIG. 5 is a diagram showing an example of a volume characteristic curve according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 CPU 10a タイマ 11 ROM 12 RAM 13 キーボードスキャン回路 14 キーボード 15 パネルスキャン回路 16 パネルスイッチ群 17 パネル表示部 18 トーンジェネレータ 19 増幅器 20 スピーカ 21 エクスプレッション装置 22 エクスプレッションペダル 23 可変抵抗器 24 A/Dコンバータ 10 CPU 10a Timer 11 ROM 12 RAM 13 Keyboard Scan Circuit 14 Keyboard 15 Panel Scan Circuit 16 Panel Switch Group 17 Panel Display 18 Tone Generator 19 Amplifier 20 Speaker 21 Expression Device 22 Expression Pedal 23 Variable Resistor 24 A / D Converter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 音量変更を指示する操作子と、 該操作子の操作位置に応じた音量データを出力する出力
手段と、 前記操作子の移動速度を検出する速度検出手段と、 該速度検出手段により検出された移動速度に応じて、前
記出力手段から出力された音量データを変換する変換手
段と、 該変換手段で変換された音量データを用いて音量を制御
する制御手段とを具備したことを特徴とするエクスプレ
ッション装置。
1. An operator for instructing volume change, output means for outputting volume data according to an operation position of the operator, speed detecting means for detecting a moving speed of the operator, and the speed detecting means. A conversion means for converting the volume data output from the output means according to the moving speed detected by the control means; and a control means for controlling the volume using the volume data converted by the conversion means. A unique expression device.
JP4227802A 1992-08-05 1992-08-05 Expression device Pending JPH0659673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4227802A JPH0659673A (en) 1992-08-05 1992-08-05 Expression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4227802A JPH0659673A (en) 1992-08-05 1992-08-05 Expression device

Publications (1)

Publication Number Publication Date
JPH0659673A true JPH0659673A (en) 1994-03-04

Family

ID=16866618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4227802A Pending JPH0659673A (en) 1992-08-05 1992-08-05 Expression device

Country Status (1)

Country Link
JP (1) JPH0659673A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204258A (en) * 2013-04-04 2014-10-27 パイオニア株式会社 Input device, acoustic equipment, input device control method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204258A (en) * 2013-04-04 2014-10-27 パイオニア株式会社 Input device, acoustic equipment, input device control method, and program

Similar Documents

Publication Publication Date Title
JPH0659673A (en) Expression device
US5220118A (en) Auto-play musical instrument with a dial for controlling tone-up level of auto-play tones
US5300728A (en) Method and apparatus for adjusting the tempo of auto-accompaniment tones at the end/beginning of a bar for an electronic musical instrument
JP3112633B2 (en) Electronic keyboard instrument
JP3758278B2 (en) Volume data converter
JP2630166B2 (en) Automatic performance device
JP3669065B2 (en) Electronic musical instrument control parameter changing device
JPH06242781A (en) Electronic musical instrument
JPH07230286A (en) Tempo setting device of electronic musical instrument
JP3581763B2 (en) Electronic musical instrument
JP6700891B2 (en) Control device for pedal operator
JP3155374B2 (en) Scale control device
JP2594656Y2 (en) Electronic keyboard instrument touch data processing device
JP3105132B2 (en) Tone generator for electronic musical instruments
JPH10133663A (en) Electronic musical instrument
JP3375220B2 (en) Electronic musical instrument
JPH0627946A (en) Electronic keyboard musical instrument
JPS6022399Y2 (en) Electronic musical instrument volume control device
JPH06222759A (en) Positional effect-sound device of electronic musical instrument
JP4049178B2 (en) Volume data converter
JP2779880B2 (en) Electronic musical instruments with high-position playing effects
JPH07152374A (en) Electronic musical instrument
JPH08227288A (en) Key touch speed converter and electronic musical instrument
JPH06250650A (en) Electronic musical instrument
JPH07181966A (en) Data setting device of electronic musical instrument