JPH0313594B2 - - Google Patents

Info

Publication number
JPH0313594B2
JPH0313594B2 JP59116645A JP11664584A JPH0313594B2 JP H0313594 B2 JPH0313594 B2 JP H0313594B2 JP 59116645 A JP59116645 A JP 59116645A JP 11664584 A JP11664584 A JP 11664584A JP H0313594 B2 JPH0313594 B2 JP H0313594B2
Authority
JP
Japan
Prior art keywords
data
pitch
digital data
calculation
musical tone
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.)
Expired - Lifetime
Application number
JP59116645A
Other languages
Japanese (ja)
Other versions
JPS60260997A (en
Inventor
Tsunehisa Nogimura
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59116645A priority Critical patent/JPS60260997A/en
Publication of JPS60260997A publication Critical patent/JPS60260997A/en
Publication of JPH0313594B2 publication Critical patent/JPH0313594B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は出力楽器の特性を操作子により変動
可能な電子楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an electronic musical instrument in which the characteristics of an output musical instrument can be varied by using an operator.

〔従来技術〕[Prior art]

従来、ミユージツクシンセサイザではピツチベ
ンダー、モジユレーシヨンホイール等の操作子か
らの出力を、A/D変換し、その変換出力に基づ
いて、電子楽器の各種動作を制御することが行わ
れている。
Conventionally, music synthesizers convert the output from operators such as pitch benders and modulation wheels into analog to digital form, and control various operations of electronic musical instruments based on the converted output. .

その場合、操作子は電子楽器の操作性が特に重
視されるため配線の引き回しが長くなり、前記変
換出力に外来ノイズがのりやすい。そのためこれ
を防止する方法として従来では、一定のしきい値
を設定し、A/D変換器から得られたデータと、
前回得られた楽器の特性を変動させるためのデー
タとを比較して、今回得られたデータが前記しき
い値をオーバーしていない場合には、データは変
化しなかつたとみなすものがある。
In this case, since the operability of the electronic musical instrument is particularly important for the operator, the wiring becomes long, and external noise is likely to be added to the conversion output. Therefore, as a conventional method to prevent this, a certain threshold value is set and the data obtained from the A/D converter is
When the data obtained this time does not exceed the threshold value by comparing it with the previously obtained data for changing the characteristics of the musical instrument, the data is considered to have not changed.

〔従来技術の問題点〕[Problems with conventional technology]

上述した従来のものでは、A/D変換器より得
られるデータは、設定されたしきい値の値の間隔
をもつ、飛び石状に連続する一連のデータとなつ
て好ましくない問題がある。
In the conventional device described above, the data obtained from the A/D converter becomes a series of data that is continuous like stepping stones and has an interval of a set threshold value, which is an undesirable problem.

例えば、前回のA/D変換後のデータを
“0110”、しきい値を2とすると、A/D変換器入
力端子の電圧値が増加する方向に変化した場合、
A/D変換後のデータが、0110+3(10)、すなわち
“1001”となるまでの間はデータは変化したとは
みなされない。また同様にして、次に得られるデ
ータは1001+3(10)、すなわち“1101”である。
For example, if the data after the previous A/D conversion is "0110" and the threshold value is 2, if the voltage value at the A/D converter input terminal changes in an increasing direction,
The data is not considered to have changed until the data after A/D conversion becomes 0110+3 (10) , that is, "1001". Similarly, the next data obtained is 1001+3 (10) , or "1101".

つまり、上述の4ビツトA/D変換器に、ノイ
ズ除去のために2のしきい値を設けたシステムで
は、“3”の間隔をもつ、飛び石状に連続する一
連のデータしか得られないことになる。したがつ
て、周波数の滑らかな変化が求められないという
問題がある。
In other words, in a system in which the 4-bit A/D converter described above is set with a threshold of 2 for noise removal, only a series of consecutive data with intervals of 3 can be obtained. become. Therefore, there is a problem in that smooth changes in frequency are not required.

〔発明の目的〕[Purpose of the invention]

この発明は上述した事情に鑑みてなされたもの
で、その目的とするところは、ノイズの影響を受
けにくく、操作子の変化に追従してピツチやビブ
ラートの変調の度合等が滑らかに変化するように
した電子楽器を提供することを目的とする。
This invention was made in view of the above-mentioned circumstances, and its purpose is to make it less susceptible to noise and to smoothly change the degree of modulation of pitch and vibrato in accordance with changes in the controls. The purpose is to provide electronic musical instruments that are

[発明の要点] 本発明は、操作子の操作に応じたデイジタルデ
ータと前回楽音の特性を変動させるために用いた
データとの平均値算出演算を行う演算手段と、こ
の演算手段の演算結果を記憶する記憶手段と、こ
の記憶手段の記憶結果に基づいて楽音の特性を変
動させる制御手段と、操作子の操作に応じたデイ
ジタルデータと前記記憶手段に記憶された演算デ
ータとを比較し、両データの差分値が所定値以内
のときは前記演算手段の動作を停止させ、差分値
が所定値を越えたときは前記演算手段の動作を実
行させる比較判断手段と、を設けることにより、
操作子の操作に応じたデイジタルデータの変化が
所定値以下のときは、前記楽音特性の制御に用い
た演算データを再び用い、逆に所定値以上のとき
はこのデイジタルデータと前回の演算データとの
平均値を新たな演算データとして楽音特性の制御
に用いるようにしたものである。
[Summary of the Invention] The present invention provides a calculation means for calculating the average value of digital data corresponding to the operation of a controller and data used to vary the characteristics of the previous musical tone, and a calculation result of the calculation means. A storage means for storing the data, a control means for varying the characteristics of musical tones based on the storage result of the storage means, and a control means for comparing the digital data corresponding to the operation of the operator with the calculation data stored in the storage means, By providing a comparison judgment means that stops the operation of the calculation means when the difference value of data is within a predetermined value, and causes the operation of the calculation means to be executed when the difference value exceeds the predetermined value,
When the change in the digital data in response to the operation of the controller is less than a predetermined value, the calculated data used to control the musical tone characteristics is used again, and conversely, when the change is greater than the predetermined value, this digital data is combined with the previous calculated data. The average value is used as new calculation data to control musical tone characteristics.

〔実施例〕〔Example〕

以下、図面を参照してこの発明の一実施例を説
明する。第1図において、1は鍵盤であり、例え
ば音高C1〜C6までの61個の鍵を有する。そして
各鍵からの信号はCPU(中央処理装置)2に与え
られて処理され、そのキーコードがピツチ情報作
成部3に出力され、また各鍵のオン、オフ信号が
楽音作成部4に出力される。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. In FIG. 1, a keyboard 1 has, for example, 61 keys ranging in pitch from C 1 to C 6 . The signals from each key are then sent to the CPU (Central Processing Unit) 2 for processing, and the key code is output to the pitch information creation section 3, and the on/off signals for each key are output to the tone creation section 4. Ru.

CPU2はこの電子楽器のすべての動作を制御
するマイクロプロセツサ等から成り、スイツチ部
5からの各種スイツチ出力も受けて各種の楽音生
成情報をピツチ情報作成部3及び楽音作成部4に
も与える。
The CPU 2 is comprised of a microprocessor etc. that controls all operations of this electronic musical instrument, and also receives various switch outputs from the switch section 5 and provides various musical tone generation information to the pitch information generation section 3 and the musical tone generation section 4.

また図中6はピツチペンダーであり、その出力
はピツチベンド検出部7によつて検出され、A/
D変換後、後述する平均値算出演算等を実行され
て対応するピツチベンドデータとしてピツチ情報
作成部3に与えられる。而してピツチ情報作成部
3は前記ピツチベンドデータに対し、該ピツチベ
ンドデータ1ビツトあたりのΔPITCH(微少ピツ
チ)を乗算し、またその結果データにCPU2か
らのキーコードに応じたスケールコードを加算し
てその結果を楽音作成部4へピツチデータとして
与える。
In addition, 6 in the figure is a pitch bender, the output of which is detected by the pitch bend detector 7,
After the D conversion, an average value calculation operation, etc., which will be described later, is executed, and the resultant data is provided to the pitch information creation section 3 as corresponding pitch bend data. Then, the pitch information creation section 3 multiplies the pitch bend data by ΔPITCH (minor pitch) per 1 bit of pitch bend data, and adds a scale code corresponding to the key code from the CPU 2 to the resulting data. Then, the result is given to the tone creating section 4 as pitch data.

楽音作成部4は前記ピツチデータと、CPU2
からのキーオン、オフ信号、その他の音色、リズ
ム等の楽音作成情報に基づく楽音信号を作成し、
それをD/A変換器8に出力する。D/A変換器
8に入力した楽音信号はアナログの楽音信号に変
換され、アンプ9、スピーカ10を介し楽音とし
て放音される。
The musical tone creation section 4 uses the pitch data and the CPU 2.
Creates a musical tone signal based on musical tone creation information such as key on, off signals, other tones, rhythms, etc.
It outputs it to the D/A converter 8. The musical tone signal inputted to the D/A converter 8 is converted into an analog musical tone signal, and is emitted as a musical tone via an amplifier 9 and a speaker 10.

第2図は前記ピツチベンド検出部7の具体的構
成を示す。ピツチベンダー6の出力はA/D変換
器11によりデイジタル量のデータINに変換さ
れ、データ変換部12に与えられる。このデータ
変換部12は前記データINと、該データ変換部
12の前回の演算結果データとを入力し、それら
を平均して今回の演算結果データ(データVとも
呼ぶ;8ビツトデータ)を得、それを排他的オア
ゲート137〜130に与える。而して前記データ
Vの最上位のピツトデータが入力する排他的オア
ゲート137の他端は常時“1”信号を供給され、
またその他の排他的オアゲート136〜130の各
他端は常時“0”信号を供給されている。即ち、
排他的オアゲート137〜130はMSBのデータ
だけの反転回路となり、各排他的オアゲート13
〜130の出力(データAとも呼ぶ)は、対応す
る排他的オアゲート147〜140の各一端に入力
する。この排他的オアゲート147〜140の各他
端には共に前記データVのMSBのデータインバ
ータINVを介して供給されている。そして排他
的オアゲート147〜141の出力はピツチベンド
データBとして出力される。
FIG. 2 shows a specific configuration of the pitch bend detection section 7. As shown in FIG. The output of the pitch bender 6 is converted into digital data IN by an A/D converter 11, and is provided to a data converter 12. This data converter 12 inputs the data IN and the previous calculation result data of the data converter 12, averages them, and obtains the current calculation result data (also called data V; 8-bit data), Give it to exclusive or gates 13 7 to 13 0 . The other end of the exclusive OR gate 137 to which the most significant pit data of the data V is input is always supplied with a "1" signal.
Further, the other terminals of the other exclusive OR gates 13 6 to 13 0 are always supplied with a "0" signal. That is,
Exclusive OR gates 13 7 to 13 0 serve as inverting circuits for only MSB data, and each exclusive OR gate 13
The outputs of 7 to 13 0 (also referred to as data A) are input to one end of each of the corresponding exclusive OR gates 14 7 to 14 0 . The MSB of the data V is supplied to the other ends of the exclusive OR gates 14 7 to 14 0 via a data inverter INV. The outputs of the exclusive OR gates 14 7 to 14 1 are then output as pitch bend data B.

第3図は前記データ変換部12の具体的構成を
示す。データINは加算器15及び比較部COMP
の一端に入力する。この加算器15にはバツフア
17からのデータVが入力し、したがつて両デー
タIN、Vとが加算され、その結果データ(IN+
V)が1/2演算器16に与えられて(IN+V)/
2を算出され、バツフア17に与える。したがつ
て前記データVは、今回のデータINと、前回の
結果データVとを平均したデータとなる。そして
この結果データVはまた、比較部COMPの他端
にも入力する。この比較部COMPは、前記デー
タINとデータVとを比較し、|IN−V|>3(こ
のデータ3はしきい値を示す)のとき、“1”レ
ベルの信号Sを発生して加算器15に印加する。
FIG. 3 shows a specific configuration of the data conversion section 12. Data IN is adder 15 and comparator COMP
Enter at one end of. The data V from the buffer 17 is input to this adder 15, and therefore both data IN and V are added, resulting in data (IN+
V) is given to the 1/2 arithmetic unit 16 and (IN+V)/
2 is calculated and given to buffer 17. Therefore, the data V is the average of the current data IN and the previous result data V. This result data V is also input to the other end of the comparison unit COMP. This comparison unit COMP compares the data IN and data V, and when |IN−V|>3 (this data 3 indicates a threshold value), generates a “1” level signal S and adds it. 15.

而して加算器15は“1”の信号Sが入力した
ときのみ、前記加算動作を実行し、“0”の信号
Sの入力時には加算動作を実行しない。したがつ
てこの非加算時には、バツフア17の出力データ
Vは前回と同一であつて変化しないことになる。
The adder 15 executes the addition operation only when the signal S of "1" is input, and does not execute the addition operation when the signal S of "0" is input. Therefore, during this non-addition, the output data V of the buffer 17 is the same as the previous time and remains unchanged.

第4図はピツチ情報作成部3の具体的構成を示
す。図中、ROM(リードオンリメモリ)18は
前記ΔPITCHを示すデータγ′16を半音単位で複数
記憶しており、而してスイツチ部5の所定スイツ
チによつてピツチベンダー6によりピツチ最大変
化を半音単位で指定されたときCPU2が対応し
てアドレス部19に出力するデータによつて該ア
ドレス部19によりアドレスされ、これにより何
れかのデータγ′16を読出されて乗算部20に与え
る。この乗算部20にはまたピツチベンドデータ
Bが入力しており、両データγ′16、Bの乗算結果
データγ′16×Bが加算部21に与えられる。この
加算部21にはCPU2からのキーコードに応じ
たスケールコードが入力し、両者が加算されてピ
ツチデータとして楽音作成部4へ送出される。而
してこのピツチデータはセント比例した音高周波
数情報となる。
FIG. 4 shows a specific configuration of the pitch information creation section 3. In the figure, a ROM (read only memory) 18 stores a plurality of data γ' 16 indicating the ΔPITCH in semitone units, and a pitch bender 6 controls the pitch maximum change by a semitone by a predetermined switch of the switch unit 5. When specified in units, the CPU 2 is addressed by the address section 19 according to the data correspondingly outputted to the address section 19, whereby any data γ' 16 is read out and applied to the multiplication section 20. Pitch bend data B is also input to this multiplier 20, and the resultant data γ' 16 ×B multiplied by both data γ' 16 and B is given to an adder 21. A scale code corresponding to the key code from the CPU 2 is input to the adder 21, and the two are added together and sent to the tone generator 4 as pitch data. This pitch data then becomes pitch frequency information proportional to cents.

次に第5図ないし第11図を参照して動作を説
明する。茲で、第5図は前記ピツチ情報作成部3
内の加算部21が出力するピツチデータの構成を
示す。而してこのピツチデータは合計14ビツトか
ら成り、その下位6ビツトは半音以下のピツチを
示すΔPITCH部、また上位8ビツトはスケール
コードを示す。また第6図はこのスケールコード
を音高C1〜C6までの各音高につき示したもので、
16進コード表現により表わされる。更に第7図及
び第8図は前記ΔPITCHを説明する図である。
Next, the operation will be explained with reference to FIGS. 5 to 11. Figure 5 shows the pitch information creation section 3.
The configuration of pitch data output by the adder 21 in the figure is shown. This pitch data consists of a total of 14 bits, of which the lower 6 bits represent a ΔPITCH portion indicating a pitch of less than a semitone, and the upper 8 bits represent a scale code. Figure 6 shows this scale code for each pitch from C 1 to C 6 .
Represented by hexadecimal code representation. Further, FIGS. 7 and 8 are diagrams for explaining the ΔPITCH.

即ち、第7図において、αは前記ピツチベンダ
ー6によるピツチ最大変化として半音データを表
わす「00000001」を例示している。またβはピツ
チベンダーの最大可変範囲「01111111」を例示し
ている。而してMSBの「0」はサインビツトで
ある。更にγは前記αのデータを、前記βのデー
タで割算してピツチベンド1ビツトあたりの
ΔPITCHを求めた結果を例示しており、図示す
る値となる。即ち、この値を16進コードで示せば
γ16=00.0204081となる。そして図示の位置で丸
めるとピツチ最大変化が半音の場合のデータγ′16
は00.020となる。
That is, in FIG. 7, α exemplifies "00000001" representing semitone data as the maximum change in pitch caused by the pitch bender 6. Further, β exemplifies the maximum variable range of pitch bender "01111111". Therefore, the MSB "0" is a sign bit. Further, γ is an example of the result of calculating ΔPITCH per pitch bend bit by dividing the data of α by the data of β, and has the value shown in the figure. That is, if this value is expressed in hexadecimal code, γ 16 =00.0204081. Then, when rounding at the position shown, the data when the maximum change in pitch is a semitone is γ′ 16
becomes 00.020.

第8図は第7図に説明した方法にしたがつて、
ピツチ最大変化が更に半音の2倍〜12倍までのと
きのγ16、γ′16を夫々求めて図示したものであり、
而して第8図に示す13種類の半音単位のγ′16は、
前記ROM18にプリセツトされており、またこ
のγ′16の指定は、スイツチ部5内の所定スイツチ
を操作することにより行われる。
Figure 8 shows the method explained in Figure 7.
γ 16 and γ′ 16 are calculated and illustrated when the maximum change in pitch is from twice to 12 semitones, respectively.
Therefore, γ′ 16 of the 13 types of semitone units shown in Figure 8 is
It is preset in the ROM 18, and the designation of γ' 16 is performed by operating a predetermined switch in the switch section 5.

そこで演奏開始前に前記所定スイツチを望む位
置、例えばピツチ最大変化が半音の3倍となるよ
うに設定しておくと、その設定位置出力がCPU
2により処理され、アドレス部19に対して半音
の3倍に対するγ′16を読出すためのデータを与え
ROM18をアドレス指定させる。したがつて以
後、γ′16として第8図から、「00.061」の
ΔPITCHがROM18から読出され、乗算部20
に与えられることになり、ピツチベンダー6をそ
のピツチ最小位置からピツチ最大位置まで変化さ
せるとき、生成楽音のピツチは最大1音半分変化
するようになる。
Therefore, if you set the predetermined switch to the desired position, for example, so that the maximum change in pitch is three times the semitone before starting the performance, the CPU
2, and provides the address section 19 with data for reading γ' 16 for three times a semitone.
Allows ROM18 to be addressed. Therefore, from now on, ΔPITCH of "00.061" is read from the ROM 18 as γ' 16 from FIG.
When the pitch bender 6 is changed from its minimum pitch position to its maximum pitch position, the pitch of the generated musical tone changes by a maximum of one and a half notes.

上述のようにして、前記所定スイツチの設定操
作後は鍵盤1の鍵を操作し、またピツチベンダー
6を必要に応じて操作しながら曲の演奏を行う。
その場合、前記鍵の出力はCPU2に入力してキ
ーコード及びキーのオン、オフ信号が作成され、
キーコードはピツチ情報作成部3に与えられ、ま
たキーのオン、オフ信号は楽音作成部4に与えら
れる。また楽音作成部4にはスイツチ部5からの
リズム、音色等の他の楽音生成情報も与えられ
る。
As described above, after setting the predetermined switches, the player operates the keys on the keyboard 1 and operates the pitch bender 6 as necessary to play the song.
In that case, the output of the key is input to the CPU 2 to create a key code and key on/off signals,
The key code is given to the pitch information creation section 3, and key on/off signals are given to the tone creation section 4. The musical tone generating section 4 is also supplied with other musical tone generation information such as rhythm and timbre from the switch section 5.

一方、ピツチベンド検出部7では、ピツチベン
ダーの出力は所定のサンプリング周期にてA/D
変換器11によりA/D変換され、データINと
してデータ変換部12に与えられる。而してこの
データ変換部12では、前記データINと、前回
の演算結果であるデータVとが比較部COMPに
入力して|IN−V|>3か否かが判断される。
そして|IN−V|>3のときには“1”、そうで
ないときは“0”の信号Sが夫々比較部COMP
から出力し、加算器15に印加される。
On the other hand, in the pitch bend detection section 7, the output of the pitch bender is sent to the A/D converter at a predetermined sampling period.
The data is A/D converted by the converter 11 and is provided to the data converter 12 as data IN. In the data converter 12, the data IN and the data V, which is the result of the previous calculation, are input to the comparator COMP, and it is determined whether |IN-V|>3.
Then, when |IN-V|
The signal is output from and applied to the adder 15.

而して加算器15は信号Sが“0”のときには
データINとデータVとの加算動作を実行せず、
したがつて今回、バツフア17から出力するデー
タVは前回と同一であり、換言すればピツチの変
化が所定の前記しきい値「3」より小で、ピツチ
の変化はなかつたものとみなされることになる。
Therefore, when the signal S is "0", the adder 15 does not perform the addition operation of the data IN and the data V;
Therefore, the data V output from the buffer 17 this time is the same as the previous time, in other words, the change in pitch is smaller than the predetermined threshold value "3" and it is considered that there is no change in pitch. become.

他方、信号Sが“1”として出力したときに
は、加算器15は前記データVとデータINとを
加算し(即ち、前回と今回ではピツチの変化があ
つたとみなすものである)、その加算結果(IN+
V)が次に1/2演算器16により平均されて(IN
+V)/2とされ、バツフア17に与えられてデ
ータVとされる。而してこのデータVは加算器1
5及び比較部COMPに戻されて次のサンプリン
グ周期の演算に備えられると共に、排他的オアゲ
ート137〜131に送られる。
On the other hand, when the signal S is output as "1", the adder 15 adds the data V and the data IN (that is, it is assumed that there is a change in pitch between the previous time and this time), and the addition result ( IN+
V) is then averaged by the 1/2 calculator 16 to obtain (IN
+V)/2, and is applied to the buffer 17 to become data V. Therefore, this data V is added to adder 1.
5 and the comparator COMP to be prepared for calculation in the next sampling period, and is also sent to the exclusive OR gates 13 7 to 13 1 .

排他的オアゲート137〜131では前記データ
VのMSBのみ反転してデータAを排他的オアゲ
ート147〜140に与える。而してこのデータA
は、前記データVのMSBが“1”のときは全ビ
ツトデータAと同一のデータBとして排他的オア
ゲート147〜140から出力されると共に、前記
データVのMSBが“0”のときは全ビツトデー
タAを反転したデータBとして出力され、ピツチ
ベンドデータとされる。
The exclusive OR gates 13 7 -13 1 invert only the MSB of the data V and provide the data A to the exclusive OR gates 14 7 -14 0 . Therefore, this data A
is output from the exclusive OR gates 147 to 140 as data B, which is the same as all bit data A, when the MSB of the data V is "1", and when the MSB of the data V is "0", All bit data A is inverted and output as data B, which is used as pitch bend data.

第9図はこのピツチベンド検出部7の動作を説
明するもので、データV、A、Bの関係を示して
いる。そして図示するようにピツチベンドデータ
Bは、データVが「7F」及び「80」のときを中
点の「00」と設定され、またデータVが「7F」
→「00」まで小さくなる方向ではマイナス方向に
大きくなり、即ち、実際のピツチ変化が小さくな
り、他方、データVが「80」→「FF」まで大き
くなる方向ではプラス方向に大きくなり、即ち、
実際のピツチ変化が大きくなる。したがつてピツ
チベンドデータBはピツチベンダー6の実際の操
作に応じてその内容が変化することになる。
FIG. 9 explains the operation of this pitch bend detection section 7, and shows the relationship between data V, A, and B. As shown in the figure, the pitch bend data B is set to the midpoint "00" when the data V is "7F" and "80", and when the data V is "7F"
→ In the direction in which the data V decreases to "00", it increases in the negative direction, that is, the actual pitch change becomes small.On the other hand, in the direction in which the data V increases from "80" to "FF", it increases in the positive direction, that is,
The actual pitch change becomes larger. Therefore, the content of the pitch bend data B changes depending on the actual operation of the pitch bender 6.

更にピツチ情報作成部3では、前記乗算部20
に前記ピツチベンドデータBが入力し、ROM1
8からのγ′16、即ち、今の場合はピツチ最大変化
が1音半に対するデータ「00.061」と乗算されて
加算部21に与えられ、而して加算部21では更
に前記乗算結果と操作鍵のキーコードに応じたス
ケールコードとを加算し、実際のピツチデータを
楽音作成部4に与える。そのため楽音作成部4で
はこのピツチデータによるピツチの楽音信号を作
成し、D/A変換器8、アンプ9、スピーカ10
を介し楽音として放音する。
Further, in the pitch information creation section 3, the multiplication section 20
The pitch bend data B is input to ROM1.
γ′ 16 from 8, that is, the maximum change in pitch in this case, is multiplied by the data “00.061” for one and a half notes and given to the adder 21, and the adder 21 further combines the multiplication result and the operating key. and a scale code corresponding to the key code, and provide actual pitch data to the musical tone creation section 4. Therefore, the musical tone creating section 4 creates a pitch musical tone signal based on this pitch data, and sends it to the D/A converter 8, amplifier 9, and speaker 10.
The sound is emitted as a musical tone through the .

第10図は前記データ変換部12の平均演算の
効果を説明するための図である。即ち、ピツチベ
ンダー6は一定位置に固定しているにもかかわら
ず、外来ノイズ等によつてA/D変換器11の出
力データINに直線性の誤差が発生している状況
を示す。ここで前回のデータVを「99」とする。
連続するサンプリング点A〜Jのうち、点A、B
ではデータINの値が「99」、点C、E、H、Iで
は「100」、Dでは「98」、Fでは「101」、G、J
では「97」となつている。然しながらデータ変換
部12では隣接する点間で、前記関係式|IN−
V|>3のときには前記出力データINの変化を
みとめて平均をとるため(なお、1/2演算器16
はこの場合、小数点以下切捨て演算を行う)常に
「99」の値となつてA/D変換器11の出力が補
正される。
FIG. 10 is a diagram for explaining the effect of the average calculation of the data conversion section 12. In other words, although the pitch bender 6 is fixed at a fixed position, a linearity error occurs in the output data IN of the A/D converter 11 due to external noise or the like. Here, the previous data V is assumed to be "99".
Among the consecutive sampling points A to J, points A and B
In this case, the value of data IN is "99", "100" at points C, E, H, and I, "98" at D, "101" at F, G, J
It says "97". However, in the data conversion unit 12, the relational expression |IN−
When V|>3, the change in the output data IN is recognized and the average is taken
(in this case, the value below the decimal point is rounded down) is always the value "99", and the output of the A/D converter 11 is corrected.

第11図もデータ変換部12の平均演算の効果
を説明する図であり、この場合はピツチベンダー
6を急激に変化させた例である。而して図中の実
線はピツチベンダー6の実際の動きに応じたデー
タINの変化曲線を示し、また一点鎖線はデータ
Vの変化曲線を示す。ここで時間t0からt1、t1
らt2に変化した時は、今回のデータINがしきい
値を越えて変化しており、t2以後は、今回のデー
タINは変化がないとする。而して図面から分か
るように、隣接する各サンプリング点間におい
て、常に今回のデータINと、前回の演算結果と
が比較され、しきい値を越えた時、今回のデータ
INと、前回の演算結果とが平均されて今回のサ
ンプリング点の補正データVとされるため、A/
D変換器11のサンプリング周期が大きくてもデ
ータVはデータINの急激な変化に対して滑かな
値となり、しかも外来ノイズ等の誤差を含む率が
非常に少いものとなつている。
FIG. 11 is also a diagram illustrating the effect of the average calculation of the data converter 12, and in this case is an example in which the pitch bender 6 is suddenly changed. The solid line in the figure shows the change curve of the data IN according to the actual movement of the pitch bender 6, and the dashed line shows the change curve of the data V. Here, when changing from time t 0 to t 1 and from t 1 to t 2 , the current data IN has changed beyond the threshold, and after t 2 , the current data IN remains unchanged. do. As can be seen from the drawing, the current data IN is always compared with the previous calculation result between each adjacent sampling point, and when the threshold value is exceeded, the current data IN is compared with the previous calculation result.
Since IN and the previous calculation result are averaged and used as the correction data V for the current sampling point, A/
Even if the sampling period of the D converter 11 is long, the data V has a smooth value against sudden changes in the data IN, and the rate of including errors such as external noise is extremely small.

なお、上述した実施例は、ピツチベンダーを例
にあげて説明したが、モジユレーシヨンホイール
によるビブラートの変調の度合、ボリユーム等に
適用しても差しつかえない。
Although the above-mentioned embodiment has been explained using a pitch bender as an example, the present invention may also be applied to the degree of modulation of vibrato by a modulation wheel, volume, etc.

〔発明の効果〕 この発明は以上説明した通り、操作子の操作に
応じたデイジタルデータが前回楽音特性の制御に
用いた演算データと比較しその差分値が所定値よ
り小さい場合は前回の演算データを再び用いて楽
音特性の制御を行うようにしたので、外来ノイズ
による楽音特性の無意味な変動がなくなる。
[Effects of the Invention] As explained above, the present invention compares the digital data corresponding to the operation of the controller with the calculation data used for controlling the musical tone characteristics last time, and if the difference value is smaller than a predetermined value, the digital data corresponding to the operation of the controller is compared with the calculation data used for controlling the musical tone characteristics last time. Since the musical tone characteristics are controlled by using the noise again, meaningless fluctuations in the musical tone characteristics due to external noise are eliminated.

さらに本発明では、前述の差分値が所定値より
大きい場合には操作子からのデイジタルデータと
前回の演算データとの平均値を演算し、この新た
な演算データを楽音特性の制御に用いるようにし
たので、操作子を急激に変化させた場合でも演算
データは滑らかに変化し、これによつて制御され
る楽音特性も滑らかに変化するため、不自然な楽
音の発生を防止できる利点がある。
Furthermore, in the present invention, when the above-mentioned difference value is larger than a predetermined value, the average value of the digital data from the controller and the previously calculated data is calculated, and this new calculated data is used to control the musical tone characteristics. Therefore, even when the operator is suddenly changed, the calculated data changes smoothly, and the musical tone characteristics controlled thereby also change smoothly, which has the advantage of preventing the generation of unnatural musical sounds.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の電子楽器の構成
図、第2図はピツチベンド検出部7の具体的構成
図、第3図はデータ変換部12の具体的構成図、
第4図はピツチ情報作成部3の具体的構成図、第
5図はピツチデータの構成図、第6図はスケール
コードを示す図、第7図はΔPITCHを得るため
の各種データの例を示す図、第8図は12種類のピ
ツチ最大変化に対するデータγ16、γ′16の内容を示
す図、第9図はピツチベンド検出部7におけるデ
ータV、A、Bとの対応関係を示す図、第10図
はピツチベンダー6を停止しているときの外来ノ
イズ等によるデータINの変化状態を示す図、第
11図はピツチベンダー6を操作しているときの
データINとVとの関係を示す図である。 1……鍵盤、2……CPU、3……ピツチ情報
作成部、4……楽音作成部、5……スイツチ部、
6……ピツチベンダー、7……ピツチベンド検出
部、8……D/A変換器、9……アンプ、10…
…スピーカ、15……加算器、16……1/2演算
器、COMP……比較部、18……ROM、19…
…アドレス部、20……乗算部、21……加算
部。
FIG. 1 is a block diagram of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a specific block diagram of the pitch bend detection section 7, FIG. 3 is a specific block diagram of the data conversion section 12,
FIG. 4 is a specific configuration diagram of the pitch information creation section 3, FIG. 5 is a configuration diagram of pitch data, FIG. 6 is a diagram showing a scale code, and FIG. 7 is a diagram showing examples of various data for obtaining ΔPITCH. , FIG. 8 is a diagram showing the contents of data γ 16 and γ′ 16 for 12 types of pitch maximum changes, FIG. 9 is a diagram showing the correspondence with data V, A, and B in pitch bend detection section 7, and FIG. The figure shows how the data IN changes due to external noise when the pitch bender 6 is stopped, and FIG. 11 shows the relationship between the data IN and V when the pitch bender 6 is operated. be. 1... Keyboard, 2... CPU, 3... Pitch information creation section, 4... Musical tone creation section, 5... Switch section,
6...Pitch bender, 7...Pitch bend detection section, 8...D/A converter, 9...Amplifier, 10...
... Speaker, 15 ... Adder, 16 ... 1/2 arithmetic unit, COMP ... Comparison section, 18 ... ROM, 19 ...
. . . address section, 20 . . . multiplication section, 21 . . . addition section.

Claims (1)

【特許請求の範囲】 1 操作子を備え、この操作子の操作状態に応じ
て出力楽音の特性を変動させる電子楽器におい
て、 前記操作子の操作に応じたデイジタルデータを
生成するデイジタルデータ生成手段と、 デイジタルデータを記憶可能な記憶手段と、 この記憶手段からのデイジタルデータと前記デ
イジタルデータ生成手段からのデイジタルデータ
との平均値算出演算を行い、その演算結果を前記
記憶手段に記憶する演算手段と、 前記デイジタルデータ生成手段からのデイジタ
ルデータと前記記憶手段に記憶された演算データ
とを比較し、両データの差分値が所定値以内と判
断した場合は前記演算手段の動作を停止させ、前
記差分値が所定値を越えたと判断した場合は前記
演算手段の動作を実行させる比較判断手段と、 前記記憶手段からの演算データに従つて楽音の
特性を変動させる制御手段と、 を具備したことを特徴とする電子楽器。
[Scope of Claims] 1. An electronic musical instrument that includes an operator and changes the characteristics of an output musical tone according to the operating state of the operator, comprising: digital data generating means that generates digital data in accordance with the operation of the operator; , a storage means capable of storing digital data; and an arithmetic means for calculating an average value of the digital data from the storage means and the digital data from the digital data generation means, and storing the result of the calculation in the storage means. , Compare the digital data from the digital data generating means and the calculated data stored in the storage means, and if it is determined that the difference value between both data is within a predetermined value, stop the operation of the calculation means, and calculate the difference between the two data. Comparison and judgment means for executing the operation of the calculation means when it is determined that the value exceeds a predetermined value, and control means for varying the characteristics of the musical tone according to the calculation data from the storage means. An electronic musical instrument.
JP59116645A 1984-06-08 1984-06-08 Electronic musical instrument with pitch bend Granted JPS60260997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59116645A JPS60260997A (en) 1984-06-08 1984-06-08 Electronic musical instrument with pitch bend

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59116645A JPS60260997A (en) 1984-06-08 1984-06-08 Electronic musical instrument with pitch bend

Publications (2)

Publication Number Publication Date
JPS60260997A JPS60260997A (en) 1985-12-24
JPH0313594B2 true JPH0313594B2 (en) 1991-02-22

Family

ID=14692343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59116645A Granted JPS60260997A (en) 1984-06-08 1984-06-08 Electronic musical instrument with pitch bend

Country Status (1)

Country Link
JP (1) JPS60260997A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2557363Y2 (en) * 1986-09-10 1997-12-10 カシオ計算機株式会社 Electronic musical instrument
JPH0738956Y2 (en) * 1987-10-02 1995-09-06 カシオ計算機株式会社 Music synthesizer
JPH02114297A (en) * 1988-10-25 1990-04-26 Yamaha Corp Effect device
JP2764961B2 (en) * 1988-11-18 1998-06-11 ヤマハ株式会社 Electronic musical instrument
JP2527059B2 (en) * 1990-01-10 1996-08-21 カシオ計算機株式会社 Effect device

Also Published As

Publication number Publication date
JPS60260997A (en) 1985-12-24

Similar Documents

Publication Publication Date Title
JPH032318B2 (en)
US5637821A (en) Storing and interpolating means for a musical sound generating device
US5308917A (en) Keyboard touch response setting apparatus
JPH0313594B2 (en)
JPH036957Y2 (en)
JP3384011B2 (en) Electronic musical instrument
JP2585508B2 (en) Tone generator
JPH0640263B2 (en) Electronic musical instrument
JP2699886B2 (en) Music control information generator
JPS6359157B2 (en)
JPS6322312B2 (en)
JP2950893B2 (en) Music signal generator
JP3059617B2 (en) Envelope signal generator and electronic musical instrument using the same
JP2611610B2 (en) Envelope generator
JP3221987B2 (en) Delay time modulation effect device
JPH0640268B2 (en) Frequency control device for electronic musical instruments
JP2649039B2 (en) Electronic musical instrument pitch data generator
JPH08185172A (en) Musical sound controller
JP3901054B2 (en) Parameter interpolation apparatus and parameter interpolation processing program
JPH03203783A (en) Envelope generating device
JP3057743B2 (en) Electronic musical instrument
JPH067325B2 (en) Operation data controller
JPH0467199B2 (en)
JPS61198295A (en) Electronic musical instrument
JPH0792664B2 (en) Vibrato controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term