JPH0648301B2 - Sound generator - Google Patents

Sound generator

Info

Publication number
JPH0648301B2
JPH0648301B2 JP61012861A JP1286186A JPH0648301B2 JP H0648301 B2 JPH0648301 B2 JP H0648301B2 JP 61012861 A JP61012861 A JP 61012861A JP 1286186 A JP1286186 A JP 1286186A JP H0648301 B2 JPH0648301 B2 JP H0648301B2
Authority
JP
Japan
Prior art keywords
switch
timer
reservation
melody
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61012861A
Other languages
Japanese (ja)
Other versions
JPS62170874A (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.)
Kyushu Hitachi Maxell Ltd
Original Assignee
Kyushu Hitachi Maxell Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyushu Hitachi Maxell Ltd filed Critical Kyushu Hitachi Maxell Ltd
Priority to JP61012861A priority Critical patent/JPH0648301B2/en
Publication of JPS62170874A publication Critical patent/JPS62170874A/en
Publication of JPH0648301B2 publication Critical patent/JPH0648301B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は音響発生装置、特に予約時刻に達すると音響
を発して表示するものに関する。
Description: TECHNICAL FIELD The present invention relates to a sound generator, and more particularly to a sound generator that emits a sound and displays it when a reserved time is reached.

[従来の技術] 操作者が予め時刻設定しておくと、当該時刻に音響をも
ってアラーム表示するものが一般に知られている。更に
かかる表示内容も、単純なベル音から、意味内容をもっ
た一連の言葉を、表示すべき内容に対応させて発生する
ものへと高度化する傾向にある。
[Prior Art] It is generally known that, when an operator sets a time in advance, an alarm is displayed with a sound at the time. Further, such display contents also tend to be advanced from a simple bell sound to a sequence of words having meaning contents generated in correspondence with the contents to be displayed.

[発明が解決しようとする問題点] ところで従来のタイマー装置は、専ら予約時刻を正確に
表示することが主眼におかれていたために、各設定時刻
におけるタイマー処理時以外はむしろその使用が制限さ
れ、従って、最近富みに高度化し、タイマー装置への採
用もすすんできた音響発生手段を有効に利用していない
のが現状であった。
[Problems to be Solved by the Invention] By the way, since the conventional timer device has been mainly focused on accurately displaying the reserved time, its use is rather limited except during the timer processing at each set time. Therefore, it is the current situation that the sound generating means, which has been highly advanced recently and has been adopted for the timer device, has not been effectively utilized.

[問題点を解決するための手段] 本発明は上記問題に着目してなされたものであって、タ
イマー装置として利用している時以外は、スイッチ操作
と連動して複数種類の言葉あるいはメロディ等の音響を
ランダムに発生可能とすることにより、言葉の組み合せ
の偶然性を利用した遊戯装置としても使用できる音響発
生装置を提供せんとするものである。
[Means for Solving Problems] The present invention has been made in view of the above-mentioned problems, and a plurality of types of words, melody, etc. are interlocked with a switch operation except when it is used as a timer device. It is intended to provide a sound generation device which can be used also as a game device utilizing randomness of a combination of words by randomly generating the sound.

第1図は本発明の構成を説明するものであって、予約設
定手段で設定された予約時刻と基準時刻とを一致判別手
段に入力し、両時刻が一致すると表示手段を作動して音
響を発生する音響発生装置において、スイッチ操作と連
動して前記表示手段にアクセス可能な音響処理手段を備
え、常時はスイッチ操作する毎に表示手段が予約表示用
として予め備えている言葉あるいはメロディをランダム
に表示させ、前記予約処理中は、表示手段からの音響発
生を強制的に停止可能としたものである。
FIG. 1 illustrates the configuration of the present invention, in which the reservation time set by the reservation setting means and the reference time are input to the coincidence determining means, and when the both times coincide, the display means is operated to make a sound. The sound generating device is provided with a sound processing means capable of accessing the display means in association with a switch operation, and at every time the switch is operated, a word or a melody which the display means has in advance for reserved display is randomly generated. During the reservation process, the sound generation from the display means can be forcibly stopped.

[作用] 上記構成において、操作者がスイッチ操作を行うと、ス
イッチをオンする毎に1組の言葉あるいはメロディが発
せられる。かかる音響は複数種類用意され、しかも出力
順序はできるだけ不規則となるように予め設定されてお
り、言葉およびメロディのあらゆる組み合わせを任意に
試みることができ、組合せの以外性を操作者に表示す
る。
[Operation] In the above configuration, when the operator operates the switch, one set of words or a melody is issued every time the switch is turned on. A plurality of such sounds are prepared, and the output order is preset so that the output order is as irregular as possible. Any combination of words and melodies can be arbitrarily tried, and the otherness of the combination is displayed to the operator.

一方、タイマー装置として働いているアラーム処理中に
あっては、上記とは逆に、スイッチ操作で音響が強制的
に停止される。
On the other hand, during the alarm processing which works as the timer device, the sound is forcibly stopped by the switch operation contrary to the above.

[実施例] 以下図面に示す実施例に基づき、本発明を具体的に説明
する。
[Examples] The present invention will be specifically described below based on Examples shown in the drawings.

本発明にかかるタイマー装置1は、第2図に示す如く、
タイマーユニット2と該ユニット2を内部に収納保持す
るキャラクター人形3とから構成される。
The timer device 1 according to the present invention, as shown in FIG.
It is composed of a timer unit 2 and a character doll 3 which houses and holds the unit 2.

キャラクター人形3は、人間の子供あるいは動物等のキ
ャラクターを立体的に表現したものであって、全体また
は少なくともその正面中央に突出する「へそ」等の突起
部5を合成樹脂材等の軟質部材で形成する。また、人形
3の下部で突起部5の裏側位置にタイマーユニット2が
嵌まる大きさの収納部6を形成するとともに、人形3の
下面側には、収納部6へ通じる開口7を設けている。更
に上記突起部5には、タイマーユニット2の前面8側か
ら突出する操作スイッチ13の先端9が緊密に嵌まる嵌
合穴5aが形成されており、タイマーユニット2を人形
3の収納部6内に挿入したのち、操作スイッチ先端9を
嵌合穴5aに嵌入することにより、タイマーユニット2
を人形3内に確実に保持するとともに、人形3の前面側
からのスイッチ操作を可能としている。
The character doll 3 is a three-dimensional representation of a character such as a human child or an animal, and the whole or at least the protrusion 5 such as a "navel" protruding at the center of the front is made of a soft material such as a synthetic resin material. Form. In addition, a storage portion 6 having a size to fit the timer unit 2 is formed at a position on the back side of the protrusion 5 at the bottom of the doll 3, and an opening 7 leading to the storage portion 6 is provided on the lower surface side of the doll 3. . Further, the protrusion 5 is formed with a fitting hole 5a into which the tip 9 of the operation switch 13 protruding from the front surface 8 side of the timer unit 2 is tightly fitted, and the timer unit 2 is stored in the storage portion 6 of the doll 3. And then insert the operation switch tip 9 into the fitting hole 5a.
Is securely held in the doll 3, and the switches can be operated from the front side of the doll 3.

タイマーユニット2は第3図に示す如く、上ケース10
と下ケース11を蓋合わせ状に結合して偏平な中空筒状
の本体ケース12を構成し、該本体ケース12の内部
に、後記する操作スイッチ13、スピーカー14および
回路基板15を含む電気回路を配設する。更に、下ケー
ス11の下面16側に電池収納部17とタイマー設定部
18とを凹設し、人形3内にタイマーユニット2を収納
した際、開口7を通じて電池20の入れ換え或は設定ス
イッチ34の操作を可能としている。
The timer unit 2 has an upper case 10 as shown in FIG.
The lower case 11 and the lower case 11 are joined together in a lid-like manner to form a flat hollow cylindrical main body case 12, and an electric circuit including an operation switch 13, a speaker 14 and a circuit board 15 described later is provided inside the main body case 12. Arrange. Further, a battery storage portion 17 and a timer setting portion 18 are provided on the lower surface 16 side of the lower case 11, and when the timer unit 2 is stored in the doll 3, the battery 20 is replaced through the opening 7 or the setting switch 34. It is possible to operate.

電池収納部17は、例えば単3型乾電池20が4本並列
して収納できる大きさであって、その開口21は電池蓋
22で開閉自在に覆われている。電池蓋22は、電池収
納部17の開口21と略一致する矩形薄板状であり、そ
の基端側面からは両側に向けて回動軸23・23を突設
する一方、電池収納部17と隣接するタイマー設定部1
8の両側にスライド溝24・24を凹設し、該スライド
溝24に回動軸23を摺動および回動自在に枢支する。
更に電池蓋22の先端縁には、係止爪25を中央にして
両側に指掛突部26・26を形成する一方、電池蓋22
の閉止時における下ケース11側の対応位置には、指掛
突部26により半分が覆われる略半球状の指掛溝27
と、係止爪25が係脱自在に嵌まる係止溝28とを形成
している。閉止状態の電池蓋22は、指掛溝27に指を
差し入れ、スライド溝24の長さだけタイマー設定部1
8の方向に摺動移行させて係止爪25と係止溝28間の
係合状態を解いたのち、指掛突部26を持ち上げること
により開放される。
The battery storage unit 17 has a size capable of storing, for example, four AA dry batteries 20 in parallel, and an opening 21 thereof is covered by a battery lid 22 so as to be openable and closable. The battery lid 22 has a rectangular thin plate shape that substantially coincides with the opening 21 of the battery housing portion 17, and has pivot shafts 23 and 23 projecting from the base end side surface toward both sides, while being adjacent to the battery housing portion 17. Timer setting section 1
Slide grooves 24, 24 are provided on both sides of 8, and a rotary shaft 23 is slidably and rotatably supported in the slide grooves 24.
Further, finger hooking projections 26, 26 are formed on both sides of the battery lid 22 with the locking claw 25 at the center, while the battery lid 22 is provided.
At the corresponding position on the side of the lower case 11 when the finger is closed, a finger hooking groove 27 having a substantially hemispherical shape, half of which is covered by the finger hooking protrusion 26.
And a locking groove 28 into which the locking claw 25 is detachably fitted. With the battery cover 22 in the closed state, a finger is inserted into the finger hook groove 27, and only the length of the slide groove 24 corresponds to the timer setting unit 1.
After slidingly moving in the direction of 8 to release the engagement state between the locking claw 25 and the locking groove 28, the finger hook projection 26 is lifted to release.

タイマー設定部18は、電池収納部17に隣接して凹溝
29を形成するとともに、該凹溝29内に、電池蓋22
のスライド方向と直交して4つの貫通穴30を形成して
いる。一方、回路基板15上の対向位置にプッシュスイ
ッチ31を取り付け、該スイッチ31の押圧部32にキ
ャップ状のスイッチボタン33の基端33aを嵌め、更
に該スイッチボタン33の先端33bを前記貫通孔30
から突出させて4組の設定スイッチ34を構成してお
り、スイッチボタン33を介して間接的に回路基板15
上のスイッチ31をオンする様にしている。更に、前記
電池蓋22の表面上で各貫通孔30の対応位置に、各設
定スイッチ34の操作内容35を記載するこにより、電
気回路の動作をプログラムで制御した場合における設定
機能の追加あるいは変更等に即応できる様にしている。
The timer setting unit 18 forms a groove 29 adjacent to the battery storage unit 17, and the battery cover 22 is provided in the groove 29.
Four through holes 30 are formed orthogonal to the sliding direction of. On the other hand, the push switch 31 is attached to the opposite position on the circuit board 15, the base end 33a of the cap-shaped switch button 33 is fitted into the pressing portion 32 of the switch 31, and the tip 33b of the switch button 33 is fitted into the through hole 30.
4 sets of setting switches 34 are formed so as to protrude from the circuit board 15 and indirectly through the switch button 33.
The upper switch 31 is turned on. Further, by describing the operation content 35 of each setting switch 34 at the position corresponding to each through hole 30 on the surface of the battery lid 22, addition or change of the setting function when the operation of the electric circuit is controlled by a program is added or changed. It is designed to be able to respond immediately to such issues.

操作スイッチ13は、略各筒状の押圧棒36の先端に鍔
部37を、基端側に揺動板38を各々備え、上下ケース
10・11間に形成された案内溝39に押圧棒36を挿
通する一方、揺動板38に対しヒンジ部41を介して略
L字形状に接続された取付部40を上ケース10に固定
することにより、ヒンジ部41を支点として揺動板38
を補助板42に向け揺動させる。補助板42は、揺動板
38と略平行に上ケース10上に固定配備されるもので
あって、対向する突起43・43間にばね体44を介装
することにより揺動板38を本体ケース12の外方に向
け常時付勢している。又、揺動板38から補助板42に
向けて押圧軸45を突接するとともに、補助板42の対
応位置に押圧軸45が通じる案内孔46を設ける一方、
回路基板15上には案内孔48の前面に接近させてプッ
シュスイッチ31を配設する。上記構成の操作スイッチ
13は、タイマーユニット2が人形3内に収納された際
にその先端の鍔部37が抜けどめとして働く。また、
「へそ」部分5をばね体44に抗して押圧すると押圧軸
45が前進するするが、該押圧軸45の移行方向は補助
板42の案内孔46で補正されて的確にプッシュスイッ
チ31の押圧部32をオン可能としている。
The operation switch 13 includes a flange portion 37 at the tip of each substantially cylindrical pressing rod 36 and a swing plate 38 at the base end side, and the pressing rod 36 is provided in a guide groove 39 formed between the upper and lower cases 10 and 11. On the other hand, the mounting portion 40, which is connected to the swing plate 38 in a substantially L-shape via the hinge portion 41, is fixed to the upper case 10 while the swing plate 38 is inserted through the swing plate 38.
Is swung toward the auxiliary plate 42. The auxiliary plate 42 is fixedly arranged on the upper case 10 substantially in parallel with the swing plate 38, and the swing plate 38 is provided as a main body by interposing a spring body 44 between the opposed projections 43. It is constantly urged toward the outside of the case 12. Further, the pressing shaft 45 is projected from the swing plate 38 toward the auxiliary plate 42, and a guide hole 46 through which the pressing shaft 45 communicates is provided at a corresponding position of the auxiliary plate 42.
A push switch 31 is provided on the circuit board 15 so as to approach the front surface of the guide hole 48. In the operation switch 13 having the above-mentioned configuration, when the timer unit 2 is housed in the doll 3, the flange portion 37 at the tip of the operation unit 13 works as a slip-out member. Also,
When the "navel" portion 5 is pressed against the spring body 44, the pressing shaft 45 advances, but the transition direction of the pressing shaft 45 is corrected by the guide hole 46 of the auxiliary plate 42 and the push switch 31 is pressed accurately. The part 32 can be turned on.

第4図は、タイマーユニット2に使用する電気回路の概
略を示すブロック図であって、制御の中心としてプログ
ラムにより作動する中央処理装置(CPU)を使用する
とともに、該中央処理装置50とRAM51、ROM5
2等の記憶装置53および入出力装置54間を各種バス
55を介して接続することにより制御部56を構成す
る。更に入出力装置54には、音声発生装置57、メロ
ディ発生装置58を含む表示部60、あるいは制御部5
6に対する操作者の直接的なアクセスを可能とするスイ
ッチ部61を接続することにより、各種の予約設定ある
いは予約時刻における表示部60による音響発生等の各
種タイマー動作を可能とする。
FIG. 4 is a block diagram showing an outline of an electric circuit used in the timer unit 2, in which a central processing unit (CPU) which operates by a program is used as the center of control, the central processing unit 50 and the RAM 51, ROM5
The control unit 56 is configured by connecting the storage device 53 and the input / output device 54 such as two via various buses 55. Further, the input / output device 54 includes a voice generator 57, a display unit 60 including a melody generator 58, or a controller 5.
By connecting the switch unit 61 that allows the operator to directly access the unit 6, various timer operations such as various reservation settings or sound generation by the display unit 60 at the reserved time are enabled.

第5図は、更に具体的な電気回路の一例を示す。中央処
理装置として作動する4ビットCPU50、作業エリア
として働くRAM51、実行プログラムを予め記憶した
ROM52および外部回路とのデータの受け渡しを行う
入出力装置54を1チップに集積したマイクロプロセッ
サ(例えばμPD7507SC)が制御部56として使用され、
電池収納部17への電池20のセットと同時に微分回路
63からリセット端子RESETにリセット信号が入力
されると、ROM52内のプログラムを予め定められた
手順に従って実行してデータ処理を行うとともに、入出
力装置54に設けられた各ポートP00〜P53を介してス
イッチ部61、音声発生装置57およびメロディ発生装
置58間でデータの受け渡しを行う。
FIG. 5 shows an example of a more specific electric circuit. A microprocessor (for example, μPD7507SC) in which a 4-bit CPU 50 that operates as a central processing unit, a RAM 51 that functions as a work area, a ROM 52 that stores an execution program in advance, and an input / output device 54 that exchanges data with an external circuit are integrated in one chip Used as the control unit 56,
When a reset signal is input to the reset terminal RESET from the differentiating circuit 63 at the same time when the battery 20 is set in the battery storage unit 17, the program in the ROM 52 is executed according to a predetermined procedure to perform data processing, and input / output is performed. Data is transferred between the switch unit 61, the voice generation device 57, and the melody generation device 58 via the ports P 00 to P 53 provided in the device 54.

スイッチ部61は上記の如く、タイマーユニット2を収
納する本体ケース12の前面8側から操作される1つの
操作スイッチ13、および本体ケース12の下面16側
から操作される4つの設定スイッチ34から構成され
る。各スイッチ13・34は全て常開のオンオフスイッ
チ31が使用され、1端を互いに並列接続して電源部6
4に繋ぐとともに、他端を抵抗65で接地して制御部5
6の入力ポートに個別に接続することにより、各スイッ
チ13・34のオン時に「H」信号を制御部56に印加
してスイッチの操作状況を知らせる。
As described above, the switch portion 61 is composed of one operation switch 13 operated from the front surface 8 side of the main body case 12 accommodating the timer unit 2 and four setting switches 34 operated from the lower surface 16 side of the main body case 12. To be done. A normally open on / off switch 31 is used for each of the switches 13 and 34.
4 and the other end is grounded by a resistor 65 to control unit 5
By individually connecting to the input ports of 6, the "H" signal is applied to the control unit 56 when each of the switches 13 and 34 is turned on to notify the operation status of the switches.

音声発生装置57は、例えばPARCOR方式の音声合
成用ICであるLC8100が使用される。START
端子に制御部56からスタート信号が入力されるのと連
動して、言葉選択端子C0〜C4に対して制御部56から
の印加される4桁の2値信号で特定される、「おはよ
う」「おやすみ」等の一連の言葉が出力端子DAから出
力される。
As the voice generation device 57, for example, LC8100 which is a PARCOR type voice synthesis IC is used. START
In conjunction with the input of the start signal from the control unit 56 to the terminals, the word selection terminals C 0 to C 4 are specified by the 4-digit binary signal applied from the control unit 56. A series of words such as "Good night" is output from the output terminal DA.

メロディ発生装置58には、SVM7973等の所謂メ
ロディICが使用される。制御部56からメロディ選択
端子MS1〜MS3に向け3桁の2値信号が印加される
と、該2値信号の値で特定されるメロディが、スタート
端子MTへのスタート信号の印加と連繋して出力され、
STP端子へのストップ信号の印加で強制停止可能とし
ている。
A so-called melody IC such as SVM7793 is used for the melody generator 58. When a 3-digit binary signal is applied from the control unit 56 to the melody selection terminals MS1 to MS3, the melody specified by the value of the binary signal is linked to the application of the start signal to the start terminal MT. Is output,
Forced stop is possible by applying a stop signal to the STP terminal.

上記の音声発生装置57およびメロディ発生装置58か
らの出力信号は、増幅装置59に入力されて所定の大き
さに増幅されたのち、上ケース10に取り付けられたス
ピーカー14で発音される。なお増幅装置59の電源端
子Vccは、制御部56からの制御でオンオフ可能なスイ
ッチング用トランジスタ66を備えた切換部62および
ジャック67へのプラグの抜き差しと連動してオンオフ
する切換スイッチ69を介して電源部64に繋がれてお
り、通常は音声発生装置57あるいはメロディ発生装置
58が作動状態となる期間のみ切換部62のトランジス
タ66がオンして増幅装置59における余分な電力の消
費を防止するが、ジャック67にプラグが差し込まれ
て、増幅回路59の入力側とテレビジョン等の音声出力
端子間が接続された場合には、制御部56の動作とは関
係なく強制的に増幅装置59をオンし、通常の増幅器と
しても作動する様にしている。なお、増幅装置59のオ
ンオフ動作により制御部56に対する印加電圧が変動す
るのを防止するため、電源部64には大容量の平滑用コ
ンデンサ70と分離用のダイオード71とを接続してい
る。
The output signals from the voice generating device 57 and the melody generating device 58 are input to the amplifying device 59, amplified to a predetermined size, and then sounded by the speaker 14 attached to the upper case 10. The power supply terminal V cc of the amplifier 59 is connected to a switching unit 62 equipped with a switching transistor 66 that can be turned on and off under the control of the control unit 56, and a changeover switch 69 that is turned on and off in conjunction with the plugging and unplugging of a jack 67. The power source 64 is connected to the power source 64, and normally the transistor 66 of the switching unit 62 is turned on only during the period when the voice generator 57 or the melody generator 58 is in an operating state to prevent extra power consumption in the amplifier 59. However, when the input side of the amplifier circuit 59 is connected to the audio output terminal of the television or the like by inserting the plug into the jack 67, the amplifier device 59 is forcibly operated regardless of the operation of the control unit 56. It turns on and operates as a normal amplifier. A large-capacity smoothing capacitor 70 and a separating diode 71 are connected to the power supply unit 64 in order to prevent the applied voltage to the control unit 56 from changing due to the ON / OFF operation of the amplifier 59.

第6図および第7図は、制御部56のROM52内に格
納されたプログラムによる電気回路全体の制御の流れを
示す。
FIG. 6 and FIG. 7 show the flow of control of the entire electric circuit by the program stored in the ROM 52 of the control unit 56.

第6(a)図は全体的な制御の流れの概略を示すものであ
って、プログラムをスタートさせる(ステップ80)
と、RAM51内のワークエリアあるいはスタックエリ
ア等の初期化が行われたあと、スイッチ部61からの入
力の受け付けが可能な待機状態になる(ステップ8
3)。かかるスタンバイ状態で予約時刻に達する(ステ
ップ84)と、予め設定した予約内容によるアラーム処
理Aを行い、またタイマーユニット2の下面16側に配
備したタイマー設定部18に設けた言葉選択、ウィーク
リー予約、ディリー予約、予約取り消しの各設定スイッ
チ34あるいはキャラクター人形3の前面に突出した操
作スイッチ13がオンされたことが判断されると、各々
のスイッチ操作(ステップ84〜89)に対応したデー
タ処理(B〜E)が行われたあと、ステップ83のスタ
ンバイ状態に戻る。
FIG. 6 (a) shows the outline of the overall control flow, and the program is started (step 80).
Then, after the work area or stack area in the RAM 51 is initialized, a standby state in which an input from the switch unit 61 can be accepted (step 8)
3). When the reserved time is reached in this standby state (step 84), alarm processing A according to preset reservation contents is performed, and word selection, weekly reservation provided in the timer setting section 18 provided on the lower surface 16 side of the timer unit 2, When it is determined that the setting switch 34 for daily reservation and the reservation cancellation or the operation switch 13 projecting to the front of the character doll 3 is turned on, the data processing (B) corresponding to each switch operation (steps 84 to 89) is performed. ~ E) is performed, the process returns to the standby state of step 83.

第6図(b)は、上記スイッチ操作の有無、各種カウンタ
の更新、予約時刻の検査等を行う割り込みサブルーチン
の流れを示す。かかる割り込み処理は、割り込み禁止状
態の場合を除き、本実施例においては0.25秒の単位時間
毎に強制的に当該割り込み処理が行われる。
FIG. 6 (b) shows the flow of an interrupt subroutine for performing the above switch operation, updating various counters, and checking the reserved time. In the present embodiment, the interrupt process is forcibly performed every unit time of 0.25 seconds except in the interrupt disabled state.

サブルーチンに入る(ステップ101)と、ステップ1
02で分カウンタの値を1だけ減算したあと、ステップ
103でカウンタの値が0になったか否かの判定がなさ
れる。本実施例では、第6図(a)における初期設定時
(ステップ81)およびステップ104で分カウンタに
予め239の値をセットするとともに、0.25秒おきに割
り込み処理を行ってセット値を1ずつ減算し(ステップ
102)ており、ステップ103の判断がNOであれば
そのままステップ111に進むが、YESであれば前回
のカウント時から1分経過したことが判断されるので、
次のステップ105で現在時刻を1分進めたあと、ステ
ップ106〜110で当該時刻におけるアラーム要求の
有無が判断される。すなわち、基準時刻と予約時刻とを
基準時刻が1分経過する毎に比較し(ステップ10
7)、両者が一致したことがステップ108で判断され
ると、予約内容を記憶した予約エリアの先頭アドレスが
アラームエリアにセットされる(ステップ109)。本
実施例では、アラームエリアへのアラーム要求のセット
は3組まで許され、同一時刻における異なったアラーム
要求、あるいは同一時刻ではないがアラーム処理中にタ
イムアップした要求を含めた3組の予約を制御部56内
に常時留保することが可能となり、従って、ステップ1
06の判断でアラームエリアが一杯になり、それ以上の
留保ができないかステップ110で全ての予約時刻を検
査し終えると、次のステップ111に移る。
When entering a subroutine (step 101), step 1
After subtracting 1 from the value of the minute counter in 02, it is determined in step 103 whether or not the value of the counter has become 0. In this embodiment, at the time of initial setting (step 81) and step 104 in FIG. 6 (a), the value of 239 is set in advance in the minute counter, and interrupt processing is performed every 0.25 seconds to subtract 1 from the set value. If the determination in step 103 is NO, the process proceeds directly to step 111. If the determination in step 103 is YES, it is determined that one minute has passed since the previous counting time.
After advancing the current time by 1 minute in the next step 105, the presence or absence of an alarm request at that time is determined in steps 106 to 110. That is, the reference time and the reserved time are compared every one minute of the reference time (step 10
7) If it is determined in step 108 that the two match, the start address of the reserved area storing the reservation content is set in the alarm area (step 109). In this embodiment, up to three sets of alarm requests can be set in the alarm area, and three sets of reservations including different alarm requests at the same time, or requests that are not the same time but have timed up during alarm processing are reserved. It is possible to keep the reservation in the control unit 56 at all times, and therefore, it is possible to carry out step 1
When the alarm area becomes full in the judgment of 06 and it is not possible to reserve more, if all the reserved times have been inspected in step 110, the process proceeds to the next step 111.

ステップ111ないしステップ115は、プログラム中
で設定使用される各種タイマーカウンタの処理ステップ
であって、ステップ111において、タイマーフラグが
セットされていることにより20秒又は3分タイマーが
作動中と判断されれば、当該タイマーカウンタの値を1
だけ減算する(ステップ112)。次にステップ113
の判断で、タイマーカウンタの値が0になりカウントア
ップしたことが判定されれば、当該タイマーフラグをク
リアして初期状態に戻し(ステップ114)、次に2秒
又は5秒タイマーのカウント値をマイナス1し(ステッ
プ115)て、タイマー処理を終える。
Steps 111 to 115 are processing steps of various timer counters set and used in the program. In step 111, it is determined that the 20 second or 3 minute timer is operating because the timer flag is set. For example, set the value of the timer counter to 1
Is subtracted (step 112). Then step 113
If it is determined that the value of the timer counter has reached 0 and has counted up, the timer flag is cleared to return to the initial state (step 114), and then the count value of the 2-second or 5-second timer is reset. The value is decreased by 1 (step 115), and the timer processing is ended.

ステップ116ないしステップ118は、スイッチ操作
状況の検査処理にかかるステップである。即ち、ステッ
プ116でスイッチ13・34の読み込み及びチェック
が行われ、ステップ117でスイッチがオフ状態からオ
ン状態に変化したことが判断された時のみスイッチフラ
グをセット(ステップ118)して、サブルーチンから
抜ける(ステップ119)。従って、当該サブルーチン
による割り込み処理レートである0.25秒おきにスイッチ
のオンオフ状態をサンプリングする形となり、同一のス
イッチを押し続けたりスイッチのチャタリングがあって
も1回のスイッチ操作と制御部は判断し、誤動作を防止
する。
Steps 116 to 118 are steps relating to the switch operation status inspection processing. That is, the switches 13 and 34 are read and checked in step 116, and the switch flag is set (step 118) only when it is determined in step 117 that the switch has changed from the off state to the on state, and the subroutine is called. Exit (step 119). Therefore, the on / off state of the switch is sampled at intervals of 0.25 seconds which is the interrupt processing rate by the subroutine, and even if the same switch is continuously pressed or chattering of the switch occurs, the switch operation is judged once and the control unit judges. Prevent malfunction.

第7図(a)は、第6図(b)における割り込みサブルーチン
時において予約時刻と現在時刻とが一致することによ
り、アラームエリアにアラーム要求データがセットされ
た場合におけるアラーム処理Aの流れを示す。処理をス
タートする(ステップ140)と、ステップ141で2
秒または5秒タイマーが既に作動中と判断された場合は
該タイマーがタイムアップするまで待つことにより、前
段の処理との間に一定間隔を設けたあと、スイッチエリ
アをクリアし(ステップ142)てスイッチ部61から
の入力を受け付け可能とし、更に言葉選択およびアラー
ム終了フラグをクリアする(ステップ143)ととも
に、増幅装置59の電源をオンし(ステップ144)て
アラーム処理の準備を終え、以下のステップ145〜1
67で示すアラーム表示サイクルに移る。
FIG. 7 (a) shows a flow of the alarm processing A when the alarm request data is set in the alarm area due to the reservation time and the current time being coincident with each other in the interrupt subroutine in FIG. 6 (b). . When the processing is started (step 140), 2 is executed in step 141.
If it is determined that the second or 5 second timer is already operating, wait for the timer to time out, and after a certain interval is provided between the timer and the preceding process, clear the switch area (step 142). The input from the switch unit 61 can be accepted, the word selection and the alarm end flag are cleared (step 143), the power of the amplification device 59 is turned on (step 144), and the preparation for the alarm processing is completed. 145-1
The process moves to the alarm display cycle indicated by 67.

ステップ145において、まず表示すべきアラーム内容
に対応してアラームの繰り返し回数をセットする。本実
施例においては、ステップ146で軽快な短時間のチャ
イム音を、ステップ151において報知内容に対応した
一連の言葉から成る音声を、更にステップ159で周知
の曲をアレンジした所定時間持続するメロディを各々順
次発音させるとともに、各発音間のステップ147・1
52・163で2秒タイマーを作動させることにより2
秒の時間間隔を設けたものを1回の表示サイクルとす
る。そして、選択された言葉が「おはよう」の目覚しコ
ールおよび「おやすみなさい」のおやすみコールについ
ては、上記サイクルを3回繰り返し、それ以外の言葉が
選択された場合には、1回だけ表示サイクルを実行した
あと、ステップ165の判断でかかるアラーム表示サイ
クルから抜けてステップ168に移る様にしている。ま
た予約された言葉のコード番号が1または2の「おはよ
う」「おやすみなさい」であるとステップ155で判断
されれば、ステップ158で言葉に対応したメロディを
選択するが、その他の言葉の場合には、ステップ156
および157でメロディカウンタの値を順次シフトさせ
ていった、曲目を1回のアラーム処理毎に変更する様に
している。
In step 145, first, the number of times the alarm is repeated is set corresponding to the alarm content to be displayed. In this embodiment, a light and short chime sound is produced in step 146, a voice consisting of a series of words corresponding to the notification content is provided in step 151, and a known melody arranged for a predetermined time is arranged in step 159. Sequentially pronounce each and step 147.1 between each pronunciation
2 by activating the 2 second timer at 52.163
One display cycle has a time interval of seconds. Then, for the wake-up call with the selected word "Good morning" and the good-night call with "Good night", the above cycle was repeated 3 times, and when the other words were selected, the display cycle was executed only once. After that, the process goes out of the alarm display cycle in step 165 and goes to step 168. If it is determined in step 155 that the reserved code has the code number 1 or 2 of "Good morning" or "Good night", the melody corresponding to the word is selected in step 158, but in the case of other words. , Step 156
And 157, the value of the melody counter is sequentially shifted, and the tune is changed every alarm processing.

更に、各発音間の2秒の無音時(ステップ149・15
4・167)およびメロディ発音時(ステップ161)
に限り、キャラクター人形3の前面に突出した操作スイ
ッチ13の押圧による信号入力を受け付け、アラーム表
示サイクルの途中であっても当該サイクルから抜けてス
テップ168に移り、たとえメロディを発音途中であっ
ても、ステップ168ないしステップ172でメロディ
発生装置58に印加されていたSTART信号を止める
と同時にSTOP信号を送り、表示途中のメロディを強
制的に停止可能とする。
Furthermore, when there is no sound for 2 seconds between each pronunciation (steps 149 and 15
4.167) and when the melody is pronounced (step 161)
As long as the signal input by pressing the operation switch 13 projecting to the front of the character doll 3 is accepted, even if it is in the middle of the alarm display cycle, the process exits from the cycle and moves to step 168, even if the melody is being sounded. In step 168 to step 172, the START signal applied to the melody generator 58 is stopped, and at the same time, the STOP signal is sent to forcefully stop the melody being displayed.

上記の如くして表示サイクルを終了すると、まず5秒タ
イマーをスタートし(ステップ173)、スイッチエリ
アをクリアし(ステップ174)てスイッチ入力を受け
付け可能とし、更にステップ175で上記アラーム表示
サイクルで実行した予約内容の先頭番地を退避させると
ともに、ステップ176でアラーム要求データ数を−1
したあとステップ177でアラームエリアに要求データ
が残っているか否かの判断がなされる。かかる判断がY
ESであれば、現時点で処理を必要とするアラームは全
て処理し終えたことが判るので、増幅装置59を停止し
(ステップ178)、アラーム終了フラグをセットし
(ステップ179)、更に3分タイマーのスタート(ス
テップ180)およびスイッチエリアのクリア(ステッ
プ181)により、予約の取り消しを受け付け可能とし
てアラーム処理Bを終了する(ステップ182)。
When the display cycle is completed as described above, first, the timer for 5 seconds is started (step 173), the switch area is cleared (step 174), and the switch input can be accepted. Further, in step 175, the alarm display cycle is executed. The head address of the reserved contents saved is saved, and the number of alarm request data is set to -1 in step 176.
After that, in step 177, it is judged whether or not the requested data remains in the alarm area. This judgment is Y
If it is ES, it is understood that all the alarms that need to be processed at this moment have been processed, so the amplification device 59 is stopped (step 178), the alarm end flag is set (step 179), and a further 3 minute timer is set. By starting (step 180) and clearing the switch area (step 181), the cancellation of the reservation can be accepted and the alarm processing B is ended (step 182).

ステップ177の判定が逆にNOであれば、同一時刻に
対して複数の予約がなされているか、アラーム処理中に
タイムアップした予約が他に存在することが判るので、
ステップ183でアラーム要求データを1段シフトして
次のデータを取り出す。本実施例では、取り出されたデ
ータをすぐに処理することなく、ステップ173でスタ
ートした5秒タイマーがステップ189でタイムアップ
するまで取消スイッチの入力を受け付け(ステップ18
4)、取消スイッチがオンされると、ステップ175で
退避された実行済みアラームの予約をクリアし(ステッ
プ185)で予約を取り消したあと、処理成功イメージ
のメロディを出力し(ステップ186)、更にスイッチ
エリアをクリア(ステップ187)するとともに、2秒
タイマーをスタートし(ステップ188)てステップ1
86のメロディ出力から2秒の時間間隔を強制的に設け
る。ステップ189の判断で、2秒または5秒タイマー
がタイムアップしたことが判定されると、ステップ19
0でスイッチエリアをクリアしたあと、再度ステップ1
45に戻って次のアラームに対するアラーム表示サイク
ルを実行するのである。
If the determination in step 177 is conversely NO, it can be known that a plurality of reservations have been made for the same time, or there are other reservations that have timed up during the alarm processing.
At step 183, the alarm request data is shifted by one stage and the next data is taken out. In this embodiment, the input of the cancel switch is accepted until the 5-second timer started in step 173 expires in step 189 without immediately processing the retrieved data (step 18).
4) When the cancel switch is turned on, the reservation of the executed alarm saved in step 175 is cleared (step 185), the reservation is canceled, and then the melody of the processing success image is output (step 186). The switch area is cleared (step 187) and the 2-second timer is started (step 188) to proceed to step 1
A time interval of 2 seconds is compulsorily set after the 86 melody output. If it is determined in step 189 that the timer for 2 seconds or 5 seconds has expired, step 19
After clearing the switch area with 0, step 1 again
Returning to 45, the alarm display cycle for the next alarm is executed.

第7図(b)は、第6図(a)における言葉選択処理Bの流れ
を示し、処理がスタートする(ステップ191)と、ス
テップ192でトランジスタスイッチ66に制御部56
からオン信号を送って増幅装置59を作動させたあと、
ステップ193で20秒タイマーがカウント中に言葉選
択スイッチがオンされたか否かの判断がなされる。かか
る判定がYESであれば、既に20秒以内に言葉選択ス
イッチがオンされて当該言葉選択処理Cが行われてお
り、次の言葉の表示を要求していると判断されるので、
言葉選択コードの番号を1進め(ステップ194)たあ
と、20秒タイマーとフラグをセットし(ステップ19
5)で予約、取り消し等の他の処理命令を受け付け可能
な状態にするとともに、音声発生装置57に対して言葉
出力要求を発して(ステップ196)、言葉選択コード
番号で特定される言葉を出力させる。そのあと、増幅装
置59の動作を停止し(ステップ197)、更にスイッ
チエリアをクリア(ステップ198)して次のスイッチ
押圧動作を受け付け可能とする(ステップ199)。
FIG. 7 (b) shows the flow of the word selection process B in FIG. 6 (a). When the process starts (step 191), the transistor switch 66 is controlled by the control unit 56 in step 192.
After sending the ON signal from the device to activate the amplifier 59,
In step 193, it is determined whether the word selection switch is turned on while the 20-second timer is counting. If this determination is YES, it is determined that the word selection switch has already been turned on within 20 seconds and the word selection processing C has been performed, and the display of the next word is requested.
After advancing the number of the word selection code by 1 (step 194), the 20-second timer and flag are set (step 19).
In step 5), other processing commands such as reservation and cancellation are accepted, and a word output request is issued to the voice generator 57 (step 196) to output the word specified by the word selection code number. Let After that, the operation of the amplifying device 59 is stopped (step 197) and the switch area is further cleared (step 198) so that the next switch pressing operation can be accepted (step 199).

第7図(c)は、第6図(a)における予約処理Cの流れを示
す。予約処理がスタートする(ステップ200)と、ま
ず最初にステップ201で20秒タイマーがカウント中
か否かの判断がなされる。かかる判定がNOであれば、
直ちにスイッチエリアをクリア(ステップ208)して
予約処理を行わずに終了する。しかしステップ201の
判定がYESであれば、言葉選択スイッチを押して前記
した言葉選択処理Bを行うことにより自発的に次に処理
すべき言葉を選んだものと判断して、以下の予約処理に
移る。
FIG. 7 (c) shows the flow of the reservation process C in FIG. 6 (a). When the reservation process starts (step 200), first, at step 201, it is judged if the 20-second timer is counting. If the determination is NO,
Immediately, the switch area is cleared (step 208) and the reservation process is not performed and the process ends. However, if the determination in step 201 is YES, it is determined that the word to be processed next is voluntarily selected by pressing the word selection switch and performing the word selection processing B described above, and the processing proceeds to the following reservation processing. .

まずステップ202でカウント中の20秒タイマーおよ
びフラグをリセットしたあと、増幅装置59を作動し
(ステップ203)、更に予約エリアのチェックを行う
(ステップ204)。ステップ205の判断において予
約エリアに空がないと判断されると、既に規定以上の予
約がなされておりそれ以上の予約が出来ないので、不成
功イメージのメロディをメロディ発生装置58から出力
させ(ステップ206)たあと、増幅装置59を停止し
(ステップ207)て当該処理を終了する。
First, after resetting the counting timer for 20 seconds and the flag in step 202, the amplifying device 59 is operated (step 203) and the reserved area is checked (step 204). If it is determined in step 205 that the reserved area is not empty, more reservations have already been made and further reservations cannot be made. Therefore, the melody of the unsuccessful image is output from the melody generator 58 (step After 206), the amplification device 59 is stopped (step 207) and the process ends.

一方、ステップ205の判定がYESであれば、ステッ
プ210とステップ212との間で割り込みを禁止して
おいて現在時刻と週番号とを取り込んだ(ステップ21
1)あと、かかる時刻と週番号を予約エリアにセットす
る(ステップ213)。なお現在時刻と週番号は、日本
標準時に対応するものであってもよいが、本実施例にあ
っては、電池20をセットした時を基準とし、それから
各日を0〜1439までの分単位で表して現在時刻とす
るとともに、前記基準時から1週間の各日を1から7ま
での週番号に対応させることにより、曜日を特定表示し
ている。
On the other hand, if the determination in step 205 is YES, interrupts are prohibited between steps 210 and 212 and the current time and week number are fetched (step 21).
1) Then, the time and week number are set in the reservation area (step 213). The current time and the week number may correspond to the Japanese standard time, but in the present embodiment, the time when the battery 20 is set is used as a reference, and each day thereafter is in a minute unit from 0 to 1439. In addition to the current time, the day of the week is specified and displayed by associating each day of the week from the reference time with the week number from 1 to 7.

次にステップ214において、予約処理に先立って選ば
れた言葉が、「はじまるよ」の様な『開始』を表す特別
な言葉か否かの判断がなされる。かかる判断がNOであ
ればそのまま次のステップ216に進むが、YESであ
れば、ステップ215で予約エリアにセットされた予約
時刻を強制的に5分間遡らせてセットし直すことによ
り、タイマーが作動するアラーム処理時に、テレビジョ
ンの番組等が実際に開始するより5分前に知らせること
が可能となり、番組録画等の準備が十分できる様にして
いる。次にステップ216で、予約内容がモーニングコ
ールの様な毎日行わせる予約内容か否か、すなわち第6
図(a)のステップ86でウィークリースイッチがオンさ
れたか、ステップ87でデイリースイッチがオンされた
かをスイッチエリアの内容から判断し、判定がYESで
あれば、ステップ213でセットされた週番号を0にし
て毎日予約であることを表示する(ステップ217)。
更にステップ218で、第7図(b)に示す言葉選択処理
時に表示された言葉に対応するコード番号を予約エリア
にセットして1組分の予約を終了したあと、メロディ発
生装置58に成功イメージのメロディの出力要求を出し
(ステップ219)て、予約が正常に行われたことを操
作者に知らせる。その後、増幅装置59への通電を停止
し(ステップ220)、スイッチエリアをクリアして
(ステップ221)一連の予約処理を終了する(ステッ
プ222)のである。
Next, at step 214, it is judged whether or not the word selected prior to the reservation processing is a special word representing "start" such as "beginning". If the determination is NO, the process directly proceeds to the next step 216, but if the determination is YES, the timer is operated by forcibly moving back the reserved time set in the reserved area for 5 minutes and resetting. At the time of alarm processing, it is possible to notify the television program 5 minutes before the actual start of the program, so that the program recording can be sufficiently prepared. Next, at step 216, whether the reservation content is a reservation content to be made every day such as wake-up call, that is, the sixth
It is determined from the contents of the switch area whether the weekly switch is turned on in step 86 of the figure (a) or the daily switch is turned on in step 87. If the determination is YES, the week number set in step 213 is set to 0. Then, it is displayed that the reservation is made every day (step 217).
Further, in step 218, the code number corresponding to the word displayed during the word selection process shown in FIG. 7 (b) is set in the reserved area and one group of reservations is completed. The melody output request is issued (step 219) to inform the operator that the reservation has been made normally. After that, the power supply to the amplification device 59 is stopped (step 220), the switch area is cleared (step 221), and the series of reservation processing is ended (step 222).

第7図(d)は、第6図(a)における取消処理Dの流れを示
すものであって、当該処理を開始する(ステップ23
0)と、まず増幅装置59に駆動電圧を印加して作動さ
せ(ステップ231)、更にステップ232で3分タイ
マーがカウント中か否かの判断がなされる。3分タイマ
ーは、前記したアラーム処理Aの終了時にセットされる
ものであって、かかる判定がYESであると、アラーム
処理Aの終了から3分以内であることが判る。そこでか
かる場合には、ステップ233に移って3分タイマーと
当該フラグをリセットした(ステップ233)あと、第
7図(a)のステップ175で退避させておいたアラーム
処理時の実行アドレスを取り入れ(ステップ234)、
更に実行アドレスに対応する予約エリアをクリアし(ス
テップ235)て、アラーム処理を終えた予約内容を消
去する。
FIG. 7 (d) shows a flow of the cancellation process D in FIG. 6 (a), and the process is started (step 23).
0), the drive voltage is first applied to the amplifying device 59 to operate it (step 231), and it is further determined in step 232 whether the 3 minute timer is counting. The 3-minute timer is set at the end of the alarm processing A described above, and if the determination is YES, it is understood that it is within 3 minutes from the end of the alarm processing A. Therefore, in such a case, after moving to step 233 and resetting the three-minute timer and the flag (step 233), the execution address for alarm processing saved in step 175 of FIG. Step 234),
Further, the reserved area corresponding to the execution address is cleared (step 235), and the reserved content after the alarm processing is erased.

一方ステップ232の判定がNOであり、取消スイッチ
がアラーム処理とは無関係に押された場合には、更にス
テップ236で20秒タイマーがカウント中か否かの判
断がなされる。20秒タイマーは、第9図(b)のステッ
プ195で言葉選択処理時に所定の言葉を選んだ場合に
のみセットされるものであり、ステップ236の判定が
NOであれば誤動作であるとして、増幅装置59を停止
して終了する(ステップ239)が、判定がYESであ
れば積極的に取り消し処理を希望しているものと判断で
きるので、以下のステップ240に移って取り消し動作
を行う。
On the other hand, if the determination in step 232 is NO and the cancel switch is pressed regardless of the alarm processing, it is further determined in step 236 whether the 20-second timer is counting. The 20-second timer is set only when a predetermined word is selected in the word selection processing in step 195 of FIG. 9 (b), and if the determination in step 236 is NO, it is determined to be a malfunction and amplification is performed. Although the device 59 is stopped and terminated (step 239), if the determination is YES, it can be determined that the canceling process is positively desired, so the process proceeds to the following step 240 to perform the canceling operation.

まずステップ240で、20秒タイマーとフラグをリセ
ットして初期状態に戻したあと、処理が成功したか否か
を判別表示するためのOKフラグをリセットする(ステ
ップ241)。次にステップ242で、予約エリア中の
先頭アドレスをセットし、取消処理に先立つ言葉選択処
理時に選んだ言葉と一致するか否かの判断がステップ2
43でなされる。かかる判断がNOであれば、ステップ
246に移って次の予約エリアのアドレスをセットし、
ステップ247で予約エリアの全体をチェックし終える
までのステップ243の判定を続けるが、ステップ24
3の判定がYESであれば、該当の予約エリアをクリア
し(ステップ244)、OKフラグをセットし(ステッ
プ245)て取消処理を順次行うことにより、同一の言
葉で予約された内容を全て消去する。
First, in step 240, after resetting the 20-second timer and flag to return to the initial state, the OK flag for discriminating and displaying whether or not the processing is successful is reset (step 241). Next, in step 242, the leading address in the reserved area is set, and it is determined in step 2 whether or not it matches the word selected in the word selection processing prior to the cancellation processing.
Done at 43. If the determination is NO, the process proceeds to step 246 to set the address of the next reserved area,
The determination in step 243 is continued until the entire reserved area is checked in step 247.
If the determination result in step 3 is YES, the corresponding reserved area is cleared (step 244), the OK flag is set (step 245), and the cancellation process is sequentially performed to erase all the reserved contents with the same word. To do.

次にステップ248で、OKフラグが1か否かの判断が
なされ、判定がYESであればステップ244で少なく
とも1つの予約取り消しが実行されたことが判るので、
ステップ250で成功イメージのメロディをメロディ発
生装置58から出力させ、逆にNOであれば、該当の予
約が見つからず予約取り消しは全然行われなかったと判
断されるので、不成功のイメージのメロディの出力をメ
ロディ発生装置に要求する(ステップ249)。しかる
後、次の表示動作との間に時間間隔を設けるために2秒
タイマーを始動し(ステップ251)、増幅装置59を
停止し(ステップ252)、スイッチエリアをクリアし
(ステップ253)て、取消処理Dを終了する(ステッ
プ254)。
Next, in step 248, it is determined whether or not the OK flag is 1, and if the determination is YES, it is determined in step 244 that at least one reservation cancellation has been executed.
In step 250, the melody of the successful image is output from the melody generator 58. On the contrary, if NO, it is determined that the corresponding reservation was not found and the reservation was not canceled at all. Therefore, the melody of the unsuccessful image is output. Is requested to the melody generator (step 249). Then, a 2-second timer is started to set a time interval between the next display operation (step 251), the amplification device 59 is stopped (step 252), and the switch area is cleared (step 253). The cancellation process D is ended (step 254).

第7図(e)は、第6図(a)におけるお遊び処理Eの流れを
示すものであって、アラーム処理時の特定期間にタイマ
ーユニット2の操作スイッチ13が押された場合を除い
て当該処理を開始し、メロディあるいは言葉を操作スイ
ッチ13の押圧動作と連繋してランダムに出力可能とす
る。すなわち、処理がスタートする(ステップ260)
と、増幅装置59を始動し(ステップ261)たあと現
在時刻を取り入れる(ステップ262)。ここでデータ
テーブルには、予め出力させるべきメロディおよび言葉
の別あるいは表示内容を特定するコード番号等のデータ
をランダムにセットしておくとともに、ステップ262
で得た現在時刻の数値を利用してステップ263でデー
タテーブル中のアドレスを算出し、該アドレスからデー
タテーブル内のデータを取り出す(ステップ264)。
ステップ265の判断で、取り出されたデータが言葉で
あれば音声発生装置57に出力要求を出し(ステップ2
66)、メロディであればメロディ発生装置58に出力
要求を出した(ステップ267)あと、増幅装置59へ
の通電を停止し(ステップ268)、スイッチエリアを
クリアして(ステップ269)処理を終了する(ステッ
プ270)。上記音響の発生は、操作スイッチ13を押
す毎に連続して行われ、しかも表示内容は、予約してお
いた複数種類の言葉あるいはメロディ群の中からランダ
ムに選択されるため、意外性に富んだ言葉またはメロデ
ィの組み合わせによる音響表示が行われるのである。
FIG. 7 (e) shows the flow of the play processing E in FIG. 6 (a), except when the operation switch 13 of the timer unit 2 is pressed during a specific period during alarm processing. The process is started, and a melody or a word can be randomly output in association with the pressing operation of the operation switch 13. That is, the process starts (step 260)
Then, the amplification device 59 is started (step 261) and then the current time is taken in (step 262). Here, in the data table, data such as chord numbers for specifying the melody and words to be output or the display contents are randomly set in advance, and step 262 is performed.
The address in the data table is calculated in step 263 using the numerical value of the current time obtained in step 263, and the data in the data table is extracted from the address (step 264).
If it is determined in step 265 that the extracted data is a word, an output request is issued to the voice generating device 57 (step 2
66) If it is a melody, an output request is issued to the melody generator 58 (step 267), then the energization of the amplifier 59 is stopped (step 268), the switch area is cleared (step 269), and the process is ended. (Step 270). The sound is continuously generated every time the operation switch 13 is pressed, and the display content is randomly selected from a plurality of reserved words or melody groups, which is surprising. The acoustic display is made by combining the words or the melody.

[発明の効果] 本発明は上記の如く、通常のタイマー装置としての実用
的な機能に加えて、スイッチ操作と連動してランダムに
言葉あるいはメロディを出力する遊戯的な機能を備えた
ので、タイマー装置として作動していない期間は、任意
の言葉の組み合わせによる意外性を楽しむことができ、
実用の使用期間が短時間に限定されるタイマー装置を有
効利用できる利点を有する。
[Effects of the Invention] As described above, the present invention has a practical function as a normal timer device and, in addition to the playable function of randomly outputting a word or melody in conjunction with the switch operation, the timer is provided. While not operating as a device, you can enjoy the unexpectedness of any combination of words,
There is an advantage that a timer device whose practical use period is limited to a short time can be effectively used.

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

第1図は本発明の概略を示すブロック図である。 第2図および第3図は本発明を実施したタイマー装置の
一例を示し、第2図は全体的な組み立て状態を示す斜視
図、第3図はタイマーユニットの組み立て状態を示す分
解斜視図である。 第4図および第5図は電気回路の一例を示し、第4図は
全体の概略を示すブロック図、第5図は第4図の具体的
な電気回路図である。 第6図および第7図は電気回路の制御の手順を説明する
流れ図であって、第6図(a)および(b)は全体的な流れ
を、第7図(a)ないし(e)は個別の機能の流れを示す。 2……タイマーユニット、 3……人形、 13……操作スイッチ、 34……設定スイッチ、 56……制御部、 57……音声発生装置、 58……メロディ発生装置、 59……増幅装置。
FIG. 1 is a block diagram showing the outline of the present invention. 2 and 3 show an example of a timer device embodying the present invention, FIG. 2 is a perspective view showing the whole assembled state, and FIG. 3 is an exploded perspective view showing the assembled state of the timer unit. . 4 and 5 show an example of an electric circuit, FIG. 4 is a block diagram showing an outline of the whole, and FIG. 5 is a concrete electric circuit diagram of FIG. 6 and 7 are flow charts for explaining the procedure of controlling the electric circuit. FIGS. 6 (a) and 6 (b) show the overall flow, and FIGS. 7 (a) to 7 (e) show The flow of individual functions is shown. 2 ... Timer unit, 3 ... Doll, 13 ... Operation switch, 34 ... Setting switch, 56 ... Control unit, 57 ... Voice generating device, 58 ... Melody generating device, 59 ... Amplifying device.

フロントページの続き (56)参考文献 特開 昭52−119366(JP,A) 特開 昭58−223089(JP,A) 特開 昭52−101141(JP,A) 特公 昭57−59950(JP,B2)Continuation of the front page (56) References JP-A-52-119366 (JP, A) JP-A-58-223089 (JP, A) JP-A-52-101141 (JP, A) JP-B-57-59950 (JP , B2)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】信号入力と連繋して、入力信号の違いに対
応した複数種類の一連の言葉およびメロディを発生する
表示手段と、 該表示手段で表示させる内容と時刻を記憶可能な予約設
定手段と、 該予約設定手段に記憶された予約時刻と基準時刻とが一
致すると、表示手段に表示すべき内容を特定する信号を
出力する一致判別手段と、 常時は、上記した表示手段が予約表示用として予め備え
る言葉あるいはメロディの内の1つをスイッチの操作と
連繋してランダムに出力させ、 上記した一致判別手段からの出力による予約内容の表示
処理中も、前記スイッチの操作によるランダム表示動作
を優先し、該スイッチ操作により前記予約内容の表示処
理を強制的に停止可能とする音響処理手段とを備えた音
響発生装置。
1. Display means for generating a plurality of kinds of words and a melody corresponding to a difference in input signal in association with a signal input, and reservation setting means capable of storing contents and time to be displayed on the display means. When the reservation time stored in the reservation setting means coincides with the reference time, a coincidence determining means for outputting a signal for specifying the contents to be displayed on the display means, and the above-mentioned display means for the reservation display at all times. One of the words or melody prepared in advance is randomly output in association with the operation of the switch, and the random display operation by the operation of the switch is performed even during the display processing of the reservation content by the output from the above-mentioned coincidence determination means. A sound generation device having a sound processing unit that prioritizes and forcibly stops the display processing of the reservation content by operating the switch.
JP61012861A 1986-01-23 1986-01-23 Sound generator Expired - Lifetime JPH0648301B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012861A JPH0648301B2 (en) 1986-01-23 1986-01-23 Sound generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012861A JPH0648301B2 (en) 1986-01-23 1986-01-23 Sound generator

Publications (2)

Publication Number Publication Date
JPS62170874A JPS62170874A (en) 1987-07-27
JPH0648301B2 true JPH0648301B2 (en) 1994-06-22

Family

ID=11817193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012861A Expired - Lifetime JPH0648301B2 (en) 1986-01-23 1986-01-23 Sound generator

Country Status (1)

Country Link
JP (1) JPH0648301B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012063290A (en) * 2010-09-17 2012-03-29 Rhythm Watch Co Ltd Alarm clock

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52101141A (en) * 1976-02-18 1977-08-24 Ouchi Nobutoshi Music game device
JPS6027957B2 (en) * 1976-03-31 1985-07-02 セイコーインスツルメンツ株式会社 alarm electronic clock
JPS5759950A (en) * 1980-09-30 1982-04-10 Asahi Glass Co Ltd Siliceous filler and preparation of polyurethane containing the same
JPS58223089A (en) * 1982-06-22 1983-12-24 Citizen Watch Co Ltd Electronic time piece with alarm

Also Published As

Publication number Publication date
JPS62170874A (en) 1987-07-27

Similar Documents

Publication Publication Date Title
US4615681A (en) Programmable, user interactive cigarette dispenser and method therefor
US4451911A (en) Interactive communicating toy figure device
EP1022039B1 (en) Variable performance toys
JPS62281986A (en) Sound game apparatus
US20090163111A1 (en) Interactive toy with positional sensor
US4285151A (en) Personal hygiene apparatus
JPH0648301B2 (en) Sound generator
JPH08103543A (en) Game machine
JPH067177B2 (en) Timer-device
JPH06101321B2 (en) Small electrical equipment
JPH0640135B2 (en) Timer-device
JPS62170878A (en) Compact electrical equipment
JPS62170877A (en) Timer device
JPS62170875A (en) Timer device
JPS62171022A (en) Data input method
JP3549112B2 (en) Amusement apparatus, voice recorder produced by the same, and method of producing voice recorder
JPH08150242A (en) Game machine
US5301956A (en) Activity game apparatus
JP2673935B2 (en) Vending machine for tape recording karaoke singing voice
JPH0714956Y2 (en) Game clock with earphones
US20070144925A1 (en) Base for oral hygiene instrument
JP5054285B2 (en) Program timer
JPS645274Y2 (en)
JP3048771U (en) Educational board
JP2002051761A (en) Cigarette dispenser