JPH0640262B2 - Electronic musical instrument with tuning device - Google Patents

Electronic musical instrument with tuning device

Info

Publication number
JPH0640262B2
JPH0640262B2 JP59132959A JP13295984A JPH0640262B2 JP H0640262 B2 JPH0640262 B2 JP H0640262B2 JP 59132959 A JP59132959 A JP 59132959A JP 13295984 A JP13295984 A JP 13295984A JP H0640262 B2 JPH0640262 B2 JP H0640262B2
Authority
JP
Japan
Prior art keywords
pitch
register
input signal
octave
data
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 - Fee Related
Application number
JP59132959A
Other languages
Japanese (ja)
Other versions
JPS6113297A (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.)
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 JP59132959A priority Critical patent/JPH0640262B2/en
Publication of JPS6113297A publication Critical patent/JPS6113297A/en
Publication of JPH0640262B2 publication Critical patent/JPH0640262B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は調律装置付電子楽器に関し、特に音楽教育に
適したものに関する。
TECHNICAL FIELD The present invention relates to an electronic musical instrument with a tuning device, and particularly to a musical instrument suitable for music education.

〔従来の技術〕[Conventional technology]

従来の調律装置は、例えば実開昭59−20297号に
示されたもののように、単体の装置から成り、外部から
入力された楽器音信号の基準ピッチに対するピッチずれ
を可視表示することにより、外部入力した楽器音の調律
を行う際の補助具として機能している。また、この種の
調律装置は特定の楽器(例えば、ギターやベースなど)
の調律を対象としており、予め特定の基準ピッチのピッ
チ情報だけを準備しておき、これと外部入力信号のピッ
チとを比較するようになっている。
A conventional tuning device is, for example, as shown in Japanese Utility Model Laid-Open No. 59-20297, is composed of a single device, and by visually displaying the pitch deviation of a musical instrument sound signal input from the outside with respect to a reference pitch, It functions as an auxiliary tool when tuning the input instrument sound. In addition, this type of tuning device can be used with certain musical instruments (eg, guitars, basses, etc.).
Is prepared, only pitch information of a specific reference pitch is prepared in advance, and this is compared with the pitch of the external input signal.

一方、特開昭50−51718号においては、エレキギ
ター、エレキベース等のチューニングのために、基準音
発振源を具備し、この基準音を調律対象音とともに発音
することができるようにすると共に、基準音のオクター
ブをスイッチの切換操作により変更することができるよ
うにしたことが開示されている。基準音は440Hzを
中心にしており、可変抵抗の操作により上下に或る程度
ピッチを制御できることが示されている。
On the other hand, in Japanese Patent Application Laid-Open No. 50-51718, a reference tone oscillating source is provided for tuning an electric guitar, an electric bass, etc., and this reference tone can be produced together with a tuning target tone. It is disclosed that the octave of the reference tone can be changed by the switching operation of the switch. The reference sound is centered around 440 Hz, and it is shown that the pitch can be controlled to some extent up and down by operating the variable resistor.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記実開昭59−20297号に示された調律装置は、
単にピッチずれを可視表示するだけであるので、正しい
基準ピッチがどのように音高であるかを聴覚的に知らせ
ることはできず、教育効果に欠けている。従って、特定
楽器の調律のためのピッチずれ測定及び表示器としては
別段問題なく使用できるが、音楽教育にも使用し得る調
律装置としては不十分であった。また、調律対象となる
音高も特定のピッチに限られてしまうので、その点でも
不十分であった。一方、特開昭50−51718号にお
いては、調律にあたって基準音を発音すると共にその基
準音のピッチもある程度調整できることが示されてはい
るが、基準音のオクターブを切り換えるためには、意識
的な切り替えスイッチ操作を行わねばならず、面倒であ
る。
The tuning device shown in Japanese Utility Model Publication No. 59-20297,
Since the pitch deviation is simply displayed visually, it is not possible to auditorily inform how the correct reference pitch is the pitch, and the educational effect is lacking. Therefore, it can be used without any problem as a pitch deviation measuring and displaying device for tuning a specific musical instrument, but it is insufficient as a tuning device that can also be used for music education. Further, the pitch to be tuned is also limited to a specific pitch, which is also insufficient. On the other hand, in Japanese Patent Laid-Open No. 50-51718, it is shown that a reference tone can be produced in tuning and the pitch of the reference tone can be adjusted to some extent. However, in order to switch the octave of the reference tone, it is conscious It is troublesome to operate the changeover switch.

この発明は上述の点に鑑みてなされたもので、基準ピッ
チに対応する楽音を発音し得るようにして教育効果を高
めると共に、基準ピッチを操作子によって任意に選択で
きるようにし、しかもその基準ピッチの選択が調律対象
である外部入力信号のオクターブに無関係にその音名の
みを考慮して行えるようにし、基準ピッチと外部入力信
号のオクターブ関係を自動的に調節するようにした調律
装置付電子楽器を提供しようとするものである。
The present invention has been made in view of the above points, and enhances the educational effect by being able to generate a musical sound corresponding to the reference pitch, and allows the reference pitch to be arbitrarily selected by the operator, and the reference pitch The electronic musical instrument with a tuning device that automatically selects the reference pitch and the octave relationship between the external input signal, and allows the selection of the pitch regardless of the octave of the external input signal that is the tuning target. Is to provide.

特に、この発明は、基準ピッチと外部入力信号のオクタ
ーブ関係を自動的に調節するようにしたことに伴い生じ
る下記のような問題点を解決することができるようにし
た調律装置付電子楽器を提供しようとするものである。
すなわち、基準ピッチと外部入力信号のオクターブ関係
を自動的に調節するようにしたことに伴い、調律対象で
ある外部入力信号の周波数レンジを大きくとることが可
能になるが、入力信号の周波数レンジが広がると、その
周波数又は周期を測定するための回路において、どの周
波数帯域でも精度良く測定を行うのは困難になる。これ
は周波数又は周期測定用の回路の構成回路それ自体が周
波数特性を持っているため、広い周波数レンジの全域に
良好な特性を示すことは困難なためである。
In particular, the present invention provides an electronic musical instrument with a tuning device capable of solving the following problems caused by automatically adjusting the octave relationship between the reference pitch and the external input signal. Is what you are trying to do.
That is, by automatically adjusting the octave relationship between the reference pitch and the external input signal, it is possible to increase the frequency range of the external input signal to be tuned, but the frequency range of the input signal is If it spreads, it becomes difficult for the circuit for measuring the frequency or period to perform accurate measurement in any frequency band. This is because the constituent circuit of the circuit for measuring the frequency or the period itself has frequency characteristics, and it is difficult to exhibit good characteristics over the entire wide frequency range.

〔課題を解決するための手段〕[Means for Solving the Problems]

この発明の基本構成について第1図を参照して説明する
と、所望の音高を選択するために複数の操作子2(例え
ば鍵盤における複数の鍵)が設けられており、該操作子
2の操作に応じて選択された音高に対応する楽音を発生
するために楽音発生手段4が設けられている。測定手段
3は、調律対象である信号を外部から入力し、この入力
信号の周波数又は周期を測定する。比較基準データ発生
手段5では、操作子2によって選択された音高を基準ピ
ッチとして、この基準ピッチに対応する比較基準データ
を発生する。この比較基準データと測定手段3による測
定データとが比較手段6で比較され、その比較結果が表
示手段1で表示される。表示手段1は、外部入力信号の
ピッチ又は基準ピッチに対するそのピッチずれに対応す
る表示を行うもので、例えば、基準ピッチに対するピッ
チずれの大きさに対応する複数の表示セグメントから成
り、基準ピッチに対する外部入力信号のピッチずれに対
応する表示セグメントを点灯する。比較手段6に関連し
て比較制御手段7が設けられており、比較手段6で用い
る比較基準データと測定データの一方をオクターブ単位
で変更すると共に、このオクターブ単位のデータ変更に
応じて測定手段3における測定条件を制御する応答制御
信号を発生する。
The basic configuration of the present invention will be described with reference to FIG. 1. A plurality of operators 2 (for example, a plurality of keys on a keyboard) are provided to select a desired pitch, and the operation of the operators 2 is described. A tone generating means 4 is provided to generate a tone corresponding to the pitch selected according to the above. The measuring means 3 inputs a signal to be tuned from the outside and measures the frequency or period of this input signal. The comparison reference data generating means 5 uses the pitch selected by the operator 2 as a reference pitch and generates comparison reference data corresponding to this reference pitch. The comparison reference data and the measurement data obtained by the measuring means 3 are compared by the comparing means 6, and the comparison result is displayed on the display means 1. The display means 1 performs a display corresponding to the pitch of the external input signal or its pitch deviation with respect to the reference pitch, and comprises, for example, a plurality of display segments corresponding to the magnitude of the pitch deviation with respect to the reference pitch. The display segment corresponding to the pitch shift of the input signal is turned on. The comparison control means 7 is provided in association with the comparison means 6, and one of the comparison reference data and the measurement data used by the comparison means 6 is changed in octave units, and the measurement means 3 is changed in accordance with the change in the octave units. Generate a response control signal that controls the measurement conditions at.

比較手段6における比較形式は種々考えられ、比較基準
データの形式もその比較形式に応じて適宜の形式をと
る。どのような比較形式をとるかは余り重要ではなく、
要は基準ピッチを基準にして外部入力信号のピッチ又は
ピッチずれが判定できるようになっていればよい。従っ
て、比較基準データは、基準ピッチそのものを示す周波
数又は周期データであってもよく、あるいは基準ピッチ
に対して所定のピッチずれを示す何通りかのピッチの周
波数又は周期データなど何らかの形で基準ピッチに対応
しているデータであればよい。
Various comparison formats in the comparison means 6 are conceivable, and the format of the comparison reference data also takes an appropriate format according to the comparison format. It doesn't really matter what kind of comparison you take,
The point is that the pitch or pitch deviation of the external input signal can be determined with reference to the reference pitch. Therefore, the comparison reference data may be frequency or period data indicating the reference pitch itself, or some form of reference pitch such as frequency or period data of several pitches indicating a predetermined pitch deviation from the reference pitch. Any data that corresponds to

〔作用〕[Action]

調律しようとする外部入力信号の正規のピッチに対応す
る音高を操作子2で選択し、これを基準ピッチとする。
すると、選択された音高に対応する楽音が楽音発生手段
4によって発生されるので、発生音を聴き取ることによ
り基準ピッチすなわち調律しようとする正規のピッチを
聴覚的に確認することができる。これは調律の際に正し
い音感を身につけるようにすることができるので、音楽
教育上非常に役に立つ。この場合、楽音発生手段4で発
生する基準ピッチの楽音の音色を外部入力信号の音色と
同じ若しくは近似したものとすることができるので、よ
り一層正しい音感を培うことができる。
The pitch corresponding to the regular pitch of the external input signal to be tuned is selected by the operator 2, and this is set as the reference pitch.
Then, the musical tone corresponding to the selected pitch is generated by the musical tone generating means 4, so that the reference pitch, that is, the regular pitch to be tuned can be auditorily confirmed by listening to the generated tone. This is very useful for music education, because you can acquire the correct pitch when tuning. In this case, the tone color of the tone having the reference pitch generated by the tone generating means 4 can be made to be the same as or close to the tone color of the external input signal, so that a more accurate tone can be cultivated.

比較手段6において調律のための有効な比較を行い得る
ようにするには、基準ピッチと入力信号のピッチのオク
ターブが同じであることが一般に要求される。そのため
には操作子2で基準ピッチの選択操作を行うとき、入力
信号の音名のみならずオクターブも考慮して行わねばな
らないので面倒である。しかし、この発明によればその
必要はなく、オクターブに無関係に音名のみを考慮して
基準ピッチの選択操作を行えばよい。これは、比較制御
手段7において比較基準データ又は測定データの少なく
とも一方がオクターブ単位で自動的に変更され、両デー
タのオクターブが共通になるように制御されるからであ
る。このようなオクターブ単位のデータ変更は、換言す
れば、外部入力信号のオクターブ音域をサーチしている
ことにほかならない。
In order to be able to make an effective comparison for tuning in the comparison means 6, it is generally required that the octave of the reference pitch and the pitch of the input signal be the same. For that purpose, when selecting the reference pitch with the operator 2, it is necessary to consider not only the note name of the input signal but also the octave, which is troublesome. However, according to the present invention, this is not necessary, and the reference pitch may be selected by considering only the note name regardless of the octave. This is because the comparison control means 7 automatically changes at least one of the comparison reference data and the measurement data in units of octaves, and controls so that the octaves of both data are common. In other words, such data change in units of octaves is nothing but searching the octave range of the external input signal.

基準ピッチと外部入力信号のオクターブ関係を自動的に
調節するようにしたことに伴ない、調律対象である外部
入力信号の周波数レンジを大きくとることが可能であ
る。しかし、入力信号の周波数レンジが広がると、その
周波数又は周期を測定するための測定手段3において、
どの周波数帯域でも精度良く測定を行うのは困難とな
る。これは、測定手段3内の構成回路が周波数特性を持
っているため、広い周波数レンジの全域に良好な特性を
示すことは困難なためである。そこで、この発明では、
比較制御手段7において、オクターブ単位のデータ変更
すなわちサーチした外部入力信号のオクターブ音域に応
じて応答制御信号を発生し、この応答制御信号に応じて
測定手段3の測定条件(周波数応答性能又は周波数特
性)を制御するようにしている。こうして、外部入力信
号の音域に応じて測定条件を切換えることにより、どの
音域の外部入力信号に対しても精度良く測定を行うこと
ができるようになる。
Since the octave relationship between the reference pitch and the external input signal is automatically adjusted, it is possible to increase the frequency range of the external input signal to be tuned. However, when the frequency range of the input signal is widened, in the measuring means 3 for measuring the frequency or period,
It is difficult to measure accurately in any frequency band. This is because it is difficult to show good characteristics in the entire wide frequency range because the constituent circuits in the measuring means 3 have frequency characteristics. So, in this invention,
In the comparison control means 7, a response control signal is generated according to the octave range of the external input signal which is changed in octave units, that is, a search condition of the measuring means 3 (frequency response performance or frequency characteristic is generated according to the response control signal. ) Is trying to control. In this way, by switching the measurement condition according to the tone range of the external input signal, it becomes possible to perform the measurement with high precision on the external input signal in any tone range.

〔実施例〕〔Example〕

以下添付図面を参照してこの発明の一実施例を詳細に説
明しよう。
An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第2図にはこの発明に係る調律装置付電子楽器のハード
構成が示されている。
FIG. 2 shows a hardware configuration of an electronic musical instrument with a tuning device according to the present invention.

キースイッチ回路10は鍵盤KBの各鍵に対応するキー
スイッチを含んでいる。音色及びその他操作子回路11
は音色その他の楽音要素を選択・設定・制御するための
複数の操作子を含んでおり、必要に応じて各操作子に対
応する表示手段も含んでいる。マイクロコンピュータ1
2はこの電子楽器の動作を制御するためのものであり、
大別して、キースイッチ回路10の各キースイッチを走
査して押圧鍵を検出し、押圧鍵の発音を複数の楽音発生
チャンネルのいずれかに割当てる機能と、音色及びその
他操作子回路11を走査して音色その他楽音要素の選択
・設定・制御内容を検出する機能と、調律機能とを具備
している。楽音形成回路13は、複数の楽音発生チャン
ネルで夫々独立に楽音信号を形成することができるもの
であり、マイクロコンピュータ12による制御の下に、
各チャンネルに割当てられた押圧鍵の音高情報に与えら
れると共に音色その他楽音要素の制御情報が与えられ、
これらの情報に基き楽音信号を形成する。楽音形成回路
13で形成された楽音信号はサウンドシステム14に与
えられ、発音される。このような電子楽器の一般的な楽
音発生機能は、通常知られたものであり、いかなる構成
を用いて実現するようにしてもよいので、その詳細は特
に説明しない。
The key switch circuit 10 includes a key switch corresponding to each key of the keyboard KB. Tones and other manipulator circuits 11
Includes a plurality of manipulators for selecting, setting and controlling tone colors and other musical sound elements, and also includes display means corresponding to each manipulator as necessary. Microcomputer 1
2 is for controlling the operation of this electronic musical instrument,
Broadly speaking, each key switch of the key switch circuit 10 is scanned to detect a pressed key, and the function of assigning the sound of the pressed key to any of a plurality of tone generation channels and the tone color and other operator circuit 11 are scanned. It has a tuning function and a function to detect the selection, setting, and control of tone colors and other musical sound elements. The tone forming circuit 13 is capable of independently forming tone signals in a plurality of tone generating channels, and under the control of the microcomputer 12,
It is given to the pitch information of the pressed key assigned to each channel and the control information of the tone color and other musical tone elements,
A tone signal is formed based on these pieces of information. The musical tone signal formed by the musical tone forming circuit 13 is given to the sound system 14 and is sounded. The general musical tone generating function of such an electronic musical instrument is generally known and may be realized by using any structure, and therefore the details thereof will not be described.

基準ピッチに対するピッチずれの大きさに対応して設け
られた複数の表示セグメント1a〜1nは、例えば発光
ダイオード(以下LEDという)から成る。これらの各
セグメント1a〜1nは具体的には夫々所定のピッチず
れ幅に対応している。各ピッチずれ幅の境界値の一例は
第2図中に示したようであり、−40〜−30セント,−30
〜−20セント,−20〜−10セント,−10〜−3セント,
−3〜−1セント,−1〜+1セント,+1〜+3セン
ト,+3〜+10セント,+10〜+20セント,+20〜+30
セント,+30〜+40セント,の11通りのピッチずれ幅に
対応して11個のセグメント1a〜1nが設けられてい
る。なお、マイクロコンピュータ12においては−80〜
−40セント及び+40〜+80セントのピッチずれ幅に関し
ても判断処理を行うが、このピッチずれ幅に対応する表
示セグメントは設けられていない。判断処理を行うピッ
チずれ幅を拡大した理由については後述する。
The plurality of display segments 1a to 1n provided corresponding to the magnitude of the pitch shift with respect to the reference pitch are composed of, for example, light emitting diodes (hereinafter referred to as LEDs). Each of these segments 1a to 1n specifically corresponds to a predetermined pitch shift width. An example of the boundary value of each pitch deviation width is as shown in FIG. 2, and is −40 to −30 cents, −30.
~ -20 cents, -20 to -10 cents, -10 to -3 cents,
-3 to -1 cent, -1 to +1 cent, +1 to +3 cent, +3 to +10 cent, +10 to +20 cent, +20 to +30
Eleven segments 1a to 1n are provided corresponding to eleven kinds of pitch deviation widths of cents and +30 to +40 cents. In the microcomputer 12, -80 to
Judgment processing is also performed for the pitch deviation width of -40 cents and +40 to +80 cents, but no display segment corresponding to this pitch deviation width is provided. The reason why the pitch deviation width for performing the determination process is expanded will be described later.

マイクロコンピュータ12は第1図に示した比較基準デ
ータ発生手段5,比較手段6,比較制御手段7などに相
当する機能を受け持ち、点灯すべきセグメントを示す情
報を表示制御回路15に与える。表示制御回路15は、
マイクロコンピュータ12によって指示されたセグメン
トを点灯する制御を行う。
The microcomputer 12 is responsible for the functions corresponding to the comparison reference data generation means 5, the comparison means 6, the comparison control means 7, etc. shown in FIG. 1, and supplies the display control circuit 15 with information indicating the segments to be turned on. The display control circuit 15 is
Control is performed to turn on the segment designated by the microcomputer 12.

基準ピッチは鍵盤KBで所望の鍵を押圧することにより
任意に指定することができる。このとき、通常の電子楽
器と同様に押圧鍵の楽音が発音され、基準ピッチとして
指定した音高を耳で確認することができる。この場合、
楽音形成回路13では音色及びその他操作回路11で選
択された音色に従って基準ピッチの楽音の楽音形成を行
うので、調律対象である楽器に対応する音色を該回路1
1で選択すれば、調律対象である楽器と同じ若しくは近
似した音色で基準ピッチの楽音を発音することができ、
調律対象音と対比して聴き取る場合に聴き取り易いばか
りでなく、調律のための聴覚教育にも適している。ま
た、この基準ピッチは、調律対象である入力信号のオク
ターブに無関係に、鍵盤KBにおける任意のオクターブ
鍵盤を使用して指定することができる。そのために、基
準ピッチと入力信号のピッチを比較判断する場合、入力
信号のオクターブを自動的に判断し、両者のオクターブ
を自動的に合わせた上で比較判断を行うようにしてい
る。従って、基準ピッチを指定する押鍵操作を行う場
合、調律しようとする楽音の音名のみを考慮すればよ
く、そのオクターブは考慮しなくてもよいため、楽であ
る。
The reference pitch can be arbitrarily designated by pressing a desired key on the keyboard KB. At this time, a musical sound of the pressed key is generated as in a normal electronic musical instrument, and the pitch designated as the reference pitch can be confirmed by ear. in this case,
The tone forming circuit 13 forms the tone of the tone having the reference pitch in accordance with the tone color and the tone color selected by the other operation circuit 11, so that the tone color corresponding to the musical instrument to be tuned is generated by the circuit 1.
If selected in 1, it is possible to produce a tone of the reference pitch with a tone color that is the same as or similar to the musical instrument to be tuned,
Not only is it easy to hear when listening to the sound to be tuned, but it is also suitable for auditory education for tuning. Further, this reference pitch can be specified by using any octave keyboard on the keyboard KB regardless of the octave of the input signal to be tuned. Therefore, when the reference pitch and the pitch of the input signal are compared and judged, the octave of the input signal is automatically judged, and the octaves of both are automatically adjusted to make the judgment. Therefore, when the key-depressing operation for designating the reference pitch is performed, only the note name of the tone to be tuned needs to be considered, and the octave thereof need not be considered, which is easy.

測定回路16は前述の測定手段3に相当するものであ
り、インタフェース17を介してマイクロコンピュータ
12に接続されている。測定回路16には、入力端子1
8又は内蔵マイクロ19を介して調律対象である楽音が
電気信号又は音波信号の形で外部から入力される。入力
信号を電気信号又は音波信号のどちらで受付けるかの選
択はスイッチ20で行う。入力信号はバンドパスフィル
タ21とローパスフィルタ22に並列的に与えられ、セ
レクタ23で両フィルタ21,22の一方の出力が選択
される。セレクタ23の選択制御入力にはこの測定回路
16の周波数応答性を制御するための応答制御信号LO
Wが与えられる。
The measuring circuit 16 corresponds to the above-mentioned measuring means 3 and is connected to the microcomputer 12 via the interface 17. The measuring circuit 16 has an input terminal 1
A musical tone to be tuned is externally input in the form of an electric signal or a sound wave signal via the 8 or the built-in micro 19. The switch 20 selects whether the input signal is received as an electric signal or a sound wave signal. The input signal is given in parallel to the bandpass filter 21 and the lowpass filter 22, and the selector 23 selects one of the outputs of the filters 21 and 22. The selection control input of the selector 23 is a response control signal LO for controlling the frequency response of the measuring circuit 16.
W is given.

応答制御信号LOWはマイクロコンピュータ12からイ
ンタフェース17を介して与えられる信号であり、調律
対象である入力信号の基本周波数の帯域に応じて、高音
域ならば“0”、低音域ならば“1”となるものであ
る。この応答制御信号LOWによる測定回路16の周波
数応答性制御により、入力信号の周波数帯域に応じて測
定回路16の応答性をその周波数帯域に適したものに切
換えることができ、測定精度を向上させることができ
る。
The response control signal LOW is a signal given from the microcomputer 12 through the interface 17, and is "0" in the high tone range and "1" in the low tone range according to the fundamental frequency band of the input signal to be tuned. It will be. By controlling the frequency response of the measuring circuit 16 by the response control signal LOW, it is possible to switch the response of the measuring circuit 16 to one suitable for the frequency band according to the frequency band of the input signal, and improve the measurement accuracy. You can

セレクタ23は応答制御信号LOWが“1”のときロー
パスフィルタ22の出力を選択し、“0”のときバンド
パスフィルタ21の出力を選択する。これらのフィルタ
21,22は入力信号に含まれるノイズや高調波成分を
除去するためのものである。
The selector 23 selects the output of the low pass filter 22 when the response control signal LOW is “1”, and selects the output of the band pass filter 21 when the response control signal LOW is “0”. These filters 21 and 22 are for removing noise and harmonic components contained in the input signal.

セレクタ23の出力は正側ピークホールド回路24と負
側ピークホールド回路25に入力され、更に正側比較器
26と負側比較器27に入力される。正側ピークホール
ド回路24はセレクタ23の出力信号の正のピーク値を
ホールドし、負側ピークホールド回路25は負のピーク
値をホールドする。正側比較器26は正側ピークホール
ド回路24でホールドした正のピーク値を入力し、セレ
クタ23の出力信号が正のピーク値のとき比較出力を能
動レベルに切換える。負側比較器27は負側ピークホー
ルド回路25でホールドした負のピーク値を入力し、セ
レクタ23の出力信号が負のピーク値のとき比較出力を
能動レベルに切換える。
The output of the selector 23 is input to the positive side peak hold circuit 24 and the negative side peak hold circuit 25, and further input to the positive side comparator 26 and the negative side comparator 27. The positive side peak hold circuit 24 holds the positive peak value of the output signal of the selector 23, and the negative side peak hold circuit 25 holds the negative peak value. The positive side comparator 26 inputs the positive peak value held by the positive side peak hold circuit 24, and switches the comparison output to the active level when the output signal of the selector 23 is the positive peak value. The negative side comparator 27 inputs the negative peak value held by the negative side peak hold circuit 25, and switches the comparison output to the active level when the output signal of the selector 23 is the negative peak value.

各比較器26,27の出力はフリップフロップ28のセ
ット入力S及びリセット入力Rに加わり、能動レベルの
ときセット又はリセットを行う。従って、フリップフロ
ップ28は、セレクタ23の出力信号すなわち調律対象
信号の正のピーク点でセットされ、負のピーク点でリセ
ットされる。こうして、調律対象信号の基本周期に同期
した方形波信号がフリップフロップ28から出力され
る。
The outputs of the respective comparators 26 and 27 are added to the set input S and the reset input R of the flip-flop 28, and set or reset when the active level. Therefore, the flip-flop 28 is set at the positive peak point of the output signal of the selector 23, that is, the tuning target signal, and reset at the negative peak point. Thus, the square wave signal synchronized with the fundamental cycle of the tuning target signal is output from the flip-flop 28.

フリップフロップ28の出力はフェーズロックループ
(PLL)回路29に入力される。PLL回路29は入
力信号の細かな周期変動分を吸収し、平均的な基本周期
に同期した方形波信号を出力する。こうして、外部から
入力された調律対象信号の基本周期に同期した、しか
し、その細かな周期変動分は除去した、方形波信号がP
LL回路29から出力される。
The output of the flip-flop 28 is input to the phase lock loop (PLL) circuit 29. The PLL circuit 29 absorbs a minute period variation of the input signal and outputs a square wave signal synchronized with the average fundamental period. In this way, the square wave signal synchronized with the fundamental period of the tuning target signal input from the outside, but with the fine period fluctuation removed,
It is output from the LL circuit 29.

なお、正側ピークホールド回路24と負側ピークホール
ド回路25は夫々時定数回路を含んでおり、その時定数
を前記応答制御信号LOWに応じて切換えるようにして
いる。また、PLL回路29は内部に電圧制御型発振器
を含んでおり、その発振周波数レンジを前記応答制御信
号LOWに応じて切換えるようにしている。
The positive-side peak hold circuit 24 and the negative-side peak hold circuit 25 each include a time constant circuit, and the time constant is switched according to the response control signal LOW. Further, the PLL circuit 29 includes a voltage control type oscillator therein, and the oscillation frequency range thereof is switched according to the response control signal LOW.

第3図は正側及び負側のピークホールド回路24,25
と比較器26,27の詳細例を示した図であり、コンデ
ンサC1,C2に正のピーク値及び負のピーク値が夫々
ホールドされ、抵抗R1,R2又はR3,R4を介して
放電される。応答制御信号LOWが“0”のとき(入力
信号が高音域のとき)トランジスタ31,32がオン
し、抵抗値の大きな抵抗R2,R3が短絡されて、放電
回路の時定数が小さくなる。従って高音域の入力信号に
適したピークホールドができる。応答制御信号LOWが
“1”のとき(入力信号が低音域のとき)トランジスタ
31,32はオフし、放電回路の時定数が大きくなる。
従って低音域の入力信号に適したピークホールドができ
る。
FIG. 3 shows peak hold circuits 24 and 25 on the positive and negative sides.
3 is a diagram showing a detailed example of comparators 26 and 27. Positive peak values and negative peak values are held in capacitors C1 and C2, respectively, and discharged through resistors R1 and R2 or resistors R3 and R4. When the response control signal LOW is "0" (when the input signal is in the high frequency range), the transistors 31 and 32 are turned on, the resistors R2 and R3 having a large resistance value are short-circuited, and the time constant of the discharge circuit is reduced. Therefore, the peak hold suitable for the input signal in the high range can be performed. When the response control signal LOW is "1" (when the input signal is in the low frequency range), the transistors 31 and 32 are turned off, and the time constant of the discharge circuit becomes large.
Therefore, the peak hold suitable for the input signal in the low range can be performed.

第4図はPLL回路29の一例を示す図で、電圧制御型
発振器(VCO)33の出力とフリップフリップ28
(第2図)の出力とを位相比較器34で比較し、その出
力をローパスフィルタ35を介してVCO33の制御入
力に与える。VCO33には応答制御信号LOWも入力
されており、該信号LOWが“0”のときその発振周波
数レンジを所定の高音域に設定し、“1”のときは所定
の低音域に設定する。
FIG. 4 is a diagram showing an example of the PLL circuit 29. The output of the voltage controlled oscillator (VCO) 33 and the flip-flop 28 are shown.
The output of FIG. 2 is compared with the phase comparator 34, and the output is given to the control input of the VCO 33 via the low pass filter 35. A response control signal LOW is also input to the VCO 33, and when the signal LOW is "0", the oscillation frequency range is set to a predetermined high range and when it is "1", it is set to a predetermined low range.

第2図に戻り、PLL回路29から出力された方形波信
号は周期測定制御回路36に与えられる。周期測定制御
回路36は、PLL回路29の出力方形波信号の周期を
周期測定カウンタ37で測定させるよう制御するための
ものである。周期測定動作について第5図のタイミング
チャートを参照して説明すると、まず、マイクロコンピ
ュータ12からインターフェース17を介してスタート
信号STARTが制御回路36に与えられると、該制御
回路36はカウンタ37のリセット入力Rにリセット信
号を与え、古いカウント内容をリセットする。次に、周
期測定しようとする入力方形波信号(PLL回路29の
出力)が“1”に立上ったときから次に“1”に立上る
までの間つまり1周期の間、カウンタ37のイネーブル
入力ENに信号“1”を与え、カウント可能状態とす
る。カウント可能になると、カウンタ37はクロック発
振器38から与えられるクロックパルスを逐次カウント
する。測定すべき1周期が終了すると、イネーブル入力
ENの信号が“0”に立下り、カウンタ37のカウント
動作が停止し、該カウンタ37は1周期の長さに対応す
るカウント値を保持する。同時に制御回路36からエン
ド信号EOCが出力され、インタフェース17を介して
マイクロコンピュータ12に与えられる。また、カウン
タ37のカウント値もインタフェース17を介してマイ
クロコンピュータ12に与えられる。マイクロコンピュ
ータ12では、エンド信号EOCが発生したときのカウ
ンタ37のカウント値を、外部入力された調律対象信号
の周期測定データとして取込み、記憶する。なお、周期
が極端に長い場合は1周期が終了する前にカウンタ37
のカウント値が最大値となってしまう。そのような場
合、最大カウント値になったことを示す信号MAXをカ
ウンタ37から出力して制御回路36に与え、これに基
きイネーブル入力ENの信号を強制的に“0”にしてカ
ウント動作を停止させ、最大カウント値を保持させる。
Returning to FIG. 2, the square wave signal output from the PLL circuit 29 is given to the period measurement control circuit 36. The cycle measurement control circuit 36 is for controlling the cycle of the output square wave signal of the PLL circuit 29 to be measured by the cycle measurement counter 37. The cycle measuring operation will be described with reference to the timing chart of FIG. 5. First, when the start signal START is given from the microcomputer 12 to the control circuit 36 via the interface 17, the control circuit 36 inputs the reset input of the counter 37. A reset signal is given to R to reset the old count contents. Next, from the time when the input square wave signal (output of the PLL circuit 29) to be measured for the period rises to "1" to the next rise to "1", that is, for one period, the counter 37 A signal "1" is applied to the enable input EN to enable the count. When it becomes possible to count, the counter 37 sequentially counts the clock pulses given from the clock oscillator 38. When one cycle to be measured ends, the signal of the enable input EN falls to “0”, the counting operation of the counter 37 stops, and the counter 37 holds the count value corresponding to the length of one cycle. At the same time, the end signal EOC is output from the control circuit 36 and given to the microcomputer 12 via the interface 17. The count value of the counter 37 is also given to the microcomputer 12 via the interface 17. In the microcomputer 12, the count value of the counter 37 when the end signal EOC is generated is taken in and stored as cycle measurement data of the tuning target signal input from the outside. If the cycle is extremely long, the counter 37 is set before the end of one cycle.
The count value of becomes the maximum value. In such a case, a signal MAX indicating that the maximum count value has been reached is output from the counter 37 and given to the control circuit 36. Based on this, the signal of the enable input EN is forcibly set to "0" to stop the counting operation. And keep the maximum count value.

次に、マイクロコンピュータ12によって実行される調
律機能に関する処理について第6図及び第7図を参照し
て説明する。なお、第8図にはこのプログラムにおいて
使用する主なレジスタの名称と記号が列挙されている。
Next, the processing relating to the tuning function executed by the microcomputer 12 will be described with reference to FIGS. 6 and 7. Note that the names and symbols of the main registers used in this program are listed in FIG.

第6図のプログラムは、調律機能が選択されている場合
において、他のプログラム処理(例えば押鍵検出走査,
発音割当て処理,操作子回路の操作検出走査,楽音形成
回路13へのデータ転送処理,など)を実行する合間に
適宜実行される。
When the tuning function is selected, the program shown in FIG. 6 has another program process (for example, key press detection scanning,
The tone generation assignment process, the operation detection scan of the manipulator circuit, the data transfer process to the tone forming circuit 13, and the like) are appropriately executed between the executions.

まず、ステップ39ではスタートレジスタTSTART
が“1”かを調べ、NOならばステップ40に進み、ス
タート信号STARTを出力し、次に該レジスタTST
ARTを“1”にセットする。スタート信号START
が出力されることにより、前述の通り、測定回路16
(第2図)は外部入力信号の周期測定のためのカウント
を開始する。
First, in step 39, the start register TSTART
Is "1", and if NO, the process proceeds to step 40, the start signal START is output, and then the register TST
Set ART to "1". Start signal START
Is output, the measurement circuit 16 is output as described above.
(FIG. 2) starts counting for measuring the period of the external input signal.

既にカウント動作を開始しているときに第6図のプログ
ラムを実行する場合は、ステップ39はYESであり、
ステップ41に進み、前述のエンド信号EOCが与えら
れたかを調べる。YESならば、カウンタ37のカウン
ト値を周期測定値レジスタTCDに取込み、記憶する。
次にスタート信号STARTを再び出力し、次回の周期
測定の準備をする。
If the program of FIG. 6 is to be executed when the counting operation has already started, step 39 is YES,
In step 41, it is checked whether the above-mentioned end signal EOC has been given. If YES, the count value of the counter 37 is fetched and stored in the cycle measurement value register TCD.
Next, the start signal START is output again to prepare for the next cycle measurement.

ステップ42では、最新キーコードレジスタNCKと基
準キーコードレジスタRKCの内容を比較する。最新キ
ーコードレジスタNKCは、押鍵検出走査処理において
記憶制御がなされるレジスタであり、最も新しく押圧さ
れた鍵を示すキーコードを記憶する。基準キーコードレ
ジスタRKCは、基準ピッチに相当する鍵のキーコード
を記憶するものである。最新キーコードが現在の基準キ
ーコードと不一致のとき、すなわちステップ42の「N
KC≠RKC?」がYESのとき、ステップ43に進
み、最新キーコードレジスタNKCの内容を基準キーコ
ードレジスタRKCに書込む。こうして、基準キーコー
ドレジスタRKCの内容は常に最新の押圧鍵のキーコー
ドによって更新され、最新の押圧鍵が基準ピッチ指定鍵
となる。
In step 42, the contents of the latest key code register NCK and the reference key code register RKC are compared. The latest key code register NKC is a register whose storage is controlled in the key press detection scanning process, and stores the key code indicating the most recently pressed key. The reference key code register RKC stores the key code of the key corresponding to the reference pitch. When the latest key code does not match the current reference key code, that is, “N” in step 42.
KC ≠ RKC? Is YES, the routine proceeds to step 43, where the contents of the latest key code register NKC is written in the reference key code register RKC. In this way, the contents of the reference key code register RKC are always updated with the key code of the latest pressed key, and the latest pressed key becomes the reference pitch designation key.

ステップ43から「リターン」に至るフローは、調律の
基準ピッチが新たな押鍵によて変更されたときに実行さ
れるものである。ステップ44では、レジスタRKCの
基準キーコードに基き基準ピッチのノート周波数(基準
ピッチ指定鍵のオクターブに無関係に特定オクターブ例
えば最低オクターブにおける基準ピッチの音名に対応す
る周波数)を示すデータを求め、この基準ピッチのノー
ト周波数データ(すなわち0セントのピッチずれに対応
する周波数データ)に基き、各表示セグメント1a〜1
nに対応するピッチずれ幅の各境界値(一例として、+
1,+3,+10,+20,+30,+40,+80,−1,−
3,−10,−20,−30,−40,−80セント)の周波数を
夫々算出し、更に各境界値の周波数の逆数をとってそれ
らの周期を示すデータに換算し、各境界値の周期データ
を境界値データレジスタBDDに記憶する。基準ピッチ
と外部入力信号のピッチとの比較は、基準ピッチそのも
のを示すデータを用いて行われるのではなく、各表示セ
グメント1a〜1nに対応するピッチずれ幅の境界値に
該当するピッチデータを用いて行われるようになってい
る。そのために、このステップ44の処理において、各
境界値をセント値から基準ピッチに応じたピッチデータ
(この例では周期データ)に変換するものである。な
お、レジスタBDDに記憶する各境界値のピッチデータ
を周期データとした理由は、測定回路16(第2図)に
おいて外部入力信号の周期が測定されるようになってい
るので、それに合わせるためである。
The flow from step 43 to "return" is executed when the reference pitch of the tuning is changed by a new key depression. In step 44, data indicating the note frequency of the reference pitch (the frequency corresponding to the note name of the reference pitch in a specific octave, for example, the lowest octave regardless of the octave of the reference pitch designating key) is obtained based on the reference key code of the register RKC. Based on the note frequency data of the reference pitch (that is, the frequency data corresponding to the pitch deviation of 0 cent), each display segment 1a-1
Each boundary value of the pitch shift width corresponding to n (for example, +
1, +3, +10, +20, +30, +40, +80, -1,-
(3, -10, -20, -30, -40, -80 cents) are calculated respectively, and then the reciprocal of the frequency of each boundary value is calculated and converted into data showing the period of each boundary value. The cycle data is stored in the boundary value data register BDD. The comparison between the reference pitch and the pitch of the external input signal is not performed using the data indicating the reference pitch itself, but using the pitch data corresponding to the boundary value of the pitch deviation width corresponding to each display segment 1a to 1n. It is supposed to be done. Therefore, in the process of step 44, each boundary value is converted from a cent value to pitch data (period data in this example) according to the reference pitch. The reason why the pitch data of each boundary value stored in the register BDD is used as the cycle data is that the cycle of the external input signal is measured by the measuring circuit 16 (FIG. 2). is there.

ステップ45,46,47は初期設定のための処理であ
り、基準ピッチが変更されたときは初期状態に一旦戻す
ためにこれらの処理を行う。ステップ45では応答制御
信号LOWを“1”にセットし、出力する(低音域に対
応させる)。ステップ46ではオクターブレジスタTO
CTのオクターブデータを最低オクターブを示す「0」
にセットする。オクターブレジスタTOCTは外部入力
信号のオクターブ音域を自動判定するために使用される
もので、そこに記憶するオクターブデータを順次増加し
てゆきながら外部入力信号のオクターブをサーチする。
この初期設定から明らかなように、外部入力信号のオク
ターブサーチは低オクターブ側から行われる。なお、そ
の場合、境界値データレジスタBDDに記憶される各境
界値の周期データは最低オクターブにおける基準ピッチ
のノート周波数に基き求めたものである。ステップ47
ではスタート信号STARTを出力する。
Steps 45, 46, and 47 are processes for initial setting, and when the reference pitch is changed, these processes are performed in order to temporarily return to the initial state. In step 45, the response control signal LOW is set to "1" and output (corresponding to the low tone range). In step 46, octave register TO
"0" indicating the lowest octave in the octave data of CT
Set to. The octave register TOCT is used for automatically determining the octave tone range of the external input signal, and sequentially searches the octave of the external input signal while sequentially increasing the octave data stored therein.
As is apparent from this initial setting, the octave search of the external input signal is performed from the low octave side. In that case, the cycle data of each boundary value stored in the boundary value data register BDD is obtained based on the note frequency of the reference pitch in the lowest octave. Step 47
Then, the start signal START is output.

基準ピッチが変更されていない場合は、ステップ42の
「NKC≠RKC?」はNOであり、ステップ48に進
む。ステップ48では、オクターブレジスタTOCTの
内容に対応するオクターブ数だけ2のべき乗を行い(2
TOCT)、これを周期測定値レジスタTCDの内容に乗算
し(TCD*2TOCT)、乗算結果によって該レジスタT
CDの内容を書替える。初めはTOCTは「0」である
のでレジスタTCDの内容は変化しない。TOCTのオ
クターブ数が「1」,「2」,「3」…と変化すると、
レジスタTCDの周期測定値は2倍,4倍,8倍…とオ
クターブ単位で変化する。このステップ48は、基準ピ
ッチ(すなわちレジスタBDD内の各境界値の周期デー
タ)と外部入力信号のピッチ(すなわちレジスタTCD
内の周期測定値データ)とのオクターブ音域を一致させ
る若しくは近づけるための処理である。前述のようにレ
ジスタBDD内の各境界値の周期データは最低オクター
ブに対応しているので、外部入力信号のオクターブが最
低オクターブより高い場合はその分だけレジスタBDD
内のデータのオクターブを上げてやればよいのだが(B
DDの周期データを2TOCTで割算する)、境界値の数が
多いのでそれでは演算が面倒である。そこで、レジスタ
BDD内のデータは変更せずに、レジスタTCDの周期
測定値データを2倍,4倍又は8倍…とすることによ
り、外部入力信号のオクターブを見かけ上下げてやり、
何オクターブ下げたかによって(つまり、オクターブレ
ジスタTOCTの内容によって)外部入力信号が最低オ
クターブの何オクターブ上であるかが判明する。
If the reference pitch is not changed, “NKC ≠ RKC?” In step 42 is NO, and the process proceeds to step 48. In step 48, the power of 2 is performed by the number of octaves corresponding to the contents of the octave register TOCT (2
TOCT ), which is multiplied by the contents of the period measurement value register TCD (TCD * 2 TOCT ), and the result of the multiplication
Rewrite the contents of the CD. Since TOCT is "0" at the beginning, the content of the register TCD does not change. When the octave number of TOCT changes to "1", "2", "3" ...
The cycle measurement value of the register TCD changes in units of octave such as 2 times, 4 times, 8 times. This step 48 includes the reference pitch (that is, the period data of each boundary value in the register BDD) and the pitch of the external input signal (that is, the register TCD.
This is a process for making the octave range equal to or closer to the period measurement value data). As described above, since the cycle data of each boundary value in the register BDD corresponds to the lowest octave, if the octave of the external input signal is higher than the lowest octave, the register BDD is correspondingly increased.
I should raise the octave of the data in (B
(The DD cycle data is divided by 2 TOCT ), and the number of boundary values is large, which makes the calculation troublesome. Therefore, the octave of the external input signal is apparently lowered by setting the period measurement value data of the register TCD to 2 times, 4 times or 8 times without changing the data in the register BDD,
The number of octaves lowered (that is, the content of the octave register TOCT) determines how many octaves above the lowest octave the external input signal is.

ステップ49では、境界値データレジスタBDDから最も
外側の境界値である+80セント及び−80セントに対応す
る最小周期データTCMIN(+80セントに対応)と最
大周期データTCMAX(−80セントに対応)を読出
し、これとレジスタTCD内の周期測定値データとを比
較し、該周期測定値データがTCMINとTCMAXの
範囲内にあるかを調べる。範囲内にあれば、LED表示
プログラム50を実行し、LEDから成る表示セグメン
ト1a〜1nのいずれかを点灯する処理を行う。
In step 49, the minimum period data TCMIN (corresponding to +80 cents) and the maximum period data TCMAX (corresponding to −80 cents) corresponding to the outermost boundary values +80 cents and −80 cents are read from the boundary value data register BDD. , And the period measurement value data in the register TCD are compared to check whether the period measurement value data is within the range of TCMIN and TCMAX. If it is within the range, the LED display program 50 is executed to perform the process of turning on any of the display segments 1a to 1n made of LEDs.

範囲内でなければ、ステップ51に進み、オクターブレ
ジスタTOCTの内容を1増加する。オクターブレジス
タTOCTの内容が外部入力信号のオクターブに対応し
ている場合は、ステップ49の判断「TCMIN<TC
D<TCMAX?」が満足され、ピッチずれをセグメン
ト1a〜1nを用いて表示することができる。しかし、
レジスタTOCTの内容がまだ外部入力信号のオクター
ブに対応していない場合は、ステップ49の判断は満足
されず、ピッチずれをセグメント1a〜1nを用いて表
示することはできない。そこで、ステップ51の処理に
より、オクターブレジスタTOCTを更に1増加して、
外部入力信号のオクターブサーチを更に続けるのであ
る。
If it is not within the range, the routine proceeds to step 51, where the contents of the octave register TOCT is incremented by 1. If the contents of the octave register TOCT correspond to the octave of the external input signal, the judgment “TCMIN <TC
D <TCMAX? Is satisfied, the pitch shift can be displayed using the segments 1a to 1n. But,
If the content of the register TOCT does not yet correspond to the octave of the external input signal, the determination in step 49 is not satisfied and the pitch shift cannot be displayed using the segments 1a to 1n. Therefore, by the process of step 51, the octave register TOCT is further increased by 1,
The octave search of the external input signal is further continued.

オクターブサーチのためのループに設けられたステップ
52は、応答制御信号LOWの切換条件を判定するため
のものである。この例では、有効なオクターブ数は5オ
クターブであり、その各オクターブに対応するオクター
ブデータは最低オクターブから順に「0」,「1」,
「2」,「3」,「4」であるとしている。そして、低
音側の3オクターブを低音域、高音側の2オクターブを
高音域とし、外部入力信号がどちらの音域に属するかに
応じて応答制御信号LOWを切換えるようにしている。
そのため、ステップ52ではオクターブレジスタTOC
Tの内容が「3」になったかどうかを判断し、YESな
らば外部入力信号が高音域に属するため、ステップ53
で応答制御信号LOWを“0”にセットする。これによ
り、測定回路16(第2図)における周期測定条件が変
わるので、もう一度精度良く周期測定を行うのが好まし
い。そこで、ステップ54でスタート信号STARTを
出力し、周期測定を行わせる。
Step 52 provided in the loop for octave search is for determining the switching condition of the response control signal LOW. In this example, the effective number of octaves is 5 octaves, and the octave data corresponding to each octave is “0”, “1”, in order from the lowest octave.
It is assumed that they are "2", "3", and "4". Then, three octaves on the low tone side are set as a low tone range and two octaves on the high tone side are set as a high tone range, and the response control signal LOW is switched depending on which tone range the external input signal belongs to.
Therefore, in step 52, the octave register TOC
It is determined whether or not the content of T has become "3". If YES, the external input signal belongs to the high frequency range, so step 53
The response control signal LOW is set to "0". As a result, the period measurement condition in the measurement circuit 16 (FIG. 2) changes, so it is preferable to perform the period measurement again with high accuracy. Therefore, in step 54, the start signal START is output to measure the period.

一方、ステップ52がNOの場合は、ステップ55を経
由してステップ56に進み、レジスタTCD内の周期測
定値を2倍にする。これはステップ51でオクターブレ
ジスタTOCTの内容を1増加したことに対応する処理
であり、レジスタTCDの周期測定値を1オクターブ分
下げる。その後ステップ49に戻り、前述の判断を繰返
す。
On the other hand, if step 52 is NO, the procedure proceeds to step 56 via step 55 to double the period measurement value in the register TCD. This is a process corresponding to incrementing the content of the octave register TOCT by 1 in step 51, and lowers the period measurement value of the register TCD by one octave. Thereafter, the process returns to step 49 and the above-mentioned judgment is repeated.

ステップ49がYESになるまでステップ51〜56の
ループを繰返し、外部入力信号のオクターブをサーチす
る。ステップ55は所定の最高オクターブを越えてサー
チが行われたかどうかを調べるもので、レジスタTOC
Tの内容がオクターブデータの有効な最大値「4」以下
であれば、TOCT=「5」?がNOであり、ステップ
56に進み、オクターブサーチのループを続ける。しか
し、有効なオクターブ数内で外部入力信号のオクターブ
が判定できなかった場合は、ステップ55のYESを通
り、ステップ45,46,47の処理(初期設定)に戻
る。
The loop of steps 51 to 56 is repeated until step 49 becomes YES to search the octave of the external input signal. In step 55, it is checked whether or not the search is performed beyond a predetermined maximum octave, and the register TOC is used.
If the content of T is equal to or less than the valid maximum value "4" of octave data, TOCT = "5"? Is NO, the routine proceeds to step 56, where the octave search loop is continued. However, if the octave of the external input signal cannot be determined within the valid number of octaves, the process proceeds to YES in step 55 and returns to the processing (initial setting) of steps 45, 46 and 47.

LED表示プログラム50について第7図を参照して説
明すると、ステップ57では点灯セグメント番号レジス
タLEDNOの内容に基き現在点灯中のスグメント(1
a〜1nのうち1つ)に対応するピッチずれ幅の上限及
び下限の境界値データをレジスタBDDから読み出す。
例えば+1〜+3セントのピッチずれ幅に対応するセグ
メントが点灯中の場合は、下限境界値データとして+1
セントに対応する周期データが読出され、上限境界値デ
ータとして+3セントに対応する周期データが読出され
る。レジスタLEDNOは、現在点灯中のセグメントの
番号を記憶するものである。なお、ピッチずれ幅+40〜
+80セント及び−40〜−80セントに対応する表示セグメ
ントは実際には設けられていないが、レジスタLEDN
Oではあたかもそれに対応するセグメントが設けられて
いるかのようにその番号データを記憶することができ
る。レジスタLEDNOの内容は、最初は(初期状態で
は)−1〜+1セントのピッチずれ幅に対応する中心の
セグメントの番号を示している。セグメント番号は高ピ
ッチに対応するものほど値が大きく、低ピッチに対応す
るものほど値が小さいものとする。
The LED display program 50 will be described with reference to FIG. 7. In step 57, the currently-lit segment (1
Boundary value data of the upper limit and the lower limit of the pitch shift width corresponding to (1 of a to 1n) are read from the register BDD.
For example, when the segment corresponding to the pitch shift width of +1 to +3 cents is lit, the lower limit boundary value data is +1.
The cycle data corresponding to the cent is read, and the cycle data corresponding to +3 cent is read as the upper limit boundary value data. The register LEDNO stores the number of the segment which is currently lit. In addition, pitch deviation width +40 ~
Although the display segments corresponding to +80 cents and -40 to -80 cents are not actually provided, the register LEDN
In O, the number data can be stored as if the corresponding segment is provided. The content of the register LEDNO initially indicates (in the initial state) the number of the central segment corresponding to the pitch shift width of -1 to +1 cent. The segment number has a larger value as it corresponds to a higher pitch, and has a smaller value as it corresponds to a lower pitch.

ステップ58では、前ステップ57で読出した現在点灯
中のセグメントの上限境界値及び下限境界値と周期測定
値レジスタTCDの内容とを比較し、基準ピッチに対す
る外部入力信号のピッチずれが現在点灯中のセグメント
の範囲内であるかどうかを判断する。ステップ58で
は、次の(A),(B),(C)のうちいずれか1つの判断を下
す。
In step 58, the upper limit boundary value and the lower limit boundary value of the currently lit segment read in the previous step 57 are compared with the contents of the cycle measurement value register TCD, and the pitch deviation of the external input signal with respect to the reference pitch is currently lit. Determine if it is within the segment. At step 58, any one of the following (A), (B), and (C) is judged.

(A) レジスタTCDの周期測定値データが下限境界値
の周期データより大である。つまり、外部入力信号のピ
ッチは現在点灯中のセグメントよりも低い。
(A) The cycle measurement value data of the register TCD is larger than the cycle data of the lower boundary value. That is, the pitch of the external input signal is lower than that of the segment that is currently lit.

(B) レジスタTCDの周期測定値データが下限境界値
と上限境界値の中間である。つまり、外部入力信号のピ
ッチは現在点灯中のセグメントに対応している。
(B) The cycle measurement value data of the register TCD is between the lower limit boundary value and the upper limit boundary value. That is, the pitch of the external input signal corresponds to the currently lit segment.

(C) レジスタTCDの周期測定値データが上限境界値
の周期データより小である。つまり、外部入力信号のピ
ッチは現在点灯中のセグメントよりも高い。
(C) The cycle measurement value data of the register TCD is smaller than the cycle data of the upper boundary value. That is, the pitch of the external input signal is higher than that of the segment that is currently lit.

ステップ59〜61ではステップ58の判断結果に応じ
て高側移動計数レジスタHCNTと低側移動計数レジス
タLCNTの計数動作を制御する。高側移動計数レジス
タHCNTは、点灯すべきセグメントを高ピッチ側の隣
接セグメントに切換える際に、判断と切換え動作との間
に応答遅れを設定するためのものである。低側移動計数
レジスタLCNTは、点灯すべきセグメントを低ピッチ
側の隣接セグメントに切換える際に、判断と切換え動作
との間に応答遅れを設定するためのものである。各レジ
スタHCNT,LCNTの内容に対して加算又は減算計
数が行われるようになっており、減算が進んでレジスタ
HCNT,LCNTの内容が「0」になった場合はそれ
以後の減算命令には反応せず、「0」を維持するものと
する。
In steps 59 to 61, the counting operation of the high-side movement counting register HCNT and the low-side movement counting register LCNT is controlled according to the judgment result of step 58. The high-side movement counting register HCNT is for setting a response delay between the determination and the switching operation when switching the segment to be lighted to the adjacent segment on the high pitch side. The low-side movement counting register LCNT is for setting a response delay between the determination and the switching operation when switching the segment to be lighted to the adjacent segment on the low pitch side. Addition or subtraction counting is performed on the contents of each register HCNT, LCNT. If the contents of the registers HCNT, LCNT become "0" due to the progress of subtraction, it will respond to the subsequent subtraction instruction. Instead, it shall maintain "0".

まず前記判断条件(A)が成立した場合について説明する
と、ステップ59でレジスタHCNTの内容が1減算さ
れ、レジスタLCNTの内容が1加算される。次に、ス
テップ62でレジスタLCNTの内容が「10」より大き
いかを調べる。NOならばリターンし、ステップ57,
58,59,62のフローを繰返す。1回繰返す毎にレ
ジスタLCNTのカウント値が1増加し、やがてLCN
Tの内容が「10」を越えると、ステップ62のYESか
らステップ63に進む。ステップ63ではレジスタLC
NTに「5」をセットする。次にステップ64では点灯
セグメント番号レジスタLEDNOの内容から「1」を
減算し、記憶するセグメント番号を現在点灯中のセグメ
ントに低ピッチ側で隣接するセグメントの番号に書換え
る。ステップ65ではレジスタLEDNOの内容を表示
制御回路15(第2図)に出力し、該レジスタLEDN
Oに記憶しているセグメント番号に対応するセグメント
を点灯する。こうして、外部入力信号のピッチが現在点
灯中のセグメントに対応するピッチよりも低い場合は、
点灯セグメントが低ピッチ側で隣接するセグメントに切
換わる。
First, the case where the determination condition (A) is satisfied will be described. In step 59, the content of the register HCNT is decremented by 1, and the content of the register LCNT is incremented by 1. Next, in step 62, it is checked whether the content of the register LCNT is larger than "10". If NO, the process returns, and step 57,
The flow of 58, 59, 62 is repeated. The count value of the register LCNT increases by 1 each time it is repeated, and eventually the LCN
When the content of T exceeds "10", the process proceeds from YES in step 62 to step 63. In step 63, the register LC
Set "5" to NT. Next, at step 64, "1" is subtracted from the content of the lighting segment number register LEDNO, and the stored segment number is rewritten to the number of the segment adjacent to the currently lighting segment on the low pitch side. In step 65, the contents of the register LEDNO are output to the display control circuit 15 (FIG. 2), and the register LEDN is output.
The segment corresponding to the segment number stored in O is turned on. Thus, if the pitch of the external input signal is lower than the pitch corresponding to the currently lit segment,
The lit segment switches to the adjacent segment on the low pitch side.

点灯セグメントを隣接セグメントに切換えてもまだ判断
条件(A)が満たされる場合は、更に低ピッチ側で隣接す
るセグメントに点灯セグメントを切換える必要があるの
で、ステップ57,58,59,62のフローを繰返し
てレジスタLCNTの内容をカウントアップする。この
場合、レジスタLCNTにはステップ63で「5」がプ
リセットされているので、LCNTの内容を6回カウン
トアップしたときステップ62の「LCNT>10?」が
YESとなる。これに基き前述と同様にステップ63,
64,65が実行され、点灯セグメントが更に低ピッチ
側で隣接するセグメントに切換えられる。
If the judgment condition (A) is still satisfied even if the lighting segment is switched to the adjacent segment, it is necessary to switch the lighting segment to the adjacent segment on the lower pitch side. Therefore, the flow of steps 57, 58, 59 and 62 is executed. The content of the register LCNT is repeatedly counted up. In this case, since "5" is preset in the register LCNT in step 63, "LCNT>10?" In step 62 becomes YES when the content of LCNT is counted up 6 times. Based on this, the step 63,
64 and 65 are executed, and the lighting segment is switched to the adjacent segment on the lower pitch side.

こうして、外部入力信号のピッチずれに対応するセグメ
ントが点灯されるまで、点灯セグメントが順次隣接する
セグメントに切換えられる。
In this way, the illuminated segment is sequentially switched to the adjacent segment until the segment corresponding to the pitch shift of the external input signal is illuminated.

点灯セグメントが外部入力信号のピッチずれに対応する
ものとなったとき、ステップ58の判断条件(B)が成立
する。その場合、ステップ60で両レジスタHCNT,
LCNTの内容を夫々1減算して、リターンする。
When the lighting segment corresponds to the pitch shift of the external input signal, the judgment condition (B) of step 58 is satisfied. In that case, both registers HCNT,
The contents of LCNT are decremented by 1, and the process returns.

このように、判断条件(A)が最初に成立したときから判
断条件(B)が成立するまでの間において、最初に点灯セ
グメントを隣接セグメントに切換えるときはステップ6
3を通らずにLCNTが「10」を越えるまでカウントす
るが、それ以後点灯セグメントを隣接セグメントに切換
えるときはステップ63でLCNTに「5」をプリセッ
トしてから「10」を越えるまでカウントする。レジスタ
LCNTの内容が「10」を越えるまで点灯セグメントの
切換えが遅らされており、この遅れ時間は、最初に隣接
セグメントに切換えるときが最も長く、それに引き続い
て順次隣接するセグメントに切換えるときはそれよりも
短かい。何故ならば、前者の場合、「0」又は少なくと
も「5」より小さい数から「11」までカウントされる
が、後者の場合は「5」から「11」までカウントされる
からである。
As described above, when the lighting segment is first switched to the adjacent segment from the time when the judgment condition (A) is first satisfied to the time when the judgment condition (B) is satisfied, step 6
Counting is performed until LCNT exceeds "10" without passing through 3. However, when switching the lighting segment to an adjacent segment thereafter, presetting "5" to LCNT in step 63 and counting until exceeding "10". The switching of the lighting segment is delayed until the content of the register LCNT exceeds "10", and this delay time is the longest when switching to the adjacent segment first, and it is the following when switching to the adjacent segment sequentially. Shorter than This is because the former case counts from "0" or at least a number smaller than "5" to "11", while the latter case counts from "5" to "11".

ステップ59でレジスタHCNTの内容を1減算してい
る理由は、将来点灯セグメントを逆方向に(高ピッチ側
に)移動させる場合に、ステップ61における該レジス
タHCNTの1加算カウントができるだけ小さい数から
始まるようにして移動開始時の応答遅れを大きくするた
めである。ステップ60で、両レジスタHCNT,LC
NTの内容を1減算しているのも同じ理由からであり、
将来、点灯セグメントを高ピッチ側又は低ピッチ側のど
ちらに移動させる場合でも、移動開始時の応答遅れを大
きくするためである。
The reason why the content of the register HCNT is decremented by 1 in step 59 is that when the future lighting segment is moved in the reverse direction (to the high pitch side), the 1 increment count of the register HCNT in step 61 starts from the smallest possible number. This is to increase the response delay at the start of movement. In step 60, both registers HCNT, LC
For the same reason, the content of NT is decremented by 1,
This is to increase the response delay at the start of movement regardless of whether the lighting segment is moved to the high pitch side or the low pitch side in the future.

前記判断条件(C)が成立した場合は、ステップ61に進
み、ステップ66,67,68,69の処理を実行す
る。これらの処理は前述のステップ59,62〜65の
処理に対応するものであり、レジスタHCNT,LCN
Tの関係が丁度逆になっている。すなわち、ステップ6
1ではレジスタHCNTの内容を1加算し、レジスタL
CNTの内容を1減算する。ステップ66ではレジスタ
HCNTの内容が「10」を越えたかを判断し、ステップ
67ではレジスタHCNTに「5」をプリセットする。
ステップ68では点灯セグメント番号レジスタLEDN
Oの内容を1増加し、現在点灯中のセグメントに高ピッ
チ側で隣接するセグメントの番号に書替える。ステップ
69ではレジスタLEDNOの内容を表示制御回路15
に出力し、書替えられたセグメント番号に対応するセグ
メントを点灯する。こうして、外部入力信号のピッチが
現在点灯中のセグメントに対応するピッチよりも高い場
合は、点灯セグメントが高ピッチ側で隣接するセグメン
トに切換わる。
When the judgment condition (C) is satisfied, the process proceeds to step 61, and the processes of steps 66, 67, 68 and 69 are executed. These processes correspond to the processes of steps 59, 62 to 65 described above, and are performed by the registers HCNT, LCN.
The relationship of T is just reversed. That is, step 6
In the case of 1, the content of the register HCNT is incremented by 1, and the register L
Subtract 1 from the content of CNT. In step 66, it is determined whether the content of the register HCNT exceeds "10", and in step 67, "5" is preset in the register HCNT.
In step 68, the lighting segment number register LEDN
The content of O is incremented by 1 and rewritten to the segment number adjacent to the currently lit segment on the high pitch side. In step 69, the contents of the register LEDNO are displayed on the display control circuit 15
To turn on the segment corresponding to the rewritten segment number. Thus, when the pitch of the external input signal is higher than the pitch corresponding to the currently lit segment, the lit segment is switched to the adjacent segment on the high pitch side.

前述と同様に、判断条件(B)が成立するまで判断条件(C)
のフローが繰返され、点灯セグメントが1セグメントづ
つ順次高ピッチ側に移動する。また、ステップ67でレ
ジスタHCNTに「5」がプリセットされているので、
前述と同様に、点灯セグメントが最初に隣のセグメント
に移動するときの時間遅れが最も長く、それ以後の点灯
セグメントの切換わり時の時間遅れはそれより短かい。
また、ステップ61でレジスタLCNTの内容を1減少
している理由は、前述と同様であり、将来、点灯セグメ
ントを逆方向に(低ピッチ側に)移動させる場合に、ス
テップ59におけるレジスタLCNTの1加算カウント
ができるだけ小さい数から始まるようにして移動開始時
の応答遅れを大きくするためである。
Similar to the above, until the judgment condition (B) is satisfied, the judgment condition (C)
The flow is repeated, and the lighted segments sequentially move to the high pitch side one segment at a time. Further, since "5" is preset in the register HCNT in step 67,
Similar to the above, the time delay when the lighting segment first moves to the adjacent segment is longest, and the time delay when the lighting segment is switched thereafter is shorter than that.
The reason why the content of the register LCNT is decremented by 1 in step 61 is the same as that described above. When the lighting segment is moved in the opposite direction (to the low pitch side) in the future, the value of 1 in the register LCNT in step 59 is changed. This is to increase the response delay at the start of movement by starting the addition count from the smallest possible number.

以上のような処理によって、例えば−40〜−30セントの
ピッチずれ幅に対応するセグメント1aが安定して点灯
されている状態から−10〜−3セントのピッチずれ幅に
対応するセグメント1dまで点灯セグメントを切換える
場合、最初にセグメント1aから1bに点灯が切換わる
ときはレジスタHCNTで「1」から「11」までのカウ
ントがなされて比較的ゆっくりと切換わるが、次に1b
から1cに点灯が切換わるとき、更に1cから1dに点
灯が切換わるときはレジスタHCNTで「6」から「1
1」までのカウントが夫々なされて比較的速く切換わる
ことになる。そして、セグメント1dで点灯位置の移動
が止まると、レジスタHCNTでは「5」から「0」ま
での減算カウントが行われる。このように、点灯位置の
移動を開始するときの応答遅れを移動途中の応答遅れよ
りも大きくすることにより、点灯セグメントの連続的切
換わり動作を機械式指針の動きに似たものとすることが
でき、見易いものとなる。
Through the above-described processing, for example, from the state where the segment 1a corresponding to the pitch deviation width of −40 to −30 cents is stably lit up to the segment 1d corresponding to the pitch deviation width of −10 to −3 cents When switching the segments, when the lighting is switched from the segment 1a to the segment 1b for the first time, the register HCNT counts from "1" to "11" and the segment is switched relatively slowly.
When the lighting is switched from 1c to 1c, and when the lighting is switched from 1c to 1d, the register HCNT changes from "6" to "1".
Counts up to 1 ”are made, and switching is relatively quick. Then, when the movement of the lighting position stops in the segment 1d, the register HCNT performs a subtraction count from "5" to "0". In this way, by making the response delay when starting the movement of the lighting position larger than the response delay during the movement, it is possible to make the continuous switching operation of the lighting segment similar to the movement of the mechanical pointer. It is possible and easy to see.

なお、一番外側のピッチずれ幅−80〜−40セント及び+
40〜+80セントは対応する表示セグメントが実際には存
在しないが、あたかも対応する表示セグメントが存在す
るかのようにこれらのピッチ幅に対応するセグメント番
号をレジスタLEDNOに記憶することができ、これら
のピッチ幅に関して第7図のLED表示プログラム50
を実行するようになっている。これに伴い、周期測定値
レジスタTCDの内容がこれらのピッチ幅に対応してい
るときは第6図のステップ49はYESであり、ステッ
プ51のオクターブレジスタTOCTのカウントアップ
処理には進まない。従って、このように、実際には点灯
表示しないピッチ幅に関してもLED表示プログラム5
0を実行したことにより、オクターブレジスタTOCT
が頻繁にカウントアップされることを抑止し、これに伴
い応答制御信号LOWが頻繁に切換わることを抑止し、
測定回路16における測定条件の徒らな変動を抑止し、
安定した条件で周期測定を行うようにすることができ
る。
The outermost pitch deviation range -80 to -40 cents and +
40 to +80 cents does not actually have a corresponding display segment, but the segment numbers corresponding to these pitch widths can be stored in the register LEDNO as if the corresponding display segment were present. LED display program 50 of FIG. 7 regarding pitch width
Is designed to run. Along with this, when the contents of the period measurement value register TCD correspond to these pitch widths, step 49 in FIG. 6 is YES, and the count-up process of the octave register TOCT in step 51 does not proceed. Therefore, as described above, the LED display program 5 is used even for the pitch width which is not actually lit and displayed.
By executing 0, the octave register TOCT
Is prevented from being counted up frequently, and accordingly, the response control signal LOW is prevented from being frequently switched,
Suppress unnecessary fluctuations in the measurement conditions in the measurement circuit 16,
The period measurement can be performed under stable conditions.

なお、上記実施例においては、レジスタBDDに記憶す
る各境界値データは各境界における実際のピッチを周期
で表わしたものであり、レジスタTCDの周期測定値デ
ータと該レジスタBDDから読出した上限及び下限境界
値データとを第7図のステップ58において直接比較す
るようにしている。しかし、これに限らず、レジスタB
DDには基準ピッチに対する各境界ピッチのピッチずれ
分を示すデータを夫々記憶し、ステップ58では基準ピ
ッチの周期と周期測定値との差を求めて、この差とピッ
チずれデータ形式の上限及び下限境界値データとを比較
するようにしてもよい。また、ピッチずれ又はピッチの
データ表現形式は周期に対応するデータに限らず、周波
数に対応する数値データあるいはセント値そのものであ
ってもよい。
In the above embodiment, each boundary value data stored in the register BDD represents the actual pitch at each boundary by a cycle, and the cycle measurement value data of the register TCD and the upper and lower limits read from the register BDD. The boundary value data is directly compared in step 58 of FIG. However, not limited to this, register B
Data indicating the pitch deviation amount of each boundary pitch with respect to the reference pitch is stored in DD, and in step 58, the difference between the cycle of the reference pitch and the cycle measurement value is obtained, and the difference and the upper and lower limits of the pitch deviation data format are stored. You may make it compare with boundary value data. Further, the pitch shift or the data expression format of the pitch is not limited to the data corresponding to the period, but may be numerical data corresponding to the frequency or the cent value itself.

上記実施例ではマイクロコンピュータを用いてこの発明
を実施しているが、専用のディスクリート回路によって
実施することもこの発明の範囲に含まれるのは勿論であ
る。
Although the present invention is carried out by using the microcomputer in the above-mentioned embodiments, it is needless to say that the invention is carried out by a dedicated discrete circuit.

また、基準ピッチを指定するための手段として鍵盤KB
を利用しているが、これに限らず、その他適宜の音高選
択用操作子を用いることができる。
Also, the keyboard KB is used as a means for designating the reference pitch.
However, the present invention is not limited to this, and any other suitable pitch selecting operator can be used.

〔発明の効果〕〔The invention's effect〕

以上の通りこの発明によれば、調律の基準ピッチを聴取
することができるので、調律の際に正しい音感を身につ
けることができ、教育的効果が大である。その場合、基
準ピッチ音の音色を調律対象楽器に合わせることができ
るので、より一層効果が大である。また、基準ピッチと
入力信号のオクターブを自動的に合わせて比較判断を行
うようにしているので、基準ピッチを指定するための操
作子選択操作はオクターブを考慮せずに音名だけを考慮
すればよいので楽である。また、基準ピッチの設定が任
意であり、かつ外部入力信号の周波数レンジも拡大され
るので、様々な種類の楽器の調律に使用することがで
き、調律装置としての用途が拡大される。また、外部入
力信号のオクターブ音域を自動的に判断し、これに基き
周波数又は周期測定回路の測定条件(周波数応答性能又
は周波数特性)を切換制御するようにしたので、入力信
号の周波数レンジ拡大に伴なう測定誤差を未然に防ぎ、
どの周波数帯域でも精度の良い測定を行うことができ
る。
As described above, according to the present invention, since the reference pitch of the tuning can be heard, the correct pitch can be acquired during the tuning, and the educational effect is great. In this case, the tone color of the reference pitch tone can be matched to the musical instrument to be tuned, and the effect is even greater. Also, since the reference pitch and the octave of the input signal are automatically matched to make a comparison judgment, the operator selection operation for specifying the reference pitch does not consider the octave, but only the note name. Good and easy. Further, since the setting of the reference pitch is arbitrary and the frequency range of the external input signal is expanded, it can be used for tuning various types of musical instruments, and the application as a tuning device is expanded. In addition, the octave range of the external input signal is automatically determined, and based on this, the measurement conditions (frequency response performance or frequency characteristics) of the frequency or period measurement circuit are switched and controlled, so that the frequency range of the input signal can be expanded. Prevents accompanying measurement errors,
Accurate measurement can be performed in any frequency band.

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

第1図はこの発明の基本構成を示す概念的ブロック図、
第2図はこの発明の一実施例のハード構成を示すブロッ
ク図、第3図は第2図の測定回路における正側及び負側
のピークホールド回路及び比較器の詳細例を示すブロッ
ク図、第4図は同じく測定回路におけるフェーズロック
ループ回路の一例を示すブロック図、第5図は同じく測
定回路における周期測定制御回路の入出力信号の一例を
示すタイミングチャート、第6図は第2図のマイクロコ
ンピュータによって実行される調律機能のプログラムの
一例を示すフローチャート、第7図は第6図におけるL
ED表示プログラムの一例を示すフローチャート、第8
図は第6図及び第7図のプログラムを実行するときに使
用する主なレジスタを示す図、である。 1……表示手段、2……音高選択用の複数の操作子、3
……測定手段、4……楽音発生手段、5……比較基準デ
ータ発生手段、6……比較手段、7……比較制御手段、
1a〜1n……複数の表示セグメント、KB……鍵盤、
10……キースイッチ回路、12……マイクロコンピュ
ータ、13……楽音形成回路、14……サウンドシステ
ム、16……測定回路、TCD……周期測定値レジス
タ、BDD……境界値データレジスタ、NKC……最新
キーコードレジスタ、BKC……基準キーコードレジス
タ、TOCT……オクターブレジスタ、21……バンド
パスフィルタ、22……ローパスフィルタ、24,25
……ピークホールド回路、29……フェーズロックルー
プ回路。
FIG. 1 is a conceptual block diagram showing the basic configuration of the present invention,
2 is a block diagram showing a hardware configuration of an embodiment of the present invention, and FIG. 3 is a block diagram showing a detailed example of the positive and negative peak hold circuits and a comparator in the measuring circuit of FIG. FIG. 4 is a block diagram showing an example of a phase-locked loop circuit in the measuring circuit, FIG. 5 is a timing chart showing an example of input / output signals of the period measurement control circuit in the measuring circuit, and FIG. 6 is a micro diagram of FIG. FIG. 7 is a flowchart showing an example of a tuning function program executed by a computer, and FIG.
Flowchart showing an example of an ED display program, eighth
The figure shows the main registers used when executing the programs of FIGS. 6 and 7. 1 ... Display means, 2 ... Multiple operators for pitch selection, 3
...... Measuring means, 4 ・ ・ ・ Music tone generating means, 5 …… Comparison reference data generating means, 6 …… Comparison means, 7 …… Comparison control means,
1a to 1n ... multiple display segments, KB ... keyboard,
10 ... Key switch circuit, 12 ... Microcomputer, 13 ... Music forming circuit, 14 ... Sound system, 16 ... Measuring circuit, TCD ... Period measurement value register, BDD ... Boundary value data register, NKC ... … Latest key code register, BKC …… Reference key code register, TOCT …… Octave register, 21 …… Band pass filter, 22 …… Low pass filter, 24,25
...... Peak hold circuit, 29 ...... Phase lock loop circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 水口 正明 静岡県浜松市中沢町10番1号 日本楽器製 造株式会社内 (56)参考文献 特開 昭50−51718(JP,A) 特開 昭58−140795(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masaaki Mizuguchi 10-1 Nakazawa-machi, Hamamatsu-shi, Shizuoka Nihon Gakki Co., Ltd. (56) Reference JP-A-50-51718 (JP, A) JP-A Sho 58-140795 (JP, A)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】所望の音高を選択するための複数の操作子
と、 前記操作子の操作に応じて選択された音高に対応する楽
音を発生する楽音発生手段と、 外部から与えられた入力信号の周波数又は周期を測定す
る測定手段と、 前記操作子によって選択された音高を基準ピッチとし
て、この基準ピッチに対応する比較基準データを発生す
る手段と、 前記比較基準データと前記測定手段の測定データとを比
較する比較手段と、 前記比較手段の比較結果に基き前記入力信号のピッチ又
は前記基準ピッチに対するピッチずれに対応する表示を
行う表示手段と、 前記比較手段で用いる前記比較基準データと前記測定デ
ータの一方をオクターブ単位で変更すると共に、このオ
クターブ単位のデータ変更に応じて前記測定手段におけ
る測定条件を制御する応答制御信号を発生する比較制御
手段と を具えた調律装置付電子楽器。
1. A plurality of manipulators for selecting a desired pitch, a tone generating means for generating a tone corresponding to a pitch selected according to an operation of the manipulator, and an externally applied tone generator. Measuring means for measuring the frequency or period of the input signal, means for generating comparison reference data corresponding to the reference pitch with the pitch selected by the operator as a reference pitch, the comparison reference data and the measuring means Comparing means for comparing with the measurement data of, the display means for performing a display corresponding to the pitch of the input signal or the pitch deviation with respect to the reference pitch based on the comparison result of the comparing means, and the comparison reference data used by the comparison means And a response for changing one of the measurement data in octave units and controlling the measurement conditions in the measuring means in accordance with the data change in octave units. Electronic musical instrument with tuning device with a comparison control means for generating a control signal.
【請求項2】前記測定手段は、前記入力信号を入力した
フィルタ回路を含み、このフィルタ回路の周波数特性を
前記応答制御信号に応じて変更制御するものである特許
請求の範囲第1項記載の調律装置付電子楽器。
2. The measuring device according to claim 1, wherein the measuring means includes a filter circuit to which the input signal is input, and the frequency characteristic of the filter circuit is changed and controlled according to the response control signal. Electronic musical instrument with tuning device.
【請求項3】前記測定手段は、前記入力信号のピークを
検出するためのピーク検出回路を含み、このピーク検出
回路は時定数回路を含み、この時定数回路の時定数を前
記応答制御信号に応じて変更制御するものである特許請
求の範囲第1項記載の調律装置付電子楽器。
3. The measuring means includes a peak detection circuit for detecting a peak of the input signal, the peak detection circuit includes a time constant circuit, and the time constant of the time constant circuit is used as the response control signal. The electronic musical instrument with a tuning device according to claim 1, wherein the electronic musical instrument is modified and controlled accordingly.
【請求項4】前記測定手段は、発振器を含むフェーズロ
ックループ回路を含み、前記発振器の発振周波数レンジ
を前記応答制御信号に応じて変更制御するものである特
許請求の範囲第1項記載の調律装置付電子楽器。
4. The tuning according to claim 1, wherein the measuring means includes a phase-locked loop circuit including an oscillator, and changes and controls the oscillation frequency range of the oscillator according to the response control signal. Electronic musical instrument with device.
JP59132959A 1984-06-29 1984-06-29 Electronic musical instrument with tuning device Expired - Fee Related JPH0640262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59132959A JPH0640262B2 (en) 1984-06-29 1984-06-29 Electronic musical instrument with tuning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59132959A JPH0640262B2 (en) 1984-06-29 1984-06-29 Electronic musical instrument with tuning device

Publications (2)

Publication Number Publication Date
JPS6113297A JPS6113297A (en) 1986-01-21
JPH0640262B2 true JPH0640262B2 (en) 1994-05-25

Family

ID=15093496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59132959A Expired - Fee Related JPH0640262B2 (en) 1984-06-29 1984-06-29 Electronic musical instrument with tuning device

Country Status (1)

Country Link
JP (1) JPH0640262B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7560634B2 (en) 2006-01-20 2009-07-14 Yamaha Corporation Electronic musical instrument having tuning device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63249548A (en) * 1987-04-03 1988-10-17 オリンパス光学工業株式会社 Ultrasonic diagnostic apparatus
JPH0715030Y2 (en) * 1987-05-29 1995-04-10 カシオ計算機株式会社 Tuning device
JPH02188794A (en) * 1989-01-18 1990-07-24 Matsushita Electric Ind Co Ltd Pitch extracting device
JP3248945B2 (en) * 1992-04-28 2002-01-21 ヤマハ株式会社 Tuning equipment
JPH0772869A (en) * 1993-09-02 1995-03-17 Kawai Musical Instr Mfg Co Ltd Tuning support system of electronic musical instrument
JP4160814B2 (en) * 2002-10-25 2008-10-08 ローランド株式会社 Electronic tuner
JP2018156040A (en) * 2017-03-21 2018-10-04 セイコーインスツル株式会社 Deviation display machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5051718A (en) * 1973-09-06 1975-05-08
JPS58140795A (en) * 1982-02-15 1983-08-20 野沢 康夫 Music sound pitch adjusting system for electronic musical instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7560634B2 (en) 2006-01-20 2009-07-14 Yamaha Corporation Electronic musical instrument having tuning device

Also Published As

Publication number Publication date
JPS6113297A (en) 1986-01-21

Similar Documents

Publication Publication Date Title
US4014242A (en) Apparatus for use in the tuning of musical instruments
US4429609A (en) Pitch analyzer
US3509454A (en) Apparatus for tuning musical instruments
GB1570593A (en) Method and apparatus for reproducing an electrical signal
JPH09244637A (en) Playing information detector
US4354418A (en) Automatic note analyzer
JPH0640262B2 (en) Electronic musical instrument with tuning device
EP1775713A1 (en) Tuning device for musical instruments and computer program used therein
CN115909999A (en) Electronic device, pronunciation indication method of electronic device, and storage medium
US4478525A (en) Musical envelope control device
US3972258A (en) Automatic rhythm performance system
US4437380A (en) Musical envelope-producing device
JPS6010639B2 (en) tuning device
JP2002132256A (en) Tuning device
US4369687A (en) Pitch sensor
US4178824A (en) Electronic musical instrument
JPS6113293A (en) Tuner
US3879684A (en) Tuneable UJT oscillator circuit
JP3231362B2 (en) Tuning device
RU2734572C1 (en) Method for determining pitch in electric musical instruments of heterodyne type
US4646611A (en) Electronic musical instrument
JP2885333B2 (en) Electronic musical instrument
JP3819107B2 (en) Electronic musical instrument modulator
CA1081786A (en) Method and apparatus for tuning musical instruments
KR900009745Y1 (en) Memory time deciding circuit for sampling audio sound

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees