JPH06161437A - Musical sound controller and musical sound generating device - Google Patents

Musical sound controller and musical sound generating device

Info

Publication number
JPH06161437A
JPH06161437A JP4337860A JP33786092A JPH06161437A JP H06161437 A JPH06161437 A JP H06161437A JP 4337860 A JP4337860 A JP 4337860A JP 33786092 A JP33786092 A JP 33786092A JP H06161437 A JPH06161437 A JP H06161437A
Authority
JP
Japan
Prior art keywords
signal
tone
musical
musical sound
control signal
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.)
Withdrawn
Application number
JP4337860A
Other languages
Japanese (ja)
Inventor
Tetsuya Hirano
哲也 平野
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 JP4337860A priority Critical patent/JPH06161437A/en
Publication of JPH06161437A publication Critical patent/JPH06161437A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the musical sound controller which can generate a rich musical sound of depth and enables a musical performance with rich variation by performing a generated musical sound signal with specified processing. CONSTITUTION:The musical sound controller consists of a level generating means 17 which detects the level of the musical sound signal generated by a musical sound signal generating means 15 and outputs a detected level signal, a 1st control signal generating means 18 which converts the detected level signal outputted by the level detecting means 17 according to a 1st characteristic and generates a 1st control signal, a 1st processing means 19a which processes the musical sound signal outputted by the musical sound signal generating means 15 according to the 1st control signal outputted by the 1st control signal generating means 18, a 2nd control signal generating means 18 which converts the detected level signal outputted by the level detecting means 17 according to a 2nd characteristic and generates a 2nd control signal, and a 2nd processing means 19b which processes the musical sound signal outputted by the musical sound signal generating means 15 according to the 2nd control signal outputted by the 2nd control signal generating means 18.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は電子楽器に適用され、生
成された楽音信号に所定の処理を施して楽音を豊かにす
る楽音制御装置及び楽音発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone control device and a musical tone generating device which are applied to an electronic musical instrument and which perform predetermined processing on a generated musical tone signal to enrich the musical tone.

【0002】[0002]

【従来の技術】近年、例えばシンセサイザ、電子ピア
ノ、電子オルガン、シングルキーボード等の電子楽器が
開発され、広く普及されるに至っている。かかる電子楽
器は、例えば鍵盤や操作パネルを操作することにより生
成される楽音データを電子楽器内部に設けられた楽音発
生装置に与える。
2. Description of the Related Art In recent years, electronic musical instruments such as synthesizers, electronic pianos, electronic organs, and single keyboards have been developed and have come into widespread use. Such an electronic musical instrument supplies musical tone data generated by operating a keyboard or an operation panel to a musical tone generating device provided inside the electronic musical instrument.

【0003】これにより、上記楽音発生装置で上記楽音
データに応じたデジタル楽音信号が発生される。このデ
ジタル楽音信号は、D/A変換器でアナログ楽音信号に
変換され、さらに増幅器で増幅されてスピーカに供給さ
れる。これによりスピーカから楽音が放音されるように
なっている。
As a result, the musical tone generating device generates a digital musical tone signal corresponding to the musical tone data. This digital tone signal is converted into an analog tone signal by a D / A converter, further amplified by an amplifier, and supplied to a speaker. As a result, a musical sound is emitted from the speaker.

【0004】また、所定の音色で電子楽器を演奏する際
の臨場感を高めるために、ステレオ演奏を可能にした電
子楽器も知られている。かかるステレオ演奏は、楽音発
生装置で左右両チャネル用の楽音信号を別々に生成し、
これらを左右両チャネルのスピーカから同時に放音する
ことにより実現されている。
Further, there is also known an electronic musical instrument capable of performing a stereo performance in order to enhance the realism when playing the electronic musical instrument with a predetermined tone color. In such a stereo performance, the tone generator separately generates tone signals for the left and right channels,
It is realized by simultaneously emitting these sounds from the left and right channel speakers.

【0005】更に、再生される楽音の質を高めるため
に、各チャネル毎に、楽音信号の再生帯域に応じた複数
のスピーカ、例えばウーハーやツイーター等を用いて楽
音を発生する電子楽器も知られている。
Further, in order to improve the quality of the reproduced musical sound, there is also known an electronic musical instrument which generates a musical sound for each channel by using a plurality of speakers corresponding to the reproduction band of the musical sound signal, for example, a woofer or a tweeter. ing.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、ウーハ
ー又はツイーター等を用いて再生帯域を分けて楽音を発
生する場合であっても、同一の楽音信号を単に帯域分割
してそれぞれウーハー及びツイーター等から放音するだ
けにすぎず、楽音自体が単調で豊かさに欠けるという問
題があった。また、各帯域の楽音はウーハー及びツイー
ターが置かれた1点(ステレオ演奏の場合は左右の2
点)から発せられるだけであるので、発音される音の深
みや広がりに乏しく、変化に富んだ演奏ができないとい
う問題があった。
However, even in the case of using a woofer or a tweeter to generate musical tones by dividing the reproduction band, the same musical tone signal is simply band-divided and released from the woofer and the tweeter, respectively. There was a problem in that the sound itself was monotonous and lacked in richness, as it was just a sound. In addition, the musical sound of each band is a single point with a woofer and a tweeter.
Since it is only emitted from the point), there is a problem that the sound to be pronounced is poor in depth and spread, and it is not possible to perform a variety of performances.

【0007】本発明は、かかる事情に鑑みてなされたも
ので、その目的は、楽音発生装置で発生された楽音信号
に所定の処理を施すことにより豊かで深みや広がりのあ
る楽音を発生でき、変化に富んだ演奏を可能にする楽音
制御装置及び楽音発生装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to generate a rich and deep musical tone by subjecting a musical tone signal generated by a musical tone generating device to predetermined processing. It is an object of the present invention to provide a musical tone control device and a musical tone generating device that enable a variety of performances.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明の楽音制御装置は、楽音信号
生成手段で生成された楽音信号のレベルを検出して検出
レベル信号を出力するレベル検出手段と、該レベル検出
手段が出力する検出レベル信号を第1の特性に従って変
換して第1の制御信号を生成する第1の制御信号生成手
段と、該第1の制御信号生成手段が出力する第1の制御
信号に応じて前記楽音信号生成手段が出力する楽音信号
を加工する第1の加工手段と、前記レベル検出手段が出
力する検出レベル信号を第2の特性に従って変換して第
2の制御信号を生成する第2の制御信号生成手段と、該
第2の制御信号生成手段が出力する第2の制御信号に応
じて前記楽音信号発生手段が出力する楽音信号を加工す
る第2の加工手段、とを具備したことを特徴とする。
In order to achieve the above-mentioned object, the musical tone control apparatus according to the invention of claim 1 detects the level of the musical tone signal generated by the musical tone signal generating means and outputs a detection level signal. Level detecting means for outputting, first control signal generating means for converting a detection level signal output by the level detecting means according to a first characteristic to generate a first control signal, and first control signal generating First processing means for processing the tone signal output by the tone signal generation means in response to a first control signal output by the means, and a detection level signal output by the level detection means are converted according to a second characteristic. Second control signal generating means for generating a second control signal, and processing the tone signal output by the tone signal generating means in response to the second control signal output by the second control signal generating means. Second processing means Characterized by comprising and.

【0009】また、同様の目的で、請求項2に記載の発
明の楽音発生装置は、請求項1に記載の構成に加えて、
前記第1の加工手段により加工された楽音信号に基づい
て発音する第1の発音手段と、前記第2の加工手段によ
り加工された楽音信号に基づいて発音する第2の発音手
段、とを具備し、前記第1の発音手段と第2の発音手段
とは所定の位置関係を有するべく配置されることを特徴
とする。
For the same purpose, in addition to the configuration of claim 1, the tone generating apparatus of the invention described in claim 2 has the following features:
A first sounding means for producing a sound based on the tone signal processed by the first processing means; and a second sounding means for producing a sound based on the tone signal processed by the second processing means. However, the first sounding means and the second sounding means are arranged so as to have a predetermined positional relationship.

【0010】[0010]

【作用】請求項1に記載の発明においては、楽音信号生
成手段で生成された楽音信号のレベルを検出して検出レ
ベル信号となし、この検出レベル信号を、予め用意され
た第1の特性に従って変換することにより第1の制御信
号を作成する。ここで上記第1の特性は、入力である検
出レベル信号の大きさに対して、出力である第1の制御
信号が線形又は非線形に変化するような特性とすること
ができる。
According to the first aspect of the present invention, the level of the musical tone signal generated by the musical tone signal generating means is detected to form a detection level signal, and the detection level signal is generated in accordance with the first characteristic prepared in advance. A first control signal is created by converting. Here, the first characteristic may be a characteristic in which the output first control signal changes linearly or non-linearly with respect to the magnitude of the input detection level signal.

【0011】例えば、図3(A)に示すように、第1の
制御信号は、入力される検出レベル信号が小さい間は一
定の低レベルで推移し、検出レベル信号が中程度になる
と増加に転じ、検出レベル信号が大きくなると高レベル
で一定となる特性を有する信号とすることができる。
For example, as shown in FIG. 3A, the first control signal changes at a constant low level while the input detection level signal is small, and increases when the detection level signal becomes medium. The signal having a characteristic that it becomes constant at a high level when the detection level signal becomes large when turning.

【0012】このようにして作成された第1の制御信号
を用いて、楽音信号生成手段が出力する楽音信号に加工
(例えば乗算)を施して出力する。この加工後の楽音信
号は、例えば図3(A)に示す特性では、加工前の楽音
信号のレベルが小さい部分はより小さくなり、逆に、加
工前の楽音信号のレベルが大きい部分は元のレベルを維
持するように変換される。この加工後の楽音信号に基づ
き楽音を再生すると、小さい音はより小さくなる一方、
大きい音が強調されることになり、聴感上減り張りの効
いた楽音として認識される。
The first control signal thus created is used to process (for example, multiply) the musical tone signal output from the musical tone signal generating means and output the processed musical tone signal. In the characteristic shown in FIG. 3 (A), for example, the portion of the processed musical tone signal having a low level of the musical tone signal before the processing becomes smaller, and conversely, the portion of the musical tone signal having a higher level of the processing before the processing has the original level. Converted to maintain level. When a musical sound is reproduced based on this processed musical sound signal, small sounds become smaller,
The loud sound is emphasized, and it is perceived as a musical sound with a audible reduction.

【0013】一方、上記検出された検出レベル信号を、
予め用意された第2の特性に沿って変換することにより
第2の制御信号を作成する。ここで第2の特性も、上記
第1の特性と同様に、入力である検出レベル信号の大き
さに対して、出力である第2の制御信号が線形又は非線
形に変化するような特性とすることができる。
On the other hand, the detected level signal detected is
The second control signal is created by performing conversion along the second characteristic prepared in advance. Here, like the first characteristic, the second characteristic is also a characteristic such that the second control signal, which is an output, changes linearly or non-linearly with respect to the magnitude of the detection level signal, which is an input. be able to.

【0014】例えば、図3(B)に示すように、第2の
制御信号は、入力される検出レベル信号が小さい間は一
定の高レベルで推移し、検出レベル信号が中程度になる
と減少に転じ、検出レベル信号が大きくなると低レベル
で一定となる特性を有する信号とすることができる。
For example, as shown in FIG. 3B, the second control signal changes at a constant high level while the input detection level signal is small, and decreases when the detection level signal becomes medium. If the detection level signal increases, the signal having a characteristic of being constant at a low level can be obtained.

【0015】このようにして作成された第2の制御信号
を用いて、楽音信号生成手段が出力する楽音信号に加工
(例えば乗算)を施して出力する。この加工後の楽音信
号は、例えば図3(B)に示す特性では、加工前の楽音
信号のレベルが小さい部分は元の楽音信号のレベルを維
持し、逆に、加工前の楽音信号のレベルが大きい部分は
小さくなるように変換される。この加工後の楽音信号に
基づき楽音を再生すると、大きい音は小さくなる一方、
小さい音が強調されることになり、聴感上抑揚のない柔
らかな楽音として認識される。
The second control signal thus created is used to process (for example, multiply) the musical tone signal output by the musical tone signal generating means and output the processed musical tone signal. In the characteristic as shown in FIG. 3 (B), for example, in the characteristic shown in FIG. 3B, the processed musical tone signal maintains the original musical tone signal level in a portion where the unprocessed musical tone signal level is low, and conversely, the unprocessed musical tone signal level. The part where is large is converted to be small. When a musical sound is reproduced based on this processed musical sound signal, loud sounds become smaller,
A small sound is emphasized, and is perceived as a soft musical sound with no intonation.

【0016】このように、同じ楽音信号に別個の加工を
施して作成された同一帯域の2種類の楽音を同時に発音
すると、単調さが除去された豊かな楽音が得られる。ま
た、上記第1、第2の特性を種々変更することにより、
種々の変化に富んだ楽音を生成することができる。な
お、上記第1及び第2の特性は異なる特性とすることが
望ましい。
In this way, when two kinds of musical tones of the same band, which are created by subjecting the same musical tone signal to different processing, are simultaneously pronounced, a rich musical tone with monotonous removed can be obtained. Further, by changing the first and second characteristics variously,
It is possible to generate a variety of musical tones. It is desirable that the first and second characteristics be different.

【0017】また、請求項2に記載の発明においては、
第1の加工手段により加工された楽音信号に基づき発音
する第1の発音手段としての例えばスピーカと、第2の
加工手段により加工された楽音信号に基づき発音する第
2の発音手段としての例えばスピーカとを所定の位置関
係で配置して発音するようにしている。
Further, in the invention described in claim 2,
For example, a speaker as a first sounding means that sounds based on the tone signal processed by the first processing means, and a speaker as a second sounding means that sounds based on the tone signal processed by the second processing means. And are arranged in a predetermined positional relationship to be pronounced.

【0018】これにより、同一帯域の楽音であって、し
かも所定の音楽効果を有するべく加工が施されたものを
複数位置から発音できるので、例えば上記スピーカを前
後に配置すれば奥行き感を、上下に配置すれば縦の広が
り感を、更に左右に配置すれば横の広がり感を、それぞ
れ実現できるものとなっている。
As a result, musical tones in the same band, which have been processed to have a predetermined musical effect, can be produced from a plurality of positions. The vertical spread feeling can be achieved by arranging it at, and the horizontal expanse feeling can be realized by further arranging it at the left and right.

【0019】[0019]

【実施例】以下、本発明の楽音制御装置の実施例につき
図面を参照しながら詳細に説明する。なお、以下では、
楽音の再生系に係る構成及び動作を主体に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a musical tone control apparatus of the present invention will be described in detail below with reference to the drawings. In the following,
The configuration and operation of the tone reproduction system will be mainly described.

【0020】図1は、本発明に係る楽音制御装置が適用
された電子楽器の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument to which the musical sound control device according to the present invention is applied.

【0021】本電子楽器を構成する主要素である中央処
理装置(以下、「CPU」という)10、リードオンリ
メモリ(以下、「ROM」という)11、ランダムアク
セスメモリ(以下、「RAM」という)12、及び楽音
発生部(トーンジェネレータ)15は、アドレスバス及
びデータバスでなるシステムバス30を介して相互に接
続されている。
A central processing unit (hereinafter referred to as "CPU") 10, a read only memory (hereinafter referred to as "ROM") 11, and a random access memory (hereinafter referred to as "RAM"), which are the main elements constituting the present electronic musical instrument. The tone generator 12 (tone generator) 15 and the tone generator 15 are connected to each other via a system bus 30 including an address bus and a data bus.

【0022】CPU10は、ROM11に格納されてい
る制御プログラムに従って、当該電子楽器の全体を制御
するものである。例えば、CPU10は、キーボード1
4のキーの押下に伴って発音チャネルを割り当てるアサ
イナ処理、楽音発生部15に対するアクセス処理等を実
行する。
The CPU 10 controls the entire electronic musical instrument according to a control program stored in the ROM 11. For example, the CPU 10 is the keyboard 1
When the 4 key is pressed, an assigner process for allocating a tone generation channel, an access process for the tone generation unit 15, and the like are executed.

【0023】このCPU10には、更に専用線を介し
て、操作パネル13及びキーボード14が接続されてい
る。これらの詳細については後述する。
An operation panel 13 and a keyboard 14 are further connected to the CPU 10 via a dedicated line. Details of these will be described later.

【0024】ROM11には、上述したCPU10を動
作させるための制御プログラムが記憶される他、CPU
10が各種処理に用いる種々の固定データが記憶され
る。
The ROM 11 stores the control program for operating the CPU 10 described above, and also the CPU
Various types of fixed data used by the various processes by the unit 10 are stored.

【0025】また、このROM11には、パルスコード
変調(PCM)された楽音波形データが記憶されてい
る。以下、ROM11中の楽音波形データが記憶された
部分を、特に「波形メモリ」と呼ぶ。この波形メモリに
は、複数の音色を実現するべく、各音色に対応した複数
種類の楽音波形データが記憶されている。
The ROM 11 also stores tone code data that has been pulse code modulated (PCM). Hereinafter, the portion of the ROM 11 in which the musical tone waveform data is stored is particularly referred to as a “waveform memory”. This waveform memory stores a plurality of types of tone waveform data corresponding to each tone color in order to realize a plurality of tone colors.

【0026】このROM11の記憶内容は、システムバ
ス30を介してCPU10及び楽音発生部15により時
分割で読み出される。即ち、CPU10は、システムバ
ス30を用いてROM11から制御プログラム(命令)
を読み出して解釈・実行すると共に、所定の固定データ
を読み出して所定の演算処理に使用する。また、楽音発
生部15は、システムバス30を用いてROM11の波
形メモリから楽音波形データを読み出し、デジタル楽音
信号SDを生成する。
The contents stored in the ROM 11 are read out in a time division manner by the CPU 10 and the tone generating section 15 via the system bus 30. That is, the CPU 10 uses the system bus 30 to read the control program (command) from the ROM 11.
Is read and interpreted / executed, and predetermined fixed data is read and used for predetermined arithmetic processing. Further, the musical tone generating section 15 reads out musical tone waveform data from the waveform memory of the ROM 11 using the system bus 30 and generates a digital musical tone signal SD.

【0027】RAM12は、制御プログラムの実行に必
要な種々のデータを一時記憶するものであり、例えばデ
ータバッファ、レジスタ、フラグ等の各領域が定義され
ている。後述する操作パネル13、キーボード14等か
ら取り込まれたデータもこのRAM12に一時的に記憶
される。このRAM12の記憶内容は、システムバス3
0を介してCPU10によりアクセスされる。
The RAM 12 temporarily stores various kinds of data necessary for executing the control program, and defines areas such as a data buffer, a register, and a flag. Data fetched from the operation panel 13, the keyboard 14 and the like described later are also temporarily stored in the RAM 12. The contents stored in the RAM 12 are stored in the system bus 3
It is accessed by the CPU 10 via 0.

【0028】上記CPU10に接続される操作パネル1
3は、本電子楽器に各種動作を指示するスイッチ類、電
子楽器に設定すべき数値を入力する数値入力装置及び所
定の情報を表示する表示器(何れも図示しない)等から
構成されている。
Operation panel 1 connected to the CPU 10
Reference numeral 3 is composed of switches for instructing the electronic musical instrument to perform various operations, a numerical value input device for inputting numerical values to be set in the electronic musical instrument, and a display device (not shown) for displaying predetermined information.

【0029】上記スイッチ類には、音色を切り換える音
色切換スイッチ、音量を変更するボリュームスイッチ、
各種の音楽効果を発揮させるための効果スイッチ等が含
まれる。
The above switches include a tone color changeover switch for changing the tone color, a volume switch for changing the volume,
It includes an effect switch and the like for exhibiting various music effects.

【0030】また、数値入力装置は、電子楽器に設定す
べき各種パラメータを数値で入力するために使用される
ものであり、例えばダイヤルやテンキーで実現される。
表示器は、例えばLCDで構成されるものであり、CP
U10の制御により、各種メッセージや当該電子楽器の
状態を表示するために使用される。
The numerical value input device is used to input various parameters to be set in the electronic musical instrument by numerical values, and is realized by a dial or ten keys, for example.
The display is composed of, for example, an LCD, and CP
It is used to display various messages and the state of the electronic musical instrument under the control of U10.

【0031】この操作パネル13は、図示しないパネル
スキャン回路を介してCPU10に接続される。パネル
スキャン回路は、上記操作パネル13の各スイッチのオ
ン/オフ状態をスキャンし、スイッチデータとして出力
する。このスイッチデータは、CPU10に送られ、C
PU10の制御の下にRAM12に記憶され、パネルス
イッチのイベントマップ作成に使用される(詳細は後
述)。
The operation panel 13 is connected to the CPU 10 via a panel scan circuit (not shown). The panel scan circuit scans the on / off state of each switch of the operation panel 13 and outputs it as switch data. This switch data is sent to the CPU 10 and C
It is stored in the RAM 12 under the control of the PU 10 and is used for creating an event map of the panel switch (details will be described later).

【0032】キーボード14は、演奏者が楽音の音程を
指示するキー、及びこのキーに連動して開閉するキース
イッチにより構成される。このキーボード14は図示し
ないキースキャン回路を介してCPU10に接続され
る。
The keyboard 14 is composed of a key for the performer to indicate the pitch of a musical tone, and a key switch that opens and closes in conjunction with this key. The keyboard 14 is connected to the CPU 10 via a key scan circuit (not shown).

【0033】キースキャン回路は、キーボード14のキ
ースイッチの状態をスキャンし、キーのオン/オフ状態
を示すキーデータとして出力する。このキーデータは、
CPU10に送られ、CPU10の制御の下にRAM1
2に記憶され、キーのイベントマップ作成に使用される
(詳細は後述)。
The key scan circuit scans the state of the key switch of the keyboard 14 and outputs it as key data indicating the on / off state of the key. This key data is
RAM1 sent to CPU10 and under control of CPU10
2 and is used for creating an event map of the key (details will be described later).

【0034】楽音発生部15は、楽音信号生成手段とし
て用いられるものであり、例えば32個のオシレータ
と、各オシレータが出力するデジタル楽音信号をミック
スするミキシング回路を備えて構成される。各オシレー
タは、詳述しないが、例えば波形合成回路、エンベロー
プ発生器及び乗算器等から構成される。
The musical tone generating section 15 is used as a musical tone signal generating means and comprises, for example, 32 oscillators and a mixing circuit for mixing the digital musical tone signals output by the respective oscillators. Although not described in detail, each oscillator is composed of, for example, a waveform synthesizing circuit, an envelope generator and a multiplier.

【0035】各オシレータは、CPU10から与えられ
る楽音データに基づいて時分割で駆動されることによ
り、それぞれデジタル楽音信号を生成し、これらがミキ
シング回路でミックスされることによりデジタル楽音信
号SDが生成される。
Each of the oscillators is driven in a time-division manner based on the musical tone data given from the CPU 10 to generate a digital musical tone signal, and these are mixed by a mixing circuit to generate a digital musical tone signal SD. It

【0036】この楽音発生部15で生成されたデジタル
楽音信号SDは、楽音制御装置の一部としてのD/A変
換器16に供給される。
The digital tone signal SD generated by the tone generator 15 is supplied to the D / A converter 16 as a part of the tone controller.

【0037】楽音制御装置は、D/A変換器16、レベ
ル検出器17、アッテネータ制御回路18及びアッテネ
ータ19a及び19bにより構成され、楽音発生部15
が出力するデジタル楽音信号SDに所定の加工を施し、
2系統のアナログ楽音信号を出力するものである。
The tone control device comprises a D / A converter 16, a level detector 17, an attenuator control circuit 18, and attenuators 19a and 19b.
The digital tone signal SD output by
It outputs two systems of analog tone signals.

【0038】上記D/A変換器16は、楽音発生部15
から供給されたデジタル楽音信号SDをアナログ楽音信
号SAに変換するものである。このD/A変換器16が
出力するアナログ楽音信号SA(以下、「オーディオ信
号SA」という)は、レベル検出器17及びアッテネー
タ19a、19bに供給される。
The D / A converter 16 includes a tone generating section 15
The digital musical tone signal SD supplied from the device is converted into an analog musical tone signal SA. The analog tone signal SA (hereinafter, referred to as “audio signal SA”) output from the D / A converter 16 is supplied to the level detector 17 and the attenuators 19a and 19b.

【0039】レベル検出器17は、レベル検出手段に対
応するものであり、例えばピークホールド回路により構
成される。レベル検出器17は、入力されたオーディオ
信号SAのピークを検出し、検出レベル信号SLとして
出力するものである。
The level detector 17 corresponds to a level detecting means, and is composed of, for example, a peak hold circuit. The level detector 17 detects the peak of the input audio signal SA and outputs it as a detection level signal SL.

【0040】即ち、レベル検出器17は、例えば図2
(A)に示すように、オーディオ信号SAの所定のピー
クを検出すると、そのピーク値に対応した検出レベル信
号SLを出力する。この検出レベル信号SLは、その
後、所定の時定数で減衰するが、次に現在の検出レベル
信号SLより高いレベルのオーディオ信号SAが入力さ
れると、検出レベル信号SLはそのピーク値まで引き上
げられ、その後、上記と同様に所定の時定数で減衰す
る。
That is, the level detector 17 is, for example, as shown in FIG.
As shown in (A), when a predetermined peak of the audio signal SA is detected, the detection level signal SL corresponding to the peak value is output. The detection level signal SL is then attenuated with a predetermined time constant, but when the audio signal SA having a higher level than the current detection level signal SL is input next, the detection level signal SL is raised to its peak value. After that, it decays with a predetermined time constant as in the above.

【0041】かかる動作を繰り返すことにより、レベル
検出器17は、オーディオ信号SAのピーク−ピークに
応じた検出レベル信号SLを出力し続ける。このレベル
検出器17で検出された検出レベル信号SLは、アッテ
ネータ制御回路18に供給される。
By repeating the above operation, the level detector 17 continues to output the detection level signal SL corresponding to the peak-peak of the audio signal SA. The detection level signal SL detected by the level detector 17 is supplied to the attenuator control circuit 18.

【0042】なお、上記のレベル検出器17は、オーデ
ィオ信号SAの正側のピークのみを検出する構成とした
が、例えば図2(B)に示すように、オーディオ信号S
Aを半波整流した後のピークを検出して検出レベル信号
SLを生成するように構成しても良い。この構成によれ
ば、オーディオ信号SAの振幅レベルをより厳密に反映
した検出レベル信号SLを得ることができる。
Although the level detector 17 is configured to detect only the peak on the positive side of the audio signal SA, as shown in FIG. 2B, the audio signal S is detected.
The detection level signal SL may be generated by detecting the peak after the half-wave rectification of A. With this configuration, it is possible to obtain the detection level signal SL that more closely reflects the amplitude level of the audio signal SA.

【0043】アッテネータ制御回路18は、第1、第2
の制御信号生成手段に対応するものであり、入力された
検出レベル信号SLに基づき第1の制御信号SC1及び
第2の制御信号SC2を生成して出力するものである。
ここで、第1及び第2の制御信号SC1及びSC2は、
例えば図3に示すように、「0」〜「1」の範囲の値を
有する信号として生成される。
The attenuator control circuit 18 includes the first and second
It corresponds to the control signal generating means of 1) and generates and outputs the first control signal SC1 and the second control signal SC2 based on the input detection level signal SL.
Here, the first and second control signals SC1 and SC2 are
For example, as shown in FIG. 3, it is generated as a signal having a value in the range of “0” to “1”.

【0044】ここで、値「0」はアッテネータ19a又
は19bに供給されるオーディオ信号SAを全て減衰さ
せて出力する、即ちオーディオ信号SAを遮断すること
を意味する。また、値「1」はアッテネータ19a又は
19bに供給されるオーディオ信号SAを全く減衰させ
ずに出力することを意味する。これらの中間の値は、そ
の値に応じてオーディオ信号SAを減衰させて出力する
ことを意味する。
Here, the value "0" means that the audio signal SA supplied to the attenuator 19a or 19b is attenuated and output, that is, the audio signal SA is cut off. The value "1" means that the audio signal SA supplied to the attenuator 19a or 19b is output without being attenuated at all. An intermediate value between these means that the audio signal SA is attenuated and output according to the value.

【0045】アッテネータ制御回路18は、例えば図3
(A)に示すような特性の変換を行って第1の制御信号
SC1を生成する。即ち、入力される検出レベル信号S
Lが小さい間は一定の低レベルで推移し、検出レベル信
号SLが中程度になると増加に転じ、検出レベル信号S
Lが大きくなると高レベルで一定となる特性を有する第
1の制御信号SC1を出力する。
The attenuator control circuit 18 is shown in FIG.
The characteristics shown in (A) are converted to generate the first control signal SC1. That is, the input detection level signal S
While L is small, it stays at a constant low level, and when the detection level signal SL becomes medium, it starts to increase, and the detection level signal S
When L becomes large, it outputs the first control signal SC1 having the characteristic of being constant at a high level.

【0046】また、アッテネータ制御回路18は、例え
ば図3(B)に示すような特性の変換を行って第2の制
御信号を生成する。即ち、入力される検出レベル信号S
Lが小さい間は一定の高レベルで推移し、検出レベル信
号SLが中程度になると減少に転じ、検出レベル信号S
Lが大きくなると低レベルで一定となる特性を有する第
2の制御信号SC2を出力する。
Further, the attenuator control circuit 18 converts the characteristics as shown in FIG. 3B, for example, to generate the second control signal. That is, the input detection level signal S
While L is small, it stays at a constant high level, and when the detection level signal SL becomes medium, it starts to decrease, and the detection level signal S
When L becomes large, the second control signal SC2 having the characteristic of being constant at a low level is output.

【0047】このアッテネータ制御回路18は、例えば
所望の関数に応じた信号を発生する関数発生器で実現さ
れる。アッテネータ制御回路18で生成された第1の制
御信号SC1は、アッテネータ19aに供給され、第2
の制御信号SC2は、アッテネータ19bに供給され
る。
The attenuator control circuit 18 is realized by, for example, a function generator that generates a signal according to a desired function. The first control signal SC1 generated by the attenuator control circuit 18 is supplied to the attenuator 19a, and the second control signal SC1 is supplied to the attenuator 19a.
The control signal SC2 of is supplied to the attenuator 19b.

【0048】なお、上記図3で示した変換特性は一例で
あり、上記に限定されることなく種々の変換特性を有す
るように構成することができる。即ち、所望する楽音の
種類やスピーカ21a、21bを配置する位置に応じ
て、所望の任意の特性で変換するように構成することが
できる。
The conversion characteristic shown in FIG. 3 is an example, and the conversion characteristic is not limited to the above and may be configured to have various conversion characteristics. That is, it can be configured to perform conversion with any desired characteristic in accordance with the desired type of musical sound and the position where the speakers 21a and 21b are arranged.

【0049】また、予め関数発生器を複数備えておき、
CPU10からの制御に応じて任意の関数を選択して変
換するように構成してもよい。この場合、関数の選択
は、CPU10からアッテネータ制御回路18に選択信
号を与えることにより実現される。かかる構成によれ
ば、所望の楽音を簡単に選択できるという効果がある。
Further, a plurality of function generators are provided in advance,
An arbitrary function may be selected and converted according to the control from the CPU 10. In this case, the selection of the function is realized by giving a selection signal from the CPU 10 to the attenuator control circuit 18. According to such a configuration, there is an effect that a desired musical sound can be easily selected.

【0050】アッテネータ19aは、第1の加工手段に
対応するものであり、入力されるオーディオ信号SAを
第1の制御信号SC1に応じて加工して出力するもので
ある。このアッテネータ19aは、例えば乗算器で構成
される。即ち、入力されたオーディオ信号SAと第1の
制御信号SC1とを乗算して出力する。このアッテネー
タ19aの出力は、増幅器20aに供給される。
The attenuator 19a corresponds to the first processing means, and processes the input audio signal SA according to the first control signal SC1 and outputs it. The attenuator 19a is composed of, for example, a multiplier. That is, the input audio signal SA and the first control signal SC1 are multiplied and output. The output of this attenuator 19a is supplied to the amplifier 20a.

【0051】アッテネータ19bは、第2の加工手段に
対応するものであり、入力されるオーディオ信号SAを
第2の制御信号SC2に応じて加工して出力するもので
ある。このアッテネータ19bも、例えば乗算器で構成
される。即ち、入力されたオーディオ信号SAと第2の
制御信号SC2とを乗算して出力する。このアッテネー
タ19bの出力は、増幅器20bに供給される。
The attenuator 19b corresponds to the second processing means, and processes the input audio signal SA according to the second control signal SC2 and outputs it. The attenuator 19b is also composed of, for example, a multiplier. That is, the input audio signal SA and the second control signal SC2 are multiplied and output. The output of this attenuator 19b is supplied to the amplifier 20b.

【0052】増幅器20a、20bは、入力されたオー
ディオ信号を所定の増幅率で増幅して出力する周知のも
のである。この増幅器20a、20bで所定の増幅が行
われたオーディオ信号は、それぞれスピーカ21a、2
1bに供給される。
The amplifiers 20a and 20b are well-known amplifiers that amplify an input audio signal with a predetermined amplification factor and output it. The audio signals that have been amplified by the amplifiers 20a and 20b are subjected to speaker 21a and speaker 2a, respectively.
1b.

【0053】スピーカ21a、21bは、それぞれ第1
の発音手段、第2の発音手段に対応するものであり、電
気信号としてのオーディオ信号を音響信号に変換する周
知のものである。このスピーカ21a、21bにより、
キーボード14のキーの押下に対応した楽音が放音され
る。
The speakers 21a and 21b are respectively the first
This is a well-known means for converting an audio signal as an electric signal into an acoustic signal, which corresponds to the second sounding means. With these speakers 21a and 21b,
A musical sound corresponding to the pressing of a key on the keyboard 14 is emitted.

【0054】次に、上記の構成において本実施例の動作
につき詳細に説明する。なお、以下では、本発明に関係
する部分のみを図面に示し、説明を加える。
Next, the operation of this embodiment having the above-mentioned structure will be described in detail. In the following, only the portions related to the present invention are shown in the drawings and will be described.

【0055】図5は、本発明に係る楽音制御装置が適用
される電子楽器の処理を示すメインフローチャートであ
り、電源投入により起動されるものである。
FIG. 5 is a main flowchart showing the processing of the electronic musical instrument to which the musical tone control apparatus according to the present invention is applied, which is started by turning on the power.

【0056】即ち、電源が投入されると、先ず、CPU
10、RAM12、楽音発生部15等の初期化処理が行
われる(ステップS10)。この初期化処理では、CP
U10内部のレジスタやフラグのクリア処理、RAM1
2内に定義された各種バッファ、レジスタ及びフラグ等
に初期値を設定する処理、楽音発生部15に初期値を設
定して不要な発音を抑止する処理等が行われる。
That is, when the power is turned on, first, the CPU
Initialization processing of 10, the RAM 12, the musical sound generating unit 15 and the like is performed (step S10). In this initialization process, CP
U10 internal register and flag clear processing, RAM1
Processing for setting initial values in various buffers, registers, flags, etc. defined in 2 and processing for setting initial values in the musical sound generating unit 15 to suppress unnecessary sound generation are performed.

【0057】次いで、パネルイベント処理が行われる
(ステップS11)。このパネルイベント処理では、先
ず、操作パネル13をスキャンすることにより、各スイ
ッチの設定状態を示すスイッチデータを各スイッチに対
応したビット列として取り込む。次いで、前回読み込ん
だスイッチデータ(既にRAM12に記憶されている)
と、今回読み込んだスイッチデータとを比較し、相違す
るビットが存在するか否かを調べる。
Next, panel event processing is performed (step S11). In this panel event process, first, the operation panel 13 is scanned to capture the switch data indicating the setting state of each switch as a bit string corresponding to each switch. Next, the previously read switch data (already stored in RAM 12)
And the switch data read this time are compared to check whether or not there is a different bit.

【0058】そして、相違するビットが存在する場合
に、スイッチイベントがあった旨を認識し、変化のあっ
たスイッチに対応するビットをオンにしたイベントマッ
プを作成する。
Then, when there is a different bit, it is recognized that there is a switch event, and an event map in which the bit corresponding to the changed switch is turned on is created.

【0059】操作パネル13のスイッチ操作に対応する
各種処理、例えば音色切換スイッチに対応する音色変更
処理や効果スイッチに対応する所定の音楽効果を発揮さ
せる処理等は、このイベントマップを参照することによ
り行われる。
By referring to this event map, various processes corresponding to the switch operation of the operation panel 13, for example, tone color changing process corresponding to the tone color changeover switch and a process for exhibiting a predetermined music effect corresponding to the effect switch can be performed by referring to this event map. Done.

【0060】例えば、上記イベントマップを参照するこ
とにより音色切換スイッチのイベントがあったことが判
断されると、指定された音色に対応する音色番号が生成
され、RAM12の所定領域に記憶される。この音色番
号は楽音発生部15に送られ、波形メモリから読み出す
べき楽音波形データを特定するために使用される。
For example, when it is determined by referring to the event map that there is an event of the tone color changeover switch, a tone color number corresponding to the designated tone color is generated and stored in a predetermined area of the RAM 12. This tone color number is sent to the tone generation section 15 and is used to specify the tone waveform data to be read from the waveform memory.

【0061】なお、操作パネル13のそれぞれのスイッ
チに対する処理は、本発明とは直接関係しないので説明
は省略する。
The processing for each switch on the operation panel 13 is not directly related to the present invention, and therefore its explanation is omitted.

【0062】次いで、鍵盤イベント処理が行われる(ス
テップS12)。この鍵盤イベント処理では、先ず、キ
ースキャン回路を介してキーボード14をスキャンする
ことにより、各キーの押下状態を示すキーデータを各キ
ーに対応したビット列として取り込む。次いで、前回読
み込んだキーデータ(既にRAM12に記憶されてい
る)と、今回読み込んだキーデータとを比較し、相違す
るビットが存在するか否かを調べる。
Next, keyboard event processing is performed (step S12). In this keyboard event process, first, the keyboard 14 is scanned through the key scan circuit to capture the key data indicating the pressed state of each key as a bit string corresponding to each key. Next, the previously read key data (which has already been stored in the RAM 12) is compared with the currently read key data to check whether there is a different bit.

【0063】そして、相違するビットが存在する場合
に、キーイベントがあった旨を認識し、変化のあったキ
ーに対応するビットをオンにしたイベントマップを作成
する。
Then, when different bits are present, it is recognized that there is a key event, and an event map in which the bit corresponding to the changed key is turned on is created.

【0064】そして、このイベントマップを参照するこ
とにより、イベントのあったキーを示すキーナンバ及び
キーの押下の強さ(押下の速度)を示すタッチデータが
作成される。このキーナンバ及びタッチデータは楽音発
生部15に送られ、イベントのあったキーに対する押鍵
処理/離鍵処理に使用される。
Then, by referring to this event map, a key number indicating a key having an event and touch data indicating a key pressing strength (pressing speed) are created. The key number and the touch data are sent to the musical sound generating unit 15 and used for the key depression process / key release process for the key having the event.

【0065】この鍵盤イベント処理が終了するとステッ
プS11に戻り、上述したと同様の処理を繰り返す。上
記ステップS11〜S12の繰り返し実行の過程で、パ
ネル操作、或いはキーボード操作に応じたイベントが発
生すると、そのイベントに対応する処理を行うことによ
り電子楽器の各種機能が発揮される。
When the keyboard event process is completed, the process returns to step S11 and the same process as described above is repeated. When an event corresponding to a panel operation or a keyboard operation occurs in the process of repeatedly executing steps S11 to S12, various functions of the electronic musical instrument are exhibited by performing a process corresponding to the event.

【0066】次に、鍵盤イベント処理の詳細につき、図
6に示したフローチャートを参照しながら説明する。
Next, details of the keyboard event process will be described with reference to the flowchart shown in FIG.

【0067】鍵盤イベント処理では、上述したように、
先ずキーのイベントマップが作成され、このイベントマ
ップを参照して各キーに対する処理を行うか否かが判断
されることになる。
In the keyboard event processing, as described above,
First, an event map of a key is created, and it is determined by referring to this event map whether or not to process each key.

【0068】鍵盤イベント処理では、先ず、キーのオン
イベントがあるか否かが調べられる(ステップS2
0)。このキーのオンイベントの有無は、上記イベント
マップを調べることにより行われる。そして、オンイベ
ントがあることが判断されると、楽音データが楽音発生
部15にセットされる(ステップS21)。
In the keyboard event processing, it is first checked whether or not there is a key on event (step S2).
0). Whether or not there is an on event for this key is determined by checking the above event map. When it is determined that there is an on event, the musical sound data is set in the musical sound generating unit 15 (step S21).

【0069】具体的には、楽音発生部15中の1つのオ
シレータが所定のアルゴリズムにより選択され、この選
択されたオシレータにCPU10から楽音データが送ら
れることになる。なお、オシレータの選択、即ち発音チ
ャネルのアサイン処理は周知の技術であるので説明は省
略する。
Specifically, one oscillator in the tone generating section 15 is selected by a predetermined algorithm, and the tone data is sent from the CPU 10 to this selected oscillator. It should be noted that the selection of the oscillator, that is, the assigning process of the tone generation channel is a well-known technique, and therefore its explanation is omitted.

【0070】ここで、オシレータにセットされる楽音デ
ータは、上述した音色切換スイッチ(図示しない)で指
示された音色に対応する音色番号、上述したイベントの
あったキーのキーナンバ及びタッチデータである。
Here, the tone data set in the oscillator is the tone color number corresponding to the tone color designated by the tone color changeover switch (not shown), the key number of the key having the above-mentioned event, and the touch data.

【0071】音色番号は、楽音波形データを波形メモリ
から読み出すアドレスとして用いられる。キーナンバ
は、波形メモリから楽音波形データを読み出す速度を指
定するために用いられ、タッチデータは、音波形に付加
すべきエンベロープの形状を決定するために用いられ
る。
The tone color number is used as an address for reading the musical tone waveform data from the waveform memory. The key number is used to specify the speed of reading the tone waveform data from the waveform memory, and the touch data is used to determine the shape of the envelope to be added to the tone waveform.

【0072】上記音色番号及びキーナンバは上述した楽
音発生部15内の波形合成回路にセットされ、タッチデ
ータは、上述した楽音発生部15内のエンベロープ発生
器にセットされる。
The tone color number and key number are set in the waveform synthesizing circuit in the tone generating section 15 described above, and the touch data is set in the envelope generator in the tone generating section 15 described above.

【0073】上記楽音発生部15への楽音データのセッ
トが完了すると、次に、押鍵処理が行われる(ステップ
S22)。押鍵処理は、上記ステップS21で楽音発生
部15にセットされた楽音データに基づきオシレータを
動作させてデジタル楽音信号SDを生成する処理であ
る。
When the setting of the musical tone data to the musical tone generating section 15 is completed, a key depression process is next performed (step S22). The key depression process is a process of operating the oscillator based on the musical tone data set in the musical tone generating unit 15 in step S21 to generate the digital musical tone signal SD.

【0074】即ち、楽音発生部15の各オシレータは、
波形合成回路において、音色番号で指定される波形メモ
リ中の楽音波形データをキーナンバに応じた速度で読み
出して楽音波形信号を生成すると共に、エンベロープ発
生器において、タッチデータに応じたエンベロープ信号
を発生し、これら楽音波形信号及びエンベロープ信号を
乗算器で乗算することによりエンベロープが付加された
デジタル楽音信号が生成される。そして各オシレータで
生成されたデジタル楽音信号はミキシング回路でミック
スされ、デジタル楽音信号SDとして出力される。
That is, each oscillator of the musical sound generating section 15 is
In the waveform synthesis circuit, the tone waveform data in the waveform memory specified by the tone color number is read at a speed according to the key number to generate a tone waveform signal, and the envelope generator generates an envelope signal according to the touch data. By multiplying the musical tone waveform signal and the envelope signal by a multiplier, a digital musical tone signal to which an envelope is added is generated. Then, the digital tone signals generated by the respective oscillators are mixed by the mixing circuit and output as the digital tone signal SD.

【0075】このようにして楽音発生部15で生成され
たデジタル楽音信号SDは、楽音制御装置のD/A変換
器16に供給される。D/A変換器16では、楽音発生
部15から供給されたデジタル楽音信号SDをアナログ
楽音信号SAに変換し、オーディオ信号SAとして、レ
ベル検出器17及びアッテネータ19a、19bに供給
する。
The digital tone signal SD thus generated by the tone generator 15 is supplied to the D / A converter 16 of the tone controller. The D / A converter 16 converts the digital musical tone signal SD supplied from the musical tone generating section 15 into an analog musical tone signal SA, and supplies it as an audio signal SA to the level detector 17 and the attenuators 19a and 19b.

【0076】レベル検出器17では、入力されたオーデ
ィオ信号SAのピークを検出し、検出レベル信号SLと
してアッテネータ制御回路18に供給する。アッテネー
タ制御回路18では、上述したように、検出レベル信号
SLを、所定の特性を有する第1の制御信号SC1及び
第2の制御信号SC2に変換して、それぞれアッテネー
タ19a及び19bに供給する。
The level detector 17 detects the peak of the input audio signal SA and supplies it to the attenuator control circuit 18 as a detection level signal SL. In the attenuator control circuit 18, as described above, the detection level signal SL is converted into the first control signal SC1 and the second control signal SC2 having the predetermined characteristics and supplied to the attenuators 19a and 19b, respectively.

【0077】アッテネータ19aでは、D/A変換器1
6から供給されたオーディオ信号SAとアッテネータ制
御回路18から供給された第1の制御信号SC1とを乗
算して出力する。このアッテネータ19aの出力は、増
幅器20aに供給される。
In the attenuator 19a, the D / A converter 1
The audio signal SA supplied from 6 and the first control signal SC1 supplied from the attenuator control circuit 18 are multiplied and output. The output of this attenuator 19a is supplied to the amplifier 20a.

【0078】この際、例えば図3(A)に示された特性
に従って生成された第1の制御信号SC1が用いられる
と、図4(A)に示すように、アッテネータ19aへの
入力信号のレベルが小さければ大きい割合で減衰され、
逆に大きければ小さい割合で減衰されたオーディオ信号
が出力される。これにより、大きい音はそのままである
が小さい音はより小さくなって大きい音が強調されるこ
とになり、聴感上減り張りの効いた楽音として認識され
る。
At this time, if the first control signal SC1 generated according to the characteristic shown in FIG. 3A is used, as shown in FIG. 4A, the level of the input signal to the attenuator 19a is increased. If is small, it is attenuated by a large percentage,
Conversely, if it is large, the audio signal attenuated at a small rate is output. As a result, the loud sound remains as it is, but the quiet sound becomes smaller and the loud sound is emphasized, and is perceived as a musical sound with a audible reduction.

【0079】アッテネータ19bでは、D/A変換器1
6から供給されたオーディオ信号SAとアッテネータ制
御回路18から供給された第2の制御信号SC2とを乗
算して出力する。このアッテネータ19bの出力は、増
幅器20bに供給される。
In the attenuator 19b, the D / A converter 1
The audio signal SA supplied from 6 and the second control signal SC2 supplied from the attenuator control circuit 18 are multiplied and output. The output of this attenuator 19b is supplied to the amplifier 20b.

【0080】この際、図3(B)に示された特性に従っ
て変換が行われた第2の制御信号SC2が用いられる
と、図4(B)に示すように、アッテネータ19bへの
入力信号のレベルが大きければ大きい割合で減衰され、
逆に小さければ小さい割合で減衰されたオーディオ信号
が出力される。これにより、小さい音はそのままである
が大きい音は小さくなるので小さい音が強調されること
になり、聴感上抑揚のない柔らかな楽音として認識され
る。
At this time, when the second control signal SC2 converted according to the characteristic shown in FIG. 3B is used, the input signal to the attenuator 19b is changed as shown in FIG. 4B. If the level is high, it will be attenuated at a high rate,
Conversely, if it is small, the audio signal attenuated at a small rate is output. As a result, the small sound remains as it is, but the large sound becomes small, so that the small sound is emphasized, and it is recognized as a soft musical sound with no intonation.

【0081】なお、第1、第2の制御信号SC1、SC
2の特性は、上記図3に示したものに限定されず、任意
の特性を有するように構成しても良いことは上述した通
りである。
The first and second control signals SC1 and SC
The characteristics of No. 2 are not limited to those shown in FIG. 3 and may be configured to have any characteristics as described above.

【0082】上記のようにして楽音制御装置で加工され
たオーディオ信号は、増幅器20a、20bでそれぞれ
所定の増幅が行われ、スピーカ21a、21bにより音
響信号に変換されて同時に放音される。
The audio signals processed by the tone control device as described above are respectively amplified by the amplifiers 20a and 20b, converted into acoustic signals by the speakers 21a and 21b, and simultaneously emitted.

【0083】この際、スピーカ21a及び21bを設置
する位置により、上記オーディオ信号の加工による効果
と相まって、様々な楽音効果を発揮させることができ
る。例えば、上記スピーカ21a及び21bを前後に配
置すれば奥行き感を、上下に配置すれば縦の広がり感
を、更に左右に配置すれば横の広がり感を、それぞれ実
現できるものとなっている。
At this time, depending on the positions where the speakers 21a and 21b are installed, various musical sound effects can be exhibited in combination with the effects of the above-described audio signal processing. For example, if the speakers 21a and 21b are arranged front and back, a depth feeling can be realized, if they are arranged vertically, a feeling of vertical expansion can be realized, and if they are arranged further left and right, a feeling of horizontal expansion can be realized.

【0084】上記ステップS20でキーオンイベントが
ないことが判断されると、キーオフイベントがあるか否
かが調べられる(ステップS25)。ここで、キーオフ
イベントがないことが判断されると、何等の処理をも行
うことなく、この鍵盤イベント処理ルーチンからリター
ンする。
If it is determined in step S20 that there is no key-on event, it is checked whether or not there is a key-off event (step S25). If it is determined that there is no key-off event, the process returns from this keyboard event processing routine without performing any processing.

【0085】一方、キーオフイベントが有ることが判断
されると離鍵処理が行われる(ステップS26)。この
離鍵処理は、キーボード14の離鍵されたキーに対応す
る発音を中止する処理である。この離鍵処理が終了する
と本鍵盤イベント処理ルーチンからリターンし、メイン
ルーチンに戻る。
On the other hand, if it is determined that there is a key-off event, key release processing is performed (step S26). This key release process is a process of stopping the sound generation corresponding to the released key on the keyboard 14. When this key release processing is completed, this keyboard event processing routine returns and returns to the main routine.

【0086】以上説明したように、この実施例によれ
ば、楽音発生部15で生成されたオーディオ信号SAの
レベルを検出して検出レベル信号SLとし、この検出レ
ベル信号SLを、予め用意された特性に従って変換する
ことにより第1、第2の制御信号SC1、SC2を作成
し、この制御信号SC1、SC2に従って、上記オーデ
ィオ信号SAを別個に加工して発音に供するようにした
ので、同一帯域の信号であっても発音される音に豊かさ
が加わり、変化に富んだ演奏ができるものとなってい
る。
As described above, according to this embodiment, the level of the audio signal SA generated by the musical tone generating section 15 is detected to be the detection level signal SL, and this detection level signal SL is prepared in advance. Since the first and second control signals SC1 and SC2 are created by conversion according to the characteristics, and the audio signal SA is processed separately according to the control signals SC1 and SC2 to be used for sound generation, Even with signals, the sound that is produced is richer and more versatile.

【0087】また、上記のようにして加工されたオーデ
ィオ信号に基づき楽音を放音する際に、スピーカ21
a、21bを所定の位置関係で配置することにより、発
音される音に深みと広がり感を与えることができ、変化
に富んだ演奏が可能な楽音発生装置を実現できる。
Further, when the musical sound is emitted based on the audio signal processed as described above, the speaker 21
By arranging a and 21b in a predetermined positional relationship, it is possible to give a sense of depth and breadth to the sound to be sounded, and it is possible to realize a musical sound generating device capable of performing a variety of performances.

【0088】なお、上記実施例では、図1に示すよう
に、楽音発生部15が出力するデジタル楽音信号SDを
D/A変換器16でアナログ楽音信号SAに変換した後
の信号に対してレベル検出や乗算を行う構成としたが、
例えば図7に示すように、デジタル楽音信号SDに対し
てレベル検出や乗算を行い、アッテネータ19a、19
bで加工された後にアナログ楽音信号に変換するように
構成しても良い。
In the above embodiment, as shown in FIG. 1, the digital tone signal SD output by the tone generator 15 is converted into the analog tone signal SA by the D / A converter 16 and the level of the signal is changed. Although it is configured to detect and multiply,
For example, as shown in FIG. 7, level detection and multiplication are performed on the digital musical sound signal SD, and the attenuators 19a and 19a
It may be configured to be converted into an analog tone signal after being processed in b.

【0089】図7に示した構成では、デジタル信号で各
信号処理が行われることを除けば、上述した実施例とほ
ぼ同様の動作を行うので説明は省略する。かかる構成に
よれば、デジタルで信号処理を行うことができるので、
より精密な楽音信号の加工が可能となる。
Since the configuration shown in FIG. 7 performs almost the same operation as that of the above-described embodiment except that each signal processing is performed by the digital signal, the description thereof will be omitted. According to this configuration, since the signal processing can be performed digitally,
It enables more precise processing of musical tone signals.

【0090】また、上記実施例では、任意の特定の周波
数帯域の楽音信号に加工を施して出力する場合について
説明したが、例えば図8に示すように、楽音発生部15
では、全周波数帯域のデジタル楽音信号を生成し、これ
に上記所定の加工を施して増幅器20a、20bに供給
する。
Further, in the above-mentioned embodiment, the case where the musical tone signal of an arbitrary specific frequency band is processed and outputted is described. For example, as shown in FIG.
Then, a digital tone signal of the entire frequency band is generated, subjected to the above-mentioned predetermined processing, and supplied to the amplifiers 20a and 20b.

【0091】そして、増幅器20aの出力信号を直接ス
ピーカ21aに供給するとともにコンデンサ22aを介
してスピーカ21cに供給する。同様に、増幅器20b
の出力信号を直接スピーカ21bに供給するとともにコ
ンデンサ22bを介してスピーカ21dに供給する。上
記コンデンサ22a、22bは帯域分離するために使用
されるものである。
Then, the output signal of the amplifier 20a is directly supplied to the speaker 21a and is also supplied to the speaker 21c via the capacitor 22a. Similarly, the amplifier 20b
Is directly supplied to the speaker 21b and is also supplied to the speaker 21d via the capacitor 22b. The capacitors 22a and 22b are used for band separation.

【0092】かかる構成により、楽音の周波数帯域毎に
上記実施例と同様の効果が付加されることになる。従っ
て、例えばウーハーやツイーター等を用いて各周波数帯
域毎に発音することによる楽音の質の向上とともに、全
周波数帯域の楽音信号について上記実施例と同様の効果
を発揮させることができる。
With this configuration, the same effect as that of the above-described embodiment is added for each frequency band of the musical sound. Therefore, it is possible to improve the quality of the musical sound by pronouncing each frequency band using, for example, a woofer or a tweeter, and to exhibit the same effect as that of the above-described embodiment with respect to the musical sound signal of all frequency bands.

【0093】[0093]

【発明の効果】以上詳述したように、この発明によれ
ば、楽音発生装置で発生された楽音信号に所定の処理を
施すことにより豊かで深みや広がりのある楽音を発生で
き、変化に富んだ演奏を可能にする楽音制御装置及び楽
音発生装置を提供できる。
As described above in detail, according to the present invention, by performing a predetermined process on the musical tone signal generated by the musical tone generating device, it is possible to generate a musical tone rich in depth and breadth and rich in variation. It is possible to provide a musical sound control device and a musical sound generation device that enable unhindered performance.

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

【図1】本発明の楽音制御装置が適用された電子楽器の
概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument to which a musical sound control device of the present invention is applied.

【図2】本発明の楽音制御装置のレベル検出器の動作を
説明するための図である。
FIG. 2 is a diagram for explaining the operation of the level detector of the musical sound control device of the present invention.

【図3】本発明の楽音制御装置のアッテネータ制御回路
の動作を説明するための図である。
FIG. 3 is a diagram for explaining the operation of an attenuator control circuit of the musical sound control device of the present invention.

【図4】本発明の楽音制御装置による波形加工の一例を
示す図である。
FIG. 4 is a diagram showing an example of waveform processing by the musical sound control device of the present invention.

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

【図6】本発明の動作を示すフローチャート(鍵盤イベ
ント処理ルーチン)である。
FIG. 6 is a flowchart (keyboard event processing routine) showing the operation of the present invention.

【図7】本発明の楽音制御装置の他の実施例の構成を示
すブロック図である。
FIG. 7 is a block diagram showing the configuration of another embodiment of the musical sound control device of the present invention.

【図8】本発明の楽音制御装置の更に他の実施例の構成
を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of still another embodiment of the musical sound control device of the present invention.

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

10 CPU 11 ROM 12 RAM 13 操作パネル 14 キーボード 15 楽音発生部 16 D/A変換器 17 レベル検出器 18 アッテネータ制御回路 19a、19b アッテネータ 20a、20b、21c、21d 増幅器 21a、21b スピーカ 22a、22b コンデンサ 10 CPU 11 ROM 12 RAM 13 Operation Panel 14 Keyboard 15 Musical Sound Generator 16 D / A Converter 17 Level Detector 18 Attenuator Control Circuit 19a, 19b Attenuator 20a, 20b, 21c, 21d Amplifier 21a, 21b Speaker 22a, 22b Capacitor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 楽音信号生成手段で生成された楽音信号
のレベルを検出して検出レベル信号を出力するレベル検
出手段と、 該レベル検出手段が出力する検出レベル信号を第1の特
性に従って変換して第1の制御信号を生成する第1の制
御信号生成手段と、 該第1の制御信号生成手段が出力する第1の制御信号に
応じて前記楽音信号生成手段が出力する楽音信号を加工
する第1の加工手段と、 前記レベル検出手段が出力する検出レベル信号を第2の
特性に従って変換して第2の制御信号を生成する第2の
制御信号生成手段と、 該第2の制御信号生成手段が出力する第2の制御信号に
応じて前記楽音信号発生手段が出力する楽音信号を加工
する第2の加工手段、 とを具備したことを特徴とする楽音制御装置。
1. A level detection means for detecting the level of a tone signal generated by the tone signal generation means and outputting a detection level signal, and a detection level signal output by the level detection means for conversion according to a first characteristic. First control signal generating means for generating a first control signal, and processing the tone signal output by the tone signal generating means in response to the first control signal output by the first control signal generating means. First processing means, second control signal generation means for converting a detection level signal output by the level detection means according to a second characteristic to generate a second control signal, and second control signal generation Second processing means for processing the tone signal output by the tone signal generating means in response to a second control signal output by the means.
【請求項2】 請求項1に記載の構成に加えて、 前記第1の加工手段により加工された楽音信号に基づい
て発音する第1の発音手段と、 前記第2の加工手段により加工された楽音信号に基づい
て発音する第2の発音手段、とを具備し、 前記第1の発音手段と第2の発音手段とは所定の位置関
係を有するべく配置されることを特徴とする楽音発生装
置。
2. In addition to the structure according to claim 1, a first sounding means for producing a sound based on the musical tone signal processed by the first processing means, and a second sounding means for processing the second sounding means. A second sound producing means for producing a sound based on a tone signal, wherein the first sound producing means and the second sound producing means are arranged so as to have a predetermined positional relationship. .
JP4337860A 1992-11-26 1992-11-26 Musical sound controller and musical sound generating device Withdrawn JPH06161437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4337860A JPH06161437A (en) 1992-11-26 1992-11-26 Musical sound controller and musical sound generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4337860A JPH06161437A (en) 1992-11-26 1992-11-26 Musical sound controller and musical sound generating device

Publications (1)

Publication Number Publication Date
JPH06161437A true JPH06161437A (en) 1994-06-07

Family

ID=18312670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4337860A Withdrawn JPH06161437A (en) 1992-11-26 1992-11-26 Musical sound controller and musical sound generating device

Country Status (1)

Country Link
JP (1) JPH06161437A (en)

Similar Documents

Publication Publication Date Title
JPH06195075A (en) Musical tone generating device
JPH0720866A (en) Electronic musical instrument
JP4578108B2 (en) Electronic musical instrument resonance sound generating apparatus, electronic musical instrument resonance generating method, computer program, and recording medium
JPH06161437A (en) Musical sound controller and musical sound generating device
JP2931762B2 (en) Electronic keyboard instrument
JP2010231248A (en) Electronic musical instrument
JP2001209376A (en) Resonant sound generation device for electronic instrument
JPH0627946A (en) Electronic keyboard musical instrument
JP2001272981A (en) Resonance sound generating device for electronic musical instrument
JP2888712B2 (en) Music generator
JP3105132B2 (en) Tone generator for electronic musical instruments
JP3048206B2 (en) Sound equipment for electronic musical instruments
JP3026479B2 (en) Music signal generator
JPH06289860A (en) Electronic musical instrument
JP3117742B2 (en) Muting device for electronic musical instruments
JPH0863154A (en) Electronic musical instrument having localized movement feeling reproducing function
JP3578891B2 (en) Electronic musical instrument
JPH06222759A (en) Positional effect-sound device of electronic musical instrument
JPH05134660A (en) Musical tone signal output device
JPH06161432A (en) Musical sound generating device
JPH0498294A (en) Electronic musical instrument
JPH06149246A (en) Musical sound generating device
JPH08152886A (en) Musical sound signal generating device
JPH11190994A (en) Electronic musical instrument
JPH0635452A (en) Electronic keyboard musical instrument

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000201