Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0260199B2 - - Google Patents
[go: Go Back, main page]

JPH0260199B2 - - Google Patents

Info

Publication number
JPH0260199B2
JPH0260199B2 JP59132958A JP13295884A JPH0260199B2 JP H0260199 B2 JPH0260199 B2 JP H0260199B2 JP 59132958 A JP59132958 A JP 59132958A JP 13295884 A JP13295884 A JP 13295884A JP H0260199 B2 JPH0260199 B2 JP H0260199B2
Authority
JP
Japan
Prior art keywords
segment
pitch
state
register
pitch deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59132958A
Other languages
Japanese (ja)
Other versions
JPS6113293A (en
Inventor
Yasunao Abe
Masaaki Mizuguchi
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
Yamaha Kyohan KK
Original Assignee
Yamaha Corp
Yamaha Kyohan KK
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, Yamaha Kyohan KK filed Critical Yamaha Corp
Priority to JP59132958A priority Critical patent/JPS6113293A/en
Publication of JPS6113293A publication Critical patent/JPS6113293A/en
Publication of JPH0260199B2 publication Critical patent/JPH0260199B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Auxiliary Devices For Music (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は調律装置に関し、特に、基準ピツチ
に対する調律対象信号のピツチずれの表示を改良
したことに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a tuning device, and more particularly to improved display of pitch deviation of a signal to be tuned with respect to a reference pitch.

〔従来の技術〕[Conventional technology]

調律装置におけるピツチずれの表示の仕方に
は、指針を振子のように機械的に振らせて表示す
る方法(実開昭59−20297号)、あるいは発光ダイ
オード等から成る複数の表示セグメントを配列し
てピツチずれに対応する特定のセグメントを点灯
する方法(実開昭58−13591号)などがある。
Pitch deviations in tuning devices can be displayed by mechanically swinging the pointer like a pendulum (Utility Model Application No. 59-20297), or by arranging multiple display segments made of light emitting diodes, etc. There is a method (Utility Model Application No. 13591/1983) of lighting a specific segment corresponding to the pitch deviation.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前者のものは機械式であるためコスト高であ
り、また、振動に弱く、くるいが生じ易いので調
整が必要である、という問題点がある。後者のも
のは機械的振動の影響を受けず正確ではあるが、
従来の表示回路の構成はピツチずれ測定結果をそ
のままデコーダでデコードして対応する表示セグ
メントを点灯するようにしていたため、ピツチず
れ測定結果の変動に伴い点灯セグメントが隣接セ
グメントを飛越して目まぐるしく変化し、更にそ
の変化のスピードが速いので、非常に見にくい、
という問題点があつた。
The former type is mechanical, so it is expensive, and it is also susceptible to vibration and tends to cause distortion, so it requires adjustment. Although the latter is not affected by mechanical vibration and is accurate,
In the conventional display circuit configuration, the pitch deviation measurement result is directly decoded by a decoder and the corresponding display segment is lit, so as the pitch deviation measurement result fluctuates, the lighting segment jumps over the adjacent segment and changes rapidly. , Furthermore, the speed of change is so fast that it is very difficult to see.
There was a problem.

この発明は上述の点に鑑みてなされたもので、
複数の表示セグメントを選択的に点灯制御する方
式を採用することにより低コスト化及び正確化を
図ると共に、点灯セグメントが目まぐるしく変化
することを抑止して見易い表示が行えるようにし
た調律装置を提供しようとするものである。
This invention was made in view of the above points,
It is an object of the present invention to provide a tuning device that achieves cost reduction and accuracy by adopting a method of selectively controlling the lighting of a plurality of display segments, and that also prevents the lighting segments from changing rapidly and provides an easy-to-read display. That is.

〔問題点を解決するための手段〕[Means for solving problems]

この発明の基本構成について第1図を参照して
説明すると、基準ピツチに対するピツチずれの大
きさに対応して設けられた複数の表示セグメント
1a〜1nの用いて該基準ピツチに対する入力信
号(調律対象信号)のピツチずれを表示する。こ
のピツチずれ表示は、該ピツチずれの大きさに対
応するセグメント1a〜1nを指示状態にするこ
とにより行われる。指示状態とは、セグメント1
a〜1nが発光ダイオードのような発光素子から
成る場合は発光若しくは点灯状態のことであり、
その他の素子の場合はそれに応じた表示オンの状
態のことである。セグメント特定手段2は、複数
のセグメント1a〜1nのうち指示状態にあるセ
グメントを特定するためのものであり、セグメン
トを指示状態(表示オン)にするための信号を供
給する手段又は指示状態にあるセグメントを検出
するための手段又は指示状態にあるセグメントを
示す情報を記憶する手段のいずれを用いてもよ
い。
The basic configuration of the present invention will be explained with reference to FIG. display the pitch deviation of the signal). This pitch deviation display is performed by setting the segments 1a to 1n corresponding to the size of the pitch deviation to an indicated state. The indicated state is segment 1
When a to 1n are composed of light emitting elements such as light emitting diodes, they are in a light emitting or lighting state,
In the case of other elements, this refers to the corresponding display-on state. The segment specifying means 2 is for specifying a segment that is in an instruction state among the plurality of segments 1a to 1n, and is a means for supplying a signal to put a segment in an instruction state (display on) or in an instruction state. Either means for detecting segments or means for storing information indicating segments in an indicated state may be used.

測定手段3は、調律対象である信号を入力し、
この入力信号の周波数又は周期を測定する。この
測定手段3による測定結果とセグメント特定手段
2の出力が判断手段4に入力されており、この判
断手段4では、基準ピツチに対する入力信号のピ
ツチずれが現在指示状態にあるセグメントに対応
しているか否かが判断される。切換手段5は、判
断手段4によつて前記ピツチずれが現在指示状態
にあるセグメントに対応していないと判断された
とき、次に指示状態となるべきセグメントを現在
指示状態にあるセグメントに隣接するセグメント
に切換え、前記ピツチずれに対応するセグメント
が指示状態となるまでこの切換えを順次隣接する
セグメントに対して行う。
The measuring means 3 inputs the signal to be tuned,
Measure the frequency or period of this input signal. The measurement result by the measuring means 3 and the output of the segment specifying means 2 are input to the determining means 4, and the determining means 4 determines whether the pitch deviation of the input signal with respect to the reference pitch corresponds to the segment currently in the indicated state. It is determined whether or not. When the determining means 4 determines that the pitch deviation does not correspond to the segment currently in the indicated state, the switching means 5 switches the segment to be next in the indicated state to a segment adjacent to the segment currently in the indicated state. This switching is sequentially performed for adjacent segments until the segment corresponding to the pitch shift is in the indicated state.

〔作用〕[Effect]

入力信号のピツチずれが現在指示状態にあるセ
グメントに対応していないと判断手段4が判断し
たとき、切換手段5は該ピツチずれに対応するセ
グメントを直ちに指示状態にするのではなく、現
在指示状態にあるセグメントに隣接するセグメン
トから順番に指示状態に切換えてゆく。従つて、
指示状態となるセグメントがあたかも針の振れの
ように順番に切換つて移動することになり、見易
くなる。
When the determining means 4 determines that the pitch deviation of the input signal does not correspond to the segment currently in the indicated state, the switching means 5 does not immediately change the segment corresponding to the pitch deviation to the indicated state, but changes the segment to the currently indicated state. The segment adjacent to the segment located at is sequentially switched to the indicated state. Therefore,
The segments that are in the indicated state are switched and moved in order like the wobbling of a needle, making it easier to see.

実施態様として、切換手段5では、前記判断手
段4によつて前記ピツチずれが現在指示状態にあ
るセグメントに対応していないと判断されたと
き、所定の応答遅れを設定した後、次に指示状態
となるべきセグメントを隣接するセグメントに切
換える。更に好ましくは、前記判断手段4によつ
て前記ピツチずれが現在指示状態にあるセグメン
トに対応していないと最初に判断されたときから
該ピツチずれに対応するセグメントが指示状態と
なるまでの間において、指示状態となるべきセグ
メントを隣接するセグメントに最初に切換える際
の前記応答遅れを、それに引き続くセグメント切
換えの際の前記応答遅れよりも大きく設定する。
このようにすると、機械式指針の振れのように、
指示状態にあるセグメントが移動する過程におい
て、その動き始めは応答が幾分遅く、それに比べ
て動き出した後は応答が速くなる。従つて、より
一層見易い表示を行うことができる。
As an embodiment, when the determining means 4 determines that the pitch deviation does not correspond to the segment currently in the indicated state, the switching means 5 sets a predetermined response delay, and then switches to the next indicated state. Switch the segment that should become the next segment to the adjacent segment. More preferably, during the period from when the determining means 4 first determines that the pitch deviation does not correspond to the segment currently in the indication state until the segment corresponding to the pitch deviation becomes the indication state. , the response delay when first switching a segment to be in the instruction state to an adjacent segment is set to be larger than the response delay during subsequent segment switching.
In this way, like the vibration of a mechanical pointer,
In the process of movement of a segment in the indicated state, the response is somewhat slow at the beginning of the movement, but the response becomes faster after the segment starts moving. Therefore, it is possible to provide a display that is even easier to see.

好ましい実施態様では、上記遅れ時間は固定さ
れた時間ではなく、判断手段4における判断結果
を確認した回数を加算又は減算計数する計数手段
を用い、その計数値に基き設定される。
In a preferred embodiment, the delay time is not a fixed time, but is set based on a count value using a counting means that adds or subtracts the number of times the judgment result of the judgment means 4 has been confirmed.

〔実施例〕〔Example〕

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

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

キースイツチ回路10は鍵盤KBの各鍵に対応
するキースイツチを含んでいる。音色及びその他
操作子回路11は音色その他の楽音要素を選択・
設定・制御するための複数の操作子を含んでお
り、必要に応じて各操作子に対応する表示手段も
含んでいる。マイクロコンピユータ12はこの電
子楽器の動作を制御するためのものであり、大別
して、キースイツチ回路10の各キースイツチを
走査して押圧鍵を検出し、押圧鍵の発音を複数の
楽音発生チヤンネルのいずれかに割当てる機能
と、音色及びその他操作子回路11を走査して音
色その他楽音要素の選択・設定・制御内容を検出
する機能と、調律機能とを具備している。楽音形
成回路13は、複数の楽音発生チヤンネルで夫々
独立に楽音信号を形成することができるものであ
り、マイクロコンピユータ12による制御の下
に、各チヤンネルに割当てられた押圧鍵の音高情
報が与えられると共に音色その他楽音要素の制御
情報が与えられ、これらの情報に基き楽音信号を
形成する。楽音形成回路13で形成された楽音信
号はサウンドシステム14に与えられ、発音され
る。このような電子楽器の一般的な楽音発生機能
は、通常知られたものであり、いかなる構成を用
いて実現するようにしてもよいので、その詳細は
特に説明しない。
The key switch circuit 10 includes key switches corresponding to each key of the keyboard KB. The timbre and other operator circuit 11 selects and controls timbre and other musical tone elements.
It includes a plurality of operators for setting and controlling, and also includes display means corresponding to each operator as necessary. The microcomputer 12 is for controlling the operation of this electronic musical instrument, and can be roughly divided into two types: it scans each key switch of the key switch circuit 10 to detect a pressed key, and selects the sound of the pressed key from one of a plurality of musical sound generation channels. , a function to scan the timbre and other operator circuit 11 to detect selection, setting, and control contents of timbre and other musical sound elements, and a tuning function. The musical tone forming circuit 13 is capable of independently forming musical tone signals through a plurality of musical tone generation channels, and is provided with pitch information of pressed keys assigned to each channel under the control of the microcomputer 12. At the same time, control information on timbre and other musical tone elements is given, and a musical tone signal is formed based on this information. The musical tone signal formed by the musical tone forming circuit 13 is given to a sound system 14 and is generated. The general musical tone generation function of such an electronic musical instrument is generally known and may be realized using any configuration, so its details will not be specifically explained.

基準ピツチに対するピツチずれの大きさに対応
して設けられた複数の表示セグメント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〜1
nが設けられている。なお、マイクロコンピユー
タ12においては−80〜−40セント及び+40〜+
80セントのピツチずれ幅に関しても判断処理を行
うが、このピツチずれ幅に対応する表示セグメン
トは設けられていない。判断処理を行うピツチず
れ幅を拡大した理由については後述する。
A plurality of display segments 1a to 1n provided corresponding to the size of pitch deviation with respect to the reference pitch.
For example, a light emitting diode (hereinafter referred to as LED)
Consists of. Specifically, each of these segments 1a to 1n corresponds to a predetermined pitch deviation width. An example of the boundary value of each pitch deviation width is shown in Figure 2, -40 to -30 cents, -30 to -20 cents,
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
11 segments 1a to 1 corresponding to 11 different pitch deviation widths of ~+30 cents, +30 to +40 cents
n is provided. In addition, in the microcomputer 12, -80 to -40 cents and +40 to +
Although determination processing is also performed regarding the pitch deviation width of 80 cents, a display segment corresponding to this pitch deviation width is not provided. The reason why the pitch shift width for performing the determination process is expanded will be described later.

マイクロコンピユータ12は第1図に示したセ
グメント特定手段2、判断手段4、切換手段5に
相当する機能を受け持ち、点灯すべきセグメント
を示す情報を表示制御回路15に与える。表示制
御回路15は、マイクロコンピユータ12によつ
て指示されたセグメントを点灯する制御を行う。
The microcomputer 12 has functions corresponding to the segment specifying means 2, determining means 4, and switching means 5 shown in FIG. 1, and provides the display control circuit 15 with information indicating segments to be lit. The display control circuit 15 performs control to light up segments instructed by the microcomputer 12.

基準ピツチは鍵盤KBで所望の鍵を押圧するこ
とにより任意に指定することができる。このと
き、通常の電子楽器と同様に押圧鍵の楽音が発音
され、基準ピツチとして指定した音高を耳で確認
することができる。この場合、楽音形成回路13
では音色及びその他操作子回路11で選択された
音色に従つて基準ピツチの楽音の楽音形成を行う
ので、調律対象である楽器に対応する音色を該回
路11で選択すれば、調律対象である楽器と同じ
若しくは近似した音色で基準ピツチの楽音を発音
することができ、調律対象楽音と対比して聴きと
る場合に聴きとり易いばかりでなく、調律のため
の聴覚教育にも適している。また、この基準ピツ
チは、調律対象である入力信号のオクターブに無
関係に、鍵盤KBにおける任意のオクターブ鍵域
を使用して指定することができる。そのために、
基準ピツチと入力信号のピツチを比較判断する場
合に、入力信号のオクターブを自動的に判断し、
両者のオクターブを自動的に合わせた上で比較判
断を行うようにしている。従つて、基準ピツチを
指定する押鍵操作を行う場合、調律しようとする
楽音の音名のみを考慮すればよく、そのオクター
ブは考慮しなくてもよいため、楽である。
The reference pitch can be arbitrarily specified by pressing a desired key on the keyboard KB. At this time, the musical tone of the pressed key is produced in the same way as a normal electronic musical instrument, and the pitch specified as the reference pitch can be confirmed by ear. In this case, the musical tone forming circuit 13
Since the musical tone of the reference pitch is formed according to the tone selected by the timbre and other operator circuit 11, if the tone corresponding to the instrument to be tuned is selected by the circuit 11, the musical tone corresponding to the instrument to be tuned will be changed. It is possible to produce a musical tone at a reference pitch with the same or similar timbre, and it is not only easy to hear when compared with the musical tone to be tuned, but also suitable for auditory education for tuning. Further, this reference pitch can be specified using any octave key range on the keyboard KB, regardless of the octave of the input signal to be tuned. for that,
When comparing and judging the reference pitch and the pitch of the input signal, the octave of the input signal is automatically determined,
The octaves of the two are automatically matched before a comparative judgment is made. Therefore, when performing a key press operation to designate a reference pitch, it is convenient because only the note name of the musical note to be tuned needs to be considered, and the octave thereof need not be considered.

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

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

セレクタ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 low-pass filter 22 when the response control signal LOW is "0".
In this case, the output of the bandpass filter 21 is selected. 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 a positive peak hold circuit 24 and a negative peak hold circuit 25.
Furthermore, it is input to a positive side comparator 26 and a negative side comparator 27. The positive side peak hold circuit 24 is the selector 23
The negative peak hold circuit 25 holds the negative peak value of the output signal. 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 an active level when the output signal of the selector 23 is a 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 an active level when the output signal of the selector 23 is a negative peak value.

各比較器26,27の出力はフリツプフロツプ
28のセツト入力S及びリセツト入力Rに加わ
り、能動レベルのときセツト又はリセツトを行
う。従つて、フリツプフロツプ28は、セレクタ
23の出力信号すなわち調律対象信号の正のピー
ク点でセツトされ、負のピーク点でリセツトされ
る。こうして、調律対象信号の基本周期に同期し
た方形波信号がフリツプフロツプ28から出力さ
れる。
The output of each comparator 26, 27 is applied to the set input S and reset input R of flip-flop 28 to set or reset when at an 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 signal to be tuned, and reset at the negative peak point. In this way, a square wave signal synchronized with the fundamental period of the signal to be tuned is output from the flip-flop 28.

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

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

第3図は正側及び負側のピークホールド回路2
4,25と比較器26,27の詳細例を示した図
であり、コンデンサC1,C2の正のピーク値及
び負のピーク値が夫々ホールドされ、抵抗R1,
R2又はR3,R4を介して放電される。応答制
御信号LOWが“0”のとき(入力信号が高音域
のとき)トランジスタ31,32がオンし、抵抗
値の大きな抵抗R2,R3が短絡されて、放電回
路の時定数が小さくなる。従つて高音域の入力信
号に適したピークホールドができる。応答制御信
号LOWが“1”のとき(入力信号が低音域のと
き)トランジスタ31,32はオフし、放電回路
の時定数が大きくなる。従つて低音域の入力信号
に適したピークホールドができる。
Figure 3 shows the positive side and negative side peak hold circuits 2.
4, 25 and comparators 26, 27, the positive peak values and negative peak values of capacitors C1, C2 are held, respectively, and resistors R1,
It is discharged via R2 or 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, and the resistors R2 and R3, which have large resistance values, are short-circuited, and the time constant of the discharge circuit becomes small. Therefore, peak hold suitable for high frequency input signals can be achieved. 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, peak hold suitable for low frequency input signals can be achieved.

第4図はPLL回路29の一例を示す図で、電
圧制御型発振器(VCO)33の出力とフリツプ
フロツプ28(第2図)の出力とを位相比較器3
4で比較し、その出力をローパスフイルタ35を
介してVCO33の制御入力に与える。VCO33
には応答制御信号LOWも入力されており、該信
号LOWが“0”のときその発振周波数レンジを
所定の高音域に設定し、“1”のときは所定の低
音域に設定する。
FIG. 4 is a diagram showing an example of the PLL circuit 29, in which the output of the voltage controlled oscillator (VCO) 33 and the output of the flip-flop 28 (FIG. 2) are connected to the phase comparator 3.
4 and its output is applied to the control input of the VCO 33 via the low-pass filter 35. VCO33
A response control signal LOW is also input, 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のカウント動作が停止し、該カウンタ3
4は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 period measurement control circuit 36 is for controlling the period measurement counter 37 to measure the period of the square wave signal output from the PLL circuit 29. The period measurement operation will be explained with reference to the timing chart in FIG. A reset signal is applied to input R to reset the old count contents. Next, the period from when the input square wave signal (output of the PLL circuit 29) whose period is to be measured rises to "1" to when it rises to "1" next time is 1.
During the period, a signal "1" is applied to the enable input EN of the counter 37 to enable counting. When counting becomes possible, the counter 37 sequentially counts the clock pulses provided from the clock oscillator 38. When one cycle to be measured is completed, the signal of the enable input EN falls to "0", the counting operation of the counter 37 is stopped, and the counter 3
4 holds a count value corresponding to the length of one cycle. At the same time, an end signal EOC is output from the control circuit 36 and applied to the microcomputer 12 via the interface 17. Further, the count value of the counter 37 is also given to the microcomputer 12 via the interface 17. The microcomputer 12 takes in and stores the count value of the counter 37 when the end signal EOC is generated as period measurement data of the externally inputted tuning target signal. Note that if the cycle is extremely long, the count value of the counter 37 will reach the maximum value before one cycle ends. 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, and based on this, the signal of the enable input EN is forced to "0" to stop the counting operation. and hold the maximum count value.

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

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

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

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

ステツプ42では、最新キーコードレジスタ
NKCと基準キーコードレジスタRKCの内容を比
較する。最新キーコードレジスタNKCは、押鍵
検出走査処理において記憶制御がなされるレジス
タであり、最も新しく押圧された鍵を押すキーコ
ードを記憶する。基準キーコードレジスタRKC
は、基準ピツチに相当する鍵のキーコードを記憶
するものである。最新キーコードが現在の基準キ
ーコードと不一致のとき、すなわちステツプ42
の「NKC≠RKC?」がYESのとき、ステツプ4
3に進み、最新キーコードレジスタNKCの内容
を基準キーコードレジスタRKCに書込む。こう
して、基準キーコードレジスタRKCの内容は常
に最新の押圧鍵のキーコードによつて更新され、
最新の押圧鍵が基準ピツチ指定鍵となる。
In step 42, the latest key code register
Compare the contents of NKC and reference key code register RKC. The latest key code register NKC is a register that is subjected to storage control in the key press detection scanning process, and stores the key code for the most recently pressed key. 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, step 42
When “NKC≠RKC?” is YES, step 4
Proceed to step 3 and write the contents of the latest key code register NKC to 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.
The most recently pressed key becomes the reference pitch designation key.

ステツプ43から「リターン」に至るフロー
は、調律の基準ピツチが新たな押鍵によつて変更
されたときに実行されるものである。ステツプ4
4では、レジスタRKCの基準キーコードに基き
基準ピツチのノート周波数(基準ピツチ指定鍵の
オクターブに無関係に特定オクターブ例えば最低
オクターブにおける基準ピツチの音名に対応する
周波数)を示すデータを求め、この基準ピツチの
ノート周波数データ(すなわち0セントのピツチ
ずれに対応する周波数データ)に基き、各表示セ
グメント1a〜1nに対応するピツチずれ幅の各
境界値(一例として、+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 tuning reference pitch is changed by a new key depression. Step 4
In step 4, 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 specified key) is obtained based on the reference key code of the register RKC, and this reference pitch is calculated based on the reference key code of the register RKC. Based on pitch note frequency data (that is, frequency data corresponding to a pitch shift of 0 cents), each boundary value of pitch shift width corresponding to each display segment 1a to 1n (for example, +1, +3, +10, +20, +30 ,
+40, +80, -1, -3, -10, -20, -30, -40, -
80
The frequency of each boundary value (cents) is calculated, and the reciprocal of the frequency of each boundary value is taken to convert it into data indicating the period, and the period data of each boundary value 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 data indicating the reference pitch itself, but using pitch data corresponding to the boundary value of the pitch deviation width corresponding to each display segment 1a to 1n. It is starting to be done. To this end, in the process of step 44, each boundary value is converted from a cent value to pitch data (periodic data in this example) corresponding to the reference pitch. In addition, the register
The reason why the pitch data of each boundary value stored in the BDD is made into period data is to match the period of the external input signal, which is measured in the measurement circuit 16 (FIG. 2).

ステツプ45,46,47は初期設定のための
処理であり、基準ピツチが変更されたときは初期
状態に一旦戻すためにこれらの処理を行う。ステ
ツプ45では応答制御信号LOWを“1”にセツ
トし、出力する(低音域に対応させる)。ステツ
プ46ではオクターブレジスタTOCTのオクタ
ーブデータを最低オクターブを示す「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 to temporarily return to the initial state. In step 45, the response control signal LOW is set to "1" and output (corresponding to the bass range). In step 46, the octave data of the octave register TOCT is set to "0" indicating the lowest octave. The octave register TOCT is used to automatically determine the octave range of an external input signal, and searches for the octave of the external input signal while sequentially increasing the octave data stored there. As is clear from this initial setting, the octave search for the external input signal is performed from the low octave side. In this case, the cycle data of each boundary value stored in the boundary value data register BDD is determined based on the note frequency of the reference pitch in the lowest octave. In step 47, a start signal START is output.

基準ピツチが変更されていない場合は、ステツ
プ42の「NKC≠RKC?」はNOであり、ステ
ツプ48に進む。ステツプ48では、オクターブ
レジスタTOCTの内容に対応するオクターブ数
だけ2のべき乗を行い(2TOCT)、これを周期測定
値レジスタTCDの内容に乗算し(TCD*2TOCT)、
乗算結果によつて該レジスタTCDの内容を書替
える。初めはTOCTは「0」であるのでレジス
タTCDの内容は変化しない。TOCTのオクター
ブ数が「1」,「2」,「3」…と変化すると、レジ
スタTCDの周期測定値は2倍、4倍、8倍…と
オクターブ単位で変化する。このステツプ48
は、基準ピツチ(すなわちレジスタBDD内の各
境界値の周期データ)と外部入力信号のピツチ
(すなわちレジスタTCD内の周期測定値データ)
とのオクターブ音域を一致させる若しくは近づけ
るための処理である。前述のようにレジスタ
BDD内の各境界値の周期データは最低オクター
ブに対応しているので、外部入力信号のオクター
ブが最低オクターブより高い場合はその分だけレ
ジスタBDD内のデータのオクターブを上げてや
ればよいのだが(BDDの周期データを2TOCTで割
算する)、境界値の数が多いのでそれでは演算が
面倒である。そこで、レジスタBDD内のデータ
は変更せずに、レジスタTCDの周期測定値デー
タを2倍、4倍又は8倍…とすることにより、外
部入力信号のオクターブを見かけ上下げてやり、
何オクターブ下げたかによつて(つまりオクター
ブレジスタTOCTの内容によつて)外部入力信
号が最低オクターブの何オクターブ上であるかが
判明する。
If the reference pitch has not been changed, "NKC≠RKC?" in step 42 is NO, and the process advances to step 48. In step 48, the contents of the octave register TOCT are raised to a power of 2 by the number of octaves corresponding to the number of octaves (2 TOCT ), and this is multiplied by the contents of the period measurement value register TCD (TCD*2 TOCT ).
The contents of the register TCD are rewritten according to the multiplication result. Initially, TOCT is "0", so the contents of register TCD do not change. When the number of octaves of TOCT changes from "1" to "2" to "3", etc., the period measurement value of the register TCD changes from 2 times, 4 times, 8 times, etc. in octave units. This step 48
is the reference pitch (i.e., the period data of each boundary value in register BDD) and the pitch of the external input signal (i.e., the period measurement value data in register TCD)
This is a process to match or bring the octave ranges closer together. register as mentioned above
The cycle data of each boundary value in the BDD corresponds to the lowest octave, so if the octave of the external input signal is higher than the lowest octave, you can increase the octave of the data in the register BDD by that amount ( (dividing the BDD period data by 2 TOCT ), the calculation is cumbersome because there are many boundary values. Therefore, by multiplying the cycle measurement value data of register TCD by 2, 4, or 8 times, without changing the data in register BDD, the octave of the external input signal is apparently lowered.
Depending on how many octaves the external input signal is lowered (in other words, depending on the contents of the octave register TOCT), it becomes clear 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のいずれかを点灯する処理を行
う。範囲内でなければ、ステツプ51に進み、オ
クターブレジスタTOCTの内容を1増加する。
オクターブレジスタTOCTの内容が外部入力信
号のオクターブに対応している場合は、ステツプ
49の判断「TCMIN<TCD<TCMAX?」が
満足され、ピツチずれがセグメント1a〜1nの
用いて表示することができる。しかし、レジスタ
TOCTの内容がまだ外部入力信号のオクターブ
に対応していない場合は、ステツプ49の判断は
満足されず、ピツチずれをセグメント1a〜1n
を用いて表示することはできない。そこで、ステ
ツプ51の処理により、オクターブレジスタ
TOCTを更に1増加して、外部入力信号のオク
ターブサーチを更に続けるのである。
In step 49, the boundary value data register
Minimum period data TCMIN corresponding to the outermost boundary values of +80 cents and -80 cents from BDD
(corresponds to +80 cents) and maximum cycle data TCMAX
(corresponding to -80 cents) and register
The cycle measurement value data in the TCD is compared to check whether the cycle 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 light up any one of the display segments 1a to 1n made up of LEDs. If it is not within the range, the process advances to step 51 and the contents of the octave register TOCT are incremented by one.
If the contents of the octave register TOCT correspond to the octave of the external input signal, the judgment "TCMIN<TCD<TCMAX?" in step 49 is satisfied, and the pitch shift can be displayed using segments 1a to 1n. . But the register
If the contents of TOCT do not yet correspond to the octave of the external input signal, the judgment in step 49 is not satisfied, and the pitch shift is corrected for segments 1a to 1n.
cannot be displayed using . Therefore, by the process of step 51, the octave register is
TOCT is further increased by 1 and the octave search for the external input signal is continued.

オクターブサーチのためのループに設けられた
ステツプ52は、応答制御信号LOWの切換条件
を判定するためのものである。この例では、有効
なオクターブ数は5オクターブであり、その各オ
クターブに対応するオクターブデータは最低オク
ターブから順に「0」、「1」、「2」、「3」、「4

であるとしている。そして、低音側の3オクター
ブを低音域、高音側の2オクターブを高音域と
し、外部入力信号がどちらの音域に属するかに応
じて応答制御信号LOWを切換えるようにしてい
る。そのため、ステツプ52ではオクターブレジ
スタTOCTの内容が「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, and the octave data corresponding to each octave is "0", "1", "2", "3", "4", starting from the lowest octave.

It is said that it is. The three octaves on the bass side are defined as the low range, and the two octaves on the high range are defined as the high range, and the response control signal LOW is switched depending on which range the external input signal belongs to. Therefore, in step 52, it is determined whether the content of the octave register TOCT is "3", and if YES, the external input signal belongs to the high range, so in step 53, the response control signal LOW is set to "0". As a result, the measurement circuit 16
Since the period measurement conditions in (Fig. 2) change,
It is preferable to measure the period again with high accuracy.
Therefore, in step 54, a start signal START is output to cause period measurement to be performed.

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

ステツプ49がYESになるまでステツプ51
〜56のループを繰返し、外部入力信号のオクタ
ーブをサーチする。ステツプ55は所定の最高オ
クターブを越えてサーチが行われたかどうかを調
べるもので、レジスタTOCTの内容がオクター
ブデータの有効な最大値「4」以下であれば、
TOCT=「5」?がNOであり、ステツプ56に
進み、オクターブサーチのループを続ける。しか
し、有効なオクターブ数内で外部入力信号のオク
ターブが判定できなかつた場合は、ステツプ55
のYESを通り、ステツプ45,46,47の処
理(初期設定)に戻る。
Step 51 until step 49 becomes YES
-56 loops are repeated to search the octave of the external input signal. Step 55 is to check whether the search has been performed beyond the predetermined highest octave, and if the contents of the register TOCT are less than or equal to the valid maximum value of octave data "4",
TOCT=“5”? is NO, proceeding to step 56 and continuing the octave search loop. However, if the octave of the external input signal cannot be determined within the valid number of octaves, step 55
YES, and the process returns to steps 45, 46, and 47 (initial settings).

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

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

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

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

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

ステツプ59〜61ではステツプ58の判断結
果に応じて高側移動計数レジスタHCNTと低側
移動計数レジスタLCNTの計数動作を制御する。
高側移動計数レジスタHCNTは、点灯すべきセ
グメントを高ピツチ側の隣接セグメントに切換え
る際に、判断と切換え動作との間に応答遅れを設
定するためのものである。低側移動計数レジスタ
LCNTは、点灯すべきセグメントを低ピツチ側
の隣接セグメントに切換える際に、判断と切換え
動作との間に応答遅れを設定するためのものであ
る。各レジスタHCNT,LCNTの内容に対して
加算又は減算計数が行われるようになつており、
減算が進んでレジスタHCNT,LCNTの内容
「0」になつた場合はそれ以後の減算命令には反
応せず、「0」を維持するものとする。
In steps 59 to 61, the counting operations of the high side movement counting register HCNT and the low side movement counting register LCNT are controlled according to the result of the judgment at step 58.
The high side movement count register HCNT is used to set a response delay between judgment and switching operation when switching the segment to be lit to an adjacent segment on the high pitch side. Low side movement count register
The LCNT is used to set a response delay between the decision and the switching operation when switching the segment to be lit to an adjacent segment on the lower pitch side. Addition or subtraction is performed on the contents of each register HCNT and LCNT.
When the subtraction progresses and the contents of the registers HCNT and LCNT reach "0", they do not respond to subsequent subtraction instructions and remain "0".

まず前記判断条件(A)が成立した場合について説
明すると、ステツプ59でレジスタHCNTの内
容が1減算され、レジスタLCNTの内容が1加
算される。次に、ステツプ62でレジスタ
LCNTの内容が「10」より大きいかを調べる。
NOならばリターンし、ステツプ57,58,5
9,62のフローを繰返す。1回繰返す毎にレジ
スタLCNTのカウント値が1増加し、やがて
LCNTの内容が「10」を越えると、ステツプ6
2のYESからステツプ63に進む。ステツプ6
3ではレジスタLCNTに「5」をセツトする。
次にステツプ64では点灯セグメント番号レジス
タLEDNOの内容から「1」を減算し、記憶する
セグメント番号を現在点灯中のセグメントに低ピ
ツチ側で隣接するセグメントの番号に書換える。
ステツプ65ではレジスタLEDNOの内容を表示
制御回路15(第2図)に出力し、該レジスタ
LEDNOに記憶しているセグメント番号に対応す
るセグメントを点灯する。こうして、外部入力信
号のピツチが現在点灯中のセグメントに対応する
ピツチよりも低い場合は、点灯セグメントが低ピ
ツチ側で隣接するセグメントに切換わる。
First, a case in which the above-mentioned judgment condition (A) is satisfied will be described. In step 59, the contents of the register HCNT are subtracted by 1, and the contents of the register LCNT are incremented by 1. Next, in step 62, the register
Check whether the content of LCNT is greater than "10".
If NO, return and step 57, 58, 5
Repeat steps 9 and 62. Each time it is repeated, the count value of register LCNT increases by 1, and eventually
If the content of LCNT exceeds “10”, step 6
Proceed to step 63 from YES in step 2. Step 6
In step 3, "5" is set in the register LCNT.
Next, in step 64, "1" is subtracted from the contents of the lighting segment number register LEDNO, and the segment number to be stored is rewritten to the number of the segment adjacent to the currently lighting segment on the lower pitch side.
In step 65, the contents of the register LEDNO are output to the display control circuit 15 (Fig. 2), and the contents of the register LEDNO are output to the display control circuit 15 (Fig. 2).
Lights up the segment corresponding to the segment number stored in LEDNO. Thus, if the pitch of the external input signal is lower than the pitch corresponding to the currently lit segment, the lit segment is switched to an adjacent segment on the lower pitch side.

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

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

点灯セグメントが外部入力信号のピツチずれに
対応するものとなつたとき、ステツプ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, in step 60, the contents of both registers HCNT and LCNT are each subtracted by 1, and the process returns.

このように、判断条件(A)が最初に成立したとき
から判断条件(B)が成立するまでの間において、最
初に点灯セグメントを隣接セグメントに切換える
ときはステツプ63を通らずにLCNTが「10」
を越えるまでカウントするが、それ以後点灯セグ
メントを隣接セグメントに切換えるときはステツ
プ63でLCNTに「5」をプリセツトしてから
「10」を越えるまでカウントする。レジスタ
LCNTの内容が「10」を越えるまで点灯セグメ
ントの切換えが遅らされており、この遅れ時間
は、最初に隣接セグメントに切換えるときが最も
長く、それに引き続いて順次隣接するセグメント
に切換えるときはそれよりも短かい。何故なら
ば、前者の場合、「0」又は少なくも「5」より
小さい数から「11」までカウントされるからであ
る。
In this way, from when judgment condition (A) is first satisfied until judgment condition (B) is satisfied, when switching the lighting segment to the adjacent segment for the first time, the LCNT is set to ``10'' without going through step 63. ”
After that, when switching the lighting segment to an adjacent segment, the LCNT is preset to "5" in step 63 and the count is continued until it exceeds "10". register
The switching of lit segments is delayed until the content of LCNT exceeds 10, and this delay time is longest when first switching to an adjacent segment, and shorter when switching to sequentially adjacent segments. It's also short. This is because in the former case, counting starts from "0" or at least a number smaller than "5" to "11".

ステツプ59でレジスタHCNTの内容を1減
算している理由は、将来点灯セグメントを逆方向
に(高ピツチ側に)移動させる場合に、ステツプ
61における該レジスタHCNTの1加算カウン
トができるだけ小さい数から始まるようにして移
動開始時の応答遅れを大きくするためである。ス
テツプ60で、両レジスタHCNT,LCNTの内
容を1減算しているのも同じ理由からであり、将
来、点灯セグメントを高ピツチ側又は低ピツチ側
のどちらに移動させる場合でも、移動開始時の応
答遅れを大きくするためである。
The reason why the contents of the register HCNT are subtracted by 1 in step 59 is that when moving the lighting segment in the opposite direction (towards a higher pitch) in the future, the 1 addition 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. The reason why the contents of both registers HCNT and LCNT are subtracted by 1 in step 60 is for the same reason; no matter whether the lighting segment is moved to the high pitch side or the low pitch side in the future, the response at the start of the movement will be This is to increase the delay.

前記判断条件(C)が成立した場合は、ステツプ6
1に進み、ステツプ66,67,68,69の処
理を実行する。これらの処理は前述のステツプ5
9,62〜65の処理に対応するものであり、レ
ジスタHCNT,LCNTの関係が丁度逆になつて
いる。すなわち、ステツプ61ではレジスタ
HCNTの内容を1加算し、レジスタLCNTの内
容を1減算する。ステツプ66ではレジスタ
HCNTの内容が「10」を越えたかを判断し、ス
テツプ67ではレジスタHCNTに「5」をプリ
セツトする。ステツプ68では点灯セグメント番
号レジスタLEDNOの内容を1増加し、現在点灯
中のセグメントに高ピツチ側で隣接するセグメン
トの番号に書替える。ステツプ69ではレジスタ
LEDNOの内容を表示制御回路15に出力し、書
替えられたセグメント番号に対応するセグメント
を点灯する。こうして、外部入力信号のピツチが
現在点灯中のセグメントに対応するピツチよりも
高い場合は、点灯セグメントが高ピツチ側で隣接
するセグメントに切換わる。
If the above judgment condition (C) is satisfied, proceed to step 6.
1, and the processes of steps 66, 67, 68, and 69 are executed. These processes are performed in step 5 above.
9, 62 to 65, and the relationship between registers HCNT and LCNT is exactly reversed. That is, in step 61, the register
Add 1 to the contents of HCNT and subtract 1 from the contents of register LCNT. In step 66, the register
It is determined whether the contents of HCNT exceeds "10", and in step 67 the register HCNT is preset to "5". In step 68, the contents of the lighting segment number register LEDNO are incremented by 1 and rewritten to the number of the segment adjacent to the currently lit segment on the high pitch side. In step 69, the register
The contents of LEDNO are output to the display control circuit 15, and the segment corresponding to the rewritten segment number is lit. Thus, if 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 higher pitch side.

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

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

なお、一番外側のピツチずれ幅−80〜−40セン
ト及び+40〜+80セントは対応する表示セグメン
トが実際には存在しないが、あたかも対応する表
示セグメントが存在するかのようにこれらのピツ
チ幅に対応するセグメント番号をレジスタ
LEDNOに記憶することができ、これらのピツチ
幅に関して第7図のLED表示プログラム50を
実行するようになつている。これに伴い、周期測
定値レジスタTCDの内容がこれらのピツチ幅に
対応しているときは第6図のステツプ49は
YESであり、ステツプ51のオクターブレジス
タTOCTのカウントアツプ処理には進まない。
従つて、このように、実際には点灯表示しないピ
ツチ幅に関してもLED表示ランプ50を実行し
たことにより、オクターブレジスタTOCTが頻
繁にカウントアツプされることを抑止し、これに
伴い応答制御信号LOWが頻繁に切換わることを
抑止し、測定回路16における測定条件の徒らな
変動を抑止し、安定した条件で周期測定を行うよ
うにすることができる。
Note that although the outermost pitch deviation widths -80 to -40 cents and +40 to +80 cents do not actually have corresponding display segments, these pitch widths are applied as if there were corresponding display segments. Register the corresponding segment number
The LED display program 50 of FIG. 7 is executed with respect to these pitch widths. Accordingly, when the contents of the period measurement value register TCD correspond to these pitch widths, step 49 in FIG.
The answer is YES, and the process does not proceed to step 51, which is the process of counting up the octave register TOCT.
Therefore, by operating the LED display lamp 50 even for pitch widths that are not actually lit, it is possible to prevent the octave register TOCT from being counted up frequently, and accordingly, the response control signal LOW is suppressed. Frequent switching can be suppressed, unnecessary fluctuations in measurement conditions in the measurement circuit 16 can be suppressed, and period measurement can be performed under stable conditions.

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

上記実施例ではマイクロコンピユータを用いて
この発明を実施しているが、専用のデイスクリー
ト回路によつて実施することもこの発明の範囲に
含まれるのは勿論である。
In the embodiments described above, the present invention is implemented using a microcomputer, but it goes without saying that implementation using a dedicated discrete circuit is also within the scope of the present invention.

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

また、上記実施例では電子楽器内に調律装置が
組込まれているが、上述の調律機能関連部分を独
立させて単体の調律装置を構成してもよい。
Further, in the above embodiment, the tuning device is built into the electronic musical instrument, but the above-mentioned tuning function-related parts may be made independent to form a single tuning device.

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

以上の通りこの発明によれば、基準ピツチに対
する入力信号のピツチずれに対応する表示セグメ
ントを指示状態にしようとする場合、現在指示状
態にあるセグメントから目的のセグメントに直ち
に指示状態が切換わるのではなく、指示状態とな
るセグメントが1セグメントづつ順番に隣接する
セグメントに切換わるので、見易くすることがで
きる。また、指示状態となるべきセグメントを切
換える際に応答遅れを設定するようにしたので、
頻繁な表示の変動を抑止し、一層見易くすること
ができると共に、機械式指針の動きに似せること
もできるので、より一層見易いものとなる。
As described above, according to the present invention, when a display segment corresponding to a pitch deviation of an input signal with respect to a reference pitch is to be brought into an indication state, the indication state is immediately switched from the segment currently in an indication state to the target segment. Instead, the segments in the indicated state are switched one segment at a time to the adjacent segments, making it easier to see. Also, a response delay is set when switching the segment that should be in the instruction state, so
Frequent fluctuations in the display can be suppressed to make it easier to see, and the movement can also be made to resemble the movement of a mechanical hand, making it even easier to see.

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

第1図はこの発明の基本構成を示す概念的ブロ
ツク図、第2図はこの発明の一実施例のハード構
成を示すブロツク図、第3図は第2図の測定回路
における正側及び負側のビークホールド回路及び
比較器の詳細例を示すブロツク図、第4図は同じ
く測定回路におけるフエーズロツクループ回路の
一例を示すブロツク図、第5図は同じく測定回路
における周期測定制御回路の入出力信号の一例を
示すタイミングチヤート、第6図は第2図のマイ
クロコンピユータによつて実行される調律機能の
プログラムの一例を示すフローチヤート、第7図
は第6図におけるLED表示プログラムの一例を
示すフローチヤート、第8図は第6図及び第7図
のプログラムを実行するときに使用する主なレジ
スタを示す図である。 1a〜1n……複数の表示セグメント、2……
セグメント特定手段、3……測定手段、4……判
断手段、5……切換手段、KB……鍵盤、10…
…キースイツチ回路、12……マイクロコンピユ
ータ、13……楽音形成回路、16……測定回
路、LEDNO……点灯セグメント番号レジスタ、
HCNT……高側移動計数レジスタ、LCNT……
低側移動計数レジスタ。
FIG. 1 is a conceptual block diagram showing the basic configuration of this invention, FIG. 2 is a block diagram showing the hardware configuration of an embodiment of this invention, and FIG. 3 is a positive side and negative side of the measuring circuit of FIG. 2. Figure 4 is a block diagram showing a detailed example of the peak hold circuit and comparator in the measurement circuit, Figure 4 is a block diagram showing an example of the phase lock loop circuit in the measurement circuit, and Figure 5 is the input/output of the period measurement control circuit in the measurement circuit. A timing chart showing an example of a signal, FIG. 6 a flowchart showing an example of a tuning function program executed by the microcomputer in FIG. 2, and FIG. 7 showing an example of the LED display program in FIG. 6. The flowchart, FIG. 8, is a diagram showing the main registers used when executing the programs of FIGS. 6 and 7. 1a to 1n... multiple display segments, 2...
Segment specifying means, 3... Measuring means, 4... Judgment means, 5... Switching means, KB... Keyboard, 10...
... Key switch circuit, 12 ... Microcomputer, 13 ... Musical tone forming circuit, 16 ... Measurement circuit, LEDNO ... Lighting segment number register,
HCNT……High side movement count register, LCNT……
Low side movement count register.

Claims (1)

【特許請求の範囲】 1 入力信号の周波数又は周期を測定する測定手
段と、 基準ピツチに対するピツチずれの大きさに対応
して設けられた複数の表示セグメントと、 前記複数の表示セグメントのうち指示状態にあ
るセグメントを特定するセグメント特定手段と、 前記測定手段による測定結果と前記セグメント
特定手段の出力に基き、前記基準ピツチに対する
前記入力信号のピツチずれが前記指示状態にある
セグメントに対応しているか否かを判断する判断
手段と、 前記判断手段によつて前記ピツチずれが前記指
示状態にあるセグメントに対応していないと判断
されたとき、次に指示状態となるべきセグメント
を現在指示状態にあるセグメントに隣接するセグ
メントに切換え、前記ピツチずれに対応するセグ
メントが指示状態となるまでこの切換えを順次隣
接するセグメントに対して行う切換手段と、 を具えた調律装置。 2 前記切換手段は、前記判断手段によつて前記
ピツチずれが前記指示状態にあるセグメントに対
応していないと判断されたとき、所定の応答遅れ
を設定した後、指示状態となるべきセグメントを
前記隣接するセグメントに切換えるものである特
許請求の範囲第1項記載の調律装置。 3 前記切換手段は、前記判断手段によつて前記
ピツチずれが前記指示状態にあるセグメントに対
応していないと最初に判断されたときから該ピツ
チずれに対応するセグメントが指示状態となるま
での間において、指示状態となるべきセグメント
を前記隣接するセグメントに最初に切換える際の
前記応答遅れを、それに引き続くセグメント切換
えの際の前記応答遅れよりも大きく設定するよう
にしたものである特許請求の範囲第2項記載の調
律装置。 4 前記切換手段は、前記判断手段における判断
結果に応じて加算又は減算計数を行う計数手段を
含み、この計数手段の値に基き前記応答遅れの設
定を行うようにした特許請求の範囲第2項又は第
3項記載の調律装置。 5 前記計数手段は、指示状態とすべきセグメン
トを高ピツチ側に移動させる際の前記応答遅れの
設定に用いる第1の計数手段と、指示状態とすべ
きセグメントを低ピツチ側に移動させる際の前記
応答遅れの設定に用いる第2の計数手段とを含
み、前記ピツチずれが現在指示状態にあるセグメ
ントよりも高ピツチ側のセグメントに対応してい
る場合と低ピツチ側のセグメントに対応している
場合とでは前記第1及び第2の計数手段を互いに
逆方向に加算又は減算計数状態とするようにした
特許請求の範囲第4項記載の調律装置。 6 前記セグメント特定手段は、複数のセグメン
トのうち指示状態にあるセグメントを示す情報を
記憶する記憶手段から成るものである特許請求の
範囲第1項記載の調律装置。
[Scope of Claims] 1. Measuring means for measuring the frequency or period of an input signal; a plurality of display segments provided corresponding to the magnitude of pitch deviation with respect to a reference pitch; and an indicated state of the plurality of display segments. segment specifying means for specifying a segment in the indicated state; and determining whether the pitch deviation of the input signal with respect to the reference pitch corresponds to the segment in the indicated state, based on the measurement result by the measuring means and the output of the segment specifying means. a determining means for determining whether the pitch deviation corresponds to the segment in the indicated state, and when the determining means determines that the pitch deviation does not correspond to the segment in the indicated state, the segment that should be in the indicated state next is replaced with the segment currently in the indicated state; A tuning device comprising: a switching means for switching to a segment adjacent to the segment, and sequentially performing this switching for the adjacent segments until the segment corresponding to the pitch deviation is in an instruction state. 2. When the determining means determines that the pitch deviation does not correspond to the segment in the instruction state, the switching means sets a predetermined response delay and then switches the segment to be in the instruction state to the segment in the instruction state. The tuning device according to claim 1, wherein the tuning device switches between adjacent segments. 3. The switching means is configured to switch between the time when the determining means first determines that the pitch deviation does not correspond to the segment in the instruction state and the time when the segment corresponding to the pitch deviation becomes the instruction state. In the present invention, the response delay when the segment to be in the indicated state is first switched to the adjacent segment is set to be larger than the response delay when the segment is switched after that. The tuning device according to item 2. 4. Claim 2, wherein the switching means includes a counting means that performs addition or subtraction counting according to the determination result of the determining means, and the response delay is set based on the value of the counting means. Or the tuning device according to paragraph 3. 5. The counting means is a first counting means used for setting the response delay when moving a segment to be in an instruction state to a high pitch side, and a first counting means used for setting the response delay when moving a segment to be in an instruction state to a low pitch side. and a second counting means used to set the response delay, and the pitch deviation corresponds to a segment on the higher pitch side than the segment currently in the instruction state, and corresponds to a segment on the lower pitch side. 5. The tuning device according to claim 4, wherein the first and second counting means are in an addition or subtraction counting state in opposite directions depending on the case. 6. The tuning device according to claim 1, wherein the segment specifying means comprises a storage means for storing information indicating which segment is in the designated state among the plurality of segments.
JP59132958A 1984-06-29 1984-06-29 Tuner Granted JPS6113293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59132958A JPS6113293A (en) 1984-06-29 1984-06-29 Tuner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59132958A JPS6113293A (en) 1984-06-29 1984-06-29 Tuner

Publications (2)

Publication Number Publication Date
JPS6113293A JPS6113293A (en) 1986-01-21
JPH0260199B2 true JPH0260199B2 (en) 1990-12-14

Family

ID=15093471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59132958A Granted JPS6113293A (en) 1984-06-29 1984-06-29 Tuner

Country Status (1)

Country Link
JP (1) JPS6113293A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0675235B2 (en) * 1986-02-21 1994-09-21 セイコー電子工業株式会社 Tuner
JP4873630B2 (en) * 2006-11-24 2012-02-08 株式会社コルグ Pitch deviation display method, tuner

Also Published As

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

Similar Documents

Publication Publication Date Title
US4442745A (en) Long duration aperiodic musical waveform generator
JPS589954B2 (en) rhythm hatsei sochi
US3509454A (en) Apparatus for tuning musical instruments
US4014242A (en) Apparatus for use in the tuning of musical instruments
US4310804A (en) Input activated frequency synthesizer
JPS6113297A (en) Electronic musical instrument with tuner
US3472116A (en) Device for producing frequency intervals for tuning musical instruments
US4200021A (en) Electronic musical instruments which form musical tones by repeatedly generating musical tone waveform elements
JPH0260199B2 (en)
KR910015171A (en) Tuning circuit
US4437380A (en) Musical envelope-producing device
US3972258A (en) Automatic rhythm performance system
US4240318A (en) Portamento and glide tone generator having multimode clock circuit
JP2626414B2 (en) Tuner
JPH0850151A (en) Frequency-voltage converting device
JPH08102660A (en) Signal modulation circuit
CN112910338B (en) Microstep motor counting sequence circuit
SU817745A1 (en) Musical phrase synthesizer
KR900009745Y1 (en) Memory time deciding circuit for sampling audio sound
SU1601736A1 (en) Digital generator of oscillating frequency
KR940008696Y1 (en) Wheel interface circuit of electrophonic musical instrument
JPH02275992A (en) Pitch controller for electronic musical instrument
JPS6312424B2 (en)
JPH06180617A (en) Time correcting device for computer
KR900006395B1 (en) Monitor control circuit using computer

Legal Events

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