JPS60260997A - Electronic musical instrument with pitch bend - Google Patents

Electronic musical instrument with pitch bend

Info

Publication number
JPS60260997A
JPS60260997A JP59116645A JP11664584A JPS60260997A JP S60260997 A JPS60260997 A JP S60260997A JP 59116645 A JP59116645 A JP 59116645A JP 11664584 A JP11664584 A JP 11664584A JP S60260997 A JPS60260997 A JP S60260997A
Authority
JP
Japan
Prior art keywords
data
pitch
pitch bend
output
section
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
JP59116645A
Other languages
Japanese (ja)
Other versions
JPH0313594B2 (en
Inventor
恒久 野木村
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)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明はピッチベンド付電子楽器に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to an electronic musical instrument with pitch bend.

〔従来技術〕[Prior art]

従来、ミュージックシン七すイザではピッチベンドの出
力を適当なサンプリング周期でA/D変換し、その変換
出力に基づき生成楽音のピッチを決めることが行われて
いる。
Conventionally, in a music synthesizer, the pitch bend output is A/D converted at an appropriate sampling period, and the pitch of the generated musical tone is determined based on the converted output.

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

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

上述した従来のものでは、A/D変換器より得られるデ
ータは、設定されたしきい値の値の間隔をもつ、飛び石
状に連続する一連のデータとなって好ましくない問題が
ある0 例えば、前回のA/D変換後のデータを0110”、L
きい値を2とすると、A/D変換器入力端子の電圧値が
増加する方向に変化した場合、A/D変換後のデータが
、0110+3(10)、すなわち’1001’″とな
るまでの間はデータは変化したとはみなされない。また
同様にして、次に得られるデータは1001 + 3n
o+、すなわち“1101″である。
In the conventional method described above, the data obtained from the A/D converter becomes a series of data that is continuous like a stepping stone and has an interval of the set threshold value, which is an undesirable problem. The data after the previous A/D conversion is 0110”, L
If the threshold value is 2, when the voltage value of the A/D converter input terminal changes in the increasing direction, the data after A/D conversion becomes 0110+3(10), that is, '1001'''. The data is not considered to have changed. Similarly, the next data obtained is 1001 + 3n
o+, that is, "1101".

つまり、上述の4ビツトA/D変換器に、ノイズ除去の
ために2のしきい値を設けたシステムでは、((3I+
の間隔をもつ、飛び石状に連続する一連のデータしか得
られないことになる。したがって、特にきめ細かな周波
数の変化がめられるヒ。
In other words, in a system in which the above-mentioned 4-bit A/D converter is provided with a threshold of 2 for noise removal, ((3I+
This means that only a continuous series of data with intervals of , like stepping stones, can be obtained. Therefore, it is especially important to observe fine-grained changes in frequency.

ッチベンド付電子楽器には不適当となる問題がある0 〔発明の目的〕 簡単な構成で誤差の少ない、滑かなベンド機能が得られ
るピッチベンド付電子楽器を提供することを目的とする
[Objective of the Invention] An object of the invention is to provide an electronic musical instrument with a pitch bend that has a simple configuration, has few errors, and can obtain a smooth bend function.

〔発明の要点〕[Key points of the invention]

ピッチベンドの出力をA/D変換してその変換出力に基
づくディジタル信号により楽音生成を行なうピッチベン
ド付電子楽器において、前記ディジタル信号が所定のし
きい値をオーツ(−シたか否かを判断して、而して前記
所定のしきい値をオーバーしたときには、前回の楽音生
成に用いた前記ディジタル信号と、今回のA/D変換出
力信号とに対し所定の演算を施して、今回の楽音生成用
のディジタル信号を得るようにしたことである。
In an electronic musical instrument with a pitch bend that performs A/D conversion of a pitch bend output and generates a musical tone using a digital signal based on the converted output, it is determined whether the digital signal exceeds a predetermined threshold value, When the predetermined threshold value is exceeded, a predetermined operation is performed on the digital signal used for the previous musical tone generation and the current A/D conversion output signal to generate the current musical tone generation signal. The purpose is to obtain digital signals.

〔実施例〕〔Example〕

以下、図面を参照してこの発明の一実施例を説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図において、1は鍵盤であり、例えば音高C1〜C
6までの61個の鍵を有する。そして6鍵からの信号は
QPU(中央処理装置)2に与えられて処理され、その
キーコードがピッチ情報作成部3及び楽音作成部4に出
力され・また6鍵のオン、オフ信号が楽音作成部4に出
力され !□: 執る。
In FIG. 1, 1 is a keyboard, for example, pitches C1 to C.
It has 61 keys up to 6. Then, the signals from the 6 keys are given to the QPU (central processing unit) 2 and processed, and the key codes are output to the pitch information creation section 3 and the musical tone creation section 4.The on/off signals of the 6 keys are used to create musical tones. Output to section 4! □: Take.

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

また図中6はピッチベンドであり、その出力はピッチベ
ンド検出部7によって検出され、A/D変換後、後述す
る平均値算出演算等を実行されて対応するピッチベンド
データとしてピッチ情報作成部3に与えられる。而して
ピッチ情報作成部3は前記ピッチベンドデータに対し、
該ピッチベンドデータ1ビツトあたりのΔPITCH(
m少ピッチ)を乗算し、またその結果データに0PU2
からのキーコードに応じたスケールコードを加算シテそ
の結果を楽音作成部4ヘピツチデータとして与える。
Further, 6 in the figure is a pitch bend, and its output is detected by the pitch bend detection section 7, and after A/D conversion, an average value calculation operation, etc., which will be described later, is executed, and the output is given to the pitch information creation section 3 as corresponding pitch bend data. . The pitch information creation unit 3 then generates the following information for the pitch bend data:
ΔPITCH per 1 bit of pitch bend data (
m small pitch), and the resulting data is multiplied by 0PU2
The scale code corresponding to the key code from is added and the result is given as pitch data to the musical tone creation section 4.

楽音作成部4は前記ピッチデータと、0PU2からのキ
ーオン、オフ信号、その他の音色、リズム等の楽音作成
情報に基づく楽音信号を作成し、それをD/A変換器8
に出力する。D/A変換器8に入力した楽音信号はアナ
ログの楽音信号に変換すれ、アンプ9、スピーカ10を
介し楽音として放音される。
The musical sound creation section 4 creates a musical sound signal based on the pitch data and musical sound creation information such as key-on and off signals from the 0PU 2, other tones, rhythms, etc., and transmits it to the D/A converter 8.
Output to. 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〜13oに与える。而して前記データ■の最
上位ビットデータが入力する排他的オアゲート137の
他端は常時″1″信号を供給され、またその他の排他的
オアゲート136〜130の各他端は常時゛0”信号を
供給されている。即ち、排他的オアゲート13.〜13
oはMSBのデータだけの反転回路となり、各排他的オ
アゲート137〜13oの出力(データAとも呼ぶ)は
、対応する排他的オアゲート14.〜14oの各一端に
入力する。この排他的オアゲート14.〜14゜の各他
端には共に前記データ■のMSBのデータが供給されて
いる。そして排他的オアゲート147〜14、の出力は
ピッチベンドデータBとして出力される。
FIG. 2 shows a specific configuration of the pitch bend detection section 7. As shown in FIG. The output of the pitch bend 6 is converted into digital data IN by an A/D converter 11, and is provided to a data converter 12. This data conversion unit 12 inputs the data IN and the previous calculation result data of the data conversion unit 12, averages them, and averages them to obtain the current calculation result data (data V
(also called 8-bit data) and provides it to exclusive OR gates 137-13o. The other end of the exclusive OR gate 137 to which the most significant bit data of the data (2) is input is always supplied with a "1" signal, and the other ends of each of the other exclusive OR gates 136 to 130 are always supplied with a "0" signal. That is, exclusive or gates 13.-13
o serves as an inversion circuit for only the MSB data, and the outputs (also referred to as data A) of each exclusive OR gate 137 to 13o are sent to the corresponding exclusive OR gate 14. ~14o. This exclusive or gate 14. The MSB data of the data (2) is supplied to each other end of the angle .about.14.degree. The outputs of exclusive OR gates 147 to 14 are output as pitch bend data B.

第3図は前記データ変換部12の具体的構成を示す。デ
ータINは加算器15及び比較部COMPの一端に入力
する。この加算器15にはバッファ17からのデータ■
が入力し、したがって両データIN、Vとが加算され、
その結果データ(1N+V )が%演算器16に与えら
れて(IN+V)/2を算出され、バッファ17に与え
る。したがって前記データVは、今回のデータINと、
前回の結果データ■とを平均したデータとなる。そして
この結果データ■はまた、比較部C!OMPの他端にも
入力する。この比較部00MPは、前記データINとデ
ータVとを比較し、IIN−Vl)3(このデータ3は
しきい値を示す)のとき、61″″レベルの信号Sを発
生して加算器15に印加する。
FIG. 3 shows a specific configuration of the data conversion section 12. Data IN is input to the adder 15 and one end of the comparator COMP. This adder 15 receives data from the buffer 17.
is input, therefore both data IN and V are added,
As a result, the data (1N+V) is given to the % calculator 16 to calculate (IN+V)/2 and given to the buffer 17. Therefore, the data V is the current data IN,
This data is the average of the previous result data and ■. And this result data ■ is also the comparison part C! Also input to the other end of OMP. The comparator 00MP compares the data IN and the data V, and when IIN-Vl)3 (this data 3 indicates a threshold), generates a signal S of 61'' level and sends the signal S to the adder 15. to be applied.

而して加算器15は1″の信号Sが入力したときのみ、
前記加算動作を実行し、0′の信号Sの入力時には加算
動作を実行しない。したかってこの非加算時には、バッ
ファ17の出力データ■は前回と同一であって変化しな
いことになる。
Therefore, the adder 15 only when the signal S of 1'' is input,
The addition operation is executed, and the addition operation is not executed when the signal S of 0' is input. Therefore, during this non-addition, the output data (2) of the buffer 17 is the same as the previous time and remains unchanged.

第4図はピッチ情報作成部3の具体的構成を示す。図中
、ROM(リードオンリメモリ)18は前記ΔPITC
Hを示すデータγ′16を半音単位で複数記憶しており
、而してスイッチ部5の所定スイッチによってピッチベ
ンド6によりピッチ最大変化を半音単位で指定されたと
き0PU2が対応してアドレス部19に出力するデータ
によって該アドレス部19によりアドレスされ、これに
より何れかのデータγ’+6を読出されて乗算部20に
与える。この乗算部20にはまたピッチベンドデータB
が入力しており、両データγ/、6、Bの乗算結果デー
タγ’、、XBが加算部2工に与えられる。この加算部
21にはCPU2からのキーコードに応じたスケールコ
ードが入力し、両者が加算されて )・仁ピッチデータ
として楽音作成部4へ送出される。
FIG. 4 shows a specific configuration of the pitch information creation section 3. In the figure, the ROM (read only memory) 18 is the ΔPITC
A plurality of data γ'16 indicating H are stored in semitone units, and when the pitch bend 6 specifies the maximum pitch change in semitone units by a predetermined switch in the switch unit 5, 0PU2 is correspondingly stored in the address unit 19. It is addressed by the address section 19 according to the data to be output, whereby any data γ'+6 is read out and given to the multiplication section 20. This multiplier 20 also contains pitch bend data B.
are input, and the multiplication result data γ', ,XB of both data γ/,6,B is given to the adder 2. A scale code corresponding to the key code from the CPU 2 is input to the addition section 21, and the two are added together and sent to the musical tone creation section 4 as ) pitch data.

而してこのピッチデータはセント比例した音高周波数情
報となる。
This pitch data then becomes pitch frequency information proportional to cents.

次に第5図ないし第11図を参照して動作を説明する。Next, the operation will be explained with reference to FIGS. 5 to 11.

妓で、第5図は前記ピッチ情報作成部3内の加算部21
が出力するピッチデータの構成を示す。面してこのピッ
チデータは金相°14ビットから成り、その下位6ビツ
トは半音以下のピッチを示すΔPITCH部、また上位
8ビツトはスケールフードを示す。また第6図はこのス
ケールコードを音高C1〜C6までの各音高につき示し
たもので、16進コード表現により表わされる。更に第
7図及び第8図は前記ΔP I T CHを説明する図
である。
FIG. 5 shows the addition section 21 in the pitch information creation section 3.
The structure of the pitch data output by is shown below. On the face of it, this pitch data consists of 14 bits of gold, the lower 6 bits of which are the ΔPITCH part indicating a pitch of less than a semitone, and the upper 8 bits are a scale hood. FIG. 6 shows this scale code for each pitch from C1 to C6, and is expressed in hexadecimal code. Further, FIGS. 7 and 8 are diagrams for explaining the ΔP I T CH.

即ち、第7図において、αは前記ピッチベンド6による
ピッチ最大変化として半音データを表わす「□oooo
ooIJを例示している。またβはピッチベンドの最大
可変節1fflr01111111」を例示している。
That is, in FIG. 7, α represents semitone data as the maximum change in pitch due to the pitch bend 6.
ooIJ is illustrated. Further, β is an example of "maximum variable pitch pitch bend 1fflr01111111".

而してMSBの「0」はサインビットである。更にγは
前記αのデータを、前記βのデータで割算してピッチベ
ンド1ビツトあたりのΔPITC!Hをめた結果を例示
しており、図示する値となる。即ち、この値を16進コ
ードで示せばγ、、=00.0204081となる。
The MSB "0" is a sign bit. Further, γ is calculated by dividing the data of α by the data of β to obtain ΔPITC! per pitch bend bit. This example shows the result obtained by calculating H, and the values shown in the figure are obtained. That is, if this value is expressed in hexadecimal code, it becomes γ, .=00.0204081.

そして図示の位置で丸めるとビ、ツチ最大変化が半音の
場合のデータγ′、6は00.020となる。
Then, when rounding at the positions shown in the figure, the data γ',6 when the maximum change is a semitone becomes 00.020.

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

そこで演奏開始前に前記所定スイッチを望む位置、例え
ばピッチ最大変化が半音の3倍となるように設定してお
くと、その設定位置出力がCPU2により処理され、ア
ドレス部19に対して半音の3倍に対するγ′8.を読
出すためのデータを与えROM18をアドレス指定させ
る。したがって以後、γ′16として第8図から、ro
o、o6BのΔPITCHがROM18から読出され、
乗算$20に与えられることになり、ピッチベンド6を
そのピッチ最小位置からピッチ最大位置まで変化させる
とき、生成楽音のピッチは最大1音半分変化するように
なる。
Therefore, if the predetermined switch is set to a desired position, for example, so that the maximum pitch change is three times a semitone, before the performance starts, the set position output is processed by the CPU 2 and sent to the address section 19, which is three times the semitone. γ'8 for times. The ROM 18 is addressed by giving data for reading it. Therefore, from now on, from FIG. 8 as γ'16, ro
ΔPITCH of o, o6B is read from ROM18,
When the pitch bend 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を必要に応じて
操作しながら曲の演奏を行う。その場合、前記針の出力
は0PU2に入力してキーコード及びキーのオン、オフ
信号が作成され、キーコードはピッチ情報作成部3及び
楽音作成部4に与えられ、またキーのオン、オフ信号は
楽音作成部4&こ与えられる。また楽音作成部4にはス
イッチ部5からのリズム、音色等の他の楽音生成情報も
与えられる。
As described above, after setting the predetermined switches, the user operates the cup on the keyboard 1 and performs the song while operating the pitch bend 6 as necessary. In that case, the output of the needle is input to 0PU2 to create a key code and key on/off signals, the key code is given to the pitch information creation section 3 and musical tone creation section 4, and the key on/off signal is given to the musical 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変換V+ i i
 bこよりA/Dg換され、データINとしてf−夕変
換部12に与えられる。而してこのデータ挺換部12で
は、前記データINと、前回の演算結果であるデータV
とが比較部00MPに入力してIIN−Vi)3か否か
が判断される。そしてIIN−Vl)3のときには1”
、そうでないときは“0”の信号Sが夫々比較部C! 
OMPから出力し、加算器15に印加される。
On the other hand, in the pitch bend detection section 7, the pitch bend output is A/D converted V + i i at a predetermined sampling period.
The data is A/Dg converted from b and given to the f-to-digital converter 12 as data IN. The data converter 12 then converts the data IN and the data V which is the result of the previous calculation.
is input to the comparison unit 00MP, and it is determined whether or not IIN-Vi)3. And when IIN-Vl)3, it is 1”
, otherwise, the signal S of "0" is sent to the comparison section C!, respectively.
The signal is output from the OMP and applied to the adder 15.

而して加算器15は信号Sがパ0”のときにはデータI
Nとデータ■との加算動作を実行せず、したがって今回
、バッファ17から出力するデータ■は前回と同一であ
り、換言すればピッチの変化が所定の前記しきい値「3
」より小で、ピッチの変化はなかったものとみなされる
ことになる。
Therefore, when the signal S is 0'', the adder 15 outputs the data I.
The addition operation of N and data ■ is not executed, and therefore the data ■ output from the buffer 17 this time is the same as the previous time. In other words, the change in pitch is equal to the predetermined threshold value "3
”, it is assumed that there was no change in pitch.

他方、信号SがIN I I+として出力したときには
、加算器15は前記データVとデータINとを加算しく
即ち、前回と今回ではピッチの変化があったとみなすも
のである)、その加算結果(I N+V )が次に%演
算器16により平均されて(I N十V )/2とされ
、バッファ17に与えられてデータVとされる。而して
このデータVは加算器15及び比較部00MPに戻され
て次のサンプリング周期の演算に備えられると共に、排
他的オアゲー 、 !、、q37〜13.に送られる。
On the other hand, when the signal S is output as IN I I+, the adder 15 adds the data V and the data IN (in other words, it is assumed that there was a change in pitch between the previous time and this time), and the addition result (I N+V ) is then averaged by the % calculator 16 to (I N +V )/2, and is provided to the buffer 17 as data V. This data V is then returned to the adder 15 and the comparator 00MP to be prepared for the calculation of the next sampling period, and the exclusive or game, ! ,,q37~13. sent to.

排他的オアゲート13.〜13□では前記データVのM
SBのみ反転してデータAを排他的オアゲート14□〜
]、4oに与える。而してこのデータAは、前記データ
AのMSEが” o ”のときは全ビットデータAと同
一のデータBとして排他的オアゲート147〜14oか
ら出力されると共に、DtJ記テーデーのへ4SB力げ
1″のときは全ビットデータAを反転したデータおとし
て出力され、ピッチベンドデータとされる。
Exclusive or gate 13. ~13□, M of the data V
Invert only SB and send data A to exclusive OR gate 14□~
], give to 4o. When the MSE of the data A is "o", this data A is output from the exclusive OR gates 147 to 14o as data B, which is the same as all bit data A, and is also outputted from the 4SB input to the data in DtJ. When it is 1'', all bit data A is inverted and output as pitch bend data.

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

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

第10図は前記データ変換部12の平均演算の効果を説
明するための図である。即ち、ピッチベンド6は一定位
簡に固定しているにもかがわらず、外来ノイズ等によっ
てA/D変換器11の出力データINに直線性の誤差が
発生している状況を示す。ここで前回のデータ■を「9
9」とする。連続するサンプリング点A−Jのうち、点
A、BではデータINの値がl’−99J、点0.E、
H,Iではrlooj、Dでは「98J、Fでは「10
1」、GlJでは「97」となっている。然しなからデ
ータ変換部12では隣接する点間で、前記関係式IIN
−v+>3のときには前記出力データINの変化をみと
めて平均をとるため(なお、%演算器16はこの場合、
小数点以下切捨て演算を行う)常に「99」の値となっ
てA/D変換器11の出力が補正される。
FIG. 10 is a diagram for explaining the effect of the average calculation of the data conversion section 12. That is, although the pitch bend 6 is simply fixed to a certain degree, a linearity error occurs in the output data IN of the A/D converter 11 due to external noise or the like. Here, change the previous data to “9”.
9”. Among the consecutive sampling points A-J, the value of data IN at points A and B is l'-99J, point 0. E,
rlooj for H and I, "98J" for D, "10" for F.
1", and in GlJ it is "97". However, in the data conversion unit 12, between adjacent points, the relational expression IIN
When -v+>3, the change in the output data IN is observed and averaged (in this case, the % calculator 16
The output of the A/D converter 11 is corrected so that the value is always "99" (by rounding down to the decimal point).

第11図もデータ変換部12の平均演算の効果を説明す
る図であり、この場合はピッチベンド6を急激に変化さ
せた例である。而して図中の実線1、からt2に変化し
た時は、今回のデータINがしきい値を越えて変化して
おり、t2以後は、今回のデータINは変化がないとす
る。而して図面から分かるように、隣接する各サンプリ
ング点間において、常に今回のデータINと、前回の演
算結果とが比較され、しきい値を越えた時、今回のデー
タINと、前回の演算結果とが平均されて今回のサンプ
リング点の補正データVとされるため、A/D変換器1
1のサンプリング周期が太きくてもデータVはデータI
Nの急激な変化に対して滑かな値となり、しかも外来ノ
イズ等の誤差を含む率が非常に少いものとなっている。
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 bend 6 is suddenly changed. When the solid line 1 in the figure changes to t2, the current data IN has changed beyond the threshold value, and after t2, it is assumed that the current data IN does not change. As can be seen from the drawing, the current data IN and the previous calculation result are always compared between adjacent sampling points, and when the threshold value is exceeded, the current data IN and the previous calculation result are compared. Since the results are averaged and used as correction data V for the current sampling point, the A/D converter 1
Even if the sampling period of 1 is thick, data V is data I
The value is smooth against sudden changes in N, and the rate of errors such as external noise is extremely small.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したように、ピッチベンドの出力を
A/D変換してその変換出力に基づくディジタル信号に
より楽音生成を行うピッチベンド付電子楽器において、
前記ディジタル信号が所定のしきい値をオーバーしたか
否かを判断して、その結果、前記しきい値をオーバーし
たときには、前回の楽音生成に用いた前記ディジタル信
号と、今回のA/D変換出力信号とに対し所定の演算を
施して今回の奈音生成用のディジタル信号を得るように
したから、外来ノイズに対し充分な対策が簡単な構成で
とれて、誤差の少ない、滑かなベンド機能が得られる利
点がある。
As explained above, the present invention provides an electronic musical instrument with a pitch bend that converts the output of the pitch bend into an A/D converter and generates a musical tone using a digital signal based on the converted output.
It is determined whether or not the digital signal exceeds a predetermined threshold, and as a result, if the digital signal exceeds the threshold, the digital signal used for the previous musical tone generation and the current A/D conversion are Since the digital signal for generating the natural sound is obtained by performing a predetermined calculation on the output signal, sufficient countermeasures against external noise can be taken with a simple configuration, and a smooth bending function with few errors can be achieved. There are advantages that can be obtained.

4、図面の簡単な説明 11.、。4. Brief explanation of the drawings 11. ,.

第1図はこの発明の一実施例のピッチベンド付電子楽器
の構成図、第2図はピッチベンド検出部7の具体的構成
図、第3図はデータ変換部12の具体的構成図、第4図
はピッチ情報作成部3の具体的構成図、第5図はピッチ
データの構成図、第6図はスケールコードを示す図、第
7図はΔPIT CHを得るための各種データの例を示
す図、第8図は12独類のピッチ最大鋭化に対するデー
タγI6、γ′16の内容を示す図、第9図はピッチベ
ンド検出部7におけるデータV、A、Bとの対応関係を
示す図、第10図はピッチベンド6を停止しているとき
の外来ノイズ等によるデータINの変化状態全示す図、
第11図はピッチベンド6を操作しているときのデータ
INとVとの関係を示すしjである。
FIG. 1 is a block diagram of an electronic musical instrument with pitch bend according to an embodiment of the present invention, FIG. 2 is a specific block diagram of the pitch bend detecting section 7, FIG. 3 is a specific block diagram of the data converting section 12, and FIG. 5 is a diagram showing a configuration 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 ΔPIT CH. FIG. 8 is a diagram showing the contents of data γI6 and γ'16 for maximum pitch sharpening of 12 unique pitches, FIG. 9 is a diagram showing the correspondence with data V, A, and B in the pitch bend detection section 7, and FIG. The figure shows all the changes in data IN due to external noise etc. when the pitch bend 6 is stopped.
FIG. 11 shows the relationship between data IN and V when the pitch bend 6 is operated.

1・・・・・・鍵盤、2・・・・・・CPU、3・川・
・ピッチ情報作成部、4・・・・・・楽音作成部、5・
・・・・・スイッチ部、6・・・・・・ピッチベンド、
7・・・10.ピッチベンド検出部、8・・・・・・D
 / A 変に器、9・・・・・・アンプ、1o・・・
・・・スピーカ、15・・・・・・加算器、16・・・
・・・%演算器、COMF・・・・・・比較部、18・
・・・・・ROM、19・・・・・・アドレス部、20
・・・・・・乗算部、21・・・・・・加算部。
1... Keyboard, 2... CPU, 3... River...
・Pitch information creation section, 4... Musical tone creation section, 5.
...Switch section, 6...Pitch bend,
7...10. Pitch bend detection section, 8...D
/ A strange device, 9...amplifier, 1o...
...Speaker, 15...Adder, 16...
...% calculation unit, COMF...comparison section, 18.
...ROM, 19 ...Address section, 20
. . . Multiplication section, 21 . . . Addition section.

特許出願人 カシオ計算機株式会社 第3図 ■ 第4図 身1作1へ 第9図 第10図 A/b助(JN) ↑ A市)〉71す〉7′■1月 第11図 To 14 f工 b t4b tbPatent applicant: Casio Computer Co., Ltd. Figure 3 ■ Figure 4 Body 1 work 1 Figure 9 Figure 10 A/b assistant (JN) ↑ City A)〉71〉7′■January Figure 11 To 14 f engineering b t4b tb

Claims (2)

【特許請求の範囲】[Claims] (1) ピッチベンドの出力をA/D変換してその変換
出力に基づくディジタル信号により楽音生成を行なうピ
ッチベンド付電子楽器において、前記ディジクル信号が
所定のしきい値をオーバーしたか否かを判断する判断手
段と、この判断手段が前記所定のしきい値のオーバーを
判断したとき、前回の楽音生成に用いた前記ディジタル
信号と前記ピッチベンドの出力をA/D変換した信号と
に対し所定の演算を施して今回の楽音生成用ディジクル
信号を得る演算手段を有することを特徴とするピッチベ
ンド付電子楽器。
(1) In an electronic musical instrument with a pitch bend that converts a pitch bend output into A/D and generates a musical tone using a digital signal based on the converted output, a judgment is made to determine whether or not the digital signal exceeds a predetermined threshold value. means, and when this determining means determines that the predetermined threshold value has been exceeded, a predetermined operation is performed on the digital signal used for the previous musical tone generation and the signal obtained by A/D converting the output of the pitch bend. An electronic musical instrument with a pitch bend, characterized in that it has arithmetic means for obtaining a digital signal for musical tone generation.
(2)前記演算手段は、前記所定の演算として平均値算
出演算を行うことを特徴とする特許請求の範囲第1項記
載のピッチベンド付電子楽器。
(2) The pitch bend electronic musical instrument according to claim 1, wherein the calculation means performs an average value calculation calculation as the predetermined calculation.
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 true JPS60260997A (en) 1985-12-24
JPH0313594B2 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6345594U (en) * 1986-09-10 1988-03-28
JPS6455991U (en) * 1987-10-02 1989-04-06
JPH02114297A (en) * 1988-10-25 1990-04-26 Yamaha Corp Effect device
JPH02137890A (en) * 1988-11-18 1990-05-28 Yamaha Corp Electronic musical instrument
JPH02222996A (en) * 1990-01-10 1990-09-05 Casio Comput Co Ltd Effector for electronic musical instrument

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6345594U (en) * 1986-09-10 1988-03-28
JP2557363Y2 (en) * 1986-09-10 1997-12-10 カシオ計算機株式会社 Electronic musical instrument
JPS6455991U (en) * 1987-10-02 1989-04-06
JPH0738956Y2 (en) * 1987-10-02 1995-09-06 カシオ計算機株式会社 Music synthesizer
JPH02114297A (en) * 1988-10-25 1990-04-26 Yamaha Corp Effect device
JPH02137890A (en) * 1988-11-18 1990-05-28 Yamaha Corp Electronic musical instrument
JPH02222996A (en) * 1990-01-10 1990-09-05 Casio Comput Co Ltd Effector for electronic musical instrument
JP2527059B2 (en) * 1990-01-10 1996-08-21 カシオ計算機株式会社 Effect device

Also Published As

Publication number Publication date
JPH0313594B2 (en) 1991-02-22

Similar Documents

Publication Publication Date Title
JPS60177397A (en) Electronic musical instrument with pitch bend
US5637821A (en) Storing and interpolating means for a musical sound generating device
JPS60260997A (en) Electronic musical instrument with pitch bend
US8362348B2 (en) Electronic musical apparatus for generating a harmony note
JPH036957Y2 (en)
JPS61198296A (en) Electronic musical instrument
US4421003A (en) Envelope generator for electronic musical instruments
JP2649039B2 (en) Electronic musical instrument pitch data generator
JP2649866B2 (en) Touch conversion device for electronic musical instruments
JPH0626958Y2 (en) Electronic musical instrument
JPH06202660A (en) Electronic musical instrument
JP2639893B2 (en) Electronic musical instrument pitch data generator
JP2699886B2 (en) Music control information generator
JPS62246096A (en) Electronic musical instrument
JP2950893B2 (en) Music signal generator
JPH0631964B2 (en) Electronic musical instrument
JPS61188591A (en) Electronic musical instrument
JP3168654B2 (en) Music generator
JPH0640268B2 (en) Frequency control device for electronic musical instruments
JPS61198295A (en) Electronic musical instrument
JPH04166896A (en) Electronic musical instrument
JPS6145286A (en) Electronic musical instrument
JPH0468639B2 (en)
JPH0467199B2 (en)
JP3901054B2 (en) Parameter interpolation apparatus and parameter interpolation processing program

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term