JPH0519758A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0519758A
JPH0519758A JP3171242A JP17124291A JPH0519758A JP H0519758 A JPH0519758 A JP H0519758A JP 3171242 A JP3171242 A JP 3171242A JP 17124291 A JP17124291 A JP 17124291A JP H0519758 A JPH0519758 A JP H0519758A
Authority
JP
Japan
Prior art keywords
rule
fuzzy
data
fuzzy inference
player
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.)
Granted
Application number
JP3171242A
Other languages
Japanese (ja)
Other versions
JP3206022B2 (en
Inventor
Satoshi Usa
聡史 宇佐
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP17124291A priority Critical patent/JP3206022B2/en
Priority to US07/912,110 priority patent/US5274191A/en
Publication of JPH0519758A publication Critical patent/JPH0519758A/en
Application granted granted Critical
Publication of JP3206022B2 publication Critical patent/JP3206022B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable a player to set a control function matching a player's taste or style by selecting a fuzzy rule for generating musical tone control parameters by fuzzy inference by the player. CONSTITUTION:A table ROM 13 connected to a CPU 10 is stored with a membership function which uses the condition part arithmetic of fuzzy inference, etc., and a fuzzy inference device 15 is equipped with plural function generators and performs fuzzy inference arithmetic according to an inputted variable. In this case, when the fuzzy rule which is made to function in performance is selected with a rule selection switch 18, the fuzzy inference device 15 uses the selected fuzzy rule to infer a musical tone control parameter according to inputted performance information. Consequently, the player can select the fuzzy rule matching the player's taste or performance style.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、形成する楽音信号を
ファジィ推論に基づいて制御する電子楽器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument for controlling a musical tone signal to be formed on the basis of fuzzy inference.

【0002】[0002]

【従来の技術】本出願人は、既に、ファジィ推論によっ
て電子楽器の楽音制御パラメータを制御したり、演奏の
手法を検出して楽音を制御する方式を提案している(特
開平2−146094号,特開平2−146596号な
ど)。楽音制御パラメータをファジィ推論で生成した
り、演奏手法をファジィ推論によって判断したりするこ
とにより、簡略な構成で様々な演奏情報を複合的に考慮
して微妙な楽音制御を行うことが可能になった。
2. Description of the Related Art The present applicant has already proposed a method of controlling musical tone control parameters of an electronic musical instrument by fuzzy reasoning, or detecting a musical technique to control musical tones (Japanese Patent Laid-Open No. 2-146094). , JP-A-2-146596). By generating musical tone control parameters by fuzzy inference and determining performance methods by fuzzy inference, it is possible to perform delicate musical tone control with a simple configuration that considers various performance information in a complex manner. It was

【0003】[0003]

【発明が解決しようとする課題】しかし、上記発明にお
いては、あらかじめ複数のファジィルール,メンバシッ
プ関数が設定されており、後にこれらを選択,変更する
ことができなかった。このため、演奏者が自分の好みや
演奏スタイルに合わせて電子楽器の特性を調整すること
ができない欠点があった。
However, in the above invention, a plurality of fuzzy rules and membership functions are set in advance, and these cannot be selected or changed later. For this reason, there is a drawback that the player cannot adjust the characteristics of the electronic musical instrument according to his or her own taste and playing style.

【0004】この発明は、楽音制御のために設定されて
いる複数のファジィルールを、演奏者が自由に選択する
ことができるようにした電子楽器を提供することを目的
とする。
It is an object of the present invention to provide an electronic musical instrument which allows a player to freely select a plurality of fuzzy rules set for tone control.

【0005】[0005]

【課題を解決するための手段】この発明は、演奏情報が
入力される演奏情報入力手段と、複数のファジィルール
を記憶したルール記憶手段と、前記ルール記憶手段に記
憶されている複数のファジィルールのうち機能させるべ
きルールを選択するルール選択手段と、前記ルール選択
手段によって選択されたファジィルールを用い前記演奏
情報入力手段から入力された演奏情報に基づいて楽音制
御パラメータを推論するファジィ推論手段と、を備えた
ことを特徴とする。
According to the present invention, performance information input means for inputting performance information, rule storage means for storing a plurality of fuzzy rules, and a plurality of fuzzy rules stored in the rule storage means are provided. And a fuzzy inference means for deducing a tone control parameter based on the performance information input from the performance information input means by using a fuzzy rule selected by the rule selection means. , Is provided.

【0006】[0006]

【作用】この発明の電子楽器では、ファジィ推論手段で
用いるファジィルールを、ルール記憶手段に記憶されて
いるファジィルールのなかから選択可能にした(ルール
選択手段)。ファジィ推論手段は、選択されたファジィ
ルールを用いて楽音制御パラメータを推論する。これに
より、演奏者が自分の好みや演奏スタイルに合うファジ
ィルールを自由に選択することが可能になる。
In the electronic musical instrument of the present invention, the fuzzy rules used in the fuzzy inference means can be selected from the fuzzy rules stored in the rule storage means (rule selecting means). The fuzzy inference means infers a musical tone control parameter using the selected fuzzy rule. This allows the player to freely select a fuzzy rule that suits his or her taste and playing style.

【0007】[0007]

【実施例】図1はこの発明の実施例である電子楽器のブ
ロック図である。この電子楽器は、CPU10によって
制御されるデジタル式の電子楽器である。CPU10に
はアドレス・データバス11を介して、プログラムRO
M12,テーブルROM13,RAM14,ファジィ推
論装置15,鍵盤16,メンバシップ関数エディット装
置17,ルール選択スイッチ18,表示装置19および
音源20が接続されている。プログラムROM12は後
述のフローチャートで示されるプログラムを記憶してい
る。テーブルROM13はファジィ推論の条件部演算に
用いるメンバシップ関数や図4に示す振幅のゆらぎ波形
やピッチのゆらぎ波形のデータを記憶している。RAM
14は演奏中などに発生したデータを一時記憶するレジ
スタが設定される。ファジィ推論装置15は図2に示す
ように、複数の関数発生器を備え、入力された変数に基
づいてファジィ推論演算を行うものである。鍵盤16は
5オクターブのキー(61キー)を備えたものであり、
各キーのオン/オフデータおよびベロシティデータ,ア
フタータッチデータを出力することができる。メンバシ
ップ関数エディット装置17は図5に示すタブレット形
式の入力装置であり、これを操作することによってメン
バシップ関数の形状を自由に設定することができる。ル
ール選択スイッチ18は演奏時に機能させるファジィル
ールや前記メンバシップ関数エディット装置17でエデ
ィットするルールを選択するためのスイッチであり、ル
ールを選択するための+キー,−キー,ルールのオン/
オフを指定するためのオン/オフキー,メンバシップ関
数を選択するためのカーソルキーを含んでいる。表示装
置19はLCDのマトリクス表示器であり、演奏時の設
定データを表示するとともにエディットするメンバシッ
プ関数を表示する(図15参照)。音源20は図3にそ
の構成を示すように、トーンジェネレータ40を有し、
このトーンジェネレータ40に対して種々のパラメータ
を与えることによって楽音信号を形成するものである。
トーンジェネレータ40の形式はFM音源などどのよう
な方式のものであってもよい。
1 is a block diagram of an electronic musical instrument which is an embodiment of the present invention. This electronic musical instrument is a digital electronic musical instrument controlled by the CPU 10. The program RO is sent to the CPU 10 via the address / data bus 11.
An M12, a table ROM 13, a RAM 14, a fuzzy inference device 15, a keyboard 16, a membership function editing device 17, a rule selection switch 18, a display device 19 and a sound source 20 are connected. The program ROM 12 stores a program shown in a flowchart described later. The table ROM 13 stores the membership function used for the calculation of the conditional part of the fuzzy inference and the data of the amplitude fluctuation waveform and the pitch fluctuation waveform shown in FIG. RAM
A register 14 is set to temporarily store data generated during performance. As shown in FIG. 2, the fuzzy inference device 15 includes a plurality of function generators and performs fuzzy inference operation based on the input variables. The keyboard 16 has five octave keys (61 keys),
ON / OFF data of each key, velocity data, and aftertouch data can be output. The membership function editing device 17 is a tablet type input device shown in FIG. 5, and the shape of the membership function can be freely set by operating this. The rule selection switch 18 is a switch for selecting a fuzzy rule to be operated at the time of performance or a rule to be edited by the membership function editing device 17, and + key, -key for selecting a rule, ON / OFF of the rule.
It contains an on / off key to specify off and a cursor key to select membership functions. The display device 19 is an LCD matrix display, and displays membership data to be edited as well as setting data during performance (see FIG. 15). The sound source 20 has a tone generator 40 as shown in FIG.
A tone signal is formed by giving various parameters to the tone generator 40.
The tone generator 40 may be of any type such as an FM sound source.

【0008】図2は前記ファジィ推論装置15の詳細な
ブロック図である。ファジィ推論装置15には11個の
ルール演算器30(30−1〜30−11),1個のm
ax演算器32,重心演算器33が設けられている。こ
のファジィ推論装置15は、振幅ゆらぎ制御量AFL,
ピッチゆらぎ制御量PFL,ノイズ制御量(ノイズレベ
ルNL,ノイズナンバNN)の3種類の独立したファジ
ィ推論演算を時分割で実行するようになっている。11
個のルール演算器30はそれぞれ異なるファジィルール
を演算する。各ルール演算器30には上記3種類のファ
ジィ推論を行うための出力メンバシップ関数を記憶する
内部RAM(FnA,FnP,FnN(n=1〜11))
が設定されている。このメンバシップ関数がエディット
動作によって書き換えられたときには、関数書込装置3
4によってその新たなメンバシップ関数が書き込まれ
る。また、各ルール演算器30にはそのメンバシップ関
数に対応する条件部測度が入力される。条件部測度は、
CPU10によって算出され(図6,図7参照)、レジ
スタ29(29−1〜29−11)にセットされる。
FIG. 2 is a detailed block diagram of the fuzzy inference device 15. The fuzzy inference device 15 has 11 rule calculators 30 (30-1 to 30-11) and 1 m.
An ax calculator 32 and a center of gravity calculator 33 are provided. This fuzzy reasoning device 15 uses the amplitude fluctuation control amount AFL,
Three types of independent fuzzy inference operations, that is, a pitch fluctuation control amount PFL and a noise control amount (noise level NL, noise number NN) are executed in time division. 11
The individual rule calculators 30 calculate different fuzzy rules. Each rule calculator 30 has an internal RAM (FnA, FnP, FnN (n = 1 to 11)) that stores output membership functions for performing the above three types of fuzzy inference.
Is set. When this membership function is rewritten by the edit operation, the function writing device 3
4 writes the new membership function. Further, the condition part measure corresponding to the membership function is input to each rule calculator 30. The condition section measure is
It is calculated by the CPU 10 (see FIGS. 6 and 7) and set in the register 29 (29-1 to 29-11).

【0009】ルール演算器30による演算結果はゲート
31(31−1〜31)を介してmax演算器32に入
力される。max演算器32は入力された複数の出力関
数を重合わせた演算(マックス演算)を行う演算器であ
る。演算されたmax関数は重心演算器33に入力され
る。重心演算器33は入力された関数の重心を求めてフ
ァジィ推論値として出力する。出力された推論値は出力
用レジスタ38に一旦記憶され、バスを介してCPU1
0に取り込まれる。ルール演算器30,max演算器3
2および重心演算器33の動作はタイミング信号発生器
36が発生するタイミング信号によって同期されてい
る。ここで、ルール演算器30とmax演算器32との
間に挿入された11個のゲート31は、それぞれルール
演算器30−1〜30−11とmax演算器32との接
続を開閉する。各ゲート31−1〜31−11の開閉は
レジスタ35に入力される11ビットのデータの各ビッ
トによって制御される。レジスタ35に入力されるデー
タはルール選択スイッチ18によって設定されるもので
ある。すなわち、ルール選択スイッチ18によりルール
演算器(ファジィルール)30−1〜30−11のうち
どれを用いてファジィ推論を行うかを選択することがで
きる。
The calculation result of the rule calculator 30 is input to the max calculator 32 via the gate 31 (31-1 to 31). The max operator 32 is an operator that performs an operation (max operation) in which a plurality of input output functions are combined. The calculated max function is input to the centroid calculator 33. The centroid calculator 33 finds the centroid of the input function and outputs it as a fuzzy inference value. The inferred value that has been output is temporarily stored in the output register 38, and is sent to the CPU 1 via the bus.
It is taken into 0. Rule calculator 30, max calculator 3
The operations of 2 and the center of gravity calculator 33 are synchronized by a timing signal generated by a timing signal generator 36. Here, the 11 gates 31 inserted between the rule calculator 30 and the max calculator 32 open and close the connections between the rule calculators 30-1 to 30-11 and the max calculator 32, respectively. Opening / closing of each of the gates 31-1 to 31-11 is controlled by each bit of 11-bit data input to the register 35. The data input to the register 35 is set by the rule selection switch 18. That is, the rule selection switch 18 can be used to select which of the rule calculators (fuzzy rules) 30-1 to 30-11 is used to perform fuzzy inference.

【0010】以上の構成のファジィ推論装置15は以下
の動作を実行する。まずルール演算器30−1〜30−
11がタイミング信号に同期して一斉に各々の内部に設
定されたメンバシップ関数と条件部測度レジスタ29−
1〜29−11の出力とのmin演算をとった結果の関
数を横軸方向に1つづつ順次出力する。出力された関数
値はゲート31−1〜31−11に入力されるが、ゲー
トが開いているもののみmax演算器32に入力され
る。max演算器32は、各タイミング毎にゲート31
によって選択入力されたファジィルールの関数出力の最
大値を選択して重心演算器33に出力する。重心演算器
33は、タイミング信号に同期してmax演算器32の
出力を累算するとともに、各タイミングにおける累算結
果をメモリ37に書き込む。累算が終了したとき、最終
累算値の1/2を計算し(実際の演算では1ビットシフ
トダウンする。)、その値に等しい累算値が記憶されて
いるエリアをメモリ37からサーチする。その累算値を
得たタイミングに対応する横軸値が重心である。この重
心値を出力レジスタ38に書き込む。
The fuzzy inference apparatus 15 having the above-mentioned configuration executes the following operations. First, the rule calculators 30-1 to 30-
11 is a membership function and condition section measure register 29 which are simultaneously set in the respective units in synchronization with the timing signal.
The functions resulting from the min operation with the outputs 1 to 29-11 are sequentially output one by one in the horizontal axis direction. The output function value is input to the gates 31-1 to 31-11, but only the open gates are input to the max calculator 32. The max calculator 32 operates the gate 31 at each timing.
The maximum value of the function output of the fuzzy rule selected and input by is selected and output to the centroid calculator 33. The center-of-gravity calculator 33 accumulates the output of the max calculator 32 in synchronization with the timing signal, and writes the accumulation result at each timing in the memory 37. When the accumulation is completed, ½ of the final accumulated value is calculated (1 bit is shifted down in the actual calculation), and the area where the accumulated value equal to that value is stored is searched from the memory 37. .. The horizontal axis value corresponding to the timing when the accumulated value is obtained is the center of gravity. This barycentric value is written in the output register 38.

【0011】図3は前記音源20のブロック図である。
音源20はトーンジェネレータ40を有している。トー
ンジェネレータ40はFM音源用LSIで構成されてお
り、形成された楽音信号は加算器55においてノイズ波
形発生器52が発生したノイズ波形信号と加算され、D
/Aコンバータ56でアナログ信号に変換されたのちサ
ウンドシステムに出力される。トーンジェネレータ40
にはセントデータ,デシベルデータ,波形ナンバおよび
ノートオン信号が入力される。また、ノイズ波形発生器
52にはノイズナンバ,ノイズレベルおよびノートオン
信号が入力される。セントデータはキーコードレジスタ
41,ピッチ発生器49,ピッチ変化分レジスタ47お
よび加算器53によって形成される。キーコードレジス
タ41には、キーオンされた鍵のキーコードがCPU1
0から入力される。ピッチ発生器49はキーコードレジ
スタ41に入力されたキーコードをその周波数に対応す
る数値データに変換する。ピッチ変化分レジスタ47に
は前記ファジィ推論装置15が生成したピッチゆらぎデ
ータが入力される。このデータはピッチ発生器49が発
生するデータと同様の周波数に関する数値データであ
る。これらのデータが加算器53において加算されてト
ーンジェネレータ40に入力されるセントデータとな
る。また、デシベルデータはイニシャルタッチレジスタ
40にアフタタッチレジスタ43,振幅発生器50,振
幅変化分レジスタ48および加算器54によって生成さ
れる。振幅発生器50はイニシャルタッチレジスタ42
およびアフタタッチレジスタ43から入力されるイニシ
ャルタッチデータ,アフタタッチデータに基づいて振幅
値を生成する。生成された振幅値は加算器54において
振幅変化分データと加算されデシベルデータとなる。さ
らに、波形ナンバは前記イニシャルタッチレジスタ4
2,アフタタッチレジスタ43および波形選択信号発生
器51によって生成される。波形ナンバはトーンジェネ
レータ40が用いるべき波形を示すナンバである。ノイ
ズ波形発生器52に入力されるノイズナンバおよびノイ
ズレベルデータは、CPU10からノイズナンバレジス
タ45およびノイズレベルレジスタ46に入力される。
FIG. 3 is a block diagram of the sound source 20.
The sound source 20 has a tone generator 40. The tone generator 40 is composed of an FM sound source LSI, and the formed musical tone signal is added to the noise waveform signal generated by the noise waveform generator 52 in the adder 55, and D
The signal is converted into an analog signal by the / A converter 56 and then output to the sound system. Tone generator 40
The cent data, decibel data, waveform number and note-on signal are input to. Further, the noise number, noise level and note-on signal are input to the noise waveform generator 52. The cent data is formed by the key code register 41, the pitch generator 49, the pitch change register 47 and the adder 53. In the key code register 41, the key code of the key that has been keyed on is the CPU 1
Input from 0. The pitch generator 49 converts the key code input to the key code register 41 into numerical data corresponding to the frequency. The pitch fluctuation data generated by the fuzzy inference device 15 is input to the pitch change register 47. This data is numerical data regarding frequency similar to the data generated by the pitch generator 49. These pieces of data are added in the adder 53 to be cent data input to the tone generator 40. The decibel data is generated in the initial touch register 40 by the after touch register 43, the amplitude generator 50, the amplitude change register 48, and the adder 54. The amplitude generator 50 uses the initial touch register 42.
Also, an amplitude value is generated based on the initial touch data and the after touch data input from the after touch register 43. The generated amplitude value is added to the amplitude change data in the adder 54 to become decibel data. Furthermore, the waveform number is the initial touch register 4
2, generated by the after-touch register 43 and the waveform selection signal generator 51. The waveform number is a number indicating the waveform that the tone generator 40 should use. The noise number and noise level data input to the noise waveform generator 52 is input to the noise number register 45 and the noise level register 46 from the CPU 10.

【0012】図4は前記テーブルメモリ13に記憶され
ている振幅ゆらぎ波形AFW(CNT)およびピッチゆ
らぎ波形PFW(CNT)を示す図である。この変化波
形は実際の金管楽器の楽音の立ち上がりをサンプリング
したものであり、各サンプリングタイミング毎のデータ
がテーブルメモリ13に記憶されている。楽音信号の形
成を開始したとき、CPU10がこのデータを順次読み
出して前記ピッチ変化部レジスタ47,振幅変化分レジ
スタ48にセットする。
FIG. 4 is a diagram showing the amplitude fluctuation waveform AFW (CNT) and the pitch fluctuation waveform PFW (CNT) stored in the table memory 13. This change waveform is obtained by sampling the rising of a musical tone of an actual brass instrument, and the data for each sampling timing is stored in the table memory 13. When the formation of a musical tone signal is started, the CPU 10 sequentially reads this data and sets it in the pitch change section register 47 and the amplitude change register 48.

【0013】図5は前記メンバシップ関数エディット装
置として用いられるタブレット入力装置を示す図であ
る。タブレット入力装置はタブレット本体50およびペ
ン51からなっている。エディットモード時に、ペン5
1を用いてタブレット本体50上にメンバシップ関数の
形状を描くことによってその形状が指定されたメンバシ
ップ関数の関数形状としてセットされる。
FIG. 5 is a view showing a tablet input device used as the membership function editing device. The tablet input device includes a tablet body 50 and a pen 51. Pen 5 in edit mode
By drawing the shape of the membership function on the tablet body 50 using 1, the shape is set as the function shape of the designated membership function.

【0014】図6は振幅ゆらぎ制御量AFLを推論する
ためのファジィ推論のルールを示している。また、図7
はノイズ制御量NL,NNを推論するためのファジィ推
論のルールを示している。各ルールは、イニシャルタッ
チデータVEL,直前のキーオフからキーオンまでの時
間ΔT,発音開始からの時間CNT,アフタタッチデー
タAFT,キーコードKCD,音程(前音からの音高
差)ΔKCD等に基づく推論ルールである。
FIG. 6 shows a fuzzy inference rule for inferring the amplitude fluctuation control amount AFL. In addition, FIG.
Indicates a fuzzy inference rule for inferring the noise control amounts NL and NN. Each rule is inferred based on the initial touch data VEL, the time ΔT from the immediately preceding key-off to the key-on, the time CNT from the start of sound generation, the after-touch data AFT, the key code KCD, the pitch (pitch difference from the previous sound) ΔKCD, etc. It's a rule.

【0015】図6の振幅ゆらぎ制御量AFLを推論する
ための第1ルール〜第10ルールは、2ルールづつ組に
なっており、それぞれ、イニシャルタッチデータVEL
の大きさ/小ささと発音開始からの時間の短さ/長さ、
アフタタッチの大きさ/小ささ、キーコードの大きさ/
小ささ、音程の大きさ/小ささ、インターバルタイムの
長さ/短さに基づく推論を行う。また、第11ルールは
レガート度(他の推論によって割り出される)に基づく
推論を行う。前記ファジィ推論装置15のレジスタ29
−1〜29−11にセットされる条件部測度は、CPU
10によって前件部演算されたファジィ測度(所属度)
である。また、ピッチゆらぎ制御量PFLのファジィ推
論は振幅ゆらぎと同じルールが用いて行われる。
The first rule to the tenth rule for inferring the amplitude fluctuation control amount AFL shown in FIG. 6 are in groups of two rules, each of which is the initial touch data VEL.
Size / smallness and shortness / length of time from the start of pronunciation,
Aftertouch size / Small size, Key code size /
Make inferences based on smallness, pitch size / smallness, and interval time length / shortness. In addition, the eleventh rule makes an inference based on the legato degree (determined by another inference). Register 29 of the fuzzy inference device 15
Condition part measures set to -1 to 29-11 are CPU
Fuzzy measure (affiliation degree) calculated by the antecedent part by 10.
Is. Fuzzy inference of the pitch fluctuation control amount PFL is performed using the same rule as the amplitude fluctuation.

【0016】さらに、図7のノイズ制御量を推論するた
めのルールも同様に、イニシャルタッチデータVELの
大きさ/小ささ、キーコードの大きさ/小ささ、アフタ
タッチの大きさ/小ささ、に基づいて推論を行うが、第
1ルール〜第6ルールおよび第11ルールによってノイ
ズレベルNLを割り出す推論を行い、第5ルール〜第1
1ルールによってノイズ安定度(ノイズナンバNN)を
割り出す推論を行う。
Further, similarly to the rule for inferring the noise control amount in FIG. 7, the size / smallness of the initial touch data VEL, the size / smallness of the key code, the size / smallness of the aftertouch, The inference is performed based on the first rule to the sixth rule and the eleventh rule, and the inference is performed to determine the noise level NL.
Inference is performed to determine the noise stability (noise number NN) according to one rule.

【0017】ここで、アフタタッチAFTの大小に基づ
くルール(第5ルール,第6ルール)およびレガート度
SLに基づくルール(第11ルール)は両方の推論に共
通して用いられる。このため、ノイズ制御のための推論
はファジィ推論装置15において2サイクル実行され
る。
Here, the rule based on the magnitude of the after-touch AFT (fifth rule, sixth rule) and the rule based on the legato degree SL (11th rule) are commonly used for both inferences. Therefore, inference for noise control is executed in the fuzzy inference device 15 for two cycles.

【0018】図8に、条件部測度を求めるためのメンバ
シップ関数の一部(振幅ゆらぎ制御の第1,第2,第1
1ルール)を図8に例示しておく。
FIG. 8 shows a part of the membership function (first, second, first of the amplitude fluctuation control) for obtaining the condition part measure.
One rule) is illustrated in FIG.

【0019】図9〜図14は同電子楽器の動作を示すフ
ローチャートである。図9はメインルーチンを示す。ま
ず、スタート直後に初期設定動作(n1)を実行する。
初期設定動作はレジスタのリセットやプリセット音色デ
ータの送出などである。こののち鍵処理動作(n2)、
パネルスイッチ処理動作(n3)およびその他処理動作
(n4)を繰り返し実行する。
9 to 14 are flowcharts showing the operation of the electronic musical instrument. FIG. 9 shows the main routine. First, immediately after the start, the initial setting operation (n1) is executed.
The initial setting operation includes resetting the register and transmitting preset tone color data. After this, the key processing operation (n2),
The panel switch processing operation (n3) and the other processing operation (n4) are repeatedly executed.

【0020】図10はキーオンイベントルーチンを示す
フローチャートである。まずキーオンされたキーに関す
るデータをレジスタに取り込む(n10)。取り込むデ
ータはキーコードKCD,ベロシティ(イニシャルタッ
チ)データVEL,アフタタッチデータAFTおよび直
前のキーオフからの時間ΔTである。次に時間カウンタ
CNTをリセットし(n11)、発音処理を行う間の割
り込みを禁止する(n12)。次にファジィ推論によっ
て演奏のレガート度を推論し、レガート度レジスタSL
にセットする(n13)。このレガート度の判定は本出
願人が既に出願した特開平2−146596号に開示し
た方式で行えばよい。次に直前の楽音と今回のキーオン
された楽音との音高の差すなわち音程を計算してΔKC
Dにセットする(n14)。キーコードKCD,ベロシ
ティデータVEL,アフタタッチデータAFTを音源の
レジスタ41,42,43にセットする(n15)。次
にデータに基づいて条件部測度を算出してファジィ推論
装置15に送り、振幅ゆらぎ制御量AFL,ピッチゆら
ぎ制御量PFLおよびノイズ制御量NL,NNの各パラ
メータを推論する(n16,n17,n18)。これら
の推論結果のデータを取り出して(n19)、振幅ゆら
ぎ制御量AFLと図4(A)の振幅ゆらぎ波形データA
FW(CNT)とを乗算して振幅変化分データAFRを
算出し、ピッチゆらぎ制御量PFLと図4(B)のピッ
チゆらぎ波形データPFW(CNT)とを乗算してピッ
チ変化分データPFRを算出する。これらのデータとN
L,NNとを音源20に送出する(n20)。これらの
データを音源20にセットしたのちノートオン信号を送
る(n21)。すなわち、ノートオンレジスタ(ON
R)44に1をセットする。以上の動作が終了したのち
割込禁止を解除し(n22)、今回のキーオンのキーコ
ードをKOLDにセットして(n23)動作を終える。
FIG. 10 is a flowchart showing the key-on event routine. First, the data on the key that has been turned on is loaded into the register (n10). The data to be taken in is the key code KCD, the velocity (initial touch) data VEL, the after touch data AFT, and the time ΔT from the last key-off. Next, the time counter CNT is reset (n11), and interruption during the sound generation processing is prohibited (n12). Next, the legato degree of the performance is inferred by fuzzy inference, and the legato degree register SL
(N13). The determination of the legato degree may be performed by the method disclosed in Japanese Patent Application Laid-Open No. 2-146596 filed by the present applicant. Next, the pitch difference between the immediately preceding musical sound and the keyed-on musical sound this time, that is, the pitch is calculated, and ΔKC is calculated.
Set to D (n14). The key code KCD, velocity data VEL, and after-touch data AFT are set in the tone generator registers 41, 42, and 43 (n15). Next, the condition part measure is calculated based on the data and sent to the fuzzy inference device 15 to infer the parameters of the amplitude fluctuation control amount AFL, the pitch fluctuation control amount PFL, and the noise control amounts NL, NN (n16, n17, n18). ). Data of these inference results is taken out (n19), and the amplitude fluctuation control amount AFL and the amplitude fluctuation waveform data A in FIG.
FW (CNT) is multiplied to calculate the amplitude change data AFR, and the pitch fluctuation control amount PFL is multiplied by the pitch fluctuation waveform data PFW (CNT) of FIG. 4B to calculate pitch change data PFR. To do. These data and N
L and NN are sent to the sound source 20 (n20). After these data are set in the sound source 20, a note-on signal is sent (n21). That is, the note-on register (ON
R) 44 is set to 1. After the above operation is completed, the interruption prohibition is released (n22), the key code of the current key-on is set in KOLD (n23), and the operation is completed.

【0021】図11は割込処理動作を示すフローチャー
トである。まず割り込みがあったかどうかをn30で判
断する。割り込み(一定時間毎に実行されるタイマ割り
込み)の有無は、割り込み動作によってセットされるフ
ラグのセット/リセットによって判断される。割り込み
がない場合にはこの動作を行わずにそのままリターンす
る。割り込みがあった場合にはCNTの値を1カウント
アップし(n31)、カウントエンドであるか否かを判
断する(n32)。カウントエンドであれば割込みを禁
止して動作を終える(n33)。すなわち、割り込み動
作によってゆらぎ制御を行う時間が過ぎた場合などには
割り込みを禁止する。カウントエンドでなければ、オン
されているキーのアフタタッチデータを取り込みAFT
レジスタにセットする(n34)、このデータをアフタ
タッチレジスタ(AR)43にコピーし(n35)、C
NTとAFTを用いて算出される条件部測度(図6,図
7参照)を算出してファジィ推論装置15に送出する
(n36)。ファジィ推論装置より推論出力を取り込み
(n37)、キーオン中の場合にはn20と同様の演算
でAFW,PFWを算出して音源20に送出し(n3
9)、キーオフ中の場合にはリリース時の振幅変動波形
AFRW(CNT),リリース時のピッチ変動波形PF
RW(CNT)を用いてAFR,PFRを算出して音源
20に送出する(n40)。
FIG. 11 is a flowchart showing the interrupt processing operation. First, it is determined in n30 whether or not there is an interrupt. The presence / absence of an interrupt (a timer interrupt executed at regular time intervals) is determined by setting / resetting a flag set by an interrupt operation. If there is no interrupt, this operation is not performed and the process directly returns. When there is an interrupt, the value of CNT is incremented by 1 (n31), and it is determined whether or not it is the count end (n32). If it is the count end, the interrupt is prohibited and the operation ends (n33). That is, the interrupt is prohibited when the time for performing the fluctuation control by the interrupt operation has passed. If it is not the count end, capture the after touch data of the key that is turned on and AFT
The data is set in the register (n34), this data is copied to the after-touch register (AR) 43 (n35), and C
A condition part measure (see FIGS. 6 and 7) calculated using NT and AFT is calculated and sent to the fuzzy inference apparatus 15 (n36). The inference output is fetched from the fuzzy inference device (n37), and when the key is on, AFW and PFW are calculated by the same calculation as n20 and sent to the sound source 20 (n3).
9), the amplitude fluctuation waveform AFRW (CNT) at the time of release when the key is off, and the pitch fluctuation waveform PF at the time of release
AFR and PFR are calculated using RW (CNT) and sent to the sound source 20 (n40).

【0022】図12はキーオフイベントルーチンを示す
フローチャートである。オフされたキーのキーコードを
キーコードレジスタKCDに取り込み(n45)、この
キーコードの楽音を発音中であるか否かを判断する(n
46)。発音中であれば、そのときの振幅変動量AFW
(CNT)と同じ値をリリース(減衰)時振幅変動量A
FRWからサーチし、同じ値の位置を新たにCNTにセ
ットする(n47)。
FIG. 12 is a flowchart showing the key-off event routine. The key code of the turned off key is fetched into the key code register KCD (n45), and it is judged whether or not the tone of this key code is being generated (n).
46). If the sound is being generated, the amplitude fluctuation amount AFW at that time
The same value as (CNT) is released (attenuation) amplitude fluctuation amount A
The FRW is searched, and the position of the same value is newly set in CNT (n47).

【0023】こののちノートオン信号ONRをリセット
して(n48)リターンする。
After that, the note-on signal ONR is reset (n48) and the process returns.

【0024】図13はスイッチイベント処理動作を示す
フローチャートである。まずオンされたスイッチに応じ
て動作モードを設定するとともに(n51)、そのモー
ドの画面を表示器に表示する(n50)。動作モードが
エディット1すなわち振幅ゆらぎルールのエディットで
あればn52の動作に進み、エディット2(ピッチゆら
ぎルールエディット)であればn53の動作に進み、エ
ディット3(ノイズ制御ルールエディット)であればn
54の動作に進む。それ以外の動作モードであればn5
1の判断でn55に進み対応する処理を実行する。
FIG. 13 is a flow chart showing the switch event processing operation. First, the operation mode is set according to the turned-on switch (n51), and the mode screen is displayed on the display (n50). If the operation mode is edit 1, that is, the amplitude fluctuation rule edit, the operation proceeds to n52, if it is edit 2 (pitch fluctuation rule edit), the operation proceeds to n53, and if it is edit 3 (noise control rule edit), n.
Proceed to operation 54. N5 for other operation modes
When the judgment is 1, the process proceeds to n55 and the corresponding process is executed.

【0025】図14はルールエディット動作を示すフロ
ーチャートである。この動作はn52,n53,n54
において実行される。まず、エディットするルール(図
6,図7参照)を指定する(n60)。この指定は+キ
ー,−キーによって行う。指定されたルールのオン/オ
フ選択処理を受け付ける(n61)。この動作はオンス
イッチ/オフスイッチによる。つぎに、指定されたルー
ルのうちエディットすべきメンバシップ関数を指定する
(n62)。この指定はカーソルキーなどを用いてカー
ソルを移動させて行う。このとき表示装置19に、指定
された関数が図15のように表示される。メンバシップ
関数エディット装置17を操作して関数の形状を入力す
る(n63)。この入力操作はフリーハンドで関数の形
状を描くようにしてもよく、図16に示すように複数の
点をプロッティングして指定するようにしてもよい。n
61でセットされたルールのオン/オフデータをファジ
ィ推論装置17のレジスタ(RX)35に送出する(n
64)。さらに、n63でエディットされた関数が条件
部の出力メンバシップ関数のときにはその関数をファジ
ィ推論装置15に送り、対応する内部RAM(ルール演
算器)F1A〜F11Nに書き込む(n65)。
FIG. 14 is a flowchart showing the rule editing operation. This operation is n52, n53, n54
Executed in. First, a rule to edit (see FIGS. 6 and 7) is designated (n60). This designation is made with the + and-keys. The on / off selection process of the designated rule is accepted (n61). This operation depends on the on / off switch. Next, the membership function to be edited is designated from the designated rules (n62). This designation is made by moving the cursor using the cursor keys or the like. At this time, the designated function is displayed on the display device 19 as shown in FIG. The membership function editing device 17 is operated to input the shape of the function (n63). This input operation may be performed by drawing the shape of the function by freehand, or by plotting a plurality of points as shown in FIG. n
The on / off data of the rule set in 61 is sent to the register (RX) 35 of the fuzzy inference device 17 (n
64). Further, when the function edited in n63 is the output membership function of the conditional part, the function is sent to the fuzzy inference device 15 and written in the corresponding internal RAM (rule operation unit) F1A to F11N (n65).

【0026】以上の動作によって演奏者が自由にファジ
ィルールのオン/オフ(選択)やメンバシップ関数のエ
ディットをすることができる。なお、メンバシップ関数
エディット装置17はタブレット入力装置に限らず、マ
ウス,ディジタイザ等を用いることができる。
By the above operation, the player can freely turn on / off (select) the fuzzy rule and edit the membership function. The membership function editing device 17 is not limited to the tablet input device, and a mouse, a digitizer or the like can be used.

【0027】なお、この実施例ではファジィ推論は大/
小の2段階で行っているが3段階以上に分けるようにし
てもよい。また、ファジィルールをエディットした場合
には新たなルールを以前のルールに上書きして消すよう
にしているが、プリセットされたルールはROMに記憶
しておき、元のデータを消去しないようにしてもよい。
また、数音色を同時に発音可能な音源にした場合には、
各音色毎に制御ルールやメンバシップ関数を持たせるよ
うにしてもよい。さらに、この場合において共有するル
ールと別に持つルールとを区分するようにしてもよい。
In this embodiment, fuzzy inference is large /
Although it is performed in two small steps, it may be divided into three or more steps. Also, when a fuzzy rule is edited, the new rule is overwritten on the old rule to erase it. However, even if the preset rule is stored in the ROM and the original data is not erased. Good.
In addition, if you make a sound source that can produce several tones at the same time,
A control rule or membership function may be provided for each tone color. Further, in this case, the shared rule and the rule to be separately provided may be divided.

【0028】また、ファジィ推論に用いるデータはこの
実施例に用いたものに限らず、ジョイスティックやピッ
チベンドホイールなどの操作量データを用いるようにし
てもよい。さらに、本実施例のように演奏中にリアルタ
イムでファジィ推論を行うのではなく、空き時間に全て
の場合についてのファジィ推論を行ってメモリに書き込
んでおき、実際の演奏時にはこのメモリをアクセスして
推論結果を読み出すようにしても良い。
Further, the data used for the fuzzy inference is not limited to the data used in this embodiment, and the operation amount data of the joystick, the pitch bend wheel, etc. may be used. Further, instead of performing fuzzy inference in real time during performance as in the present embodiment, fuzzy inference for all cases is performed and written in the memory during free time, and this memory is accessed during actual performance. The inference result may be read.

【0029】[0029]

【発明の効果】以上のようにこの発明の電子楽器によれ
ば、演奏者がファジィルールやメンバシップ関数を選択
することができるため、自分の好みや演奏スタイルに合
わせた楽音制御が可能になる。
As described above, according to the electronic musical instrument of the present invention, the player can select the fuzzy rule or the membership function, so that the musical tone can be controlled in accordance with his or her own taste and playing style. ..

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

【図1】この発明の実施例である電子楽器のブロック
図、
FIG. 1 is a block diagram of an electronic musical instrument that is an embodiment of the present invention,

【図2】同電子楽器のファジィ推論装置の構成を示す
図、
FIG. 2 is a diagram showing a configuration of a fuzzy inference device of the electronic musical instrument,

【図3】同電子楽器の音源の構成を示す図、FIG. 3 is a diagram showing a configuration of a sound source of the electronic musical instrument,

【図4】同電子楽器に記憶されているピッチゆらぎ波形
および振幅ゆらぎ波形を示す図
FIG. 4 is a diagram showing a pitch fluctuation waveform and an amplitude fluctuation waveform stored in the electronic musical instrument.

【図5】同電子楽器に用いられるタブレット装置を示す
図、
FIG. 5 is a view showing a tablet device used in the electronic musical instrument,

【図6】同電子楽器で行われるファジィ推論のファジィ
ルールを示す図、
FIG. 6 is a diagram showing a fuzzy rule of fuzzy inference performed by the electronic musical instrument;

【図7】同ファジィルールを示す図、FIG. 7 is a diagram showing the same fuzzy rule,

【図8】ファジィ推論に用いられるメンバシップ関数を
示す図、
FIG. 8 is a diagram showing a membership function used for fuzzy reasoning;

【図9】同電子楽器の動作を示すフローチャート、FIG. 9 is a flowchart showing the operation of the electronic musical instrument,

【図10】同電子楽器の動作を示すフローチャート、FIG. 10 is a flowchart showing the operation of the electronic musical instrument,

【図11】同電子楽器の動作を示すフローチャート、FIG. 11 is a flowchart showing the operation of the electronic musical instrument,

【図12】同電子楽器の動作を示すフローチャート、FIG. 12 is a flowchart showing the operation of the electronic musical instrument,

【図13】同電子楽器の動作を示すフローチャート、FIG. 13 is a flowchart showing the operation of the electronic musical instrument,

【図14】同電子楽器の動作を示すフローチャート、FIG. 14 is a flowchart showing the operation of the electronic musical instrument,

【図15】エディットモード時の表示画面の例を示す
図、
FIG. 15 is a diagram showing an example of a display screen in the edit mode,

【図16】メンバシップ関数の入力例を示す図、FIG. 16 is a diagram showing an input example of a membership function,

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

15−ファジィ推論装置、17−メンバシップ関数エデ
ィット装置、18−ルール選択スイッチ、30−ルール
演算器、34−関数書込装置。
15-fuzzy inference device, 17-membership function editing device, 18-rule selection switch, 30-rule calculator, 34-function writing device.

Claims (1)

【特許請求の範囲】 【請求項1】 演奏情報が入力される演奏情報入力手段
と、 複数のファジィルールを記憶したルール記憶手段と、 前記ルール記憶手段に記憶されている複数のファジィル
ールのうち機能させるべきルールを選択するルール選択
手段と、 前記ルール選択手段によって選択されたファジィルール
を用い、前記演奏情報入力手段から入力された演奏情報
に基づいて楽音制御パラメータを推論するファジィ推論
手段と、 を備えたことを特徴とする電子楽器。
Claims: 1. Performance information input means for inputting performance information; rule storage means for storing a plurality of fuzzy rules; and a plurality of fuzzy rules stored in the rule storage means. A rule selecting means for selecting a rule to be operated, a fuzzy inference means for inferring a musical tone control parameter based on the performance information input from the performance information input means using the fuzzy rule selected by the rule selecting means, An electronic musical instrument characterized by having.
JP17124291A 1991-07-11 1991-07-11 Tone control parameter forming device Expired - Fee Related JP3206022B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP17124291A JP3206022B2 (en) 1991-07-11 1991-07-11 Tone control parameter forming device
US07/912,110 US5274191A (en) 1991-07-11 1992-07-09 Electronic musical instrument using fuzzy interference for controlling musical tone parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17124291A JP3206022B2 (en) 1991-07-11 1991-07-11 Tone control parameter forming device

Publications (2)

Publication Number Publication Date
JPH0519758A true JPH0519758A (en) 1993-01-29
JP3206022B2 JP3206022B2 (en) 2001-09-04

Family

ID=15919681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17124291A Expired - Fee Related JP3206022B2 (en) 1991-07-11 1991-07-11 Tone control parameter forming device

Country Status (1)

Country Link
JP (1) JP3206022B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06342289A (en) * 1993-04-09 1994-12-13 Yamaha Corp Electronic musical sound controller
US5541356A (en) * 1993-04-09 1996-07-30 Yamaha Corporation Electronic musical tone controller with fuzzy processing

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11335563A (en) 1998-05-28 1999-12-07 Shin Etsu Chem Co Ltd Carobyxyl group-containing silicone emulsion, manufacture thereof and hair cosmetic

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06342289A (en) * 1993-04-09 1994-12-13 Yamaha Corp Electronic musical sound controller
US5541356A (en) * 1993-04-09 1996-07-30 Yamaha Corporation Electronic musical tone controller with fuzzy processing

Also Published As

Publication number Publication date
JP3206022B2 (en) 2001-09-04

Similar Documents

Publication Publication Date Title
US5648627A (en) Musical performance control apparatus for processing a user's swing motion with fuzzy inference or a neural network
US5138924A (en) Electronic musical instrument utilizing a neural network
US5223655A (en) Electronic musical instrument generating chord data in response to repeated operation of pads
JPH01321484A (en) Automatic play device
JP2526438B2 (en) Electronic musical instrument
JP3206022B2 (en) Tone control parameter forming device
US5274191A (en) Electronic musical instrument using fuzzy interference for controlling musical tone parameters
JP3298114B2 (en) Music signal generator
JP3206023B2 (en) Tone control parameter forming device
US5153362A (en) Electronic musical instrument having pan control function
JPH0683347A (en) Electronic musical instrument
JP2722947B2 (en) Musical tone signal generator
JPH0746272B2 (en) Electronic musical instrument
JPH07111629B2 (en) Electronic musical instrument
JP2527045B2 (en) Electronic musical instrument
JP2957204B2 (en) Electronic musical instrument
JP2523779B2 (en) Automatic playing device
JP2962075B2 (en) Electronic musical instrument editing device
JP2780475B2 (en) Tempo controller
JP3304889B2 (en) Electronic musical instrument
JP2646760B2 (en) Performance data separation device
JPH05341777A (en) Parameter controller of electronic musical instrument
JP3130600B2 (en) Controller for electronic musical instruments
JPH07319464A (en) Electronic musical instrument
JPH087583B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees