JPH08201541A - Metronome simulator - Google Patents

Metronome simulator

Info

Publication number
JPH08201541A
JPH08201541A JP7543495A JP7543495A JPH08201541A JP H08201541 A JPH08201541 A JP H08201541A JP 7543495 A JP7543495 A JP 7543495A JP 7543495 A JP7543495 A JP 7543495A JP H08201541 A JPH08201541 A JP H08201541A
Authority
JP
Japan
Prior art keywords
metronome
beat
needle
screen
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7543495A
Other languages
Japanese (ja)
Other versions
JP3121739B2 (en
Inventor
Shinji Asakawa
信二 浅川
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.)
Roland Corp
Original Assignee
Roland Corp
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 Roland Corp filed Critical Roland Corp
Priority to JP07075434A priority Critical patent/JP3121739B2/en
Publication of JPH08201541A publication Critical patent/JPH08201541A/en
Application granted granted Critical
Publication of JP3121739B2 publication Critical patent/JP3121739B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE: To obtain a metronome simulator by which the operation of a mechanical metronome can be simulated by a small amount of processing by means of software. CONSTITUTION: The outside appearance 100 of a mechanical metronome is displayed on a screen, a plurality of pointer display regions 101a to 101e used to display a shaft at one of a plurality of intermittent positions so as to simulate the swing of the shaft of an actual metronome are formed, palettes (a) to (e) are allocated respectively to the respective shaft display regions 101a to 101e, pieces or color information are allocated to the palettes (a) to (e), and the shaft display regions corresponding to the palettes are color-displayed in pointer colors or background colors according to the pieces of color information. The pieces of color information which have been allocated to the palettes are updated sequentially in such a way that one out of the plurality of shaft display regions 101a to 101e becomes a shaft color, that the others becomes background colors and that the shaft display region 101b in the shaft color is changed over sequentially at a set tempo in the swing direction of the shaft.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、機械式メトロノームの
動作をシミュレーションするメトロノーム・シミュレー
タに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a metronome simulator for simulating the operation of a mechanical metronome.

【0002】[0002]

【従来の技術】従来、機械メトロノームを電子回路で実
現するものとして種々の装置が提供されている。例え
ば、特公昭54−29647号に示されるように発光ダ
イオード(LED)の点滅によりテンポを表現するも
の、あるいは実開昭63−199296号に示されるよ
うにLCD画面に表示したメトロノームの針の動く軌道
上に複数のセグメントを配置してそれらのセグメントの
点滅で針の動きを真似るものなどがある。
2. Description of the Related Art Conventionally, various devices have been provided for realizing a mechanical metronome with an electronic circuit. For example, as shown in Japanese Patent Publication No. 54-29647, the tempo is expressed by blinking a light emitting diode (LED), or as shown in Japanese Utility Model Publication No. 63-199296, the needle of the metronome displayed on the LCD screen moves. For example, a plurality of segments are arranged on the orbit and the movement of the needle is imitated by blinking those segments.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、これら
の従来の電子式メトロノームは古典的な機械式メトロノ
ームとは外見がまったく異なっており、機械式メトロノ
ームを使い慣れているものには、針の振れる動きをみて
テンポを掴むことができないなど使用上の違和感があ
る。
However, these conventional electronic metronomes are completely different in appearance from the classic mechanical metronome, and those who are used to using the mechanical metronome will not experience the swinging motion of the needle. There is a sense of incongruity in use, such as being unable to grasp the tempo.

【0004】そこで、パーソナルコンピュータ等のディ
スプレイ装置の画面上に機械式メトロノームの外観を表
示してメトロノームの針の振れる動きを模擬する手法が
考えられるが、この場合、針の動きを模擬するために
は、時間経過に伴う各タイミングでの画像データの書換
えの処理量が大きく、表示制御装置にかかる負担が非常
に大きい。特に、画面上において針を構成するドット
を、針が振れている画像になるように各タイミング毎に
ドット単位で書き換えていく処理が必要であるため、そ
の処理量は非常に大きくなる。
Therefore, a method of displaying the appearance of a mechanical metronome on the screen of a display device such as a personal computer and simulating the swinging motion of the needle of the metronome is conceivable. In this case, in order to simulate the motion of the needle. Requires a large amount of processing for rewriting image data at each timing with the passage of time, and thus imposes a great burden on the display control device. In particular, since it is necessary to rewrite the dots forming the needles on the screen in dot units at each timing so as to obtain an image in which the needles are swaying, the processing amount becomes very large.

【0005】本発明はかかる問題点に鑑みてなされたも
のであり、その目的とするところは、小さい処理量で機
械式メトロノームの動作をソフトウェア的に模擬できる
メトロノーム・シミュレータを提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a metronome simulator capable of simulating the operation of a mechanical metronome by software with a small processing amount.

【0006】[0006]

【課題を解決するための手段】図1は本発明に係る原理
説明図である。上述の課題を解決するために、本発明に
おいては、ディスプレイ装置の画面上に機械式のメトロ
ノームの外観100を表示してメトロノームの動作を模
擬するメトロノーム・シミュレータであって、メトロノ
ームの針の振れの複数の間欠的な位置に対応して針を表
示するための複数の針表示領域101a〜101eを設
け、これらの針表示領域101a〜101eの各々にそ
の針表示領域に属する画素を一纏めにしたパレットa〜
eをそれぞれ割り当てるとともに、これらのパレットa
〜eに色情報を割り当てて、色情報に応じてパレットに
対応する針表示領域を針色または背景色に色表示するよ
うに構成し、複数の針表示領域101a〜101eのう
ちの一つが針色、他が背景色となり、針色の針表示領域
101bが針の振れ方向に、設定されたテンポで順次に
切り替わるようにパレットに割り当てた色情報を順次に
更新するように構成されたメトロノーム・シミュレータ
が提供される。
FIG. 1 is a diagram illustrating the principle of the present invention. In order to solve the above-mentioned problems, the present invention is a metronome simulator that displays the appearance 100 of a mechanical metronome on the screen of a display device to simulate the operation of the metronome, and A plurality of needle display areas 101a to 101e for displaying needles corresponding to a plurality of intermittent positions are provided, and each of these needle display areas 101a to 101e is a palette in which pixels belonging to the needle display area are grouped together. a ~
e is assigned to each of these pallets a
To e, color information is assigned to each of the needle display areas 101a to 101e, and the needle display area corresponding to the palette is displayed in the needle color or the background color according to the color information. A metronome that is configured to sequentially update color information assigned to a palette so that the needle display area 101b of the needle color is switched to the needle shake direction in sequence at the set tempo in the other colors. A simulator is provided.

【0007】また、本発明では、上述のメトロノーム・
シミュレータにおいて、時系列な自動演奏情報にメトロ
ノーム音情報を記録する演奏トラックと針表示領域の表
示色を指示する画像制御情報を記録する画像トラックと
を設けるとともに、発音されるメトロノーム音と画面上
に表示される針の位置とが同期するように演奏トラック
のメトロノーム音情報と画像トラックの画像制御情報と
を記録し、自動演奏情報を自動演奏装置で自動演奏する
ことで、メトロノーム音の発音と画面上での針の表示と
の同期をとるように構成することができる。
In the present invention, the above-mentioned metronome
In the simulator, a performance track that records metronome sound information in time-series automatic performance information and an image track that records image control information that indicates the display color of the needle display area are provided, and the generated metronome sound and the on-screen By recording the metronome sound information of the performance track and the image control information of the image track so that the displayed needle position is synchronized, and automatically playing the automatic performance information with the automatic performance device, the pronunciation of the metronome sound and the screen It can be configured to be synchronized with the display of the needles above.

【0008】また、本発明では、上述の自動演奏情報は
拍の種類別にそれぞれ設け、設定された拍に対応した自
動演奏情報が自動演奏装置で自動演奏されるように構成
することができる。
Further, according to the present invention, the above-mentioned automatic performance information may be provided for each type of beat, and the automatic performance information corresponding to the set beat may be automatically played by the automatic performance device.

【0009】また、本発明では、上述のメトロノーム・
シミュレータにおいて、1拍をN分割する自動演奏情報
を再生するときには画面上に針表示領域をN+1個設け
るように構成することができる。
In the present invention, the above-mentioned metronome
In the simulator, N + 1 needle display areas can be provided on the screen when reproducing automatic performance information in which one beat is divided into N.

【0010】また、本発明では、上述のメトロノーム・
シミュレータにおいて、操作者の指示により画面上にテ
ンポ設定ウィンドウを表示するテンポ設定手段を備え、
テンポ設定ウィンドウでは、メトロノームの針に重りが
取り付けられた画像が表示されて重りの位置を入力手段
で調整できるよう構成され、重りの取付け位置に応じて
テンポの設定値が決定されて、そのテンポ設定値に基づ
いて自動演奏装置による自動演奏のテンポが制御される
ように構成することができる。
In the present invention, the above-mentioned metronome
In the simulator, the tempo setting means for displaying the tempo setting window on the screen according to the instruction of the operator,
In the tempo setting window, an image in which a weight is attached to the needle of the metronome is displayed, and the position of the weight can be adjusted by input means.The tempo set value is determined according to the attachment position of the weight, and the tempo is set. The tempo of the automatic performance by the automatic performance device can be controlled based on the set value.

【0011】また、本発明では、上述のメトロノーム・
シミュレータにおいて、操作者の指示により画面上に拍
設定ウィンドウを表示する拍設定手段を備え、拍設定ウ
ィンドウでは、各種拍が割り当てられた溝にレバーが係
合し、レバーの位置により設定する拍を選択する拍設定
機構の画像が表示されてレバーの位置を入力手段で調整
できるよう構成され、レバーの設定位置に応じて拍の設
定値が決定されて、その拍設定値に基づいて自動演奏装
置による自動演奏の拍が制御されるように構成すること
ができる。
In the present invention, the above-mentioned metronome
The simulator is provided with a beat setting means for displaying a beat setting window on the screen according to an operator's instruction. In the beat setting window, a lever engages with a groove to which various beats are assigned, and the beat set by the position of the lever is set. An image of the beat setting mechanism to be selected is displayed so that the position of the lever can be adjusted by the input means, the set value of the beat is determined according to the set position of the lever, and the automatic performance device is based on the set value of the beat. Can be configured to control the beat of the automatic performance by.

【0012】[0012]

【作用】本発明のメトロノーム・シミュレータでは、針
の表示位置を複数の間欠的な針表示領域に限定し、か
つ、その針表示領域での針の表示を、針表示領域に対応
するパレットに割り当てる色情報を更新することにより
行っているので、針の動きを模擬するための処理量を大
幅に削減することができる。
In the metronome simulator of the present invention, the needle display position is limited to a plurality of intermittent needle display areas, and the needle display in the needle display area is assigned to the palette corresponding to the needle display area. Since this is performed by updating the color information, the processing amount for simulating the movement of the needle can be significantly reduced.

【0013】また、演奏トラックと画像トラックを持つ
自動演奏情報によりメトロノーム音と針の画像表示を制
御するようにすれば、メトロノーム音と針の動きとの種
々の態様での同期を容易にとることができる。
If the metronome sound and the image display of the needle are controlled by automatic performance information having a performance track and an image track, the metronome sound and the movement of the needle can be easily synchronized in various modes. You can

【0014】また、1拍をN分割する自動演奏情報を再
生するときに画面上に針表示領域をN+1個設けるよう
に構成すれば、表示される針の動きで、拍のタイミング
がよく分かるようになる。
If N + 1 needle display areas are provided on the screen when reproducing automatic performance information in which one beat is divided into N, the timing of the beat can be clearly understood by the displayed movement of the needle. become.

【0015】また、テンポ設定手段を設けることにより
任意のテンポ設定が可能であり、拍設定手段を設けるこ
とにより任意の拍設定が可能である。
Further, it is possible to set an arbitrary tempo by providing the tempo setting means, and it is possible to set an arbitrary beat by providing the beat setting means.

【0016】[0016]

【実施例】以下に本発明の実施例を図面に基づいて説明
する。ここでは本発明のメトロノーム・シミュレータを
応用プログラム制御装置に組み込んだ実施例で本発明を
説明する。この応用プログラム制御装置は、複数の応用
プログラムをパーソナルコンピュータ等で自動的に順繰
りに実施したり、ユーザが任意に選択してユーザ操作に
より実施したりするもので、例えば店頭でのデモンスト
レーション・プレイを行うデモプレイ装置等として利用
できるものである。
Embodiments of the present invention will be described below with reference to the drawings. Here, the present invention will be described with reference to an embodiment in which the metronome simulator of the present invention is incorporated in an application program control device. This application program control device automatically and sequentially executes a plurality of application programs on a personal computer or the like, or executes a user's operation by arbitrarily selecting the application program. For example, a demonstration play at a store can be performed. It can be used as a demonstration play device.

【0017】図2にはこの応用プログラム制御装置の構
成図が示される。図2において、点線で囲まれた部分が
本発明に係る応用プログラム制御装置である。この応用
プログラム制御装置はMIDIインタフェース10を介
して外部の電子楽器11にMIDIケーブルで接続され
る。なお、MIDIケーブルで電子楽器11に接続する
ことに代えて、例えば双方向形の1本のRS232Cケ
ーブルを介して電子楽器11を接続してもよく、この場
合にはRS232Cインタフェースを介して電子楽器1
1を制御するようにする。
FIG. 2 is a block diagram of this application program control device. In FIG. 2, a portion surrounded by a dotted line is an application program control device according to the present invention. This application program control device is connected to an external electronic musical instrument 11 via a MIDI interface 10 by a MIDI cable. Instead of connecting to the electronic musical instrument 11 with a MIDI cable, for example, the electronic musical instrument 11 may be connected via one bidirectional RS232C cable. In this case, the electronic musical instrument is connected via the RS232C interface. 1
1 is controlled.

【0018】応用プログラム制御装置内では、バス5を
介してCPU1、RAM2、操作装置3、表示装置4、
プログラム記憶装置6、自動演奏情報記憶装置7、画像
情報記憶装置8、自動演奏装置としてのシーケンサ9、
MIDIインタフェース10が互いに接続されている。
In the application program control device, a CPU 1, a RAM 2, an operating device 3, a display device 4, and a bus 5 are used.
A program storage device 6, an automatic performance information storage device 7, an image information storage device 8, a sequencer 9 as an automatic performance device,
The MIDI interfaces 10 are connected to each other.

【0019】ここで、CPU1はプログラムの実行を含
む装置全体の制御を司る中央処理装置である。RAM2
は演算等の結果を入出力したりする作業用のランダムア
クセスメモリである。操作装置3はユーザが本装置を操
作するためのマウスやキーボードなどの入力手段からな
る。表示装置4はビットマップディスプレイ形のCRT
ディスプレイや液晶ディスプレイなどの表示手段からな
る。シーケンサ9は自動演奏情報を再生する装置であ
る。
Here, the CPU 1 is a central processing unit that controls the entire apparatus including execution of programs. RAM2
Is a random access memory for work such as inputting / outputting results of operations and the like. The operation device 3 includes input means such as a mouse and a keyboard for a user to operate the device. The display device 4 is a bit map display type CRT.
It consists of display means such as a display and a liquid crystal display. The sequencer 9 is a device for reproducing the automatic performance information.

【0020】MIDIインタフェース10は電子楽器1
1との間で演奏情報のやり取りをするためのインタフェ
ース回路である。すなわち、シーケンサ9からの演奏情
報はMIDIインタフェース10のMIDI出力端子O
UTから電子楽器11に送られ、また電子楽器11から
の演奏情報、例えば電子楽器11の鍵盤を打鍵したとき
に発生するMIDI信号は、MIDIインタフェース1
0のMIDI入力端子INからCPU1に送られるよう
になっている。
The MIDI interface 10 is an electronic musical instrument 1.
1 is an interface circuit for exchanging performance information with 1. That is, the performance information from the sequencer 9 is the MIDI output terminal O of the MIDI interface 10.
The MIDI interface 1 sends the performance information from the electronic musical instrument 11 to the electronic musical instrument 11 and, for example, a MIDI signal generated when the keyboard of the electronic musical instrument 11 is tapped.
It is adapted to be sent from the MIDI input terminal IN of 0 to the CPU 1.

【0021】プログラム記憶装置6は装置の基本的な動
作を制御するメインプログラムと購買者の興味を惹くた
めのその製品に関わる複数の応用プログラム(アプリケ
ーション・プログラム)とを記憶した記憶装置である。
画像情報記憶装置8は表示装置4に画像を表示するため
の複数の画像表示情報を記憶した記憶装置である。自動
演奏情報記憶装置7は自動演奏情報を記憶した記憶装置
である。
The program storage device 6 is a storage device in which a main program for controlling the basic operation of the device and a plurality of application programs (application programs) relating to the product for attracting the interest of the purchaser are stored.
The image information storage device 8 is a storage device that stores a plurality of image display information for displaying an image on the display device 4. The automatic performance information storage device 7 is a storage device that stores automatic performance information.

【0022】上記の応用プログラムとしては本実施例で
は、MIDIインタフェース10を介して接続された電
子楽器11に、本体に内蔵されたシーケンサ9で再生可
能な自動演奏曲目、例えばSMFデータなどのミュージ
ックデータ集の市販ディスクなどを紹介するミュージッ
クデータ紹介プログラム、その電子楽器の内容を紹介す
る製品紹介プログラム、アニメーションでメトロノーム
の動作を模擬(シミュレーション)するメトロノーム模
擬プログラム、およびアニメーションでオルゴールの動
作を模擬するオルゴール模擬プログラムがあり、これら
の応用プログラムによって視覚や聴覚を通じて購買者に
製品をアピールするものである。
In the present embodiment, as the above-mentioned application program, the electronic musical instrument 11 connected through the MIDI interface 10 is automatically played by the sequencer 9 built in the main body, and automatically played musical pieces, for example, music data such as SMF data. Music data introduction program that introduces commercial discs of the collection, product introduction program that introduces the contents of the electronic musical instrument, metronome simulation program that simulates the operation of the metronome with animation, and music box that simulates the operation of the music box with animation There are simulation programs, and these application programs are intended to appeal the product to the buyer through sight and hearing.

【0023】自動演奏情報記憶装置7には複数の曲にそ
れぞれ対応して複数種類の自動演奏情報が記憶されてい
る。通常、この自動演奏情報としては、各曲毎に外部に
接続された電子楽器11に自動演奏を行わせるための演
奏情報を記憶する演奏トラックが設けられているが、一
部の曲に関しては自動演奏情報として図3に示されるよ
うに演奏トラックと共に画像指示トラックが設けられて
おり、この画像指示トラックは演奏トラックと同期して
再生されて演奏中にその演奏音に対応した画像を表示装
置4に画像表示するために用いられる。すなわち、この
画像指示トラックは演奏中に表示させる画像情報を指示
する画像指示情報を演奏情報と同期させて記憶してあ
る。
The automatic performance information storage device 7 stores a plurality of types of automatic performance information corresponding to a plurality of songs. Normally, as the automatic performance information, a performance track is provided for storing the performance information for making the electronic musical instrument 11 connected to the outside perform automatic performance for each music. As performance information, an image instruction track is provided together with the performance track as shown in FIG. 3, and the image instruction track is reproduced in synchronization with the performance track and an image corresponding to the performance sound is displayed during the performance by the display device 4 It is used to display images on. That is, the image instruction track stores image instruction information for instructing image information to be displayed during performance in synchronization with the performance information.

【0024】シーケンサ9は自動演奏情報記憶装置7か
ら時間経過に伴って演奏トラックと画像指示トラックと
の情報を同期して再生し、演奏トラック上の演奏情報を
外部の電子楽器11にMIDIデータとして出力すると
ともに、画像指示トラックにおいて画像指示情報を検出
した場合には、それが画像情報記憶装置8に記憶してあ
る画像情報を指定するものであれば、画像情報記憶装置
8から対応する画像情報を読み出して表示装置4に出力
し、あるいはその画像指示トラックの情報が直接に表示
画像情報である場合には、その画像情報を直接に表示装
置4に出力するようになっている。このようにして、曲
の進行に同期して表示装置4の表示画像内容が変化する
ようになっている。
The sequencer 9 synchronously reproduces the information of the performance track and the image-instructing track from the automatic performance information storage device 7 with the lapse of time, and the performance information on the performance track is converted into MIDI data to the external electronic musical instrument 11 as MIDI data. When the image instruction information is output and the image instruction information is detected in the image instruction track, if the image instruction information specifies the image information stored in the image information storage device 8, the corresponding image information is output from the image information storage device 8. Is read and output to the display device 4, or when the information of the image instruction track is directly display image information, the image information is directly output to the display device 4. In this way, the content of the display image on the display device 4 changes in synchronization with the progress of the music.

【0025】表示装置4における画像表示の仕組みにつ
いて図4を参照して説明する。基本的な仕組みは、表示
画面を構成する各ドット(表示画素)毎にパレット(番
号)が設定され、さらにパレット(番号)毎に色番号が
指定されるようになっている。すなわち、図4におい
て、例えば画面の大きさをm×nドット、パレットの種
類を16種類、色の種類を2000種類とし、各ドット
は画面上のドット座標D(x,y)で表すものとする。
ドット・パレット対応テーブルでは各ドットにそれぞれ
対応してパレット番号が付され、パレット・色対応テー
ブルでは各パレット番号にそれぞれ対応して色番号が付
されている。したがって各ドットの表示色はそのドット
の属するパレットに設定されている色番号によって決ま
る。この場合、画面上に一度に同時に表示できる色の種
類はパレットの数によって決まるので、本実施例では1
6色となる。
The mechanism of image display on the display device 4 will be described with reference to FIG. The basic mechanism is that a palette (number) is set for each dot (display pixel) forming the display screen, and a color number is specified for each palette (number). That is, in FIG. 4, for example, the screen size is m × n dots, the palette type is 16 types, and the color types are 2000 types, and each dot is represented by a dot coordinate D (x, y) on the screen. To do.
In the dot / pallet correspondence table, palette numbers are assigned to the respective dots, and in the palette / color correspondence table, color numbers are assigned to the respective palette numbers. Therefore, the display color of each dot is determined by the color number set in the palette to which the dot belongs. In this case, the number of colors that can be simultaneously displayed on the screen at one time is determined by the number of palettes.
There are 6 colors.

【0026】表示装置4内には、これらの画像情報のド
ットとパレットと色との対応関係をテーブルとして記憶
する記憶装置が設けられており、この記憶装置の記憶内
容を書き換えることにより表示する画像の内容を変える
ことができる。画像情報記憶装置にはこれらの画像情報
が画面毎に記憶されている。例えば、ある装置を画面に
表示した場合、その装置外観を構成する各部位毎に、ド
ット・パレット対応テーブルにおいてその部位に属する
全てのドットに対して同じパレット(番号)を指定して
おけば、その部位は同じ色で表示されるようになる。ま
た、パレット・色対応テーブルにおいてその部位に対応
するパレットの色番号を変更することにより、その部位
の表示色を変えることができる。また、いったん表示装
置4に所定の画像を表示した後に、ドット・パレット対
応テーブルにおいて特定のドットに関してのみパレット
番号の書換えを行うことにより、そのドットは別の画像
となるので、表示中の画像の上に別の画像を上書きする
ことが可能になる。
The display device 4 is provided with a storage device for storing the correspondence between the dots of the image information, the palette, and the colors as a table, and the image displayed by rewriting the stored contents of the storage device. You can change the content of. The image information storage device stores the image information for each screen. For example, when a device is displayed on the screen, if the same palette (number) is specified for all the dots that belong to that part in the dot-pallet correspondence table for each part that makes up the appearance of the device, The part will be displayed in the same color. Also, by changing the color number of the palette corresponding to the part in the palette / color correspondence table, the display color of the part can be changed. Also, once a predetermined image is displayed on the display device 4, the pallet number is rewritten only for a specific dot in the dot / pallet correspondence table, so that the dot becomes a different image. It will be possible to overwrite another image on top.

【0027】以下、上述の応用プログラム制御装置の基
本的な動作の概要を図5〜図7を参照して説明する。こ
こで、図5はメインメニュー画面の例を示す図、図6は
選択実行モードでの各応用プログラムとメインメニュー
画面との関係を説明する図、図7は自動実行モードでの
各応用プログラムとメインメニュー画面との関係を説明
する図である。
The basic operation of the above-mentioned application program control device will be outlined below with reference to FIGS. Here, FIG. 5 is a diagram showing an example of the main menu screen, FIG. 6 is a diagram explaining the relationship between each application program in the selection execution mode and the main menu screen, and FIG. 7 is each application program in the automatic execution mode. It is a figure explaining the relationship with a main menu screen.

【0028】実施例装置の電源が投入されると、メイン
プログラムが起動され、表示装置4にメインメニュー画
面が表示される。メインメニュー画面はいずれの応用プ
ログラムを実行するか、あるいはシステムを終了するか
を選択指示するためのもので、図5に示されるように各
応用プログラムのタイトル名と終了指示の項目が表示さ
れる。
When the power of the embodiment apparatus is turned on, the main program is started and the main menu screen is displayed on the display device 4. The main menu screen is for instructing which application program to execute or to terminate the system. As shown in FIG. 5, the title name of each application program and the termination instruction item are displayed. .

【0029】タイトル名としては、この実施例では、製
品(例えば電子楽器)の機能等を映像と音声で紹介する
製品紹介プログラム、3つのミュージックデータ集を収
納曲と共に紹介するミュージックデータ紹介プログラ
ム、メトロノームの動作を模擬するメトロノーム模擬プ
ログラム、オルゴールの動作を模擬するオルゴール模擬
プログラムの4つの応用プログラムのタイトル名が表示
されている。
As the title name, in this embodiment, a product introduction program that introduces the function of a product (for example, an electronic musical instrument) by video and audio, a music data introduction program that introduces three music data collections together with stored songs, a metronome The titles of four application programs, a metronome simulation program for simulating the motion of the above and a music box simulation program for simulating the motion of the music box, are displayed.

【0030】このメインメニュー画面上では、現在選択
対象となっている項目がカーソルで指し示されるので、
マウスによってカーソルを移動させてクリックすること
で、選択したタイトルの応用プログラムが実行される。
なお、以下に説明する他の画面においても、マウスによ
ってカーソルを移動させてクリックすることによって、
その項目を実行するという操作手順は同じである。
On the main menu screen, the item currently selected is indicated by the cursor.
The application program of the selected title is executed by moving the cursor with the mouse and clicking.
In addition, also in other screens described below, by moving the cursor with the mouse and clicking
The operation procedure for executing the item is the same.

【0031】このように、メインメニュー画面におい
て、カーソルでタイトル名を選択すれば「選択実行モー
ド」となって当該タイトル名の応用プログラムが実行さ
れるが、他方、所定時間にわたり何らの操作もしなかっ
た場合は、「自動実行モード」となり、各応用プログラ
ムを所定時間ずつ順次に実行する。以下、この「選択実
行モード」と「自動実行モード」について説明する。
As described above, when the title name is selected with the cursor on the main menu screen, the "selection execution mode" is set and the application program of the title name is executed. On the other hand, no operation is performed for a predetermined time. If so, the “automatic execution mode” is set, and each application program is sequentially executed for a predetermined time. Hereinafter, the “selection execution mode” and the “automatic execution mode” will be described.

【0032】〔選択実行モード〕メインメニュー画面に
おいて所定時間内にユーザによって何れかの応用プログ
ラムのタイトル名が選択された場合は、図6に示す「選
択実行モード」となり、選択されたタイトルの応用プロ
グラムが実行される。
[Selection Execution Mode] When the title name of any application program is selected by the user within a predetermined time on the main menu screen, the “selection execution mode” shown in FIG. 6 is set, and the application of the selected title is applied. The program runs.

【0033】応用プログラムとして「製品紹介」が選択
された場合、製品紹介プログラムでは、所定の一連の製
品紹介を映像と音声で行い、この製品紹介が終了すると
実行中のプログラムを終了して、メインメニュー画面に
戻る。あるいは、製品紹介中にキーボードやマウスで何
らかの操作がなされた場合には、実行中のプログラムを
その時点で終了し、メインメニュー画面に戻る。
When "Product introduction" is selected as the application program, the product introduction program performs a predetermined series of product introductions by video and audio, and when this product introduction is completed, the running program is terminated and the main program is executed. Return to the menu screen. Alternatively, if any operation is performed with the keyboard or the mouse during the product introduction, the program being executed is terminated at that point and the main menu screen is displayed again.

【0034】応用プログラムとして「製品紹介」以外の
タイトル、すなわち「ミュージックデータ紹介」、「メ
トロノーム模擬」あるいは「オルゴール模擬」が選択さ
れた場合、それらの応用プログラムのメイン画面(タイ
トル画面とも称される)が表示されてプログラムが実行
される。この実行中に所定時間以上にわたりユーザによ
る何らの操作もなかったりユーザが終了を指示する「戻
る」を指定したときには、実行中のプログラムを終了し
てメインメニュー画面に戻る。
When a title other than "Product introduction", that is, "Music data introduction", "Metronome simulation" or "Music box simulation" is selected as the application program, the main screen (also called title screen) of those application programs is selected. ) Is displayed and the program is executed. When there is no operation by the user for a predetermined time or more during this execution, or when the user specifies "return" for instructing termination, the program being executed is terminated and the main menu screen is displayed again.

【0035】また、これらの応用プログラムでは、メイ
ン画面の他に、ユーザの指定によって表示されるサブ画
面がある。すなわち、応用プログラムのメイン画面中に
アイコン等で表示される項目を選択することにより、そ
の選択した項目に対応するサブルーチンの実行とサブ画
面への移行が指示され、表示装置4の表示内容がサブ画
面に切り換えられるとともに、サブルーチンが実行され
る。このサブルーチンでは、サブ画面においてアイコン
等で指示した内容に対応する処理が行われる。一方、実
行内容(例えば曲演奏等)が一応終了したり、所定時間
にわたり何らの操作もなかったり、あるいはユーザによ
って「戻る」の指示がされた場合は、当該サブ画面に関
する実行中のサブルーチンを終了し、応用プログラムの
メイン画面に戻る。
Further, in these application programs, in addition to the main screen, there is a sub-screen that is displayed according to the user's designation. That is, by selecting an item displayed by an icon or the like on the main screen of the application program, execution of the subroutine corresponding to the selected item and transition to the sub screen are instructed, and the display content of the display device 4 is changed to the sub screen. The screen is switched to and the subroutine is executed. In this subroutine, the process corresponding to the content designated by the icon or the like on the sub screen is performed. On the other hand, when the execution contents (for example, playing a song) are temporarily ended, or there is no operation for a predetermined period of time, or when the user instructs "return", the subroutine being executed for the sub screen is ended. And return to the main screen of the application program.

【0036】〔自動実行モード〕メインメニュー画面に
おいて、所定時間にわたり何らの操作もなかった場合
は、図7に示す「自動実行モード」となる。この「自動
実行モード」では、最初に「製品紹介」のプログラムを
実行し、それが終了すると以降、各応用プログラムを順
繰りに実行する。すなわち、「製品紹介」→「ミュージ
ックデータ紹介」→「メトロノーム模擬」→「オルゴー
ル模擬」の順にループ状に繰り返し実行する。この場
合、各応用プログラムの実行中にユーザが何らの操作も
しない場合には、所定時間の経過あるいは実行内容の終
了により順次に次の応用プログラムが自動的に選択され
て実行されるが、各応用プログラムの実行中にユーザの
操作があった場合には、「選択実行モード」と同様にそ
の操作内容に対応した処理が行われる。この操作内容と
して、メイン画面において「戻る」の指示がされた場合
には、その実行中の応用プログラムを終了して、もとの
メインメニュー画面に戻る。
[Automatic Execution Mode] When no operation is performed for a predetermined time on the main menu screen, the “automatic execution mode” shown in FIG. 7 is set. In this "automatic execution mode", the "product introduction" program is first executed, and thereafter, each application program is executed in sequence. That is, “product introduction” → “music data introduction” → “metronome simulation” → “music box simulation” is repeatedly executed in a loop. In this case, if the user does not perform any operation during the execution of each application program, the next application program is automatically selected and executed sequentially after the elapse of a predetermined time or the end of the execution content. When a user operation is performed during execution of the application program, processing corresponding to the operation content is performed as in the “selection execution mode”. As a content of this operation, when a "return" instruction is given on the main screen, the application program being executed is terminated and the original main menu screen is returned to.

【0037】以上の処理を図8から図13のフローチャ
ートに基づいて更に詳細に説明する。ここで、図8は
「自動実行モード」や「選択実行モード」の設定等の基
本的な制御を行うメインプログラム、図9はミュージッ
クデータ紹介、メトロノーム模擬あるいはオルゴール模
擬が「選択実行モード」で選択されたときの応用プログ
ラム、図10はメトロノーム模擬またはオルゴール模擬
が選択されたときのコマンド処理のルーチン、図11は
ミュージックデータ紹介が選択されたときのコマンド処
理のルーチン、図12は製品紹介が「選択実行モード」
で選択されたときの応用プログラム、図13は「自動実
行モード」を行うための制御プログラムである。
The above processing will be described in more detail with reference to the flowcharts of FIGS. Here, FIG. 8 is a main program for performing basic control such as setting of “automatic execution mode” and “selection execution mode”, and FIG. 9 is introduction of music data, metronome simulation or music box simulation is selected in “selection execution mode”. 10 is a command processing routine when a metronome simulation or a music box simulation is selected, FIG. 11 is a command processing routine when music data introduction is selected, and FIG. 12 is a product introduction. Selective execution mode "
FIG. 13 shows a control program for executing the "automatic execution mode" when the application program is selected by.

【0038】まず、図8のメインプログラムについて説
明する。実施例装置の電源が投入されると、RAM等を
適宜初期化し(ステップS1)、表示装置4にメインメ
ニュー画面を表示し(ステップS2)、このメインメニ
ュー画面に対して定めた曲の自動演奏の再生開始をシー
ケンサ9に指示する(ステップS3)。メインメニュー
画面には実施例装置にて実行可能な図5に示す応用プロ
グラムのタイトル名および終了指示が表示される。シー
ケンサ9はメインメニュー画面に対応する曲の自動演奏
情報(画像指示トラックなし)を自動演奏情報記憶装置
7から選択して再生し、外部に接続された電子楽器11
によってその曲の楽音が再生される。なお、このメイン
メニュー画面において上記のような曲の再生を行うか否
かは、それに応じた選択手段により任意に選択できるよ
うにしてもよい。
First, the main program shown in FIG. 8 will be described. When the power of the embodiment apparatus is turned on, the RAM and the like are properly initialized (step S1), the main menu screen is displayed on the display device 4 (step S2), and the automatic performance of the music set on the main menu screen is performed. Then, the sequencer 9 is instructed to start the reproduction (step S3). On the main menu screen, the title of the application program shown in FIG. 5 which can be executed by the apparatus of the embodiment and the ending instruction are displayed. The sequencer 9 selects from the automatic performance information storage device 7 the automatic performance information (without the image instruction track) of the music corresponding to the main menu screen and reproduces it, and the electronic musical instrument 11 connected to the outside
Plays the musical sound of the song. It should be noted that whether or not to reproduce the music as described above on the main menu screen may be arbitrarily selected by a selection unit according to the reproduction.

【0039】このメインメニュー画面の表示が所定時間
以上にわたりユーザの何らの操作もなく続いたことが時
間カウンタで検出されたら(ステップS4〜S8)、自
動実行モードに移行する(ステップS12、S13)。
この時間カウンタは、次のステップS5からS7の工程
の処理に一定の時間を要するので、それらの行程を所定
回数繰り返すことにより時間を測定するように構成して
いる。すなわち、まず時間カウンタの値を初期値に設定
したら(ステップS4)、次に時間カウンタの値を1つ
デクリメントし(ステップS5)、時間カウンタの値が
所定値に達したかを判定する(ステップS6)。時間カ
ウンタの値が所定値に達しない場合はユーザによる操作
の有無を判定する(ステップS7)。ユーザによる操作
がなかった場合は上述の時間カウンタの値を一つデクリ
メントするステップS5に戻り、ステップS5以降のフ
ローを繰り返して実行する。なお、以降の説明における
他の時間カウンタも全て同様の原理になっている。
When the time counter detects that the display of the main menu screen has continued for a predetermined time or longer without any user operation (steps S4 to S8), the mode is shifted to the automatic execution mode (steps S12 and S13). .
Since this time counter requires a certain amount of time for the processes of the next steps S5 to S7, it is configured to measure the time by repeating those steps a predetermined number of times. That is, first, the value of the time counter is set to the initial value (step S4), then the value of the time counter is decremented by one (step S5), and it is determined whether the value of the time counter has reached a predetermined value (step S4). S6). When the value of the time counter does not reach the predetermined value, it is determined whether or not there is an operation by the user (step S7). If there is no operation by the user, the process returns to step S5 where the value of the time counter is decremented by one, and the flow from step S5 onward is repeated. The other time counters in the following description all have the same principle.

【0040】上記ステップS6の判定において、所定時
間以上にわたり何らの操作もなかったと判定されたとき
は、シーケンサ9にメインメニュー画面用の曲の再生停
止の指示を与え(ステップS12)、「自動実行モー
ド」に進む(ステップS13)。この「自動実行モー
ド」については、図13を参照して後で詳述する。「自
動実行モード」における各応用プログラムの実行中に、
ユーザによりメインメニュー画面への「戻る」等が指示
されたときには、メインメニュー画面を表示し(ステッ
プS2)、ステップS2以降のフローを繰り返す。
If it is determined in step S6 that no operation has been performed for a predetermined time or longer, the sequencer 9 is instructed to stop the reproduction of the music for the main menu screen (step S12), and "automatic execution" is performed. Mode ”(step S13). This "automatic execution mode" will be described later in detail with reference to FIG. While executing each application program in the "automatic execution mode",
When the user gives an instruction to "return" to the main menu screen, the main menu screen is displayed (step S2), and the flow after step S2 is repeated.

【0041】ステップS7で前記所定時間中にユーザに
よる操作があったと判定された場合は、その操作の内
容、特にその操作が終了あるいは応用プログラムのタイ
トルを選択するものであるか否かを判定する(ステップ
S8)。マウスで単にカーソル移動操作がなされただけ
などのように意味のある指示がなされていない場合に
は、時間カウンタを初期化するステップS4に戻り、ス
テップS4以降のフローを再び繰り返す。このように時
間カウンタが初期化されることで、上述の所定時間の計
測は初めからやり直される。
When it is determined in step S7 that the user has performed an operation during the predetermined time, it is determined whether or not the content of the operation, particularly whether or not the operation ends or selects the title of the application program. (Step S8). If no meaningful instruction is given, such as a simple cursor movement operation with the mouse, the process returns to step S4 for initializing the time counter, and the flow after step S4 is repeated. By thus initializing the time counter, the above-described measurement of the predetermined time is restarted from the beginning.

【0042】ステップS8の判定において、応用プログ
ラムのタイトルを選択する操作(すなわち本実施例では
マウスでカーソルを選択対象のタイトル名に移動させて
クリックする操作)であると判定された場合は、その選
択したタイトルの選択回数をカウントする回数カウンタ
を一つインクリメントした後に(ステップS9)、シー
ケンサ9にメインメニュー画面用の曲の再生停止の指示
を与え(ステップS10)、「選択実行モード」を実行
する(ステップS11)。
If it is determined in step S8 that the operation is to select the title of the application program (that is, the operation of moving the cursor to the title name of the selection target with the mouse and clicking in this embodiment), that operation is performed. After incrementing the number counter for counting the number of times the selected title is selected (step S9), the sequencer 9 is instructed to stop the reproduction of the music for the main menu screen (step S10), and the "selection execution mode" is executed. Yes (step S11).

【0043】ステップS11の「選択実行モード」で
は、選択されたタイトルが何であるかを判断してそのタ
イトルに対応する応用プログラムを実行する。この内容
については図9〜図12を参照して後で詳述する。選択
実行モードでの応用プログラムの実行において、実行内
容が終了した場合、所定時間以上にわたり無操作であっ
た場合、あるいは応用プログラムのメイン画面で終了を
指示する「戻る」を選択する操作がされた場合は、メイ
ンメニュー画面に戻り(ステップS2)、ステップS2
以降のフローが繰り返して実行される。
In the "selection execution mode" of step S11, it is determined what the selected title is and the application program corresponding to the title is executed. The details will be described later with reference to FIGS. In the execution of the application program in the selective execution mode, when the execution contents are completed, if there is no operation for a predetermined time or more, or the operation to select "Return" is selected to instruct the end on the main screen of the application program. In the case, return to the main menu screen (step S2), step S2
The subsequent flow is repeatedly executed.

【0044】ステップ8の判定においてユーザ操作によ
りメインメニュー画面の「終了」が選択されたと判定さ
れた場合は、回数カウンタに記憶された各タイトルの選
択回数と後述する「ミュージックデータ紹介」で選択さ
れた曲集の選択回数を表示してメインプログラムを終了
する(ステップS14)。すなわち、各応用プログラ
ム、曲集毎にその選択回数をカウントする回数カウンタ
が設定されており、これによりユーザによってどの応用
プログラムがどれくらい選択されたかが分かる。
When it is determined in step 8 that "end" on the main menu screen has been selected by the user operation, the selection count of each title stored in the frequency counter and "music data introduction" described later are selected. The number of times the selected songbook is selected is displayed and the main program is terminated (step S14). That is, a number counter that counts the number of selections is set for each application program and music collection, so that it is possible to know which application program and how many have been selected by the user.

【0045】次に、「選択実行モード」での応用プログ
ラムの処理について詳述する。まず、ミュージックデー
タ紹介プログラム、メトロノーム模擬プログラム、オル
ゴール模擬プログラムが「選択実行モード」で選択され
たときの処理内容を図9を参照して説明する。なお、こ
れらの応用プログラムは基本的な手順は類似の処理内容
となっているので、図9によって一括して説明すること
にする。相違点として、ステップS100の前処理の位
置があり、メトロノーム模擬プログラムでは図中に点線
で示すステップS100を行い、オルゴール模擬プログ
ラムでは実線で示すステップS100を行い、ミュージ
ックデータ紹介プログラムではステップS100は行わ
ない。なお、これらのプログラムが後述する「自動実行
モード」で実行された場合の処理内容は、図9に示す
「選択実行モード」時の処理と同一である。
Next, the processing of the application program in the "selection execution mode" will be described in detail. First, the processing contents when the music data introduction program, the metronome simulation program, and the music box simulation program are selected in the "selection execution mode" will be described with reference to FIG. The basic procedure of these application programs has similar processing contents, so that they will be collectively described with reference to FIG. As a difference, there is a position of pre-processing in step S100. In the metronome simulation program, step S100 indicated by a dotted line in the figure is performed, in the music box simulation program, step S100 indicated by a solid line is performed, and in the music data introduction program, step S100 is performed. Absent. Note that the processing contents when these programs are executed in the "automatic execution mode" described later are the same as the processing in the "selection execution mode" shown in FIG.

【0046】メインメニュー画面でのユーザによる応用
プログラムのタイトル名の選択で「選択実行モード」に
移行したら(ステップS11)、まず、選択したタイト
ルにそれぞれ対応した前処理(後に詳説する)を行い
(ステップS100)、次いで、シーケンサ9にその選
択した応用プログラムのメイン画面に対応する自動演奏
情報(演奏トラックと画像指示トラック)の再生開始を
指示する(ステップS101)。シーケンサ9は自動演
奏情報記憶装置7から対応する自動演奏情報を選択して
再生し、外部に接続された電子楽器11によってその演
奏トラックの曲の楽音が再生されるとともに、表示装置
4に画像指示トラックで指示されるメイン画面の画像が
表示される。なお、シーケンサ9はこれらの応用プログ
ラムのメイン画面に対応する曲を再生し終わった場合に
はその曲を再び先頭から再生し、以後これを繰り返す。
When the user selects the title name of the application program on the main menu screen and shifts to the "selection execution mode" (step S11), first, preprocessing (detailed later) corresponding to each selected title is performed ( Then, the sequencer 9 is instructed to start the reproduction of the automatic performance information (performance track and image instruction track) corresponding to the main screen of the selected application program (step S101). The sequencer 9 selects and reproduces the corresponding automatic performance information from the automatic performance information storage device 7, the electronic musical instrument 11 connected to the outside reproduces the musical tone of the performance track, and the image display on the display device 4. The image of the main screen instructed by the truck is displayed. When the sequencer 9 finishes playing the song corresponding to the main screen of these application programs, the sequencer 9 plays the song again from the beginning, and repeats thereafter.

【0047】次いで時間カウンタの値をその選択した応
用プログラムに応じた所定値に初期化し(ステップS1
02)、その後に時間カウンタの値を一つカウントダウ
ンして(ステップS103)、この時間カウンタのカウ
ント値が所定値に達した否かを判定する(ステップS1
04)。この判定の結果、カウント値が所定値に達して
いない場合、すなわち所定時間を経過していない場合
は、ユーザによる操作の有無を判定する(ステップS1
05)。このユーザ操作としてはマウスや装置キーボー
ドによる操作の他、電子楽器11の鍵盤操作も含めるよ
うに構成する。ユーザによる操作がなかった場合は時間
カウンタをダウンカウントするステップS103に戻
り、ステップS103以降のフローを繰り返し実行す
る。
Then, the value of the time counter is initialized to a predetermined value according to the selected application program (step S1).
02) After that, the value of the time counter is counted down by one (step S103), and it is determined whether or not the count value of this time counter has reached a predetermined value (step S1).
04). As a result of this determination, if the count value has not reached the predetermined value, that is, if the predetermined time has not elapsed, it is determined whether or not there is an operation by the user (step S1).
05). This user operation is configured to include a keyboard operation of the electronic musical instrument 11 as well as an operation using a mouse or a device keyboard. If there is no operation by the user, the process returns to step S103 where the time counter is down-counted, and the flow after step S103 is repeatedly executed.

【0048】この処理を繰り返すことにより、ステップ
S104にて所定時間を経過したと判定されたとき、す
なわち所定時間内に何らの操作もなかったときは、終了
フラグを時間経過による終了を表す“0”に設定した後
に(ステップS107)、シーケンサ9に再生停止指示
を与え(ステップS108)、応用プログラムを終了
し、メインプログラムのメインメニュー画面に戻る。
By repeating this process, when it is determined in step S104 that the predetermined time has elapsed, that is, when there is no operation within the predetermined time, the end flag is set to "0" indicating the end due to the elapsed time. After setting to "" (step S107), the reproduction stop instruction is given to the sequencer 9 (step S108), the application program is terminated, and the main menu screen of the main program is returned.

【0049】一方、上記所定時間以内にユーザによる操
作があったとステップS105で判断された場合は、そ
の操作された内容を判断し(ステップS106)、分岐
処理を行う。判断された内容が応用プログラムの終了を
示す「戻る」指示である場合は、終了フラグをユーザ操
作による終了を表す“1”に設定した後に(ステップS
111)、シーケンサ9に再生停止の指示を与え(ステ
ップS108)、応用プログラムを終了し、メインプロ
グラムのメインメニュー画面に戻る。
On the other hand, if it is determined in step S105 that the user has performed an operation within the predetermined time, the content of the operation is determined (step S106), and the branch processing is performed. If the determined content is the "return" instruction indicating the end of the application program, after setting the end flag to "1" indicating the end by the user operation (step S
111), gives an instruction to stop the reproduction to the sequencer 9 (step S108), terminates the application program, and returns to the main menu screen of the main program.

【0050】ステップS106の内容判断で、操作され
た内容が意味を持たない操作であると判断された場合
は、時間カウンタを初期化するステップS102に戻っ
て、再びステップS102以降のフローを実行する。こ
れにより上記所定時間の計測は初めからやり直される。
このようにすることで、例えばユーザ操作として電子楽
器11の鍵盤を叩いたときにも時間カウンタが初期化さ
れて時間の計測がやり直されるので、後述するように、
例えばメトロノーム模擬プログラムでユーザが電子楽器
11を操鍵している場合にはメトロノームが止まること
はない。
If it is determined in step S106 that the operated content is meaningless, the process returns to step S102 for initializing the time counter, and the flow from step S102 is executed again. . As a result, the measurement of the predetermined time is restarted from the beginning.
By doing so, for example, when the keyboard of the electronic musical instrument 11 is tapped as a user operation, the time counter is initialized and the time measurement is performed again.
For example, when the user is operating the electronic musical instrument 11 in the metronome simulation program, the metronome does not stop.

【0051】一方、ステップS106で判断された内容
が、その応用プログラム内でのコマンド(すなわちメイ
ン画面に表示された「戻る」以外の処理項目)である場
合は、シーケンサ9にメイン画面と曲の再生停止の指示
を与え(ステップS109)、コマンドに対応するサブ
ルーチンを実行する(ステップS110)。このサブル
ーチンはサブ画面に関する処理を行うものである。サブ
ルーチンを終了した場合にはステップS101すなわち
当該応用プログラムのメイン画面の表示に戻る。
On the other hand, if the content determined in step S106 is a command within the application program (that is, a processing item other than "Return" displayed on the main screen), the sequencer 9 displays the main screen and the song. A reproduction stop instruction is given (step S109), and a subroutine corresponding to the command is executed (step S110). This subroutine is for performing processing relating to the sub screen. When the subroutine is finished, the process returns to step S101, that is, the display of the main screen of the application program.

【0052】ユーザ操作により「メトロノーム模擬」ま
たは「オルゴール模擬」が選択されたときのステップS
110におけるコマンド処理の手順が図10を参照して
以下に説明される。すなわち図10はメトロノーム模擬
プログラムおよびオルゴール模擬プログラムのコマンド
処理サブルーチンの処理内容を示すものであり、これら
のメトロノーム模擬プログラムおよびオルゴール模擬プ
ログラムのコマンド処理サブルーチンは類似の処理内容
となっているので図10によりこれらを一括して説明す
るものである。
Step S when "Metronome simulation" or "Music box simulation" is selected by user operation
The procedure for command processing at 110 is described below with reference to FIG. That is, FIG. 10 shows the processing contents of the command processing subroutines of the metronome simulation program and the music box simulation program. Since these command processing subroutines of the metronome simulation program and the music box simulation program have similar processing contents, FIG. These are collectively described.

【0053】コマンド実行のためのサブルーチンは、応
用プログラムのメインルーチンと類似の動作をするよう
になっている。すなわち、まずコマンドに対応するサブ
画面を表示する(ステップS201)。次いで時間カウ
ンタの値が所定値に初期化され(ステップS202)、
その後に時間カウンタの値が一つカウントダウンされ
(ステップS203)、そのカウント値が所定値に達し
たか否かが判定される(ステップS204)。カウント
値が所定値に達しない場合、すなわち所定時間に満たな
い場合は、ユーザによる操作の有無を判定する(ステッ
プS205)。ユーザによる操作がなかった場合は、時
間カウンタをダウンカウントするステップS203に戻
り、ステップS203以降のフローを繰り返して実行す
る。
The sub-routine for command execution operates similarly to the main routine of the application program. That is, first, the sub-screen corresponding to the command is displayed (step S201). Next, the value of the time counter is initialized to a predetermined value (step S202),
After that, the value of the time counter is counted down by one (step S203), and it is determined whether or not the count value has reached a predetermined value (step S204). When the count value does not reach the predetermined value, that is, when it does not reach the predetermined time, it is determined whether or not there is an operation by the user (step S205). If there is no operation by the user, the process returns to step S203 where the time counter is down-counted, and the flow after step S203 is repeatedly executed.

【0054】ステップS204の判断にて所定時間を経
過したと判断された場合、すなわち所定時間内に何の操
作がなかったと判断された場合は、サブルーチンを終了
し、メイン画面のプログラムに戻る。
If it is determined in step S204 that the predetermined time has elapsed, that is, if it is determined that no operation has been performed within the predetermined time, the subroutine is terminated and the program on the main screen is returned to.

【0055】一方、ステップS205の判断でユーザに
よる操作があったと判断された場合は、その操作された
内容を判断し(ステップS206)、その結果に応じて
分岐処理を行う。判断された内容がメイン画面に「戻
る」の指示である場合は、サブルーチンを終了し、メイ
ン画面のルーチンに戻る。判断された内容が意味を持た
ない操作である場合は、時間カウンタを初期化するステ
ップS202に戻って再びステップS202以降のフロ
ーを実行する。したがって上記所定時間は初めからカウ
ントし直される。判断された内容がそのサブルーチン内
でのコマンドである場合は、そのコマンドに対応する処
理を行う(ステップS207)。
On the other hand, if it is determined in step S205 that the user has performed an operation, the content of the operation is determined (step S206), and branch processing is performed according to the result. When the determined content is the instruction to "return" to the main screen, the subroutine is ended and the process returns to the routine of the main screen. If the determined content is an operation having no meaning, the process returns to step S202 of initializing the time counter, and the flow of step S202 and subsequent steps is executed again. Therefore, the predetermined time is counted from the beginning. If the determined content is the command in the subroutine, the process corresponding to the command is performed (step S207).

【0056】ユーザ操作により「ミュージックデータ紹
介」が選択されたときのステップS110におけるコマ
ンド処理の手順が図11を参照して以下に説明される。
すなわち図11はミュージックデータ紹介プログラムの
コマンド処理サブルーチンの処理内容を示す。まず、
「ミュージックデータ紹介」のメイン画面においてユー
ザによりコマンドで選択(本実施例では、「その1」、
「その2」、「その3」の項目でミュージックデータ集
の一つを選択)されたミュージックデータ(ミュージッ
クデータ集の中の所定の1曲)に対応する自動演奏情報
(演奏トラックと画像指示トラックを含む)の再生開始
をシーケンサ9に指示する(ステップS301)。選択
されたミュージックデータ集に対応する回数カウンタを
一つインクリメントする。シーケンサ9は曲の終了時に
終了信号をCPU1に返すようになっており、この終了
信号に基づいて曲が終了しているか否かを判定する(ス
テップS302)。曲が終了していた場合はサブルーチ
ンを終了してミュージックデータ紹介プログラムのメイ
ンルーチンに戻り、そのメイン画面を表示する。
The procedure of command processing in step S110 when "introduction to music data" is selected by a user operation will be described below with reference to FIG.
That is, FIG. 11 shows the processing contents of the command processing subroutine of the music data introduction program. First,
A command is selected by the user on the main screen of "Music data introduction" (in the present embodiment, "No. 1",
Automatic performance information (performance track and image instruction track) corresponding to the music data (predetermined one song in the music data collection) selected in "Part 2" and "Part 3" The sequencer 9 is instructed to start reproduction (including step S301) (step S301). The number counter corresponding to the selected music data set is incremented by one. The sequencer 9 returns an end signal to the CPU 1 at the end of the music, and determines whether the music has ended based on the end signal (step S302). If the song has ended, the subroutine is ended, the process returns to the main routine of the music data introduction program, and the main screen is displayed.

【0057】一方、曲が終了していなかった場合は、次
にユーザによる操作(「戻る」の指示)があるか否かを
判定し(ステップS303)、操作がなければ曲終了を
検出するステップS302に戻ることで曲終了まで操作
の有無を監視し続け、操作があればシーケンサ9に再生
停止を指示し(ステップS304)、サブルーチンを終
了してミュージックデータ紹介プログラムのメインルー
チンに戻ってメイン画面を表示する。
On the other hand, if the music has not ended, it is then determined whether or not there is an operation (instruction of "return") by the user (step S303). If there is no operation, the end of the music is detected. By returning to S302, the presence / absence of an operation is continuously monitored until the end of the song, and if there is an operation, the sequencer 9 is instructed to stop the reproduction (step S304), the subroutine is ended, the main routine of the music data introduction program is returned to, and the main screen is displayed. Is displayed.

【0058】次に、製品紹介プログラムが「選択実行モ
ード」で実行されたときの処理内容を図12を参照して
以下に説明する。すなわち、図12は選択実行択モード
における製品紹介プログラムの処理内容を示す。この製
品紹介プログラムは、ミュージックデータ紹介プログラ
ムのコマンド処理サブルーチンと類似の動作をするよう
になっている。すなわち、シーケンサ9に製品紹介プロ
グラムに対応する曲(画像指示トラックあり)の再生開
始を指示し(ステップS401)、製品紹介プログラム
に対応する曲の再生が終了しているか否かを判定する
(ステップS402)。
Next, the processing contents when the product introduction program is executed in the "selection execution mode" will be described below with reference to FIG. That is, FIG. 12 shows the processing contents of the product introduction program in the selection execution selection mode. This product introduction program operates similarly to the command processing subroutine of the music data introduction program. That is, the sequencer 9 is instructed to start the reproduction of the song (there is an image instruction track) corresponding to the product introduction program (step S401), and it is determined whether or not the reproduction of the song corresponding to the product introduction program is completed (step S401). S402).

【0059】曲が終了していた場合は、終了フラグを曲
終了による終了を表す“0”に設定して(ステップS4
06)、製品紹介プログラムを終了し、メインプログラ
ムに戻り、メインメニュー画面の表示を行う。一方、終
了していなかった場合は、さらにユーザによる何らかの
操作があるかを判定し(ステップS403)、操作がな
ければステップS402に戻り、操作があればシーケン
サ9に再生停止を指示し(ステップS404)、終了フ
ラグをユーザ操作による終了を表す“1”に設定して
(ステップS405)、製品紹介プログラムを終了し、
メインプログラムに戻り、メインメニュー画面の表示を
行う。
If the song has ended, the end flag is set to "0" indicating the end of the song (step S4).
06), the product introduction program is terminated, the main program is returned to, and the main menu screen is displayed. On the other hand, if it has not ended, it is determined whether or not there is any further operation by the user (step S403), and if there is no operation, the process returns to step S402, and if there is an operation, the sequencer 9 is instructed to stop the reproduction (step S404). ), The end flag is set to "1" indicating the end by the user operation (step S405), and the product introduction program is ended.
Return to the main program and display the main menu screen.

【0060】次にメインプログラムにおいて「自動実行
モード」が選択されたときの各応用プログラムの順次実
行動作が図13を参照して説明される。「自動実行モー
ド」は、製品紹介プログラム、ミュージックデータ紹介
プログラム、メトロノーム模擬プログラム、オルゴール
模擬プログラムをこの順に繰り返し自動的に実行するも
ので、具体的には前記の各応用プログラムに対応する曲
と画像をシーケンサで順次再生させる。
Next, the sequential execution operation of each application program when the "automatic execution mode" is selected in the main program will be described with reference to FIG. The "automatic execution mode" automatically repeats the product introduction program, the music data introduction program, the metronome simulation program, and the music box simulation program in this order. Specifically, the songs and images corresponding to each of the above application programs are displayed. Are played in sequence by the sequencer.

【0061】まず、メインプログラムにおいて「自動実
行モード」になった場合には、製品紹介プログラムを選
択し(ステップS501)、その選択した応用プログラ
ム(ここでは製品紹介プログラム)を実行する(ステッ
プS502)。この応用プログラムの実行が終了した場
合には、終了フラグの内容を判定する(ステップS50
3)。なお、「自動実行モード」でメトロノーム模擬プ
ログラムあるいはオルゴール模擬プログラムが実行され
た場合は、図9に示す選択実行モードでの処理と同一の
処理が行われる。
First, when the "automatic execution mode" is set in the main program, a product introduction program is selected (step S501), and the selected application program (here, the product introduction program) is executed (step S502). . When the execution of this application program ends, the content of the end flag is determined (step S50).
3). When the metronome simulation program or the music box simulation program is executed in the "automatic execution mode", the same processing as the processing in the selection execution mode shown in FIG. 9 is performed.

【0062】応用プログラムの実行終了は曲の終了、無
操作での時間経過、あるいはユーザ操作によって生じ、
その何れであるかは終了フラグの内容で判別できる。こ
の終了フラグの内容がユーザ操作による終了を表す
“1”である場合には、「自動実行モード」を終了して
メインプログラムのメインメニュー画面に戻る。一方、
終了フラグの内容が、それ以外の曲終了や時間経過によ
る終了を表す“0”である場合(製品紹介プログラムで
は曲終了の“0”)には、シーケンサに対して次のタイ
トルの応用プログラム(ここではミュージックデータ紹
介プログラム)に対応する自動演奏情報(演奏トラック
と画像指示トラックを含む)の選択を指示し(ステップ
S504)、その選択したタイトルの応用プログラムの
実行を指示する(ステップS502)。このような処理
をステップS504で各応用プログラムを順次に選択し
て繰り返す。
The end of the execution of the application program occurs due to the end of the music, the passage of time without any operation, or the user operation.
Which one of them is determined by the content of the end flag. When the content of the end flag is "1" indicating the end by the user operation, the "automatic execution mode" is ended and the main menu screen of the main program is returned to. on the other hand,
When the content of the end flag is “0” indicating the end of other songs or the end due to the passage of time (“0” at the end of the song in the product introduction program), the application program of the next title ( Here, selection of automatic performance information (including a performance track and an image instruction track) corresponding to the music data introduction program) is instructed (step S504), and execution of the application program of the selected title is instructed (step S502). Such processing is sequentially selected and repeated for each application program in step S504.

【0063】このように、実行している応用プログラム
が曲終了や所定時間経過で実行終了した場合には「自動
実行モード」を続けて順繰りに次の応用プログラムを選
択・実行し、一方、応用プログラムの実行中にユーザに
よって操作がなされたことにより実行終了した場合には
「自動実行モード」を終了してメインメニュー画面に戻
る。なお、他の変形例として「自動実行モード」で複数
の応用プログラムの実行を一巡したときに、メインメニ
ュー画面に戻るようにしてもよい。
As described above, when the application program being executed is completed after the end of the music or after a lapse of a predetermined time, the "automatic execution mode" is continued to sequentially select and execute the next application program. When the program ends due to the user's operation during execution, the "automatic execution mode" is ended and the screen returns to the main menu screen. As another modification, the main menu screen may be returned when the execution of a plurality of application programs has been completed in the "automatic execution mode".

【0064】なお、本実施例においては、「自動実行モ
ード」で応用プログラムを実行する順番はメインメニュ
ー画面に表示されたタイトルを上から順番に実行するよ
うになっているが、もちろん本発明はこの選択方法に限
られるものではなく、例えば前記回数カウンタによって
選択された数をスキャンしてその数が一番多いもの順に
実行してもよいし、ランダムに選択してもよい。ただ
し、同一の応用プログラムが連続して2度実行されない
ようにすることが好ましい。
In this embodiment, the order of executing the application programs in the "automatic execution mode" is such that the titles displayed on the main menu screen are executed in order from the top. The selection method is not limited to this. For example, the number selected by the number counter may be scanned and executed in the order of the largest number, or may be selected randomly. However, it is preferable that the same application program is not executed twice in succession.

【0065】また、前記時間カウンタは上述の実施例で
はソフトウェア・タイマにより実現されているが、所定
時間を測定できるものであれば特にこれに限定されるも
のではなく、ハードウェア・タイマあるいはシーケンサ
9のテンポ情報を利用して時間を測定するものであって
もよい。
Although the time counter is realized by the software timer in the above-mentioned embodiment, it is not particularly limited to this as long as it can measure a predetermined time, and the hardware timer or the sequencer 9 can be used. The time may be measured by using the tempo information of.

【0066】なお、前記自動演奏情報記憶装置に、複数
の自動演奏情報とともに、演奏曲あるいは製品に関する
情報を告知する告知情報(例えば曲名、歌手名)を記憶
しておき、メニュー画面表示時あるいは応用プログラム
実行中に自動演奏曲データが演奏される時は、その演奏
曲に対応する前記告知情報を表示装置の一角に表示する
ようにしてもよい。
The automatic performance information storage device stores a plurality of pieces of automatic performance information together with notification information (for example, song name, singer name) for notifying information about a song or product to be played, and when the menu screen is displayed or applied. When the automatic performance music data is played during execution of the program, the notification information corresponding to the performance music may be displayed on one corner of the display device.

【0067】また、この場合においては、応用プログラ
ム実行中にシーケンサ9による自動演奏をさせるか否か
を選択する選択手段を各応用プログラムに設けることが
好ましい。
Further, in this case, it is preferable that each application program is provided with a selection means for selecting whether or not the sequencer 9 performs the automatic performance during execution of the application program.

【0068】さらに、この場合において、シーケンサ9
から送られてくる自動演奏データの終了信号を検出する
終了検出手段を設けておけば、前記所定時間を1曲分の
時間に設定することができるので、曲の終了に伴って応
用プログラムが終了するようにできる。応用プログラム
実行に伴って自動演奏データを一定の規則に基づいて選
択するようにすれば、応用プログラムが自動演奏データ
の終了の度に切り替わるので、違和感を感じさせずに他
の応用プログラムに移行することができる。
Further, in this case, the sequencer 9
If the end detection means for detecting the end signal of the automatic performance data sent from the device is provided, the predetermined time can be set to the time for one song, so that the application program ends with the end of the song. You can do it. If the automatic performance data is selected based on a certain rule as the application program is executed, the application program switches each time the automatic performance data ends, so that the application program is switched to another application program without feeling any discomfort. be able to.

【0069】次にこの実施例の応用プログラム制御装置
に用いられる応用プログラムの一層詳細な具体例を説明
する。
Next, a more detailed concrete example of the application program used in the application program control apparatus of this embodiment will be described.

【0070】〔メトロノーム模擬プログラム(メトロノ
ーム・シミュレータ)〕本発明に係るメトロノーム・シ
ミュレータを実現するメトロノーム模擬プログラムは、
図14に示すように、表示装置4の画面に、シミュレー
ションによりメトロノームの外観を表示し、その動作時
には所定のテンポおよび拍でメトロノームの針が振れる
様子を表示するとともに、楽音を発生するようになって
いる。
[Metronome Simulation Program (Metronome Simulator)] A metronome simulation program that realizes the metronome simulator according to the present invention is
As shown in FIG. 14, the appearance of the metronome is displayed on the screen of the display device 4 by simulation, and at the time of its operation, a state in which the needle of the metronome swings at a predetermined tempo and beat is displayed, and a musical sound is generated. ing.

【0071】このメトロノームの外観および動作する針
の表示方法を以下に説明する。図14に示すように、こ
のメトロノーム模擬プログラムで模擬するメトロノーム
は、本体21にその表面に表示板22を設け、針23が
表示板22の前面で左右に振れるようにしてある。この
メトロノームの外観や針などは、それらの部品を構成す
る画面上の各ドットに対してそれぞれパレット番号を設
定することで色表示を行っており、よって同じパレット
番号に属するドット(よって部品)はすべて同じ色に表
示されるようになっている。
The appearance of the metronome and the method of displaying the operating needle will be described below. As shown in FIG. 14, in the metronome simulated by this metronome simulation program, a display plate 22 is provided on the surface of a main body 21, and a needle 23 can be swung left and right on the front surface of the display plate 22. The appearance and needles of this metronome are displayed in color by setting the pallet number for each dot on the screen that composes those parts. Therefore, dots (and therefore parts) belonging to the same pallet number are displayed. All are displayed in the same color.

【0072】ここで本実施例の場合、画面上に針を表示
できる針表示領域として図14中に番号23a〜23e
で示される5箇所が予め決められており、これらのうち
の一つの針表示領域を黒色に、他の針表示領域を背景色
とし、その黒色の針表示領域を針の振れ方向に隣接する
針表示領域に順次に切り換えていくことによって、あた
かも針が振れているように見せるものである。このよう
に針表示領域23a〜23eはそれぞれ別個のパレット
となっており、針として表示する場合にはそのパレット
の色番号を黒色とし、それ以外では背景色とする。
Here, in the case of the present embodiment, the numbers 23a to 23e in FIG. 14 are designated as needle display areas for displaying needles on the screen.
The five needle display areas are designated in advance, and one of these needle display areas is black and the other needle display area is the background color, and the black needle display area is adjacent to the needle in the deflection direction of the needle. By sequentially switching to the display area, it is as if the needle is swinging. As described above, the needle display areas 23a to 23e are separate palettes, and when displayed as needles, the color number of the palette is black, and the other colors are background colors.

【0073】例えば背景色を白色で、メトロノーム本体
21を白と黒の組合せで表示するように設定する。この
場合、針表示領域のパレットの設定は、例えばメトロノ
ームの中心に針を表示する針表示領域23cのパレット
については、その背景色が全て白色であるので、針表示
領域23cの全範囲のドットを一つのパレットとして設
定し、針として表示するときにはそのパレットを黒色と
し、それ以外のときは白色とする。
For example, the background color is set to white and the metronome body 21 is set to be displayed in a combination of white and black. In this case, for setting the palette of the needle display area, for example, for the palette of the needle display area 23c that displays the needle at the center of the metronome, the background color is all white, so dots in the entire range of the needle display area 23c are set. It is set as one palette, and when it is displayed as a needle, the palette is black, and in other cases, it is white.

【0074】一方、針の背景にメトロノーム本体21が
ある針表示領域23a、23b、23d 、23eについ
ては、その全範囲のドットを一つのパレットとして設定
してしまうと、その針表示領域を針を示す黒色とした場
合はよいが、針が存在しないことを表現する背景色の白
色とした場合に、その針表示領域に重なっているメトロ
ノーム本体21の黒色部分まで白色となってしまう。
On the other hand, for the needle display areas 23a, 23b, 23d, and 23e in which the metronome body 21 is in the background of the needles, if the dots in the entire range are set as one palette, the needle display area Although it is preferable to use the black color shown in the drawing, if the background color that expresses the absence of the needle is white, the black portion of the metronome body 21 that overlaps the needle display area also becomes white.

【0075】図17はこのような重なり部分を持つ針表
示領域23eを例にしてパレットの設定法を説明する図
である。すなわち、針表示領域23eに対し一つのパレ
ットとして取り扱うドットは、白色の表示板22と重な
る領域23e1 と、本体21と重なる部分のうち本体の
色が白色になっている部分の領域23e2 と、白地に黒
点が散りばめられている領域23e3 中の白色部分と、
背景の白色の領域23e4 とする。すなわち、分割され
た領域23e1 +23e2 ++23e3 +23e4 を一
つのパレットとして設定する。これにより、針表示領域
23eに対応するパレットの色番号を黒に指定した場合
には、その針表示領域23eに針が黒で表示されるよう
になる。色番号を背景色と同じ白にした場合には、その
針は白で表示されるため、実際には針は見えなくなる
が、その際、上記のようにパレットを分割してあるの
で、メトロノーム本体部分まで白色に変えられることは
なく、画像表示の違和感をなくせる。
FIG. 17 is a diagram for explaining a pallet setting method using the needle display area 23e having such an overlapping portion as an example. That is, the dots handled as one palette for the needle display area 23e are an area 23e 1 overlapping the white display plate 22 and an area 23e 2 of the part overlapping the main body 21 where the main body color is white. , A white part in a region 23e 3 in which black dots are scattered on a white background,
The white area 23e 4 of the background. That is, the divided areas 23e 1 + 23e 2 ++ 23e 3 + 23e 4 are set as one palette. Accordingly, when the color number of the palette corresponding to the needle display area 23e is designated as black, the needle is displayed in black in the needle display area 23e. If the color number is set to the same white as the background color, the needle will be displayed in white, so the needle will not be visible, but at that time, since the palette is divided as described above, the metronome body Even the part is not changed to white, which makes it possible to eliminate the discomfort of image display.

【0076】このようにして5つの針表示領域に対応し
て各パレットを設定しておき、1つの針表示領域だけを
黒色として針を表示し、残りの針表示領域を白色とする
と、画面上では1つの針のみが黒色に表示されるように
なり、その黒色に表示する針表示領域を順次に切り換え
ることにより、針があたかも動いているように見えるよ
うになる。
In this way, if each palette is set corresponding to the five needle display areas and only one needle display area is displayed in black and the needles are displayed and the remaining needle display areas are displayed in white, the screen is displayed. Then, only one needle is displayed in black, and the needles are displayed as if they are moving by sequentially switching the needle display areas displayed in black.

【0077】上述のように、針表示領域の色の切換え
は、その領域に設定されたパレットに対応する色番号を
黒と白に変更するだけでよく、処理が非常に簡素化され
る。
As described above, the color change of the needle display area is only required to change the color number corresponding to the palette set in that area to black and white, which greatly simplifies the processing.

【0078】このメトロノーム模擬プログラムが起動さ
れると、まず前処理(図9のステップS100の処理)
として、予め定めたテンポ設定値と拍設定値がテンポラ
リ・メモリに設定される。シーケンサ9がメトロノーム
模擬プログラムのメイン画面用に定めた曲の再生を開始
し、メトロノーム音が再生されるとともに、それに同期
してメトロノームの針が振れる様子が表示される。自動
演奏情報記憶装置7にはメトロノーム模擬プログラム用
の自動演奏情報として、0、2、3、4、6の各拍に対
応してそれぞれ1小節からなるメトロノーム音の発生を
指示する演奏トラックおよび画像指示トラックからなる
曲が予め記憶されており、シーケンサ9は上記テンポラ
リ・メモリに設定された拍設定値に応じてそれに対応し
た曲を自動演奏情報記憶装置7から読み出すとともに、
その曲の演奏を上記テンポラリ・メモリに設定されたテ
ンポで1小節を繰り返し演奏する。
When this metronome simulation program is activated, first, preprocessing (processing of step S100 in FIG. 9) is performed.
As a result, the preset tempo setting value and beat setting value are set in the temporary memory. The sequencer 9 starts the reproduction of the music set for the main screen of the metronome simulation program, the metronome sound is reproduced, and the state in which the metronome needle shakes in synchronization with the sound is displayed. In the automatic performance information storage device 7, as the automatic performance information for the metronome simulation program, a performance track and an image for instructing the generation of a metronome sound consisting of one bar corresponding to each beat of 0, 2, 3, 4, and 6. A song consisting of an instruction track is stored in advance, and the sequencer 9 reads a song corresponding to the beat set value set in the temporary memory from the automatic performance information storage device 7, and
The performance of the song is repeated for one bar at the tempo set in the temporary memory.

【0079】この画像指示トラックの先頭には、表示板
22の中央位置に針23cがある状態のメトロノームの
外観とタイトル25とアイコン表示24との画像情報を
表示することを指示する画像指示情報が記憶されてお
り、さらに曲の進行に伴う所定タイミング毎に、メトロ
ノームの針振れ方向に隣接する針表示領域をそれぞれ表
示する2つのパレットの色番号を指定する画像指示情報
が記憶されている。曲の再生中に色番号を指定する画像
指示情報を読み出す度に、指定されたパレットの色番号
を書き換えるよう表示装置4を制御する。この画像指示
情報は、それまで黒色で表示されていた針表示領域の表
示色を背景色(白色)で表示し、その針にその振れ方向
に隣接するそれまで背景色(白色)で表示されていた針
表示領域の表示色を黒色で表示するような内容になって
いる。曲の進行に伴う各タイミングによって黒色に表示
する針表示領域をその振れ方向に順次に移動させていく
ようにしてあるため、黒色の針が振れているように見え
る。以上の動作を繰り返してメトロノームの針の動きを
模倣することができる。「カッツ」のメトロノーム音は
針が左端と右端の両方の位置で常時発音し、「チーン」
のメトロノーム音は拍に同期したタイミングで、針が左
または右端の位置に表示されたときに発音するようにな
っている。
At the beginning of the image instruction track, there is an image instruction information for instructing to display the appearance of the metronome with the needle 23c at the center position of the display plate 22 and the image information of the title 25 and the icon display 24. In addition, the image indication information that specifies the color numbers of the two palettes that respectively display the needle display areas adjacent to each other in the needle shake direction of the metronome is stored at predetermined timings as the music progresses. The display device 4 is controlled so that the color number of the designated palette is rewritten each time the image instruction information for designating the color number is read during the reproduction of the music. In this image instruction information, the display color of the needle display area that was previously displayed in black is displayed in the background color (white), and it is displayed in the background color (white) that is adjacent to the needle in the shake direction until then. The display color of the needle display area is displayed in black. Since the needle display area displayed in black is sequentially moved in the swing direction at each timing as the music progresses, the black needle looks like swinging. By repeating the above operation, the movement of the needle of the metronome can be imitated. The "cats" metronome sound is always produced by the hands at both the left and right ends, and the "chin"
The metronome sound of is sounded at the timing synchronized with the beat when the needle is displayed at the left or right end position.

【0080】なお、後述するようにメトロノームの拍お
よびテンポはサブ画面で変更設定可能であるが、「自動
実行モード」あるいはメインメニュー画面からメトロノ
ーム模擬プログラムが起動された場合には、当初、所定
の固定された拍の曲を所定の固定されたテンポで演奏
し、メイン画面からサブ画面に移行して拍、テンポの変
更を行った後にサブ画面からメイン画面に戻った時の
み、その変更された拍、テンポで演奏するようになって
いる。これは、拍、テンポを変更設定したユーザとは別
のユーザがメトロノーム模擬プログラムを使用する場合
に違和感を感じないようにするためである。「選択実行
モード」として起動された場合に所定時間内に操作がな
ければメトロノーム模擬プログラムを終了し、メインプ
ログラムに戻ってメインメニュー画面を表示する。
As will be described later, the beat and tempo of the metronome can be changed and set on the sub screen. However, when the metronome simulation program is started from the "automatic execution mode" or the main menu screen, it is initially set to a predetermined value. Only when you play a song with a fixed beat at a fixed tempo, move from the main screen to the sub screen, change the beat and tempo, and then return from the sub screen to the main screen It is designed to perform at the beat and tempo. This is to prevent an uncomfortable feeling when a user other than the user who has changed the beat and tempo uses the metronome simulation program. If the operation is started in the "selection execution mode" and there is no operation within a predetermined time, the metronome simulation program is terminated, the main program is returned to and the main menu screen is displayed.

【0081】図14に示すように、メトロノームが動作
するメイン画面の右上には、「戻る」、「テンポ」、
「拍」のアイコン24が表示されており、「選択実行モ
ード」ではこれらのアイコンによって動作状態の指定が
可能になる。マウスで「戻る」を選択した場合あるいは
所定時間にわたりユーザによる操作が何もない場合は、
メトロノーム模擬プログラムを終了し、前記メインプロ
グラムのメインメニュー画面に戻る。
As shown in FIG. 14, "Return", "Tempo",
The “beat” icon 24 is displayed, and in the “selection execution mode”, these icons allow the operating state to be designated. If you select "Return" with the mouse or if there is no user operation for the specified time,
The metronome simulation program is terminated, and the main menu screen of the main program is returned to.

【0082】前記メイン画面にて「テンポ」が選択され
た場合は、シーケンサ9を停止させることにより、メト
ロノームの針の動き表示を停止させるとともに、メトロ
ノーム音の再生も停止させる。続いてテンポ設定に対応
するサブルーチンが起動され、図15に示すようにメト
ロノームの針23cが表示板22の中央位置に設定され
ている画像が表示される。さらにテンポ設定ウィンドウ
26を構成する各ドット(それまで背景色に対応するパ
レットが割り当てられていた)に別の色に対応するパレ
ットを割り当て、それ以前の表示画面に対応する画面に
上書きすることにより図15に示すテンポ設定ウィンド
ウ26(サブ画面)を表示する。テンポ設定ウィンドウ
26は、実際のメトロノームのテンポ表示と同様に針上
に移動設定可能な重り27が表示される。マウスのカー
ソルを重り27に合わせ、クリックすることによって重
りが上下に移動可能になる。この重り27を所望のテン
ポ位置に合わせて再びクリックすることによって、テン
ポを設定することができる。
When "tempo" is selected on the main screen, the sequencer 9 is stopped to stop the display of the movement of the needle of the metronome and the reproduction of the metronome sound. Then, the subroutine corresponding to the tempo setting is activated, and an image in which the metronome needle 23c is set at the center position of the display plate 22 is displayed as shown in FIG. Furthermore, by assigning a palette corresponding to another color to each dot (which has been assigned a palette corresponding to a background color) that constitutes the tempo setting window 26, and by overwriting the screen corresponding to the previous display screen. The tempo setting window 26 (sub screen) shown in FIG. 15 is displayed. In the tempo setting window 26, a weight 27 that can be moved and set on the needle is displayed as in the actual tempo display of the metronome. By moving the cursor of the mouse to the weight 27 and clicking the weight, the weight can be moved up and down. The tempo can be set by adjusting the weight 27 to the desired tempo position and clicking again.

【0083】また、テンポ設定ウィンドウ表示時に「戻
る」をクリックした場合、あるいは所定時間にわたり何
らの操作もなかった場合は、テンポ設定ウィンドウ26
を消去してテンポ設定サブルーチンを終了し、再びメイ
ンルーチンに戻って、メトロノームをサブ画面により設
定したテンポでスタートさせる。
If "Return" is clicked when the tempo setting window is displayed, or if there is no operation for a predetermined time, the tempo setting window 26
Is erased, the tempo setting subroutine is terminated, the process returns to the main routine again, and the metronome is started at the tempo set on the sub screen.

【0084】図18はテンポ設定のコマンド処理の一つ
の具体例を示すフローチャートであり、前述の図10を
一層具体化したものである。この具体例では、マウスで
カーソルを動かすことにより任意のテンポを選び、左ク
リックすることでその選んだテンポをテンポ設定値とし
て設定してテンポ設定処理を終了し、一方、右クリック
することでテンポ設定を行うことなく(つまり前の値の
ままで)テンポ設定処理を終了するようにしている。
FIG. 18 is a flowchart showing one specific example of the tempo setting command processing, which is a more specific version of the above-mentioned FIG. In this example, move the cursor with the mouse to select an arbitrary tempo, and left-click to set the selected tempo as the tempo setting value and end the tempo setting process, while right-click to set the tempo. The tempo setting process ends without setting (that is, with the previous value).

【0085】メイン画面にて「テンポ」が選択されてテ
ンポ設定に対応するサブルーチン(図18)が起動され
ると、図15に示すテンポ設定画面が表示されるととも
に(ステップS2001)、時間カウンタが初期化され
る(ステップS2002)。カーソルの形状が重り27
に変えられ、テンポ設定ウィンドウ26内におけるテン
ポラリ・メモリの現在のテンポ設定値の位置に表示され
る。この重り27(すなわちカーソル)の位置はマウス
を用いて上下に移動させることができる。マウスを左ク
リックすると(ステップS2004)、そのときのテン
ポ設定ウィンドウ26における重り27で示されるテン
ポ設定値が、テンポラリ・メモリにそれまで設定されて
いたテンポ設定値と書き換えられ(ステップS200
5)、テンポ設定の処理ルーチンが終了してメインルー
チン(図9)に戻る。メインルーチンでは、前述したよ
うにこのテンポラリ・メモリのテンポ設定値に基づいて
曲が演奏される。
When "TEMPO" is selected on the main screen and the subroutine (FIG. 18) corresponding to the tempo setting is started, the tempo setting screen shown in FIG. 15 is displayed (step S2001) and the time counter is displayed. It is initialized (step S2002). Weight of cursor is 27
Is displayed at the position of the current tempo setting value in the temporary memory in the tempo setting window 26. The position of the weight 27 (that is, the cursor) can be moved up and down by using the mouse. When the mouse is left-clicked (step S2004), the tempo setting value indicated by the weight 27 in the tempo setting window 26 at that time is overwritten with the tempo setting value set up to that time in the temporary memory (step S200).
5) The processing routine for setting the tempo ends and the process returns to the main routine (FIG. 9). In the main routine, the tune is played based on the tempo set value in the temporary memory as described above.

【0086】一方、マウスが右クリックされた場合には
(ステップS2006)、テンポラリ・メモリのテンポ
設定値を書き換えることなく、テンポ設定の処理ルーチ
ンを終了する。したがって、メインルーチンにおけるメ
トロノーム模擬のテンポはテンポ設定のサブルーチンを
起動する以前に設定したテンポ設定値で行われる。
On the other hand, when the mouse is right-clicked (step S2006), the tempo setting processing routine is terminated without rewriting the tempo setting value in the temporary memory. Therefore, the tempo of the metronome simulation in the main routine is performed with the tempo setting value set before the tempo setting subroutine is activated.

【0087】マウスが動かされると(ステップS200
7)、その動きに応じてテンポ設定ウィンドウ26上に
おいて重り27の位置が移動されるとともに、時間カウ
ンタが初期化される(ステップS2011)。マウスが
動かされない場合には時間カウンタをカウントダウンす
る(ステップS2008)。マウスが何ら動かされずに
所定時間が経過すると(ステップS2009)、テンポ
設定の処理ルーチンを終了してメインルーチンに戻る。
When the mouse is moved (step S200
7) According to the movement, the position of the weight 27 is moved on the tempo setting window 26, and the time counter is initialized (step S2011). When the mouse is not moved, the time counter is counted down (step S2008). When the mouse does not move at all and a predetermined time elapses (step S2009), the tempo setting processing routine is ended and the process returns to the main routine.

【0088】前記メイン画面にて「拍」が選択された場
合は、拍設定に対応するサブルーチンが起動され、テン
ポ設定と同様に拍設定ウィンドウを表示するドットにパ
レットを割り当て、図16に示されるように、拍設定ウ
ィンドウ28が表示される。このときシーケンサ9は停
止されるので、メトロノームの針が中央位置で停止され
るとともに、メトロノーム音の再生も停止される。
When "beat" is selected on the main screen, a subroutine corresponding to the beat setting is started, and a palette is assigned to the dot for displaying the beat setting window as in the tempo setting, as shown in FIG. As described above, the beat setting window 28 is displayed. At this time, since the sequencer 9 is stopped, the metronome needle is stopped at the center position and the reproduction of the metronome sound is stopped.

【0089】拍設定ウィンドウ28は、実際のメトロノ
ームの拍設定機構のように「2、3、4、6、0」の拍
を表示するとともに、移動可能なレバー29を表示す
る。マウスのカーソルをレバー29に合わせクリックす
ることによりレバー29が左右に移動可能になり、この
レバー29を所望の拍に合わせて再びクリックすること
によって、拍設定することができる。
The beat setting window 28 displays beats of "2, 3, 4, 6, 0" like a beat setting mechanism of an actual metronome, and also displays a movable lever 29. The lever 29 can be moved to the left and right by moving the cursor of the mouse to the lever 29 and clicking, and the beat can be set by clicking the lever 29 again in accordance with a desired beat.

【0090】また、拍設定ウィンドウ28の表示時は、
テンポ設定ウィンドウ表示時と同様に、アイコン24の
「戻る」をマウスでクリックした場合、あるいは所定時
間にわたり何らの操作もなかった場合は、拍設定ウィン
ドウを消去して拍設定サブルーチンを終了し、再びメイ
ンルーチンを起動し、設定された拍に対応するメトロノ
ーム用自動演奏情報の再生が開始され、設定された拍で
メトロノーム音を発音するようになっている。
When the beat setting window 28 is displayed,
As in the case of displaying the tempo setting window, if the "return" icon 24 is clicked with the mouse or if there is no operation for a predetermined time, the beat setting window is erased, the beat setting subroutine is ended, and the operation is restarted. The main routine is started, the reproduction of the metronome automatic performance information corresponding to the set beat is started, and the metronome sound is generated at the set beat.

【0091】図19は拍設定のコマンド処理の一つの具
体例を示すフローチャートであり、前述の図10を一層
具体化したものである。この具体例では、マウスでカー
ソルを動かすことにより任意の拍を選び、左クリックす
ることでその選んだ拍を拍設定値として設定して拍設定
処理を終了し、一方、右クリックすることで拍設定を行
うことなく(つまり前の値のままで)拍設定処理を終了
するようにしている。
FIG. 19 is a flow chart showing one specific example of the beat setting command processing, which is a more specific version of the above-mentioned FIG. In this example, move the cursor with the mouse to select an arbitrary beat, left-click to set the selected beat as the beat setting value, and end the beat setting process, while right-click to select the beat. The beat setting process is ended without setting (that is, with the previous value).

【0092】メイン画面にて「拍」が選択されて拍設定
に対応するサブルーチン(図19)が起動されると、図
16に示す拍設定画面が表示されるとともに(ステップ
S2021)、時間カウンタが初期化される(ステップ
S2022)。カーソルの形状がレバー29に変えら
れ、拍設定ウィンドウ28内におけるテンポラリ・メモ
リの現在の拍設定値の位置に表示される。このレバー2
9(すなわちカーソル)の位置はマウスを用いて左右に
移動させることができる。マウスを左クリックすると
(ステップS2024)、そのときの拍設定ウィンドウ
28におけるレバー29で示される拍設定値が、テンポ
ラリ・メモリにそれまで設定されていた拍設定値と書き
換えられ(ステップS2025)、拍設定の処理ルーチ
ンが終了してメインルーチン(図9)に戻る。メインル
ーチンでは、前述したようにこのテンポラリ・メモリの
拍設定値に基づいて曲が演奏される。
When “beat” is selected on the main screen and the subroutine (FIG. 19) corresponding to the beat setting is started, the beat setting screen shown in FIG. 16 is displayed (step S2021) and the time counter is displayed. It is initialized (step S2022). The shape of the cursor is changed to the lever 29 and displayed at the position of the current beat setting value in the temporary memory in the beat setting window 28. This lever 2
The position of 9 (that is, the cursor) can be moved left and right using the mouse. When the mouse is left-clicked (step S2024), the beat setting value indicated by the lever 29 in the beat setting window 28 at that time is overwritten with the beat setting value that has been set in the temporary memory (step S2025). The setting processing routine ends and the process returns to the main routine (FIG. 9). In the main routine, the tune is played based on the beat setting value of the temporary memory as described above.

【0093】一方、マウスが右クリックされた場合には
(ステップS2026)、テンポラリ・メモリの拍設定
値を書き換えることなく、拍設定の処理ルーチンを終了
する。したがって、メインルーチンにおけるメトロノー
ム模擬の拍は拍設定のサブルーチンを起動する以前に設
定した拍設定値で行われる。
On the other hand, when the mouse is right-clicked (step S2026), the beat setting processing routine is terminated without rewriting the beat setting value in the temporary memory. Therefore, the beat of the metronome simulation in the main routine is performed with the beat set value set before the start of the beat setting subroutine.

【0094】マウスが動かされると(ステップS202
7)、その動きに応じて拍設定ウィンドウ28上におい
てレバー29の位置が移動されるとともに、時間カウン
タが初期化される(ステップS2031)。マウスが動
かされない場合には時間カウンタをカウントダウンする
(ステップS2028)。マウスが何ら動かされずに所
定時間が経過すると(ステップS2029)、拍設定の
処理ルーチンを終了してメインルーチンに戻る。
When the mouse is moved (step S202)
7) Then, the position of the lever 29 is moved on the beat setting window 28 according to the movement, and the time counter is initialized (step S2031). When the mouse is not moved, the time counter is counted down (step S2028). When the mouse is not moved and a predetermined time elapses (step S2029), the beat setting process routine is ended and the process returns to the main routine.

【0095】「自動実行モード」でメトロノーム模擬プ
ログラムが実行されている時は、所定時間にわたりメト
ロノームが動作する様子を実行し、所定時間内に何らの
操作もなければメトロノーム模擬プログラムを終了し、
他の応用プログラムを順次実行する。また、メイン画面
で「戻る」の操作があればメトロノーム模擬プログラム
を終了し、メインメニュー画面に戻る。
When the metronome simulation program is being executed in the "automatic execution mode", a state in which the metronome operates for a predetermined time is executed, and if there is no operation within the predetermined time, the metronome simulation program is terminated,
Other application programs are executed sequentially. Also, if there is a "Return" operation on the main screen, the metronome simulation program is terminated and the main menu screen is displayed again.

【0096】なお、上記メトロノーム模擬プログラムに
おいて、メトロノーム音の演奏情報以外の通常の楽曲の
演奏情報、例えばミュージックデータ紹介において演奏
される演奏情報を演奏し、その演奏情報のテンポおよび
拍に合わせてメトロノームの針が振れる様子を模擬表示
するようにしてもよい。
In the above-mentioned metronome simulation program, performance information of normal music other than the performance information of the metronome sound, for example, performance information performed in the introduction of music data, is played, and the metronome is synchronized with the tempo and beat of the performance information. You may make it display a simulation of how the needle moves.

【0097】本実施例では、針が振れている状態を模擬
するための画面上の針表示領域を5箇所に設定してあ
り、1拍の1/4の時間毎に針の表示位置が移動するの
で、正確なリズムを掴みやすい。なお、1拍をN分割す
るリズムの場合には、針表示領域をN+1箇所にすると
よい。
In the present embodiment, the needle display area on the screen for simulating the swaying of the needle is set at five locations, and the needle display position moves every 1/4 time of one beat. Therefore, it is easy to grasp the accurate rhythm. In the case of a rhythm in which one beat is divided into N, the needle display area may be set to N + 1 places.

【0098】また、針が頂上を通過するときに表示速度
を速くすれば、ゼンマイで動作する本物のメトロノーム
の動作に一層近づいた模擬をすることができる。この場
合、表示消去する針に残像を表示して動きにスピード感
をつけることが好ましい。
Further, if the display speed is increased when the needle passes the apex, it is possible to simulate a motion closer to the motion of a real metronome operating on a mainspring. In this case, it is preferable to display an afterimage on the needle to be erased to give a sense of speed to the movement.

【0099】また、上述の実施例では針の表示色は黒色
だけとしたが、設定した拍によって針の表示色を変える
ようにしてもよい。例えば4拍子の場合は黒、3拍子の
場合は赤、2拍子の場合は青、などのようにする。この
ようにすると、メトロノームの動作が停止している場合
にも、現在何拍子が設定されているかを一目で判別でき
る。
Further, although the needle display color is black only in the above-mentioned embodiment, the needle display color may be changed according to the set beat. For example, black is used for four beats, red is used for three beats, and blue is used for two beats. By doing so, even when the operation of the metronome is stopped, it is possible to determine at a glance how many beats are currently set.

【0100】また、上述の実施例では、メトロノーム模
擬プログラムが「選択実行モード」で選択されたとき、
所定時間以上にわたり無操作が連続した場合には元のメ
インメニュー画面に戻るようにしたが、もちろん、メト
ロノーム模擬プログラムは上記所定時間の経過によって
は終了させずに、「戻る」等の停止指示が与えられたと
きにだけ終了するようにしてもよい。
In the above embodiment, when the metronome simulation program is selected in the "selection execution mode",
When there is no operation for a certain period of time or more, the original main menu screen is displayed.However, of course, the metronome simulation program is not terminated after the above predetermined period of time, and a stop instruction such as "return" is issued. It may be terminated only when given.

【0101】〔オルゴール模擬プログラム(オルゴール
・シミュレータ)〕オルゴール模擬プログラムは、図2
0に示すように、オルゴール30の外観の画像を表示装
置4に表示するとともに、オルゴール曲の再生に伴って
オルゴール30の可動部の間欠的な動作画像を順次に表
示することによって、オルゴール30のドラム部32、
ハンドル部33、あるいは櫛部37等の各可動部分が演
奏データに伴って動いている様子を模擬表示し、ドラム
部32に打ち込まれたピンに対応した演奏情報の楽音
(オルゴール音)を発生するようにしたものである。
[Music Box Simulation Program (Music Box Simulator)] The music box simulation program is shown in FIG.
As shown in 0, an image of the appearance of the music box 30 is displayed on the display device 4, and an intermittent motion image of the movable part of the music box 30 is sequentially displayed as the music box music is reproduced. Drum part 32,
The movable parts such as the handle part 33 or the comb part 37 are simulated and displayed in accordance with the performance data so that the musical tone (music box sound) of the performance information corresponding to the pin driven into the drum part 32 is generated. It is the one.

【0102】オルゴール30が動いている様子を表示す
る方法を以下に説明する。オルゴール模擬プログラムの
メイン画面を構成するのは写真から読み取ったオルゴー
ルの外観の画像30とタイトル名39とアイコン38で
ある。ここで、オルゴール30は図示するように、ドラ
ム部32、このドラム部32を回転するためのハンドル
33、このハンドル33の駆動力をドラム部32に伝え
てその回転に変換するウォームギヤ34、ドラム部32
に打ち込まれたピン46、これらのピン46で弾かれて
楽音を発生する櫛部37、ドラム部32の側端部35、
36等からなる。
A method of displaying the moving state of the music box 30 will be described below. What constitutes the main screen of the music box simulation program is the image 30 of the appearance of the music box read from the photograph, the title name 39, and the icon 38. Here, as shown in the figure, the music box 30 includes a drum portion 32, a handle 33 for rotating the drum portion 32, a worm gear 34 for transmitting a driving force of the handle 33 to the drum portion 32 and converting the driving force to the rotation, a drum portion. 32
The pins 46 that are driven in, the comb portion 37 that is repelled by these pins 46 to generate a musical sound, the side end portion 35 of the drum portion 32,
It consists of 36 mag.

【0103】オルゴール30が動いている様子を表示す
るために、オルゴールの可動部分に関してはそれらの動
きに伴う間欠的な位置に対応する複数の画像が用意され
ている。ここで可動部分は、ドラム部32とその側端部
35、36、ハンドル33、ウォームギア34、ドラム
上のピン46、櫛部37である。
In order to display how the music box 30 is moving, a plurality of images corresponding to the intermittent positions associated with the movement of the music box are prepared for the moving parts of the music box. Here, the movable parts are the drum part 32 and its side end parts 35 and 36, the handle 33, the worm gear 34, the pin 46 on the drum, and the comb part 37.

【0104】ハンドル33が回転する様子は、ハンドル
33の回転角度の異なる4つの位置(例えば90°置き
の位置)における画像を、所定のテンポに合わせて順次
に回転方向の画像に切り換えて表示している。具体的に
は、上記4つの回転角度のハンドル33の各画像を構成
するドットに対して、各回転角度に応じて、その回転角
度におけるそのドットの色に対応するパレット番号を指
定するようにし、ハンドル33の回転角度に従って各ド
ットのパレット番号を順次に切り換えて表示するように
している。
The state in which the handle 33 rotates is that images at four positions with different rotation angles of the handle 33 (for example, positions at 90 ° intervals) are sequentially switched to images in the rotating direction in accordance with a predetermined tempo and displayed. ing. Specifically, with respect to the dots forming each image of the handle 33 having the above four rotation angles, the palette number corresponding to the color of the dot at the rotation angle is designated according to each rotation angle. The pallet number of each dot is sequentially switched and displayed according to the rotation angle of the handle 33.

【0105】ウォームギア34は、ハンドル33と同様
に回転角度に応じた2つの画像をテンポに合わせて順次
に切り換えることで、回転を表現している。その際、図
22に示すようなそれぞれパターンの異なる2つのノイ
ズパレットをこのウォームギア34に重ね合わせてこの
ノイズパレットに色情報を順次に切り換えて送出する。
このノイズパレットは離散的な点の集合を1つのパレッ
トとして設定したものであり、ウォームギア34の画像
上にノイズを上書きすることによって画像をぼかし、そ
れにより視覚的にあたかもウォームギア34が回転して
いるように見えるようにしている。
Like the handle 33, the worm gear 34 expresses rotation by sequentially switching two images corresponding to the rotation angle in accordance with the tempo. At that time, two noise palettes each having a different pattern as shown in FIG. 22 are superposed on the worm gear 34, and the color information is sequentially switched and sent to the noise palette.
This noise palette is one in which a set of discrete points is set as one palette, and the image is blurred by overwriting noise on the image of the worm gear 34, whereby the worm gear 34 is visually rotating as if it were rotating. To make it look like.

【0106】ドラム部32は、オルゴール模擬プログラ
ムで再生されるオルゴール曲の演奏情報に基づいて、そ
のオルゴール曲に対応したドラムの円周面上におけるピ
ン46の設置位置をオルゴール模擬プログラムの起動時
(前述の図9のステップS100での前処理として)に
求め、その対応する位置にピン46の画像を表示すると
ともに、オルゴール曲の進行に伴ってピンの画像の表示
位置をドラム周面上においてドラムの回転方向に順次切
り換えるようにしてドラム部32の回転を表現する。こ
の手法については後で詳述する。さらにウォームギアの
表示方法と同じく、ドラム部32とその側端部35、3
6の画像上にパターンの異なる2つのノイズパレットを
重ね合わせてこのノイズパレットに順次切り換えて色情
報を送出している。
The drum section 32 determines the installation position of the pin 46 on the circumferential surface of the drum corresponding to the music box tune on the basis of the performance information of the music box tune reproduced by the music box simulating program when the music box simulating program is started ( In step S100 of FIG. 9 described above), the image of the pin 46 is displayed at the corresponding position, and the display position of the image of the pin is displayed on the drum peripheral surface as the music box music progresses. The rotation of the drum portion 32 is expressed by sequentially switching to the rotation direction of. This method will be described in detail later. Further, similarly to the display method of the worm gear, the drum portion 32 and its side end portions 35, 3
Two noise palettes having different patterns are superimposed on the image of No. 6, and the noise information is sequentially switched to send the color information.

【0107】櫛部37は、各櫛の歯の片縁に沿って図2
3に示すような三角形状のパレット37aを設定してあ
り、再生される演奏情報に基づいてオルゴール曲の進行
に伴いピン46で弾かれる櫛の歯をリアルタイムに求
め、対応する櫛の歯の三角状のパレット37aに色情報
を、ピンで弾かれたときには櫛の歯と同色、弾かれてい
ないときには背景色となるように与えて、それによりあ
たかも櫛の歯が振動するように見えるようにしている。
The comb portion 37 is shown in FIG. 2 along one edge of each comb tooth.
A triangular pallet 37a as shown in FIG. 3 is set, the comb teeth to be flipped by the pin 46 are obtained in real time according to the progress of the music box tune based on the reproduced performance information, and the corresponding comb tooth triangles are obtained. The color information is given to the pallet 37a in the same shape as the teeth of the comb when it is flipped by the pin, and the background color when it is not flipped, so that the teeth of the comb appear to vibrate. There is.

【0108】このオルゴール模擬プログラムが起動され
ると、シーケンサ9がオルゴール模擬プログラムのメイ
ン画面に対応する曲の再生を開始し、オルゴール音の自
動演奏が行われるとともに、それに同期してオルゴール
30の各可動部が動いて自動演奏する様子が表示され
る。すなわち、オルゴール模擬プログラムのメイン画面
に対応する曲の画像指示トラックの先頭には、オルゴー
ル30の各可動部分が所定の回転初期位置にある外観、
タイトル39およびアイコン38の画像情報を指示する
画像指示情報が記憶されており、これを再生することに
より表示装置4にオルゴール30の外観、タイトル3
9、アイコン38が表示される。さらに、この画像指示
トラックには、オルゴール曲の進行に伴う所定タイミン
グ毎(例えば各拍毎)に、各可動部分がそのオルゴール
曲の進行に対応した位置の外観とノイズパレットとを指
示する画像指示情報が記憶されており、この画像指示情
報を読み出す度に、これに基づき画像情報を切り換えて
オルゴール画像の表示内容を切り換える。このように、
画像指示情報は曲進行に伴う所定タイミングにおいてそ
のタイミングにあった画像を指示するように設定してあ
るので、オルゴールの可動部があたかも動いているよう
に見える。
When this music box simulation program is started, the sequencer 9 starts the reproduction of the music corresponding to the main screen of the music box simulation program, and the music box sound is automatically played. You can see the moving parts move and play automatically. That is, at the beginning of the image instruction track of the music corresponding to the main screen of the music box simulation program, the appearance in which each movable part of the music box 30 is at a predetermined rotation initial position,
The image instruction information for instructing the image information of the title 39 and the icon 38 is stored. By reproducing the image instruction information, the appearance of the music box 30 and the title 3 are displayed on the display device 4.
9. Icon 38 is displayed. Further, on this image instruction track, an image instruction for instructing the appearance of the position where each movable part corresponds to the progression of the music box tune and the noise pallet at every predetermined timing (for example, each beat) accompanying the progression of the music box tune. Information is stored, and every time the image instruction information is read, the image information is switched based on this information and the display content of the music box image is switched. in this way,
Since the image instruction information is set so as to instruct the image at the predetermined timing as the music progresses, the moving part of the music box looks as if it is moving.

【0109】このオルゴール模擬プログラムは「選択実
行モード」として起動された場合には所定時間内に操作
がなければ終了し、メインプログラムに戻る。
When the music box simulation program is started in the "selection execution mode", if there is no operation within a predetermined time, it ends and returns to the main program.

【0110】なお、後述するようにオルゴール30で演
奏される演奏情報はサブ画面で変更設定可能であるが、
「自動実行モード」あるいはメインメニュー画面からオ
ルゴール模擬プログラムが起動された場合、その当初に
は所定の固定の演奏情報で演奏が行われ、サブ画面から
メイン画面に戻った時のみ当該サブ画面で変更された演
奏情報で演奏が行われるようになっている。これは演奏
情報を変更設定したユーザとは別のユーザが本装置を使
用した場合にオルゴール模擬に違和感を感じないように
するためである。
As will be described later, the performance information played on the music box 30 can be changed and set on the sub screen.
When the music box simulation program is started from the "automatic execution mode" or the main menu screen, the performance is initially performed with fixed fixed performance information, and the sub screen is changed only when the sub screen returns to the main screen. The performance is adapted to be performed according to the performed performance information. This is to prevent a feeling of strangeness in the music box simulation when a user other than the user who has changed and set the performance information uses this device.

【0111】オルゴール模擬プログラムのメイン画面の
右上には、「戻る」「打/抜」「全部抜」のアイコン3
8が表示されている。オルゴール模擬プログラムは、マ
ウスでこの「戻る」を選択した場合あるいは所定時間に
わたりユーザによる操作がない場合には終了し、前記メ
インプログラムのメインメニュー画面に戻る。
In the upper right corner of the main screen of the music box simulation program, the icons 3 for "return", "hit / pull" and "pull all"
8 is displayed. The music box simulation program ends when the user selects this "return" with the mouse or when there is no user operation for a predetermined time, and returns to the main menu screen of the main program.

【0112】このオルゴール模擬プログラムは、オルゴ
ール模擬プログラムで自動演奏される曲の演奏情報を編
集するための編集(EDIT)モードを具備しており、
前記メイン画面にて「打/抜」が選択された場合には、
シーケンサ9に楽音発生中止の指示を与え、編集サブル
ーチンを起動し、メイン画面から図21に示す編集画面
(サブ画面)に切り換わる。このとき、時間カウンタが
起動されて新たに時間を計測する。
This music box simulation program has an edit (EDIT) mode for editing the performance information of the music automatically played by the music box simulation program.
When "Strike / Drill" is selected on the main screen,
An instruction to stop the generation of musical tones is given to the sequencer 9, an edit subroutine is started, and the edit screen (sub screen) shown in FIG. 21 is switched from the main screen. At this time, the time counter is activated to newly measure the time.

【0113】この編集画面は、図21に示すように、中
央にドラム部32を、画面上側には鍵盤42の形で櫛部
37を、画面左側には先頭からの小節数とその小節内の
拍数(1小節=4拍)をそれぞれ表示する小節・拍表示
41を、画面右側にはカーソルの「移動」、ピンの「打
つ/抜く」、メイン画面への「戻る」をマウスで操作す
る際の操作説明表示43〜45をそれぞれ表示する。な
お、このオルゴールにおいては、ドラムの1周は6小
節、すなわち24拍となっている。
As shown in FIG. 21, this edit screen has a drum section 32 in the center, a comb section 37 in the form of a keyboard 42 on the upper side of the screen, the number of bars from the beginning on the left side of the screen, and beats within that bar. When using the mouse to move the bar / beat display 41 that displays the number (1 bar = 4 beats), "move" the cursor on the right side of the screen, "punch / pull" the pin, or "return" to the main screen. The operation explanation displays 43 to 45 are displayed. In this music box, one lap of the drum has 6 bars, that is, 24 beats.

【0114】演奏情報の編集は、小節・拍表示41に従
った所望する拍と鍵盤42に従った所望するピッチとで
示されるドラム上の位置にマウスでカーソルを合わせて
左クリックすると、その位置にピンの画像が表示されて
ドラム部32にピン46を打ち込む様子が模擬される。
また、既に打ち込まれているピン46にマウスでカーソ
ルを合わせて左クリックすると、そのカーソルの位置に
あるピン46の画像が消去されてピンを抜く様子が模擬
される。このピンの打ち/抜きにあたっては、電子楽器
11からその擬態音として、ピンを打つときに例えば
「キューン」という音を鳴らせ、ピンを抜くときには
「ギュ」という音を鳴らせるようにする。
To edit the performance information, move the cursor to the position on the drum indicated by the desired beat according to the measure / beat display 41 and the desired pitch according to the keyboard 42, and left-click to move that position. An image of a pin is displayed on the screen, and a state in which the pin 46 is driven into the drum portion 32 is simulated.
Further, when the mouse is moved to the pin 46 that has already been driven and the cursor is left-clicked, the image of the pin 46 at the position of the cursor is erased, and a state in which the pin is pulled out is simulated. In hitting / pulling out the pin, the electronic musical instrument 11 makes a mimic sound, for example, when the pin is hit, a sound such as "Kune" is made and when the pin is removed, a sound such as "Gu" is made.

【0115】また編集画面において、マウスのカーソル
がドラム部32より上にある場合、すなわち鍵盤形に表
示された櫛部上にマウスのカーソルがある場合は、ドラ
ム部と小節・拍表示41を上から下へスクロールしてド
ラムを逆回転表示し、マウスのカーソルがドラム部32
の筒壁より下側にある場合、ドラム部32と小節・拍表
示41を下から上へスクロールし、ドラムを正回転表示
する。これにより、適宜、ドラム部32の回転を進めた
り戻したりして曲の編集を行える。それぞれ回転する際
は、シーケンサ9に演奏開始あるいは逆演奏開始の指示
楽音を与え、ドラム上のピン46が櫛部42を通過する
際にはそのピン46に対応する櫛歯の楽音を発生するよ
うになっている。
On the edit screen, when the mouse cursor is located above the drum section 32, that is, when the mouse cursor is located on the keyboard-shaped comb section, the drum section and the measure / beat display 41 are displayed from above. Scroll down to display the drum in reverse, and move the mouse cursor to the drum section 32.
When the drum portion 32 and the bar / beat display 41 are below the cylinder wall, the drum portion 32 and the bar / beat display 41 are scrolled from the bottom to the top to display the drum in the normal rotation direction. As a result, the music can be edited by advancing or returning the rotation of the drum portion 32 as appropriate. When each of them rotates, the sequencer 9 is given an instruction musical tone to start the performance or to start the reverse performance, and when the pin 46 on the drum passes the comb portion 42, the musical tone of the comb tooth corresponding to the pin 46 is generated. Has become.

【0116】編集画面においてマウスを右クリックした
場合、あるいは所定時間操作がなかった場合は、編集画
面を消去して編集サブルーチンを終了し、再びメインル
ーチンに戻り、シーケンサ9に編集した演奏情報で演奏
させる。
When the mouse is right-clicked on the edit screen, or when there is no operation for a predetermined time, the edit screen is erased, the edit subroutine is ended, the main routine is returned to again, and the performance information edited by the sequencer 9 is played. Let

【0117】また、前記メイン画面にて「全部抜」が選
択された場合は、オルゴール自動演奏データを消去し、
ドラム部32上のピンも全て消去する。
If "Exclude all" is selected on the main screen, the music box automatic performance data is erased,
All pins on the drum 32 are also erased.

【0118】次に、編集モードにおいて編集画面で作成
した曲の演奏情報に基づいて、その曲の演奏の進行に伴
ってメイン画面のドラム周面上を回転方向に移動するピ
ンをリアルタイムに求めて表示する手法について説明す
る。
Next, on the basis of the performance information of the song created on the edit screen in the edit mode, the pins that move in the rotational direction on the drum peripheral surface of the main screen as the performance of the song progresses are obtained in real time. The method of displaying will be described.

【0119】以下の説明に使用する各記号の意味は以下
の通りである。 TMAX:シーケンサの記憶拍数 n:ドラムに表示できる拍数 P(h,m):メイン画面においてピンを表示する座標 h:基準点の番号(注目している拍数) m:鍵番号 OFS:表示を始める拍 G(OFS):メイン画面におけるOFSの拍のときの
ピン画像情報 H(OFS):メイン画面におけるOFSの拍のときの
画像情報〔=ピン画像情報G(OFS)+背景画像情報
φ〕 TICK:表示を始める拍からの相対拍 Kmax :シーケンサの記憶鍵数
The meaning of each symbol used in the following description is as follows. TMAX: Number of beats stored in the sequencer n: Number of beats that can be displayed on the drum P (h, m): Coordinates for displaying pins on the main screen h: Number of reference point (the number of noticed beats) m: Key number OFS: Beat to start displaying G (OFS): Pin image information at OFS beat on main screen H (OFS): Image information at OFS beat on main screen [= pin image information G (OFS) + background image information φ] TICK: Relative beat from the start of display K max : Number of sequencer memory keys

【0120】このオルゴールにおいては、ドラムの1周
は24拍となっているので、自動演奏情報としては、図
24に示されるように、演奏トラックの24の拍の曲情
報にそれぞれ対応して、画像情報記憶装置8に画像情報
H(OFS)が格納され、この画像情報H(OFS)に
基づいて、その拍に対応した背景画像としてのオルゴー
ルのドラム上にその拍に対応した位置のピンを描いた画
像が表示装置4に表示される。つまり、演奏情報の画像
指示トラックには各拍毎にH(OFS)が指示されてい
て、シーケンサ9はその指示に従って表示装置4にH
(OFS)の画像を表示する。この画像情報H(OF
S)はその拍OFS(ただし、OFSは0〜23)に対
応した背景画像情報φとその拍OFSに対応したピン画
像情報G(OFS)とからなる。背景画像情報φは各拍
に対応したオルゴール背景の画像、オルゴール本体の画
像、ハンドルの画像、ドラムの画像、ウォームギヤの画
像、櫛の画像、ノイズ画像などからなる。
In this music box, one round of the drum has 24 beats. Therefore, as shown in FIG. 24, the automatic performance information corresponds to the music information of the 24 beats of the performance track, respectively. Image information H (OFS) is stored in the image information storage device 8, and based on this image information H (OFS), a pin at a position corresponding to the beat is placed on the drum of the music box as a background image corresponding to the beat. The drawn image is displayed on the display device 4. That is, H (OFS) is instructed for each beat on the image instruction track of the performance information, and the sequencer 9 follows the instruction to indicate H (OFS) on the display device 4.
Display the (OFS) image. This image information H (OF
S) is composed of background image information φ corresponding to the beat OFS (where OFS is 0 to 23) and pin image information G (OFS) corresponding to the beat OFS. The background image information φ includes a music box background image corresponding to each beat, a music box body image, a handle image, a drum image, a worm gear image, a comb image, a noise image, and the like.

【0121】まず、編集画面のドラム上に打ち込んだピ
ン座標をメイン画面のオルゴールのドラム上の座標に変
換する関係式を図25と図26を参照して説明する。図
25(A)に示すような楕円筒を考えると、A点の座標
は、 x=a cosα y=b sinα ・・・(1) A点よりβだけx軸側にシフトしたB点の座標は、 x=a cosα+β y=b sinα ・・・(2) そこで、この楕円筒を原点0を中心にθ回転する。する
と、図25(B)に示すように、B’点の座標は、 x=(a cosα+β) cosθ−b sinα sinθ y=(a cosα+β) sinθ+b sinα cosθ ・・・(3) となる。
First, a relational expression for converting the pin coordinates input on the drum of the edit screen into the coordinates of the music box on the drum of the main screen will be described with reference to FIGS. 25 and 26. Considering an elliptic cylinder as shown in FIG. 25 (A), the coordinates of the point A are as follows: x = a cosα y = b sinα (1) The coordinates of the point B shifted by β from the point A to the x-axis side X = a cos α + β y = b sinα (2) Then, the elliptic cylinder is rotated by θ around the origin 0. Then, as shown in FIG. 25 (B), the coordinates of the point B ′ are as follows: x = (a cos α + β) cos θ−b sin α sin θ y = (a cos α + β) sin θ + b sin α cos θ (3)

【0122】この式(3)の関係をテーブル化した座標
テーブルを作るには、メイン画面におけるドット表現の
座標D(x,y)を、−π/2≦α≦π/2、β=0の
範囲でπ/12刻みで計算し、座標テーブルのP(h,
0)に記憶する。同様に、β=Δ(ただし、Δはドラム
上の同一拍上の隣のピンとの距離)として、座標テーブ
ルのP(h,1)に記憶する。この処理をβ=Kmax ×
Δまで繰り返して、図26に示すように座標テーブルを
完成させる。従って、注目する拍数h、鍵番号mのピン
のメイン画面におけるドット座標はこの図26のテーブ
ルを参照してP(h,m)に対応するドット座標D(x
h ,ym )から得ることができる。
In order to create a coordinate table in which the relationship of the equation (3) is tabulated, the coordinates D (x, y) of the dot expression on the main screen are set to -π / 2≤α≤π / 2, β = 0. Is calculated in steps of π / 12, and P (h,
It is stored in 0). Similarly, β = Δ (where Δ is the distance from the adjacent pin on the same beat on the drum) is stored in P (h, 1) of the coordinate table. This process is performed by β = K max ×
Repeating up to Δ completes the coordinate table as shown in FIG. Therefore, the dot coordinates on the main screen of the pin with the number of beats h and the key number m of interest are the dot coordinates D (x corresponding to P (h, m) with reference to the table of FIG.
h, can be obtained from y m).

【0123】次に、編集モードでの曲の演奏情報の作成
とピン画像の表示の仕方について図27と図28を参照
して説明する。編集コマンドが実行されると、図21に
示すような編集画面の地の画像を表示し(ステップS8
01)、ドラム上において表示を始める拍OFSとそれ
からの相対拍TICKを0にする(ステップS802、
803)。オルゴール模擬プログラムに対応する演奏ト
ラックのOFS+TICKの拍数に鍵番号mのノートオ
ン情報があれば対応する位置にピンを表示する(ステッ
プS804)。この処理を相対拍数TICKを一つずつ
インクリメントし(ステップS805)、ドラムに表示
できる拍数nまで繰り返す(ステップS804〜S80
6)。
Next, how to create performance information of a song and display a pin image in the edit mode will be described with reference to FIGS. 27 and 28. When the edit command is executed, a ground image on the edit screen as shown in FIG. 21 is displayed (step S8).
01), the beat OFS which starts to be displayed on the drum and the relative beat TICK after that are set to 0 (step S802,
803). If the beat number OFS + TICK of the performance track corresponding to the music box simulation program has the note-on information of the key number m, the pin is displayed at the corresponding position (step S804). This process increments the relative beat number TICK one by one (step S805) and repeats until the beat number n that can be displayed on the drum (steps S804 to S80).
6).

【0124】現に編集画面に表示されているドラムの拍
数の範囲(ここでは0〜n)でマウスを操作してドラム
上でピンの打つ/抜くを行った場合、更新サブルーチン
が起動されて(ステップS808)、曲の更新とピンの
表示変更がなされる。図28はこの更新サブルーチンを
示す。図示のように、拍数OFS+h、鍵番号mの位置
にマウスでカーソルが合わせられて左クリックが行われ
た場合、演奏トラックのその位置にノートオン情報があ
るか否かが調べられ(ステップS8081)、ノートオ
ン情報がある場合には上記左クリック操作はピン抜きを
意味するから、そのノートオン情報を削除するとともに
その位置のピンを表示消去する(ステップS808
2)。一方、ノートオン情報がない場合には上記左クリ
ック操作はピン打ちを意味するから、そのノートオン情
報を曲データとして付加するとともに、その位置にピン
を表示する(ステップS8083)。
When the mouse is operated within the range of the number of beats of the drum currently displayed on the edit screen (0 to n in this case) to punch / unpin the drum, the update subroutine is activated ( In step S808), the song is updated and the pin display is changed. FIG. 28 shows this update subroutine. As shown in the figure, when the cursor is placed at the position of beats OFS + h and the key number m and the left click is performed, it is checked whether or not there is note-on information at that position of the performance track (step S8081). If there is note-on information, the left-click operation means pin removal, so the note-on information is deleted and the pin at that position is displayed and erased (step S808).
2). On the other hand, if there is no note-on information, the above-mentioned left-click operation means hitting a pin, so that note-on information is added as music data and a pin is displayed at that position (step S8083).

【0125】マウス操作によりカーソルが編集画面上で
ドラムより上側になったときには、スクロールによるド
ラムの逆回転を意味するから、表示を始める拍OFSを
一つデクリメントし(ステップS810)、反対にドラ
ムより下側になったときには、スクロールによるドラム
の正回転を意味するから、表示を始める拍OFSを一つ
インクリメントする(ステップS809)。このスクロ
ールの結果、表示を始める拍OFSの位置(すなわちピ
ンと櫛歯が接触する位置)に鍵番号mのノートオン情報
があれば、ノートオン信号を送出して電子楽器11によ
りその音を発音する(ステップS811)。この図27
の処理により、オルゴール曲が編集される。
When the cursor is positioned above the drum on the editing screen by the mouse operation, it means that the drum is rotated in the reverse direction by scrolling. Therefore, the beat OFS at which display is started is decremented by one (step S810), and conversely the drum is rotated. When it is on the lower side, it means the normal rotation of the drum by scrolling, and therefore the beat OFS for starting the display is incremented by one (step S809). As a result of this scrolling, if there is the note-on information of the key number m at the position of the beat OFS at which the display is started (that is, the position where the pin and the comb tooth are in contact with each other), a note-on signal is sent and the electronic musical instrument 11 produces the sound. (Step S811). This FIG. 27
The music box music is edited by the processing of.

【0126】次に、編集作成した演奏情報等に従って、
メイン画面のオルゴールのドラム上に表示するピンのピ
ン画像情報G(OFS)を作成する手法を図29、図3
0を参照して説明する。この処理は前述の図9のフロー
チャートにおけるステップS100による前処理として
行われるもので、、オルゴール模擬プログラムが選択さ
れた最初の時あるいはオルゴール模擬プログラムで編集
画面からメイン画面に戻った時に、図29、図30のサ
ブルーチンの形で行うものである。
Then, according to the performance information created by editing,
29 and 3 is a method for creating pin image information G (OFS) of a pin displayed on the drum of the music box on the main screen.
This will be described with reference to 0. This process is performed as a pre-process by step S100 in the flowchart of FIG. 9 described above. When the music box simulation program is first selected or when the music box simulation program returns to the main screen from the edit screen, FIG. This is performed in the form of the subroutine of FIG.

【0127】前述したように、ドラムに表示される各ピ
ンのピン画像情報G(OFS)に対してドラムを含むオ
ルゴール本体等の画像を背景画像情報φとする。編集画
面上の座標PE (h、m)に対応するメイン画面上の座
標P(h,m)を全て計算してテーブル化したもの(す
なわち図26のテーブル)を作成しストアする(ステッ
プS601)。次いで、拍位置を示すためのOFSおよ
びTICKカウンタを初期化し(ステップS602、S
603)、ピン画像作成サブルーチンに進む(ステップ
S604)。
As described above, with respect to the pin image information G (OFS) of each pin displayed on the drum, the image of the music box body including the drum is used as the background image information φ. All the coordinates P (h, m) on the main screen corresponding to the coordinates P E (h, m) on the edit screen are calculated and tabulated (that is, the table in FIG. 26) is created and stored (step S601). ). Next, the OFS and TICK counter for indicating the beat position are initialized (steps S602, S
603), and proceeds to a pin image creation subroutine (step S604).

【0128】このピン画像作成サブルーチンでは、同一
拍においてドラムに表示される全ピンのピン画像情報G
(OFS)を作成する。すなわち、演奏トラックのOF
S+TICKの拍数に鍵番号mのノートオン情報があれ
ば、座標P(TICK,m)にピンを表示するピン画像
を作成し、この操作を当該拍においてドラム上に表示可
能な全てのノートオン情報に対して行って、それらのピ
ン画像の集合をピン画像情報G(OFS)として作成す
る。
In this pin image creation subroutine, the pin image information G of all pins displayed on the drum at the same beat
Create (OFS). That is, the OF of the performance track
If there is note-on information of key number m in the number of beats of S + TICK, a pin image that displays a pin at coordinate P (TICK, m) is created, and all the note-on that can be displayed on the drum for this operation is performed. The process is performed on information and a set of those pin images is created as pin image information G (OFS).

【0129】図30はこのピン画像作成サブルーチンを
示すフローチャートである。このピン画像作成サブルー
チンを図30に従って以下に説明する。まず、鍵番号m
の値を初期化する(ステップS701)。次いで、OF
S+TICKの拍にノートオン信号があるかを調べ(ス
テップS702)、ノートオン信号があれば、座標テー
ブルを参照してそれに対応する座標P(TICK,m)
にピンを表示するピン画像を作成する(ステップS70
3)。この処理を鍵番号がKmax までの各鍵番号につい
て繰り返すことによって、同一拍においてドラム上に表
示される全ピンのピン画像情報G(OFS)を作成する
(ステップS703からS705)。
FIG. 30 is a flow chart showing this pin image creating subroutine. This pin image creating subroutine will be described below with reference to FIG. First, the key number m
The value of is initialized (step S701). Then OF
It is checked whether or not there is a note-on signal in the beat of S + TICK (step S702). If there is a note-on signal, the coordinate table is referred to and the corresponding coordinate P (TICK, m) is obtained.
A pin image for displaying a pin is created (step S70).
3). By repeating this process for each key number up to K max , pin image information G (OFS) of all pins displayed on the drum at the same beat is created (steps S703 to S705).

【0130】このピン画像作成サブルーチンを相対拍T
ICKを順次にインクリメントしつつドラム表示拍数範
囲のnまで繰り返すことによって(ステップS604か
らステップS606)、その拍においてドラムに表示す
る全てのピンのピン画像を作成し、これらのピン画像を
そのOFSの拍で表示する画像情報データG(OFS)
として保存する(ステップS607)。かかる処理を拍
数OFSがTMAXとなるまで繰り返して(ステップS
603からS609)、G(OFS)が24枚完成す
る。ここでOFSは「0」から「23」までである。
Relative beat T
By repeatedly incrementing ICK up to n in the drum display beat range (steps S604 to S606), pin images of all pins displayed on the drum at that beat are created, and these pin images are set to the OFS. Information data G (OFS)
Is stored as (step S607). This processing is repeated until the beat OFS becomes TMAX (step S
From 603 to S609), 24 sheets of G (OFS) are completed. Here, OFS is from “0” to “23”.

【0131】なお、上述のような座標計算を省くため、
ピンを表示する全ての座標を予めテーブルに持っておい
てもよい。こうして作成されたピンの画像データGを背
景画像φに上書きすることによってH(OFS)を作成
することができる。H(OFS)の作成は画面に表示す
る際に背景画像φ(OFS)とG(OFS)よりリアル
タイムに作成して表示してもよいし、オルゴール・シミ
ュレータの前処理S100でH(OFS)を一括して2
4枚作成し、曲の進行に伴って順次にそれを表示するよ
うにしてもよい。
In order to omit the above coordinate calculation,
All coordinates for displaying the pins may be stored in the table in advance. H (OFS) can be created by overwriting the background image φ with the pin image data G created in this way. H (OFS) may be created and displayed in real time from the background image φ (OFS) and G (OFS) when it is displayed on the screen, or H (OFS) may be created in the preprocessing S100 of the music box simulator. 2 in a lump
You may make four pieces and display them one by one as the music progresses.

【0132】「自動実行モード」でオルゴール模擬プロ
グラムが実行されている時は、所定時間にわたりオルゴ
ールが動作する様子を実行し、この所定時間内にユーザ
による操作がなければ、オルゴール模擬プログラムを終
了し、前述の自動実行モードの制御プログラム(図1
3)に従って他の応用プログラムを順次に実行する。
「戻る」の操作があればオルゴール模擬プログラムを終
了し、メインメニュー画面に戻る。
When the music box simulation program is being executed in the "automatic execution mode", the operation of the music box is executed for a predetermined time, and if there is no user operation within this predetermined time, the music box simulation program is terminated. , The control program in the automatic execution mode described above (see FIG.
Other application programs are sequentially executed according to 3).
If there is a "Return" operation, the music box simulation program is terminated and the main menu screen is displayed.

【0133】なお、ある拍において同時発音する音が多
い場合、すなわち同一拍でのピン数が多い場合は、本物
のオルゴールではピンと櫛歯の接触抵抗によってドラム
の回転が遅くなるので、それを模擬するようにドラム部
32の回転が遅くなるように画像表示を制御してもよ
い。
If a large number of sounds are simultaneously produced at a certain beat, that is, if the number of pins at the same beat is large, the rotation of the drum slows down due to the contact resistance between the pins and the comb teeth in a real music box. As described above, the image display may be controlled so that the rotation of the drum unit 32 is slowed.

【0134】なお、上述の実施例では、オルゴール模擬
プログラムが「選択実行モード」で選択されたとき、所
定時間以上にわたり無操作が連続した場合には元のメイ
ンメニュー画面に戻るようにしたが、もちろん、オルゴ
ール模擬プログラムは上記所定時間の経過によっては終
了させずに、「戻る」等の停止指示が与えられたときに
だけ終了するようにしてもよい。
In the above embodiment, when the music box simulation program is selected in the "selection execution mode", if no operation is continued for a predetermined time or longer, the original main menu screen is displayed. Of course, the music box simulation program may not be terminated after the predetermined time has elapsed, but may be terminated only when a stop instruction such as "return" is given.

【0135】〔ミュージックデータ紹介プログラム〕ミ
ュージックデータ紹介プログラムは、フロッピディスク
などの記憶媒体に演奏情報を記憶して市販されているミ
ュージックデータ集(例えばSMF(Standard MIDI Fi
le) ミュージックデータ)を紹介するもので、ミュージ
ックデータ集の中で3つのおすすめミュージックデータ
集を紹介し、ミュージックデータ集の説明を表示すると
ともに、ミュージックデータ集の中の代表曲を演奏する
ものである。
[Music Data Introduction Program] The music data introduction program is a commercially available music data collection in which performance information is stored in a storage medium such as a floppy disk (for example, SMF (Standard MIDI Fi
le) Music data), introduces three recommended music data collections in the music data collection, displays the explanation of the music data collection, and plays a representative song in the music data collection. is there.

【0136】このミュージックデータ紹介プログラムが
起動されると、シーケンサ9がミュージックデータ紹介
プログラムのメイン画面に対応する曲の再生を開始し、
メイン画面が表示されるとともに対応する曲の自動演奏
が開始され、さらに時間カウンタを初期化して所定時間
の計測を開始する。ミュージックデータ紹介プログラム
のメイン画面に対応する曲の画像トラックの先頭には図
31に示す画像の表示を指示する画像指示情報が記憶さ
れている。メイン画面として図31に示すように画面上
側にタイトル51を、画面左半分の窓52に「その1」
のミュージックデータ集のジャケットを、画面右端に複
数のアイコンを縦方向に並べて表示したメニュー画面5
3を表示する。前記アイコン53は、3つのミュージッ
クデータ集のうちの1つを選択する「その1」、「その
2」、「その3」と、プログラムを終了する「戻る」と
がある。なお、メイン画面で「その1」のミュージック
データ集のジャケットが表示されるので、メイン画面に
おいて演奏されるのは「その1」を選択した時に演奏さ
れる曲と同じ曲としてある。ただし、メイン画面と「そ
の1」を選択した時の画面は表示される内容が異なるの
で、画像指示トラックの内容は異ならせてある。
When this music data introduction program is activated, the sequencer 9 starts playing the music corresponding to the main screen of the music data introduction program,
The main screen is displayed and the automatic performance of the corresponding song is started. Further, the time counter is initialized and the measurement of a predetermined time is started. Image instruction information for instructing the display of the image shown in FIG. 31 is stored at the beginning of the image track of the song corresponding to the main screen of the music data introduction program. As the main screen, as shown in FIG. 31, a title 51 is displayed on the upper side of the screen, and "No. 1" is displayed on a window 52 in the left half of the screen.
Menu screen 5 of the jacket of the music data collection of No.5, with multiple icons arranged vertically on the right edge of the screen.
3 is displayed. The icon 53 includes "No. 1", "No. 2", "No. 3" for selecting one of the three music data sets, and "Return" for ending the program. Since the jacket of the music data collection of "No. 1" is displayed on the main screen, what is played on the main screen is the same song as the song played when "No. 1" is selected. However, since the displayed contents are different between the main screen and the screen when "No. 1" is selected, the contents of the image instruction track are different.

【0137】ミュージックデータ紹介プログラムの起動
から所定時間内にユーザがマウスで「そのn」(この例
ではnは1から3)を選択した場合は、シーケンサ9に
演奏停止の指示を与え、図11の曲再生サブルーチンを
起動する。「戻る」が選択された場合はミュージックデ
ータ紹介プログラムを終了し、メインプログラムに戻
る。マウスのカーソルを移動する等の意味を持たない操
作である場合、時間カウンタを初期化し、演奏を続け
る。また、所定時間内にユーザによる操作がなかった場
合はシーケンサに演奏停止を指示し、ミュージックデー
タ紹介プログラムを終了してメインプログラムに戻る。
When the user selects "the n" (n is 1 to 3 in this example) with the mouse within a predetermined time after the start of the music data introduction program, the performance stop instruction is given to the sequencer 9, and the program shown in FIG. Start the song playback subroutine. When "Return" is selected, the music data introduction program is terminated and the main program is returned to. If the operation is meaningless, such as moving the mouse cursor, the time counter is initialized and the performance is continued. If the user does not perform any operation within a predetermined time, the sequencer is instructed to stop the performance, the music data introduction program is terminated, and the process returns to the main program.

【0138】なお、所定時間内にユーザによる操作がな
く、しかも曲が終了した場合は、再度曲の最初に戻って
演奏する。
If there is no user's operation within a predetermined time and the music is finished, the player returns to the beginning of the music and plays again.

【0139】メニュー画面53で「そのn」が選択され
た場合は、曲再生サブルーチンを起動し、シーケンサに
対して選択されたミュージックデータ集に対応する曲の
再生を開始させる。このとき再生される曲は選択された
ミュージックデータ集の代表的な曲である。さらに、こ
のとき演奏される曲の自動演奏情報には画像指示トラッ
クが設けられており、ミュージックデータ集のジャケッ
トを、メニュー画面53で表示していたジャケットの画
像に上書きし、図32に示すように、そのミュージック
データ集に関する情報(曲名リスト、演奏中の曲名等)
を表示する情報ウィンドウ54を画面右側に上書き表示
する。
When "the n" is selected on the menu screen 53, the music reproduction subroutine is activated and the sequencer is caused to start reproduction of the music corresponding to the selected music data set. The music played at this time is a representative music of the selected music data collection. Further, an image instruction track is provided in the automatic performance information of the music played at this time, and the jacket of the music data collection is overwritten on the image of the jacket displayed on the menu screen 53, as shown in FIG. , Information about the music data collection (list of song titles, song titles being played, etc.)
The information window 54 for displaying is overwritten on the right side of the screen.

【0140】シーケンサ9は演奏開始に伴って、曲終了
をスキャンしていて、曲終了時に終了信号を返すように
なっている。演奏中ユーザによる操作がなく、シーケン
サ9から終了信号が返された場合、曲再生サブルーチン
を終了してメインルーチンに戻る。またユーザがマウス
で「戻る」を選択した場合は、シーケンサ9に演奏停止
の指示を与え、情報ウィンドウ54を消去して曲再生サ
ブルーチンを終了し、メインルーチンに戻る。
The sequencer 9 scans the end of the music at the start of the performance and returns an end signal at the end of the music. When there is no operation by the user during the performance and the end signal is returned from the sequencer 9, the music reproducing subroutine is ended and the process returns to the main routine. When the user selects "return" with the mouse, the performance stop instruction is given to the sequencer 9, the information window 54 is erased, the music reproduction subroutine is terminated, and the process returns to the main routine.

【0141】前記情報ウィンドウに表示する内容は、上
記のものに限定されるものではなく、例えば、価格、発
売時期、演奏者などを表示するようにしてもよい。
The contents displayed in the information window are not limited to those described above, and prices, sale dates, performers, etc. may be displayed, for example.

【0142】ミュージックデータ紹介プログラムが「自
動実行モード」にて実行された場合、演奏開始とともに
時間カウンタによって所定時間を計測し、所定時間内に
ユーザによる操作があった場合は、ミュージックデータ
紹介プログラムを終了し、メインプログラムに戻る。所
定時間にわたり操作がなければ、ミュージックデータ紹
介プログラムを終了し、次の応用プログラムを実行す
る。
When the music data introduction program is executed in the "automatic execution mode", a predetermined time is measured by the time counter at the start of the performance, and when the user operates within the predetermined time, the music data introduction program is executed. Exit and return to the main program. If there is no operation for a predetermined time, the music data introduction program is ended and the next application program is executed.

【0143】なお、上記曲再生サブルーチンにて自動演
奏中にユーザによって「戻る」が指定された場合は、シ
ーケンサ9に順次にボリュームを絞る指示を与え、ボリ
ューム値が0になったらシーケンサに演奏停止の指示を
与えることでフェードアウトで演奏を終了させ、サブル
ーチンを終了し、メインルーチンに戻るようにしてもよ
い。
If "return" is specified by the user during the automatic performance in the above-mentioned music reproduction subroutine, the sequencer 9 is instructed to successively turn down the volume, and when the volume value becomes 0, the sequencer is stopped. It is also possible to end the performance by fading out by giving the instruction of, and to end the subroutine and return to the main routine.

【0144】また、「自動実行モード」で自動演奏する
際には、過去に演奏されていない曲を自動選択して演奏
するようにしてもよい。この場合、選曲方法は、ランダ
ムに選んでもよいし、過去に演奏された曲をスキップし
て選曲してもよい。
When the automatic performance is performed in the "automatic execution mode", a musical piece which has not been played in the past may be automatically selected and played. In this case, the music selection method may be selected randomly, or the music played in the past may be skipped and selected.

【0145】さらに変形例として、「自動実行モード」
にてミュージックデータ紹介プログラムが実行された場
合、演奏開始とともに時間カウンタによって所定時間を
計測し、計測される所定時間内にユーザによる操作があ
った場合には、ミュージックデータ紹介プログラムを終
了し、メインプログラムに戻り、所定時間にわたり操作
がなければ、「その1」から「その3」のアイコンのう
ちのいずれかを自動的に選択して前記曲再生サブルーチ
ンを起動するようにしてもよい。この場合、サブルーチ
ン実行中に操作があった場合は、ミュージックデータ紹
介プログラムを終了し、メインプログラムに戻り、ユー
ザによる操作がなく曲終了を検出した場合は、次の応用
プログラムを実行する。
As a further modification, "automatic execution mode"
When the music data introduction program is executed, the time counter measures a predetermined time when the performance starts, and if there is an operation by the user within the measured time, the music data introduction program is terminated and the main Returning to the program, if there is no operation for a predetermined time, it is possible to automatically select any one of the icons of "No. 1" to "No. 3" to activate the music piece reproducing subroutine. In this case, if there is an operation during the execution of the subroutine, the music data introduction program is terminated, the process returns to the main program, and if the end of the music is detected without an operation by the user, the next application program is executed.

【0146】さらに、各ミュージックデータ集中の代表
曲以外にユーザが任意に選択して演奏できるようにして
もよい。この場合、ユーザによって選択された回数を各
曲毎にそれぞれカウントする曲数カウンタを設けておけ
ば、消費者に関心のあるミュージックデータ集を知るこ
とができ、アンケート調査的役割を果たすことができ
る。
Furthermore, the user may arbitrarily select and play a piece other than the representative piece of music data concentrated. In this case, if a music number counter that counts the number of times selected by the user is provided for each music, it is possible to know the music data collection that is of interest to the consumer and play a questionnaire survey role. .

【0147】さらに、図9の「選択実行モード」におい
て、ミュージックデータ紹介プログラムを実行した場
合、ステップS106にてマウスのカーソル位置が「そ
のn」のアイコン上にあるときは、「そのn」のアイコ
ンのパレットに色情報を送出してアイコンを反転させる
とともに、「そのn」のミュージックデータ集に対応す
るジャケットのパレットに色情報を送出してジャケット
の画像を適宜表示するようにしてもよい。「そのn」上
にカーソルがないと判断された場合は、意味を持たない
操作としてステップS102に戻る。また、対応ジャケ
ットを表示する処理がされた後も、ステップS102に
戻る。
Furthermore, in the "selection execution mode" of FIG. 9, when the music data introduction program is executed, if the cursor position of the mouse is on the "n" icon in step S106, the "n" is selected. The color information may be transmitted to the icon palette to invert the icon, and the color information may be transmitted to the jacket palette corresponding to the “the n” music data collection to display the jacket image appropriately. If it is determined that the cursor is not on "the n", the operation returns to step S102 as a meaningless operation. Also, after the process of displaying the corresponding jacket is performed, the process returns to step S102.

【0148】〔製品紹介プログラム〕この製品紹介プロ
グラムは紙芝居のように映像をディスプレイに表示して
いくとともに楽音を発生し、製品(例えばディジタルピ
アノ)の主な機能を紹介するものである。
[Product Introduction Program] This product introduction program introduces the main functions of a product (for example, a digital piano) by displaying an image on a display like a picture-story show and generating a musical sound.

【0149】製品の紹介プログラムが起動されると、画
像指示トラックに画像指示情報の書かれた所定の自動演
奏情報を演奏開始する指示をシーケンサ9に与えるとと
もに、前述した画像表示方法で画像トラックに指示され
た画像を表示装置に適宜表示するようになっている。画
像情報データは、例えば図33に示すように、まず製品
の「外観の画像」を表示し、次に曲の進行に合わせて
「音色のコマーシャル画面」、「ハンマー鍵盤の説明画
面」、「豊富なミュージックデータ説明画面」を表示す
るものである。また、当該製品紹介プログラムは、曲終
了が検出された場合および自動演奏中にユーザによる操
作があった場合に終了する。
When the product introduction program is started, the sequencer 9 is instructed to start playing predetermined automatic performance information in which the image instruction information is written in the image instruction track, and the image track is displayed in the image display method described above. The instructed image is appropriately displayed on the display device. As the image information data, for example, as shown in FIG. 33, first, an “appearance image” of the product is displayed, and then a “tone commercial screen”, a “hammer keyboard explanation screen”, and “rich” are displayed as the song progresses. "Music data explanation screen" is displayed. In addition, the product introduction program ends when the end of the song is detected and when the user performs an operation during the automatic performance.

【0150】なお、上述の実施例では本発明に係るメト
ロノーム・シミュレータを応用プログラム制御装置で実
施する1プログラムとして説明したが、もちろん本発明
はこれに限られるものではなく、メトロノーム・シミュ
レータ単体で実施されるものであってもよい。
In the above embodiments, the metronome simulator according to the present invention has been described as one program executed by the application program control device, but the present invention is not limited to this, and the metronome simulator alone is executed. It may be one that is done.

【0151】[0151]

【発明の効果】以上説明したように、本発明によれば、
機械式メトロノームの動作をソフトウェア的に模擬でき
るメトロノーム・シミュレータの処理量を大幅に削減す
ることができる。
As described above, according to the present invention,
The processing amount of the metronome simulator, which can simulate the operation of a mechanical metronome with software, can be significantly reduced.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例装置のハードウェア構成を示す
図である。
FIG. 2 is a diagram showing a hardware configuration of an apparatus according to an embodiment of the present invention.

【図3】自動演奏情報の構成を示す図である。FIG. 3 is a diagram showing a structure of automatic performance information.

【図4】画像表示の仕組みを説明するための図である。FIG. 4 is a diagram for explaining the mechanism of image display.

【図5】メインメニュー画面の例を示す図である。FIG. 5 is a diagram showing an example of a main menu screen.

【図6】選択実行モードの処理概要を説明する図であ
る。
FIG. 6 is a diagram illustrating an outline of processing in a selection execution mode.

【図7】自動実行モードの処理概要を説明する図であ
る。
FIG. 7 is a diagram illustrating an outline of processing in an automatic execution mode.

【図8】メインプログラムのフローチャートである。FIG. 8 is a flowchart of a main program.

【図9】選択実行モード(ミュージックデータ紹介、メ
トロノーム模擬またはオルゴール模擬選択時)のフロー
チャートである。
FIG. 9 is a flowchart of a selection execution mode (when music data introduction, metronome simulation or music box simulation is selected).

【図10】メトロノーム模擬またはオルゴール模擬のコ
マンド処理のフローチャートである。
FIG. 10 is a flowchart of command processing for metronome simulation or music box simulation.

【図11】ミュージックデータ紹介のコマンド処理のフ
ローチャートである。
FIG. 11 is a flowchart of command processing for music data introduction.

【図12】選択実行モード(製品紹介選択時)のフロー
チャートである。
FIG. 12 is a flowchart of a selection execution mode (when product introduction is selected).

【図13】自動実行モードのフローチャートである。FIG. 13 is a flowchart of an automatic execution mode.

【図14】メトロノーム模擬画面を示す図である。FIG. 14 is a diagram showing a metronome simulation screen.

【図15】メトロノーム模擬のテンポ設定画面を示す図
である。
FIG. 15 is a diagram showing a tempo setting screen for a metronome simulation.

【図16】メトロノーム模擬の拍設定画面を示す図であ
る。
FIG. 16 is a diagram showing a beat setting screen of a metronome simulation.

【図17】針表示領域のパレットの設定を説明する図で
ある。
FIG. 17 is a diagram illustrating setting of a palette in a needle display area.

【図18】テンポ設定処理のサブルーチンを示すフロー
チャートである。
FIG. 18 is a flowchart showing a subroutine of tempo setting processing.

【図19】拍設定処理のサブルーチンを示すフローチャ
ートである。
FIG. 19 is a flowchart showing a subroutine of beat setting processing.

【図20】オルゴール模擬画面を示す図である。FIG. 20 is a diagram showing a music box simulation screen.

【図21】オルゴール模擬画面の編集画面を示す図であ
る。
FIG. 21 is a diagram showing an editing screen of a music box simulation screen.

【図22】ノイズパレットを説明する図である。FIG. 22 is a diagram illustrating a noise palette.

【図23】櫛部の振動を模擬する方法を説明する図であ
る。
FIG. 23 is a diagram illustrating a method of simulating vibration of a comb portion.

【図24】オルゴール模擬における自動演奏情報を説明
する図である。
FIG. 24 is a diagram illustrating automatic performance information in a music box simulation.

【図25】ドラムの座標変換を説明する図である。FIG. 25 is a diagram illustrating coordinate conversion of a drum.

【図26】座標変換を行うための座標テーブルを説明す
る図である。
FIG. 26 is a diagram illustrating a coordinate table for performing coordinate conversion.

【図27】編集コマンドのフローチャートである。FIG. 27 is a flowchart of an edit command.

【図28】編集コマンド処理中の更新サブルーチンのフ
ローチャートである。
FIG. 28 is a flowchart of an update subroutine during edit command processing.

【図29】画像情報データ作成のフローチャートであ
る。
FIG. 29 is a flowchart of creating image information data.

【図30】画像情報データ作成処理中のピン画像作成サ
ブルーチンのフローチャートである。
FIG. 30 is a flowchart of a pin image creation subroutine during image information data creation processing.

【図31】ミュージックデータ紹介の画面を示す図であ
る。
FIG. 31 is a diagram showing a music data introduction screen.

【図32】ミュージックデータ紹介の曲再生画面を示す
図である。
FIG. 32 is a diagram showing a music reproduction screen for introducing music data.

【図33】製品紹介の画面を示す図である。FIG. 33 is a diagram showing a product introduction screen.

【符号の説明】[Explanation of symbols]

1 CPU(中央処理装置) 2 RAM(ランダムアクセスメモリ) 3 操作装置 4 表示装置 5 バス 6 プログラム記憶装置 7 自動演奏情報記憶装置 8 画像情報記憶装置 9 シーケンサ 10 MIDIインタフェース 11 電子楽器 1 CPU (Central Processing Unit) 2 RAM (Random Access Memory) 3 Operating Device 4 Display Device 5 Bus 6 Program Storage Device 7 Automatic Performance Information Storage Device 8 Image Information Storage Device 9 Sequencer 10 MIDI Interface 11 Electronic Musical Instrument

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】ディスプレイ装置の画面上に機械式のメト
ロノームの外観を表示してメトロノームの動作を模擬す
るメトロノーム・シミュレータであって、 該メトロノームの針の振れの複数の間欠的な位置に対応
して針を表示するための複数の針表示領域を設け、 これらの針表示領域の各々に該針表示領域に属する画素
を一纏めにしたパレットをそれぞれ割り当てるととも
に、これらのパレットに色情報を割り当てて該色情報に
応じて該パレットに対応する針表示領域を針色または背
景色に色表示するように構成し、 該複数の針表示領域のうちの一つが針色、他が背景色と
なり、該針色の針表示領域が針の振れ方向に、設定され
たテンポで順次に切り替わるように該パレットに割り当
てた色情報を順次に更新するように構成されたメトロノ
ーム・シミュレータ。
1. A metronome simulator for displaying the appearance of a mechanical metronome on the screen of a display device to simulate the operation of the metronome, which corresponds to a plurality of intermittent positions of the deflection of the needle of the metronome. A plurality of needle display areas for displaying the needles are provided, and a palette in which pixels belonging to the needle display area are grouped is assigned to each of these needle display areas, and color information is assigned to these palettes. The needle display area corresponding to the palette is color-displayed in a needle color or a background color according to the color information, and one of the plurality of needle display areas is a needle color and the other is a background color. A metronome configured to sequentially update the color information assigned to the palette so that the color needle display area is switched in the needle deflection direction at a set tempo. Simulator.
【請求項2】時系列な自動演奏情報にメトロノーム音情
報を記録する演奏トラックと針表示領域の表示色を指示
する画像制御情報を記録する画像トラックとを設けると
ともに、発音されるメトロノーム音と画面上に表示され
る針の位置とが同期するように該演奏トラックのメトロ
ノーム音情報と該画像トラックの画像制御情報とを記録
し、該自動演奏情報を自動演奏装置で自動演奏すること
で、メトロノーム音の発音と画面上での針の表示との同
期をとるように構成された請求項1記載のメトロノーム
・シミュレータ。
2. A performance track for recording metronome sound information in time-series automatic performance information and an image track for recording image control information for indicating a display color of a needle display area are provided, and a metronome sound and a screen to be sounded. By recording the metronome sound information of the performance track and the image control information of the image track so that the position of the needle displayed above is synchronized, and automatically playing the automatic performance information by the automatic performance device, the metronome The metronome simulator according to claim 1, wherein the metronome simulator is configured to synchronize the sound generation and the display of the needle on the screen.
【請求項3】該自動演奏情報は拍の種類別にそれぞれ設
けられ、設定された拍に対応した自動演奏情報が自動演
奏装置で自動演奏されるように構成された請求項2記載
のメトロノーム・シミュレータ。
3. The metronome simulator according to claim 2, wherein the automatic performance information is provided for each type of beat, and the automatic performance information corresponding to the set beat is automatically played by the automatic performance device. .
【請求項4】1拍をN分割する自動演奏情報を再生する
ときには画面上に針表示領域をN+1個設けるように構
成された請求項2または3に記載のメトロノーム・シミ
ュレータ。
4. The metronome simulator according to claim 2, wherein N + 1 needle display areas are provided on the screen when the automatic performance information for dividing one beat into N is reproduced.
【請求項5】操作者の指示により画面上にテンポ設定ウ
ィンドウを表示するテンポ設定手段を備え、 該テンポ設定ウィンドウでは、メトロノームの針に重り
が取り付けられた画像が表示されて該重りの位置を入力
手段で調整できるよう構成され、 該重りの取付け位置に応じてテンポの設定値が決定され
て、該テンポ設定値に基づいて該自動演奏装置による自
動演奏のテンポが制御されるように構成された請求項1
〜4のいずれかに記載のメトロノーム・シミュレータ。
5. A tempo setting means for displaying a tempo setting window on the screen according to an operator's instruction, wherein the tempo setting window displays an image in which a weight is attached to a needle of a metronome and displays the position of the weight. The tempo set value is determined according to the attachment position of the weight, and the tempo of automatic performance by the automatic performance device is controlled based on the tempo set value. Claim 1
The metronome simulator according to any one of 4 to 4.
【請求項6】操作者の指示により画面上に拍設定ウィン
ドウを表示する拍設定手段を備え、 該拍設定ウィンドウでは、各種拍が割り当てられた溝に
レバーが係合し、該レバーの位置により設定する拍を選
択する拍設定機構の画像が表示されて該レバーの位置を
入力手段で調整できるよう構成され、 該レバーの設定位置に応じて拍の設定値が決定されて、
該拍設定値に基づいて該自動演奏装置による自動演奏の
拍が制御されるように構成された請求項1〜5のいずれ
かに記載のメトロノーム・シミュレータ。
6. A beat setting means for displaying a beat setting window on a screen according to an operator's instruction, wherein a lever engages with a groove to which various beats are assigned, and the beat setting window is changed depending on the position of the lever. An image of the beat setting mechanism for selecting the beat to be set is displayed, and the position of the lever is configured to be adjustable by the input means. The set value of the beat is determined according to the set position of the lever,
6. The metronome simulator according to claim 1, wherein the beat of the automatic performance by the automatic performance device is controlled based on the beat setting value.
JP07075434A 1994-11-24 1995-03-31 Metronome simulator Expired - Fee Related JP3121739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07075434A JP3121739B2 (en) 1994-11-24 1995-03-31 Metronome simulator

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP29023794 1994-11-24
JP6-290237 1994-11-24
JP07075434A JP3121739B2 (en) 1994-11-24 1995-03-31 Metronome simulator

Publications (2)

Publication Number Publication Date
JPH08201541A true JPH08201541A (en) 1996-08-09
JP3121739B2 JP3121739B2 (en) 2001-01-09

Family

ID=26416566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07075434A Expired - Fee Related JP3121739B2 (en) 1994-11-24 1995-03-31 Metronome simulator

Country Status (1)

Country Link
JP (1) JP3121739B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015068744A (en) * 2013-09-30 2015-04-13 株式会社河合楽器製作所 Metronome program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930859A (en) * 2012-10-06 2013-02-13 管存忠 Electronic metronome
KR101909887B1 (en) * 2017-05-19 2018-10-19 손오현 Pillow with massage means

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015068744A (en) * 2013-09-30 2015-04-13 株式会社河合楽器製作所 Metronome program

Also Published As

Publication number Publication date
JP3121739B2 (en) 2001-01-09

Similar Documents

Publication Publication Date Title
US5689078A (en) Music generating system and method utilizing control of music based upon displayed color
JP3719124B2 (en) Performance instruction apparatus and method, and storage medium
US6245982B1 (en) Performance image information creating and reproducing apparatus and method
US20110191674A1 (en) Virtual musical interface in a haptic virtual environment
JP5198766B2 (en) Recording method of metronome and beat interval corresponding to tempo change
JP2580720B2 (en) Automatic performance device
US6646644B1 (en) Tone and picture generator device
JP2000221976A (en) Music data preparation device and recording medium for recording music data preparation program
JP2002091290A (en) Device and method for displaying playing
JPS6157640B2 (en)
KR100312750B1 (en) Virtual musical performance apparatus and method thereof using sensor
JP3105421B2 (en) Applied program controller
JP3121739B2 (en) Metronome simulator
JP3096221B2 (en) Music box simulator
JP3843735B2 (en) Performance guide method, performance guide device and recording medium
JP3497940B2 (en) Electronic musical instrument display
JP2003114674A (en) Playing information display device and program
JP2000338965A (en) Display method and display device for midi data, and music displayed with midi data
JP2002244652A (en) Electronic musical instrument
JP3717651B2 (en) Lyric display device, computer-readable recording medium applied to the device, and lyrics display method
JP2003108119A (en) Playing information display device and program
JP3052875B2 (en) Sequence data editing method and sequencer
JP2828119B2 (en) Automatic accompaniment device
JP3873872B2 (en) Performance information recording apparatus and program
JP5500143B2 (en) Sound source control device and sound source control program

Legal Events

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