JPH0713799B2 - Rhythm recognition device and rhythm response toy using the same - Google Patents

Rhythm recognition device and rhythm response toy using the same

Info

Publication number
JPH0713799B2
JPH0713799B2 JP60294981A JP29498185A JPH0713799B2 JP H0713799 B2 JPH0713799 B2 JP H0713799B2 JP 60294981 A JP60294981 A JP 60294981A JP 29498185 A JP29498185 A JP 29498185A JP H0713799 B2 JPH0713799 B2 JP H0713799B2
Authority
JP
Japan
Prior art keywords
rhythm
signal
interval data
cycle
recognition device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP60294981A
Other languages
Japanese (ja)
Other versions
JPS62152493A (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.)
Nintendo Co Ltd
Original Assignee
Nintendo Co 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 Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP60294981A priority Critical patent/JPH0713799B2/en
Priority to US06/945,386 priority patent/US4889027A/en
Priority to EP86310055A priority patent/EP0228895B1/en
Priority to DE8686310055T priority patent/DE3684688D1/en
Priority to CA000526183A priority patent/CA1283735C/en
Publication of JPS62152493A publication Critical patent/JPS62152493A/en
Publication of JPH0713799B2 publication Critical patent/JPH0713799B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Toys (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、リズム認識装置およびそれを用いたリズム
応答玩具に関し、特に音楽のリズムを検出しそのリズム
に同期した出力を得るリズム認識装置およびリズム認識
装置の出力に応じた所定の動作を行なうリズム応答玩具
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rhythm recognition device and a rhythm response toy using the same, and more particularly to a rhythm recognition device for detecting a rhythm of music and obtaining an output synchronized with the rhythm. The present invention relates to a rhythm response toy that performs a predetermined operation according to the output of a rhythm recognition device.

[従来の技術] 従来、音楽のレベルに同期した出力をエレクトリックハ
ンマに加えて機械的振動を発生する装置としては、たと
えば実開昭60−115296号公報(以下、従来技術1)が知
られている。従来技術は、特にリズムの激しいロックミ
ュージック等を聴く際に、聴く者の座るソファ等にその
リズムに同期した機械的振動を生起させて音楽を聴覚の
みならず触覚的に感じさせることにより、音楽に対する
実感を深めるためのものである。
[Prior Art] Conventionally, as a device for generating a mechanical vibration by adding an output synchronized with a music level to an electric hammer, for example, Japanese Utility Model Laid-Open No. 60-115296 (hereinafter referred to as prior art 1) is known. There is. In the conventional technology, when listening to rock music with a particularly strong rhythm, a mechanical vibration synchronized with the rhythm is generated on the sofa where the listener sits to make the music feel not only auditory but tactile. It is for deepening the feeling of.

また、従来、音に反応する玩具(以下、従来技術2)が
あった。従来技術2は、センサで音を検知し、大きな音
だけをしきい値弁別して増幅し、駆動機構に与えるとい
う単純な構成であるため、単に大きな音にだけ反応して
動作を行なう。
Further, conventionally, there has been a toy that reacts to sound (hereinafter referred to as Conventional Technique 2). Prior art 2 has a simple configuration in which a sensor detects a sound, only a loud sound is discriminated by a threshold value, amplified, and given to a drive mechanism. Therefore, the operation is performed only in response to a loud sound.

[発明が解決しようとする問題点] 従来技術1は、マイクで検出した外部の音楽信号を強度
包絡線検波することにより、音の強弱によって表現され
るリズムを導出しているため、外部から振幅の高い雑音
が別来すると、その雑音を音楽の一部として誤検出し、
正確なリズムを検出できない。また、従来技術1のリズ
ム検出信号を元に機械的振動を発生させると、音楽信号
の検出から振動の発生までの間に時間的ずれが生ずる。
したがって、実際に音楽ホールなどで肌に感ずる振動と
上記リズム検出装置による振動とでは時間的なずれがあ
るために違和感が生ずるのである。
[Problems to be Solved by the Invention] In the related art 1, since the external music signal detected by the microphone is subjected to the intensity envelope detection to derive the rhythm represented by the strength of the sound, the amplitude is externally applied. When high noise comes from, the noise is falsely detected as a part of music,
Unable to detect accurate rhythm. Further, when mechanical vibration is generated based on the rhythm detection signal of the conventional technique 1, a time lag occurs between the detection of the music signal and the generation of vibration.
Therefore, there is a sense of discomfort because there is a time lag between the vibration actually felt by the skin in a music hall or the like and the vibration caused by the rhythm detection device.

従来技術2においても、ピーク検出に基づくため、従来
技術1と同様の問題が生じる。
Since the prior art 2 is based on the peak detection, the same problem as the prior art 1 occurs.

それゆえに、この発明の主たる目的は、リズム楽器以外
の音や外部雑音等のピーク値の高い不規則な音に影響を
受けることなく、音楽のリズムを正しく検出し得る新規
なリズム認識装置を提供することである。この発明の他
の目的は、音楽のリズムにほぼ完全に同期して駆動する
リズム認識装置を用いたリズム応答玩具を提供すること
である。
Therefore, the main object of the present invention is to provide a novel rhythm recognition device capable of correctly detecting the rhythm of music without being affected by sounds other than rhythm instruments and irregular sounds with high peak values such as external noise. It is to be. Another object of the present invention is to provide a rhythm response toy using a rhythm recognition device that is driven almost in synchronization with the rhythm of music.

[問題点を解決するための手段] 本願第1発明のリズム認識装置は、第1図のような基本
概念を示すブロック図で構成される。すなわち、第1発
明のリズム認識装置は、音楽発生源からの音のレベルに
応じた電気的信号を発生する電気的信号発生手段1と、
フィルタ手段およびピーク検出手段を含みかつピーク信
号をリズム信号として抽出するリズム信号抽出手段2
と、ピーク信号が生じる間隔を計数して間隔データを求
める間隔データ演算手段3aと、間隔データ演算手段によ
って求められた間隔データを順次記憶する記憶手段3b
と、記憶手段に記憶されている複数の間隔データの規則
性に基づいてリズム同期信号を導出する周期判別手段4
とを備える。この周期判別手段は、リズムの周期信号の
発生タイミングよりも所定時間早めたタイミングでリズ
ム同期信号を導出する。
[Means for Solving Problems] The rhythm recognition device of the first invention of the present application is configured by a block diagram showing the basic concept as shown in FIG. That is, the rhythm recognition device according to the first aspect of the invention comprises an electric signal generating means 1 for generating an electric signal according to the level of the sound from the music source,
Rhythm signal extraction means 2 including a filter means and a peak detection means and extracting a peak signal as a rhythm signal
An interval data calculation means 3a for calculating interval data by counting intervals at which peak signals occur, and a storage means 3b for sequentially storing the interval data calculated by the interval data operation means.
And a cycle discriminating means 4 for deriving a rhythm synchronization signal based on the regularity of a plurality of interval data stored in the storage means.
With. The cycle determining means derives the rhythm synchronization signal at a timing which is earlier than the generation timing of the rhythmic cycle signal by a predetermined time.

一方、本願第2の発明のリズム認識装置を用いたリズム
応答玩具は、第1の発明に加えて、基台と可動部とを含
む機構部と、可動部を動かす駆動手段と、駆動手段を付
勢する出力制御手段とを備える。
On the other hand, a rhythm response toy using the rhythm recognition device of the second invention of the present application has, in addition to the first invention, a mechanism part including a base and a movable part, a drive means for moving the movable part, and a drive means. And an output control means for energizing.

[作用] 第1の発明では、電気信号発生手段1が、音楽に応じた
電気信号を発生して、リズム信号抽出手段2に与える。
リズム信号抽出手段2は、フィルタ手段が電気的信号の
うちリズム楽器の音に相当する周波数帯域の信号を通過
可能にし、ピーク検出手段がフィルタ手段によって通過
された信号のピークを検出することにより、検出したピ
ーク信号をリズム信号として抽出する。間隔データ演算
手段は、ピーク信号が生じる間隔を計数して間隔データ
を求める。記憶手段は、間隔データ演算手段によって求
められた間隔データを順次記憶する。周期判別手段4
は、記憶手段3に記憶されている複数の間隔データに基
づいて発生頻度の高い間隔データを求め、その間隔デー
タの規則性に基づいてリズムの周期を判断し、判断した
リズムの周期信号の発生タイミングよりも所定時間早め
たタイミングでリズム同期信号を導出する。
[Operation] In the first invention, the electric signal generating means 1 generates an electric signal according to music and gives it to the rhythm signal extracting means 2.
In the rhythm signal extraction means 2, the filter means allows the signal in the frequency band corresponding to the sound of the rhythm musical instrument to pass through among the electrical signals, and the peak detection means detects the peak of the signal passed by the filter means. The detected peak signal is extracted as a rhythm signal. The interval data calculation means counts intervals at which peak signals occur and obtains interval data. The storage unit sequentially stores the interval data obtained by the interval data calculation unit. Period discrimination means 4
Is for obtaining interval data having a high occurrence frequency based on a plurality of interval data stored in the storage means 3, determining the rhythm cycle based on the regularity of the interval data, and generating the determined rhythm cycle signal. The rhythm synchronization signal is derived at a timing earlier than the timing by a predetermined time.

第2の発明では、出力制御手段5はリズム認識装置の周
期判別手段4からの同期信号に応答して電気的駆動手段
6を付勢する。電気的駆動手段6は出力制御手段5によ
る電気的付勢に応じて可動部7bに変位を与える。応じ
て、動的玩具の形状をした機構部7は音楽のリズムに応
答してたとえば身体を左右または上下に動かすなどの所
定の動作を行なう。
In the second aspect of the invention, the output control means 5 energizes the electric drive means 6 in response to the synchronization signal from the cycle discrimination means 4 of the rhythm recognition device. The electric driving means 6 gives a displacement to the movable portion 7b in accordance with the electric urging by the output control means 5. In response, the mechanical unit 7 in the shape of a dynamic toy performs a predetermined action such as moving the body left and right or up and down in response to the rhythm of music.

[実施例] 第2A図および第2B図はこの発明の一実施例を示す外観図
である。図において、この実施例は、基台8と、人形9
と、ソレノイド10とを含む。人形9は人間の形をしてお
り、頭部11と腕部12と胴部13と足部14とから構成され
る。頭部11は腕部12の上端に一体的に形成される。腕部
12は、右腕および左腕のそれぞれの前腕部(肘から手の
先まで)を形成する前腕部材15および16と、上腕部(肘
から肩まで)を形成する上腕部材17および18とを含む。
前腕部材15および16のそれぞれの一端は自由端となって
いる。また、前腕部材15および16のそれぞれの他端は上
腕部材17および18のそれぞれの一端に回動自在に支持さ
れている。上腕部材17および18のそれぞれの他端は胴部
13によって回動自在に支持されている。上腕部材17,18
のそれぞれの他端からは突起部19,20が斜め上方向,斜
め下方向に延びている。これら突起部19,20のそれぞれ
の先端にはリンク板21,22の一端が回動自在に連結され
る。リンク板21,22のそれぞれの他端は、胴部13のほぼ
中央部にモータ等によって回動自在に支持された連結板
23の一端,他端に回動自在に連結される。このような構
成において、左右の前腕は左右の上腕に対して回動し得
る。また、左右の上腕は胴部13に対して回動し得る。ま
た、右腕と左腕はリンク板21,22および連結板23によっ
て連結されているので、互いに所定の関係で連動する。
なお、この腕部12は、電気的に変位されるものではな
く、使用者の操作によって任意の状態に位置決めされる
ものである。
[Embodiment] FIGS. 2A and 2B are external views showing an embodiment of the present invention. In the figure, this embodiment shows a base 8 and a doll 9.
And a solenoid 10. The doll 9 has a human shape and is composed of a head 11, an arm 12, a body 13 and a foot 14. The head 11 is integrally formed on the upper end of the arm 12. Arm
12 includes forearm members 15 and 16 forming the respective forearm portions (from the elbow to the tip of the hand) of the right arm and the left arm, and upper arm members 17 and 18 forming the upper arm portion (from the elbow to the shoulder).
One end of each of the forearm members 15 and 16 is a free end. The other ends of the forearm members 15 and 16 are rotatably supported by the one ends of the upper arm members 17 and 18, respectively. The other end of each of the upper arm members 17 and 18 is a trunk
It is rotatably supported by 13. Upper arm member 17,18
From each of the other ends, protrusions 19 and 20 extend obliquely upward and obliquely downward. One ends of link plates 21 and 22 are rotatably connected to the respective tips of the protrusions 19 and 20. The other end of each of the link plates 21 and 22 is a connecting plate rotatably supported by a motor or the like at substantially the center of the body 13.
It is rotatably connected to one end and the other end of 23. In such a configuration, the left and right forearms can rotate with respect to the left and right upper arms. Further, the left and right upper arms can rotate with respect to the body portion 13. Further, since the right arm and the left arm are connected by the link plates 21, 22 and the connecting plate 23, they interlock with each other in a predetermined relationship.
The arm portion 12 is not electrically displaced, but is positioned in an arbitrary state by the operation of the user.

一方、足部14は右足および左足のそれぞれの上腿部(膝
から足の付根まで)を形成する上腿部材24および25と下
腿部(膝から足の先まで)を形成する下腿部材26および
27とを含む。上腿部材24,25のそれぞれの上端は胴部13
の下端に回動自在に支持される。上腿部材24,25のそれ
ぞれの下端は下腿部材26,27の上端と回動自在に連結さ
れる。下腿部材26,27のそれぞれの下端は基台8によっ
て回動自在に軸支される。このような構成において、左
右の上腿部は胴部13に対し回動し得る。また、左右の下
腿部は上腿部および基台8に対して回動し得る。
On the other hand, the foot portion 14 is the upper leg members 24 and 25 forming the upper thighs (from the knee to the root of the foot) of the right foot and the left foot, and the lower leg member forming the lower thighs (from the knee to the tip of the foot). 26 and
Including 27 and The upper end of each of the upper leg members 24 and 25 is the trunk 13
It is rotatably supported at the lower end of. The lower ends of the upper leg members 24 and 25 are rotatably connected to the upper ends of the lower leg members 26 and 27, respectively. The lower ends of the lower leg members 26, 27 are rotatably supported by the base 8. In such a structure, the left and right upper legs can rotate with respect to the body 13. Further, the left and right lower legs can rotate with respect to the upper leg and the base 8.

基台8の内部には電気的駆動手段の一例のソレノイド10
が収納される。このソレノイド10のプランジャには、シ
ャフト28の一端が連結される。このシャフト28は上方に
向って延び、基台8の上面を貫通してその他端は胴部13
の背面でピン29によって胴部13と回動自在に連結され
る。また、シャフト28には、ソレノイド10と基台8の上
面との間にコイルばね30が間挿される。このコイルばね
30の上端は、シャフト28の外周に固定されている。
Inside the base 8, a solenoid 10 as an example of an electric drive means is provided.
Is stored. One end of a shaft 28 is connected to the plunger of the solenoid 10. The shaft 28 extends upward, penetrates the upper surface of the base 8 and has the other end at the body portion 13.
It is rotatably connected to the body 13 by a pin 29 on the back surface of the. A coil spring 30 is inserted between the solenoid 10 and the upper surface of the base 8 on the shaft 28. This coil spring
The upper end of 30 is fixed to the outer circumference of the shaft 28.

上記のような構成において、第2A図および第2B図の実施
例の基本的な動作ないし姿態を以下に説明する。第2A図
はソレノイド10が消勢された状態を示している。この状
態では、シャフト28はコイルばね30の作用によって上方
へ押し出されている。そのため、シャフト28は胴部13を
上方へ押し上げるので、人形9は直立した状態となって
いる。一方、第2B図はソレノイド10が付勢された状態を
示している。この状態では、ソレノイド10はシャフト28
をコイルばね30の弾性力に抗して引きつける。そのた
め、胴部13は下方への力を受ける。応じて、上腿部材2
4,25および下腿部材26,27が回動してちょうど股を拡げ
るように変位する。したがって、胴部13が下がり、人形
9の背の高さが第2A図の直立状態に比べて低くなる。
The basic operation or form of the embodiment of FIGS. 2A and 2B in the above-mentioned configuration will be described below. FIG. 2A shows the solenoid 10 in a deenergized state. In this state, the shaft 28 is pushed upward by the action of the coil spring 30. Therefore, the shaft 28 pushes the body portion 13 upward, so that the doll 9 is in an upright state. On the other hand, FIG. 2B shows a state where the solenoid 10 is energized. In this state, the solenoid 10
Attracts against the elastic force of the coil spring 30. Therefore, the body 13 receives a downward force. Depending on the upper leg member 2
4, 25 and the lower leg members 26, 27 rotate and are displaced so that the crotch just expands. Therefore, the torso portion 13 is lowered, and the height of the doll 9 is lower than that in the upright state of FIG. 2A.

以上のごとく、人形9はソレノイド10の消勢,付勢によ
って上下動するが、後述するようにこの上下動は音楽の
リズムに合わせて行なわれる。なお、腕部12は、前述の
ごとく使用者によってその位置決めが行なわれるが、人
形9の上下動による振動によってその与えられた自由度
の範囲のランダムな動きをする。
As described above, the doll 9 moves up and down by the deenergization and urging of the solenoid 10, but this up and down movement is performed according to the rhythm of music, as will be described later. Although the arm 12 is positioned by the user as described above, the arm 12 makes a random movement within the given degree of freedom by the vibration caused by the vertical movement of the doll 9.

第3A図および第3B図はこの発明の他の実施例を示す外観
図である。図において、この実施例は、基台8と、人形
31と、左右1対のソレノイド32,33とを含む。この実施
例では、人形31はゴリラの形状を模して形成される。ゴ
リラ31は上半身34と下半身35とをピン36によって回動自
在に連結して構成される。このピン36には、上半身34の
骨組となる骨組部材37が回動自在に支持される。また、
ピン36には、下半身35の骨組となる骨組部材38が回動自
在に支持される。この骨組部材38は逆T字状に形成され
ており、その下辺の一端および他端には、それぞれ可動
片39および40の一端が回動自在に連結される。これら可
動片39,40はゴリラ31の右足,左足の内部に配置される
が、下半身35には固着されてなく、その変位によってゴ
リラ31の右足および左足を変位し得る。また、可動片3
9,40の形状は、その中央部で少し折れ曲ったく字状の細
長い板として形成される。可動片39,40の各中央部、す
なわち折れ曲った部分は、基台8によって軸支されて回
動自在とされる。また、可動片39,40の他端は、基台8
の上面を貫通してその内部に延びている。これら可動片
39,40において、基台8に入り込んだ部分のほぼ中央部
には、ソレノイド32,33のプランジャ41,42が回動自在に
連結される。また、可動片39,40のそれぞれの他端に
は、引張りばね43,44の一端が固定される。これら引張
りばね43,44のそれぞれの他端は、基台8の上面内壁か
ら下方に向って延びた突起45に固定される。
3A and 3B are external views showing another embodiment of the present invention. In the figure, this embodiment shows a base 8 and a doll.
31 and a pair of left and right solenoids 32, 33. In this embodiment, the doll 31 is formed in the shape of a gorilla. The gorilla 31 is composed of an upper half body 34 and a lower half body 35 rotatably connected by a pin 36. A skeleton member 37, which is a skeleton of the upper body 34, is rotatably supported on the pin 36. Also,
A frame member 38, which is a frame of the lower body 35, is rotatably supported on the pin 36. The frame member 38 is formed in an inverted T shape, and one end and the other end of the lower side thereof are rotatably connected to one ends of movable pieces 39 and 40, respectively. These movable pieces 39, 40 are arranged inside the right foot and the left foot of the gorilla 31, but are not fixed to the lower body 35, and their displacement allows the right foot and the left foot of the gorilla 31 to be displaced. Also, the movable piece 3
The shape of 9,40 is formed as a slender plate with a bent shape at the center. Each central portion of the movable pieces 39, 40, that is, the bent portion is pivotally supported by the base 8 and is rotatable. The other ends of the movable pieces 39, 40 are connected to the base 8
Penetrates through the upper surface of and extends inside. These movable pieces
In 39 and 40, the plungers 41 and 42 of the solenoids 32 and 33 are rotatably connected to the central portion of the portion that has entered the base 8. Further, one ends of tension springs 43 and 44 are fixed to the other ends of the movable pieces 39 and 40, respectively. The other end of each of the tension springs 43, 44 is fixed to a protrusion 45 extending downward from the inner wall of the upper surface of the base 8.

以上のような構成において、第3A図,第3B図の実施例の
基本的な動作ないし姿態について以下に説明する。ま
ず、電気的駆動手段の一例をソレノイド32,33はいずれ
も消勢されるか、いずれか一方が付勢されるように駆動
される。すなわち、ソレノイド32,33が同時に両方との
付勢されることはあり得ず、いずれか一方が付勢されて
いる場合は必ず他方は消勢されている。第3A図はソレノ
イド32,33がいずれも消勢されている状態を示してい
る。この状態では、プランジャ41,42はいずれもソレノ
イド32,33によって何らの力も加えられていない。その
ため、可動片39,40はそれぞれの他端が引張りばね43,44
によって突起45の方向へ同じ力で引張られている。した
がって、可動片39,40はそれぞれ、基台8による軸支点
を中心に反時計方向、時計方向に回動しようとする。こ
の回動力は、骨組部材38の下辺両端に均等に与えられる
ので、骨組部材38は左右いずれの方向へも傾かず、ゴリ
ラ31は少し足を拡げた状態で真直ぐ立っている。
The basic operation or appearance of the embodiment shown in FIGS. 3A and 3B in the above-mentioned configuration will be described below. First, as an example of the electric driving means, the solenoids 32 and 33 are deenergized, or one of them is energized. That is, the solenoids 32 and 33 cannot be energized with both at the same time, and when either one is energized, the other is always deenergized. FIG. 3A shows a state in which the solenoids 32 and 33 are both deenergized. In this state, neither of the plungers 41, 42 is applied with any force by the solenoids 32, 33. Therefore, the movable pieces 39, 40 have tension springs 43, 44 at their other ends.
By the same force in the direction of the protrusion 45. Therefore, the movable pieces 39 and 40 tend to rotate counterclockwise and clockwise around the pivot point of the base 8. Since this turning force is evenly applied to both ends of the lower side of the frame member 38, the frame member 38 does not tilt in either the left or right direction, and the gorilla 31 stands upright with its legs slightly extended.

一方、第3B照は左側のソレノイド32のみが付勢された状
態を示している。この状態では、プランジャ41がソレノ
イド32の付勢によって引込まれる。そのため、可動片39
は引張りばね43の力にさからって時計方向へ強く回動し
ようとする。この可動片39の回動力は骨組部材38の下辺
をリンクとして可動片40に伝達され、可動片39と可動片
40との力の均衡が破れる。このため、可動片39および40
はいずれも時計方向へ回動する。したがって、骨組部材
38は左側へ傾き、それに伴なってゴリラ31の下半身35も
左側へ傾く。なお、上半身34はピン36によって下半身35
に回動自在に支持され、かつソレノイド32,33からは何
の力も受けないので、下半身35の動きに伴なって揺動す
るが最終的には第3A図と同じ状態を保つ。したがって、
肩は水平の状態を保ち、腰だけを右方向へ振った形とな
る。
On the other hand, the third light B indicates that only the left solenoid 32 is energized. In this state, the plunger 41 is pulled in by the bias of the solenoid 32. Therefore, the movable piece 39
Tries to strongly rotate clockwise by the force of the tension spring 43. The turning force of the movable piece 39 is transmitted to the movable piece 40 by using the lower side of the frame member 38 as a link, and the movable piece 39 and the movable piece 39 are connected.
The balance of power with 40 is broken. Therefore, the movable pieces 39 and 40
Both rotate clockwise. Therefore, the frame member
38 leans to the left, and the lower body 35 of the gorilla 31 leans to the left accordingly. In addition, the upper body 34 is a lower body 35 by the pin 36.
Since it is rotatably supported by, and receives no force from the solenoids 32, 33, it swings with the movement of the lower body 35, but finally maintains the same state as in FIG. 3A. Therefore,
The shoulders remain horizontal, and only the waist is swung to the right.

逆に、左側のソレノイド33のみが付勢された場合は、第
3B図とは全く逆に肩を水平に保ったままで腰だけを左へ
振った形となる。
Conversely, if only the left solenoid 33 is energized, the
Contrary to Fig. 3B, the hips are swung to the left with the shoulders kept horizontal.

上記3つの姿態は後述するように、音楽のリズムに合わ
せて切換えられる。
The three modes can be switched according to the rhythm of music, as described later.

なお、上記2つの実施例では、人形を人間もしくは動物
の形に形成したが、その他ロボットの形状や空想上の生
きものやマンガ等のキャラクタの形状にしてもよい。そ
の他、人形に限らず、乗物の形状や植物の形状等を採用
してもよい。要するに、動的玩具たり得る種々の形状を
採用することができる。
Although the doll is formed in the shape of a human or an animal in the above two embodiments, it may be formed in the shape of a robot, a fantasy creature, or a character such as a manga. Other than the doll, the shape of a vehicle or the shape of a plant may be adopted. In short, various shapes that can be dynamic toys can be adopted.

第4図はこの発明の一実施例を示すブロック図である。
図において、電気的信号発生手段の一例のマイクロホン
46はプリアンプ47に接続される。このプリアンプ47の出
力はリズム信号抽出回路48に与えられる。リズム信号抽
出回路48は、ローパスフィルタ49,全波整流器50,ローパ
スフィルタ51およびピーク検出器52を含む。ピーク検出
器52の出力はマイクロプロセッサ53に含まれるI/Oポー
ト54を介してCPU55に与えられる。このCPU55は、周知の
演算機能に加えてカウンタCT0を含む。このカウンタCT0
は、時計回路56から出力される一定周期(たとえば0.01
秒−10ms)の基準クロックCLKを受けてこの基準クロッ
クを計数する。このカウンタCT0のカウント値はリズム
信号抽出回路48によって抽出されたリズム信号の間隔デ
ータとして用いられる。また、CPU55には、I/Oポート54
を介してRAM57およびROM58が接続される。マイクロプロ
セッサ53は、これらI/Oポート54,CPU55,時計回路56,RAM
57,ROM58によって構成される。I/Oポート54にはキーボ
ード59および出力制御回路60が接続される。キーボード
59はスタート/ストップスイッチやパターン選択スイッ
チ等の複数のスイッチを含み、基台8の上に設けられ
る。使用者はこのキーボード59を操作することによって
装置のスタートおよび停止を指令するとともに、人形の
動作パターンを予め定められた複数の種類から選択して
設定し得る。出力制御回路60は、ドライバ回路を含み、
前述のソレノイド10,32,33の動作を制御する。なお、機
構部として第2A図および第2B図の実施例を採用する場合
はソレノイド10のみが用いられ、第3A図および第3B図の
実施例を採用する場合はソレノイド32,33が用いられ
る。
FIG. 4 is a block diagram showing an embodiment of the present invention.
In the figure, a microphone as an example of an electric signal generating means.
46 is connected to the preamplifier 47. The output of the preamplifier 47 is given to the rhythm signal extraction circuit 48. The rhythm signal extraction circuit 48 includes a low pass filter 49, a full wave rectifier 50, a low pass filter 51 and a peak detector 52. The output of the peak detector 52 is given to the CPU 55 via the I / O port 54 included in the microprocessor 53. This CPU 55 includes a counter CT 0 in addition to a well-known arithmetic function. This counter CT 0
Is a fixed period output from the clock circuit 56 (for example, 0.01
It receives a reference clock CLK (second −10 ms) and counts this reference clock. The count value of the counter CT 0 is used as interval data of the rhythm signal extracted by the rhythm signal extraction circuit 48. In addition, the CPU55 has an I / O port 54
RAM57 and ROM58 are connected via. The microprocessor 53 has these I / O ports 54, CPU 55, clock circuit 56, RAM
It consists of 57 and ROM58. A keyboard 59 and an output control circuit 60 are connected to the I / O port 54. keyboard
The numeral 59 includes a plurality of switches such as a start / stop switch and a pattern selection switch, and is provided on the base 8. The user can operate the keyboard 59 to instruct start and stop of the apparatus, and can select and set the movement pattern of the doll from a plurality of predetermined types. The output control circuit 60 includes a driver circuit,
It controls the operation of the solenoids 10, 32, 33 described above. Note that only the solenoid 10 is used when the embodiment of FIGS. 2A and 2B is used as the mechanism portion, and the solenoids 32 and 33 are used when the embodiment of FIGS. 3A and 3B is used.

第5図は第4図に示すRAM57の記憶領域を図解的に示す
図である。図において、RAM57はたとえば、選択パター
ン記憶領域61,間隔データ記憶領域62,集計データ記憶領
域63およびワーキングエリア64を含む。選択パターン記
憶領域61は、第4図に示すキーボード59によって予め設
定される人形9もしくは31の動作パターンをその設定順
にたとえば6種類記憶するものである。なお、この動作
パターンの詳細なデータはROM58の出力パターン記憶領
域66(第6図参照)に記憶されている。選択パターン記
憶領域61の各エリアには、設定された動作パターンに対
応する出力パターン記憶領域66のエリアの先頭番地が記
憶される。
FIG. 5 is a diagram schematically showing the storage area of the RAM 57 shown in FIG. In the figure, the RAM 57 includes, for example, a selection pattern storage area 61, an interval data storage area 62, a total data storage area 63 and a working area 64. The selection pattern storage area 61 stores, for example, six types of operation patterns of the doll 9 or 31 preset by the keyboard 59 shown in FIG. The detailed data of this operation pattern is stored in the output pattern storage area 66 (see FIG. 6) of the ROM 58. In each area of the selection pattern storage area 61, the head address of the area of the output pattern storage area 66 corresponding to the set operation pattern is stored.

間隔データ記憶領域62はマイクロホン46に入ってくる音
楽のリズムのピーク(リズム信号抽出回路48によって抽
出される)の間隔データ(カウンタCT0の計数値)を記
憶するものである。なお、この間隔データ記憶領域62は
一定数(たとえば30)のエリアを含み、たとえば30個分
の間隔データを記憶する。また、間隔データ記憶領域62
に間隔データを書込む際は、その書込アドレスを循環す
ることにより、間隔データ記憶領域62が満杯になった場
合は最も古く書込まれた間隔データのエリアに最も新し
い間隔データが書込まれる。
The interval data storage area 62 stores interval data (count value of the counter CT 0 ) of the rhythm peak (extracted by the rhythm signal extraction circuit 48) of the music entering the microphone 46. The interval data storage area 62 includes a fixed number (for example, 30) of areas and stores, for example, 30 pieces of interval data. In addition, the interval data storage area 62
When the interval data is written to, the write address is circulated so that when the interval data storage area 62 is full, the newest interval data is written in the area of the oldest written interval data. .

集計データ記憶領域63はその1バイトをカウンタとして
利用し、たとえば11個のカウンタCT1〜CT11を含む。こ
の集計データ記憶領域63は間隔データ記憶領域62に記憶
された間隔データのうち或る決められた時間範囲内にあ
るものを所定の時間間隔別の分類集計するためのもので
ある。この実施例では、0.2秒〜1.3秒の時間範囲内にあ
る間隔データを0.1秒(100ms)きざみで集計する。たと
えば、カウンタCT1は0.2秒以上,0.3秒未満の間隔データ
の発生頻度を計数する。また、カウンタCT2は0.3秒以
上,0.4秒未満の間隔データの発生頻度を計数する。以下
同様である。なお、この実施例で、集計の対象となる間
隔データを0.2〜1.3秒の範囲に選んだのは、一般的に音
楽では、最も遅いテンポ(たとえばラルゴ)なら1拍の
周期が約1秒であり、最も速いテンポ(たとえばアレグ
ロプレスト)なら1拍の周期が約0.33秒なので、これを
十分にカバーできるからである。
The totalized data storage area 63 uses 1 byte thereof as a counter and includes, for example, 11 counters CT 1 to CT 11 . The total data storage area 63 is used for classifying and totalizing the interval data stored in the interval data storage area 62 within a predetermined time range by a predetermined time interval. In this embodiment, interval data within a time range of 0.2 seconds to 1.3 seconds is aggregated in 0.1 second (100 ms) steps. For example, the counter CT 1 counts the frequency of occurrence of interval data of 0.2 seconds or more and less than 0.3 seconds. The counter CT 2 counts the frequency of occurrence of interval data of 0.3 seconds or more and less than 0.4 seconds. The same applies hereinafter. In this embodiment, the interval data to be aggregated is selected in the range of 0.2 to 1.3 seconds. Generally, in music, if the slowest tempo (eg Largo), one beat cycle is about 1 second. This is because the fastest tempo (for example, Allegro Presto) has a period of about 0.33 seconds per beat, which is enough to cover this.

ワーキングエリア64は各種ポインタおよびレジスタを含
む。ポインタPN1は間隔データ記憶領域62の書込アドレ
スを指定するために用いられる。ポインタPN2は間隔デ
ータ記憶領域62の読出アドレスを指定するために用いら
れる。ポインタPN3はカウンタCT1〜CT11のうちその計数
値を読出すべきもの(すなわち集計データ記憶領域63の
読出アドレス)を指定するために用いられる。ポインタ
PN4は選択パターン記憶領域61の読出アドレスを指定す
るために用いられる。ポインタPN5は後述するROM58の出
力パターン記憶領域66の読出アドレスを指定するために
用いられる。レジスタWは検出した(演算処理により求
めた)音楽の周期データを記憶する。レジスタXおよび
Yは集計データ記憶領域63の各カウンタに記憶された0.
1秒ごとの間隔データの発生頻度の中で最も大きな発生
頻度の値を検出するために用いられる。すなわち、レジ
スタXには検出処理の途中でそれまで調べた中で最も大
きな発生頻度の値を記憶する。レジスタYは集計データ
記憶領域63から順次読出される各カウンタの計数値すな
わち発生頻度を記憶する。そして、これらレジスタXに
記憶された発生頻度の値とレジスタYに記憶された発生
頻度の値とが比較され、レジスタYの方が大きい場合は
レジスタYの記憶内容がレジスタXに転送される。レジ
スタZは最も大きな値の発生頻度を記憶しているカウン
タに対応する間隔データの値を記憶するものである。レ
ジスタAはポインタPN4のアドレス指定によって選択パ
ターン記憶領域61から読出されたデータ(ROM58の出力
パターン記憶領域66に記憶されたいずれかのパターンデ
ータの先頭アドレス)を記憶するためのものである。レ
ジスタBはROM58における出力パターン記憶領域66の読
出アドレスを記憶するためのものである。
The working area 64 includes various pointers and registers. The pointer PN 1 is used to specify the write address of the interval data storage area 62. The pointer PN 2 is used to specify the read address of the interval data storage area 62. The pointer PN 3 is used to specify one of the counters CT 1 to CT 11 whose count value should be read (that is, the read address of the totalized data storage area 63). Pointer
PN 4 is used to specify the read address of the selection pattern storage area 61. The pointer PN 5 is used to specify the read address of the output pattern storage area 66 of the ROM 58, which will be described later. The register W stores the detected music cycle data (obtained by the arithmetic processing). The registers X and Y are stored in each counter of the total data storage area 63.
It is used to detect the value of the highest frequency of occurrence of interval data per second. That is, the register X stores the value of the highest occurrence frequency that has been checked up to that point during the detection process. The register Y stores the count value of each counter, that is, the occurrence frequency, which is sequentially read from the total data storage area 63. Then, the value of the occurrence frequency stored in the register X is compared with the value of the occurrence frequency stored in the register Y, and if the register Y is larger, the storage content of the register Y is transferred to the register X. The register Z stores the value of the interval data corresponding to the counter that stores the occurrence frequency of the largest value. The register A is for storing the data read from the selection pattern storage area 61 by addressing the pointer PN 4 (the start address of any pattern data stored in the output pattern storage area 66 of the ROM 58). The register B is for storing the read address of the output pattern storage area 66 in the ROM 58.

第6図は第4図に示すROM58の記憶領域を図解的に示し
た図である。図において、ROM58はたとえば、プログラ
ム記憶領域65および出力パターン記憶領域66を含む。プ
ログラム記憶領域65には、CPU55(第4図参照)の動作
プログラム(たとえば第7A図〜第7C図に示すような動作
プログラム)が格納される。出力パターン記憶領域66は
人形9もしくは31の動作に変化を持たせるために、人形
の動作パターンに関する複数種類(たとえばパターンA
からパターンDまでの4種類)のデータを記憶する。各
動作パターン(−出力パターン)は、OO〜OF(但し、16
進数である。以下、16進数を表わす場合は数字の後ろに
Hを付しておく。)の16バイトで構成される。1バイト
はD0〜D7の8ビットで構成される。第2A図および第2B図
に示す実施例では、ビットD0のみが使用される。このビ
ットD0の論理「0」,「1」によってソレノイド10が消
勢,付勢される。また、第3A図および第3B図に示す実施
例では、ビットD1およびD2が使用される。すなわち、ビ
ットD1の論理「1」でソレノイド32が付勢され、ビット
D2の論理「1」でソレノイド33が付勢される。この出力
パターン記憶領域66に記憶された4種類のパターンデー
タは、使用者がキーボード59(第4図参照)を操作する
ことによって予め選択設定しておくことが可能である。
そして、この選択設定された各パターンの先頭アドレス
が前述の選択パターン記憶領域61(第5図参照)にロー
ドされる。
FIG. 6 is a diagram schematically showing the storage area of the ROM 58 shown in FIG. In the figure, ROM 58 includes, for example, a program storage area 65 and an output pattern storage area 66. The program storage area 65 stores an operation program of the CPU 55 (see FIG. 4) (for example, an operation program as shown in FIGS. 7A to 7C). The output pattern storage area 66 includes a plurality of types (for example, pattern A) relating to the movement pattern of the doll in order to change the movement of the doll 9 or 31.
To four types of data) are stored. Each operation pattern (-output pattern) is from OO to OF (however, 16
It is a decimal number. In the following, when representing a hexadecimal number, H is added after the number. ) 16 bytes. One byte is composed of 8 bits D 0 to D 7 . In the embodiment shown in FIGS. 2A and 2B, only bit D 0 is used. Logic "0" in the bit D 0, the solenoid 10 by a "1" is de-energized, biasing. Also, bits D 1 and D 2 are used in the embodiment shown in FIGS. 3A and 3B. That is, the logic "1" of the bit D 1 activates the solenoid 32,
Solenoid 33 with a logic "1" of the D 2 is energized. The four types of pattern data stored in the output pattern storage area 66 can be selected and set in advance by the user operating the keyboard 59 (see FIG. 4).
Then, the start address of each of the selectively set patterns is loaded into the selected pattern storage area 61 (see FIG. 5).

第7A図〜第7C図はこの発明の一実施例の動作を説明する
ためのフローチャートである。なお、第7C図は第7B図に
示すステップS38のサブルーチンの詳細を示したもので
ある。第8A図および第8B図はこの発明の一実施例の動作
を説明するためのタイムチャートである。以下、これら
の図を参照して上記実施例の動作を説明する。
7A to 7C are flowcharts for explaining the operation of the embodiment of the present invention. Note that FIG. 7C shows the details of the subroutine of step S38 shown in FIG. 7B. 8A and 8B are time charts for explaining the operation of the embodiment of the present invention. The operation of the above embodiment will be described below with reference to these drawings.

まず、第8A図を参照して、第4図に示すリズム信号抽出
回路48の動作を説明する。音楽が流れると、マイクロフ
ォン46は音声を電気信号に変換する。この電気信号に変
換された音声信号(音楽信号)は、プリアンプ47によっ
て増幅された後、リズム信号抽出回路48に与えられる。
リズム信号抽出回路48では、まずローパスフィルタ49が
プリアンプ47からの音声信号の高域成分を除去し、第8A
図(a)に示すような低域変換信号を出力する。この低
域変換信号は全波整流器50によってその半波のみが取出
され(第8A図(b)参照)、ローパスフィルタ51に与え
られる。ローパスフィルタ51は、全波整流器50の出力を
包絡線検波し、第8A図(c)に示すような信号を出力す
る。ピーク検出器52はローパスフィルタ51の出力を或る
しきい値で弁別し、そのピークを表わす信号(第8A図
(d)参照)を出力する。このようにして得られたピー
ク信号は、音楽のリズムのピークを表わすものである。
したがって、リズム信号抽出回路48の出力に基づいて、
音楽のリズムの周期を検出することができる。この検出
は、マイクロプロセッサ53における演算処理によって達
成される。
First, the operation of the rhythm signal extraction circuit 48 shown in FIG. 4 will be described with reference to FIG. 8A. When music is played, the microphone 46 converts voice into an electric signal. The voice signal (music signal) converted into the electric signal is amplified by the preamplifier 47 and then given to the rhythm signal extraction circuit 48.
In the rhythm signal extraction circuit 48, the low pass filter 49 first removes the high frequency component of the audio signal from the preamplifier 47, and the 8th A
A low frequency conversion signal as shown in FIG. Only a half wave of the low-frequency converted signal is taken out by the full-wave rectifier 50 (see FIG. 8A (b)) and is given to the low-pass filter 51. The low-pass filter 51 envelope-detects the output of the full-wave rectifier 50 and outputs a signal as shown in FIG. 8A (c). The peak detector 52 discriminates the output of the low-pass filter 51 by a certain threshold value and outputs a signal representing the peak (see FIG. 8A (d)). The peak signal thus obtained represents the peak of the rhythm of music.
Therefore, based on the output of the rhythm signal extraction circuit 48,
The rhythm cycle of music can be detected. This detection is achieved by arithmetic processing in the microprocessor 53.

すなわち、マイクロプロセッサ53は、リズムのピークの
間隔を0.1秒きざみで分類して集計し、最も発生頻度の
高い間隔データをリズムの周期として決定する。このと
き、各リズムのピーク間の間隔は、カウンタCT0によっ
て計数される。すなわち、カウンタCT0はCPU55の動作ス
テップ(第7A図〜第7C図)とは全く独立して時計回路56
からの基準クロックCLK(10msの周期)を常時計数して
いる。そして、カウンタCT0はリズムのピーク検出ごと
にそのときの計数値がリズムのピークの間隔データとし
てRAM57の間隔データ記憶領域62のいずれかのエリアに
書込まれ、ほぼ同時にリセットされて次の間隔データを
計数する。したがって、カウンタCT0の計数値がリズム
のピークの時間間隔を示すことになる。なお、時計回路
56の基準クロックCLKの周期を短くすることによって、
マイクロプロセッサ53におけるリズム周期の演算処理の
分解能を上げることができる。
That is, the microprocessor 53 classifies the intervals of the rhythm peaks in 0.1 second increments and totals them, and determines the interval data with the highest frequency of occurrence as the rhythm cycle. At this time, the interval between the peaks of each rhythm is counted by the counter CT 0 . That is, the counter CT 0 is completely independent of the operation steps of the CPU 55 (FIGS. 7A to 7C) and the clock circuit 56.
The reference clock CLK (10 ms cycle) from is always counted. Then, every time the rhythm peak is detected, the counter CT 0 is written in any area of the interval data storage area 62 of the RAM 57 as the rhythm peak interval data, and is reset almost at the same time to the next interval. Count the data. Therefore, the count value of the counter CT 0 indicates the time interval of the rhythm peak. The clock circuit
By shortening the period of 56 reference clocks CLK,
The resolution of the calculation processing of the rhythm cycle in the microprocessor 53 can be increased.

次に、CPU55の動作ステップを中心として、上記実施例
の全体的な動作を説明する。
Next, the overall operation of the above embodiment will be described focusing on the operation steps of the CPU 55.

まず、図示しない電源がオンされると、第7A図に示す動
作が開始され、ステップS1〜S5でキー入力待ちおよび動
作パターンの選択設定が行なわれる。すなわち、ステッ
プS1で、イニシャルリセットが行なわれる。このイニシ
ャルリセットによって、RAM57の全データがクリアされ
る。次に、ステップS2に進み、キーボード59からのキー
入力があるか否かが判断される。キー入力がない場合
は、ステップS2の動作を繰返して行ない待機状態に入
る。キー入力があった場合はステップS3に進み、動作パ
ターンの選択が行なわれたか否かが判断される。動作パ
ターンの選択が行なわれた場合は、ステップS5に進み、
設定された動作パターンの順番に選択パターン記憶領域
61の各エリアに出力パターン記憶領域66の対応のパター
ンエリアの先頭番地が書込まれる。その後、再びステッ
プS2の動作に戻る。パターン選択が終了してスタートキ
ー(図示せず)がオンされると、そのことがステップS4
で判断されて次の動作へと移る。
First, when a power supply (not shown) is turned on, the operation shown in FIG. 7A is started, and key input waiting and operation pattern selection setting are performed in steps S1 to S5. That is, in step S1, initial reset is performed. By this initial reset, all data in the RAM 57 is cleared. Next, in step S2, it is determined whether or not there is a key input from the keyboard 59. If there is no key input, the operation of step S2 is repeated to enter the standby state. If there is a key input, the process proceeds to step S3, and it is determined whether or not the operation pattern has been selected. If the operation pattern is selected, the process proceeds to step S5,
Selected pattern storage area in the order of set operation patterns
The head address of the corresponding pattern area of the output pattern storage area 66 is written in each area 61. Then, the operation returns to step S2 again. When the start key (not shown) is turned on after the pattern selection is completed, that is the step S4.
And the next operation is performed.

次に、ステップS6〜S13では、カウンタCT0によって計数
された間隔データを間隔データ記憶領域62へ格納する動
作が行なわれる。まず、ステップS6では、リズム信号抽
出回路48からのリズム信号が立ち上がったか否かが判断
される。リズム信号が立ち上がった場合は、ステップS7
に進み、カウンタCT0の計数値が一定値(たとえば0.1秒
に相当する計数値)以下か否かが判断される。もし、計
数値が一定値以下の場合は、ノイズが誤検出なのでこれ
を無視するためにロードせずステップS6の動作に戻る。
また、音楽によっては、第8A図の(d)に示すように、
その左から5番目のパルスと6番目のパルスとの間のよ
うにリズムの間隔が音楽の途中で極めて短くなる場合が
あるが、この場合5番目のパルスと6番目のパルスとの
間の間隔データは無視される。しかしながら、この実施
例では、複数の間隔データの統計をとって全体的なリズ
ムの周期を求めているので、何ら問題とはならない。一
方、ステップS7でカウンタCT0の計数値が一定値以上と
判断された場合は、ステップS8に進み、カウンタCT0
計数値がポインタPN1(最初は0)で指定される間隔デ
ータ記憶領域62の番地にロードされる。最初は、間隔デ
ータ記憶領域62のエリア1に間隔データがロードされ
る。次に、ステップS9に進み、カウンタCT0がリセット
される。これによって、カウンタCT0は今回の入力パル
スから次回の入力パルスまでの時間間隔の計数を新たに
開始する。続いて、ステップS10に進み、ポインタPN1
歩進され、間隔データ記憶領域62の読出アドレスが歩進
される。次に、ステップS11に進み、ポインタPN1の値が
30になったか否かが判断される。30になっていない場合
は、直接第7B図に示す動作ステップに移るが、30の場合
はポインタPN1が間隔データ記憶領域62の最終エリアの
次のエリアを指定していることになるので、ポインタPN
1に0をセットし、再び間隔データ記憶領域62の先頭エ
リアからアドレス指定を行なわせる。したがって、間隔
データ記憶領域62はその読出アドレスが循環(0〜29)
されることになり、最も古く書込された間隔データのエ
リアに最も新しい間隔データが書込まれる。これによっ
て、間隔データ記憶領域62は最も古く書込まれた間隔デ
ータから順番にデータが消されていく。なお、前述のス
テップS6において、リズム信号が立ち上がったと判断さ
れなかった場合はステップS12に進み、カウンタCT0がオ
ーバフロー(たとえば2秒以上)しているか否かが判断
される。オーバフローしていない場合は第7B図の動作に
移る。
Next, in steps S6 to S13, the operation of storing the interval data counted by the counter CT 0 in the interval data storage area 62 is performed. First, in step S6, it is determined whether or not the rhythm signal from the rhythm signal extraction circuit 48 has risen. If the rhythm signal rises, step S7
Then, it is determined whether or not the count value of the counter CT 0 is equal to or less than a certain value (for example, the count value corresponding to 0.1 second). If the count value is less than or equal to a certain value, noise is erroneously detected, and this is ignored so that the operation is not loaded and the operation returns to step S6.
Depending on the music, as shown in (d) of FIG. 8A,
The rhythm interval may become extremely short during the music, such as between the fifth and sixth pulses from the left, but in this case the interval between the fifth and sixth pulses. The data is ignored. However, in this embodiment, there is no problem because statistics of a plurality of interval data are obtained to obtain the entire rhythm cycle. On the other hand, if it is determined in step S7 that the count value of the counter CT 0 is greater than or equal to a certain value, the process proceeds to step S8, and the count value of the counter CT 0 is designated by the pointer PN 1 (initially 0) Loaded at 62. Initially, the interval data is loaded into area 1 of the interval data storage area 62. Next, in step S9, the counter CT 0 is reset. As a result, the counter CT 0 newly starts counting the time interval from the current input pulse to the next input pulse. Then, in step S10, the pointer PN 1 is incremented and the read address of the interval data storage area 62 is incremented. Next, in step S11, the value of pointer PN 1
It is determined whether or not it has reached 30. If the number is not 30, the process directly goes to the operation step shown in FIG. 7B. However, in the case of 30, the pointer PN 1 points to the area next to the last area of the interval data storage area 62. Pointer PN
1 is set to 0, and addressing is performed again from the head area of the interval data storage area 62. Therefore, the read address of the interval data storage area 62 circulates (0 to 29).
Thus, the newest interval data is written in the area of the oldest written interval data. As a result, the data in the interval data storage area 62 is erased in order from the oldest written interval data. If it is not determined in step S6 that the rhythm signal has risen, the process proceeds to step S12, and it is determined whether the counter CT 0 overflows (for example, 2 seconds or more). If there is no overflow, move to the operation of FIG. 7B.

次に、第7B図に示すステップS14〜S25において、間隔デ
ータの分類および集計が行なわれる。まず、ステップS1
4において、ポインタPN2に1がセットされる。そして、
ステップS15に進み、ポインタPN2で指定されるアドレス
の間隔データを間隔データ記憶領域62から読出す。続い
て、ステップS16に進み、読出された間隔データが0で
ないか否かが判断され、0でない場合はステップS17で
間隔データが0.2秒未満か否かが判断される。もし、間
隔データが0もしくは0.2秒未満の場合は、ノイズか誤
検出とみなし、以後のステップをスキップしてステップ
S20に直接進む。一方、間隔データが0.2秒以上の場合は
ステップS18に進み間隔データが0.3秒未満か否かが判断
される。このとき、間隔データが0.3秒未満(厳密には
0.2秒以上,0.33秒未満)の場合はステップS19において
集計データ記憶領域63のカウンタCT1が1だけインクリ
メントされる。そして、ステップS20に進みポインタPN2
が+1されて間隔データ記憶領域62の読出アドレスが歩
進される。次にステップS21に進み、ポインタPN2の値が
30か否かが判断される。間隔データ記憶領域62の最終エ
リアの間隔データを読出していない場合はポインタPN2
の値は30未満となっているため、再びステップS15に戻
り、次のエリアの間隔データが読出されてその集計が行
なわれる。一方、ステップS18で間隔データが0.3秒未満
でないと判断された場合はステップS22に進み、間隔デ
ータが0.4秒未満(厳密には0.3秒以上,0.4秒未満)であ
るか否かが判断される。この判断がYESの場合はステッ
プS23に進みカウンタCT2が+1され、ステップS20の動
作に進む。以後、同様にして、読出された間隔データが
0.1秒きざみでどの範囲に属するかが判断され、それに
該当するカウンタの計数値がインクリメントされてい
く。最終的には、ステップS24で間隔データが1.3秒未満
(厳密には1.2秒以上,1.3秒未満)か否かが判断され、
判断がYESの場合はステップS25でカウンタCT11がインク
リメントされてステップS20に進む。一方、間隔データ
が1.3秒以上の場合はいずれのカウンタもインクリメン
トされずにステップS20の動作に進む。したがって、こ
の実施例では、間隔データ記憶領域62から読出された間
隔データが0.2秒〜1.3秒の範囲の中で0.1秒きざみで区
分されたいずれの時間領域に属するか否かが分類され集
計される。ここで、集計の対象となる間隔データを0.2
秒〜1.3秒の範囲に選んだのは前述の理由のとおりであ
る。上記ステップS14〜S25の処理の結果、各カウンタCT
1〜CT11には対応時間領域に属する間隔データの発生頻
度が記憶されることになる。
Next, in steps S14 to S25 shown in FIG. 7B, the interval data is classified and tabulated. First, step S1
At 4, the pointer PN 2 is set to 1. And
In step S15, the interval data of the address designated by the pointer PN 2 is read from the interval data storage area 62. Succeedingly, in a step S16, it is determined whether or not the read interval data is 0, and if not, it is determined in a step S17 whether or not the interval data is less than 0.2 seconds. If the interval data is 0 or less than 0.2 seconds, it is considered as noise or false detection and the following steps are skipped.
Go directly to S20. On the other hand, if the interval data is 0.2 seconds or more, the process proceeds to step S18, and it is determined whether the interval data is less than 0.3 seconds. At this time, the interval data is less than 0.3 seconds (strictly speaking,
If it is 0.2 seconds or more and less than 0.33 seconds), the counter CT 1 of the total data storage area 63 is incremented by 1 in step S19. Then, the process proceeds to step S20 and the pointer PN 2
Is incremented by 1 and the read address of the interval data storage area 62 is incremented. Next, in step S21, the value of pointer PN 2
It is judged whether it is 30 or not. Pointer PN 2 when the interval data in the final area of the interval data storage area 62 is not read
Since the value of is less than 30, the process returns to step S15 again, and the interval data of the next area is read out and totaled. On the other hand, if it is determined in step S18 that the interval data is not less than 0.3 seconds, the process proceeds to step S22, and it is determined whether the interval data is less than 0.4 seconds (strictly, 0.3 seconds or more and less than 0.4 seconds). . If this determination is YES, the process proceeds to step S23, the counter CT 2 is incremented by 1, and the process proceeds to step S20. After that, in the same manner, the read interval data
It is determined in 0.1 second steps to which the range belongs, and the count value of the corresponding counter is incremented. Finally, in step S24, it is determined whether the interval data is less than 1.3 seconds (strictly 1.2 seconds or more, less than 1.3 seconds),
If the determination is YES, the counter CT 11 is incremented in step S25 and the process proceeds to step S20. On the other hand, when the interval data is 1.3 seconds or more, neither counter is incremented and the operation proceeds to step S20. Therefore, in this embodiment, the interval data read from the interval data storage area 62 is classified and aggregated to which time area divided by 0.1 seconds in the range of 0.2 seconds to 1.3 seconds. It Here, the interval data to be aggregated is 0.2
The reason for selecting the range of seconds to 1.3 seconds is as described above. As a result of the processing in steps S14 to S25, each counter CT
1 to CT 11 store the occurrence frequency of interval data belonging to the corresponding time region.

次に、ステップS26〜S33において、発生頻度が最大とな
る間隔データの検出が行なわれる。まず、ステップS26
において、ポインタPN3に1がセットされる。そして、
ステップS27において、ポインタPN3で指定される集計デ
ータ記憶領域63のカウンタの値がレジスタXにロードさ
れ、このカウンタに対応の間隔データ(予め各カウンタ
CT1〜CT11ごとに対応の間隔データが定められている)
がレジスタZにロードされる。続いて、ステップS28で
ポインタPN3が+1され、集計データ記憶領域63の読出
アドレスが歩進される。次に、ステップS29に進み、ポ
インタPN3で指定されるカウンタの値がレジスタYにロ
ードされる。そして、ステップS30で、レジスタXの値
とYの値とが比較されいずれが大きいかが判断される。
レジスタXの値がレジスタYの値よりも大きい場合はス
テップS31および32の動作をスキップして直接ステップS
33に進むが、レジスタXの値よりもレジスタYの値が大
きい場合はステップS31に進み、レジスタYの値がレジ
スタXに転送される。これによって、レジスタXには常
に最大発生頻度のカウンタの値が記憶されることにな
る。次に、ステップS32に進みポインタPN3で指定される
カウンタに対応する間隔データがレジスタZにロードさ
れる。したがって、レジスタZには最大発生頻度の間隔
データが記憶されることになる。続いて、ステップS33
に進み、ポインタPN3が11になったか否か、すなわち集
計データ記憶領域63の最終のカウンタCT11までの処理を
終了したか否かが判断される。ポインタPN3の値が11よ
りも小さければ、カウンタCT11までの処理を終了してい
ないため再びステップS28の動作に戻り、上述と同様の
動作が繰返される。
Next, in steps S26 to S33, the interval data having the maximum occurrence frequency is detected. First, step S26
At 1, the pointer PN 3 is set to 1. And
In step S27, the value of the counter in the totalized data storage area 63 designated by the pointer PN 3 is loaded into the register X, and the interval data corresponding to this counter (each counter in advance) is loaded.
Corresponding interval data is defined for each CT 1 to CT 11 )
Is loaded into register Z. Subsequently, the pointer PN 3 is +1 in step S28, the read address of the aggregated data storage area 63 is incremented. Then, in step S29, the value of the counter designated by the pointer PN 3 is loaded into the register Y. Then, in step S30, the value of the register X and the value of Y are compared to determine which is larger.
When the value of register X is larger than the value of register Y, the operations of steps S31 and S32 are skipped and step S is directly executed.
If the value of the register Y is larger than the value of the register X, the process proceeds to step S31, and the value of the register Y is transferred to the register X. As a result, the value of the counter with the maximum occurrence frequency is always stored in the register X. Next, interval data corresponding to the counter designated by the pointer PN 3 proceeds to step S32 is loaded into the register Z. Therefore, the register Z stores the interval data having the maximum occurrence frequency. Then, step S33.
Then, it is determined whether or not the pointer PN 3 has reached 11, that is, whether or not the processing up to the final counter CT 11 of the total data storage area 63 has been completed. If the value of the pointer PN 3 is smaller than 11 , the processing up to the counter CT 11 has not been completed, and thus the operation returns to the operation of step S28, and the same operation as described above is repeated.

一方、ポインタPN3の値が11の場合は、ステップS34に進
み、レジスタXの値が5以上か否かが判断される。も
し、レジスタXの値が5未満の場合は、リズムの周期デ
ータを決定するに足る数の間隔データの集計が行なわれ
ていないものとして、第7A図に示すステップS6の動作に
戻り、再び間隔データの検出および集計が行なわれる。
一方、レジスタXの値が5以上の場合は、ステップS35
に進み、レジスタZに記憶された間隔データをリズムの
周期データTとして決定し、これをレジスタWにロード
する。
On the other hand, when the value of the pointer PN 3 is 11, the process proceeds to step S34, and it is determined whether the value of the register X is 5 or more. If the value of the register X is less than 5, it is assumed that the interval data of a sufficient number for determining the rhythm cycle data has not been aggregated, and the process returns to the operation of step S6 shown in FIG. Data is detected and aggregated.
On the other hand, when the value of the register X is 5 or more, step S35
Then, the interval data stored in the register Z is determined as the rhythm cycle data T, and this is loaded into the register W.

次に、ステップS36〜S39において、出力制御すなわち人
形の駆動制御が行なわれる。まず、ステップS36におい
て、駆動制御の開始タイミングの演算(Ta=T−t0)が
行なわれる。ここで、t0はこの実施例の駆動機構の応答
遅れ時間である。これは、駆動機構の応答遅れ時間を見
込んで駆動制御の開始タイミングを設定することによ
り、人形9もしくは31の動作と実際の音楽のリズムとの
ずれをなくすためである。ステップS37では、カウンタC
T0が時間Taに達したか否かが判断される。ここで、カウ
ンタCT1は前述のステップS9から新たにその計数を開始
しているが、このステップS9からステップS36までの動
作はCPU55によって高速処理されるので、ステップS37の
動作に進む前にカウンタCT0がTaの時間に達することは
あり得ない。カウンタCT0が時間Taに達すると、ステッ
プS38に進み、予め設定された順序で出力パターン記憶
領域66からのパターンデータの読出とその出力制御が行
なわれる。このステップS38のサブルーチンの詳細は第7
C図に示される。以下にその動作を説明する。
Next, in steps S36 to S39, output control, that is, drive control of the doll is performed. First, in step S36, calculation of the start timing of the drive control (Ta = T-t 0) is performed. Here, t 0 is the response delay time of the drive mechanism of this embodiment. This is to eliminate the discrepancy between the operation of the doll 9 or 31 and the actual rhythm of music by setting the drive control start timing in consideration of the response delay time of the drive mechanism. In step S37, the counter C
It is determined whether T 0 has reached the time Ta. Here, the counter CT 1 newly starts counting from step S9 described above, but since the operations from step S9 to step S36 are processed at high speed by the CPU 55, the counter CT 1 is counted before proceeding to the operation of step S37. CT 0 can never reach the Ta time. When the counter CT 0 reaches the time Ta, the process proceeds to step S38, and the pattern data is read from the output pattern storage area 66 and its output control is performed in a preset order. The details of the subroutine of this step S38 are the seventh
Shown in Figure C. The operation will be described below.

まず、ステップS100において、ポインタPN4(最初は
0)で指定される選択パターン記憶領域61のアドレスか
ら予め設定された動作パターンの先頭アドレス(出力パ
ターン記憶領域66における各パターンデータエリアのい
ずれかのエリアの先頭アドレス)が読出され、レジスタ
Aにロードされる。続いて、ステップS101に進み、ポイ
ンタPN5(最初は0)の値がレジスタAに加算され、そ
の加算結果がレジスタBにロードされる。続いて、ステ
ップS102でポインタPN5が+1された後、ステップS103
でポインタPN5の値が10H(但し、Hはその前の数値が16
進表示であることを示す)であるか否かが判断される。
すなわち、ステップS103では、1つのパターンの最終ア
ドレス(たとえばパターンAのOFH)まで読出が終了し
たか否かが判断される。もし、ポインタPN5が10Hでない
場合はステップS108に進み、レジスタBで指定される出
力パターン記憶領域66のアドレスのパターンデータが読
出されてその論理に基づいてソレノイド駆動制御信号が
出力制御回路60に与えられる。応じて、ソレノイド10も
しくは32,33の駆動が行なわれ、それに伴って人形9も
しくは31は変位される。なお、ソレノイド駆動制御信号
は実際の周期Tに対して機構部の応答遅れ時間t0だけ早
く出力される(第8A図(e)参照)。
First, in step S100, the start address of the preset operation pattern from the address of the selection pattern storage area 61 designated by the pointer PN 4 (initially 0) (any one of the pattern data areas in the output pattern storage area 66) The top address of the area) is read and loaded into register A. Succeedingly, in a step S101, the value of the pointer PN 5 (initially 0) is added to the register A, and the addition result is loaded into the register B. Then, after the pointer PN 5 is incremented by 1 in step S102, step S103
And the value of pointer PN 5 is 10H (however, the value before H is 16
(Indicating that it is a hexadecimal display).
That is, in step S103, it is determined whether the reading is completed up to the final address of one pattern (for example, OFH of pattern A). If the pointer PN 5 is not 10H, the process proceeds to step S108, the pattern data of the address of the output pattern storage area 66 designated by the register B is read, and the solenoid drive control signal is sent to the output control circuit 60 based on the logic. Given. In response, the solenoid 10 or 32, 33 is driven, and the doll 9 or 31 is displaced accordingly. The solenoid drive control signal is output earlier than the actual cycle T by the response delay time t 0 of the mechanical section (see FIG. 8A (e)).

一方、第7B図のステップS39では、すべてのポインタ
(ポインタPN4,PN5を除く)がリセットされ、第7A図の
ステップS6の動作に戻る。再び前述と同様の動作(間隔
データの検出,集計および周期データの決定)が行なわ
れ、再び第7C図の動作に入る。このとき、ポインタPN5
は前回のステップS102で歩進されているので、出力パタ
ーン記憶領域66から読出されるパターンデータは1番地
だけ進んだものとなる。以後、同様の動作が繰返され、
1つのパターン(16バイトで構成される)の最終アドレ
スの読出サイクルになると、ポインタPN5が10Hとなり、
ステップS103の判断によりステップS104に進む。このス
テップS104では、ポインタPN5がリセットされる。そし
て、ステップS105でポインタPN4が+1される。これに
よって、選択パターン記憶領域61の読出アドレスが1つ
進められる。続いて、ステップS106で、ポインタPN4
6であるか否かが判断される。すなわち、ステップS106
では、選択パターン記憶領域61に設定された最後の設定
データ(先頭アドレス)の読出が終了したか否かを判断
している。ポインタPN4の値が6でない場合はステップS
106に進み前述と同様にパターンデータの読出および出
力制御が行なわれる。一方、ポインタPN4が6の場合は
ステップS107でポインタPN4がリセットされ、ステップS
108に進む。
On the other hand, in step S39 in FIG. 7B, all pointers (except the pointer PN 4, PN 5) is reset, and returns to the operation of step S6 in Figure 7A. The same operation as described above (detection of interval data, totalization and determination of cycle data) is performed again, and the operation shown in FIG. 7C is resumed. At this time, the pointer PN 5
Has been stepped up at the previous step S102, so the pattern data read from the output pattern storage area 66 is advanced by one address. After that, the same operation is repeated,
At the read cycle of the last address of one pattern (consisting of 16 bytes), the pointer PN 5 becomes 10H,
By the determination in step S103, the process proceeds to step S104. In this step S104, the pointer PN 5 is reset. Then, in step S105, the pointer PN 4 is incremented by one. As a result, the read address of the selected pattern storage area 61 is advanced by one. Succeedingly, in a step S106, it is determined whether or not the pointer PN 4 is 6. That is, step S106
Then, it is determined whether or not the reading of the last set data (start address) set in the selection pattern storage area 61 is completed. If the value of pointer PN 4 is not 6, step S
Proceeding to 106, the reading and output control of the pattern data is performed in the same manner as described above. On the other hand, if the pointer PN 4 is 6, the pointer PN 4 is reset in step S107,
Continue to 108.

上述した第7C図の動作により、出力制御回路60には予め
設定された動作パターンの順番でかつ各パターンの16個
のバイトデータが順番に出力される。第8B図は出力パタ
ーンの一例を示している。パターンAは特に第2A図およ
び第2B図に示される実施例に用いられ、パターンB〜D
は特に第3A図および第3B図に示される実施例に用いられ
る。パターンAでは、そのハイレベルの部分でソレノイ
ド10が付勢され、そのローレベルの部分で消勢される。
したがって、パターンAでは、リズムの1周期ごとにソ
レノイド10の付勢,消勢が繰返され、応じて人形9はリ
ズムに同期して上下動する。一方、パターンB〜Dで
は、信号S1はソレノイド32の駆動制御信号であり、信号
S2はソレノイド33の駆動制御信号である。そして、各信
号のハイレベル部分で該当のソレノイドが付勢され、ロ
ーレベルの部分で消勢される。たとえば、信号S1がハイ
レベルのとき、ソレノイド32が付勢され、人形31は第3B
図に示すように腰を右側へ振る。これに対し、信号S2
ハイレベルのときはソレノイド33が付勢され、第3B図と
は逆に人形31は左側へ腰を振る。そして、16回のリズム
の繰返しの中で腰の振り方の組合わせを各パターンによ
って異ならせているのである。したがって、これらのパ
ターンを選択設定し得ることにより、人形を極めて複雑
でかつおもしろい動作をしかも音楽のリズムに合わせて
行なうことができる。なお、第8B図では、第2A図,第2B
図の実施例で使用されるパターン(パターンA)につい
ては1種類しか示していないが、上下動をリズムの1周
期ごとに交互に行なわせるのではなく、2つおきや3つ
おきに行なったり、またそれらを複雑に組合わせてパタ
ーンを形成することもできる。この場合は基本パターン
Aに加えて何種類かの動作パターンができるので、適宜
それを選択設定するようにしてもよい。
By the operation of FIG. 7C described above, 16 byte data of each pattern are sequentially output to the output control circuit 60 in the order of preset operation patterns. FIG. 8B shows an example of the output pattern. Pattern A is used especially in the embodiment shown in FIGS. 2A and 2B, and patterns B-D
Is particularly used in the embodiment shown in FIGS. 3A and 3B. In pattern A, the solenoid 10 is energized at its high level portion and deenergized at its low level portion.
Therefore, in pattern A, the solenoid 10 is repeatedly energized and deenergized for each cycle of the rhythm, and accordingly the doll 9 moves up and down in synchronization with the rhythm. On the other hand, in patterns B to D, the signal S 1 is a drive control signal for the solenoid 32,
S 2 is a drive control signal for the solenoid 33. Then, the corresponding solenoid is energized at the high level portion of each signal and deenergized at the low level portion. For example, when the signal S 1 is high level, the solenoid 32 is energized and the doll 31 moves to the third B
Shake your hips to the right as shown. On the other hand, when the signal S 2 is at a high level, the solenoid 33 is energized and the doll 31 swings to the left, contrary to FIG. 3B. And, in the repetition of 16 rhythms, the combination of how to swing the hips is made different for each pattern. Therefore, by selecting and setting these patterns, the doll can perform extremely complicated and interesting motions in accordance with the rhythm of music. In addition, in FIG. 8B, FIG. 2A and FIG.
Only one type of pattern (pattern A) used in the illustrated embodiment is shown, but the vertical movement is not performed alternately for each cycle of the rhythm, but is performed every two or three times. Also, it is possible to form a pattern by combining them in a complicated manner. In this case, several kinds of operation patterns can be made in addition to the basic pattern A, so that it may be appropriately selected and set.

次に、音楽が止まると、リズム信号抽出回路48からリズ
ム信号が出力されなくなるので、前述のステップS12で
カウンタCT0のオーバフローが判断される。そのため、
ステップS40に進みレジスタWに記憶された周期データ
がクリアされる。続いて、ステップS41で間隔データ62
の全間隔データがクリアされ、ステップS6の動作に戻
る。以後、再び音楽が鳴り始めるまで、ステップS6,S1
2,S40,S41の動作を循環する。なお、第7A図に点線で示
すようなステップS42を付加し、RAM57の他のデータもす
べてクリアするようにしてもよい。
Next, when the music stops, the rhythm signal is not output from the rhythm signal extraction circuit 48, so that the overflow of the counter CT 0 is determined in step S12 described above. for that reason,
In step S40, the cycle data stored in the register W is cleared. Then, in step S41, the interval data 62
All interval data of is cleared and the operation returns to step S6. After that, steps S6 and S1 until the music starts playing again.
The operation of 2, S40, S41 is circulated. It should be noted that step S42 as shown by the dotted line in FIG. 7A may be added to clear all other data in the RAM 57.

[発明の効果] 以上のように、第1の発明のリズム認識装置によれば、
入力する音楽のリズムの規則性を検出し、さらにリズム
の同期信号をリズムの周記信号より所定時間早めたタイ
ミングで出力するので、リズム楽器以外の音や外部雑音
等のピーク値の高い不規則な音に影響を受けることなく
周囲の音楽に正確に同期することを可能にする同期信号
を出力可能である。
[Effects of the Invention] As described above, according to the rhythm recognition device of the first invention,
The regularity of the rhythm of the input music is detected, and the rhythm synchronization signal is output at a timing earlier than the rhythm recording signal by a predetermined time, so irregularities with high peak values such as sounds other than rhythm instruments and external noise are generated. It is possible to output a synchronization signal that enables accurate synchronization with surrounding music without being affected by various sounds.

第2の発明によれば、周囲の音楽のリズムの規則性に正
確に同期した動作を行なうという従来の動的玩具には、
全く見られなかった新たな機能を有する動的玩具を得る
ことができる。また、その動きは使用者の興味を強く引
きつけることができ、音楽または曲を変えることによっ
て動きが多種多様となり、飽きられにくく、面白さを増
すことができる。さらには、遊びながら子供のリズム感
を養うことができるので、教育玩具としても効果の高い
ものとなる。
According to the second aspect of the present invention, the conventional dynamic toy that performs an operation accurately synchronized with the regularity of the rhythm of the surrounding music,
It is possible to obtain a dynamic toy having a new function that has never been seen. In addition, the movement can strongly attract the interest of the user, and the movement can be varied by changing the music or the music, which makes it less likely to get tired and more interesting. Furthermore, since the child's sense of rhythm can be cultivated while playing, it is also highly effective as an educational toy.

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

第1図はこの発明の基本概念を示すブロック図である。
第2A図,第2B図はこの発明の一実施例を示す外観図であ
る。第3A図,第3B図はこの発明の他の実施例を示す外観
図である。第4図はこの発明の一実施例を示すブロック
図である。第5図はRAMの記憶領域を図解的に示す図で
ある。第6図はROMの記憶領域を図解的に示す図であ
る。第7A図〜第7C図はこの発明の一実施例の動作を説明
するためのフローチャートである。第8A図,第8B図はこ
の発明の一実施例の動作を説明するためのタイムチャー
トである。 図において、1は電気的信号発生手段、2はリズム信号
抽出手段、3は記憶手段、4は処理手段、5は出力制御
手段、6は電気的駆動手段、7は機構部、7aは基台、7b
は可動部、8は基台、9および31は人形、10,32,33はソ
レノイド、46はマイクロホン、48はリズム信号抽出回
路、53はマイクロプロセッサ、59はキーボード、60は出
力制御回路を示す。
FIG. 1 is a block diagram showing the basic concept of the present invention.
2A and 2B are external views showing an embodiment of the present invention. 3A and 3B are external views showing another embodiment of the present invention. FIG. 4 is a block diagram showing an embodiment of the present invention. FIG. 5 is a diagram schematically showing a storage area of the RAM. FIG. 6 is a diagram schematically showing the storage area of the ROM. 7A to 7C are flowcharts for explaining the operation of the embodiment of the present invention. 8A and 8B are time charts for explaining the operation of the embodiment of the present invention. In the figure, 1 is an electric signal generation means, 2 is a rhythm signal extraction means, 3 is a storage means, 4 is a processing means, 5 is an output control means, 6 is an electric drive means, 7 is a mechanical section, and 7a is a base. , 7b
Is a movable part, 8 is a base, 9 and 31 are dolls, 10, 32 and 33 are solenoids, 46 is a microphone, 48 is a rhythm signal extraction circuit, 53 is a microprocessor, 59 is a keyboard, and 60 is an output control circuit. .

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】音楽発生源とは独立して設けられ、当該音
楽発生源からの音楽に基づくリズムを認識するリズム認
識装置であって、 前記音楽発生源からの音のレベルに応じた電気的信号を
発生する電気的信号発生手段、 前記電気的信号のうちリズム楽器の音に相当する周波数
帯域の信号を通過可能なフィルタ手段と、フィルタ手段
によって通過された信号のピークを検出するピーク検出
手段とを含み、検出したピーク信号をリズム信号として
抽出するリズム信号抽出手段、 前記ピーク信号が生じる間隔を計数して間隔データを求
める間隔データ演算手段、 複数の間隔データを記憶するための記憶領域を含み、前
記間隔データ演算手段によって求められた間隔データを
順次記憶する記憶手段、および 前記記憶手段に記憶されている複数の間隔データに基づ
いて発生頻度の高い間隔データを求め、その間隔データ
の規則性に基づいてリズムの周期を判断し、判断したリ
ズムの周期に同期したリズム同期信号を導出する周期判
別手段を備え、 前記周期判別手段は、リズムの周期信号の発生タイミン
グよりも所定時間早めたタイミングでリズム同期信号を
導出するリズム認識装置。
1. A rhythm recognition device which is provided independently of a music source and recognizes a rhythm based on music from the music source. The rhythm recognition device is an electrical device according to a level of a sound from the music source. Electric signal generating means for generating a signal, filter means capable of passing a signal in a frequency band corresponding to the sound of a rhythm instrument among the electric signals, and peak detecting means for detecting a peak of the signal passed by the filter means A rhythm signal extracting means for extracting the detected peak signal as a rhythm signal, interval data calculating means for calculating interval data by counting intervals at which the peak signal occurs, and a storage area for storing a plurality of interval data. Storage means for sequentially storing the interval data obtained by the interval data calculation means, and a plurality of intervals stored in the storage means The interval data having a high frequency of occurrence based on the data, determining the rhythm cycle based on the regularity of the interval data, and providing a cycle determining means for deriving a rhythm synchronization signal synchronized with the determined rhythm cycle, The rhythm recognition device for deriving the rhythm synchronization signal, wherein the cycle determination means derives the rhythm synchronization signal at a timing which is earlier than the generation timing of the rhythm cycle signal by a predetermined time.
【請求項2】音楽発生源とは独立して設けられ、当該音
楽発生源からの音楽に基づくリズムに応答して作動する
リズム認識装置を用いたリズム応答玩具であって、 前記音楽発生源からの音のレベルに応じた電気的信号を
発生する電気的信号発生手段、 前記電気的信号のうちリズム楽器の音に相当する周波数
帯域の信号を通過可能なフィルタ手段と、当該フィルタ
手段によって通過された信号のピークを検出するピーク
検出手段とを含み、検出したピーク信号をリズム信号と
して抽出するリズム信号抽出手段、 前記ピーク信号が生じる間隔を計数して間隔データを求
める間隔データ演算手段、 複数の間隔データを記憶するための記憶領域を含み、前
記間隔データ演算手段によって求められた間隔データを
順次記憶する記憶手段、 前記記憶手段に記憶されている複数の間隔データの規則
性に基づいてリズムの周期を判別し、判別したリズムの
周期に同期したリズム同期信号を、リズムの周期信号の
発生タイミングよりも所定時間早めたタイミングで導出
する周期判別手段、 玩具の形状を有しかつ基台と基台に設けられる少なくと
も1つの可動部とを含む機構部、 電気的に付勢されたとき前記可動部を動かす電気的駆動
手段、および 前記周期判別手段から出力されるリズム同期信号に応答
して、前記電気的駆動手段を付勢する出力制御手段を備
えた、リズム認識装置を用いたリズム応答玩具。
2. A rhythm response toy using a rhythm recognition device which is provided independently of a music source and operates in response to a rhythm based on music from the music source. , An electric signal generating means for generating an electric signal according to the sound level, a filter means capable of passing a signal in a frequency band corresponding to the sound of a rhythm instrument among the electric signals, and a filter means for passing the signal. A rhythm signal extracting means for extracting the detected peak signal as a rhythm signal, an interval data calculating means for calculating interval data by counting intervals at which the peak signal occurs, A storage unit including a storage area for storing the interval data, for sequentially storing the interval data obtained by the interval data calculation unit; The rhythm cycle is determined based on the regularity of a plurality of interval data stored in, and the rhythm synchronization signal that is synchronized with the determined rhythm cycle is advanced by a predetermined time earlier than the generation timing of the rhythm cycle signal. Cycle determining means for leading out, a mechanism part having the shape of a toy and including a base and at least one movable part provided on the base, an electric drive means for moving the movable part when electrically biased, And a rhythm response toy using a rhythm recognition device, comprising output control means for urging the electric drive means in response to a rhythm synchronization signal output from the cycle determination means.
【請求項3】前記記憶手段は、前記記憶領域に間隔デー
タを順次記憶し、一定数の間隔データを記憶した後、最
も古い間隔データの記憶領域に新しい間隔データを更新
的に記憶する、特許請求の範囲第2項記載のリズム認識
装置を用いたリズム応答玩具。
3. The storage means sequentially stores the interval data in the storage area, stores a fixed number of the interval data, and then stores the new interval data in the storage area of the oldest interval data in an updated manner. A rhythm response toy using the rhythm recognition device according to claim 2.
【請求項4】前記可動部は、左右に変位する左右変位機
構と、左右の変位に連動して回動する回動機構とを含
む、特許請求の範囲第2項記載のリズム認識装置を用い
たリズム応答玩具。
4. The rhythm recognition device according to claim 2, wherein the movable portion includes a lateral displacement mechanism that is displaced left and right, and a pivoting mechanism that pivots in conjunction with the lateral displacement. There was a rhythm response toy.
【請求項5】前記左右変位機構は、その下方端部が前記
基台に枢支された1対のリンク機構を含み、いずれかの
リンク機構を連杆を介して前記電気的駆動手段に枢支さ
れる、特許請求の範囲第4項記載のリズム認識装置を用
いたリズム応答玩具。
5. The left-right displacement mechanism includes a pair of link mechanisms whose lower ends are pivotally supported by the base, and one of the link mechanisms is pivotally connected to the electric drive means via a connecting rod. A rhythm response toy using the rhythm recognition device according to claim 4, which is supported.
【請求項6】前記周期判別手段は、リズムの同期信号が
ある数だけ生じるごとに同期信号を発生する、特許請求
の範囲第2項記載のリズム認識装置を用いたリズム応答
玩具。
6. A rhythm response toy using a rhythm recognition device according to claim 2, wherein said cycle discriminating means generates a synchronization signal every time a certain number of rhythm synchronization signals occur.
【請求項7】前記周期判別手段は、リズムの周期に同期
した信号として、リズムの周期信号の発生タイミングよ
りも前記可動部の動作応答時間だけ早めたタイミングで
信号を導出する、特許請求の範囲第2項または6項記載
のリズム認識装置を用いたリズム応答玩具。
7. The cycle discrimination means derives the signal as a signal synchronized with the cycle of the rhythm at a timing earlier than the generation timing of the cycle signal of the rhythm by the operation response time of the movable portion. A rhythm response toy using the rhythm recognition device according to item 2 or 6.
JP60294981A 1985-12-26 1985-12-26 Rhythm recognition device and rhythm response toy using the same Expired - Fee Related JPH0713799B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP60294981A JPH0713799B2 (en) 1985-12-26 1985-12-26 Rhythm recognition device and rhythm response toy using the same
US06/945,386 US4889027A (en) 1985-12-26 1986-12-22 Rhythm recognizing apparatus and responsive toy
EP86310055A EP0228895B1 (en) 1985-12-26 1986-12-23 Rhythm recognizing apparatus and toy using the same
DE8686310055T DE3684688D1 (en) 1985-12-26 1986-12-23 RYTHM DETECTING DEVICE AND TOY TO USE THIS DEVICE.
CA000526183A CA1283735C (en) 1985-12-26 1986-12-23 Rhythm recognizing apparatus and toy using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60294981A JPH0713799B2 (en) 1985-12-26 1985-12-26 Rhythm recognition device and rhythm response toy using the same

Publications (2)

Publication Number Publication Date
JPS62152493A JPS62152493A (en) 1987-07-07
JPH0713799B2 true JPH0713799B2 (en) 1995-02-15

Family

ID=17814805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60294981A Expired - Fee Related JPH0713799B2 (en) 1985-12-26 1985-12-26 Rhythm recognition device and rhythm response toy using the same

Country Status (1)

Country Link
JP (1) JPH0713799B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS529379A (en) * 1975-07-11 1977-01-24 Matsushita Electronics Corp Semiconductor device manufacturing process
JPS575098A (en) * 1980-06-11 1982-01-11 Nippon Musical Instruments Mfg Automatic performance device
JPS5929297A (en) * 1982-08-11 1984-02-16 ヤマハ株式会社 Electronic musical instrument
JPS5958486A (en) * 1982-09-28 1984-04-04 ヤマハ株式会社 Electronic musical instrument
JPS59143197A (en) * 1983-02-04 1984-08-16 ヤマハ株式会社 Tempo controller for automatic performance
JPH0669239B2 (en) * 1983-12-29 1994-08-31 ボディソニック株式会社 Rhythm vibration drive

Also Published As

Publication number Publication date
JPS62152493A (en) 1987-07-07

Similar Documents

Publication Publication Date Title
US4889027A (en) Rhythm recognizing apparatus and responsive toy
JP3917456B2 (en) Evaluation program, recording medium thereof, timing evaluation apparatus, timing evaluation system
KR100395003B1 (en) Exercise support instrument
US6089942A (en) Interactive toys
JP4626087B2 (en) Musical sound control system and musical sound control device
US6899585B2 (en) Body suspended novelty music system
US5065414A (en) Pedometer
JP3273550B2 (en) Automatic answering toy
US5446236A (en) Musical toy
JP2004065382A (en) Physical exercise support device and program for supporting physical exercise
JPH0713799B2 (en) Rhythm recognition device and rhythm response toy using the same
JP3815938B2 (en) GAME DEVICE AND INFORMATION STORAGE MEDIUM
JP2000288253A (en) Video game device and recording medium with program stored
JP2001232060A (en) Game device and information storage medium
JP2019000457A (en) Computer system and program
US20060122521A1 (en) Electronic wristwatch-type exercise signal detecting apparatus
JP3636041B2 (en) Pronunciation control system
JPS62170281A (en) Rhythm response toy
US5890947A (en) Drive unit and toy using same
CN210302375U (en) Toy with sound wave receiving element and touch detection function
JP3247664B2 (en) Multi-quality sound generating toys
JPS62156698A (en) Rhythm recognition equipment
JP2766832B2 (en) Musical instrument toys
JP2002035191A (en) Dance rating apparatus
CN2544398Y (en) Device for generating electric signal by human body jump

Legal Events

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