JPH02126288A - Tuning device - Google Patents
Tuning deviceInfo
- Publication number
- JPH02126288A JPH02126288A JP63279986A JP27998688A JPH02126288A JP H02126288 A JPH02126288 A JP H02126288A JP 63279986 A JP63279986 A JP 63279986A JP 27998688 A JP27998688 A JP 27998688A JP H02126288 A JPH02126288 A JP H02126288A
- Authority
- JP
- Japan
- Prior art keywords
- pitch
- name
- cents
- octave
- pitch name
- 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.)
- Pending
Links
- 238000000605 extraction Methods 0.000 claims abstract description 7
- 238000007493 shaping process Methods 0.000 claims abstract description 6
- 239000000284 extract Substances 0.000 claims abstract description 5
- 238000012935 Averaging Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 abstract description 3
- 230000005236 sound signal Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 239000013078 crystal Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
Landscapes
- Auxiliary Devices For Music (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、調律器の音名検索の改良に関するものである
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement in pitch name search for a tuner.
本発明は、調律器で音名を抽出する方法において、ピッ
チが連続的に上がっていく(又は下がっていく)場合、
音名のセント範囲を±50セント(又は−50セント)
より少し広くすることにより、音名が変わる近傍にヒス
テリシスを持たせ応答性を向上させるとともに、安定性
の良い表示が出来る様にしたものである。The present invention provides a method for extracting note names using a tuner, when the pitch is continuously rising (or falling),
Set the cent range of the note name to ±50 cents (or -50 cents)
By making the pitch slightly wider, hysteresis is provided near where the pitch name changes, improving responsiveness and providing a more stable display.
[従来の技術1
従来の調律器は楽器が発した楽盲信号を、波形成形部に
おいて矩形波に成形した後に、カウンタ部で前記矩形波
をカウントシ、ピッチや音名等を演算し、その値に基づ
いて音名等を表示している。その場合の音名のセント範
囲を±50セントと決めて音名を抽出していた。[Prior art 1] In a conventional tuner, a music blind signal emitted by a musical instrument is shaped into a rectangular wave in a waveform shaping section, and then a counter section counts the rectangular wave, calculates the pitch, note name, etc., and calculates the value. Note names, etc. are displayed based on. In that case, the cent range of note names was determined to be ±50 cents, and the note names were extracted.
[発明が解決しようとする課題]
従来の調律器では音名のセント範囲を±50セントに設
定して音名を抽出していたため、±50セント付近の楽
器音が入力された場合、隣り合う2つの音名をランダム
に抽出してしまい、どちらの音名か判定がつかない等の
課題があった。[Problems to be solved by the invention] Conventional tuners extract pitch names by setting the cent range of pitch names to ±50 cents, so when instrument sounds around ±50 cents are input, adjacent There were problems such as two pitch names being extracted at random, making it impossible to determine which pitch name it was.
本発明は上記の欠2(すを除去するために±50セント
付近の楽器音が入力された場合でも、応答性が良く、安
定しj:表示をすることを目的としている。An object of the present invention is to provide a stable and responsive j: display even when an instrument sound in the vicinity of ±50 cents is input in order to eliminate the above-mentioned deficiency.
(課題を解決するための手段)
上記の課題を解決するために本発明は、楽音信号を矩形
波信号に変換する波形成形部と、前記矩形波信号のエツ
ジ区間を測定するカウンタと、このカウンタのカウント
値よりピッチを抽出するピッチ抽出部と、前記ピッチか
らオクターブを求めるオクターブ検出部と、前記ピッチ
とオクターブから音名を求める音名検索部と、前記ラウ
ンl−値とオクターブと音名からセント偏差を求めるセ
ント偏差計算部と、前記セント偏差の平均化を行うセン
ト偏差平均化部と、前記オクターブと音名と平均したセ
ント偏差を表示する表示体と、表や定数を複数言己憶す
る記憶装置を設けた。(Means for Solving the Problems) In order to solve the above problems, the present invention provides a waveform shaping unit that converts a musical tone signal into a rectangular wave signal, a counter that measures an edge section of the rectangular wave signal, and a counter that measures an edge section of the rectangular wave signal. a pitch extraction section that extracts a pitch from the count value of , an octave detection section that finds an octave from the pitch, a pitch name search section that finds a note name from the pitch and octave, and a pitch name search section that searches for a note name from the pitch and octave; a cent deviation calculation section that calculates the cent deviation; a cent deviation averaging section that averages the cent deviation; a display that displays the octave, note name, and averaged cent deviation; and a plurality of tables and constants that can be memorized. A storage device was installed to store the data.
〔作用1
上記の様に構成された音名抽出方法では、音名の境にヒ
ステリシスを設けた音名検索テーブルを用いて音名な抽
出するようにしたので、連続的にピッチが変化する場合
±50セントの範囲を少し越えても同じ音名を表示する
ことが出来る。[Effect 1] In the pitch name extraction method configured as described above, pitch names are extracted using a pitch name search table with hysteresis at the boundaries of pitch names, so when the pitch changes continuously, The same note name can be displayed even if it slightly exceeds the range of ±50 cents.
〔実施例)
以下に本発明の構成、動作を図面に基づいて詳細に説明
する。第1図に本発明による調律器のブロック図を示し
、接続と動作を説明する。[Example] The configuration and operation of the present invention will be explained in detail below based on the drawings. FIG. 1 shows a block diagram of a tuner according to the present invention, and the connections and operations will be explained.
楽器から発音された楽音信号aは波形成形部lへ入力さ
れ、増幅器とコンパレータにより矩形波信号すに波形成
形される。矩形波信号すはカウンタ部2へ入力される。A musical tone signal a produced by a musical instrument is input to a waveform shaping section 1, and is shaped into a rectangular wave signal by an amplifier and a comparator. A rectangular wave signal is input to the counter section 2.
カウンタ部2のカウントクロックは、水晶発振器3より
供給される。カウンタ部2では入力された矩形波信号す
の立ち上がりエツジ(又は立ち下がりエツジ)区間をカ
ウントし、カウント値をピッチ抽出部4およびセント偏
差計算部7へ出力する。ピッチ抽出部4では、前記カウ
ント値を数データ入力し比較することでピッチを抽出し
、オクターブ検索部5へ出力する。A count clock for the counter section 2 is supplied from a crystal oscillator 3. The counter section 2 counts the rising edge (or falling edge) section of the input rectangular wave signal, and outputs the count value to the pitch extraction section 4 and cent deviation calculation section 7. The pitch extracting section 4 extracts the pitch by inputting and comparing the count values, and outputs the pitch to the octave searching section 5.
オクターブ検索部5では前記ピッチと記憶装置11に記
憶されているオクターブ表との比較により前記ビッヂが
どのオクターブに属するかを求め。The octave search section 5 compares the pitch with an octave table stored in the storage device 11 to determine which octave the pitch belongs to.
求まったオクターブは表示部9へ出力し、前記ビ・ノチ
を基準オクターブに変換し、音名検索部6とセント偏差
計算部7へ出力する。音名検索部6では、前記基準オク
ターブに変換したピッチと記憶z直11に記憶されてい
る第3図の音名検索テーブルに記憶されたカウント値N
TBL [ilを比較し前記基準オクターブに変換した
ピッチがどこに属するかを検索し音名を求める。求まっ
た音名はセント偏差計算部7と表示部9へ出力される6
セント偏差計算部7では、セント偏差計算用の前記カウ
ント値を、前記基準オクターブに変換したピッチ分入力
する。前記カラン1−値と前記音名に対応する定数を記
憶装置11から入力し、セント偏差を計算し、セント偏
差平均化部8へ出力する、セント偏差平均化部8では、
iii記計算されたセント偏差の移動平均をとり、平均
化したデータを表示部9へ出力する。表示部9は前記オ
クターブと前言2音名と前記平均化したセント偏差を表
示体10に表示する。The determined octave is output to the display section 9, the bi-noti is converted to a reference octave, and the result is output to the pitch name search section 6 and the cent deviation calculation section 7. The pitch name search unit 6 uses the pitch converted to the standard octave and the count value N stored in the pitch name search table shown in FIG.
Compare TBL [il and search to which pitch the pitch converted to the reference octave belongs and find the pitch name. The determined pitch name is output to the cent deviation calculation section 7 and the display section 96.
The cent deviation calculation unit 7 inputs the count value for cent deviation calculation by the pitch converted to the reference octave. The cent deviation averaging section 8 inputs the constant corresponding to the Callan 1 value and the note name from the storage device 11, calculates the cent deviation, and outputs it to the cent deviation averaging section 8.
iii. A moving average of the calculated cent deviation is taken, and the averaged data is output to the display unit 9. The display section 9 displays the octave, the first two pitch names, and the averaged cent deviation on the display 10.
次に第2図と第3図を用いて音名検索部6における音名
検索の方法について説明する。Next, the pitch name search method in the pitch name search section 6 will be explained using FIGS. 2 and 3.
初めに1図で使用する用語を定義する。First, we will define the terms used in Figure 1.
lは記憶装置内のテーブルNTTBLにおける整数型の
変数である。l is an integer type variable in table NTTBL in the storage device.
P i t c hは前記ピッチ抽出部4により検出し
た基準オクターブに変換したピッチである。P i t ch is the pitch detected by the pitch extracting section 4 and converted to the reference octave.
NTB+−[1Fは、外部より入力された楽音信号をカ
ウンタ部2が検出したカウント値である。NTB+-[1F is a count value detected by the counter section 2 of a musical tone signal inputted from the outside.
N T T B 1.、、は第3図に示したカウント値
を記憶し、ているテーブルである。N T T B 1. , , are tables that store the count values shown in FIG.
FNoteは現在表示されている音名である。FNote is the currently displayed note name.
Noteは音名検索で求まった音名である。Note is a note name found by note name search.
まず。first.
1にφを代入し、音名検索部を初期化する。1 is substituted with φ, and the pitch name search section is initialized.
■ カウンタ部2により検出した楽音信号のカウント値
NTBL[ilがコードi=0の範囲に入っているかを
比較し、Pitchが等しいか大きければ■へ移り1を
仮の音名コードとする。違う時は■へ移る。(2) Compare whether the count value NTBL[il of the musical tone signal detected by the counter section 2 is within the range of code i=0. If the Pitch is equal or larger, proceed to (2) and set 1 as a temporary pitch name code. If not, move to ■.
■ ■の条件を満たさなければlをプラス1する。■ If the condition of ■ is not satisfied, add 1 to l.
■ 1が25より小さければ■へ移り、NTTBI−の
0〜24までのどこに現在の楽音信号が対応するかを検
索する。iが0〜25までに対応しない場合は[相]へ
移る。(2) If 1 is smaller than 25, the process moves to (2), and a search is made to find out which part of NTTBI- from 0 to 24 corresponds to the current tone signal. If i does not correspond to 0 to 25, move to [phase].
[相] Pitchに該当する音名が無いのでエラー終
了する。[Phase] There is no corresponding pitch name for Pitch, so the process ends with an error.
■ 仮の音名コードlが奇数ならばOへ移り偶数なら0
へ移る。■ If the tentative pitch name code l is an odd number, it moves to O, and if it is an even number, it goes to 0.
Move to.
■ 仮の合名コードiを2で割り、音名C−Bに■ 対応する音名コードをiとする。■ Divide the tentative joint name code i by 2 and make the pitch name C-B■ Let the corresponding note name code be i.
■ 音名コード1と実際に表示している音名FNote
が等しければ■へ移り等しくなければ■へ移る。■ Note name code 1 and the actually displayed note name FNote
If they are equal, move to ■; if they are not equal, move to ■.
■ 音名コード1をマイナス1する。■ Subtract 1 from the note name code 1.
■ Noteへiを代入し、実際の音名コードとする。■Substitute i to Note and use it as the actual pitch name code.
[相] 正常終了する。[Phase] Ends normally.
■ 仮の音名コード1を2で割り、■へ移る。■ Divide the tentative pitch name code 1 by 2 and move on to ■.
第3図はNTTBLの内容でカウントクロックが4μs
ecの時の例である。このカウント値とPitchを比
較することにより、Pitchがどこに属するかを求め
、各音名の境にある時は現在表示している音名な採用す
る。Figure 3 shows the contents of NTTBL and the count clock is 4 μs.
This is an example when using ec. By comparing this count value and Pitch, it is determined to which pitch the pitch belongs, and when it is on the boundary between each note name, the currently displayed note name is used.
第4図と第5図を用いて、以上の様な方法で音名検索し
た場合の表示動作について説明する。The display operation when a pitch name is searched using the method described above will be explained with reference to FIGS. 4 and 5.
第4図において、ヒステリシスが無い場合は各音名の範
囲は一50セントから+50セントに固定されている。In FIG. 4, when there is no hysteresis, the range of each note name is fixed from 150 cents to +50 cents.
ヒステリシスをつけた場合、ピッチを連続的に変化させ
ていくと+5セント分音名の範囲が広がる。ピッチを」
こげていった場合、A音の表示は+55セントまで保た
れる8ピツチを下げていった場合、A音の表示は一55
セ゛ノドまで(呆たれる。When hysteresis is applied, the range of +5 cent pitch names expands as the pitch changes continuously. Pitch.”
As it burns, the display of the A note will be maintained up to +55 cents.If you lower the 8 pitch, the display of the A note will be -55 cents.
Until the end (I'm stunned.
第5図に+50セントを超大た場合の表示について示す
、A音のピッチを上げていき、+50セントを越えたら
、A”−45セント(A+55セント)までA+50セ
ントの表示を保ち、A#−45セントを越えた場合はA
llの表示へ移る。Figure 5 shows the display when +50 cents is exceeded. Raise the pitch of the A note, and when it exceeds +50 cents, keep the display of A+50 cents until A"-45 cents (A+55 cents), and then A#- A if it exceeds 45 cents
Move to the display of ll.
A音のビッヂを下げていき、−50セントを越えたら、
G“+45セント(A−55セント)まで、A −50
セントを保ち、G“+45セントを越えるとG“の表示
へ移る。なお1本実施例では、ヒステリシスの範囲を±
5セントとして説明したが、調律を行う対象に合せて、
この範囲を任意に変えることでより使い易い調律器を得
ることができるものである。Lower the bit of the A note, and when it exceeds -50 cents,
G“+45 cents (A-55 cents) up to A-50
cents, and when it exceeds G"+45 cents, the display changes to G". Note that in this embodiment, the hysteresis range is ±
I explained it as 5 cents, but depending on the object to be tuned,
By arbitrarily changing this range, it is possible to obtain a tuner that is easier to use.
[発明の効果]
本発明による調律器は、以上の様な構成と作用とを備^
ているため+50セント近くの音が入力された場合5表
示の応答性と安定性が良くなり、調律かしやす(なる等
の効果を有する、[Effects of the Invention] The tuner according to the present invention has the above-described configuration and function.
Because of this, when a sound close to +50 cents is input, the response and stability of the 5 display will be improved, making it easier to tune.
第1図は、本発明で実施した調律器のブロック図、第2
図は音名検索の流れ図、第3図は音名検索テーブルNT
TBLを示す図、第4図はヒステリシスが有る時と無い
時の音名範囲図、第5図は実際の音名/セン1−偏差と
表示される音名/セント偏差の対応図である。
波形成形部
カウンタ部
水晶発振器
ピッチ抽出部
オクターブ検出部
音名検索部
セント偏差計算部
セント偏差平均化部
表示部
・表示体
・記憶装置
以
上Figure 1 is a block diagram of the tuner implemented in the present invention, and Figure 2 is a block diagram of the tuner implemented in the present invention.
The figure is a flowchart of note name search, and Figure 3 is the note name search table NT.
FIG. 4 is a diagram showing the pitch name range with and without hysteresis, and FIG. 5 is a diagram showing the correspondence between the actual pitch name/sen 1-deviation and the displayed pitch name/cent deviation. Waveform shaping section Counter section Crystal oscillator pitch extraction section Octave detection section Pitch name search section Cent deviation calculation section Cent deviation averaging section Display section, display body, storage device and above
Claims (1)
楽音信号を矩形波信号に変換する波形成形部と、前記矩
形波信号のエッジ区間を測定するカウンタと、前記カウ
ンタのカウント値よりピッチを抽出するピッチ抽出部と
、前記ピッチからオクターブを求めるオクターブ検出部
と、前記ピッチとオクターブから音名を求める音名検索
部と、前記カウント値とオクターブと音名からセント偏
差を求めるセント偏差計算部と、前記セント偏差の平均
化を行うセント偏差平均化部と、前記オクターブと音名
と平均したセント偏差を表示する表示体と、表や定数を
複数記憶する記憶装置からなる調律器において、前記音
名検索部が音名を検索する時に用いる記憶装置内の音名
検索テーブルを音名が変わる近傍にピッチが±50セン
トを越えても音名が変わらないヒステリシスを設け、音
名の範囲を±50セントよりも広くした事を特徴とする
調律器。The range of each note name is from -50 cents to +50 cents,
a waveform shaping unit that converts a musical tone signal into a rectangular wave signal; a counter that measures an edge section of the rectangular wave signal; a pitch extraction unit that extracts a pitch from the count value of the counter; and an octave detection unit that determines an octave from the pitch. a pitch name search unit that calculates a note name from the pitch and octave; a cent deviation calculation unit that calculates a cent deviation from the count value, octave, and note name; and a cent deviation averaging unit that averages the cent deviation. and a display body for displaying the octave, pitch name, and average cent deviation, and a storage device for storing a plurality of tables and constants; This tuner is characterized in that a pitch name retrieval table is provided with hysteresis near where the pitch name changes so that the pitch name does not change even if the pitch exceeds ±50 cents, and the pitch name range is wider than ±50 cents.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63279986A JPH02126288A (en) | 1988-11-05 | 1988-11-05 | Tuning device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63279986A JPH02126288A (en) | 1988-11-05 | 1988-11-05 | Tuning device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02126288A true JPH02126288A (en) | 1990-05-15 |
Family
ID=17618712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63279986A Pending JPH02126288A (en) | 1988-11-05 | 1988-11-05 | Tuning device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02126288A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006184449A (en) * | 2004-12-27 | 2006-07-13 | Seiko Instruments Inc | Tuner |
JP2018156040A (en) * | 2017-03-21 | 2018-10-04 | セイコーインスツル株式会社 | Deviation display machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6126091A (en) * | 1984-07-16 | 1986-02-05 | セイコーインスツルメンツ株式会社 | Musical scale detector |
JPS63244098A (en) * | 1987-03-31 | 1988-10-11 | セイコーインスツルメンツ株式会社 | Tuning apparatus |
-
1988
- 1988-11-05 JP JP63279986A patent/JPH02126288A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6126091A (en) * | 1984-07-16 | 1986-02-05 | セイコーインスツルメンツ株式会社 | Musical scale detector |
JPS63244098A (en) * | 1987-03-31 | 1988-10-11 | セイコーインスツルメンツ株式会社 | Tuning apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006184449A (en) * | 2004-12-27 | 2006-07-13 | Seiko Instruments Inc | Tuner |
JP2018156040A (en) * | 2017-03-21 | 2018-10-04 | セイコーインスツル株式会社 | Deviation display machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4014242A (en) | Apparatus for use in the tuning of musical instruments | |
US7288709B2 (en) | Tuning device and tuning method | |
KR890009063A (en) | High Speed Frequency Settling Signal Generator Using Frequency Synchronous Loop and Its Generation Method | |
US4354418A (en) | Automatic note analyzer | |
US4090150A (en) | High dynamic phase-accurate alternating voltage amplifier operating as a logarithmic amplifier for maintaining amplitude information | |
US4310804A (en) | Input activated frequency synthesizer | |
Fateley et al. | Vapor-liquid frequency shifts in the low-frequency infrared spectrum | |
JPH02126288A (en) | Tuning device | |
US3180199A (en) | Electronic tuner for musical instruments | |
US4227437A (en) | Frequency detecting apparatus | |
US3881389A (en) | Electronic guitar tuner | |
US3701040A (en) | Electronic musical instrument master oscillator with provision for frequency control | |
US2128367A (en) | Electrical musical instrument of the type employing gaseous discharge tubes | |
JPS6113297A (en) | Electronic musical instrument with tuner | |
US4228713A (en) | Programmable current source for filter or oscillator | |
US4163408A (en) | Musical tuning device | |
US4236435A (en) | Keying system in an electronic musical instrument | |
JPH01240825A (en) | Tuning device | |
JP3231362B2 (en) | Tuning device | |
US3879684A (en) | Tuneable UJT oscillator circuit | |
US4639689A (en) | Inductive loop detector | |
JPS62208095A (en) | Electronic type tuning apparatus | |
US3179812A (en) | Sine wave divider for electrical musical instruments | |
JPS63243996A (en) | Input controller for electronic musical instrument | |
SU657587A1 (en) | Microwave transistorized amplifier |