[go: up one dir, main page]

JPS61159699A - Electronic computer/communicator and voice communication method - Google Patents

Electronic computer/communicator and voice communication method

Info

Publication number
JPS61159699A
JPS61159699A JP60231483A JP23148385A JPS61159699A JP S61159699 A JPS61159699 A JP S61159699A JP 60231483 A JP60231483 A JP 60231483A JP 23148385 A JP23148385 A JP 23148385A JP S61159699 A JPS61159699 A JP S61159699A
Authority
JP
Japan
Prior art keywords
rem
signal
period
audio signal
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60231483A
Other languages
Japanese (ja)
Other versions
JPH0797277B2 (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of JPS61159699A publication Critical patent/JPS61159699A/en
Publication of JPH0797277B2 publication Critical patent/JPH0797277B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

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

Description

【発明の詳細な説明】 弦五分互 本発明は、機械との通信に関し、特に電子計算機との命
令の音声通信に関する。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to communication with machines, and more particularly to voice communication of instructions with electronic computers.

皇員及貞 人間による電子計算機との音声通信には、多大の興味が
向けられ、研究が成されている。電子計算機との音声通
信の利点、応用、及び一般的な装置はS Toss Y
our Keyboards and Just Te
llYour Computer What  to 
Do” (A、E、Conrad。
There has been a great deal of interest and research into voice communication between imperial and political personnel with electronic computers. Advantages, applications, and general equipment for voice communication with electronic computers are discussed in S Toss Y
Our Keyboards and Just Te
llYour Computer What to
Do” (A, E, Conrad.

Re5earch &Development+  1
984年1月号、第26巻、第1号、第86〜89頁)
で説明されている。
Re5search & Development+ 1
(January 984 issue, Volume 26, No. 1, pp. 86-89)
It is explained in

この中で指摘されているように、この分野の殆んどの研
究は、話者を特定した、すなわち話者に依存した装置と
、話者に独立した装置である言語認識装置に対してであ
った。前者はある個人が話した言葉だけを認識でき、後
者は異なる人々の話した同じ言葉を認識できる。話者特
定装置は、話者に独立した装置に比較して、より多数の
語を同時に認識でき(又は習うことができ)、このため
、より多くの機能の制御ができる。両装置共、話された
語のテンプレートを作成し、受取った語をこのテンプレ
ートに合わせることによっている。
As pointed out in this paper, most research in this field has focused on speaker-specific devices, that is, speaker-dependent devices, and language recognition devices, which are speaker-independent devices. Ta. The former can only recognize words spoken by one individual, while the latter can recognize the same words spoken by different people. A speaker identification device can recognize (or learn) a larger number of words simultaneously than a speaker-independent device, and therefore can control more functions. Both devices work by creating a template of spoken words and matching the received words to this template.

この分野には多大の努力が払われ、Marleyの米国
特許第4.284.846号の先行技術の記述にある技
術文献の調査で証明された多くの特許と記事がある。こ
の従来技術特許は、ある波形特性と予め記憶された比率
を比較することによって語を分析し、比較するための装
置を教示している。
There has been a great deal of effort in this field, and there are many patents and articles as evidenced by a search of the technical literature in the prior art description of Marley, US Pat. No. 4,284,846. This prior art patent teaches an apparatus for analyzing and comparing words by comparing certain waveform characteristics to pre-stored ratios.

言語認識装置を開示する他の特許には、5ahoeの米
国特許第4,286.114号と第4,319,221
号、B、H,Anの米国特許第4.292.470号、
Welch他の米国特許第4.319,085号と第4
,336,421号、Kellettの米国特許第4,
343.969号、Pirzの米国特許第4.349.
700号、Taniguchi他の米国特許第4.38
9.109号、旧tchockの米国特許第4.388
,495号、口uifhuis他の米国特許第4 、3
84 、335号、及びRothschi1d他の米国
特許第4.399,732号がある。
Other patents disclosing language recognition devices include U.S. Pat.
No. 4,292,470 to B.H.An.
Welch et al. U.S. Pat. Nos. 4,319,085 and 4
, 336,421, Kellett U.S. Patent No. 4,
No. 343.969, Pirz U.S. Pat. No. 4.349.
No. 700, U.S. Pat. No. 4.38 to Taniguchi et al.
No. 9.109, formerly tchock U.S. Patent No. 4.388.
, 495, U.S. Pat. No. 4, 3 to Uifhuis et al.
84, 335, and U.S. Pat. No. 4,399,732 to Rothschild et al.

これらの装置は極めて複雑で高価であるか、そうでなけ
れば能力が非常に制限されている。例えば、代表的な話
者非依存装置では、約10語(例えば10個の異なる数
字)を認識するものもあれば、話者特定装置では、1桁
多く、100〜200語を認識する装置もある。
These devices are either extremely complex and expensive, or otherwise have very limited capabilities. For example, some typical speaker-independent devices may recognize about 10 words (e.g., 10 different numbers), while speaker-specific devices may recognize an order of magnitude more, or 100 to 200 words. be.

1里皇量! 本発明は、上記の参照した特許に開示された装置とは、
複雑度が比較的低いことにおいて異なる。
1 ri imperial amount! The present invention differs from the apparatus disclosed in the above-referenced patents by:
They differ in their relatively low complexity.

即ち、多数の異なる音声命令を認識可能な話者非依存装
置を経済的に実現するため、本発明は通常会話で必要と
される、又は通常使用されている範囲を大きく超えた範
囲の人間の声を使用できるという物理的な利点がある。
That is, in order to economically implement a speaker-independent device capable of recognizing a large number of different voice commands, the present invention provides a range of human speech that extends far beyond that required or commonly used in normal conversation. There is a physical advantage to being able to use your voice.

本発明の教示による装置は、予め定義された機能を実行
するための符号化信号として取扱われる音の差を感知し
認識する。
A device according to the teachings of the present invention senses and recognizes differences in sounds that are treated as encoded signals to perform a predefined function.

この音の差は、本発明の特徴によれば、例えば通常の全
音階のような音階内の音であり、例えば使用者の中央の
ハ音と、続いて発音された二音との差の音を比較するこ
とによって、各々の使用者に対する調性(キー)を設定
するための手段が設けられる。本発明の装置は、命令又
は入力として音程を使用し、認識する。
According to a feature of the present invention, this difference in note is a note within a scale, such as a normal diatonic scale, for example, the difference between the user's middle C note and the two subsequent notes. By comparing the tones, a means is provided for setting the tonality (key) for each user. The device of the invention uses and recognizes pitches as commands or inputs.

本装置は、他の入力装置が実用化不可能な環境での電子
計算機の入力及びM御を含む多くの応用に適用される。
This device has many applications including computer input and M control in environments where other input devices are impractical.

即ち、暗室内で(例えば、電子顕微鏡室で)、又は製造
工程のような他の作業中に使用者が手を使用しなくては
ならない場合に、本発明は有効である。本装置は障害者
、特に従来の電子計算機端末を容易に操作し得ない人に
とって便利である。
That is, the present invention is useful where a user must use their hands in a darkroom (eg, in an electron microscope room) or during other operations such as manufacturing processes. The device is useful for people with disabilities, especially those who cannot easily operate conventional computer terminals.

本発明の上記認識装置は、その利点と共に添付の図面を
参照して以下の説明により最良に理解され得る。上記図
面中、同様な構成要素は同様な参照番号を付与する。
The recognition device of the present invention, together with its advantages, can best be understood by the following description with reference to the accompanying drawings. In the drawings, like components are given like reference numerals.

ましい   の 本発明の原理は、各種方法でハードウェア及び/又はソ
フトウェアと共に適用可能であり、いくつかの例を以下
に説明する。
The principles of the present invention can be applied with hardware and/or software in a variety of ways, some examples of which are described below.

本発明による装置は、第1図に示すように全体として、
参照番号10で示される。装置10はマイクロホン等の
変換器12を含み、これは波形14で示したような音声
波を集める。上記波形は、人間がハ音を歌っている場合
には、その基音周波数(ピッチ)のレートに対する基本
周期Tを有する。電子回路系を単純にするため、受信音
声波形14の電気アナログ信号は、波形整形回路18で
周期Tを持つパルス波列16に変換される。
The device according to the invention, as shown in FIG.
Indicated by reference number 10. Apparatus 10 includes a transducer 12, such as a microphone, which collects audio waves, such as that shown by waveform 14. The above waveform has a fundamental period T relative to the rate of the fundamental frequency (pitch) when a human is singing the C note. In order to simplify the electronic circuit system, the electrical analog signal of the received audio waveform 14 is converted into a pulse wave train 16 with a period T in a waveform shaping circuit 18.

変換器12の代りに、補助電気信号入力2oを備えても
よい、これは、例えば、遠隔起動用電話入力、又は音声
発生器でもよい。
Instead of the converter 12, an auxiliary electrical signal input 2o may be provided, which may be, for example, a telephone input for remote activation or a voice generator.

波列16は周期測定回路22に受信され、その周期が測
定数値化され、その情報は数値式電子計算機26とイン
ターフェイスする入出力インターフェイス24に送られ
る。
The wave train 16 is received by a period measuring circuit 22, its period is measured and converted into a numerical value, and the information is sent to an input/output interface 24 that interfaces with a numerical electronic calculator 26.

装置10の全体の動作において、装置10はマイクロホ
ン12又は入力20に音声信号を受け、受信信号から選
択された信号に応動して、計算機内で予めプログラムさ
れているルーチンを実行する。
In the overall operation of the device 10, the device 10 receives audio signals at the microphone 12 or input 20 and executes preprogrammed routines within the computer in response to selected signals from the received signals.

本発明の装置10の動作に関する原理を理解するため、
通常の全音階を参照して応用例を説明する。これによっ
て、本発明は、他の音階にも適用可能と理解される。現
代全音階は、特定音の周波数に依存しない音程を有しく
しかし、ある周波数が設定されると、他の音の周波数は
それによって決定される)、部分的には下記の表によっ
て表現され得る。
In order to understand the principles regarding the operation of the device 10 of the invention,
An application example will be explained with reference to a normal diatonic scale. It is thereby understood that the present invention is applicable to other scales as well. The modern diatonic scale has intervals that are independent of the frequency of a particular note (but once one frequency is set, the frequencies of other notes are determined by it), and can be partially expressed by the table below. .

任意の全音階         音程 Ml’   2.5000 RE’   2.2500 DO’   2.0000 Tl    1.875O LA    1.6667 So    1.5000 FA    1.3333 Ml    1.2500 RE    1.1250 基準音階 Do    1.0000 Tl、    0.93750 LA、   0.83333 Do、   0.75000 FA、   0.66667 MI、   0.62500 RE、    0.56250 Do、    0.50000 T1.  0.46875 殆どの人はこの音程に親しんでいて、子供でさえ、直ち
にド、し、ミ、ファ、ソ、う、シ、ドと歌えるので(こ
の場合、無意識に基準周波数を選び、上記音程で他の音
を基準周波数に関連させている)。本発明は、情報を受
信する手段として音程を選択し、これに対して処理を行
う。
Any diatonic scale Interval Ml' 2.5000 RE' 2.2500 DO' 2.0000 Tl 1.875O LA 1.6667 So 1.5000 FA 1.3333 Ml 1.2500 RE 1.1250 Standard scale Do 1.0000 Tl, 0.93750 LA, 0.83333 Do, 0.75000 FA, 0.66667 MI, 0.62500 RE, 0.56250 Do, 0.50000 T1. 0.46875 Most people are familiar with this pitch, and even children can immediately sing C, S, E, F, G, U, C, C (in this case, unconsciously choose the reference frequency and sing the above pitch). (which relates other sounds to a reference frequency). The present invention selects a pitch as a means of receiving information and processes it.

従って、第5図の流れ図を参照すると、始動命令は、ス
テップAで検出された音声信号(し)の受信であってよ
い。ステップBで、この信号は十分な持続時間の周期を
有するかを決定するために測定される(誤起動の防止)
。基準信号があって(例えば、ドが)記憶されていれば
、それらは比較され、1.125の音程がステップCで
計算されると、ステップDでフェッチ/実行サブルーチ
ンが実行され、予め記録されている音程1.125に対
するサブルーチンを呼び出し、実行する。最後に、系は
ステップEでリセットされ、第2の信号(例えば、ファ
)を受け、同様な一般的方法でこれに応動するための状
態になる。
Accordingly, referring to the flowchart of FIG. 5, the start command may be the receipt of the audio signal detected in step A. In step B, this signal is measured to determine whether it has a period of sufficient duration (to prevent false activation)
. If there are reference signals and they are stored (e.g. C), they are compared and the interval of 1.125 is calculated in step C, then the fetch/execute subroutine is executed in step D and the previously recorded The subroutine for pitch 1.125 is called and executed. Finally, the system is reset in step E, ready to receive and respond to a second signal (eg, F) in a similar general manner.

系が話者特定になるのを避け、最小の音楽的能力で誰に
でも使用できるようにするため、基準信号は同一の処理
で設定される。始動時使用者は短期間ドと続いてしをマ
イクロホンに吹き込めばよ、い。系は最初の受信音声信
号を、基準信号設定用とし、第2以降の信号を命令信号
として扱う。
In order to avoid making the system speaker specific and to make it usable by anyone with minimal musical ability, the reference signals are set with identical processing. When starting up, the user simply blows a short "C" followed by "C" into the microphone. The system uses the first received audio signal for setting a reference signal, and treats the second and subsequent signals as command signals.

第2図に波形整形回路18と、マイクロホン12及び補
助人力20への相互接続の望ましい実施例を示す。図中
に、使用構成要素の電気的な特定値が示されているが、
当業者に周知のように、他の多くの値も当然使用できる
。しかし、第2図の回路要素の値と接続は、プロトタイ
プ装置に於て良好なものであった。
FIG. 2 shows a preferred embodiment of the waveform shaping circuit 18 and its interconnections to the microphone 12 and auxiliary power 20. The electrical specific values of the components used are shown in the diagram.
Many other values can of course be used, as is well known to those skilled in the art. However, the values and connections of the circuit elements of FIG. 2 were good in the prototype device.

具体的には、マイクロホン12は、回路接続点28への
りアクティブインピーダンス27とシャーシ接地点の間
に接続される。接続点28は、抵抗32を介してシャー
シ接地点に容量34を経て補助人力20に接続される。
Specifically, microphone 12 is connected between active impedance 27 to circuit connection point 28 and chassis ground. Connection point 28 is connected to chassis ground via a resistor 32 and to auxiliary human power 20 via a capacitor 34 .

信号人力12又は20に信号が受信されると、入力12
又は20は、受信信号を、演算増幅器38を含む低周波
増幅器36へ送る。増幅器38の負入力(ピン6)は、
接続点28に接続され、正人力(ピン5)は抵抗40を
経てバイアス電圧(+ 5 V)に、容量42と抵抗4
4の並列接続を介してシャーシ接地点に接続される。演
算増幅器38のピン4は、電流制限抵抗45を経て正バ
イアス源(12V)に、容量46を介してシャーシ接地
点に接続される。演算増幅器36の出力の一部は、抵抗
47と容量48の並列接続を経て、負入力に帰還する。
When a signal is received at signal input 12 or 20, input 12
or 20 sends the received signal to a low frequency amplifier 36 that includes an operational amplifier 38 . The negative input (pin 6) of amplifier 38 is
Connected to connection point 28, positive power (pin 5) is connected to bias voltage (+5 V) through resistor 40, capacitor 42 and resistor 4
Connected to chassis ground via 4 parallel connections. Pin 4 of operational amplifier 38 is connected to a positive bias source (12V) through a current limiting resistor 45 and to chassis ground through a capacitor 46 . A part of the output of the operational amplifier 36 is fed back to the negative input via a resistor 47 and a capacitor 48 connected in parallel.

増幅器38の主出力は、抵抗51を含む低周波濾波器に
供給される。抵抗51の一端は増幅器36の出力に接続
され、他端は容量52を介して接地点に、抵抗53を経
て回路接続点54に接続される。低周波濾波器50の出
力は、接続点54へ接続され、更に、比較器55と、減
衰付最大電圧フォロア回路56に接続される。信号は、
(a)入力が抵抗59を経て接地されている比較器55
の演算増幅器58の主要正信号入力(ピン12)に電流
分離ダイオード57経出で接続され、(b)最大電圧フ
ォロア回路56に接続される。回路56の出力は、比較
器55の入力ピン(ピン13)への主要負信号入力とな
る。
The main output of amplifier 38 is fed to a low frequency filter including resistor 51. One end of the resistor 51 is connected to the output of the amplifier 36, and the other end is connected to a ground point via a capacitor 52, and to a circuit connection point 54 via a resistor 53. The output of the low frequency filter 50 is connected to a node 54 and further connected to a comparator 55 and a maximum voltage follower circuit 56 with attenuation. The signal is
(a) Comparator 55 whose input is grounded via resistor 59
(b) is connected to the main positive signal input (pin 12) of the operational amplifier 58 through the current isolation diode 57 and to the maximum voltage follower circuit 56 (b). The output of circuit 56 becomes the main negative signal input to the input pin of comparator 55 (pin 13).

回路56は、望ましくは、動作増幅器60を含み、増幅
器60の主要正入力(ピン3)は接続点54に接続され
、出力(ピンl)は直接、負入力(ピン2)に戻され、
一部は分離ダイオード61を経て増幅器58の負信号人
力に接続される。抵抗−60の出力は、抵抗63及び容
量64を介して接地される。並列に接続された抵抗63
と容量64の放電時定数は、接続点54に現れる信号の
各サイクルの最大実効値を除いて、比較器55での反転
入力が非反転入力よりも常に影響が大きくなる値である
Circuit 56 preferably includes an operational amplifier 60 whose main positive input (pin 3) is connected to node 54 and whose output (pin l) is returned directly to the negative input (pin 2);
A portion is connected to the negative signal input of the amplifier 58 via the isolation diode 61. The output of resistor -60 is grounded via resistor 63 and capacitor 64. Resistor 63 connected in parallel
and the discharge time constant of capacitor 64 are such values that, except for the maximum effective value of each cycle of the signal appearing at node 54, the inverting input at comparator 55 always has a greater influence than the non-inverting input.

比較器55の出力である波形16は、演算増幅器58の
出力(ピン14)から接地点へ直列に接続された一組の
抵抗65と66の接続点から得られる。この出力は、周
期測定回路22の入力STに送出される。
Waveform 16, which is the output of comparator 55, is obtained from the junction of a pair of resistors 65 and 66 connected in series from the output of operational amplifier 58 (pin 14) to ground. This output is sent to the input ST of the period measuring circuit 22.

第3図は、周期測定回路22と入出゛カインターフェー
ス回路24及び計算機26への相互接続の望ましい実施
例を示す。特定計算機26は、望ましくはアップル■1
であって、ここではその計算機への特定相互接続を示す
FIG. 3 shows a preferred embodiment of the interconnection of period measurement circuit 22 to input/output interface circuit 24 and computer 26. The specific computer 26 is preferably Apple■1
, and the specific interconnection to that computer is shown here.

パフレス列16は、シュミットトリガとして1妨く演算
増幅器70を介してシフトレジスタ72に結合される。
The puffless column 16 is coupled to a shift register 72 via an operational amplifier 70 with a Schmitt trigger.

レジスタ72の出力はインバータ74と周期測定ゲート
75を経てカウンタ78に結合される。カウンタ78は
、バッファ80を介して計算機26に接続される。
The output of register 72 is coupled to counter 78 via inverter 74 and period measuring gate 75. Counter 78 is connected to computer 26 via buffer 80.

計算機26の出力は、R/W、AO,Al、及びD S
 (device 5elect )出力及びバイアス
源(5v)とタイミングパルスから得られ、第3図に示
すように供給される。ゲート81と82は、信号線83
を介してリセット命令を送るためのものである。
The output of the computer 26 is R/W, AO, Al, and D S
The (device 5elect) output is obtained from the bias source (5V) and timing pulses and is provided as shown in FIG. Gates 81 and 82 are connected to signal line 83
This is for sending a reset command via the .

第2図〜第3図の回路及び計算機26の機能は、第4図
を参照することでより明らかになる。第4図は波形14
.16とシフトレジスタ72のCPでの入力、計算機2
6から周期測定回路75へ送られるタイミングパルス、
及び測定された周期Tの始めと終りに対応するシフトレ
ジスタ72の出力の相互関係を示す。
The circuitry of FIGS. 2-3 and the function of computer 26 will become clearer with reference to FIG. Figure 4 shows waveform 14.
.. 16 and input at CP of shift register 72, calculator 2
6 to the period measurement circuit 75,
and the correlation of the outputs of the shift register 72 corresponding to the beginning and end of the measured period T.

動作を説明する。第2図と第3図の回路は先ず、シュミ
ツ)l−リガ70への入力点ST(第2図、第3図)に
於て1サイクル毎に1パルスを得るため、入力信号14
を整形されたパルス列16にする。計算機26はシフト
レジスタ72とカウンタを(信号線83を経てインバー
タ86を介し)リセットし、次の周期測定の為に回路を
設定する。
Explain the operation. The circuits of FIGS. 2 and 3 firstly require that the input signal 14
into a shaped pulse train 16. Calculator 26 resets shift register 72 and counter (via signal line 83 and inverter 86) and sets up the circuit for the next period measurement.

シフトレジスタ72のCPにおいて、整形されたパルス
列16の最初の立上りエツジが現われると、出力QOは
低(電圧)レベルから高レベルに変わる。カウンタ78
は、入力波列のその時点での周期の測定を始める。
When the first rising edge of the shaped pulse train 16 appears at CP of the shift register 72, the output QO changes from a low (voltage) level to a high level. counter 78
begins measuring the current period of the input wave train.

シフトレジスタ72のCPに、整形されたパルス列16
の第2の立上りエツジが到着すると、出力Qlは低レベ
ルから高レベルになる。カウンタ78は計数を停止する
。同時にバッファ8′oの高位バイトバッファ90の最
上位数字の入力が低レベルから高レベルに設定され、周
期測定が完了したことを示す。
The shaped pulse train 16 is applied to the CP of the shift register 72.
When the second rising edge of Q1 arrives, the output Ql goes from a low level to a high level. Counter 78 stops counting. At the same time, the input of the most significant digit of the high-order byte buffer 90 of the buffer 8'o is set from a low level to a high level, indicating that the period measurement is completed.

計算器26は高位バイトバッファ90を読み取る。最上
位数字が高レベルであれば、無視され、計算機26は、
最下位の7ビツトを、15ビツト二進数のQ8〜Q14
として評価する。(最上位数字が低レベルであれば、周
期測定はまだ完了していないことを示す。) 計算機26は低位バイトバッファ92も読み取り、15
ビツト二進数の最下位8ビツト、QO〜Q7を読取値と
する。計算機26は、この15ビツト二進数の大きさを
、いま測定した周期の大きさとする。
Calculator 26 reads high byte buffer 90. If the most significant number is a high level, it will be ignored and the calculator 26 will:
The lowest 7 bits are converted into 15-bit binary numbers Q8 to Q14.
Evaluate as. (A low level of the most significant digit indicates that the period measurement is not yet complete.) Calculator 26 also reads low byte buffer 92 and reads 15
The lowest 8 bits of the bit binary number, QO to Q7, are read values. The calculator 26 takes the size of this 15-bit binary number as the size of the period just measured.

装置10の動作は、第6図の流れ図からより深く理解で
きる0図中、スタートシーケンスAは、測定回路リセッ
ト(ゲート81〜82及び関連リードwA)に進み、更
にBlにおいて、周期信号が受信されたかが判定される
。受信されていなければ、システムはその信号の待ちに
入る。受信されていれば、B3において読取値を取り、
B4において、同一パルス周期の3番目(何番目でもよ
く、例えば300番目のパルスが、ステップCで平均値
計算に使えるかが判断される。
The operation of the device 10 can be better understood from the flowchart of FIG. 6. In FIG. Taka is judged. If not, the system waits for that signal. If received, take a reading at B3;
In B4, it is determined whether the third pulse (any number is acceptable, for example, the 300th pulse) of the same pulse period can be used for average value calculation in step C.

第6図の流れ図は単一音程メツセージのものである。こ
れは、別々の基準及び信号波列入力に対するもので、連
続波列間には常に、切れ目(ブレーク)がある、ブロッ
ク!はこれらの切れ目を検出するためのステップである
The flowchart of FIG. 6 is for a single pitch message. This is for separate reference and signal wave train inputs, there is always a break between successive wave trains, block! is the step for detecting these breaks.

ブロックIの出力が、検出された音声信号の最初のもの
であれば、その信号は基準信号として扱われ、記憶され
る。第2以降の信号が識別されれば、それらは基準信号
と比較され、音程が計算される。計算きれた音程は一敗
しているかを調べられ、一致が検出されると、関連サブ
ルーチンが実効され、プログラムはリセットされる。
If the output of block I is the first audio signal detected, that signal is treated as a reference signal and stored. Once the second and subsequent signals are identified, they are compared to the reference signal and the pitch is calculated. The calculated pitches are checked to see if they are missing, and if a match is detected, the associated subroutine is executed and the program is reset.

実際の例では計算機端末は以下あようなメニューを表わ
すことができた。
In an actual example, a computer terminal could display a menu like the one below.

I  AM AT YOURS[!RVICE、’5I
NG’  YOURCHOICE(DODO)  FO
R(LIST PROGRAMMI!  IN MB?
10RY)(DOR[り  FOR(DISPLAY 
PATTERN ’10’)(Do ME)  FOR
(TEXT MODE! DISPLAY)(DOFA
)  FOR(FLASHI’l0DI! DISPL
AY)(DO50)  FOR(PLAY RUNNI
NG TONES)(DOL^)  FOR(ACTI
VATB t!XTERNAL DRIVE TOCA
TALOG PROGRAIIIES ON DISK
)(DOTE)  FOR(DISPLAY Tf!’
)(DODo’)FOR(ACTIVATE I!XT
[!RNAL DRIVE TO5AVE T旧S P
ROGRAMME ON DISK。
I AM AT YOURS [! RVICE,'5I
NG' YOUR CHOICE (DODO) FO
R(LIST PROGRAMMI! IN MB?
10RY)(DOR[ri FOR(DISPLAY
PATTERN '10') (Do ME) FOR
(TEXT MODE! DISPLAY) (DOFA
) FOR(FLASHI'l0DI! DISPL
AY) (DO50) FOR(PLAY RUNNI)
NG TONES) (DOL^) FOR(ACTI
VATBt! XTERNAL DRIVE TOCA
TALOG PROGRAIIIIES ON DISK
)(DOTE) FOR(DISPLAY Tf!'
)(DODo')FOR(ACTIVATE I!XT
[! RNAL DRIVE TO5AVE T old SP
ROGRAMME ON DISK.

AND  EXECUT[!  ANOTHERPRO
GRAMMEON DISK、  AND R1!TU
RN)計算機を起動するには、使用者は、要求命令を声
に出すだけでよい、第6図のプログラム用の最適なりス
ティングを以下に示す。
AND EXECUT [! ANOTHER PRO
GRAMMEON DISK, AND R1! T.U.
RN) To start the computer, the user only needs to speak the request command.The optimal version for the program of FIG. 6 is shown below.

5   RIEM    INVIINTI!D BY
 HO)IIT−FUN8   REM    UNP
UBLISHHD C0PYRIGHT10   Ru
n    P OBOX 5450411   RIE
M    N0RTHPOINT12    RIEM
     HONG  KONG15    RBM 20    RB?1    1−INTERVAL2
1    RIEM 23    R1!?lI     PIG、625 
   RBM 30    RIEM     l5OLATf!D 
 INPUTS32    RUM 34    REM     32 40    RBM 50    REM     5LOT 455   
REM     J、%1.に、I、I(K)、N、X
、P、I(P)、M$ 60    IN    −128 62NO=  24:  RIEM St!T″J ”
  FOREACHWAVE  TRAlN 64    BY    −256 6910=0.9688 70   11   − 1.0625:  RF!M
 A  BOUNDARY BETIIEBNTIIO
ADJACENT MusIcAt、 INTERVA
LS71   12    =1.187573   
13    =1.297574   14    =
1.416775    I5    =1.5833
76    I6    =1.770877   1
7    =1.944478   18    =2
.125082    GOTO90 85REM     HERE COMPUTII!R
MAY  BE  PROGRAMMEDTOBRIE
FLY  pH!RFORI’l  0THEROPI
!RATIONS  ”UNRt!LATf!D” T
OTHIS  PROGRAMl’ll!88    
GOTO100 90DIM     T(50)、H(50)、L(5
0)91    W     =  0:  GOTO
95:  RE?l Rt!SET PROGRAMM
I!TOACCBPT  A  NU賀 REFERB
NCE93    W     =  1:REM R
ESET PROGRAMME To  ^CCEPT
NEXT  5IGNAL 95J=1 96    FORPS  =  I  TO2500
:  NEXT:  HOME:  PRINT“I 
AM AT YOUR5ERVICE、  ’5ING
’YOURC)IOICE”:  PRINT:  P
RINT“ (DOロO)  FOR(LIST  P
ROGRAMMI!IN MEMORY):  PRI
NT“(DORE)FOR(DISPLAY PATT
ERN ’HO’)”二PRINT  “(DOMB)
FOR(TEXTMODE DISPLAY)” 97    PRINT  “(Do F^)  FO
R(FLASHMODEDISPLAY)”: PRI
NT ” (DOSO) FOR(PLAYRUNNI
NG TONBS)”:  PRINT  (Do L
A)  FOR(ACTIVATE  EXTERNA
L  DRIVE)’″:  1(TAB  15:P
RINT  To CATALOG PROGRA聞E
S ON″:HTAB 15:PRINT  DISK
)”: PRINT  “(DOTE)  FOR(D
ISPLAY ’TB”)”98PRINT  “(D
ODO”)  FOR(ACTIVATEEXTII!
RNAL DRIVf!”:  )ITAB 15: 
 PRINT  ”T。
5 RIEM INVIINTI! D-BY
HO) IIT-FUN8 REM UNP
UBLISHHD C0PYRIGHT10 Ru
n P OBOX 5450411 RIE
M N0RTHPOINT12 RIEM
HONG KONG15 RBM 20 RB? 1 1-INTERVAL2
1 RIEM 23 R1! ? lI PIG, 625
RBM 30 RIEM l5OLATf! D
INPUTS32 RUM 34 REM 32 40 RBM 50 REM 5LOT 455
REM J,%1. ni, I, I(K), N, X
, P, I(P), M$ 60 IN -128 62NO= 24: RIEM St! T″J”
FOREACHWAVE TRALN 64 BY -256 6910=0.9688 70 11 - 1.0625: RF! M
A BOUNDARY BETIIEBNTIIO
ADJACENT MusIcAt, INTERVA
LS71 12 =1.187573
13 =1.297574 14 =
1.416775 I5 =1.5833
76 I6 =1.770877 1
7 =1.944478 18 =2
.. 125082 GOTO90 85REM HERE COMPUTII! R
MAY BE PROGRAMMED TOBRIE
FLY pH! RFORI'l 0THEROPI
! RATIONS “UNRt!LATf!D” T
OTHIS PROGRAMl'll! 88
GOTO100 90DIM T (50), H (50), L (5
0)91 W = 0: GOTO
95: RE? l Rt! SET PROGRAMM
I! TOACCBPT A NUGA REFERB
NCE93 W = 1: REM R
ESET PROGRAMME To ^CCEPT
NEXT 5IGNAL 95J=1 96 FORPS=I TO2500
: NEXT: HOME: PRINT“I
AM AT YOUR 5ERVICE, '5ING
'YOURC)IOICE': PRINT: P
RINT“ (DOROO) FOR(LIST P
ROGRAMMI! IN MEMORY): PRI
NT"(DORE)FOR(DISPLAY PATT
ERN 'HO')"2 PRINT" (DOMB)
FOR (TEXTMODE DISPLAY)” 97 PRINT “(Do F^) FO
R (FLASHMODE DISPLAY)”: PRI
NT” (DOSO) FOR (PLAY RUNNI
NG TONBS)”: PRINT (Do L
A) FOR(ACTIVATE EXTERNA)
L DRIVE)''': 1 (TAB 15:P
RINT To CATALOG PROGRA
S ON'':HTAB 15:PRINT DISK
)”: PRINT “(DOTE) FOR(D
ISPLAY 'TB')"98PRINT"(D
ODO”) FOR(ACTIVATEEXTII!
RNAL DRIVf! ”: )ITAB 15:
PRINT”T.

5AVII! THIS PROGRAMME”  H
TAB  15:  PRINT@ON DISK、 
 AND EXECUTE”:  HTAB ts:P
RINT  “ANOTHERPROGRAMME O
N”:  IITAB15: PRINT  “DIS
K、AND R11!TURN)”:REM  Mll
!5SAGHFROM  MACHINf!99A  
=  PEEK(49348):  RUM RESB
T MEASURINGCIRCUIT 100H(J)  =  PEEK(49346)、 
R1旧GHBYTE140 1F  H(J)< HN
 TRI!N Go TO85:  RHII PER
IODMEASURBMBNT  UNPINISHB
D160  L(J)  ・ PEEK  (4934
5):  REM LOM BYTE300^ =  
PI!Eに (49348):  R1!M R1!S
t!T 闘^5URINGCIRCUIT 400  IF J  、  NU THI!N GO
TO2000900J  =  J + 1.Go T
o 100200ON  =  W+1: RBM R
EFERENCI! WAVE TRAIN IF W
=12100 FCRJ ”  5 TO24:T(J
) =  (H(J)  ・IN)傘BY + L(J
): NEXT)  J = 1:REM  PI!R
IOD  READINGS2400 AVEOI) 
= 0.05 傘(T(5)+T(6)+T(7)+T
(8)+T(9)÷T(10)+T(11)+T(12
)+T(13)+T(14)+T(15)+T(16)
÷?(17)+T(18)+T (19) +T (2
0) d (21) +T (22) +T (23)
+T(24)):RUM AVBRAGI! PERI
OD2420 PRINT CHR$ (7): RE
M BEEP FORNEXT WAVERAIN 2466A = PEEに(49348): R1!M
 Ru5t!T CIRCUIT ANDTEST F
OR5ILENCI! 2470  FORPS = 1 to 20: NE
XT:REM BRIEF PAUSE2472  R
訃@WAVII! TRAIN 5TILL Dlli
TECTHD?”2475L  、  pH!EK (
49345)、H= mK (49346)2478 
 IF L 、 OAND Hffi OTHEN G
OTo 2495:RIM  ”No WAVE DB
TIICT[!D”2485  Go TO2466 2495R[!M  Rf!PI!R1!NCE/5I
GNAL BRANCHING”2510 1F W 
= I THEN Go To 100:  R111
M IT賀ASA  REFBRENCf! WAVE
2520  RIM IT A 5IGNAL WAV
I! TRAlN27001  − AVE  (1)
/AVI!(2):REM INTERVALGO?I
PUTED 2800  HOME: PRINT  “INTER
VAL = ”: ■2810  1F  I  <1
0  Go  To  9’:  RIM  SMAL
LERTH^N  THELOWIEST lNTl!
RVAL PROGRAMMEI) (WHIC)IM
AY BE EXTENDED)、5TART AGA
IN2820  1F  I  <  If  GOT
O3000:  REM  INTERVALl、00
00 2840   IF  r  <  12  GOTO
3500:  REM  INTERVAし1.125
0 2860  1F  I  <  13  GOTO4
000:  REM  INTERVALl、2500 2880 1F  I  <  14 GOTO450
0:  REM  INTERVALl、3333 2900 1F  I  <  15 Go TO50
00:  RIEM  INTERVALl、5000 2920  IF  I  <  16 GOTO55
00:  RIEM  INTt!RVAL1.666
7 2940    IF   I   <   17  
GOTO6000:   REM   INTERVA
Ll、8750 2960   1F   I   <   18  G
OTO6500:   REM   INTERVAL
2.0000 2980  GOTO91: REM GREATER
THAN THE HIGHESTINTERVAL 
PROGRAMMII!D (WHICHMAY BE
EXTENDED)、5TART AGAIN3000
  REM MESSAGE  IDENTIPIED
 WITH1,00003005REM   FEED
BACK3010  FQ  =  50:  RUM
   ***  DO***  OF  ANABIT
RARY  MUSICAL  5CALE3020 
 GO5UB 9980 3030  IPRO=  1.0000:IS  =
 ″DO”3035  GO5UB 9800 3050  LIST 3499  GOTO93 3500REM  MESSAGE  IDENTIF
IED  WITH1,12503505REM  P
I!EDBACK3510   FQ  =  76:
  REM   ***  RE  *** OF  
AN  ABITRARYMUSICAL  5CAL
E 3520  GOSU89980 3530  IPRO=  1.125:Is 、  
”RE’3540  GO5UB 9800 3550  FLASH:  PRINT   @GR
APHIC”:NORMAL3600  GR 3610C0LOR・ 12 3650  VLIN O,30AT 23660  
VLIN O,30AT 123670  )ILIN
 2.12 AT 153680  VLIN O,3
0AT  163690  VLIN O,30AT 
263700  HLIN 16.26 AT 037
20  )ILIN  15.26 AT 30399
9  GOTO93 4000RUM MESSAGI!  IDENTIF
IED WITH1,25004005REM FEE
DBACK 4010   FG  、  99:  REM   
ネ**  ME  *** OF  AN  ABIT
RARYMIISICAL  5CALE 4020  GO5UB 9980 4040 1PRO=  1.2500:IS ・“M
E”4050  GOSU89800 4055  FLASH:  PRINT   “TE
XT”: NORMAL4100  TEXT 4499  GOTO93 4500REM MESSAGE IDENTIFIE
D旧TH1,33334502REM FEEDBA(
J 4505   FG  =109:  REM   *
**  FA  *** OF  AN  ABITR
ARY阿υ5ICAL  5CALE 4510  GO5UB 9980 4515 1PRO=  1.3333:Is =″F
A”4520  GO5OB 9800 4600  FLASH 4650PRINT  “FRASH”4999  G
o  TO93 5000REM MESSAGE  IDENTIFI
HD WITH1,50005001REM  FEE
DBACK 5002   FG  =127:  REM   *
本市 SO***  OF  AN  ABITRAR
YMUSICAL  5CALE 5004 6O5UB 9980 5010 1PR0・ 1.5000:IS ・“SO
”5020  GO5UB 9800 5025  FLASH:  PRINT”MUSIC
’:NORMAL5100  NORMAL 5105  TEXT 5120  FORFQ =  230 TO2541
5160GO5UB 5300 5180  NEXT  FQ: 5200  Go  To  93 5300  POKE 768,1 5320  POKE  769.FQ5340   
CALL  770 5350  RETURN 5500  REM 肝5SAGE  IDENTIF
IED 匈ITH1,66675501REM FEE
DBACK 5502   FQ  =  144:  REM  
 ***  L八 ***  OF  ANABITR
ARY  MUSICAL  5CALE5504  
GOSU89980 5510  rPRO,1,6667:II  =“L
A”5520  GOSU8 9800 5522  PRINT 5523  )ITAB  16 5525   FLASH:  PRINT    ″
 LA”:  NORM八L5へ50   PRINT
  CHR$  (4);   ”CATALOG″5
999  Go TO93 6000REM MESSAGE  IDENTIFI
t!D WITH1,87506005REM  FE
EDBACK 6010  FQ =  159:  REM  本*
* TE III OF ANABITRARY  M
USICAL  5CALE6015  GO5UB 
9980 6020 1PRO= 1.8750:Is = ”T
E”6030  GOSU89800 6040  PRINT 6050  HTAB  16 6060  FLASH:  PRINT  TE”:
  NORMAL6499  GOTO93 6500REM  MESSAGE  IDENTIF
IED WITH2,00006505REM  FE
EDBACK 6510   FQ  ・ 166:  REM   
***  Doo *傘*  OF  ANABITR
ARY  MUSICAL  5CALE6515  
GO5IJB 9980 6520 1PRO= 2.0000:Is =“DO
o”6530  GO5UB 9800 6540  PRINT 6550  HTAB  16 6560  FLASH: PRINT  ”Do”:
 NORMAL6570  PRINT CHR$ (
4);  “5AVE PROGRAMME”6580
  PRINT C1(R$ (4);  BRIJN
 BEEPING 35020”6999  GOTO
93 9800PRINT  ”fiRROR=”i  (1
−IPRO)/IPl?09810  PRINT 9820  FITAB 2: PRINT  “I 
RECOGNIZI!D INTBRVAL(Do”:
II:”)  AND I A?I NOW EXEC
UTINGYOURMESSAGE” 9822  RETURN 9980  REM DBCLARB THE REC
OGNIZED INTERVAL9982  POK
B 768.6: POKB 769.50:CALL
 770:REM A 5OUND 5tlBROUT
INE TOPRODUClliA PRESFiT 
REFERII!NGE 5OUND FORFBED
BACK  PURPO5ES9984   POKE
  76B、6:  POKE  769.PQ:  
CALL  770:  REMPRODUCE A 
5OUND BEARING THERECOGNIZ
ED  INTERVAL9986  RETURN 9990  END 因に、上記リスティングのライン93を以下のように修
正すれば、装置10は、各命令ごとに、新しい基準信号
で動作する。
5AVII! THIS PROGRAMME"H
TAB 15: PRINT@ON DISK,
AND EXECUTE”: HTAB ts:P
RINT “ANOTHER PROGRAMME O
N”: IITAB15: PRINT “DIS
K, AND R11! TURN)”: REM Mll
! 5SAGHFROM MACHINf! 99A
= PEEK (49348): RUM RESB
T MEASURING CIRCUIT 100H (J) = PEEK (49346),
R1 Old GHBYTE140 1F H(J)<HN
TRI! N Go TO85: RHII PER
IODMEASURBMBNT UNPINISHB
D160 L(J)・PEEK (4934
5): REM LOM BYTE300^ =
PI! To E (49348): R1! M R1! S
T! T battle^5URING CIRCUIT 400 IF J, NU THI! N.G.O.
TO2000900J = J + 1. Go T
o 100200ON = W+1: RBM R
EFERENCI! WAVE TRAIN IF W
=12100 FCRJ” 5 TO24:T(J
) = (H(J) ・IN) Umbrella BY + L(J
): NEXT) J = 1: REM PI! R
IOD READINGS2400AVEOI)
= 0.05 Umbrella (T(5)+T(6)+T(7)+T
(8)+T(9)÷T(10)+T(11)+T(12
)+T(13)+T(14)+T(15)+T(16)
÷? (17) +T (18) +T (19) +T (2
0) d (21) +T (22) +T (23)
+T(24)): RUM AVBRAGI! PERI
OD2420 PRINT CHR$ (7): RE
M BEEP FORNEXT WAVERAIN 2466A = PEE (49348): R1! M
Ru5t! T CIRCUIT ANDTEST F
OR5ILENCI! 2470 FORPS = 1 to 20: NE
XT:REM BRIEF PAUSE2472 R
Death @WAVII! TRAIN 5TILL Dlli
TECTHD? "2475L, pH!EK (
49345), H= mK (49346)2478
IF L, OAND Hffi OTHENG
OTo 2495: RIM “No WAVE DB
TIICT [! D”2485 Go TO2466 2495R[!M Rf!PI!R1!NCE/5I
GNAL BRANCHING”2510 1F W
= I THEN Go To 100: R111
MITgaASA REFBRENCf! WAVE
2520 RIM IT A 5IGNAL WAV
I! TRAlN27001-AVE (1)
/AVI! (2): REM INTERVALGO? I
PUTED 2800 HOME: PRINT “INTER
VAL = ”: ■2810 1F I <1
0 Go To 9': RIM SMAL
LERTH^N THELOWIEST lNTl!
RVAL PROGRAMMEI) (WHIC)IM
AY BE EXTENDED), 5TART AGA
IN2820 1F I < If GOT
O3000: REM INTERVALL, 00
00 2840 IF r < 12 GOTO
3500: REM INTERVA 1.125
0 2860 1F I < 13 GOTO4
000: REM INTERVALL, 2500 2880 1F I < 14 GOTO450
0: REM INTERVALL, 3333 2900 1F I < 15 Go TO50
00: RIEM INTERVALL, 5000 2920 IF I < 16 GOTO55
00: RIEM INTt! RVAL1.666
7 2940 IF I < 17
GOTO6000: REM INTERVA
Ll, 8750 2960 1F I < 18 G
OTO6500: REM INTERVAL
2.0000 2980 GOTO91: REM GREATER
THAN THE HIGHEST INTERVAL
PROGRAMMII! D (WHICH MAY BE
EXTENDED), 5TART AGAIN3000
REM MESSAGE IDENTIPIED
WITH1,00003005REM FEED
BACK3010 FQ = 50: RUM
*** DO*** OF ANABIT
RARY MUSICAL 5CALE3020
GO5UB 9980 3030 IPRO= 1.0000:IS=
``DO''3035 GO5UB 9800 3050 LIST 3499 GOTO93 3500REM MESSAGE IDENTIF
IED WITH1,12503505REM P
I! EDBACK3510 FQ = 76:
REM *** RE *** OF
AN ABITRARY MUSICAL 5CAL
E 3520 GOSU89980 3530 IPRO= 1.125:Is,
”RE'3540 GO5UB 9800 3550 FLASH: PRINT @GR
APHIC”:NORMAL3600 GR 3610C0LOR・12 3650 VLIN O,30AT 23660
VLIN O,30AT 123670 )ILIN
2.12 AT 153680 VLIN O,3
0AT 163690 VLIN O,30AT
263700 HLIN 16.26 AT 037
20) ILIN 15.26 AT 30399
9 GOTO93 4000RUM MESSAGI! IDENTIF
IED WITH1,25004005REM FEE
DBACK 4010 FG, 99: REM
Ne** ME *** OF AN ABIT
RARYMISICAL 5CALE 4020 GO5UB 9980 4040 1PRO= 1.2500:IS ・“M
E"4050 GOSU89800 4055 FLASH: PRINT "TE
XT”: NORMAL4100 TEXT 4499 GOTO93 4500REM MESSAGE IDENTIFIE
D old TH1, 33334502REM FEEDBA (
J 4505 FG = 109: REM *
** FA *** OF AN ABITR
ARY5ICAL 5CALE 4510 GO5UB 9980 4515 1PRO= 1.3333:Is=″F
A”4520 GO5OB 9800 4600 FLASH 4650PRINT “FRASH”4999 G
o TO93 5000REM MESSAGE IDENTIFI
HD WITH1,50005001REM FEE
DBACK 5002 FG = 127: REM *
Motoichi SO*** OF AN ABITRAR
YMUSICAL 5CALE 5004 6O5UB 9980 5010 1PR0・1.5000:IS・“SO
"5020 GO5UB 9800 5025 FLASH: PRINT" MUSIC
':NORMAL5100 NORMAL 5105 TEXT 5120 FORFQ = 230 TO2541
5160GO5UB 5300 5180 NEXT FQ: 5200 Go To 93 5300 POKE 768,1 5320 POKE 769. FQ5340
CALL 770 5350 RETURN 5500 REM 5SAGE IDENTIF
IED 匈ITH1,66675501REM FEE
DBACK 5502 FQ = 144: REM
*** L8 *** OF ANABITR
ARY MUSICAL 5CALE5504
GOSU89980 5510 rPRO,1,6667:II = “L
A”5520 GOSU8 9800 5522 PRINT 5523 )ITAB 16 5525 FLASH: PRINT ″
LA”: 50 PRINT to NORM8L5
CHR$ (4); “CATALOG”5
999 Go TO93 6000REM MESSAGE IDENTIFI
T! D WITH1,87506005REM FE
EDBACK 6010 FQ = 159: REM book*
* TE III OF ANABITRARY M
USICAL 5CALE6015 GO5UB
9980 6020 1PRO= 1.8750:Is=”T
E"6030 GOSU89800 6040 PRINT 6050 HTAB 16 6060 FLASH: PRINT TE":
NORMAL6499 GOTO93 6500REM MESSAGE IDENTIF
IED WITH2,00006505REM FE
EDBACK 6510 FQ・166: REM
*** Doo *Umbrella* OF ANABITR
ARY MUSICAL 5CALE6515
GO5IJB 9980 6520 1PRO= 2.0000:Is=“DO
o”6530 GO5UB 9800 6540 PRINT 6550 HTAB 16 6560 FLASH: PRINT “Do”:
NORMAL6570 PRINT CHR$ (
4); “5AVE PROGRAMME”6580
PRINT C1 (R$ (4); BRIJN
BEEPING 35020”6999 GOTO
93 9800PRINT “fiRROR=”i (1
-IPRO)/IPl? 09810 PRINT 9820 FITAB 2: PRINT “I
RECOGNIZI! D INTBR VAL (Do”:
II:”) AND I A?I NOW EXEC
UTINGYOURMESSAGE” 9822 RETURN 9980 REM DBCLARB THE REC
OGNIZED INTERVAL9982 POK
B 768.6: POKB 769.50: CALL
770: REM A 5OUND 5tlBROUT
INE TOPRODUClliA PRESFiT
REFERII! NGE 5OUND FORFBED
BACK PURPO5ES9984 POKE
76B, 6: POKE 769. PQ:
CALL 770: REMPRODUCE A
5OUND BEARING THERECOGNIZ
ED INTERVAL 9986 RETURN 9990 END However, if line 93 of the above listing is modified as follows, the device 10 will operate with a new reference signal for each instruction.

93   W−φ 上記動作によって、同一の、又は異った話者が、命令毎
に基準信号を自由に変えることが可能になる。
93 W-φ The above operation allows the same or different speakers to freely change the reference signal from command to command.

第7図は、本発明の装置のための、別の流れ図1OOを
示す。この図は、N音程メツセージ用プログラムである
。即ち、多重音用コーディングである。例えば、ここで
はドーレーミとドーレーファは異なった信号である。
FIG. 7 shows another flowchart 1OO for the apparatus of the invention. This figure shows a program for an N-pitch message. That is, this is multitone coding. For example, here Doremi and Doremi are different signals.

このプログラムを実行するのに適しいりスティングを以
下に示す。
A suitable template for running this program is shown below.

5   Rf!M  INVENTED BY IO,
KIT−FUN8       REM    UNP
UBL夏5HED  C0PYRIGHT10   R
f!M  P OBOX 5450411   REM
  N0RTHPOINT12   REM  HON
GKONG15    REM 20    REM      N−INTERVAL
21    REM 22N=2 23    REM     FIG、725    
REM 30     REM       l5OLATEロ
 INPUTS32    R1!M 34    REM 35    REM 36    REM 40    REM    9 45    REM 50    REM     5LOT 455   
REM     J、W、に、1.I(K)、N、χ、
 P、 I(P) 、 MS60    IN    
=128 62    Ntl    =  24:  R1!M
 SET″J″ FOREACHWAVE TRAlN 64   8Y    =256 69   [0= 0.9688: Rt!M LOW
EST FORTHISPROGRAMME、MAY 
 BE  EXTENDED70    If    
=  1.0625)REM A BOUNDARY 
BETWEENTWOADJACENT  MUSIC
AL  INTERVALS71   12    =
1.187573    I3    =1.2975
74   14    =1.416775    I
5    =1.583376    I6    =
1.770877   17    =1.94447
8   18    =2.125080    M$
    =“RECOGNIZED AND EXEC
[ITING(MESSAGE)″ 82    GOTO90 85REM       HERE  COMP[IT
ERMへY  EE  PROGRAMMEDTo  
BRIEFLY  PERFORM  0TI(ERO
PERATIONS  UNRELATED″ TOT
HTS  PROGRAMME 88    Go TO100 90DIM T(50)、H(50)、L(50)92
   DIM K(100) 95    J ヨ 1:  W 、O:  K 、0
.REM RESET PROGRAMMf!96  
  FORPS  =  I  To 2500:  
IJEXT:  HOME:  PRINT” I  
AM AT YO[IRSl!RVICE、  ’5I
NG’YOUR2−INTIIIRVAL  MESS
AGE”97    PRINT:  PRINT″I
!XAMPLE”98    PRINT  “(DO
RE So)  FOR(MIliSSAGE 25)
’:PRINT  “(DOFA Do)FOR(ME
SSAGE41)N99   4  =  PEEK(
49348):  REM RESETMEASURI
NG  CIRCUITloo  H(J)  ・ P
EEK(49346)、 REM旧GHBYTE140
   IF H(J)< IN THEN GOTO8
5:  REM PERIODMEASUREMENT
  UNFINISHED160   L(J)  ・
 PREK (49345):  REM LOW B
YTE300   A  、  PE1l!K  (4
9348):  R1!M RESET MEASUR
INGCIRCUIT 400   IF J  、  NOTHEN GOT
o 2000900   J  =  J +  1.
Go To 1002000   W  =   11
+1:  RUM  −”THWAVE  TRAlN
2100  FORJ・ 5 TO24:T(J)  
・ (H(J)  ・11N)本BY + L(J):
 NEXT : J = 1:RE!M  PI!RI
OD  READINGS2400  AVE(W) 
 = 0.05 *  (T(5)+T(6)+T(7
)+T(8)+T (9) +T (10) +T (
11) +T (12) +T (13)÷T(14)
+T(15)+T(16)+T(17) 十T(18)
+T (19) +T (20) +T (21) +
T (22) +T (23)+T(24)):Rf!
M AVt!RAGEPERIOD2420  PRI
NT CHR$  (7);  REM BEF!P 
FORNEXT WAVERAIN 2466  A 、 PBBK  (49348): 
 REM RESET CIRCllIT ANDTB
ST  FOR5ILBNCII!2470  FOR
PS =  I To 20:  NEXT;RUM 
BRIEF PAUSE2472  REII  “−
AVE TRAIN 5TILL DETECTED?
”2475  L  =  PERK (49345)
、H= PEEK (49346)2478   IF
  L  = OAND  H=  OTHEN  G
OTO2495:REM  ” NOWAVE DET
ECTED″2485  GOTO2466 2495RUM   ”R[!Ft!R[!NC[!/
5IGNAL  BRflNCIIING”2510 
 IF W 、 I Tl1f!N GOTO100:
  REM IT WASA  R11!FERENC
E  WAVE2520   REM  IT  賀へ
S  A  5IGNAL  WへνE  TRAlN
2550   K  =  K+1:  REM’、に
TH5IGNAL  (NOTE  THATK=W−
1) 2570  REM  (AFTERA  PROGR
AMNE RESET THE FrR5TWAVE 
TRAIN  Is TAKEN AS REFERE
N(:E。
5 Rf! M INVENTED BY IO,
KIT-FUN8 REM UNP
UBL Summer 5HED C0PYRIGHT10 R
f! M P OBOX 5450411 REM
N0RTHPOINT12 REM HON
GKONG15 REM 20 REM N-INTERVAL
21 REM 22N=2 23 REM FIG, 725
REM 30 REM l5OLATERO INPUTS32 R1! M 34 REM 35 REM 36 REM 40 REM 9 45 REM 50 REM 5 LOT 455
REM J, W, 1. I(K), N, χ,
P, I(P), MS60 IN
=128 62 Ntl = 24: R1! M
SET″J″ FOREACHWAVE TRAlN 64 8Y =256 69 [0= 0.9688: Rt! M LOW
EST FORTHIS PROGRAMME, MAY
BE EXTENDED70 If
= 1.0625) REM A BOUNDARY
BETWEENTWOADJACENT MUSIC
AL INTERVALS71 12 =
1.187573 I3 =1.2975
74 14 = 1.416775 I
5 = 1.583376 I6 =
1.770877 17 =1.94447
8 18 = 2.125080 M$
= “RECOGNIZED AND EXEC
[ITING(MESSAGE)'' 82 GOTO90 85REM HERE COMP[IT
To ERM YEE PROGRAMMEDTo
BRIEFLY PERFORM 0TI (ERO
PERATIONS UNRELATED'' TOT
HTS PROGRAMME 88 Go TO100 90DIM T(50), H(50), L(50)92
DIM K (100) 95 J Yo 1: W, O: K, 0
.. REM RESET PROGRAMMf! 96
FORPS = I To 2500:
IJEXT: HOME: PRINT” I
AM AT YO [IRSl! RVICE, '5I
NG'YOUR2-INTIIIRVAL MESS
AGE"97 PRINT: PRINT"I
! XAMPLE"98 PRINT"(DO
RE So) FOR (MIliSSAGE 25)
':PRINT “(DOFA Do)FOR(ME
SSAGE41)N99 4 = PEEK(
49348): REM RESETMEASURI
NG CIRCUITloo H(J)・P
EEK (49346), REM old GHBYTE140
IF H(J)< IN THEN GOTO8
5: REM PERIOD MEASUREMENT
UNFINISHED160 L(J)・
PREK (49345): REM LOW B
YTE300 A, PE1l! K (4
9348): R1! M RESET MEASUR
INGCIRCUIT 400 IF J, NOTHEN GOT
o 2000900 J = J + 1.
Go To 1002000 W = 11
+1: RUM-”THWAVE TRAlN
2100 FORJ・5 TO24:T(J)
・(H(J) ・11N) Book BY + L(J):
NEXT: J=1:RE! MPI! R.I.
OD READINGS2400 AVE(W)
= 0.05 * (T(5)+T(6)+T(7
)+T(8)+T (9) +T (10) +T (
11) +T (12) +T (13)÷T(14)
+T(15)+T(16)+T(17) 10T(18)
+T (19) +T (20) +T (21) +
T (22) +T (23) + T (24)): Rf!
MAVt! RAGEPERIOD2420 PRI
NT CHR$ (7); REM BEF! P
FORNEXT WAVERAIN 2466 A, PBBK (49348):
REM RESET CIRCllIT ANDTB
ST FOR5ILBNCII! 2470 FOR
PS = I To 20: NEXT; RUM
BRIEF PAUSE2472 REII “-
AVE TRAIN 5TILL DETECTED?
”2475 L = PERK (49345)
, H=PEEK (49346)2478 IF
L = OAND H = OTHENG
OTO2495: REM” NOWAVE DET
ECTED″2485 GOTO2466 2495RUM ”R[! Ft! R [! NC [! /
5IGNAL BRflNCIIIING”2510
IF W, I Tl1f! N GOTO100:
REM IT WASA R11! FERENC
E WAVE2520 REM IT GA to S A 5IGNAL W to νE TRAlN
2550 K = K+1: REM', TH5IGNAL (NOTE THATK=W-
1) 2570 REM (AFTERA PROGR)
AMNE RESET THE FrR5TWAVE
TRAIN IS TAKEN AS REFERE
N(:E.

ALL  5IIBSII!QUENT  WAVE 
 TRAlN5  TAKEN^S 5IGNALS 
REPERRED To T旧5REFERENCE、
TILL THE NEXT RBSET、>2700
 1(X)=  AVE  (1)/AVE(W):R
UM  INTERVALCOMPUTHD 2720  PRINT  ”INTII!RVAL、
”、  I(K)2740 1P K  =N THE
N GOTO2770:  REM ^NN−INTE
RVAL MESSAGE2760  Go TO10
0 2770REM LOCATE AND HXECUT
I!2780 1、I(1):RUM FIRST  
INTERVAL2800  1F  I  <10 
 GOTo  95:  REM  TOOLOW  
FORTHIS  PROGRA?市E、5TART 
 AGAIN2820  1F  1  <  If 
 GOTO21000:  REM  INTERVA
Li、ooo。
ALL 5IIBSII! QUENT WAVE
TRAlN5 TAKEN^S 5IGNALS
REPERRED To T old 5REFERENCE,
TILL THE NEXT RBSET, >2700
1(X)=AVE(1)/AVE(W):R
UM INTERVAL COMPUTHD 2720 PRINT “INTII!RVAL,
”, I(K)2740 1P K = N THE
N GOTO2770: REM ^NN-INTE
RVAL MESSAGE2760 Go TO10
0 2770REM LOCATE AND HXECUT
I! 2780 1, I (1): RUM FIRST
INTERVAL2800 1F I <10
GOTo 95: REM TOOLOW
FORTHIS PROGRA? City E, 5TART
AGAIN2820 1F 1 < If
GOTO21000: REM INTERVA
Li, ooo.

2840  1F  I  <  12  GOTo 
 22000:  REM  INTERVALl、1
250 2860  IF I < 13 Go TO2300
0: REM INTERVALl、2500 2880   1F   I   <   14   
GOTO24000:   REM   INTERV
ALl、3333 2900  1F  I  <  I5  GOTO2
5000:  RUM  INTERVALl、500
0 2930  GOTO95: Rf!M OUT OF
 PROGRAMMED RANGE。
2840 1F I < 12 GOTo
22000: REM INTERVALL, 1
250 2860 IF I < 13 Go TO2300
0: REM INTERVALL, 2500 2880 1F I < 14
GOTO24000: REM INTERV
ALl, 3333 2900 1F I < I5 GOTO2
5000: RUM INTERVALL, 500
0 2930 GOTO95: Rf! M OUT OF
PROGRAMMED RANGE.

5TART AG^!N 210001=1(2):  REM 5ECOND 
INTERVAL21005 1F  I  <IOG
OTO95:  R開 TOOLOW  FORTHI
S PROGRAMME、 5TART AGAIN2
1010 IF I < If GOTo 21100
: REM INTERVALl、0000 21020   IF   I   <   12  
GOTo  21200:   REM   INTE
RVALl、1250 21030  1F   I   <   I3  G
o  TO21300:   REM   INTER
VALl、2500 21040   IF   I   <   14  
GOTO21400:   REM   INTERV
ALl、3333 21050   IF   I   <   15  
Go  TO21500:   REM   INTE
RVALi、soo。
5TART AG^! N 210001=1(2): REM 5ECOND
INTERVAL21005 1F I <IOG
OTO95: R open TOOLOW FORTHI
S PROGRAMME, 5TART AGAIN2
1010 IF I < If GOTo 21100
: REM INTERVALL, 0000 21020 IF I < 12
GOTo 21200: REM INTE
RVALl, 1250 21030 1F I < I3 G
o TO21300: REM INTER
VALl, 2500 21040 IF I < 14
GOTO21400: REM INTERV
ALl, 3333 21050 IF I < 15
Go TO21500: REM INTE
RVALi, soo.

21090  GOTo  95:  REM  OU
T  OF  PROGRAMMED  RANGE。
21090 GOTo 95: REM OU
T OF PROGRAMMED RANGE.

5TART  AGAIN 21100 PRINT 阿$:′″11)′2111
OREM ”PROGRA聞ED MESSAGE H
ERE’21190 GOTO95 21200PRINT Ml:  ” 12)”212
10 REM ’PROGRAMMED Mf!5SA
GE HERE’21290 GOTO95 21300PRINT Ml:  ” 13)2131
0 REM  ”PROGRAMMED MESSAG
I! HERE’21390 GOTO95 21400PRINT Ml:  ” 14)”214
10 R11!M  ’PROGRAMMεD MES
SAGf! HERE’21490 GOTO95 21500PRINT Ml:  “15)12151
0  REM  ’PROGRAMMεD Mll!5
SAGE  HERE’21590 GOTO95’ 22000 I−I(2): REM 5ECOND 
INTt!RVAL220051F 1 10 GOT
O95:  REM TOOLOW FORTHIS 
PROGRAMMI!、 5TART AGAIN22
010  IF  I    If  Go  丁0 
22100:  REM  INTERVALi、oo
o。
5TART AGAIN 21100 PRINT A$:'''11)'2111
OREM ”PROGRA ED MESSAGE H
ERE'21190 GOTO95 21200PRINT Ml: "12)"212
10 REM'PROGRAMMED Mf! 5SA
GE HERE'21290 GOTO95 21300PRINT Ml: ” 13) 2131
0 REM ”PROGRAMMED MESSAG
I! HERE'21390 GOTO95 21400PRINT Ml: "14)"214
10 R11! M'PROGRAMMεD MES
SAGf! HERE'21490 GOTO95 21500PRINT Ml: “15)12151
0 REM 'PROGRAMMεD Mll! 5
SAGE HERE'21590 GOTO95' 22000 I-I (2): REM 5ECOND
INTt! RVAL220051F 1 10 GOT
O95: REM TOOLOW FORTHIS
PROGRAMMI! , 5TART AGAIN22
010 IF I If Go D00
22100: REM INTERVALi, oo
o.

220201F I   I2 Go TO22200
: REM INTERVALl、1250 22030 IF 1  13 GOTo 22300
: REM INTERVALl、2500 22040 IF I   14 Go To 224
00: REM INtERVALl、3333 22050 IF I   I5 GOTO22500
: REM INTERVALl、5000 22090 GOTO95: RUM OUT OF 
PROGRAMMED RANGE。
220201F I I2 Go TO22200
: REM INTERVALL, 1250 22030 IF 1 13 GOTo 22300
: REM INTERVALL, 2500 22040 IF I 14 Go To 224
00: REM INtERVALL, 3333 22050 IF I I5 GOTO22500
: REM INTERVALL, 5000 22090 GOTO95: RUM OUT OF
PROGRAMMED RANGE.

5TART  AGAIN 22100 PRINT Ml:  “21)”221
10  REM  ’PROCR静MHD  MESS
AGE  IIERE ”22190 Go↑095 22200 PRINT Ml:  “22)”222
10 REM ’PROGRAMMED MESSAG
E HERE”22290 GOTO95 22300PRINT Ml:  “23) ”223
10  REM  ’PROGRAMMED  MES
SAGE  HERE’22390 Go TO95 22400PRINT Ml:  “24)”2241
0  REM  ”PROGRAMMED  MESS
AGE HERE’22490 Go To 95 22500 PRINT Ml:  25) ”225
10  REM  ”PROGRAMMED MESS
AGE  HERE” ′22590 GOTo 95 23000 1=1(2):  R1!M  5ECO
ND  INTERVAL23005  IF  I 
 10 GOTO95:  RUM TOOLO%I 
 FORTHIS PROGRAMME、 5TART
 AGAIN23010 1F  E  <  11 
GOTO23100:  RIM  INTERVAL
l、0000 23020  IF  I  <  12 GOTO2
3200:  R1!M  INTERVALl、12
50 23030  1F   I   <   13  G
OTo  23300:   REM   INTER
VALl、2500 23040  IF  I  <  14  Go  
TO23400:  REM  INTERVALl、
3333 23050 1F  I  <  I5 GOTo 2
3500:  REM  INTERVALl、500
0 23090 Go TO95:  REM OUT O
F PROGRAMMED RANGE。
5TART AGAIN 22100 PRINT Ml: “21)”221
10 REM 'PROCR static MHD MESS
AGE IIERE ”22190 Go↑095 22200 PRINT Ml: “22)”222
10 REM'PROGRAMMED MESSAG
E HERE”22290 GOTO95 22300PRINT Ml: “23)”223
10 REM' PROGRAMMED MES
SAGE HERE'22390 Go TO95 22400PRINT Ml: "24)"2241
0 REM ”PROGRAMMED MESS
AGE HERE'22490 Go To 95 22500 PRINT Ml: 25) "225
10 REM ”PROGRAMMED MESS
AGE HERE” '22590 GOTo 95 23000 1=1(2): R1!M 5ECO
ND INTERVAL23005 IF I
10 GOTO95: RUM TOOLO%I
FORTHIS PROGRAMME, 5TART
AGAIN23010 1F E < 11
GOTO23100: RIM INTERVAL
l, 0000 23020 IF I < 12 GOTO2
3200: R1! M INTERVALL, 12
50 23030 1F I < 13 G
OTo 23300: REM INTER
VALl, 2500 23040 IF I < 14 Go
TO23400: REM INTERVALL,
3333 23050 1F I < I5 GOTo 2
3500: REM INTERVALL, 500
0 23090 Go TO95: REM OUT O
F PROGRAMMED RANGE.

5TART  AGAIN 23100 PRINT FI$:  31)”231
10  R1!M  ”PROGRAM)’IEEI 
 MESSAGE  HERE’23190 GOTO
95 23200PRINT Ml:  “32)23210
 REM  ’PROGRAMMEOMESSAGE 
HERE’23290 GOTo 95 23300 PRINT Ml:  33)23310
 REM ’PROGRAMMED MESSAGE 
HERE’23390 GOTO95 23400PRINT H*:  34)”23410
 REM ’PROGRAMM[sD MESSAGE
 HERE’23490 Go TO95 23500PRINT Ml:  35)”23510
  REM  ’PROGRAMMED  MESSA
GE  HERE’23590 GOTO95 240001=1(2):  REM 5ECOND 
 lNTl1iRVAL24005 1F  I  <
10  GOTO95:  REM  INTERVA
L  TOOLOWPot?  THIS  PROG
RAMFIE、5TART  AGAIN24010 
 IF  I  <  If  GOTO24100:
  REM  INTERVALl、0000 24020  IP  !  <  12 GOTo 
24200:  REM  INTERVALl、12
50 24030  IF  I  <  13 GOTO2
4300:  REM  INTERVALl、250
0 24040 1F  I  <  14  GOTO2
4400:  REM  INTERVALl、333
3 24050 1F  I  <  15 GOTo 2
4500:  REM  INTERVALl、500
0 24090 GOTO95:  REM OUT OF
 PROGRAMMED RANGE。
5TART AGAIN 23100 PRINT FI$: 31)”231
10 R1! M”PROGRAM)’IEEEI
MESSAGE HERE'23190 GOTO
95 23200PRINT Ml: “32)23210
REM'PROGRAMME ESSAGE
HERE'23290 GOTo 95 23300 PRINT Ml: 33) 23310
REM'PROGRAMMED MESSAGE
HERE'23390 GOTO95 23400PRINT H*: 34)"23410
REM 'PROGRAMM[sD MESSAGE
HERE'23490 Go TO95 23500PRINT Ml: 35)"23510
REM'PROGRAMMED MESSA
GE HERE'23590 GOTO95 240001=1(2): REM 5ECOND
lNTl1iRVAL24005 1F I <
10 GOTO95: REM INTERVA
L TOOLOW Pot? THIS PROG
RAMFIE, 5TART AGAIN24010
IF I < If GOTO24100:
REM INTERVALL, 0000 24020 IP! < 12 GOTo
24200: REM INTERVALL, 12
50 24030 IF I < 13 GOTO2
4300: REM INTERVALL, 250
0 24040 1F I < 14 GOTO2
4400: REM INTERVALL, 333
3 24050 1F I < 15 GOTo 2
4500: REM INTERVALL, 500
0 24090 GOTO95: REM OUT OF
PROGRAMMED RANGE.

5TART  AGAIN 24100 PRINT Ml:  “41)2411
0 ROM  ’PROGRAMMED MESSAG
II! HERE”24190 Go TO95 24200PRINT Ml:  ”42)”2421
0 REM ’PROGRAMMIED MESSAG
E HERE’24290 GOTO95 24300PRINT Ml:  “43)”2431
0 REM  ’PROGR酊市ED  MESSAG
E  HERE’24390 GOTO95 24400PRINT Ml:  “44)”2441
0 REM  ”PROGRAMMED Ml!5SA
GE  HERE’24490 Go TO95 24500PRINT Ml:  ”45)”2451
0 REM  ’PROGRAMMED  MIESS
AGE H1l!RE’24590 GOTO95 250001=1(2):  R11!M 5ECON
D  INTERVAL25005  IF  I <
 10 GOTO95:  REM TOOLOW F
ORTHIS  PROGRAMME、5TART  
AG^lN25010  1F   I   <   
11  GOTO25100:   REM   IN
TERVALl、0000 25020   IP   !   <   12  
GOTO25200:   RUM   INTERV
ALl、1250 25030 1F  I  <  13 Go To 
25300:  REM  INTERVALl、25
00 − 25040   IF   I   <   14
  GOTO25400:   REM   INTE
RVAL1.3333 25050 1F  I  <  15  GOTo 
 25500:  REM  INTERVALl、5
000 25090 Go To 95:  Rf!M O[I
T OF PROGRAMMED RANGE。
5TART AGAIN 24100 PRINT Ml: “41)2411
0 ROM 'PROGRAMMED MESSAG
II! HERE”24190 Go TO95 24200PRINT Ml: “42)”2421
0 REM 'PROGRAMMIED MESSAG
E HERE'24290 GOTO95 24300PRINT Ml: "43)"2431
0 REM 'PROGR ED MESSAG
E HERE'24390 GOTO95 24400PRINT Ml: "44)"2441
0 REM ”PROGRAMMED Ml!5SA
GE HERE'24490 Go TO95 24500PRINT Ml: "45)"2451
0 REM 'PROGRAMMED MIESS
AGE H1l! RE'24590 GOTO95 250001=1(2): R11! M5ECON
D INTERVAL25005 IF I <
10 GOTO95: REM TOOLOW F
ORTHIS PROGRAMME, 5TART
AG^lN25010 1F I <
11 GOTO25100: REM IN
TERVALL, 0000 25020 IP! <12
GOTO25200: RUM INTERV
ALl, 1250 25030 1F I < 13 Go To
25300: REM INTERVALL, 25
00 - 25040 IF I < 14
GOTO25400: REM INTE
RVAL1.3333 25050 1F I < 15 GOTo
25500: REM INTERVALL, 5
000 25090 Go To 95: Rf! M O[I
T OF PROGRAMMED RANGE.

5TART  AGAIN 25100 PRINT Ml:  51)”2511
0  REM  ’PROGRAMMED MESSA
GE  HERE’25190 GOTO95 25200PRINT Ml:  “52) ”252
10  REM  ’PROGRAMMHD MESS
AGf!  HERE”25290 GOTO95 25300PRINT Ml:  53) ’2531
0  RUM  ’PROGRAMMED MESSA
GE  HERE’25390 GOTO95 25400PRINT Ml:  “54)′2541
0  REM  ’PROGRAMMED Mll!5
SAGE HERE’25490 GOTo 95 25500 PRINT Ml:  “55) ’25
510  REM  ’PROGRAMMED  ME
SSAGE  HERE’25590 GOTO95 第8図に、音声プログラムの更に別の流れ図を示す。話
者は一連の音声を入力することによって、以降に実行さ
れる所望の音声命令列を含む音声プログラム(例えば、
ある処理)を効果的に定義する。
5TART AGAIN 25100 PRINT Ml: 51)”2511
0 REM 'PROGRAMMED MESSA
GE HERE'25190 GOTO95 25200PRINT Ml: "52)"252
10 REM'PROGRAMMHD MESS
AGf! HERE”25290 GOTO95 25300PRINT Ml: 53) '2531
0 RUM 'PROGRAMMED MESSA
GE HERE'25390 GOTO95 25400PRINT Ml: "54)'2541
0 REM 'PROGRAMMED Mll! 5
SAGE HERE'25490 GOTo 95 25500 PRINT Ml: "55) '25
510 REM 'PROGRAMMED ME
SSAGE HERE'25590 GOTO95 FIG. 8 shows yet another flowchart of the audio program. By inputting a series of voices, the speaker creates a voice program (e.g.,
effectively define a certain process).

第8図の流れ図に従って、このプログラムを実行するの
に適しいりスティングを以下に示す。
Following the flowchart of FIG. 8, a suitable implementation for running this program is shown below.

5   REM    INVf!NTED BY H
O,FIT−FUN8   REM    UNPUB
IjSHED C0PYRIGHT10   REM 
   P Q BOX 5450411   REM 
   N0RTHPOINT12   REM    
1(ONG KONG15   BE阿 20   REM    1−INTI!RVAL21
    REM 23   REM    FIG、8 25   REM    PROGRAMMING U
SING VOCALCOMMANDS 30     Rt!M       l5OLATE
D  INPUTS32    REM 34    REM     ’ONE REFERE
NCE  FOREACHORALPROGRAMME
!’ 36    REM 40    RUM     VOPRO1845)I
El’1 50    REM     5LOT 455   
 REM     J、W、に、1.I(K)、N、X
、P、I(P)、MS60    HN    =12
8 62    NO=  24:  REM St!T″
J ″ FOREACHWAVI!  TRAlN 64    BY    =256 69    10      =  0.9688: 
 REM  LOWEST  IN  T旧SPROG
RAMME、  MAY  BE  HXTENDED
70    If    =  1.0625:  R
f!M  A  BOUNDARY BETWIJNT
WOADJACENT  MUSICAL  INTE
RVALS71   12    =1.187573
   13    =1.297574   14  
  =1.416775   15    =1.58
3376   16    =1.770877   
17    =1.944478   18    =
2.125082    GOTO90 85R11!M       HERE  COMPU
TERM^Y  EE  PROGRAMMEDTOB
RREFLY  PERFORM  0THEROPE
RATIONS   “ IINRELATED”  
TOT[S  PROGRAMME 88    GOTo  100 90    DIM T(50)、H(50)、L(5
0)92    DIM K(100) 95     J=l:  ― ・ 0:  K  =
  0.  l1lEI’l  RESET  PRO
GRAMME96    FORPS  =  I  
TO2500:  NEXT:  HOME:  PR
INT“■ 4M AT  YOUR5ERVICE、
”5ING’YOURCHOICE’:  PRINT
:  PRINT″ (DODO)  FOR(LIS
T  PROGRAMMEIN MEMORY):  
PRINT ” (DORE)FOR(DISPLAY
  PATTERN  ’HO’)”:PRINT  
” (DOMlりFOR(TEXTMO[lll!  
DISPLAY)”97     PRINT  “ 
(DOFA)  FOR(FLASHMODE  DI
SPLAY)”:PRINT″(口OSO)  FOR
(PLAY  RUNNINGTONBS)″:  P
RINT“(DOLA)  FOR(ACTIVATf
!  EXTII!RNAL  DRIVE’:  H
TAB  15:PRINT  TOCATALOG 
 PROGRAMME5 ON”:)ITAB 15:
  PRINT“DISK)”:  PRINT“ (
Do  TE)  FOR(DISPLAY  ”TI
!’)”98    PRINT  “(DODo”)
FOR(ACTIVATf! EXTERNALDRI
VII!”:  HTAB 15:  PRINT  
“TO5AVETHIS PROGRAMME”: H
TAB 15: PRINT”ON DISK AND
 EXECUTE”:  HTAB  15:PRIN
T“ANOTHERPROGRAMMEON″:HTA
B 15:  PRINT  DISK、AND R[
!TtlRN)”:RUM  MESSAGE  FR
OM  MACHINE99    A  =  PE
EK(49348):RIEMRESET?1EASU
RING  CIRCυlT100  H(J)  =
  PEEK(49346)、 REM旧GHBYTE
140  1F  H(J)<  IN  THEN 
 Go  To  85:  RUM  PERIOD
門EASURE?1ENT  UNFINISHED1
60   L(J)  =  PEEK  (4934
5):  REM LOW BYTE300   A 
 = PEEK  (49348)?  REM RE
SET  MEASURINGCIRCUIT 400   IF J  、  NOTHEN Go 
 TO2000900J  =  J  +  l、G
o  TO1002000W =  W+1:  RE
M  ”W″THWAVE TRAlN2100  F
CRJ =  5 TO24:T(J)  =  (H
(J)  ・ IN)* BY  +  L(J): 
 NEXT  :  J =  1:REM  PER
IOD  RBADINGS2400  AVB(W)
 = 0.05 車(T(5)+T(6)+T(7)+
T(8)+T(9)+T(10)+T(11)+T(1
2)+T(13)+T(14)+T(15)+T(16
)+T(17)+T(18)+T (19) +T (
20) +T (21) +T (22) +T (2
3)+T(24)):Rf!M  AVERAGII!
  PERTOD2420  PRINT CHR$ 
 (7):  RBM BEEP FORNEXT W
AVERAIN 2466  A =PBBK (49348): RE
M RESI!T CIRCUIT ANDTEST 
 FOR5ILENCE 2470  FORPS =  l TO20:  N
f!XT:REM BRIEF  PAUSE2472
  REN  “−AVE TRAIN 5TILL 
 DETECTED?”2475  L  =PEEK
 (49345)、H= PEEK (49346)2
478  IF L = OAND H= OTHEN
 GOTO2495:RUM  ”NOWAVIE D
I!TECTHD”2485  GOTO2466 2495RUM REFERENCE/5IGNAL 
BRANCHING”2510 1F W −I TH
EN Go To 100: REM IT WASA
  RFtFEReNCB!l4AVE2520  R
EM IT IIAS A 5IGNAL WAVII
! TRAlN2550  K = K+1: REM
“K’″TH5IGNAL (NOTE THATK=
W−1) 2570  REM (AFTERA PROGRAM
ME RESET THE FIR5TWAVI! T
RAIN Is TAKEN As THI!REPE
RENCH,ALL 5UBSEQUENT WAVB
TRAINS TAKEN AS 5IGNALS R
F!FERREDTOTHIS REFERBNCE!
、 TILL THE NEXTRESBT、) 2700 1(K) = AVI! (1)/AYE(
W):Rf!M INTERVALCO1’1PUTI
l!D 2720  PRINT  INTERVAL−”、 
I(K)2740 1F I(K) < 0.9688
 Go TO2770: REM^PRH5IET  
VALUf! OF  に (St!E  FLOWC
HART FIG 8)WHICHISPROGRAM
MABLfE 2760  Go TO100 2770RBY’l  IEXECIJTE 0RAL
  PROGRAMME JUST  ENTERt!
02780  FORP=I To に・l:■・I(
P):  cost’s 2790:Nl!XT 2785  GOTO95 2790REM  ’BUILDING  BLOCK
S  OF  A  PROGRAMMABLBPRO
CESS’ 2800  1F  I  <10  Go  TO9
5:  RUM  TOOLOW  FORTHE! 
 PROGRAMME!D  RANGE  HERE
5 REM INVf! NTED BY H
O,FIT-FUN8 REM UNPUB
IjSHED C0PYRIGHT10 REM
P Q BOX 5450411 REM
N0RTHPOINT12 REM
1 (ONG KONG15 BEA20 REM 1-INTI!RVAL21
REM 23 REM FIG, 8 25 REM PROGRAMMING U
SING VOCAL COMMANDS 30 Rt! M l5OLATE
D INPUTS32 REM 34 REM 'ONE REFERE
NCE FOREACHORALPROGRAMME
! '36 REM 40 RUM VOPRO1845)I
El'1 50 REM 5LOT 455
REM J, W, 1. I(K), N, X
, P, I(P), MS60 HN = 12
8 62 NO= 24: REM St! T″
J ″FOREACHWAVI! TRAIN 64 BY =256 69 10 = 0.9688:
REM LOWEST IN Told SPROG
RAMME, MAY BE HXTENDED
70 If = 1.0625: R
f! M A BOUNDARY BETWIJNT
WOADJACENT MUSICAL INTE
RVALS71 12 =1.187573
13 =1.297574 14
=1.416775 15 =1.58
3376 16 =1.770877
17 =1.944478 18 =
2.125082 GOTO90 85R11! M HERE COMPU
TERM^Y EE PROGRAMMEDTOB
RREFLY PERFORM 0THEROPE
RATIONS “IINRELATED”
TOT[S PROGRAMME 88 GOTo 100 90 DIM T(50), H(50), L(5
0) 92 DIM K (100) 95 J=l: - ・0: K=
0. l1lEI'l RESET PRO
GRAMME96 FORPS = I
TO2500: NEXT: HOME: PR
INT “■ 4M AT YOUR5ERVICE,
"5ING'YOUR CHOICE': PRINT
: PRINT'' (DODO) FOR(LIS
T PROGRAMMEIN MEMORY):
PRINT” (DORE) FOR (DISPLAY
PATTERN 'HO')”:PRINT
” (DOMlRIFOR(TEXTMO[lll!
DISPLAY)"97 PRINT"
(DOFA) FOR (FLASHMODE DI
SPLAY)”:PRINT” (mouth OSO) FOR
(PLAY RUNNINGTONBS)'': P
RINT"(DOLA) FOR(ACTIVATf
! EXTII! RNAL DRIVE':H
TAB 15:PRINT TOCATALOG
PROGRAMME5 ON”:)ITAB 15:
PRINT“DISK)”: PRINT“(
Do TE) FOR(DISPLAY ”TI
! ')"98 PRINT "(DODo)
FOR(ACTIVATf!EXTERNALDRI
VII! ”: HTAB 15: PRINT
“TO5AVETHIS PROGRAMME”: H
TAB 15: PRINT”ON DISK AND
EXECUTE”: HTAB 15:PRIN
T “ANOTHER PROGRAMMEON”:HTA
B 15: PRINT DISK, AND R[
! TtlRN)”: RUM MESSAGE FR
OM MACHINE99 A = PE
EK (49348): RIEMRESET? 1EASU
RING CIRCυlT100 H(J) =
PEEK (49346), REM old GHBYTE
140 1F H(J)< IN THEN
Go To 85: RUM PERIOD
Gate EASURE? 1ENT UNFINISHED1
60 L(J) = PEEK (4934
5): REM LOW BYTE300A
= PEEK (49348)? REM RE
SET MEASURING CIRCUIT 400 IF J, NOTHEN Go
TO2000900J = J + l, G
o TO1002000W = W+1: RE
M “W”THWAVE TRAlN2100 F
CRJ = 5 TO24:T(J) = (H
(J) ・IN)* BY + L(J):
NEXT: J = 1: REM PER
IOD RBADINGS2400 AVB(W)
= 0.05 car (T(5)+T(6)+T(7)+
T(8)+T(9)+T(10)+T(11)+T(1
2)+T(13)+T(14)+T(15)+T(16
)+T(17)+T(18)+T(19)+T(
20) +T (21) +T (22) +T (2
3)+T(24)): Rf! M AVERAG II!
PERTOD2420 PRINT CHR$
(7): RBM BEEP FORNEXT W
AVERAIN 2466 A = PBBK (49348): RE
M RESI! T CIRCUIT AND TEST
FOR5ILENCE 2470 FORPS = l TO20: N
f! XT:REM BRIEF PAUSE2472
REN “-AVE TRAIN 5TILL
DETECTED? "2475 L = PEEK
(49345), H=PEEK (49346)2
478 IF L = OAND H = OTHEN
GOTO2495: RUM ”NOWAVIE D
I! TECTHD”2485 GOTO2466 2495RUM REFERENCE/5IGNAL
BRANCHING”2510 1F W-I TH
EN Go To 100: REM IT WASA
RFtFEReNCB! l4AVE2520R
EM IT IIAS A 5IGNAL WAVII
! TRAlN2550 K = K+1: REM
“K'″TH5IGNAL (NOTE THATK=
W-1) 2570 REM (AFTERA PROGRAM
ME RESET THE FIR5TWAVI! T
RAIN IS TAKEN AS THI! REPE
RENCH, ALL 5UBSEQUENT WAVB
TRAINS TAKEN AS 5IGNALS R
F! FERRED TOTHIS REFERBNCE!
, TILL THE NEXTRESBT, ) 2700 1(K) = AVI! (1)/AYE(
W): Rf! M INTERVALCO1'1PUTI
l! D 2720 PRINT INTERVAL-”,
I(K) 2740 1F I(K) < 0.9688
Go TO2770: REM^PRH5IET
VALUf! OF ni (St!E FLOWC
HART FIG 8) WHICHIS PROGRAM
MABLfE 2760 Go TO100 2770RBY'l IEXECIJTE 0RAL
PROGRAMME JUST ENTER!
02780 FORP=I To ni・l:■・I(
P): cost's 2790:Nl! XT 2785 GOTO95 2790REM 'BUILDING BLOCK
SOF A PROGRAM M A B L B PRO
CESS' 2800 1F I <10 Go TO9
5: RUM TOOLOW FORTHE!
PROGRAMME! D RANGE HERE
.

5TART  AGAIN 2820 1F I < 11 Go To 3000
: REM INTERVALl、0000 2840   1F   I   <   12  G
OTo  3500:   REM   INTERV
ALl、1250 2860  IF  I  <  13 GOTO40
00:  REM  INTERVALl、2500 2880   1F   I   <   I4  G
o  To  4500:   REM   INTE
RVALl、3333 2900   1F   !   <   15  G
OTo  5000:   REM   INTt!R
VAL1.5000 2920 1F  I  <  16 GOTO550
0:  REM  INTERVALl、6667 2940    IF   I   <   17  
GOTo  6000:   RBM   INTER
VALl、8750 2960 1F  I  <  18 Go TO65
00:  RHM  INTERVAL2.0000 2980  RETURN:  Rt!M GRBAT
ERTHAN Ti1l! HIGHBSTINTI!
RVAL PROGRAMMBD  (WHICHMA
Y BEEXTf!NDf!D)、NBGLECT30
00  REM MESSAGI!  IDENTIF
If!D WITH1,00003005Rt!M  
PI!BDBAC)[3010FG  = 50:  
REM    ネ傘* 00 傘率幸 OF  ANA
BITRARY  MUSICAL  5CALII!
3020  GO5UB 998G 3030  1PR0・  1.0000:IS   
・  “ ロ0”3035  GOSU89800 3050  LIST 3499  RETURN 3500  R1?’l旺5SAGE I叶NTIFI
I!D WITH1,12503505REM FEE
DBACK 3510   FQ  =  76:  Rf!M  
 ***  RE  率**  OF  AN  AB
ITRARYMUSICAL 5CALE 3520  GO5UB 9980 3530 1PRO= 1.124:Is・ RE”3
540  GOSU89800 3550   FLASH:  PRINT    ″
 GRAP旧C”:NQRMAL3600  GR 3610C0LOR=  12 3650  VLIN O,30AT 23660  
VLIN O,30AT 123670  VLIN 
2.12 AT 153680  VLIN O,30
AT 163690  VLIN O,3OAT 26
3700  HLIN 16.26 八T03720 
 札IN 16.26 AT 303999  RET
URN 4000  REM MESSAGB  IDENTI
FIED IIITH1,25004005RUM  
PI!BDBACK4010   FG  =  99
:  REM   ***  Ml!  傘**  O
F  AN  ABITRARY?1USICAL 5
CALE 4020  GO3tlB 9980 4040 1PR0,1,2500:II ・@MB”
4050  GO5UB 9800 4055  PLASH:  PRIN’r   ’T
EXT’:NOR?IAL4100  T[!X’r 4499  RF!TURN 4500  REM MESSAGB  IDENTI
FIE[I WITH1,33334502REM F
t!EDBACK 4505   FG  −109:  REM   傘
傘*  FA  **傘 OF  AN  ABITR
ARYMUSICAL 5CALf! 4510  GO3UB 9980 4515 1PRO−1,3333:IS 、FA’″
4520  GO3UB 9800 4600   FLASII 4650  PRINT  “FRASH”4999 
 R[!TURN 5000  RIM Ml!5SAIJ  1011!
NTIFIII!D WITH1,50005001R
EM PEEDBACK 5002   FG  =127:  REM   宰
** SO*** OF  AN  ABITRARY
MtlSICAL  5CALE 5004  GO5UB 9980 5010 1PR0,1,5000:IS 、“SO”
5020  GO5[lB 9800 5025  FLASH:  PRINT@MUSIC
”5100  NORMAL 5105  TEXT 5120  FORFQ = 230 To 2545
160  GO5UB 5300 5180  Ml!XT  FQ: 5200  RETURN 5300  POKI! 768.1 5320  POKB 769.FQ 5340  CALL 770 5350  RETURN 5500  REM MESSAGE IDENTIF
IED WITH1,66675501REM  FE
EDBACに 5502   FQ −  144:  REM   
傘*傘 LA  本章*  OF  ANABITRA
RY  MUSICAL 5CALE5504  GO
5t189980 5510 1PR0・ 1.6667:IS = ” 
LA″5520  GO5UB 9800 5522  PRINT 5523  HTAB  16 5525  FLASH:  PRINT   “LA
”:  NORMAL5550  Pl?INT C)
IR$  (4):  @CATALOG″5999 
 RETURN 6000  REM MESSAGE IDENTIF
IED WITH1,87506005REM  FE
EDBACK 6010   FQ  =  159:  REM  
 ***  T[!  *車重 OF  ANABIT
RARY  MUSICAL 5CALE6015  
GO5IJB 9980 6020 1PR0・ 1.8750:IS ・“TE
”6030  GO5UB 9800 6040  PRINT 6050  HTAB  16 6060  FLASH:  PRINT   ”TE
”:  NORMAL6499  RETURN 6500  REM ?[!5SAGB  IDENT
IFIED WIT)+ 2.00006505  R
E!M FE8DBACK6510   FQ  = 
 166:  REM   率**  [lQ’  ネ
本*  OF  ANABITRARY  MUSIC
AL  5CALIli6515  GOSU8998
0 6520 1PRO= 2.0000:IS =“DO
゛6530  GO5υ89800 6540  PRINT 6550  HTAB  16 6560  FLASH:  PRINT   “Do
”:  NORM^L6570  PRINT CHR
$  (4);  “5AVE PROGRAMME”
6580  PRINT CHR$  (4);  “
BRUN BEEPING 35020”6999  
RETURN 9800  PRINT  “ERROR=  ”; 
 (1−IPRO)/IPRO9810PRINT 9820  HTAB 2: PRINT  “I R
1IC0GNIZED INTERVAL(Do″:I
S:勺AND I AM NOW IEXIICUTI
NGYOURMESSAGIli″ 9822  RETURN 9980  REM DECLARE THE REC
OGN[ZED INTERVAL9982  POK
B 768.6: POKE 769,50:CALL
 700:REM A SO[IND 5UBROUT
INE To PRODUCEA PRESI!T R
EPERENCE 5OUND9984  POKE 
768.6: POKE 769.PQ: CALL 
770: RI!MPRODUCE A SOυNOB
EARING THERECOGNIZED  INT
ERVAL9986  RETURN 9990  END 第9図は、他のサブルーチン■で、第6図〜第8図の流
れ図のブロック■と代替可能であって、第6図〜第8図
のブロック!に代えればスラー付入力、即ち、スラー付
波列の処理可能にする。個々の音声よりもスラー付(連
結した)音声を作る上方が容易であるので、この動作は
話者にとって有利である。
5TART AGAIN 2820 1F I < 11 Go To 3000
: REM INTERVALL, 0000 2840 1F I < 12 G
OTo 3500: REM INTERV
ALl, 1250 2860 IF I < 13 GOTO40
00: REM INTERVALL, 2500 2880 1F I < I4 G
o To 4500: REM INTE
RVALL, 3333 2900 1F! <15G
OTo 5000: REM INTt! R
VAL1.5000 2920 1F I < 16 GOTO550
0: REM INTERVALL, 6667 2940 IF I < 17
GOTo 6000: RBM INTER
VALl, 8750 2960 1F I < 18 Go TO65
00: RHM INTERVAL2.0000 2980 RETURN: Rt! M GRBAT
ERTHAN Ti1l! HIGHBSTINTI!
RVAL PROGRAM MBD (WHICHMA
Y BEEXTf! NDf! D), NBGLECT30
00 REM MESSAGI! IDENTIF
If! D WITH1,00003005Rt! M
PI! BDBAC) [3010FG = 50:
REM Negasa* 00 Kasasako OF ANA
BITRARY MUSICAL 5CALII!
3020 GO5UB 998G 3030 1PR0・1.0000:IS
・ “RO0”3035 GOSU89800 3050 LIST 3499 RETURN 3500 R1? 'I want 5SAGE I Kano NTIFI
I! D WITH1,12503505REM FEE
DBACK 3510 FQ = 76: Rf! M
*** RE rate ** OF AN AB
ITRARYMUSICAL 5CALE 3520 GO5UB 9980 3530 1PRO= 1.124:Is・RE”3
540 GOSU89800 3550 FLASH: PRINT''
GRAP old C": NQRMAL3600 GR 3610C0LOR= 12 3650 VLIN O, 30AT 23660
VLIN O,30AT 123670 VLIN
2.12 AT 153680 VLIN O,30
AT 163690 VLIN O,3OAT 26
3700 HLIN 16.26 8T03720
Tag IN 16.26 AT 303999 RET
URN 4000 REM MESSAGB IDENTI
FIED IIITH1,25004005RUM
PI! BDBACK4010 FG = 99
: REM *** Ml! Umbrella** O
FAN ABITRARY? 1USICAL 5
CALE 4020 GO3tlB 9980 4040 1PR0,1,2500:II ・@MB”
4050 GO5UB 9800 4055 PLASH: PRIN'r 'T
EXT':NOR? IAL4100 T[! X'r 4499 RF! TURN 4500 REM MESSAGB IDENTI
FIE[I WITH1,33334502REM F
T! EDBACK 4505 FG-109: REM Umbrella* FA **Umbrella OF AN ABITR
ARYMUSICAL 5CALf! 4510 GO3UB 9980 4515 1PRO-1,3333:IS, FA'''
4520 GO3UB 9800 4600 FLASII 4650 PRINT “FRASH”4999
R[! TURN 5000 RIM Ml! 5SAIJ 1011!
NTIFIII! D WITH1,50005001R
EM PEEDBACK 5002 FG = 127: REM *SO * * * OF AN ABITRARY
MtlSICAL 5CALE 5004 GO5UB 9980 5010 1PR0,1,5000:IS, “SO”
5020 GO5 [lB 9800 5025 FLASH: PRINT@MUSIC
”5100 NORMAL 5105 TEXT 5120 FORFQ = 230 To 2545
160 GO5UB 5300 5180 Ml! XT FQ: 5200 RETURN 5300 POKI! 768.1 5320 POKB 769. FQ 5340 CALL 770 5350 RETURN 5500 REM MESSAGE IDENTIF
IED WITH1,66675501REM FE
5502 FQ-144 to EDBAC: REM
Umbrella *Umbrella LA Main Chapter* OF ANABITRA
RY MUSICAL 5CALE5504 GO
5t189980 5510 1PR0・1.6667:IS=”
LA″5520 GO5UB 9800 5522 PRINT 5523 HTAB 16 5525 FLASH: PRINT “LA
”: NORMAL5550 Pl?INT C)
IR$ (4): @CATALOG″5999
RETURN 6000 REM MESSAGE IDENTIF
IED WITH1,87506005REM FE
EDBACK 6010 FQ = 159: REM
*** T[! *Vehicle weight OF ANABIT
RARY MUSICAL 5CALE6015
GO5IJB 9980 6020 1PR0・1.8750:IS・“TE
”6030 GO5UB 9800 6040 PRINT 6050 HTAB 16 6060 FLASH: PRINT ”TE
”: NORMAL6499 RETURN 6500 REM ?[!5SAGB IDENT
IFIED WIT) + 2.00006505 R
E! M FE8DBACK6510 FQ=
166: REM Rate** [lQ' Nemoto* OF ANABITRARY MUSIC
AL 5CALIli6515 GOSU8998
0 6520 1PRO= 2.0000:IS=“DO
゛6530 GO5υ89800 6540 PRINT 6550 HTAB 16 6560 FLASH: PRINT “Do
”: NORM^L6570 PRINT CHR
$ (4); “5AVE PROGRAMME”
6580 PRINT CHR$ (4); “
BRUN BEEPING 35020”6999
RETURN 9800 PRINT “ERROR=”;
(1-IPRO)/IPRO9810PRINT 9820 HTAB 2: PRINT “I R
1IC0GNIZED INTERVAL(Do″:I
S: AND I AM NOW IEXIICUTI
NGYOURMESSAGIli'' 9822 RETURN 9980 REM DECLARE THE REC
OGN[ZED INTERVAL9982 POK
B 768.6: POKE 769,50: CALL
700: REM A SO [IND 5UBROUT
INE TO PRODUCEA PRESI! T R
EPERENCE 5OUND9984 POKE
768.6: POKE 769. PQ: CALL
770: RI! MPRODUCE A SOυNOB
EARING THERECOGNIZED INT
ERVAL9986 RETURN 9990 END Figure 9 is another subroutine ■ that can be substituted for the blocks ■ in the flowcharts in Figures 6 to 8, and the blocks in Figures 6 to 8! If it is replaced with , it becomes possible to process an input with a slur, that is, a wave train with a slur. This action is advantageous to the speaker because it is easier to create slurred (concatenated) speech than individual speech.

ブロック■のプログラムを実施するのに通しいりスティ
ングを以下に示す。
The following is a step-by-step guide to implementing the program in Block ■.

2420  PRINT CHR$ (7): REM
 BEEP FORN1xr WAVERAIN 2460  for PS=I TO500: NEX
T: REM PAUSEこれは、例えば、FIG、6
の流れ図に対するプログラムリスティングのライン24
20〜2485に代替できる。第9図の休止は、その時
点の波列(第6図〜第8図の流れ図)が、後続の読み取
り値と間違えられること、例えば、次の波列と間違えら
れるのを防ぐのに十分な長さであるべき点に留意すべき
であり、使用者は上記のような波列を休止を超えた長さ
で生成し続けないように注意すべきである。
2420 PRINT CHR$ (7): REM
BEEP FORN1xr WAVERAIN 2460 for PS=I TO500: NEX
T: REM PAUSE This is, for example, FIG, 6
Line 24 of the program listing for the flowchart of
20 to 2485 can be substituted. The pause in Figure 9 is sufficient to prevent the current wave train (flowcharts in Figures 6-8) from being mistaken for subsequent readings, e.g. The user should be careful not to continue to generate such wave trains for a length beyond the rest.

第10図は他の代替用サブルーチン■を示す。FIG. 10 shows another alternative subroutine (2).

ブロック■は装置lOを修正し、これによって使用者は
波列出力を正常時に要求される時間を超えて生成し保持
することで、実際に周波数域を拡大できる。即ち、休止
時間を超えて生成保持すればよい。この装置が、所定の
持続時間を超えて継続する波列を検出すると、メツセー
ジ識別の前に(即ち、解釈の前に)、実質上の音程を得
るため、変換係数を用いて上記データを修正する。
Block 3 modifies the device IO so that the user can actually extend the frequency range by generating and holding the wave train output for longer than normally required. That is, it is sufficient to generate and hold the data beyond the pause time. When the device detects a wave train lasting longer than a predetermined duration, it modifies said data using a transformation factor to obtain the effective pitch before message identification (i.e., before interpretation). do.

第10図のブロック■に示す記号mは変換係数で、任意
の範囲の値をとれる。人間が話者である場合には、2個
の特定値0.5と2が特に有用である。係数がm = 
0.5の場合、装置聴取部は、高オクターブへ移調し、
m=2では低オクターブに移る。(即ち、ドーμは音程
1.125である。m=5であって、REが保持されて
いれば、音程2.5即ち、D〇−RE’を測定する)。
The symbol m shown in block ■ in FIG. 10 is a conversion coefficient, which can take any value within an arbitrary range. Two specific values 0.5 and 2 are particularly useful when the speaker is a human. The coefficient is m =
0.5, the device listening section transposes to a higher octave,
When m=2, it moves to a lower octave. (That is, Doμ is the interval 1.125. If m=5 and RE is held, measure the interval 2.5, that is, D〇-RE').

繰返し移調は、話者又は歌手が更に波列を続けた場合に
実行される。つまり、話者の周波数域は、実質的に拡張
される。更に、音声人力は、使用者が使用し易い周波数
域内で操作することを許し、しかも、話者が非常に広い
周波数域を有するかのように多数の音程を実現する。従
って、僅かな音符のみを使用して、従来より多くの異な
った語信号が得られる。
Repeated transpositions are performed when the speaker or singer continues the wave train further. That is, the speaker's frequency range is substantially expanded. Furthermore, speech power allows the user to operate within a convenient frequency range, yet achieves a large number of pitches as if the speaker had a very wide frequency range. Therefore, using only a few notes, more different word signals than before can be obtained.

第10図のブロック■のプログラムに適しいリスティン
グを以下に示す。
A suitable listing for the program in block ① of FIG. 10 is shown below.

2420  PRINT CHR$ (7): REM
 BEEP FORNEXT WAVERAIN 2464  FORPS=I TO1000: NEX
T: REM PAUSE2466   A=PEEに
 (49348):  REM  RBSET  CI
RCIJIT  AN口TEST FOR5ILENC
E 2470  FORPS=I TO100: NEXT
: RUM BRIEF PAUSE2472   R
EM   “−AVE” TRAIN  5TILL 
 DETECTED?”2475  L=PEEK (
49345): H,PEEK (49346)247
8   IF  L=0  ^ND  H=OTHEN
  GOTo  2495:REM No WAVI!
 DETECTED2480   AVB(W)=AV
E  (W)  /2:  REM  MULTIPL
YINGFACTOR,1/2 2485  GOTO2420 本発明が電子計算機による通信のための新装置を教示す
ることは以上の説明により明らかである。
2420 PRINT CHR$ (7): REM
BEEP FORNEXT WAVERAIN 2464 FORPS=I TO1000: NEX
T: REM PAUSE2466 A=PEE (49348): REM RBSET CI
RCIJIT AN mouth TEST FOR5ILENC
E 2470 FORPS=I TO100: NEXT
: RUM BRIEF PAUSE2472 R
EM “-AVE” TRAIN 5TILL
DETECTED? ”2475 L=PEEK (
49345): H, PEEK (49346)247
8 IF L=0 ^ND H=OTHEN
GOTo 2495: REM No WAVI!
DETECTED2480 AVB(W)=AV
E (W) /2: REM MULTIPL
YINGFACTOR, 1/2 2485 GOTO2420 It is clear from the above description that the present invention teaches a new device for communication by computer.

本装置は音程符号による通信の概念を使用し、これによ
り、音声命令数及び音声認識の容易さを本質的に拡大す
る。
The device uses the concept of pitch code communication, thereby essentially expanding the number of voice commands and the ease of voice recognition.

本装置は、経済的かつ効果的に実現でき、操作は容易に
修得でき有効に使用できる。これは使用者に特定される
ことなく、多数の認識される語(音程)を提供し、製造
及び使用が経済的である。
This device can be realized economically and effectively, and its operation can be easily learned and used effectively. It provides a large number of recognized words (intervals) without being specific to the user, and is economical to manufacture and use.

本発明の装置のいくつかの実施例を示し説明したが、本
明細書に記載した装置10.000又はその変形に対す
る変更及び修正が本発明の教示を逸脱することなく可能
なことは当業者には自明である。従って、本発明の範囲
は特許請求の範囲に記載の事項にのみ限定される。
Although several embodiments of the apparatus of the invention have been shown and described, it will be apparent to those skilled in the art that changes and modifications to the apparatus 10.000 described herein, or variations thereof, may be made without departing from the teachings of the invention. is self-evident. Accordingly, the scope of the invention is limited only by what is set forth in the claims.

要約すると、本発明は、予め選択された命令又は入力を
電子計算機に通信するための符号として音程を使用する
機械への通信のための装置に関する。この装置は、音程
を連続的に設定するため、音符(ドーμ等)を発生して
いる人の音声を使用でき、受信された音符又は音声を同
一基本周期のパルス列に変換し、周期と音程を記憶し計
算するために、電気回路とプログラムを使用できる。特
 。
In summary, the present invention relates to an apparatus for communicating to a machine that uses musical intervals as symbols for communicating preselected instructions or inputs to an electronic computer. This device sets the pitch continuously, so it can use the voice of the person generating the note (such as Do μ), and converts the received note or voice into a pulse train with the same basic period, and then sets the period and pitch. Electrical circuits and programs can be used to memorize and calculate. Special.

定音程が受信されると、アップルII+TMのような数
値式マイクロコンピュータを含む装置は、予め記憶され
ているサブルーチンを実行し、続いて、第2の音程の受
信のために回路を再設定することが可能である。
When a fixed pitch is received, a device containing a numerical microcomputer, such as the Apple II+TM, executes a pre-stored subroutine to subsequently reconfigure the circuitry for reception of a second pitch. is possible.

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

第1図は本発明の教示に従って構成された音声認識装置
のブロック図で、各種点での波形を示し、第2図は、第
1図の装置の波形整形回路部の回路図、 第3図は、第1図の装置の周期測定回路と他の部分の回
路図、 第4図は、第2図と第3図の回路の動作を理解するため
の一組の波形を示す波形図、 第5図は、第1図から第3図に示した装置の全体として
の動作を図示するための流れ図、第6図ないし第8図は
本装置の他の実施例の動作を示すための流れ図、 第9図および第10図は、第6図、第7図、又は第8図
の各流れ図の部分と代替可能なサブルーチン流れ図であ
る。 主 。の午1のジ日 12・・・変換器     18・・・波形整形回路2
0・・・補助入力端子  22・・・周期測定回路24
・・・入出力インターフェース 26・・・電子計算機   36・・・低周波増幅器5
0・・・低周波濾波器  55・・・比較器72・・・
シフトレジスタ 75・・・周期測定ゲート78・・・
15ビツトカウンタ 80・・・8ビツトカウンタ
1 is a block diagram of a speech recognition device constructed in accordance with the teachings of the present invention, showing waveforms at various points; FIG. 2 is a circuit diagram of the waveform shaping circuitry of the device of FIG. 1; FIG. 1 is a circuit diagram of the period measuring circuit and other parts of the device shown in FIG. 1; FIG. 4 is a waveform diagram showing a set of waveforms for understanding the operation of the circuit shown in FIGS. 5 is a flowchart for illustrating the overall operation of the apparatus shown in FIGS. 1 to 3; FIGS. 6 to 8 are flowcharts for illustrating the operation of other embodiments of the apparatus; 9 and 10 are subroutine flowcharts that can be substituted for the flowcharts in FIG. 6, FIG. 7, or FIG. 8. main . Noon 1 Day 12...Converter 18...Waveform shaping circuit 2
0...Auxiliary input terminal 22...Period measurement circuit 24
...Input/output interface 26...Electronic computer 36...Low frequency amplifier 5
0...Low frequency filter 55...Comparator 72...
Shift register 75...Period measurement gate 78...
15-bit counter 80...8-bit counter

Claims (1)

【特許請求の範囲】 1、様々な音程について一連のサブルーチンが予め記憶
された電子計算機と音声信号を使用して通信する装置に
おいて、該装置は、 複数の音声信号をその基本音の周期を表わす信号に変換
するための手段と、 該信号変換手段に結合され、受信音声信号と基準音声信
号との音程を計算するための手段と、前記変換手段と前
記音程計算手段とに応動し、該音程計算手段によって計
算された特定音程に対応する予め記憶されたサブルーチ
ンを選択し、走行させるための手段とにより構成される
ことを特徴とする電子計算機通信装置。 2、特許請求の範囲第1項記載の装置において、該装置
は命令音声信号によって前記変換手段に順次入力される
音声信号により設定される基準信号に応動可能であるこ
とを特徴とする電子計算機通信装置。 3、特許請求の範囲第2項記載の装置において、該装置
は、音階内の楽音に応動可能であることを特徴とする電
子計算機通信装置。 4、特許請求の範囲第3項記載の装置において、前記音
階は1.000、1.0250、1.500、及び2.
000を許容誤差範囲内で含む音程を有する現代音階で
あることを特徴とする電子計算機通信装置。 5、音声起動電子計算機制御装置において、該装置は、
音を電気信号に変換するためのマイクロホンと、 前記マイクロホンに結合され、電気信号を受信音声の基
本周期のパルス列に変換するための手段と、 該変換手段に結合され、前記パルス列の周期を測定し、
基準周期と比較するための手段と、前記パルス列の周期
と前記基準周期との間の音程を計算するための手段と、 前記の全手段に応動し、選択され計算された特定音程値
に応動して様々なルーチンを電子計算機に実行させるた
めの手段とを含むことを特徴とする電子計算機制御装置
。 6、人間の音声の認識装置において、該装置は特定音程
で関係づけられた音声信号の形式の命令に応動するため
の手段を有し、複数個の特定な異なる命令を認識し、同
様な数の異なる音程に関連づけることを特徴とする音声
認識装置。 7、特許請求の範囲第6項記載の装置において、前記音
声の1つが予め選択された時間を超えて連続期間繰り返
された場合、前記手段は、検出された音程を伸縮させる
ことによって、異なった音程を生成するよう動作するこ
とを特徴とする音声認識装置。 8、音声認識装置において、該装置は、 音声入力に応動し、該音声信号の基本成分と同一の周期
のパルス列を生成する波形整形回路と、該波形整形回路
のパルス列出力を受信し測定するための周期測定及び比
較回路とを含み、 該周期測定及び比較回路は、前記パルス列の周期を基準
周期と比較するための手段、及びその音程を計算するた
めの手段を含み、 該装置はさらに、特定音程のみに応動し他の音程には応
動しない手段を含むことを特徴とする音声認識装置。 9、インターフェース回路を通して電子計算機と人間の
音声を通信する方法において、該方法は、命令を音声信
号形式で前記インターフェース回路に提示するステップ
と、 前記音声信号を特定な音程に関係づけるステップと、 受信された音声信号と音声信号の基準との間の音程を計
算するステップと、 計算された特定な音程に関連する予め記録されたサブル
ーチンプロトコルを該計算機内で選択し実行するステッ
プとを含むことを特徴とする音声通信方法。 10、特許請求の範囲第9項記載の方法において、前記
音声信号は音階中の楽音であることを特徴とする音声通
信方法。 11、特許請求の範囲第10項記載の方法において、前
記音階は、1.000、1.250、1.500、及び
2.000を許容誤差範囲内で含む音程を有する現代音
階であることを特徴とする音声通信方法。 12、特許請求の範囲第11項記載の方法において、前
記音声信号を関連づける前記ステップは、先ず、基準音
声信号を前記基準音声信号の音声の周期を示す信号に変
換し、次に、命令音声信号を順次、前記命令音声信号の
音声の周期を示す信号に変換し、続いて、前記音程を計
算することを特徴とする音声通信方法。 13、特許請求の範囲第9項記載の方法おいて、該方法
は、 音声信号が、ある連続する期間にわたって繰り返された
時点を検出するステップと、 検出された繰返し音程を伸縮することによって、異なる
音程を生成するステップとを含むことを特徴とする音声
通信方法。 14、特許請求の範囲第9項記載の方法において、音声
信号を関係づける前記ステップは、 各音声信号を該音声信号の音声に関連する特定周期を有
するパルス列に変換するステップを含むことを特徴とす
る音声通信方法。 15、特許請求の範囲第12項記載の方法において、音
声信号を関係づける前記ステップは、前記基準信号を、
該基準音声信号の音声に関連する特定周期を有するパル
ス列に変換するステップと、次に、各音声信号を該音声
信号の音声に関連するパルス列に変換するステップと、
続いて前記音程を計算するステップとを含むことを特徴
とする音声通信方法。
[Claims] 1. A device that communicates using audio signals with a computer in which a series of subroutines for various pitches are stored in advance, the device: means for converting into a signal; means coupled to the signal converting means for calculating an interval between a received audio signal and a reference audio signal; and responsive to the converting means and the interval calculating means; 1. A computer communication device comprising means for selecting and running a pre-stored subroutine corresponding to a specific pitch calculated by a calculating means. 2. The computer communication device according to claim 1, wherein the device is capable of responding to a reference signal set by a voice signal sequentially input to the converting means by a command voice signal. Device. 3. A computer communication device according to claim 2, wherein the device is capable of responding to musical tones within a musical scale. 4. The device according to claim 3, wherein the scale is 1.000, 1.0250, 1.500, and 2.000.
An electronic computer communication device characterized in that the scale is a modern scale having an interval including 000 within an allowable error range. 5. In a voice-activated electronic computer control device, the device:
a microphone for converting sound into an electrical signal; means coupled to the microphone for converting the electrical signal into a pulse train having the fundamental period of the received sound; and a microphone coupled to the converting means for measuring the period of the pulse train. ,
means for comparing with a reference period; means for calculating an interval between the period of said pulse train and said reference period; and responsive to all said means, responsive to a selected and calculated particular interval value. 1. An electronic computer control device comprising means for causing an electronic computer to execute various routines. 6. A device for recognizing human speech, the device having means for responding to commands in the form of audio signals associated with specific pitches, recognizing a plurality of specific different commands, and recognizing a number of similar A speech recognition device characterized by associating different musical pitches with different pitches. 7. The apparatus of claim 6, wherein if one of said sounds is repeated for a continuous period of time exceeding a preselected time, said means may be adapted to produce a different sound by stretching or contracting the detected pitch. A speech recognition device characterized in that it operates to generate pitches. 8. In a speech recognition device, the device includes: a waveform shaping circuit that responds to speech input and generates a pulse train having the same period as the fundamental component of the speech signal; and a waveform shaping circuit for receiving and measuring the pulse train output of the waveform shaping circuit. a period measurement and comparison circuit, the period measurement and comparison circuit including means for comparing the period of the pulse train with a reference period, and means for calculating the pitch thereof; A speech recognition device characterized by comprising means that responds only to pitches and does not respond to other pitches. 9. A method of communicating human speech with a computer through an interface circuit, the method comprising: presenting instructions in the form of an audio signal to the interface circuit; associating the audio signal with a particular pitch; and receiving. and selecting and executing in the calculator a prerecorded subroutine protocol associated with the particular calculated pitch. Characteristic voice communication method. 10. The voice communication method according to claim 9, wherein the voice signal is a musical tone in a musical scale. 11. The method according to claim 10, wherein the scale is a modern scale having intervals including 1.000, 1.250, 1.500, and 2.000 within a tolerance range. Characteristic voice communication method. 12. The method according to claim 11, wherein the step of associating the audio signals first converts a reference audio signal into a signal indicating the audio period of the reference audio signal, and then converts the reference audio signal into a signal indicating the audio period of the reference audio signal, and then converts the reference audio signal into a signal indicating the audio period of the reference audio signal. A voice communication method, comprising: sequentially converting the command voice signal into a signal indicating the voice period of the command voice signal, and then calculating the pitch. 13. The method according to claim 9, which comprises the steps of: detecting when the audio signal is repeated over a certain continuous period; and expanding or contracting the detected repeated intervals. A voice communication method comprising the step of generating a pitch. 14. The method of claim 9, characterized in that the step of associating audio signals includes the step of converting each audio signal into a pulse train having a specific period associated with the audio of the audio signal. voice communication method. 15. The method of claim 12, wherein the step of associating an audio signal comprises:
converting each audio signal into a pulse train having a specific period associated with the audio of the reference audio signal; and then converting each audio signal into a pulse train associated with the audio of the audio signal.
and then calculating the pitch.
JP60231483A 1984-10-18 1985-10-18 Computer and communication device for unspecified speakers Expired - Lifetime JPH0797277B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US66221084A 1984-10-18 1984-10-18
US662210 1984-10-18

Publications (2)

Publication Number Publication Date
JPS61159699A true JPS61159699A (en) 1986-07-19
JPH0797277B2 JPH0797277B2 (en) 1995-10-18

Family

ID=24656825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60231483A Expired - Lifetime JPH0797277B2 (en) 1984-10-18 1985-10-18 Computer and communication device for unspecified speakers

Country Status (4)

Country Link
JP (1) JPH0797277B2 (en)
CN (1) CN85107539B (en)
GB (1) GB2165974B (en)
HK (1) HK99093A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19816933A1 (en) * 1998-04-16 1999-10-21 Nokia Mobile Phones Ltd Method for controlling an electronic device, in particular a mobile station of a mobile radio network
CN1304525A (en) 1999-05-10 2001-07-18 索尼公司 Control device and method therefor, information processing device and method therefor, and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4275266A (en) * 1979-03-26 1981-06-23 Theodore Lasar Device to control machines by voice

Also Published As

Publication number Publication date
CN85107539A (en) 1986-05-10
CN85107539B (en) 1988-12-14
JPH0797277B2 (en) 1995-10-18
GB2165974B (en) 1988-10-12
GB2165974A (en) 1986-04-23
GB8525606D0 (en) 1985-11-20
HK99093A (en) 1993-09-30

Similar Documents

Publication Publication Date Title
US7791471B2 (en) Item locator system utilizing item and location bar codes
US5719921A (en) Methods and apparatus for activating telephone services in response to speech
USRE41080E1 (en) Voice activated/voice responsive item locater
US7136465B2 (en) Voice activated, voice responsive product locator system, including product location method utilizing product bar code and product-situated, location-identifying bar code
JP3968133B2 (en) Speech recognition dialogue processing method and speech recognition dialogue apparatus
CA2019319C (en) Voice recognition dialing unit
CN108766441B (en) Voice control method and device based on offline voiceprint recognition and voice recognition
JPS603699A (en) Adaptive automatically dispersing voice recognition
CN107767869A (en) Method and apparatus for providing voice service
JPS5854400B2 (en) voice recognition device
JP2008309856A (en) Speech recognition device and conference system
US6621903B2 (en) Portable telephone set and method for inputting said incoming call reporting melody
CN109272991A (en) Method, apparatus, equipment and the computer readable storage medium of interactive voice
CN112634897A (en) Equipment awakening method and device, storage medium and electronic device
US6504905B1 (en) System and method of testing voice signals in a telecommunication system
JPS61159699A (en) Electronic computer/communicator and voice communication method
CN112802465A (en) Voice control method and system
US6845356B1 (en) Processing dual tone multi-frequency signals for use with a natural language understanding system
EP1185976B1 (en) Speech recognition device with reference transformation means
US5774862A (en) Computer communication system
CN100375978C (en) Doorbell device and method capable of identifying visitor pressing doorbell
CA1279403C (en) Computer communication system
JP2000122678A (en) Controller for speech recogniging equipment
CN101304457A (en) Method and apparatus for implementing automatic spoken language training based on voice telephone
KR102150902B1 (en) Apparatus and method for voice response