JP2006061560A - Matrix display device and control program for the device - Google Patents

Matrix display device and control program for the device Download PDF

Info

Publication number
JP2006061560A
JP2006061560A JP2004250151A JP2004250151A JP2006061560A JP 2006061560 A JP2006061560 A JP 2006061560A JP 2004250151 A JP2004250151 A JP 2004250151A JP 2004250151 A JP2004250151 A JP 2004250151A JP 2006061560 A JP2006061560 A JP 2006061560A
Authority
JP
Japan
Prior art keywords
designated
mode
ball
matrix
matrix display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004250151A
Other languages
Japanese (ja)
Inventor
Yu Nishibori
佑 西堀
Yasuhiko Asahi
保彦 旭
Toshio Iwai
俊雄 岩井
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2004250151A priority Critical patent/JP2006061560A/en
Publication of JP2006061560A publication Critical patent/JP2006061560A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To make a two-dimensional display of visual interest by making a plotting display corresponding to the lapse of time and coordinates. <P>SOLUTION: In an automatic plotting mode, one predetermined track in performance data used as a performance object is divided every four measures to form one page, and assignment of assigned balls dp and formation of a moving route rt of moving balls mp are carried out on each page. When the moving balls mp coincide with the assigned balls dp, plotting route data drt corresponding to the assigned balls dp are generated, and a square plotting display is enlarged every time plotting update timing comes according to the plotting route data drt. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、マトリクス表示を行うマトリクス表示装置及び該装置の制御プログラムに関する。   The present invention relates to a matrix display device that performs matrix display and a control program for the device.

従来、下記非特許文献1、2に示されるように、テノリオン(登録商標)と呼称されるアプリケーションが知られている。このアプリケーションが動作する携帯電話機やゲーム機等では、それらの表示部等をマトリクス表示装置として用い、横軸にタイミング、縦軸に音高をとってマトリクス状に配列された16×16のグリッド上で点の指定入力を受け付け、タイミングに従って、左側の列から順に、指定点を発光表示すると共に指定点に対応する音高を発音することで、初心者でも簡単な作曲、演奏を楽しめるようになっている。
“ケータイニュース”、[online]、2002年1月16日、アスキー、〔平成16年4月1日検索〕、インターネット<URL:http://k-tai.ascii24.com/k-tai/news/2002/01/16/632762-000.html?geta> “デジスタ・キュレーターの世界”、[online]、デジタル・スタジアム、岩井俊雄、出品作品=テノリオン、〔平成16年4月1日検索〕、インターネット<URL:http://www.nhk.or.jp/digista/lab/digista_ten/curator.html>
Conventionally, as shown in Non-Patent Documents 1 and 2 below, an application called Tenorion (registered trademark) is known. In a mobile phone or a game machine in which this application operates, the display unit or the like is used as a matrix display device, on a 16 × 16 grid arranged in a matrix with timing on the horizontal axis and pitch on the vertical axis. In response to timing, the designated point is input, and the designated point is lit and displayed in order from the left column, and the pitch corresponding to the designated point is pronounced, so even beginners can enjoy simple composition and performance. Yes.
“Keitai News”, [online], January 16, 2002, ASCII, [Search April 1, 2004], Internet <URL: http://k-tai.ascii24.com/k-tai/news /2002/01/16/632762-000.html?geta> “World of Digista Curator”, [online], Digital Stadium, Toshio Iwai, Exhibited work = Tenorion, [Search April 1, 2004], Internet <URL: http://www.nhk.or.jp /digista/lab/digista_ten/curator.html>

しかしながら、上記非特許文献1、2に示すアプリケーションが適用されるマトリクス表示装置では、表示態様が限定的で、視覚的には単調である。従って、時間的要素を取り入れ、視覚的にも面白みのある表示を実現する上で、改善の余地があった。   However, in the matrix display device to which the applications shown in Non-Patent Documents 1 and 2 are applied, the display mode is limited and visually monotonous. Therefore, there is room for improvement in incorporating a temporal element and realizing a visually interesting display.

本発明は上記従来技術の問題を解決するためになされたものであり、その目的は、時間経過と座標に応じた描画表示により、視覚的な面白みのある2次元的な表示を行うことができるマトリクス表示装置及び該装置の制御プログラムを提供することにある。   The present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to provide a visually interesting two-dimensional display by drawing display according to the passage of time and coordinates. A matrix display device and a control program for the device are provided.

上記目的を達成するために本発明の請求項1のマトリクス表示装置は、行または列の一方にタイミング要素が割り当てられた2次元領域(mt)における座標の各々に対応してマトリクス状に配列された複数の可視表示部(mtLED)と、前記複数の可視表示部を制御する可視表示部制御手段(1)と、前記2次元領域の座標の中から指定座標(dp)を指定する座標指定手段(mtSW、S704)と、時間経過に従って前記行または列の前記一方における現在位置を規定するタイミング進行手段(4)とを有し、前記可視表示部制御手段は、前記タイミング進行手段により規定された前記行または列の前記一方の現在位置に、前記座標指定手段により指定された指定座標が存在する場合は、前記複数の可視表示部の少なくとも1つを可視表示させることで、前記存在する指定座標に対応した所定の描画表示を行うことを特徴とする。   In order to achieve the above object, a matrix display device according to claim 1 of the present invention is arranged in a matrix corresponding to each of coordinates in a two-dimensional region (mt) in which a timing element is assigned to one of a row or a column. A plurality of visible display units (mtLED), a visual display unit control unit (1) for controlling the plurality of visible display units, and a coordinate designating unit for designating a designated coordinate (dp) from the coordinates of the two-dimensional region. (MtSW, S704) and timing advance means (4) for defining the current position in the one of the rows or columns according to the passage of time, and the visible display control means is defined by the timing advance means When the specified coordinate specified by the coordinate specifying means exists at the one current position of the row or column, at least one of the plurality of visible display portions is allowed. By displaying, and performs a predetermined drawing display corresponding to the designated coordinate the present.

好ましくは、前記行または列の他方には、座標に対応した発音要素が割り当てられ、前記タイミング進行手段により規定された前記行または列の前記一方の現在位置に、前記座標指定手段により指定された指定座標が存在する場合に、前記存在する指定座標に割り当てられた発音要素に基づく楽音の発生を指示する楽音発生指示手段(1)を有する(請求項2)。この構成によれば、楽音発生と連動して描画表示を行って、音を、聞くだけでなく見て楽しむという新たな楽しみ方が可能となり、イルミネーション的な効果表示により癒し効果も得られる。   Preferably, a pronunciation element corresponding to coordinates is assigned to the other of the row or column, and the coordinate designating unit designates the current position of the one of the row or column defined by the timing advancement unit. When there is a designated coordinate, a musical tone generation instructing means (1) for instructing the generation of a musical tone based on the sound generation element assigned to the existing designated coordinate is provided. According to this configuration, a new way of enjoying not only listening but also enjoying the sound by performing drawing display in conjunction with the generation of the musical sound is possible, and a healing effect can be obtained by the illumination effect display.

また、好ましくは、前記座標指定手段は、演奏データに基づき前記指定座標を指定し、前記可視表示部制御手段は、前記所定の描画表示の態様を、前記演奏データ中の楽音に関する少なくとも1つのパラメータに基づき決定する(請求項3)。この構成によれば、ベロシティ等のパラメータに応じた描画により、曲と連動した描画の態様を楽しめる。   Preferably, the coordinate designating unit designates the designated coordinate based on performance data, and the visual display unit control unit sets the predetermined drawing display mode to at least one parameter relating to a musical sound in the performance data. (Claim 3). According to this configuration, it is possible to enjoy a drawing mode that is linked to music by drawing according to parameters such as velocity.

また、好ましくは、前記可視表示部制御手段は、前記指定座標に対応して表示させる描画表示の各々を、時間的に変化させる(請求項4)。この構成によれば、描画表示の時間的な変化により、一層面白みのある表示を行うことができる。   Preferably, the visual display unit control means temporally changes each of the drawing displays to be displayed corresponding to the designated coordinates. According to this configuration, a more interesting display can be performed by a temporal change in the drawing display.

上記目的を達成するために本発明の請求項5のマトリクス表示装置の制御プログラムは、行または列の一方にタイミング要素が割り当てられた2次元領域における座標の各々に対応してマトリクス状に配列された複数の可視表示部を備えたマトリクス表示装置を制御する、マトリクス表示装置の制御プログラムであって、前記複数の可視表示部を制御する可視表示部制御ステップと、前記2次元領域の座標の中から指定座標を指定する座標指定ステップと、時間経過に従って前記行または列の前記一方における現在位置を規定するタイミング進行ステップとをコンピュータに実行させるプログラムであり、前記可視表示部制御ステップは、前記タイミング進行ステップにより規定された前記行または列の前記一方の現在位置に、前記座標指定ステップにより指定された指定座標が存在する場合は、前記複数の可視表示部の少なくとも1つを可視表示させることで、前記存在する指定座標に対応した所定の描画表示を行うことを特徴とする。   In order to achieve the above object, a control program for a matrix display device according to claim 5 of the present invention is arranged in a matrix corresponding to each of coordinates in a two-dimensional region in which a timing element is assigned to one of a row or a column. A control program for a matrix display device for controlling a matrix display device having a plurality of visible display portions, wherein a visible display portion control step for controlling the plurality of visible display portions, and coordinates of the two-dimensional region A program for causing a computer to execute a coordinate designating step for designating a designated coordinate from a timing advance step for defining a current position in the one of the rows or columns as time elapses, and the visual display unit control step includes the timing Specify the coordinates at the current position of the one of the rows or columns defined by the progress step. If the specified coordinates specified by step is present, said plurality of it to visible display at least one visual display unit, and performs a predetermined drawing display corresponding to the designated coordinate the present.

なお、上記括弧内の符号は例示である。   In addition, the code | symbol in the said parenthesis is an illustration.

なお、上記請求項5記載のプログラムを格納したコンピュータ読み取り可能な記憶媒体は、本発明を構成する。   A computer-readable storage medium storing the program according to claim 5 constitutes the present invention.

本発明によれば、時間経過と座標に応じた描画表示により、視覚的な面白みのある2次元的な表示を行うことができる。   According to the present invention, it is possible to perform a visually interesting two-dimensional display by drawing display according to time and coordinates.

以下、本発明の実施の形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施の形態に係るマトリクス表示装置の全体構成を示すブロック図である。図2は、本マトリクス表示装置の外観図である。本実施の形態のマトリクス表示装置は演奏装置MCとして構成される。演奏装置MCを2台、接続ケーブル30で接続することで、演奏システムが構成され、対戦型のゲームも可能になっている。2台の演奏装置MCを特に区別するときは、自装置MC1及び相手装置MC2と呼称する。   FIG. 1 is a block diagram showing an overall configuration of a matrix display device according to an embodiment of the present invention. FIG. 2 is an external view of the matrix display device. The matrix display device of the present embodiment is configured as a performance device MC. By connecting two performance devices MC with a connection cable 30, a performance system is configured, and a battle-type game is also possible. When the two performance devices MC are particularly distinguished, they are referred to as the own device MC1 and the partner device MC2.

図1に示すように、演奏装置MCは、ROM2、RAM3、タイマ4、記憶入出力装置5、記憶装置6、通信I/F7、他機通信I/F9、マトリクス表示入力部mt、パネルスイッチ10、表示部11、音源12、オフレベル検出部13及びGセンサ24がバス16を介してCPU1にそれぞれ接続されて構成される。音源12には、D/A変換器14を介してサウンドシステム15が接続されている。CPU1にはタイマ4が接続される。   As shown in FIG. 1, the performance device MC includes a ROM 2, a RAM 3, a timer 4, a storage input / output device 5, a storage device 6, a communication I / F 7, another device communication I / F 9, a matrix display input unit mt, and a panel switch 10. The display unit 11, the sound source 12, the off level detection unit 13, and the G sensor 24 are connected to the CPU 1 via the bus 16. A sound system 15 is connected to the sound source 12 via a D / A converter 14. A timer 4 is connected to the CPU 1.

CPU1は、演奏装置MCの制御を司る。ROM2は、CPU1が実行する制御プログラムや各種テーブルデータ等を記憶する。RAM3は、演奏データ、テキストデータ等の各種入力情報、各種フラグやバッファデータ及び演算結果等を一時的に記憶する。タイマ4は、タイマ割り込み処理における割り込み時間や各種時間を計時する。記憶入出力装置5は、記憶媒体であるフラッシュメモリ、フレキシブルディスク等の可搬の記憶媒体17に対してデータの記憶、読み出しを行う。パネルスイッチ10は、各種情報を入力するための複数のスイッチを備え、これらには、例えば、図2に示す操作子群19、エンコーダスイッチ18が含まれる。表示部11は、LCD等で構成される。記憶装置6は、演奏データ等を記憶するほか、上記制御プログラムを含む各種アプリケーションプログラムや各種データ等を記憶することができる。   The CPU 1 controls the performance device MC. The ROM 2 stores a control program executed by the CPU 1 and various table data. The RAM 3 temporarily stores various input information such as performance data and text data, various flags, buffer data, and calculation results. The timer 4 measures the interrupt time and various times in the timer interrupt process. The storage input / output device 5 stores and reads data in and from a portable storage medium 17 such as a flash memory or a flexible disk. The panel switch 10 includes a plurality of switches for inputting various types of information. These include, for example, the operator group 19 and the encoder switch 18 shown in FIG. The display unit 11 is composed of an LCD or the like. In addition to storing performance data and the like, the storage device 6 can store various application programs including the control program, various data, and the like.

通信I/F7には、他のMIDI機器との間でUSB(Universal Serial Bus)端子等を介してMIDI(Musical Instrument Digital Interface)信号の送受信を行うMIDII/Fのほか、上記USB、インターネット等のネットワークを介してデータ通信を行うネットワークI/F、及び、有線または無線のLAN(ローカルエリアネットワーク)等が含まれる。他機通信I/F9は、他の演奏装置MC(相手装置MC2)とのデータ通信を実現する。   The communication I / F 7 includes MIDI (Musical Instrument Digital Interface) signal transmission / reception with other MIDI devices via a USB (Universal Serial Bus) terminal, etc., as well as the USB, Internet, etc. A network I / F that performs data communication via a network, a wired or wireless LAN (local area network), and the like are included. The other-device communication I / F 9 realizes data communication with another performance device MC (partner device MC2).

音源12は、入力される演奏データ乃至発音データを楽音信号に変換する。D/A変換器14は、デジタル/アナログ変換を行い、サウンドシステム15は、アンプ及びスピーカからなり(図示せず)、D/A変換器14から入力される楽音信号を音響に変換する。また、オフレベル検出部13は、音源12から出力される楽音信号からオフレベル信号を検出してそれをCPU1に供給する。なお、音源12は、一部をソフトウェアで構成してもよい。また、音源12を演奏装置MCに内蔵することなく、別体で設けた音源を演奏装置MCに接続し、演奏装置MCから上記音源に発音指示を送るように構成してもよい。   The sound source 12 converts performance data or sounding data that is input into a musical sound signal. The D / A converter 14 performs digital / analog conversion, and the sound system 15 includes an amplifier and a speaker (not shown), and converts a musical sound signal input from the D / A converter 14 into sound. Further, the off level detection unit 13 detects an off level signal from the musical tone signal output from the sound source 12 and supplies it to the CPU 1. Note that a part of the sound source 12 may be configured by software. Alternatively, a sound source provided separately may be connected to the performance device MC without sending the sound source 12 in the performance device MC, and a sound generation instruction may be sent from the performance device MC to the sound source.

Gセンサ24は、例えば市販の加速度センサで構成でき、2次元(X、Y軸)方向における演奏装置MCに加わる加速度を検出する。Gセンサ24を構成するには、2軸加速度センサを用いてもよいし、1軸加速度センサを2つ互いに直交させて設けてもよい。   The G sensor 24 can be composed of, for example, a commercially available acceleration sensor, and detects acceleration applied to the performance device MC in a two-dimensional (X, Y axis) direction. To configure the G sensor 24, a biaxial acceleration sensor may be used, or two uniaxial acceleration sensors may be provided orthogonal to each other.

図2に示すように、演奏装置MCは、外観が箱形に形成され、上記マトリクス表示入力部mt、表示部11、操作子群19及びエンコーダスイッチ18は、その上面に配設される。マトリクス表示入力部mtに対して表示部11側が後方であり、ユーザは、演奏装置MCの後方に居て演奏装置MCを操作することになる。以降、演奏装置MCの前後左右は、ユーザからみて呼称する。   As shown in FIG. 2, the performance device MC has a box-like appearance, and the matrix display input unit mt, the display unit 11, the operator group 19 and the encoder switch 18 are disposed on the upper surface thereof. The display unit 11 side is behind the matrix display input unit mt, and the user is behind the performance device MC and operates the performance device MC. Hereinafter, the front, rear, left and right of the performance device MC are referred to as viewed from the user.

また、図2に示すように、演奏装置MCの前端部には、接続ケーブル30を接続するためのコネクタ23が設けられる。コネクタ23に接続ケーブル30を接続することで、演奏装置MC(自装置MC1)は、他機通信I/F9を介して相手装置MC2とデータ通信可能となる。   Further, as shown in FIG. 2, a connector 23 for connecting the connection cable 30 is provided at the front end of the performance device MC. By connecting the connection cable 30 to the connector 23, the performance device MC (own device MC1) can perform data communication with the counterpart device MC2 via the other-device communication I / F 9.

図3は、マトリクス表示入力部mtの平面図である。図1に示すように、マトリクス表示入力部mtには、複数のマトリクススイッチmtSWから成るマトリクススイッチ群mtSW(n、k)、及び複数のマトリクス表示部mtLEDから成るマトリクス表示部群mtLED(n、k)が含まれる。図3に示すように、マトリクス表示入力部mtは四角形の領域を有し、この領域に、マトリクススイッチmtSWが、縦横16×16のマトリクス状に合計256個配列される。各マトリクススイッチmtSWはプッシュ式スイッチであり、内部にはマトリクス表示部mtLEDが対応して内装されている。なお、各マトリクススイッチmtSWはタッチパネル方式の透過型有機EL(Electronic Luminescence)で構成したパネルスイッチであってもよい。各マトリクス表示部mtLEDは、少なくとも2段階の明るさで発光可能なLED(Light Emitting Diode)である。各マトリクススイッチmtSWは、少なくとも上部が透光部材で構成され、対応するマトリクス表示部mtLEDの発光が視認されるようになっている。   FIG. 3 is a plan view of the matrix display input unit mt. As shown in FIG. 1, the matrix display input unit mt includes a matrix switch group mtSW (n, k) including a plurality of matrix switches mtSW and a matrix display unit group mtLED (n, k) including a plurality of matrix display units mtLED. ) Is included. As shown in FIG. 3, the matrix display input unit mt has a square area, and a total of 256 matrix switches mtSW are arranged in this area in a matrix of 16 × 16. Each matrix switch mtSW is a push-type switch, and a matrix display section mtLED is provided inside correspondingly. Each matrix switch mtSW may be a panel switch configured by a touch panel type transmissive organic EL (Electro Luminescence). Each matrix display unit mtLED is an LED (Light Emitting Diode) capable of emitting light with at least two levels of brightness. Each matrix switch mtSW has at least an upper portion made of a light-transmitting member so that light emission from the corresponding matrix display section mtLED can be visually recognized.

各マトリクススイッチmtSWのマトリクス表示部mtLEDは、マトリクススイッチmtSWの押下操作によって発光、消光するだけでなく、後述するCPU1による各種モードに応じた処理によっても発光制御される。   The matrix display unit mtLED of each matrix switch mtSW is controlled not only to emit light and extinguish when the matrix switch mtSW is pressed, but also to light emission by processing according to various modes by the CPU 1 described later.

以降、マトリクス表示入力部mtにおいて、列(左右)方向をX軸、行(上下)方向をY軸、マトリクス表示入力部mtに対する鉛直方向をZ軸とする。X軸方向は、16列存在し、その座標が「n」で表される。Y軸方向は16行存在し、その座標が「k」で表される。各マトリクススイッチmtSW、及びそのマトリクス表示部mtLEDの個々の特定はX、Y座標で表現可能であり、それぞれmtSW(n、k)、mtLED(n、k)で表される。例えば、最も左下のものは、mtSW(1、1)、mtLED(1、1)である。   Hereinafter, in the matrix display input unit mt, the column (left and right) direction is the X axis, the row (up and down) direction is the Y axis, and the vertical direction with respect to the matrix display input unit mt is the Z axis. There are 16 columns in the X-axis direction, and the coordinates are represented by “n”. There are 16 rows in the Y-axis direction, and the coordinates are represented by “k”. Each specification of each matrix switch mtSW and its matrix display unit mtLED can be expressed by X and Y coordinates, and are expressed by mtSW (n, k) and mtLED (n, k), respectively. For example, the lower left ones are mtSW (1, 1) and mtLED (1, 1).

CPU1は、マトリクススイッチmtSWの個々に対応する発音データKCを生成可能であり、そのための情報がROM2等に記憶されている。この発音データKCは、例えばMIDI信号で構成される演奏データの一種であり、音高、音色、ベロシティ、エフェクト等の楽音パラメータを含んでいる。本実施の形態では、上記発音データKCは、一例として、k値(Y座標)によって音高が異なり、各列(n値)によって音色(楽器音に相当)が異なり、その他の楽音パラメータは全マトリクススイッチmtSWについて同じに設定されている。例えば、k=1では音高が「C4」(中央のCであってMIDIの60が相当する)、k=2では音高「D4」、以降、「E4」、「F4」・・・、k=16では音高「D5」というように、各k値に、鍵盤でいう白鍵に相当する音高が順番に対応付けられている。なお、各k値に対応付ける音高はこれに限られず、例えば、黒鍵の音高(C4#等)を含めてもよい。また、各列(n値)間の音色を同じとしてもよい。特に、後述する自動描画モードにおいては、メロディ演奏を行う上では、全列nの音色を同一とするのが好ましい。   The CPU 1 can generate sound generation data KC corresponding to each of the matrix switches mtSW, and information for that is stored in the ROM 2 or the like. The tone generation data KC is a kind of performance data composed of, for example, MIDI signals, and includes musical tone parameters such as pitch, tone color, velocity, and effects. In the present embodiment, as an example, the tone generation data KC has a different pitch depending on the k value (Y coordinate), a tone color (corresponding to an instrument sound) depending on each column (n value), and other musical tone parameters are all. The same is set for the matrix switch mtSW. For example, when k = 1, the pitch is “C4” (C in the middle and corresponds to MIDI 60), when k = 2, the pitch is “D4”, and thereafter “E4”, “F4”,. At k = 16, a pitch corresponding to a white key on the keyboard is sequentially associated with each k value, such as a pitch “D5”. Note that the pitch associated with each k value is not limited to this, and may include, for example, the pitch of a black key (C4 #, etc.). Moreover, the timbres between the columns (n values) may be the same. In particular, in the automatic drawing mode, which will be described later, it is preferable that the timbres of all the columns n are the same when performing a melody performance.

各マトリクススイッチmtSWは、個別に指等で押下される度に、指定(オン)/指定解除(オフ)される。なお、押下状態にあるときだけ指定(オン)状態とし、非押下状態のときは指定解除(オフ)状態となるように構成してもよい。   Each matrix switch mtSW is designated (on) / undesignated (off) each time it is pressed individually with a finger or the like. Note that the designation (on) state may be set only when the button is in the pressed state, and the designation cancellation (off) state may be set when the button is not pressed.

ここで、本出願人により既に実現されている公知の「順次発音モード」の動作を説明しておく。順次発音モードについては、入力受付に関する処理が、後述する図19のステップS322の「順次発音モードの入力受付処理」で実行され、再生(発光及び発音)に関する処理が、後述する図15のステップS108の「順次発音モード処理」で実行される。順次発音モードでは、各マトリクススイッチmtSWは、指定状態のマトリクススイッチmtSWのマトリクス表示部mtLEDが発光する。マトリクス表示部mtLEDは上記のように2段階発光でき、弱発光と、弱発光より輝度の高い強発光のいずれかで発光する。この順次発音モードでは、マトリクス表示部mtLEDは、非指定状態では消光され、指定状態では弱発光し、後述する発音列Pと一致した時点では強発光する。   Here, the operation of the well-known “sequential sounding mode” already realized by the present applicant will be described. With respect to the sequential sound generation mode, processing related to input reception is executed in “sequential sound generation mode input reception processing” in step S322 of FIG. 19 described later, and processing related to reproduction (light emission and sound generation) is performed in step S108 of FIG. 15 described later. The “sequential pronunciation mode process” is executed. In the sequential tone generation mode, each matrix switch mtSW emits light from the matrix display section mtLED of the specified matrix switch mtSW. The matrix display unit mtLED can emit light in two steps as described above, and emits light by either weak light emission or strong light emission having a higher luminance than the weak light emission. In this sequential sounding mode, the matrix display portion mtLED is extinguished in the non-designated state, emits weak light in the designated state, and emits strong light when coincident with a sounding string P described later.

例えば、図3で例示すると、「斜線付きの○」が弱発光、「●:(黒塗りの○)」が強発光していることを示す。順次発音モードでは、所定の操作により、発音列Pが(左方の)1列目から順に所定速度tで移動し、16列目を過ぎるとまた1列目に戻り、以後これを繰り返す。そして、発音列Pの移動の過程において、発音列Pに存在する指定状態にあるマトリクススイッチmtSWのマトリクス表示部mtLEDが強発光する。同図の例では、7列目にあるマトリクス表示部mtLED(7、2)、mtLED(7、7)、mtLED(7、10)、が強発光している。それと共に、発音列Pに存在する指定状態にあるマトリクススイッチmtSWに対応する発音データKCが生成され、この発音データKCに基づいて、サウンドシステム15から楽音が発生する。なお、この順次発音モードでは、全列nについて音色が自動的に同一に設定されるようにしてもよい。   For example, in FIG. 3, “slashed circles” indicate weak light emission, and “●: (black paint circles)” indicates strong light emission. In the sequential sounding mode, the sounding string P is moved at a predetermined speed t sequentially from the (left) first line by a predetermined operation, and after the 16th line, it returns to the first line, and this is repeated thereafter. Then, in the process of moving the pronunciation string P, the matrix display section mtLED of the matrix switch mtSW in the designated state existing in the pronunciation string P emits strong light. In the example of the figure, the matrix display sections mtLED (7, 2), mtLED (7, 7), and mtLED (7, 10) in the seventh column emit strong light. At the same time, sound generation data KC corresponding to the matrix switch mtSW in the specified state existing in the sound generation string P is generated, and a musical sound is generated from the sound system 15 based on the sound generation data KC. In this sequential sounding mode, the timbre may be automatically set to be the same for all rows n.

従って、ユーザは、マトリクス状に配列されたマトリクススイッチmtSWを、左右方向を時間、上下方向を音高とみなして指定入力することで、簡単な作曲、再生を行うことができる。   Therefore, the user can perform simple composition and reproduction by designating and inputting the matrix switch mtSW arranged in a matrix form with the horizontal direction as time and the vertical direction as pitch.

次に、各種動作モードは、後述する図15〜図26の処理によって実現されるが、これらの処理については後に詳述することとし、まず、各種動作モードの動作を説明する。動作モードには、大別して、「ランダムループモード」、「2点ループモード」、「オルゴールモード」、「順次発音モード」、「自動描画モード」の5モードがあり、これらは排他的にいずれか1つが設定される。このほか、「跳ね返りモード」、「動きモード」があるが、これらは、いずれかが、「ランダムループモード」または「2点ループモード」に加えて設定可能である。   Next, various operation modes are realized by the processes of FIGS. 15 to 26 described later. These processes will be described in detail later, and operations of the various operation modes will be described first. The operation modes can be broadly classified into five modes: “random loop mode”, “two-point loop mode”, “music box mode”, “sequential sounding mode”, and “automatic drawing mode”, and these are exclusive ones. One is set. In addition, there are a “bounce mode” and a “motion mode”, any of which can be set in addition to the “random loop mode” or the “two-point loop mode”.

また、このほかの動作モードに、「リアルタイム描画演奏モード」があり、このリアルタイム描画演奏モードは、「ランダムループモード」、「2点ループモード」、「順次発音モード」または「自動描画モード」の設定の有無にかかわらず設定可能である。上記「動きモード」には、「回転モード」、「Gセンサモード」が含まれ、上記「オルゴールモード」には、「自動スクロールモード」、「手動スクロールモード」が含まれる。これら各種動作モードについて具体的な動作の一例を、図4〜図14を用いて説明する。   As another operation mode, there is a “real-time drawing performance mode”, which is “random loop mode”, “two-point loop mode”, “sequential sounding mode” or “automatic drawing mode”. It can be set with or without setting. The “movement mode” includes “rotation mode” and “G sensor mode”, and the “music box mode” includes “automatic scroll mode” and “manual scroll mode”. An example of specific operations in these various operation modes will be described with reference to FIGS.

これらのうち、本発明の特徴を表す動作モードは、「自動描画モード」であり、その動作例は図12、図13に示されている。   Among these, the operation mode representing the feature of the present invention is the “automatic drawing mode”, and an example of the operation is shown in FIGS. 12 and 13.

本実施の形態では、マトリクス表示部mtLEDが平面視円形で、発光すると、概念的に発光玉として把握できることから、以降、指定状態にあるマトリクススイッチmtSWのマトリクス表示部mtLEDを、「指定玉dp(dp1、dp2、dp3等)」と呼称する。また、発光するマトリクス表示部mtLEDが、順にシフトしていく場合、発光玉が移動するように把握できることから、以降、このような移動する発光玉を「移動玉mp」と呼称する。「移動玉mp」は、マトリクス表示入力部mtにおいては、いずれかのマトリクス表示部mtLED(通常、隣接するマトリクス表示部mtLED)を現在位置に執りつつ時間的に変位する移動座標で規定されるものである。   In the present embodiment, when the matrix display unit mtLED is circular in plan view and emits light, it can be conceptually grasped as a light emitting ball. Henceforth, the matrix display unit mtLED of the matrix switch mtSW in the designated state is designated as “designated ball dp ( dp1, dp2, dp3, etc.) ”. In addition, when the matrix display unit mtLED that emits light is sequentially shifted, it can be grasped that the light emitting ball moves. Therefore, such a moving light emitting ball is hereinafter referred to as a “moving ball mp”. The “moving ball mp” is defined in the matrix display input unit mt by moving coordinates that are displaced in time while holding one of the matrix display units mtLED (usually the adjacent matrix display unit mtLED) at the current position. It is.

また、図4〜図11において、移動玉mpが「二重丸◎」で示され、指定玉dpが「斜線付きの○」または「点線の○」で示されている。「点線の○」は特に、指定解除されたか、変位したか、マトリクス表示入力部mtを外れたか、あるいは発音及び発光のタイミングが過ぎたことにより、発光状態でなくなった指定玉dpを示している。さらに、「●:(黒塗りの○)」は、強発光しているマトリクス表示部mtLED(指定玉dp及び移動玉mpが含まれ得る)を示す。また、図12〜図14において、「斜線付きの○」が弱発光、「●:(黒塗りの○)」が強発光していることを示す。   Further, in FIGS. 4 to 11, the moving ball mp is indicated by “double circle ◎”, and the designated ball dp is indicated by “◯ with hatching” or “◯ with dotted line”. In particular, “dotted circles” indicate designated balls dp that are no longer in a light emitting state due to being undesignated, displaced, out of the matrix display input section mt, or due to the timing of sound generation and light emission. . Furthermore, “●: (black circles)” indicates a matrix display portion mtLED that emits strong light (the designated ball dp and the moving ball mp may be included). Further, in FIGS. 12 to 14, “O” with diagonal lines indicates weak light emission, and “●: (black paint ○)” indicates strong light emission.

図4は、「ランダムループモード」の動作を模式的に示すマトリクス表示入力部mtの遷移図である。   FIG. 4 is a transition diagram of the matrix display input unit mt schematically showing the operation in the “random loop mode”.

ランダムループモードでは通常、まず、所望のマトリクススイッチmtSWを指等で1つ指定(オン)することで、移動玉mp(最初は停止している)を発生させ、2つ以上指定(オン)することで、上記発生している移動玉mpの移動ルートrt(rt1、rt2等)を生成する。すなわち、図4(a)に示すように、1つ目の指定玉dp1を指定すると、それが弱発光すると共に、その座標に対応した楽音が連続発音される(図18のステップS303→S304→S309)、次に2つ目の指定玉dp2を指定すると、同様にそれが弱発光すると共に、移動ルートrt1が生成されると共に、上記楽音の連続発音が停止される(図4(b)、図18のステップS309→S310→S311)。ここで、移動ルートrt1は、指定玉dp1、dp2間を最短距離で結ぶ直線上を往復するようなルートに設定され、実際には直線上にマトリクス表示部mtLEDが存在するとは限らないので、元も直線に近接しているマトリクス表示部mtLEDが選択されて、略直線的なルートとなる。また、移動ルートrt1の生成と同時に移動玉mpも発生する。本実施の形態では、移動玉mpは、最新の指定玉dp2と同じ位置に発生するようにしているが、これ以外の指定玉dp(例えば最も古い指定玉dpであって、ここでは指定玉dp1)の位置に発生するようにしてもよい。   In the random loop mode, normally, by first designating (turning on) one desired matrix switch mtSW with a finger or the like, a moving ball mp (initially stopped) is generated, and two or more are designated (turned on). Thus, the moving route rt (rt1, rt2, etc.) of the generated moving ball mp is generated. That is, as shown in FIG. 4 (a), when the first designated ball dp1 is designated, it emits light weakly and a musical tone corresponding to the coordinates is continuously generated (steps S303 → S304 → FIG. 18). S309) Next, when the second designated ball dp2 is designated, it similarly emits light weakly, a moving route rt1 is generated, and continuous tone generation of the above musical tone is stopped (FIG. 4 (b), Steps S309 → S310 → S311 in FIG. Here, the movement route rt1 is set to a route that reciprocates on the straight line connecting the designated balls dp1 and dp2 with the shortest distance, and the matrix display unit mtLED does not always exist on the straight line. Also, the matrix display section mtLED that is close to the straight line is selected, and a substantially linear route is obtained. In addition, a moving ball mp is generated simultaneously with the generation of the moving route rt1. In the present embodiment, the moving ball mp is generated at the same position as the latest designated ball dp2, but other designated balls dp (for example, the oldest designated ball dp, here the designated ball dp1). ) May occur at the position.

このまま、新たな指定玉dpの指定または指定解除がなされない限り、移動玉mpは指定玉dp1、dp2間を往復移動するだけである(図15のステップS109〜S113)。しかし、図4(c)に示すように、新たな指定玉dp3を指定すると、それが弱発光すると共に、移動ルートの再生成が行われ、元の移動ルートrt1が消滅して新たな移動ルートrt2が生成される(図18のステップS309→S310→S311)。移動ルートrt2は、指定玉dp1、dp2、dp3を指定された順序で循環する三角形のルートとなる。この場合、移動玉mpは、その向きが移動ルートrt2で規定される移動方向と一致した時点から、移動ルートrt2上を移動する移動玉mpとなる。なお、新たな指定玉dpが指定される度に、元の移動玉mpを消滅させて、新たな指定玉dp3の位置に移動玉mpを再発生させるようにしてもよい。   As long as the new designated ball dp is not designated or cancelled, the moving ball mp simply reciprocates between the designated balls dp1 and dp2 (steps S109 to S113 in FIG. 15). However, as shown in FIG. 4 (c), when a new designated ball dp3 is designated, it emits light weakly, and the travel route is regenerated, the original travel route rt1 disappears and a new travel route is created. rt2 is generated (steps S309 → S310 → S311 in FIG. 18). The moving route rt2 is a triangular route that circulates the designated balls dp1, dp2, and dp3 in the designated order. In this case, the moving ball mp becomes the moving ball mp that moves on the moving route rt2 from the time when the direction coincides with the moving direction defined by the moving route rt2. Note that each time a new designated ball dp is designated, the original moving ball mp may be extinguished and the moving ball mp may be regenerated at the position of the new designated ball dp3.

なお、4個以上の指定玉dpが指定された場合も、移動ルートrtは、指定された順序で循環するようにするが、これに限られず、途中で移動ルートrt自身の交差が生じないように多角形の環状に生成し、所定の方向に回るようなルートとしてもよい。   Even when four or more designated balls dp are designated, the travel route rt is circulated in the designated order, but is not limited to this, so that the travel route rt itself does not intersect in the middle. Alternatively, the route may be formed in a polygonal ring shape and turn in a predetermined direction.

その後、図4(d)に示すように、移動玉mpは移動ルートrt2上を移動して指定玉dp2に向かう(図15のステップS109〜S113)。その途上で、移動玉mpが位置する指定状態にないマトリクス表示部mtLEDが逐一弱発光し(図16のステップS123)、通過後のマトリクス表示部mtLEDが逐一消光されていく(図16のステップS112)。   Thereafter, as shown in FIG. 4D, the moving ball mp moves on the moving route rt2 toward the designated ball dp2 (steps S109 to S113 in FIG. 15). On the way, the matrix display part mtLED that is not in the designated state where the moving ball mp is located emits weak light one by one (step S123 in FIG. 16), and the matrix display part mtLED after passing through is gradually extinguished (step S112 in FIG. 16). ).

そして、移動玉mpがいずれかの指定玉dpの位置に到達したとき、例えば、図4(e)に示すように、指定玉dp2に一致したとき、指定玉dp2が強発光すると共に対応する発音がなされ(図15、図16のステップS113→S116→S122→S134→S124)、移動玉mpは移動ルートrt2に従って向きを変える(ステップS113)。この場合における発音は、指定玉dp2の座標に対応する発音データKCに基づくものである。   When the moving ball mp reaches the position of one of the designated balls dp, for example, as shown in FIG. 4 (e), when the moving ball mp matches the designated ball dp2, the designated ball dp2 emits strong light and the corresponding pronunciation (Steps S113 → S116 → S122 → S134 → S124 in FIGS. 15 and 16), and the moving ball mp changes its direction according to the moving route rt2 (Step S113). The pronunciation in this case is based on the pronunciation data KC corresponding to the coordinates of the designated ball dp2.

移動玉mpが指定玉dp2を離れるとき、指定玉dp2が弱発光に戻される(図15のステップS115)。その後、移動玉mpは指定玉dp3に向かう(図4(f))。なお、一旦指定した指定玉dpは任意に解除でき、指定解除された指定玉dpは消光される(図18のステップS304、S305)。   When the moving ball mp leaves the designated ball dp2, the designated ball dp2 is returned to weak light emission (step S115 in FIG. 15). Thereafter, the moving ball mp goes to the designated ball dp3 (FIG. 4 (f)). Note that the designated ball dp once designated can be arbitrarily canceled, and the designated ball dp whose designation has been canceled is extinguished (steps S304 and S305 in FIG. 18).

ところで、ランダムループモードでは、複数の指定玉dp間で移動玉mpが移動するが、複数の指定玉dpのまとまりを「グループ」と称する。本実施の形態では、グループ内における指定玉dpの数の制限はないが、移動玉mpは1つのグループに対し1つとする。なお、1つのグループに複数の移動玉mpを発生させてもよい。また、同時に制御できるグループの数は、複数(例えば8個)であってもよく、その場合は、ランダムループモードに関する処理が各グループ毎に行われることになる。また、各グループ毎に、音色、音高、テンポ等のパラメータを独立して設定可能に構成してもよい。   By the way, in the random loop mode, the moving ball mp moves between the plurality of designated balls dp. A group of the plurality of designated balls dp is referred to as a “group”. In the present embodiment, there is no limit on the number of designated balls dp in a group, but there is one moving ball mp for one group. A plurality of moving balls mp may be generated in one group. In addition, the number of groups that can be controlled simultaneously may be plural (for example, eight). In this case, the processing related to the random loop mode is performed for each group. In addition, parameters such as timbre, pitch, tempo, etc. may be set independently for each group.

図5は、「2点ループモード」の動作を模式的に示すマトリクス表示入力部mtの遷移図である。同図では特に、「跳ね返りモード」、「動きモード」が設定されていない例を示す。   FIG. 5 is a transition diagram of the matrix display input unit mt schematically showing the operation of the “two-point loop mode”. In the figure, an example in which “bounce mode” and “motion mode” are not set is shown.

2点ループモードの設定態様及び動作は、楽音の発生に関する動作を除けば、ランダムループモードにおける2つ目の指定玉dpを指定する段階までの設定、動作と同様である。すなわち、図5(a)に示すように、1つ目の指定玉dp1を指定すると、それが弱発光し(図19のステップS318→S324→S325)、次に2つ目の指定玉dp2を指定すると、同様にそれが弱発光すると共に、移動ルートrt1が生成される(図5(b)、図19のステップS318→S324→S325→S326→S327)。ランダムループモードと異なり、2点ループモードでは、1つのマトリクス表示入力部mtを押下しただけでは発音はされない。ここで、移動ルートrt1の設定態様、及び、移動ルートrt1の生成と同時に発生する移動玉mpの発生態様は、図4(b)の例と同様である。   The setting mode and operation of the two-point loop mode are the same as the setting and operation up to the stage of designating the second designated ball dp in the random loop mode, except for the operation related to the generation of musical sound. That is, as shown in FIG. 5A, when the first designated ball dp1 is designated, it emits weak light (steps S318 → S324 → S325 in FIG. 19), and then the second designated ball dp2 is set. When designated, the light is similarly weakly emitted, and a movement route rt1 is generated (FIG. 5B, steps S318 → S324 → S325 → S326 → S327 in FIG. 19). Unlike the random loop mode, in the two-point loop mode, no sound is produced only by pressing one matrix display input section mt. Here, the setting mode of the moving route rt1 and the generating mode of the moving ball mp that occurs simultaneously with the generation of the moving route rt1 are the same as those in the example of FIG.

また、図5(b)〜(c)に示すように、新たに第3の指定玉dp3が指定されると、最も古い指定玉dp1が消光されると共に該指定玉dp1の指定が解除され、移動ルートrtの修正がなされる。その結果、移動ルートrt1が消滅して、指定玉dp2、dp3間に移動ルートrt2が新たに生成される(図19のステップS327)。この場合、移動ルートrt1で移動していた移動玉mpは、後述する図5(g)、(h)の例と同様に、やがてマトリクス表示入力部mtからはみ出して消滅する。一方、移動ルートrt2上における例えば指定玉dp3の位置に、移動玉mpが新たに再発生する。   Further, as shown in FIGS. 5B to 5C, when the third designated ball dp3 is newly designated, the oldest designated ball dp1 is extinguished and the designation of the designated ball dp1 is canceled. The movement route rt is corrected. As a result, the travel route rt1 disappears and a travel route rt2 is newly generated between the designated balls dp2 and dp3 (step S327 in FIG. 19). In this case, the moving ball mp that has moved on the moving route rt1 eventually protrudes from the matrix display input unit mt and disappears, as in the examples of FIGS. On the other hand, the moving ball mp is newly regenerated at, for example, the position of the designated ball dp3 on the moving route rt2.

なお、2点ループを構成する2つの指定玉dpを1つの「2点ループ組」と呼称するとき、本実施の形態では、同時に発生可能な「2点ループ組」は1つに限定したが、これに限るものではなく、複数の「2点ループ組」をマトリクス表示入力部mtにおいて同時に発生可能に構成してもよい。そのように構成した場合、例えば、図5(b)の状態で新たに第3の指定玉dp3が指定されても、既に生成されている移動ルートrt1は消滅せず、最も古い指定玉dp1の指定も解除されない。すなわち、新たな第3の指定玉dp3が、2つ目の「2点ループ組」を構成する1つ目の指定玉dpであるとみなされ、その後の新たな第4の指定玉dp4の指定があったとき、指定玉dp3と指定玉dp4とで2つ目の「2点ループ組」が構成され、指定玉dp3、dp4間に、移動ルートrt1とは別個の新たな移動ルートrtが生成されることになる。   In addition, when the two designated balls dp constituting the two-point loop are called one “two-point loop group”, in this embodiment, the “two-point loop group” that can be generated simultaneously is limited to one. However, the present invention is not limited to this, and a plurality of “two-point loop groups” may be generated simultaneously in the matrix display input unit mt. In the case of such a configuration, for example, even when the third designated ball dp3 is newly designated in the state of FIG. 5B, the already generated travel route rt1 does not disappear, and the oldest designated ball dp1 The designation is not canceled. That is, the new third designated ball dp3 is regarded as the first designated ball dp constituting the second “two-point loop group”, and the subsequent designation of the new fourth designated ball dp4 When there is, the designated ball dp3 and the designated ball dp4 form a second “two-point loop set”, and a new movement route rt separate from the movement route rt1 is generated between the designated balls dp3 and dp4. Will be.

その後、図5(d)〜(f)に示すように、移動玉mpが、移動ルートrt2上において指定玉dp2、dp3間を往復移動する。その際、移動ルートrt2における途上で、指定状態にないマトリクス表示部mtLEDが弱発光し、直後に消光されること(図15のステップS109〜S115)、いずれかの指定玉dpの位置に到達したとき、その指定玉dpが強発光すると共に対応する発音がなされること(図15、図16のステップS113→S116→S122→S134→S124)、及び、移動玉mpが移動ルートrt2に従って向きを変えること(図15のステップS113)は、ランダムループモードにおける図4(d)〜(f)の例で説明したのと同様である。   Thereafter, as shown in FIGS. 5D to 5F, the moving ball mp reciprocates between the designated balls dp2 and dp3 on the moving route rt2. At that time, the matrix display unit mtLED that is not in the designated state emits weak light on the way along the movement route rt2, and is immediately extinguished (steps S109 to S115 in FIG. 15), and has reached the position of one of the designated balls dp. At that time, the designated ball dp emits strong light and a corresponding pronunciation is made (steps S113 → S116 → S122 → S134 → S124 in FIGS. 15 and 16), and the moving ball mp changes its direction according to the moving route rt2. This (step S113 in FIG. 15) is the same as that described in the example of FIGS. 4D to 4F in the random loop mode.

次に、移動玉mpが移動ルートrt2上において指定玉dp2に向かっている状態で、図5(g)に示すように、指定玉dp2の指定が解除されると、指定玉dp2が消光されると共にその指定が解除され、移動ルートrtの修正がなされる。その結果、移動ルートrt2が消滅して、指定玉dp2の延長上に移動ルートrt3が新たに生成される(図19のステップS328→S329→S330)。この時点では、移動玉mpは消滅せず、移動ルートrt3上を移動する。さらに、ここでは、跳ね返りモードが設定されていないものとしたので、図5(h)に示すように、移動ルートrt3が消滅し、移動玉mpも、移動ルートrt3の延長上においてマトリクス表示入力部mtから抜けて消滅する(図16のステップS116→S132→S117→S119→S121)。   Next, when the designation of the designated ball dp2 is canceled as shown in FIG. 5G in the state where the moving ball mp is moving toward the designated ball dp2 on the moving route rt2, the designated ball dp2 is quenched. At the same time, the designation is canceled and the movement route rt is corrected. As a result, the travel route rt2 disappears, and a travel route rt3 is newly generated on the extension of the designated ball dp2 (steps S328 → S329 → S330 in FIG. 19). At this time, the moving ball mp does not disappear and moves on the moving route rt3. Further, here, since the rebound mode is not set, as shown in FIG. 5H, the moving route rt3 disappears, and the moving ball mp is also a matrix display input unit on the extension of the moving route rt3. It disappears from mt (steps S116 → S132 → S117 → S119 → S121 in FIG. 16).

図6は、「跳ね返りモード」の動作を模式的に示すマトリクス表示入力部mtの遷移図である。上述のように、跳ね返りモードは、ランダムループモードまたは2点ループモードにおいて設定可能であり、同図では、残存する指定玉dpが1つとなった状態を例にとっている。なお、跳ね返りモードを、ランダムループモードまたは2点ループモードとは独立して単独で設定可能に構成し、例えば、指定玉dpがなくても移動玉mp及びその移動ルートrtを生成して、移動玉mpの跳ね返り動作を実現するように構成してもよい。   FIG. 6 is a transition diagram of the matrix display input unit mt schematically showing the operation of the “bounce mode”. As described above, the rebound mode can be set in the random loop mode or the two-point loop mode. In the figure, the state where the number of designated balls dp remaining is one is taken as an example. The rebound mode can be set independently of the random loop mode or the two-point loop mode. For example, a moving ball mp and its moving route rt can be generated even if there is no designated ball dp. The ball mp may be rebounded.

まず、図6(a)に示すように、移動玉mpが移動し、マトリクス表示入力部mtの左側の外縁位置、すなわち外縁座標(n=1の列)に一致したとき(図5(h)の例と同様の状態である)、ここでは跳ね返りモードが設定されているので、「所定の跳ね返り条件」内であれば、跳ね返りの移動ルートrt1が生成される(図16のステップS116→S132→S117→S119→S120)。その結果、移動玉mpはマトリクス表示入力部mtからはみ出すことなく、マトリクス表示入力部mtの左縁部で、例えば入射角と同じ角度で内側方向に反射する(図6(b))。ここで、「所定の跳ね返り条件」は、跳ね返りモードが設定されていることのほか、例えば、同じ移動玉mpが跳ね返った回数が所定回数以下であること、等であるが、その条件は任意に変更可能である。また、所定の跳ね返り条件の設定により、ユーザの停止指示があるまで跳ね返りを無限に継続させてもよいし、指定玉dpに一致したとき停止するようにしてもよい。   First, as shown in FIG. 6A, when the moving ball mp moves and coincides with the outer edge position on the left side of the matrix display input unit mt, that is, the outer edge coordinates (column of n = 1) (FIG. 5H). In this case, since the rebound mode is set, the rebound movement route rt1 is generated within the “predetermined rebound condition” (steps S116 → S132 → FIG. 16). S117 → S119 → S120). As a result, the moving ball mp does not protrude from the matrix display input unit mt, but is reflected inward at the left edge of the matrix display input unit mt, for example, at the same angle as the incident angle (FIG. 6B). Here, the “predetermined rebound condition” is, for example, that the rebound mode is set and, for example, the number of times the same moving ball mp has rebounded is a predetermined number of times or less. It can be changed. Further, by setting a predetermined rebound condition, the rebound may be continued indefinitely until the user gives a stop instruction, or may be stopped when it matches the designated ball dp.

同様に、移動玉mpがマトリクス表示入力部mtの下側の外縁座標(k=1の行)に一致すると、跳ね返りの移動ルートrt2が生成され(図16のステップS120)、移動玉mpが反射し、さらに、右側の外縁座標(n=16の列)に一致すると、移動ルートrt3が生成されて移動玉mpが反射する。元の移動ルートrtはその都度消滅する。   Similarly, when the moving ball mp coincides with the lower outer edge coordinates (k = 1 row) of the matrix display input unit mt, a rebound moving route rt2 is generated (step S120 in FIG. 16), and the moving ball mp is reflected. Further, when it coincides with the right outer edge coordinates (column of n = 16), the moving route rt3 is generated and the moving ball mp is reflected. The original travel route rt disappears each time.

図7は、「ランダムループモード」に加えて、「動きモード」のうち「回転モード」が設定された場合における動作を模式的に示すマトリクス表示入力部mtの遷移図である。   FIG. 7 is a transition diagram of the matrix display input unit mt schematically showing an operation when “rotation mode” is set in “motion mode” in addition to “random loop mode”.

ランダムループモードにおいて、指定玉dp1、dp2、dp3間を移動玉mpが循環移動している状態(図4(d)〜(f)と同様)で、図7(a)に示すように、回転指示Ronがなされると、図7(b)に示すように、回転中心P0が演算により求められ、回転中心P0を中心に、指定玉dp1、dp2、dp3及び移動玉mpで成るグループの図形(ここでは三角形)が、回転指示Ronで指示された方向(反時計方向)に回転する(図20のステップS401→S402→S405→S406→S407)。すなわち、指定玉dp1、dp2、dp3及び移動玉mpが互いの相対的位置関係を維持しつつ回転する。その際、指定玉dp1、dp2、dp3間の移動ルートrtも同様に回転し、従って、移動玉mpの移動ルートrt上の移動も並行して継続される。以下、動きモード(Gセンサモードも含む)において、このように一体で回転または変位する図形を「グループ図形」と称する。   In the random loop mode, as shown in FIG. 7 (a), the moving ball mp circulates between the designated balls dp1, dp2, and dp3 as shown in FIG. 7 (a). When the instruction Ron is made, as shown in FIG. 7 (b), the rotation center P0 is obtained by calculation, and the group figure (designated balls dp1, dp2, dp3 and moving ball mp around the rotation center P0) ( Here, the triangle is rotated in the direction (counterclockwise) indicated by the rotation instruction Ron (steps S401 → S402 → S405 → S406 → S407 in FIG. 20). That is, the designated balls dp1, dp2, dp3 and the moving ball mp rotate while maintaining their relative positional relationship. At that time, the movement route rt between the designated balls dp1, dp2, and dp3 also rotates in the same manner. Accordingly, the movement of the movement ball mp on the movement route rt is continued in parallel. Hereinafter, in the motion mode (including the G sensor mode), such a figure that rotates or displaces integrally is referred to as a “group figure”.

ここで、回転指示Ron等の回転指示は、所定時間内に任意の少なくとも2つのマトリクススイッチmtSWを連続して押下することで行うことができる。例えば、ユーザは、マトリクス表示入力部mtの端部寄りにおいて、マトリクス表示入力部mt上を指でなぞるようにすればよく、最後にオンされた2つのマトリクススイッチmtSWで回転方向が時計方向または反時計方向のいずれかに決定される。例えば、図7(a)の例では、マトリクススイッチmtSWのうち、先にオンされたa1と後に(最後に)オンされたa2の2点で、反時計方向を指示したことになる。また、このような2点のオンの時間差によって、上記グループ図形の回転速度が規定される。なお、回転速度は一定としてもよい。また、回転指示の手法はこれに限定されるものでなく、パネルスイッチ10等によって指示を与えるように構成してもよい。   Here, the rotation instruction such as the rotation instruction Ron can be performed by successively pressing any at least two matrix switches mtSW within a predetermined time. For example, the user may trace the matrix display input unit mt with his / her finger near the end of the matrix display input unit mt, and the rotation direction is clockwise or counterclockwise with the two matrix switches mtSW turned on last. It is determined in one of the clockwise directions. For example, in the example of FIG. 7A, the counterclockwise direction is designated at two points of the matrix switch mtSW, a1 turned on first and a2 turned on last (last). In addition, the rotational speed of the group graphic is defined by the time difference between the two ON points. The rotation speed may be constant. Further, the rotation instruction method is not limited to this, and an instruction may be given by the panel switch 10 or the like.

回転中心P0は、マトリクススイッチmtSWのいずれかの座標としなくてもよく、グループ図形の重心に相当する仮想の点とされる。また、グループ図形が回転するとき、各指定玉dpが通る軌跡は、演算上では円形であるが、実際に執る位置は、演算上の円形に近接したマトリクス表示部mtLEDである。   The rotation center P0 does not have to be any coordinate of the matrix switch mtSW, and is a virtual point corresponding to the center of gravity of the group figure. Further, when the group figure rotates, the trajectory through which each designated ball dp passes is circular in terms of calculation, but the actual position is the matrix display portion mtLED close to the circle in calculation.

一方、図7(b)に示すように上記グループ図形が反時計方向に回転している状態で、図7(c)に示すように、回転停止指示Roffがなされると、上記グループ図形の回転が停止される(図7(d)、図20のステップS401→S402→S403→S404)。移動ルートrtも同様に回転停止し、移動玉mpの移動ルートrt上の移動は継続される。ここで、回転停止指示Roff等の回転停止指示の方法は、回転指示の方法と同様であり、上記グループ図形の回転と同じ方向に指でなぞる。例えば、図7(c)の例では、先にオンされたa3と後にオンされたa4の2点で、回転停止を指示したことになる。なお、上記グループ図形の回転に対して反対方向への操作がなされた場合は、該グループ図形が逆回転するように構成してもよい。   On the other hand, when the rotation stop instruction Roff is given as shown in FIG. 7C in a state where the group figure is rotating counterclockwise as shown in FIG. 7B, the rotation of the group figure is performed. Is stopped (FIG. 7D, steps S401 → S402 → S403 → S404 in FIG. 20). Similarly, the movement route rt stops rotating, and the movement of the movement ball mp on the movement route rt is continued. Here, the rotation stop instruction method such as the rotation stop instruction Roff is the same as the rotation instruction method, and the finger is traced in the same direction as the rotation of the group graphic. For example, in the example of FIG. 7C, rotation stop is instructed at two points, a3 turned on first and a4 turned on later. Note that when an operation in the opposite direction to the rotation of the group graphic is performed, the group graphic may be configured to rotate in the reverse direction.

図8は、「ランダムループモード」に加えて、「動きモード」のうち「Gセンサモード」が設定された場合における動作を模式的に示すマトリクス表示入力部mtの遷移図である。   FIG. 8 is a transition diagram of the matrix display input unit mt schematically showing an operation when “G sensor mode” is set in “motion mode” in addition to “random loop mode”.

Gセンサモードに関する制御対象は、図15の前記ステップS103で所望に設定でき、例えば、テンポ、グループ図形の座標、またはその他のパラメータを制御対象とすることができる。例えば、制御対象が座標である場合は、X軸、Y軸の各方向における加速度の変化に基づいて、指定玉dp乃至移動玉mpが変位する。X、Y軸各方向の加速度は、演奏装置MCを各方向に移動、停止させる際に生じるだけでなく、重力の下、演奏装置MCを傾けることでも生じる。   The control target relating to the G sensor mode can be set as desired in step S103 of FIG. 15, and for example, the tempo, the coordinates of the group figure, or other parameters can be set as the control target. For example, when the control target is coordinates, the designated ball dp to the moving ball mp are displaced based on the change in acceleration in each direction of the X axis and the Y axis. The acceleration in each direction of the X and Y axes is generated not only when the performance device MC is moved and stopped in each direction, but also when the performance device MC is tilted under gravity.

本実施の形態では、演奏装置MCをユーザ側からみて左右方向に所定速さ以上で所定量以上傾けたとき(Y軸を中心として左方または右方に回転させたとき)、グループ図形が左方または右方に移動(変位)し、演奏装置MCをユーザ側からみて前後方向に所定速さ以上で所定量以上傾けたとき(X軸を中心として演奏装置MCの前部が下がる方向または上がる方向に回転させたとき)、グループ図形が前方または後方に移動するように制御される。   In the present embodiment, when the performance device MC is tilted by a predetermined amount or more at a predetermined speed or more in the left-right direction when viewed from the user side (when rotated to the left or right about the Y axis), the group figure is When the performance device MC is moved (displaced) leftward or rightward and tilted by a predetermined amount at a predetermined speed or more in the front-rear direction when viewed from the user side (the direction in which the front portion of the performance device MC is lowered about the X axis Or the group graphic is controlled to move forward or backward.

例えば、制御対象が座標である場合において、図8(a)に示すように、ランダムループモードにおいて、指定玉dp1、dp2、dp3間を移動玉mpが循環移動している状態(図4(d)〜(f)と同様)で、演奏装置MCの前部を下方に傾ける。そしてその傾きによる加速度変化(Y軸方向の加速度変化)が所定値以上であれば、図8(b)に示すように、指定玉dp1〜dp3及び移動玉mp(移動ルートrtを含む)から成るグループ図形が前方に変位する(図20のステップS408→S409→S410→S411→S414)。すなわち、指定玉dp1〜dp3及び移動玉mpが互いの相対的位置関係を維持しつつ前方に変位する。その際、指定玉dp1〜dp3間の移動ルートrtも同様に変位し、従って、変位後の移動ルートrt上における移動玉mpの移動も並行して継続される。演奏装置MCの前方への回転を止めると、Y軸方向の加速度変化が無くなるから、グループ図形は移動を停止する。   For example, when the control target is a coordinate, as shown in FIG. 8A, in the random loop mode, the moving ball mp circulates between the designated balls dp1, dp2, and dp3 (FIG. 4D). ) To (f)), the front portion of the performance device MC is tilted downward. If the acceleration change due to the inclination (acceleration change in the Y-axis direction) is equal to or greater than a predetermined value, as shown in FIG. 8B, the designated balls dp1 to dp3 and the moving ball mp (including the moving route rt) are included. The group graphic is displaced forward (steps S408 → S409 → S410 → S411 → S414 in FIG. 20). That is, the designated balls dp1 to dp3 and the moving ball mp are displaced forward while maintaining the relative positional relationship with each other. At that time, the movement route rt between the designated balls dp1 to dp3 is similarly displaced, and therefore the movement of the movement ball mp on the movement route rt after the displacement is continued in parallel. When the forward rotation of the performance device MC is stopped, the acceleration change in the Y-axis direction disappears, so that the group figure stops moving.

また、演奏装置MCをユーザからみて右方に傾けた場合も同様であり、X軸方向の加速度変化が所定値以上であれば、図8(c)に示すように、グループ図形が右方に変位する(ステップS414)。さらに、演奏装置MCの右部及び後部を下方に傾けた場合は、X軸、Y軸方向の加速度変化が所定値以上であれば、図8(d)に示すように、グループ図形が斜め後方右方に変位する(ステップS414)。   The same applies when the performance device MC is tilted to the right as viewed from the user. If the acceleration change in the X-axis direction is greater than or equal to a predetermined value, the group figure is moved to the right as shown in FIG. Displacement (step S414). Furthermore, when the right part and the rear part of the performance device MC are tilted downward, if the acceleration change in the X-axis and Y-axis directions is greater than or equal to a predetermined value, the group figure is obliquely rearward as shown in FIG. Displace to the right (step S414).

なお、「動きモード」においても、回転停止後または変位完了後のグループ図形において、移動玉mpの移動ルートrt上の移動は継続される(図15のステップS109〜S115、S122、S123、S124)。   Even in the “movement mode”, the movement of the moving ball mp on the movement route rt is continued in the group figure after the rotation is stopped or after the displacement is completed (steps S109 to S115, S122, S123, and S124 in FIG. 15). .

図9は、「オルゴールモード」におけるマトリクス表示入力部mtとマトリクス全領域との関係を示す概念図である。オルゴールモードでは、指定玉dpの指定、記憶は、マトリクス表示入力部mt内の座標に限定されず、マトリクス全領域MTの座標に対して行うことができる。マトリクス全領域MTは、そのY軸方向については、マトリクス表示入力部mtと同じ16行存在するが、X軸方向については、マトリクス表示入力部mtの3倍の48列存在する。従って、マトリクス全領域MTは、左右方向にマトリクス表示入力部mtの3ページ分の領域を有している。   FIG. 9 is a conceptual diagram showing the relationship between the matrix display input unit mt and the entire matrix area in the “music box mode”. In the music box mode, the designation and storage of the designated ball dp is not limited to the coordinates in the matrix display input unit mt, and can be performed on the coordinates of the entire matrix area MT. The entire matrix area MT has 16 rows in the Y-axis direction that are the same as the matrix display input unit mt, but there are 48 columns in the X-axis direction, which is three times the matrix display input unit mt. Accordingly, the entire matrix area MT has an area for three pages of the matrix display input section mt in the left-right direction.

オルゴールモードにおいては、エンコーダスイッチ18を回転操作する等によってマトリクス全領域MTをX軸方向に手動でスクロールすることができ、マトリクス全領域MTのうちマトリクス表示入力部mtと一致している領域にある指定玉dp及び移動玉mpが、ユーザから視認できる。また、オルゴールモードにおいては、指定玉dpの指定の受け付けは、他の動作モードと同様に、あくまでマトリクス表示入力部mt内においてのみ可能であるが、スクロールによってマトリクス表示入力部mtから外れた指定玉dpも、その座標情報は記憶されており、スクロールによって再びマトリクス表示入力部mt上に現れ得る。指定玉dpの指定及び指定解除は、「自動スクロールモード」でない場合にできる。オルゴールモードでは、各処理は、各行(k)毎になされる。   In the music box mode, the entire matrix area MT can be manually scrolled in the X-axis direction by rotating the encoder switch 18 or the like, and is in the area that coincides with the matrix display input section mt in the entire matrix area MT. The designated ball dp and the moving ball mp can be visually recognized from the user. In the music box mode, the designation of the designated ball dp can be accepted only in the matrix display input unit mt as in the other operation modes, but the designated ball that has been removed from the matrix display input unit mt by scrolling. The coordinate information of dp is also stored and can appear again on the matrix display input section mt by scrolling. The designated ball dp can be designated and canceled when the “automatic scroll mode” is not set. In the music box mode, each process is performed for each row (k).

例えば、図9(a)に示すように、マトリクス表示入力部mtにおいて指定玉dp1、dp2、dp3を指定すると、それらが弱発光する一方、指定解除された指定玉dpは消光される(図21のステップS508〜S511)。その後、図9(b)に示すように、手動スクロール操作によって、マトリクス全領域MTを左方にスクロールすると、マトリクス全領域MTがマトリクス表示入力部mtに対して相対的に左方に平面移動する。その結果、指定玉dp2、dp3のマトリクス表示入力部mtにおける位置が左方に変位すると共に、指定玉dp1がマトリクス表示入力部mtから外れる。その際、「手動スクロールモード」でない場合は、発音がなされないが(図21のステップS512→S513→S514)、「手動スクロールモード」である場合は、後述するように左右の縁部(発音列P)で発音がなされる(図21のステップS512→S513→S515)。   For example, as shown in FIG. 9A, when the designated balls dp1, dp2, and dp3 are designated in the matrix display input unit mt, they emit light weakly while the designated balls dp whose designation has been canceled are quenched (FIG. 21). Steps S508 to S511). Thereafter, as shown in FIG. 9B, when the entire matrix area MT is scrolled to the left by the manual scroll operation, the entire matrix area MT is moved to the left relative to the matrix display input unit mt. . As a result, the positions of the designated balls dp2, dp3 in the matrix display input unit mt are displaced to the left, and the designated ball dp1 is removed from the matrix display input unit mt. At that time, if it is not “manual scroll mode”, no sound is generated (steps S512 → S513 → S514 in FIG. 21), but if it is “manual scroll mode”, the left and right edges (sound generation strings) are described as described later. P is pronounced (steps S512 → S513 → S515 in FIG. 21).

また、マトリクス表示入力部mtにおいて指定玉dp4、dp5を新たに指定すると、それらが弱発光し(図21のステップS508→S509→S511)、マトリクス全領域MTにおける指定玉dpとして記憶される。   Further, when the designated balls dp4 and dp5 are newly designated in the matrix display input unit mt, they emit light weakly (steps S508 → S509 → S511 in FIG. 21) and are stored as the designated balls dp in the entire matrix area MT.

図10は、「オルゴールモード」の「自動スクロールモード」における動作を模式的に示すマトリクス表示入力部mtの遷移図である。   FIG. 10 is a transition diagram of the matrix display input unit mt schematically showing the operation in the “automatic scroll mode” of the “music box mode”.

自動スクロールモードでは、左方または右方のスクロール方向を指示することで、マトリクス全領域MTにおけるすべての指定玉dpに対して、指示された方向に向く移動ルートrtが生成される。自動スクロールモードの設定及び方向の指示は、例えばパネルスイッチ10によりなされる。例えば、右方スクロールが指示されると、図10(a)に示すように、指定玉dp1〜dp5の位置を起点として右方に向く移動ルートrt1〜rt5が生成され(図21のステップS501→S502)、図10(b)に示すように、各指定玉dp1〜dp5に対応する移動玉mp1〜mp5が右方に移動していく(図15のステップS109〜S114)。この場合、各移動玉mpは弱発光しつつ移動するが(図16のステップS116→S122→S123)、指定玉dpは消光される(図15のステップS114、S112)。   In the automatic scroll mode, by designating the left or right scroll direction, a movement route rt directed in the designated direction is generated for all the designated balls dp in the entire matrix area MT. The automatic scroll mode is set and the direction is instructed by, for example, the panel switch 10. For example, when a rightward scroll is instructed, as shown in FIG. 10A, moving routes rt1 to rt5 directed to the right starting from the positions of the designated balls dp1 to dp5 are generated (step S501 in FIG. 21 → As shown in S502) and FIG. 10B, the moving balls mp1 to mp5 corresponding to the designated balls dp1 to dp5 move to the right (steps S109 to S114 in FIG. 15). In this case, each moving ball mp moves with weak light emission (steps S116 → S122 → S123 in FIG. 16), but the designated ball dp is quenched (steps S114 and S112 in FIG. 15).

自動スクロールモードでスクロール方向が右方である場合は、マトリクス表示入力部mtの最右列が発音列Pとされる。従って、例えば、図10(c)に示すように、移動玉mp1がマトリクス表示入力部mtの右縁部(n=16の列)に達すると、移動玉mp1が強発光すると共に、その位置に対応する発音がなされ、さらに、当該移動玉mp1の移動ルートrt1がクリアされる(図16のステップS116→S132→S117→S118)。移動玉mp1もマトリクス表示入力部mtから抜ける。   When the scroll direction is rightward in the automatic scroll mode, the rightmost column of the matrix display input unit mt is the pronunciation column P. Therefore, for example, as shown in FIG. 10 (c), when the moving ball mp1 reaches the right edge (column of n = 16) of the matrix display input unit mt, the moving ball mp1 emits strong light and at that position. Corresponding pronunciation is made, and the moving route rt1 of the moving ball mp1 is cleared (steps S116 → S132 → S117 → S118 in FIG. 16). The moving ball mp1 also leaves the matrix display input unit mt.

同様に、次に発音列Pに達する移動玉mp4、mp5についても、強発光及び対応する発音がなされ、対応する移動ルートrt4、rt5がクリアされる(図10(d))。なお、自動スクロールの方向が左方である場合は、マトリクス表示入力部mtの最左列が発音列Pとされ、その他の動作も右方スクロールの場合と左右対称となる。   Similarly, for the moving balls mp4 and mp5 that next reach the sound generation row P, strong light emission and corresponding sound generation are performed, and the corresponding movement routes rt4 and rt5 are cleared (FIG. 10 (d)). When the direction of automatic scrolling is to the left, the leftmost column of the matrix display input unit mt is the pronunciation column P, and other operations are also symmetric with respect to the right scrolling.

なお、マトリクス全領域MTにおいて存在する指定玉dpは、マトリクス表示入力部mtに現れていなくても、上記のように移動ルートrt生成の対象となっているので、例えば、指示方向が右方である場合は、対応する移動玉mpがマトリクス表示入力部mtの左方からマトリクス表示入力部mtに現れて、マトリクス表示入力部mtの右縁部で強発光して右方に消えていく。なお、各移動玉mpは、一旦右方に消えた後、左方から再びマトリクス表示入力部mt内に現れるようにし、マトリクス表示入力部mtを何回でも循環するように構成してもよい。   Note that the designated ball dp existing in the entire matrix region MT is a target for generating the movement route rt as described above even if it does not appear in the matrix display input unit mt. In some cases, the corresponding moving ball mp appears on the matrix display input unit mt from the left side of the matrix display input unit mt, emits strong light at the right edge of the matrix display input unit mt, and disappears to the right side. Each moving ball mp may once disappear to the right and then appear again in the matrix display input unit mt from the left, and may be configured to circulate the matrix display input unit mt any number of times.

図11は、「オルゴールモード」の「手動スクロールモード」におけるマトリクス表示入力部mtとマトリクス全領域との関係を模式的に示す遷移図である。   FIG. 11 is a transition diagram schematically illustrating the relationship between the matrix display input unit mt and the entire matrix area in the “manual scroll mode” of the “music box mode”.

図11(a)に示すように、マトリクス全領域MT上に、指定玉dp1〜dp4が指定されているとする。その状態で、右方への手動スクロールが指示されると、マトリクス表示入力部mtの最右列が発音列Pとされると共に、マトリクス表示入力部mtに対してマトリクス全領域MTが相対的に右方に移動する。この場合、マトリクス全領域MTと共に移動する指定玉dpは、移動玉mpと同じように認識されるが、他の動作モードとは異なり、移動ルートrtが生成されるわけではないので、dp(mp)と表記している。そして、まず指定玉dp1(mp1)が発音列Pに達すると、該指定玉dp1が強発光すると共に、その位置に対応する発音がなされる(図21のステップS512→S513→S515)。同様に、次に発音列Pに達する指定玉dp2(mp2)についても、強発光及び対応する発音がなされる(図11(c))。   As shown in FIG. 11A, it is assumed that designated balls dp1 to dp4 are designated on the entire matrix region MT. In such a state, when manual scrolling to the right is instructed, the rightmost column of the matrix display input unit mt is set to the pronunciation column P, and the entire matrix area MT is relatively set to the matrix display input unit mt. Move to the right. In this case, the designated ball dp that moves together with the entire matrix area MT is recognized in the same way as the moving ball mp. However, unlike the other operation modes, the movement route rt is not generated, so dp (mp ). First, when the designated ball dp1 (mp1) reaches the sound generation string P, the designated ball dp1 emits strong light and a sound corresponding to the position is produced (steps S512 → S513 → S515 in FIG. 21). Similarly, for the designated ball dp2 (mp2) that reaches the sound generation string P next, strong light emission and corresponding sound generation are performed (FIG. 11 (c)).

なお、手動スクロールモードにおいては、スクロールが完了する途中であってもスクロール方向を変えることができ、方向が変わると、マトリクス全領域MTのマトリクス表示入力部mtに対する相対的移動方向が切り替わると共に、発音列Pの列も反対側に切り替わる。   In the manual scroll mode, the scroll direction can be changed even during the completion of the scroll. When the direction is changed, the relative movement direction of the entire matrix area MT with respect to the matrix display input unit mt is switched and the sound is generated. The column P is also switched to the opposite side.

図12は、「自動描画モード」における演奏データとマトリクス表示入力部mtとの関係を模式的に示す図である。図13は、「自動描画モード」の動作を模式的に示すマトリクス表示入力部の遷移図である。   FIG. 12 is a diagram schematically showing the relationship between the performance data and the matrix display input unit mt in the “automatic drawing mode”. FIG. 13 is a transition diagram of the matrix display input unit schematically showing the operation of the “automatic drawing mode”.

図12に示すように、自動描画モードでは、演奏対象となった演奏データ中の複数のトラックのうち、所定の1つのトラック(例えばメロディパートのトラック)が、所定小節数(例えば4小節)毎に区切られ、区切られた各区間が1つのページとされる(図23のステップS701)。そして、演奏進行に従って、発音対象となっているページが、マトリクス表示入力部mtにおいて発音及び発光制御の対象となる。同図の例では、演奏データが第1ページから第Wページに区分され、現在は第2ページから第3ページに切り替わった直後であり、マトリクス表示入力部mtの最左列が発音列Pとなっている。   As shown in FIG. 12, in the automatic drawing mode, a predetermined one track (for example, a melody part track) among a plurality of tracks in the performance data to be performed is every predetermined number of bars (for example, four bars). Each section is divided into one page (step S701 in FIG. 23). Then, as the performance progresses, the page to be sounded is subject to sound generation and light emission control in the matrix display input unit mt. In the example shown in the figure, the performance data is divided from the first page to the Wth page, and immediately after switching from the second page to the third page, the leftmost column of the matrix display input unit mt is the pronunciation column P. It has become.

演奏開始にあたって、移動玉mpの移動ルートrtが全ページについて生成される(図22のステップS602、図23)。すなわち、各ページについて、含まれている発音指示データ(発音イベントデータ)に対応して、マトリクス表示入力部mt上に指定玉dp(dp1〜dp13)が設定され、それが移動ルートrtを構成するポイント(座標)とされる(図23のステップS704)。この場合の移動ルートrtは、各列nに存在する指定玉dpを辿ることになるが、指定玉dpが存在しない列nのポイントのY座標については、その列の前後に存在している2つの指定玉dpの両k値の中間値とされる。中間値が整数で存在しない場合は、その中間値の小数点第1位を四捨五入した整数値にY軸方向の座標が設定される(図23のステップS709)。   At the start of performance, a movement route rt of the movement ball mp is generated for all pages (step S602 in FIG. 22, FIG. 23). That is, for each page, designated balls dp (dp1 to dp13) are set on the matrix display input unit mt corresponding to the included pronunciation instruction data (sound generation event data), and this constitutes the movement route rt. Points (coordinates) are set (step S704 in FIG. 23). In this case, the movement route rt follows the designated ball dp existing in each column n, but the Y coordinate of the point of the column n where the designated ball dp does not exist exists before and after that column 2 It is set as an intermediate value between the two k values of the two designated balls dp. If the intermediate value is not an integer, the coordinate in the Y-axis direction is set to the integer value obtained by rounding off the first decimal place of the intermediate value (step S709 in FIG. 23).

自動描画モードでは、発音列Pが右方に順次移動するのに並行して、移動ルートrt上を移動玉mpが移動する(図15のステップS110〜S113)。その際、移動玉mpが指定玉dpに一致しない座標を進むときは、弱発光する(図16のステップS122→S123)。なお、移動玉mpは、発光をさせないように制御してもよい。そして、移動玉mpが指定玉dpに一致すると、図13(a)に示すように、その指定玉dp(dp6)が強発光すると共に、その位置に対応する発音がなされる(図16のステップS134→S135→S124)。これに並行して、その指定玉dpに対応する描画ルートデータdrtが生成され、記憶される(図24のステップS804)。なお、移動玉mpの移動に伴い、演奏データ中の、演奏対象のページとされたトラック以外の他のトラックの発音指示データの発音もなされるが(図24のステップS803)、この発音はユーザの選択によりキャンセル可能にしてもよい。   In the automatic drawing mode, the moving ball mp moves on the moving route rt in parallel with the pronunciation string P sequentially moving to the right (steps S110 to S113 in FIG. 15). At that time, when the moving ball mp advances the coordinates that do not coincide with the designated ball dp, weak light is emitted (steps S122 → S123 in FIG. 16). The moving ball mp may be controlled so as not to emit light. When the moving ball mp matches the designated ball dp, as shown in FIG. 13A, the designated ball dp (dp6) emits strong light and a sound corresponding to the position is generated (step in FIG. 16). S134 → S135 → S124). In parallel with this, drawing route data drt corresponding to the designated ball dp is generated and stored (step S804 in FIG. 24). Note that, along with the movement of the moving ball mp, the sound generation instruction data of other tracks in the performance data other than the track set as the performance target page is also generated (step S803 in FIG. 24). You may make it cancelable by selecting.

描画ルートデータdrtには、描画表示の態様、すなわち、描画の形状、描画変化の速さ、描画の最大範囲等の要素が含まれ、これらは、ユーザにより任意に設定できるが、演奏データ中のテンポ情報、発音イベントのオンベロシティ等の楽音に関するパラメータのいずれかまたは複数に基づいて、各々設定することもできる。本実施の形態では、一例として、四角形の表示が時間と共に拡大していくような動的表示(所定の描画表示)がなされる。描画変化の速さは演奏データ中のテンポ情報に基づき設定され、描画の最大範囲は特に制約なく、マトリクス表示入力部mtの表示可能範囲内とされる。   The drawing route data drt includes elements such as a drawing display mode, that is, a drawing shape, a drawing change speed, a drawing maximum range, etc., which can be arbitrarily set by the user. Each can be set based on one or a plurality of parameters relating to musical tone such as tempo information and on-velocity of a sounding event. In the present embodiment, as an example, dynamic display (predetermined drawing display) is performed such that a square display expands with time. The speed of the drawing change is set based on tempo information in the performance data, and the maximum drawing range is not particularly limited and is within the displayable range of the matrix display input unit mt.

描画ルートデータdrtは、例えば、図13(b)→(c)→(d)というように、描画更新タイミング毎に、異なる四角形等の描画を順次表示させていくためのデータである。すなわち、図13(a)〜(d)に示すように、対象となっている指定玉dpに対応する描画表示について、描画更新タイミングがくる度に、描画ルートデータdrtに従って描画表示が拡大していく(図25のステップS901→S902→S903→S904→S905)。描画更新タイミングは、後述する図17のタイミング信号発信処理で発信されるタイミング信号により規定され、例えば、後述するtem×4/16信号の発信の度に描画更新タイミングとされる。なお、描画中においては、当該指定玉dpは消光されるが(ステップS904)、その発光を維持するようにしてもよい。   The drawing route data drt is data for sequentially displaying different quadrangular drawing or the like at each drawing update timing, for example, as shown in FIG. 13 (b) → (c) → (d). That is, as shown in FIGS. 13A to 13D, the drawing display corresponding to the target designated ball dp is enlarged according to the drawing route data drt every time the drawing update timing comes. (Steps S901 → S902 → S903 → S904 → S905 in FIG. 25). The drawing update timing is defined by a timing signal transmitted in a timing signal transmission process of FIG. 17 described later, and is, for example, a drawing update timing every time a tem × 4/16 signal described later is transmitted. During the drawing, the designated ball dp is extinguished (step S904), but the light emission may be maintained.

そして、発音列Pの移動に伴い移動ルートrt上を移動玉mpが移動し、次の指定玉dpに一致すると、図13(e)に示すように、当該次の指定玉dp(dp7)が同様に、強発光すると共にその位置に対応する発音がなされ、当該次の指定玉dpに対応する描画が同様になされる(図25のステップS901〜S905)。このとき、それまで表示されていた描画(指定玉dp6に対応するもの)は、消去される(ステップS903)。なお、既に発音列Pが通り過ぎ発音タイミングが過ぎた指定玉dpは消光されるが(図15のステップS112)、弱発光を維持するようにしてもよい。   Then, when the moving ball mp moves on the moving route rt with the movement of the pronunciation string P and matches the next designated ball dp, as shown in FIG. 13 (e), the next designated ball dp (dp7) is obtained. Similarly, a strong light is emitted and a sound corresponding to the position is generated, and drawing corresponding to the next designated ball dp is similarly performed (steps S901 to S905 in FIG. 25). At this time, the drawing displayed so far (the one corresponding to the designated ball dp6) is deleted (step S903). In addition, although the designated ball dp that has already passed the pronunciation sequence P and the sound generation timing has passed is extinguished (step S112 in FIG. 15), weak light emission may be maintained.

図14は、「リアルタイム描画演奏モード」の動作を模式的に示すマトリクス表示入力部の遷移図である。   FIG. 14 is a transition diagram of the matrix display input section schematically showing the operation of the “real time drawing performance mode”.

リアルタイム描画演奏モードでは、自動描画モードで表示されるのと同様の描画表示が、自動演奏に沿ってではなく、ユーザの操作に応じてなされる。すなわち、あるマトリクス表示入力部mtをオンすると、そのマトリクス表示入力部mtに対応するマトリクス表示部mtLEDが弱発光し(図14(a)、図26のステップS1002→S1003)、さらにそのマトリクス表示入力部mtを所定時間TA(例えば1秒間)継続してオンし続けると、そのマトリクス表示入力部mtの周辺のマトリクス表示部mtLEDが弱発光すると共に、当該オンされているマトリクス表示入力部mtが指定玉dp(指定玉dp8)とされる(図14(b)、図26のステップS1005〜S1010)。   In the real-time drawing / playing mode, the same drawing display as that displayed in the automatic drawing mode is performed according to the user's operation, not along the automatic playing. That is, when a certain matrix display input section mt is turned on, the matrix display section mtLED corresponding to the matrix display input section mt emits weak light (FIG. 14A, steps S1002 to S1003 in FIG. 26), and the matrix display input is further performed. When the part mt is continuously turned on for a predetermined time TA (for example, 1 second), the matrix display part mtLED around the matrix display input part mt emits weak light, and the turned-on matrix display input part mt is designated. The ball dp (designated ball dp8) is set (FIG. 14B, steps S1005 to S1010 in FIG. 26).

そして、その後、指定玉dp8をオフすると、未だ対応する発音等がなされていないことを条件として、描画ルートデータdrtが生成、記憶され、描画更新タイミングがくる度に、描画ルートデータdrtに従って四角形等の描画表示が拡大していく(図14(c)、(d)、図26のステップS1011→S1012→S1013→S1014→S1015、図25のステップS901〜S905)。   After that, when the designated ball dp8 is turned off, the drawing route data drt is generated and stored on the condition that the corresponding pronunciation or the like is not yet made, and each time the drawing update timing comes, a rectangle or the like is drawn according to the drawing route data drt. 14 is enlarged (FIGS. 14C and 14D, steps S1011 → S1012 → S1013 → S1014 → S1015 in FIG. 26, steps S901 to S905 in FIG. 25).

次に、図15〜図25のフローチャートに基づき、各種動作モードの処理を説明する。   Next, processing in various operation modes will be described based on the flowcharts of FIGS.

図15、図16は、本実施の形態におけるメイン処理のフローチャートである。本実施の形態では、各マトリクススイッチmtSWに対応する発音データKCの発音が主な演奏対象とされるが、その発音動作を規定する、指定玉dp等の座標、移動ルートrt及び動作モードの組み合わせ等、発音データKCを発音させるためのシーケンスデータを、以降、SMF(スタンダードMIDIファイル)フォーマット等の一般の自動演奏データと区別するため「マトリクス演奏データ」と称する。なお、マトリクス演奏データには、テンポ値、各マトリクススイッチmtSWに対応する楽器音等の情報を含めてもよい。マトリクス演奏データは、後述する図18のステップS314、S315で記憶装置6等に記憶され、ステップS316、S317では、記憶されたもの、あるいは外部から受信されたものが読み出されて演奏装置MCに再生対象として設定される。   15 and 16 are flowcharts of the main process in the present embodiment. In the present embodiment, the pronunciation of the pronunciation data KC corresponding to each matrix switch mtSW is the main performance object, but the combination of the coordinates of the designated ball dp, the movement route rt, and the operation mode that define the pronunciation operation. The sequence data for generating the pronunciation data KC is hereinafter referred to as “matrix performance data” in order to distinguish it from general automatic performance data such as the SMF (standard MIDI file) format. The matrix performance data may include information such as tempo values and instrument sounds corresponding to the matrix switches mtSW. The matrix performance data is stored in the storage device 6 or the like in steps S314 and S315 of FIG. 18 to be described later. In steps S316 and S317, the stored or received data is read out to the performance device MC. Set as playback target.

まず、初期設定を行い(ステップS101)、パネルスイッチ10による入力があれば、それに応じた設定を行う(ステップS102、S103)。例えば、モード設定、各列n毎の楽器音設定、演奏速度を規定するtem値の設定等を行う。なお、ここでは、外部からSMF等の演奏データを受信してそれを演奏するモードの設定もでき、その場合は、送信されてくる演奏データのテンポ信号に従って、tem値が自動的に設定されるようにしてもよい。あるいは、外部からマトリクス演奏データを受信した場合において、マトリクス演奏データにテンポ値が設定されていれば、それによってtem値が設定されるようにしてもよい。   First, initial setting is performed (step S101), and if there is an input from the panel switch 10, setting is performed according to the input (steps S102 and S103). For example, mode setting, instrument sound setting for each column n, setting of tem value for defining performance speed, and the like are performed. Here, it is also possible to set a mode for receiving performance data such as SMF from the outside and playing it. In this case, the tem value is automatically set according to the tempo signal of the performance data transmitted. You may do it. Alternatively, when matrix performance data is received from the outside, if a tempo value is set in the matrix performance data, the tem value may be set accordingly.

次に、後述する図18、図19の自動演奏入力受付等処理を実行し(ステップS104)、後述する図26のリアルタイム描画演奏処理を実行して(ステップS137)、再生対象として設定されているその他の(マトリクス演奏データ以外のSMF等の)演奏データがあるか否かを判別し(ステップS105)、その他の演奏データがあれば、その演奏データの発音処理を実行する(ステップS106)。この演奏データは、発音データKCとは別個であり、上記各種動作モードによる発音とは別個に単独で、あるいは並行してなされ得る。また、このステップS106では、前記ステップS317で、マトリクス演奏データが読み出され設定された場合に、当該マトリクス演奏データに対応付けて予め記憶されているMIDI等の演奏データの発音処理も行うことができる。   Next, processing such as automatic performance input acceptance shown in FIGS. 18 and 19 described later is executed (step S104), and real-time drawing performance processing shown in FIG. 26 described later is executed (step S137), which is set as a reproduction target. It is determined whether or not there is other performance data (such as SMF other than matrix performance data) (step S105), and if there is other performance data, sound generation processing of the performance data is executed (step S106). This performance data is separate from the sound production data KC, and can be made independently or in parallel with the sound production in the various operation modes. In step S106, when matrix performance data is read and set in step S317, sound generation processing of performance data such as MIDI stored in advance in association with the matrix performance data is also performed. it can.

次に、動作モードが、上述した「順次発音モード」であるか否かを判別し(ステップS107)、「順次発音モード」でなければ直ちにステップS131に進む一方、「順次発音モード」であれば順次発音モード処理を上述の通り実行してから(ステップS108)、ステップS131に進む。ステップS131では、自動描画モード停止フラグdFが「1」に設定されているか否かを判別する。ここで、自動描画モード停止フラグdFは、自動描画モードにおいて、演奏を停止することを「1」で示すフラグであり、後述する図22のステップS604で「1」に設定される。そして、dF=1であれば直ちに本処理を終了する一方、dF=1でない場合は、ステップS109に進む。   Next, it is determined whether or not the operation mode is the “sequential sounding mode” described above (step S107). If the operation mode is not the “sequential sounding mode”, the process immediately proceeds to step S131. After the sequential sound generation mode processing is executed as described above (step S108), the process proceeds to step S131. In step S131, it is determined whether or not the automatic drawing mode stop flag dF is set to “1”. Here, the automatic drawing mode stop flag dF is a flag indicating “1” to stop the performance in the automatic drawing mode, and is set to “1” in step S604 of FIG. If dF = 1, the process immediately ends. If dF = 1 is not satisfied, the process proceeds to step S109.

ステップS109では、移動ルートrtが生成されているか否かを判別し、生成されていなければ前記ステップS102に戻る一方、生成されていれば、歩進タイミング(T=0)であるか否かを判別する(ステップS110)。   In step S109, it is determined whether or not the travel route rt has been generated. If it has not been generated, the process returns to step S102. If it has been generated, it is determined whether or not it is the step timing (T = 0). It discriminate | determines (step S110).

図17は、タイミング信号発信処理のフローチャートである。本処理は、タイマ処理により一定時間間隔で実行される。   FIG. 17 is a flowchart of timing signal transmission processing. This process is executed at regular time intervals by a timer process.

本処理では、T=temになるまでカウンタ値Tを毎回インクリメントしていく(ステップS201)。T=temとなる間での間に、T=tem×1/16となったら1/16信号を発信し(ステップS202、S203)、以降、カウンタ値Tがtem×1/16ずつ増加する度に、2/16信号、3/16信号、4/16信号・・・15/16信号を順次発信する(ステップS204〜S211)。そして、T=temになると、「0」信号を発信し(ステップS212、S213)、さらにカウンタ値Tを「0」にリセットして(ステップS214)、本処理を終了する。   In this process, the counter value T is incremented every time until T = tem (step S201). During T = tem, when T = tem × 1/16, a 1/16 signal is transmitted (steps S202 and S203). Thereafter, every time the counter value T increases by tem × 1/16. 2/16 signal, 3/16 signal, 4/16 signal... 15/16 signal are sequentially transmitted (steps S204 to S211). When T = tem is reached, a “0” signal is transmitted (steps S212 and S213), the counter value T is reset to “0” (step S214), and the process is terminated.

図15に戻り、前記ステップS110で、歩進タイミングであれば、現在の移動玉mpの位置と指定玉dpの位置が一致しているか否かを判別し(ステップS111)、両者が一致していない場合は、移動玉mpが移動ルートrt上の、指定玉dpではない位置を移動途中であるので、移動玉mpの現在座標のマトリクス表示部mtLEDを消光させてから(ステップS112)、移動ルートrt上で移動玉mpを1つ歩進させる(ステップS113、図4(d)〜(f)、図5(d)等参照)。これにより、移動玉mpが去った直後のマトリクス表示部mtLEDが消光される。一方、前記ステップS111で、両者が一致している場合は、動作モードが自動描画モードまたはオルゴールモードであるか否かを判別し(ステップS114)、自動描画モードでもオルゴールモードでもない場合は、移動玉mpの現在座標(指定玉dpでもある)のマトリクス表示部mtLEDを弱発光させてから(ステップS115)、移動ルートrt上で移動玉mpを1つ歩進させる(ステップS113)。すなわち、自動描画モードでもオルゴールモードでもない場合は、移動玉mpが指定玉dpと一致した後に指定玉dpを離れる際、該指定玉dpが弱発光とされ、それが継続される。   Returning to FIG. 15, if it is the step timing in step S110, it is determined whether or not the position of the current moving ball mp matches the position of the designated ball dp (step S111). If there is not, the moving ball mp is moving on a position that is not the designated ball dp on the moving route rt. Therefore, after the matrix display part mtLED of the current coordinates of the moving ball mp is extinguished (step S112), the moving route The moving ball mp is incremented by one on rt (see step S113, FIGS. 4D to 4F, FIG. 5D, etc.). Thereby, the matrix display part mtLED immediately after the moving ball mp leaves is extinguished. On the other hand, if the two match in step S111, it is determined whether or not the operation mode is the automatic drawing mode or the music box mode (step S114). The matrix display unit mtLED at the current coordinates of the ball mp (which is also the designated ball dp) is caused to emit light weakly (step S115), and then the moving ball mp is advanced by one on the moving route rt (step S113). In other words, when neither the automatic drawing mode nor the music box mode is set, when the moving ball mp leaves the designated ball dp after the designated ball dp coincides with the designated ball dp, the designated ball dp is caused to emit weak light and this is continued.

しかし、前記ステップS114で自動描画モードまたはオルゴールモードのいずれかである場合は、自動描画モード、または移動ルートrtが生成されている自動スクロールモードであるので、移動玉mpが指定玉dpから離れた後は指定玉dpを消光させるべく、前記ステップS112に進む(図10(b)参照)。   However, if the automatic drawing mode or the music box mode is set in the step S114, the moving ball mp is separated from the designated ball dp because the automatic drawing mode or the automatic scroll mode in which the moving route rt is generated. Thereafter, the process proceeds to step S112 in order to extinguish the designated ball dp (see FIG. 10B).

次に、移動玉mpがマトリクス表示入力部mtにおける外縁座標に一致するか否かを判別する(ステップS116)。外縁座標は、上下端部または左右端部、すなわち、第1、第16行(k=1、16)、第1、第16列(n=1、16)のいずれかに含まれる座標である。その判別の結果、移動玉mpが外縁座標に一致しない場合は、移動玉mpが指定玉dpに一致するか否かを判別し(ステップS122)、移動玉mpが指定玉dpに一致しない場合は、移動玉mpが移動ルートrt上の、指定玉dpではない位置を移動途中であるので、移動玉mpを弱発光させる(ステップS123、図4(d)、(f)、図5(d)等参照)。これにより、移動玉mpが弱発光しつつ移動する。その後、後述する図25の描画制御処理を実行して(ステップS136)、前記ステップS102に戻る。   Next, it is determined whether or not the moving ball mp matches the outer edge coordinates in the matrix display input unit mt (step S116). The outer edge coordinates are coordinates included in the upper and lower end portions or the left and right end portions, that is, in any of the first and 16th rows (k = 1, 16), the first, and 16th columns (n = 1, 16). . As a result of the determination, if the moving ball mp does not match the outer edge coordinates, it is determined whether or not the moving ball mp matches the designated ball dp (step S122), and if the moving ball mp does not match the designated ball dp Since the moving ball mp is moving on the moving route rt at a position that is not the designated ball dp, the moving ball mp emits light weakly (step S123, FIGS. 4D, 4F, and 5D). Etc.). Thereby, the moving ball mp moves while weakly emitting light. Thereafter, a drawing control process of FIG. 25 described later is executed (step S136), and the process returns to step S102.

一方、移動玉mpが指定玉dpに一致した場合は、動作モードが自動描画モードであるか否かを判別し(ステップS134)、自動描画モードでない場合はステップS124に進む一方、自動描画モードである場合は、後述する図24の発音、発光、描画ルート生成処理を実行してから(ステップS135)、前記ステップS124に進む。ステップS124では、移動玉mp乃至指定玉dpを強発光させると共に、対応する発音データKCに基づく発音を行う(図4(e)、図5(e)参照)。その後、前記ステップS136を実行して、前記ステップS102に戻る。   On the other hand, if the moving ball mp matches the designated ball dp, it is determined whether or not the operation mode is the automatic drawing mode (step S134). If it is not the automatic drawing mode, the process proceeds to step S124. If there is, a sound generation, light emission, and drawing route generation process shown in FIG. In step S124, the moving ball mp to the designated ball dp are made to emit strong light and sound is generated based on the corresponding sound data KC (see FIGS. 4 (e) and 5 (e)). Thereafter, the step S136 is executed, and the process returns to the step S102.

一方、前記ステップS116の判別の結果、移動玉mpが外縁座標に一致する場合は、動作モードが自動描画モードであるか否かを判別し(ステップS132)、自動描画モードでない場合はステップS117に進む一方、自動描画モードである場合は、次の区間にページ切り替えして(ステップS133)(図12参照)、前記ステップS117に進む。   On the other hand, if the result of the determination in step S116 is that the moving ball mp matches the outer edge coordinates, it is determined whether or not the operation mode is the automatic drawing mode (step S132). On the other hand, if the automatic drawing mode is selected, the page is switched to the next section (step S133) (see FIG. 12), and the process proceeds to step S117.

ステップS117〜S121では、オルゴールモードの自動スクロールモード時における移動玉mpの発音、強発光処理、跳ね返りの移動ルートrtの生成処理、移動ルートrtのクリア処理等を実行する。ここで、ステップS117における「F1」は、自動スクロールモードであることを「1」で示すフラグであり、後述する図21のステップS502、S504、S506で設定される。   In steps S117 to S121, sound generation of the moving ball mp, strong light emission processing, generation processing of the rebound movement route rt, clearing processing of the movement route rt, and the like in the automatic scroll mode of the music box mode are executed. Here, “F1” in step S117 is a flag indicating that the automatic scroll mode is set to “1”, and is set in steps S502, S504, and S506 in FIG.

図18、図19は、図15のステップS104で実行される自動演奏入力受付等処理のフローチャートである。まず、設定されている動作モードが、動きモードのうちの回転モードであるか否かを判別し(ステップS301)、そうでない場合は、動作モードがランダムループモードである否かを判別し(ステップS302)、ランダムループモードである場合は、ステップS303〜S311で、オンイベントを受け付けて、指定玉dpの指定及び指定解除を行い、それらを弱発光、消光させる処理、ランダムループモード用の移動ルートrtを生成する処理、移動ルートを修正(つなぎ直し)乃至クリアする処理等を行う。   18 and 19 are flowcharts of processing such as automatic performance input acceptance executed in step S104 of FIG. First, it is determined whether or not the set operation mode is a rotation mode among the motion modes (step S301). Otherwise, it is determined whether or not the operation mode is a random loop mode (step S301). S302), in the case of the random loop mode, in steps S303 to S311, an on-event is received, the designated ball dp is designated and dedesignated, and they are weakly lit and extinguished, a moving route for the random loop mode Processing for generating rt, processing for correcting (reconnecting) or clearing the movement route, and the like are performed.

前記ステップS302の判別の結果、動作モードがランダムループモードでない場合は、動作モードが2点ループモードであるか否かを判別する(ステップS318)。そして、2点ループモードである場合は、ステップS324〜S330で、オンイベント、オフイベントを受け付けて、指定玉dpの指定及び指定解除を行い、それらを弱発光、消光させる処理、2つの指定玉dp間で移動ルートrtを生成する処理、移動ルートrtを修正する処理等を行う。   If the operation mode is not the random loop mode as a result of the determination in step S302, it is determined whether or not the operation mode is the two-point loop mode (step S318). In the case of the two-point loop mode, in steps S324 to S330, an on event and an off event are received, the designated ball dp is designated and dedesignated, and the two designated balls are subjected to weak light emission and quenching. A process of generating a travel route rt between dp, a process of correcting the travel route rt, and the like are performed.

前記ステップS318の判別の結果、動作モードが2点ループモードでない場合は、動作モードがオルゴールモードであるか、順次発音モードであるかを順次判別する(ステップS319、S321)。そして、オルゴールモードであれば、後述する図21のオルゴールモード処理を実行し(ステップS320)、順次発音モードであれば、上述したような順次発音モードの入力受付処理を実行し(ステップS322)、いずれでもなければ、動作モードが自動描画モードであるか否かを判別する(ステップS331)。そして、自動描画モードでない場合は、ステップS323に進む一方、自動描画モードである場合は、後述する図22の自動描画モード処理を実行して(ステップS332)、ステップS323に進み、ステップS323で、その他処理(その他のモードの処理等)を実行する。その後、前記ステップS312に進む。   If it is determined in step S318 that the operation mode is not the two-point loop mode, it is sequentially determined whether the operation mode is the music box mode or the sequential sound generation mode (steps S319 and S321). If the music box mode is selected, the music box mode process of FIG. 21 described later is executed (step S320). If the sound generation mode is the sequential sound generation mode, the above-described sequential sound generation mode input reception process is executed (step S322). Otherwise, it is determined whether or not the operation mode is the automatic drawing mode (step S331). If the automatic drawing mode is not set, the process proceeds to step S323. If the automatic drawing mode is set, the automatic drawing mode process of FIG. 22 described later is executed (step S332), and the process proceeds to step S323. In step S323, Other processing (processing in other modes, etc.) is executed. Thereafter, the process proceeds to step S312.

前記ステップS301の判別の結果、回転モードである場合は、前記ステップS312に進む。また、前記ステップS303でオンイベントがなかった場合も、前記ステップS312に進む。   If it is determined in step S301 that the rotation mode is set, the process proceeds to step S312. Also, if there is no ON event in step S303, the process proceeds to step S312.

前記ステップS312では、動作モードとして動きモードが設定されているか否かを判別し、動きモードが設定されている場合にのみ、後述する図20の動きモード処理を実行する(ステップS313)。次に、記憶指示があるか否かを判別し(ステップS314)、記憶指示がある場合にのみ、現在の動作モードに対応させて、指定玉dp、移動ルートrtをマトリクス演奏データとして記憶する(ステップS315)。次に、演奏データ(マトリクス演奏データを含む)の読み出し指示があるか否かを判別し(ステップS316)、読み出し指示があった場合にのみ、その指示が示す演奏データを読み出し、演奏装置MCに再生用として設定して(ステップS317)、本処理を終了する。   In step S312, it is determined whether or not the motion mode is set as the operation mode. Only when the motion mode is set, the motion mode process of FIG. 20 described later is executed (step S313). Next, it is determined whether or not there is a storage instruction (step S314), and only when there is a storage instruction, the designated ball dp and the movement route rt are stored as matrix performance data corresponding to the current operation mode (step S314). Step S315). Next, it is determined whether or not there is an instruction to read performance data (including matrix performance data) (step S316), and only when there is an instruction to read, the performance data indicated by the instruction is read out to the performance device MC. It is set for reproduction (step S317), and this process ends.

図20は、動きモード処理のフローチャートである。この動きモード処理では、回転モードである場合は、回転指示Ronに応じて、回転中心P0、回転方向、及び回転速度を演算し、グループ図形の回転を実行すると共に、回転停止指示Roffに応じて、回転を停止させる処理等を行う(ステップS402〜407)。また、Gセンサモードである場合は、テンポ、座標等を制御対象として、加速度変化に応じてtem値の変更、グループ図形の変位等の処理を行う(ステップS409〜414)。   FIG. 20 is a flowchart of the motion mode process. In this motion mode process, in the case of the rotation mode, the rotation center P0, the rotation direction, and the rotation speed are calculated according to the rotation instruction Ron, the group figure is rotated, and according to the rotation stop instruction Roff. Then, processing for stopping the rotation is performed (steps S402 to S407). In the G sensor mode, the tempo, coordinates, and the like are controlled, and processing such as changing the tem value and displacing the group figure is performed according to changes in acceleration (steps S409 to S414).

図21は、前記ステップS320で実行されるオルゴールモード処理のフローチャートである。   FIG. 21 is a flowchart of the music box mode process executed in step S320.

ステップS501〜506において、自動スクロールモードの設定及び設定解除指示、手動スクロールモードの設定指示の受け付けの処理、並びに、自動スクロールモードにおける移動ルートrtの生成処理等を行う。また、ステップS507〜S515において、オンイベント、スクロール指示を受け付けて、それらに応じた処理を行う。ここで、ステップS502において、フラグF2は、手動スクロールモードであることを「1」で示すフラグである。   In steps S501 to S506, processing for setting and canceling the automatic scroll mode, reception of the setting instruction for the manual scroll mode, generation processing of the movement route rt in the automatic scroll mode, and the like are performed. In steps S507 to S515, an on event and a scroll instruction are received, and processing corresponding to them is performed. Here, in step S502, the flag F2 is a flag indicating "1" indicating that the manual scroll mode is set.

図22は、図19のステップS332で実行される自動描画モード処理のフローチャートである。   FIG. 22 is a flowchart of the automatic drawing mode process executed in step S332 of FIG.

まず、描画しつつ演奏を行う自動描画モードの、開始指示、停止指示があったか否かを判別し(ステップS601、S603)、自動描画モードの開始指示があった場合は、後述する図23の移動ルート生成処理を実行し(ステップS602)、停止指示があった場合は、ステップS604に進む。   First, it is determined whether or not there has been a start instruction or a stop instruction in the automatic drawing mode in which performance is performed while drawing (steps S601 and S603). If there is an instruction to start the automatic drawing mode, the movement shown in FIG. A route generation process is executed (step S602), and if there is a stop instruction, the process proceeds to step S604.

図23は、図22のステップS602で実行される移動ルート生成処理のフローチャートである。まず、演奏対象となっている演奏データ中の所定の1つのトラックから、マトリクス表示入力部mtにおける新たな発音対象のページを得るために、新たに4小節分の区間の演奏データを取得し(ステップS701)、レジスタ値Nに「1」を設定する(ステップS702)。   FIG. 23 is a flowchart of the movement route generation process executed in step S602 of FIG. First, in order to obtain a new sound generation target page in the matrix display input unit mt from a predetermined track in the performance data to be played, performance data for a section of four bars is newly acquired ( Step S701), “1” is set to the register value N (Step S702).

次に、上記取得した演奏データ中に、N列に対応する発音指示データがあるか否かを判別し(ステップS703)、発音指示データがあれば、N値と、当該発音指示データに対応するY座標(k値)とから、座標(N、k)を、今回のページにおける指定玉dpとして指定すると共に、移動ルートrtを構成するポイントとしても設定し(ステップS704)、ステップS710に進む。   Next, it is determined whether or not the obtained performance data includes sound generation instruction data corresponding to the N column (step S703). If there is sound generation instruction data, the N value corresponds to the sound generation instruction data. From the Y coordinate (k value), the coordinate (N, k) is designated as the designated ball dp on the current page and also set as a point constituting the moving route rt (step S704), and the process proceeds to step S710.

一方、前記ステップS703の判別の結果、N列に対応する発音指示データがない場合は、ステップS705〜709で、指定玉dp間をつなぐ中間ポイント群を、移動ルートrtを構成するポイントとして設定する処理を行う。すなわち、レジスタ値mに現在のN値を設定し(ステップS705)、m列が、発音指示データが存在する列となるまで、m値を1ずつインクリメントしていく(ステップS706、S707)。すなわち、次に指定玉dpが存在する列を探す。そして、m列に対応する発音指示データがある場合は、下記数式1により、上記中間ポイントのY座標を規定するY(rt)を求める。   On the other hand, as a result of the determination in step S703, if there is no pronunciation instruction data corresponding to the N column, in step S705 to 709, an intermediate point group connecting the designated balls dp is set as a point constituting the moving route rt. Process. That is, the current N value is set in the register value m (step S705), and the m value is incremented by 1 until the m column becomes a column in which the sound generation instruction data exists (steps S706 and S707). That is, the next line in which the designated ball dp exists is searched. If there is pronunciation instruction data corresponding to the m column, Y (rt) that defines the Y coordinate of the intermediate point is obtained by the following mathematical formula 1.

[数1]
Y(rt)=YN−1+(Y−YN―1)/(m―(N―1))
そして、m値とY(rt)値とから、(m、Y(rt))の近似点を移動ルートrtを構成するポイントに設定する(ステップS709)。例えば、図12の例でいえば、n=4列目には、対応する発音指示データ(指定玉dp)が存在しないので、m値=4におけるY(rt)値の算出においては、指定玉dp3と指定玉dp4の、Y方向中間位置であるk=6行目の座標がY(rt)値となる。(m、Y(rt))の近似点としては、例えば、上記したように、Y(rt)値が整数でない場合に、Y(rt)値の小数点第1位を四捨五入した整数値をY(rt)値に代替することで特定されるポイントとされる。なお、四捨五入に代えて、小数点第1位以下を切り上げ、あるいは切り捨てとしてもよい。
[Equation 1]
Y (rt) = Y N- 1 + (Y m -Y N-1) / (m- (N-1))
Then, from the m value and the Y (rt) value, an approximate point of (m, Y (rt)) is set as a point constituting the moving route rt (step S709). For example, in the example of FIG. 12, since there is no corresponding pronunciation instruction data (designated ball dp) in the n = 4th column, in calculating the Y (rt) value at m value = 4, the designated ball is used. The coordinates of the k = 6th row, which is the middle position in the Y direction, between dp3 and the designated ball dp4 are Y (rt) values. As an approximation point of (m, Y (rt)), for example, as described above, when the Y (rt) value is not an integer, an integer value obtained by rounding off the first decimal place of the Y (rt) value is represented by Y ( rt) The point specified by substituting the value. In place of rounding off, the first decimal place may be rounded up or rounded down.

上記ステップS701〜709の処理は、Nが16(16はnの最大値)となるまで繰り返され(ステップS710)、前記ステップS704、S709で設定されたポイントを繋げることで、図12に例示するような1ぺージ分の移動ルートrtが生成される。   The processes in steps S701 to S709 are repeated until N reaches 16 (16 is the maximum value of n) (step S710), and the points set in steps S704 and S709 are connected to exemplify in FIG. Such a movement route rt for one page is generated.

そして、N>16となると、演奏対象となっている演奏データのうち未処理のデータがあるか否かを判別し(ステップS711)、未処理のデータがなくなるまで、ステップS701〜S710の処理を繰り返すことで、全ページ分の指定玉dpと設定及び移動ルートrtの生成を行った後、これらすべてを、当該演奏対象となっている演奏データに対応付けて記憶して(ステップS712)、本処理を終了する。   When N> 16, it is determined whether or not there is unprocessed data among the performance data to be played (step S711), and the processes of steps S701 to S710 are performed until there is no unprocessed data. By repeating, the designated balls dp for all pages, the setting and the generation of the moving route rt are performed, and all of these are stored in association with the performance data to be played (step S712). The process ends.

この処理で生成、記憶された、指定玉dpの指定及び移動ルートrtは、図15のステップS109以降の処理で移動玉mpの移動発光、発音処理等の制御に用いられるデータの一部となる。   The designation and movement route rt of the designated ball dp generated and stored in this process becomes a part of data used for control of movement light emission, sound generation processing, etc. of the movement ball mp in the processing after step S109 in FIG. .

図22に戻り、前記ステップS604では、現在のページの移動ルートrtを維持し、且つ自動描画モード停止フラグdFを「1」に設定し、ステップS605に進む。ステップS605で演奏データ作成指示があった場合は、ステップS606〜609で、オンイベントを受け付けて、それに応じた処理を行う。すなわち、指定玉dp以外がオンされた場合は、それを弱発光させて指定状態とする一方、指定玉dpがオンされた場合は、それを消光すると共にその指定状態を解除する。   Returning to FIG. 22, in step S604, the current page movement route rt is maintained, the automatic drawing mode stop flag dF is set to “1”, and the process proceeds to step S605. If there is an instruction to create performance data in step S605, an on event is accepted in steps S606 to 609, and processing corresponding thereto is performed. That is, when a ball other than the designated ball dp is turned on, it is made to emit light weakly to be in a designated state. On the other hand, when the designated ball dp is turned on, it is extinguished and the designated state is released.

次に、ステップS610で、ページ切り替え指示があればページ切り替えを行い(ステップS611)、演奏データの完成指示があるまで(ステップS612)、前記ステップS606〜S611の処理を繰り返して、完成指示があれば、本処理を終了する。ここで完成した演奏データは、上記図18のステップS315で記憶され、ステップS317で読み出されて再生対象とされ得る。   Next, in step S610, if there is a page switching instruction, page switching is performed (step S611). Until there is a performance data completion instruction (step S612), the processes in steps S606 to S611 are repeated to provide the completion instruction. If this is the case, the process ends. The performance data completed here is stored in step S315 in FIG. 18, and can be read out in step S317 to be played back.

図24は、図16のステップS135で実行される発音、発光、描画ルート生成処理のフローチャートである。   FIG. 24 is a flowchart of the sound generation, light emission, and drawing route generation processing executed in step S135 of FIG.

まず、現在表示中の描画があるか否かを判別し(ステップS801)、なければステップS803に進む一方、あれば、その現在表示中の描画を停止すると共に、現在の描画ルートをクリア(描画ルートデータdrtをクリア)して(ステップS802)、前記ステップS803に進む。図13の例でいえば、図13(e)に示すように、移動玉mpが指定玉dp7と一致したとき、それまで表示されていた、指定玉dp6に対応する描画(図13(d)参照)が消去され、それ用の描画ルートデータdrtもクリアされる。なお、現在表示中の描画は、停止させることなくマトリクス表示入力部mtからはみ出るまで表示を継続するようにしてもよい。   First, it is determined whether or not there is a drawing currently being displayed (step S801). If not, the process proceeds to step S803. If there is, the drawing currently being displayed is stopped and the current drawing route is cleared (drawing). The route data drt is cleared) (step S802), and the process proceeds to step S803. In the example of FIG. 13, as shown in FIG. 13 (e), when the moving ball mp matches the designated ball dp7, the drawing corresponding to the designated ball dp6 displayed until then (FIG. 13 (d)). (Reference) is deleted, and the drawing route data drt for that is also cleared. Note that the drawing currently being displayed may be continued until it is projected from the matrix display input unit mt without stopping.

ステップS803では、演奏データに従って、演奏対象のページとされているトラック以外の他のトラックの発音指示データの発音制御を実行する。なお、上述したように、描画表示に対応する指定玉dp自体の発音、発光制御は、図16のステップS124でなされる。   In step S803, sound generation control of sound generation instruction data of tracks other than the track set as the performance target page is executed according to the performance data. As described above, the sound generation and light emission control of the designated ball dp itself corresponding to the drawing display is performed in step S124 in FIG.

次に、今回、移動玉mpが到達した新たな指定玉dpに対応する描画ルートデータdrtを生成し、記憶して(ステップS804)、本処理を終了する。ここで、本実施の形態では、一例を前述したように、例えば、図15のステップS102におけるユーザによる設定により、描画の形状は四角形、描画の最大範囲はマトリクス表示入力部mtの表示可能範囲内とされる。また、描画変化の速さ、すなわち、四角形が拡大する速さは、tem×4/16信号の発信間隔とされる。なお、描画変化は、オンベロシティが大きいほど速くなるように設定してもよく、そのようにすれば、感覚的にも自然である。そのためには、例えば、描画更新タイミングに用いるタイミング信号として、オンベロシティの値が大きいほど、発生間隔が短いタイミング信号を採択するようにすればよい。   Next, drawing route data drt corresponding to the new designated ball dp reached by the moving ball mp this time is generated and stored (step S804), and this processing is terminated. Here, in the present embodiment, as described above, for example, the drawing shape is a rectangle and the maximum drawing range is within the displayable range of the matrix display input unit mt according to the setting by the user in step S102 in FIG. It is said. The speed of the drawing change, that is, the speed at which the quadrangle expands is the transmission interval of the tem × 4/16 signal. It should be noted that the drawing change may be set so as to be faster as the on-velocity is larger, and by doing so, it is natural in terms of feeling. For that purpose, for example, as the timing signal used for the drawing update timing, a timing signal having a shorter generation interval may be adopted as the on-velocity value is larger.

図25は、図16のステップS136で実行される描画制御処理のフローチャートである。まず、描画ルートデータdrtが生成されているかを判別し(ステップS901)、生成されていれば、描画更新タイミングであるか否か(tem×4/16信号が発信されたか否か)を判別し(ステップS902)、描画更新タイミングであれば、現在の描画表示発光を消光する(ステップS903)。この処理は、描画表示を変化(ここでは四角形を拡大)させていくための処理であり、図13の例でいえば、図13(b)に示す状態で、描画更新タイミングがくると、図13(c)に示す四角形を描画表示するにあたって、まず、図13(b)に示す四角形の描画表示が消去される。   FIG. 25 is a flowchart of the drawing control process executed in step S136 of FIG. First, it is determined whether drawing route data drt has been generated (step S901). If it has been generated, it is determined whether it is a drawing update timing (whether a tem × 4/16 signal has been transmitted). If it is the drawing update timing (step S902), the current drawing display light emission is extinguished (step S903). This process is a process for changing the drawing display (here, the rectangle is enlarged). In the example of FIG. 13, when the drawing update timing comes in the state shown in FIG. In drawing and displaying the quadrangle shown in FIG. 13C, first, the quadrilateral drawing display shown in FIG. 13B is deleted.

次に、ステップS905で、当該指定玉dpに対応する描画ルートデータdrtに従って、次の描画表示を行い、本処理を終了する。このようにして、描画更新タイミングの度に、描画表示が順次変化していく(図13(a)〜(d)参照)。   Next, in step S905, the next drawing display is performed according to the drawing route data drt corresponding to the designated ball dp, and this process is terminated. In this way, the drawing display changes sequentially at each drawing update timing (see FIGS. 13A to 13D).

図26は、図15のステップS137で実行されるリアルタイム描画演奏処理のフローチャートである。   FIG. 26 is a flowchart of the real-time drawing performance process executed in step S137 of FIG.

まず、動作モードがリアルタイム描画演奏モードであるか否かを判別し(ステップS1001)、リアルタイム描画演奏モードであれば、オンイベント、すなわち、いずれかのマトリクス表示入力部mtの押下があったか否かを判別し(ステップS1002)、オンイベントがあれば、そのマトリクス表示入力部mtに対応するマトリクス表示部mtLEDを弱発光させ(ステップS1003、図14(a))、オンイベントがあった後の時間の計測を開始し(ステップS1004)、上記計測した時間が上記所定時間TAを経過したか否かを判別する(ステップS1005)。ここで、複数のマトリクス表示入力部mtがオン状態にあるときは、各マトリクス表示入力部mt毎に時間が計測される。   First, it is determined whether or not the operation mode is the real-time drawing performance mode (step S1001). If the operation mode is the real-time drawing performance mode, it is determined whether an on event, that is, whether any matrix display input unit mt has been pressed. If there is an ON event, the matrix display unit mtLED corresponding to the matrix display input unit mt emits light weakly (step S1003, FIG. 14A), and the time after the ON event has occurred. Measurement is started (step S1004), and it is determined whether or not the measured time has passed the predetermined time TA (step S1005). Here, when the plurality of matrix display input units mt are in the ON state, the time is measured for each matrix display input unit mt.

その判別の結果、計測した時間が所定時間TAを経過した場合は、当該計測時間をクリアし(ステップS1006)、対応するマトリクス表示部mtLEDを消光して(ステップS1007)、当該マトリクス表示部mtLEDの周辺にある(本実施の形態では四角形を形成する8個の)マトリクス表示部mtLEDを弱発光させる(ステップS1008、図14(b))。さらに、リアルタイム描画開始フラグstFを「1」に設定して(ステップS1009)、当該マトリクス表示入力部mtを指定玉dpとして指定し(ステップS1010)、本処理を終了する。   As a result of the determination, when the measured time has passed the predetermined time TA, the measurement time is cleared (step S1006), the corresponding matrix display unit mtLED is extinguished (step S1007), and the matrix display unit mtLED The matrix display parts mtLED in the periphery (eight in this embodiment forming a square) are caused to emit light weakly (step S1008, FIG. 14B). Further, the real-time drawing start flag stF is set to “1” (step S1009), the matrix display input part mt is designated as the designated ball dp (step S1010), and this process is terminated.

一方、前記ステップS1002でオンイベントがない場合は、オフイベントがあったか否かを判別する(ステップS1011)。ここでいうオフイベントは、本処理において既に押下状態にあるマトリクス表示入力部mtの押下が解除されたことを意味する。そして、オフイベントがない場合は前記ステップS1005に進む一方、オフイベントがあった場合は、当該オフされたマトリクス表示入力部mtに関して、対応する発音がなされているかを判別する(ステップS1012)。   On the other hand, if there is no on event in step S1002, it is determined whether or not there is an off event (step S1011). The off event here means that the pressing of the matrix display input unit mt that has already been pressed in this process is released. If there is no off event, the process proceeds to step S1005. On the other hand, if there is an off event, it is determined whether or not a corresponding pronunciation is made with respect to the turned-off matrix display input unit mt (step S1012).

その判別の結果、対応する発音がなされている場合は、前記ステップS1005に進む一方、なされていない場合は、上記オフされたマトリクス表示入力部mtに対応するマトリクス表示部mtLEDを強発光させると共に、対応する発音データKCに基づく発音を行う(ステップS1013)。すなわち、オフされたマトリクス表示入力部mtが、既に指定玉dpとして指定されており、且つ、図16のステップS124で、移動玉mpとの一致により既に発音処理がなされている場合は、発音及び強発光の処理を行うことなく前記ステップS1005に進む。   As a result of the determination, if the corresponding pronunciation is made, the process proceeds to step S1005. If not, the matrix display part mtLED corresponding to the turned-off matrix display input part mt is made to emit light strongly. Sound generation is performed based on the corresponding sound generation data KC (step S1013). That is, if the turned-off matrix display input unit mt has already been designated as the designated ball dp and the sound generation processing has already been performed due to the coincidence with the moving ball mp in step S124 in FIG. The process proceeds to step S1005 without performing strong light emission processing.

ステップS1013の処理後は、リアルタイム描画演奏モードによる描画表示開始が可能であることを「1」で示すリアルタイム描画開始フラグstFが「1」に設定されているか否かを判別し(ステップS1014)、stF=1である場合は、今回オフされた指定玉dpに対応する描画ルートデータdrtを、図24のステップS804と同様に生成し、記憶して(ステップS1015)、前記ステップS1005に進む一方、stF=1でない場合は直ちに前記ステップS1005に進む。   After the processing in step S1013, it is determined whether or not the real-time drawing start flag stF indicating “1” that drawing display can be started in the real-time drawing performance mode is set to “1” (step S1014). When stF = 1, the drawing route data drt corresponding to the designated ball dp turned off this time is generated and stored in the same manner as in step S804 in FIG. 24 (step S1015), and the process proceeds to step S1005. If not stF = 1, the process immediately proceeds to step S1005.

このリアルタイム描画演奏モードにおいても、描画表示は、自動描画モードと同様に、図16のステップS136(図25)で実行される描画制御処理により、描画ルートデータdrtに基づいてなされる。   Also in this real-time drawing performance mode, drawing display is performed based on the drawing route data drt by the drawing control process executed in step S136 (FIG. 25) of FIG. 16 as in the automatic drawing mode.

このリアルタイム描画演奏モードによれば、ユーザの操作した箇所を起点として四角形が拡大していくので、動的で視覚的な面白みのある2次元的な表示をリアルタイムに行うことができる。   According to this real-time drawing / playing mode, since the quadrangle is enlarged starting from the position operated by the user, a dynamic and visually interesting two-dimensional display can be performed in real time.

なお、前記ステップS1012では、オフされたマトリクス表示入力部mtに関して、対応する発音がなされている場合は、オフイベントがあっても発音させないように制御したが、対応する発音がなされている場合であっても、オフイベントがあったときに発音を行うように制御してもよい。   In step S1012, the matrix display input unit mt that has been turned off is controlled so as not to produce a sound even if there is an off event, but the corresponding sound is being produced. Even if it exists, you may control to sound when there exists an off event.

本実施の形態によれば、マトリクス状のマトリクス表示入力部mtの列nにタイミング要素が割り当てられ、演奏進行に従って移動する発音列Pに指定玉dpが存在する場合は、その指定玉dpに対応した描画表示を行うようにしたので、時間経過と座標に応じた描画表示により、視覚的な面白みのある2次元的な表示を行うことができる。しかも、行kにその座標に対応した発音要素が割り当てられ、当該指定玉dpに対応する楽音が発生するので、メロディ等の発音に連動して描画表示がなされる。よって、楽音発生と連動して描画表示を行って、音を、聴くだけでなく見て楽しむという斬新な楽しみ方が可能となる。例えば、音楽を聴きながらイルミネーション的な表示を行えば、癒し効果も得られる。さらに、描画表示は、時間的に変化する動的表示としたので、一層面白みのある表示を行うことができる。   According to the present embodiment, when a timing element is assigned to the column n of the matrix-like matrix display input unit mt, and the designated ball dp exists in the pronunciation row P that moves as the performance progresses, it corresponds to the designated ball dp. Since the drawn display is performed, a two-dimensional display having visual interest can be performed by the drawn display corresponding to the passage of time and coordinates. In addition, a sound element corresponding to the coordinates is assigned to the row k, and a musical sound corresponding to the designated ball dp is generated, so that a drawing display is performed in conjunction with the sound of a melody or the like. Therefore, it is possible to perform a novel way of enjoying not only listening but also enjoying the sound by drawing and displaying in conjunction with the generation of the musical sound. For example, if an illumination-like display is performed while listening to music, a healing effect can be obtained. Furthermore, since the drawing display is a dynamic display that changes with time, a more interesting display can be performed.

なお、自動描画モードにおいては、マトリクス表示入力部mtの行、列のうち、列にタイミング要素を割り当て、行に発音要素を割り当てたが、割り当てをこれとは逆にしてもよい。   In the automatic drawing mode, among the rows and columns of the matrix display input unit mt, the timing elements are assigned to the columns and the sound generation elements are assigned to the rows. However, the assignment may be reversed.

なお、自動描画モードにおいて、1つの列に1つの指定玉dpしか存在しない構成を例示したが、2つ以上の指定玉dpを許容するように構成し、且つ、当該2つ以上の指定玉dpに対応する描画表示を同時に行えるように構成してもよい。その場合は、2以上のトラックを描画表示の対象にできるようにしてもよく、そのようにする場合は、トラック毎に描画表示の態様(発光色、形状等)を異ならせることで、トラックを区別できるようにしてもよい。   In the automatic drawing mode, the configuration in which only one designated ball dp exists in one column is illustrated. However, the configuration is such that two or more designated balls dp are allowed, and the two or more designated balls dp are included. You may comprise so that the drawing display corresponding to can be performed simultaneously. In that case, two or more tracks may be set as the target of drawing display. In such a case, the tracks are made different by changing the drawing display mode (emission color, shape, etc.) for each track. You may make it distinguishable.

なお、自動描画モード、またはリアルタイム描画演奏モードにおいて、描画の形状の例としては、上記した四角形のほか、三角形、丸、菱形、×等が考えられるが、これらに限定されない。また、描画表示されるものは、図形的なものに限定されず、文字、数字等でもよく、それらの位置も、対応する指定玉dpの位置を基準としたものでなくてもよい。また、描画表示において、マトリクス表示部mtLEDを複数発光させることは必須でなく、少なくとも1つを発光させることで行ってもよい。さらに、描画表示は動的なものとしたが、静的なものであってもよい。描画表示は、発光の有無だけでなく、発光輝度、発光色またはこれらの組み合わせによって多彩に表現してもよい。   In the automatic drawing mode or the real-time drawing performance mode, examples of the drawing shape include triangles, circles, rhombuses, and x in addition to the above-described rectangles, but are not limited thereto. Further, what is drawn and displayed is not limited to a graphic one, and may be a character, a number, or the like, and their position may not be based on the position of the corresponding designated ball dp. In the drawing display, it is not essential to emit a plurality of light from the matrix display unit mtLED, and it may be performed by causing at least one to emit light. Furthermore, although the drawing display is dynamic, it may be static. The drawn display may be variously expressed not only by the presence / absence of light emission but also by light emission luminance, light emission color, or a combination thereof.

また、本実施の形態によれば、ランダムループモード、2点ループモードでは、マトリクス表示入力部mtにおいて指定玉dpを複数指定すると、移動ルートrtが生成されて移動玉mpが発生し、移動玉mpが移動ルートrt上を弱発光しつつ移動すると共に、指定玉dpと一致したとき等には強発光すると共に対応する発音がなされる。特に、各マトリクススイッチmtSWに発音データKCが対応付けられ、座標に応じて異なる楽音を発生可能であるので、発音等の動作が単調でない。また、光の移動と音の変化により、移動玉mpの移動を認識して楽しめる。よって、視覚的及び聴覚的要素を併せ持った斬新な遊び方が可能になり、ゲーム性を持った面白みのある演奏を実現することができる。また、指定玉dpの指定追加や指定解除ができ、それに応じて移動ルートrtが修正されるので、一層面白みがある。また、順次発音モードはもとより、跳ね返りモード、動きモード等を含め各種の動作モードを設けたので、多彩な遊び方ができ、飽きにくい。   Further, according to the present embodiment, in the random loop mode and the two-point loop mode, when a plurality of designated balls dp are designated in the matrix display input unit mt, a moving route rt is generated and a moving ball mp is generated, and a moving ball is generated. mp moves on the moving route rt with weak light emission, and when it matches the designated ball dp, it emits strong light and a corresponding pronunciation is made. In particular, the sound generation data KC is associated with each matrix switch mtSW, and different musical sounds can be generated according to the coordinates. Also, the movement of the moving ball mp can be recognized and enjoyed by the movement of light and the change of sound. Therefore, a novel way of playing with both visual and auditory elements becomes possible, and an interesting performance with game characteristics can be realized. Further, the designated ball dp can be added or removed, and the movement route rt is corrected accordingly, which is more interesting. In addition to the sequential sound generation mode, various operation modes including a bounce mode, a motion mode, etc. are provided.

また、動きモードでは、回転指示や、演奏装置MC自体の傾き乃至動かし方で指定玉dp等を回転、変位させ、あるいはテンポ等を可変にして、面白みのある動的なゲームを実現することができる。   In the movement mode, it is possible to realize an interesting and dynamic game by rotating or displacing the designated ball dp or the like by changing the tempo or the like by rotating instructions or by tilting or moving the performance device MC itself. it can.

本実施の形態によればまた、オルゴールモードでは、マトリクス全領域MTに対して指定玉dpを指定、記憶できるようにし、発音列Pで移動玉mpを発音させることで、座標の移動に連動した発音を可能として、面白みのある演奏を実現することができる。特に、マトリクス全領域MTは、マトリクス表示入力部mtの領域を包含できる広さを有しているので、1単位の演奏を長くでき、一層長いメロディ演奏が可能となる。   Further, according to the present embodiment, in the music box mode, the designated ball dp can be designated and stored for the entire matrix area MT, and the moving ball mp is pronounced by the pronunciation string P, thereby interlocking with the movement of the coordinates. It is possible to produce sounds that can be played with fun. In particular, since the entire matrix area MT has a size that can encompass the area of the matrix display input section mt, the performance of one unit can be lengthened and a longer melody performance can be achieved.

なお、本実施の形態における各動作モードにおいて、発音及び発光をどのような状態のときに行うようにするかは、適宜改変が可能である。例えば、モード設定によって、マトリクス表示部mtLEDの発光、または発音のいずれかを全く排除するようにしてもよい。あるいは、移動玉mpの現在位置に対応する発音データKCに基づく発音を逐次行うようにすれば、例えば、移動玉mpが上昇しているときは、発音音高も上昇し、音だけでも移動玉mpの移動状態が認識できるだけでなく、臨場感が増して面白い。なお、マトリクススイッチmtSWに対応して発音される楽音は、単音に限定されず、所定の短いメロディや和音であってもよい。   In each operation mode according to the present embodiment, it is possible to appropriately change the state in which sound generation and light emission are performed. For example, either the light emission or the sound generation of the matrix display unit mtLED may be completely excluded by the mode setting. Alternatively, if the pronunciation based on the pronunciation data KC corresponding to the current position of the moving ball mp is sequentially performed, for example, when the moving ball mp is rising, the pronunciation pitch is also increased, and only the sound is moving ball. Not only can the movement state of mp be recognized, but the presence is also interesting and interesting. Note that the musical sound generated in response to the matrix switch mtSW is not limited to a single sound, and may be a predetermined short melody or chord.

また、移動玉mpの移動過程で楽音を発生させる場合は、その楽音は、マトリクススイッチmtSWに対応する発音データKCに基づくものに限ることなく、例えば、予め定めた所定の楽音を移動玉mpの現在位置にかかわらず一律に発音させてもよい。   Further, when a musical sound is generated during the movement process of the moving ball mp, the musical sound is not limited to that based on the sound generation data KC corresponding to the matrix switch mtSW. For example, a predetermined predetermined musical sound is input to the moving ball mp. You may sound uniformly regardless of the current position.

なお、指定玉dp、移動玉mp等を記憶する際、それらの座標を絶対値として記憶してもよいし、何らかの座標を基準とした相対位置として記憶してもよい。   When storing the designated ball dp, the moving ball mp, etc., the coordinates may be stored as absolute values, or may be stored as relative positions based on some coordinates.

なお、ランダムループモードまたは2点ループモードでは、複数のグループが存在する場合において、異なるグループの移動玉mp同士が移動過程で交差するとき、その移動玉mpを発光乃至発音させるようにしてもよい。   In the random loop mode or the two-point loop mode, when there are a plurality of groups, when the moving balls mp of different groups intersect in the moving process, the moving balls mp may emit or emit sound. .

なお、ランダムループモードまたは2点ループモードにおいて、指定玉dp間で生成される移動ルートrtは直線的でなくてもよく、予め定めたルールによって曲線乃至所定の蛇行曲線であってもよい。   In the random loop mode or the two-point loop mode, the moving route rt generated between the designated balls dp may not be linear, and may be a curve or a predetermined meandering curve according to a predetermined rule.

なお、2点ループモードにおいて、2つの指定玉dpで1つのグループが構成されたが、例えば、3つ以上の指定玉dpでも1つのグループを構成可能にしてもよい。その場合は、例えば、指定玉dp1〜dp3が同グループとして指定されたとき、指定玉dp1、dp2間に移動ルートrt1、指定玉dp1、dp3間に移動ルートrt2、指定玉dp2、dp2間に移動ルートrt3というように、すべての指定玉dp間に移動ルートrtを各々生成してもよい。   In the two-point loop mode, one group is configured with two specified balls dp. However, for example, one group may be configured with three or more specified balls dp. In this case, for example, when the designated balls dp1 to dp3 are designated as the same group, the moving route rt1 is moved between the designated balls dp1 and dp2, the moving route rt2 is moved between the designated balls dp1 and dp3, and the designated balls dp2 and dp2 are moved. A movement route rt may be generated between all designated balls dp, such as a route rt3.

なお、オルゴールモードにおいて、マトリクス全領域MTの長さはマトリクス表示入力部mtの3ページ分に限られず、もっと長くしてもよい。また、マトリクス全領域MTは、必ずしも横(X軸)方向にのみ広がっているものでなくてもよく、形状も問わない。例えば、縦(Y軸)方向にも広がりを持たせ、上下または斜め方向にもスクロール可能に構成してもよい。なお、順次発音モードにおいても、マトリクス全領域MTの範囲で指定玉dpを指定可能に構成し、より長い演奏を行えるようにしてもよい。   In the music box mode, the length of the entire matrix area MT is not limited to three pages of the matrix display input section mt, but may be longer. Further, the entire matrix region MT does not necessarily have to extend only in the lateral (X-axis) direction, and the shape is not limited. For example, the vertical (Y-axis) direction may be widened so that it can be scrolled vertically or obliquely. In the sequential sound generation mode, the designated ball dp can be designated within the entire matrix area MT so that a longer performance can be performed.

なお、演奏装置MCのマトリクス表示入力部mtを用いて、ユーザの演奏がリアルタイムでSMFファイルとして記録されるようにしてもよい。この場合、曲の長さはマトリクス表示入力部mtの列数に限定されず、十分な長さを記録できるようにするのがよい。そして、記録されたSMFファイルは、外部に送ることもでき、後で任意に演奏装置MCを用いて再生することができるようにするのが望ましい。   The performance of the user may be recorded as an SMF file in real time using the matrix display input unit mt of the performance device MC. In this case, the length of the music is not limited to the number of columns of the matrix display input unit mt, and it is preferable that a sufficient length can be recorded. The recorded SMF file can be sent to the outside, and it is desirable that the recorded SMF file can be arbitrarily reproduced later using the performance device MC.

なお、他の演奏装置MCと接続ケーブル30で接続して行う対戦型のゲームでは、移動玉mpを相手側の演奏装置MCとやりとり可能にして構成してもよい。また、グループ図形を一体としてやりとり可能にしてもよく、グループ図形が動きモードによる回転等の動作を維持しつつやりとりできるように構成すれば一層面白い。   In a battle-type game that is performed by connecting to another performance device MC with the connection cable 30, the moving ball mp may be configured to be able to exchange with the performance device MC on the other side. Further, group graphics may be exchanged together, and it is more interesting if the group graphics can be exchanged while maintaining operations such as rotation in the motion mode.

なお、図18のステップS314、S315で記憶されるマトリクス演奏データは、対戦型のゲームにおいて相手側の演奏装置MCと互いに送受信できるほか、通信I/F7を介して、あるいは、記憶媒体17に一旦記憶させてパーソナルコンピュータ経由で、インターネット上のコンテンツサーバにアップさせることができ、逆にコンテンツサーバからダウンロードすることもできる。   Note that the matrix performance data stored in steps S314 and S315 in FIG. 18 can be transmitted / received to / from the opponent performance device MC in the battle-type game, and is temporarily stored in the storage medium 17 via the communication I / F 7. It can be stored and uploaded to a content server on the Internet via a personal computer, and vice versa.

なお、2つ以上のマトリクス演奏データを続けて再生するように指示した場合等、演奏曲が切り替わる際、1曲目の終了時には、1曲目で指定されていた複数の指定玉dpが徐々に、例えば、指定時期が古い順に消光されていくようにし(フェードアウト)、一方、2曲目の開始時には、2曲目で指定されている複数の指定玉dpが徐々に、例えば、指定時期が古い順に発光して現れるように(フェードイン)構成してもよい。   When the performance music is switched, for example, when two or more matrix performance data are instructed to be reproduced continuously, at the end of the first music, the plurality of designated balls dp designated in the first music are gradually increased. The specified time is extinguished in the oldest order (fade out). On the other hand, at the start of the second song, the plurality of designated balls dp specified in the second song are gradually emitted, for example, in the order of the oldest designated time. It may be configured to appear (fade in).

なお、動きモードにおいて、Gセンサ24は、3次元方向(X、Y、Z軸)方向の加速度を検出できるように構成し、Z軸方向の加速度変化に対しても何らかのパラメータ、例えば、発音される楽音のカットオフ周波数等、楽音特性を、Z軸方向における加速度の変化に基づいて変化させるようにしてもよい。   In the motion mode, the G sensor 24 is configured to detect acceleration in the three-dimensional direction (X, Y, Z axis) direction, and some parameter, for example, a sound is generated even with respect to the acceleration change in the Z axis direction. The musical sound characteristics such as the cutoff frequency of the musical sound may be changed based on a change in acceleration in the Z-axis direction.

なお、マトリクス表示入力部mtにおける各列(n値)、または各行(k値)に対応付けられるものは、音色、音高に限られず、各種楽音パラメータを適用でき、また、表示に関するパラメータと共に、あるいは表示に関するパラメータのみを対応付けてもよい。   Note that what is associated with each column (n value) or each row (k value) in the matrix display input unit mt is not limited to the timbre and pitch, and various musical sound parameters can be applied. Alternatively, only display parameters may be associated.

なお、本実施の形態では、マトリクス表示部mtLEDをマトリクススイッチmtSWに一体に組み込み、座標の指定と指定された座標の表示とを共にマトリクス表示入力部mt上で行うようにしたが、これに限るものでなく、両者を別個に設けてもよい。その場合、マトリクス表示入力部mtにはマトリクス表示部mtLEDに相当する表示機能(例えばマトリクス液晶表示部)だけを設け、指定玉dpの指定はタッチパネル等のソフトスイッチや、何らかの他の操作子で受け付けてもよい。例えば、携帯電話機に適用する場合、その液晶表示部にマトリクス表示すると共に、携帯電話機に設けられる操作子を指定玉dp等の指定に用いることができるようにしてもよい。   In the present embodiment, the matrix display unit mtLED is integrated into the matrix switch mtSW so that both the designation of coordinates and the display of the designated coordinates are performed on the matrix display input unit mt. However, both may be provided separately. In that case, the matrix display input unit mt is provided only with a display function (for example, a matrix liquid crystal display unit) corresponding to the matrix display unit mtLED, and designation of the designated ball dp is accepted by a soft switch such as a touch panel or some other operator. May be. For example, when applied to a mobile phone, the liquid crystal display unit may display a matrix, and an operator provided on the mobile phone may be used for specifying a designated ball dp or the like.

なお、マトリクス表示部mtLEDに相当する表示機能は、演奏装置MCの上面だけでなく底面にも設け、両者で同じ表示を同時に行うようにしてもよい。そのようにすれば、上面をユーザ側に、底面を観覧者側に向けて、多数の者に演奏状態の内容を見せることができ、利用場面が拡大する。   The display function corresponding to the matrix display unit mtLED may be provided not only on the top surface but also on the bottom surface of the performance device MC, and the same display may be performed simultaneously on both. By doing so, it is possible to show the contents of the performance state to a large number of people with the upper surface facing the user and the bottom surface facing the viewer, and the usage scene is expanded.

なお、本実施の形態では、マトリクス表示部mtLEDは2段階で発光するとしたが、これに限られず、3段階以上として、移動玉mpと指定玉dpとの位置関係等の状態に応じて発光輝度を異ならせてもよい。あるいは、複数の発光色で発光可能に構成してもよい。また、マトリクス表示入力部mtは、マトリクス状態で指定玉dp乃至移動玉mpを可視表示できればよく、必ずしも発光でなくてもよい。例えば、マトリクス表示入力部mtを液晶画面で構成し、点滅速度の変更等によって各座標に対応する部分の表示パターンを複数種類実現してもよい。なお、マトリクス表示入力部mtの構成は、16×16でなくてもよく、縦横の値が異なっていてもよい。   In the present embodiment, the matrix display unit mtLED emits light in two stages. However, the present invention is not limited to this, and the light emission luminance is determined according to the state such as the positional relationship between the moving ball mp and the designated ball dp as three or more stages. May be different. Alternatively, it may be configured to emit light with a plurality of emission colors. The matrix display input unit mt only needs to be able to visually display the designated ball dp to the moving ball mp in a matrix state, and does not necessarily have to emit light. For example, the matrix display input unit mt may be configured by a liquid crystal screen, and a plurality of types of display patterns corresponding to each coordinate may be realized by changing the blinking speed. Note that the configuration of the matrix display input unit mt may not be 16 × 16, and the vertical and horizontal values may be different.

なお、本実施の形態では、跳ね返りモードは、ランダムループモードまたは2点ループモードにおいてのみ設定可能としたが、これに限るものではなく、他のモードにおいても設定可能に構成してもよい。   In the present embodiment, the rebound mode can be set only in the random loop mode or the two-point loop mode. However, the present invention is not limited to this and may be configured to be set in other modes.

なお、本実施の形態では、「順次発音モード」、「ランダムループモード」、「2点ループモード」は、同時に並行して実行できないこととしたが、これらを互いに同時並行処理可能に構成してもよい。   In this embodiment, the “sequential sounding mode”, “random loop mode”, and “two-point loop mode” cannot be executed in parallel at the same time. Also good.

なお、上記回転モードにおいて、回転指示Ronまたは回転停止指示Roffによって指でなぞられたマトリクススイッチmtSWに対応して、逐次、リアルタイムに発光及び/又は発音を行うようにしてもよい。また、どのマトリクススイッチmtSWがどのようなスピードでなぞられたのかを示す情報をデータとして出力するようにし、そのデータに応じて何らかの発光乃至発音の処理を行うようにしてもよい。例えば、オンされたマトリクススイッチmtSWに対応する発光が、オフされた後も僅かな時間だけ残るように制御し、指の軌跡が残像として見えるように発光制御してもよい。その際、残像の態様(明るさや減衰の速さ等)は、指の動きの速さや押下していた時間等に応じて可変としてもよい。   In the rotation mode, light emission and / or sounding may be sequentially performed in real time corresponding to the matrix switch mtSW traced by the finger by the rotation instruction Ron or the rotation stop instruction Roff. Further, information indicating which matrix switch mtSW is traced at what speed may be output as data, and some light emission or sound generation processing may be performed according to the data. For example, the light emission corresponding to the turned on matrix switch mtSW may be controlled to remain for a short time after being turned off, and the light emission may be controlled so that the locus of the finger appears as an afterimage. At that time, the afterimage mode (brightness, speed of attenuation, etc.) may be variable according to the speed of finger movement, the time of pressing, and the like.

なお、本発明の目的は、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。   An object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the embodiments to a system or apparatus, and the computer (or CPU or the like) of the system or apparatus is stored in the storage medium. It is also achieved by reading and executing the program code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、プログラムコードが伝送媒体等を介して供給される場合も、プログラムコード自体が本発明を構成することになる。なお、これらの場合の記憶媒体としては、ROMのほか、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R/RW、DVD−ROM、DVD−RAM、DVD−R/RW、DVD+RW、NV−RAM、磁気テープ、不揮発性のメモリカード、或いはネットワークを介したダウンロード等を用いることができる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Further, when the program code is supplied via a transmission medium or the like, the program code itself constitutes the present invention. The storage media in these cases include ROM, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R / RW, DVD-ROM, DVD-RAM, DVD- R / RW, DVD + RW, NV-RAM, magnetic tape, nonvolatile memory card, download via a network, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も本発明に含まれることは言うまでもない。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も本発明に含まれることは言うまでもない。   Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, the present invention includes a case where the functions of the above-described embodiment are realized by performing part or all of the above-described processing. Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the present invention includes a case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施の形態に係るマトリクス表示装置の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of a matrix display device according to an embodiment of the present invention. 本マトリクス表示装置の外観図である。1 is an external view of the present matrix display device. マトリクス表示入力部の平面図である。It is a top view of a matrix display input part. ランダムループモードの動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input part which shows operation | movement of a random loop mode typically. 2点ループモードの動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input unit schematically showing the operation in the two-point loop mode. 跳ね返りモードの動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input unit schematically showing the operation in the rebound mode. ランダムループモードに加えて、動きモードのうち回転モードが設定された場合における動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of a matrix display input part which shows typically operation in case rotation mode is set among motion modes in addition to random loop mode. ランダムループモードに加えて、動きモードのうちGセンサモードが設定された場合における動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input part which shows typically operation in case G sensor mode is set among motion modes in addition to random loop mode. オルゴールモードにおけるマトリクス表示入力部とマトリクス全領域との関係を示す概念図である。It is a conceptual diagram which shows the relationship between the matrix display input part and matrix whole area | region in a music box mode. オルゴールモードの自動スクロールモードにおける動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of a matrix display input part which shows typically operation in automatic scroll mode of music box mode. オルゴールモードの手動スクロールモードにおけるマトリクス表示入力部とマトリクス全領域との関係を模式的に示す遷移図である。It is a transition diagram showing typically the relation between the matrix display input unit and the entire matrix area in the manual scroll mode of the music box mode. 自動描画モードにおける演奏データとマトリクス表示入力部との関係を模式的に示す図である。It is a figure which shows typically the relationship between the performance data and matrix display input part in automatic drawing mode. 自動描画モードの動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input part which shows operation | movement of automatic drawing mode typically. リアルタイム描画演奏モードの動作を模式的に示すマトリクス表示入力部の遷移図である。It is a transition diagram of the matrix display input unit schematically showing the operation in the real-time drawing performance mode. 本実施の形態におけるメイン処理のフローチャートである。It is a flowchart of the main process in this Embodiment. 本実施の形態におけるメイン処理の図15の続きのフローチャートである。FIG. 16 is a flowchart continued from FIG. 15 of the main processing in the present embodiment. タイミング信号発信処理のフローチャートである。It is a flowchart of a timing signal transmission process. 図15のステップS104で実行される自動演奏入力受付等処理のフローチャートである。FIG. 16 is a flowchart of an automatic performance input reception process and the like executed in step S <b> 104 of FIG. 15. FIG. 自動演奏入力受付等処理の図18の続きのフローチャートである。It is a flowchart following FIG. 18 of processes, such as automatic performance input reception. 動きモード処理のフローチャートである。It is a flowchart of a movement mode process. オルゴールモード処理のフローチャートである。It is a flowchart of a music box mode process. 図19のステップS332で実行される自動描画モード処理のフローチャートである。It is a flowchart of the automatic drawing mode process performed by step S332 of FIG. 図22のステップS602で実行される移動ルート生成処理のフローチャートである。It is a flowchart of the movement route production | generation process performed by FIG.22 S602. 図16のステップS135で実行される発音、発光、描画ルート生成処理のフローチャートである。17 is a flowchart of sound generation, light emission, and drawing route generation processing executed in step S135 of FIG. 図16のステップS136で実行される描画制御処理のフローチャートである。It is a flowchart of the drawing control process performed by step S136 of FIG. 図15のステップS137で実行されるリアルタイム描画演奏処理のフローチャートである。It is a flowchart of the real-time drawing performance process performed by step S137 of FIG.

符号の説明Explanation of symbols

1 CPU(可視表示部制御手段、楽音発生指示手段)、 4 タイマ(タイミング進行手段)、 MC 演奏装置、 mt マトリクス表示入力部(2次元領域)、 mtLED マトリクス表示部(可視表示部)、 mtSW マトリクススイッチ(座標指定手段)、 dp 指定玉(指定座標)、 mp 移動玉、 KC 発音データ(発音要素)、 rt 移動ルート   1 CPU (visible display control means, musical sound generation instruction means), 4 timer (timing progress means), MC performance device, mt matrix display input section (two-dimensional area), mtLED matrix display section (visible display section), mtSW matrix Switch (coordinate designation means), dp designated ball (designated coordinates), mp moving ball, KC pronunciation data (sounding element), rt moving route

Claims (5)

行または列の一方にタイミング要素が割り当てられた2次元領域における座標の各々に対応してマトリクス状に配列された複数の可視表示部と、
前記複数の可視表示部を制御する可視表示部制御手段と、
前記2次元領域の座標の中から指定座標を指定する座標指定手段と、
時間経過に従って前記行または列の前記一方における現在位置を規定するタイミング進行手段とを有し、
前記可視表示部制御手段は、前記タイミング進行手段により規定された前記行または列の前記一方の現在位置に、前記座標指定手段により指定された指定座標が存在する場合は、前記複数の可視表示部の少なくとも1つを可視表示させることで、前記存在する指定座標に対応した所定の描画表示を行うことを特徴とするマトリクス表示装置。
A plurality of visible display portions arranged in a matrix corresponding to each of coordinates in a two-dimensional region in which a timing element is assigned to one of a row or a column;
Visible display unit control means for controlling the plurality of visible display units;
Coordinate designating means for designating designated coordinates from the coordinates of the two-dimensional region;
Timing advance means for defining a current position in the one of the rows or columns over time;
The visual display unit control means, when the designated coordinates designated by the coordinate designation means exist at the one current position of the row or column defined by the timing advance means, the plurality of visible display parts A matrix display device characterized in that a predetermined drawing display corresponding to the existing designated coordinates is performed by visual display of at least one of the matrix display device.
前記行または列の他方には、座標に対応した発音要素が割り当てられ、前記タイミング進行手段により規定された前記行または列の前記一方の現在位置に、前記座標指定手段により指定された指定座標が存在する場合に、前記存在する指定座標に割り当てられた発音要素に基づく楽音の発生を指示する楽音発生指示手段を有することを特徴とする請求項1記載のマトリクス表示装置。   A pronunciation element corresponding to a coordinate is assigned to the other of the row or column, and the designated coordinate designated by the coordinate designating means is present at the one current position of the row or column defined by the timing progression means. 2. The matrix display device according to claim 1, further comprising a musical tone generation instruction means for instructing generation of a musical tone based on the sound generation element assigned to the specified coordinates that exist. 前記座標指定手段は、演奏データに基づき前記指定座標を指定し、前記可視表示部制御手段は、前記所定の描画表示の態様を、前記演奏データ中の楽音に関する少なくとも1つのパラメータに基づき決定することを特徴とする請求項1または2記載のマトリクス表示装置。   The coordinate designating unit designates the designated coordinate based on performance data, and the visual display unit control unit determines the predetermined drawing display mode based on at least one parameter related to a musical sound in the performance data. The matrix display device according to claim 1, wherein: 前記可視表示部制御手段は、前記指定座標に対応して表示させる描画表示の各々を、時間的に変化させることを特徴とする請求項1〜3のいずれか1項に記載のマトリクス表示装置。   The matrix display device according to any one of claims 1 to 3, wherein the visible display control unit changes each drawing display to be displayed corresponding to the designated coordinates in terms of time. 行または列の一方にタイミング要素が割り当てられた2次元領域における座標の各々に対応してマトリクス状に配列された複数の可視表示部を備えたマトリクス表示装置を制御する、マトリクス表示装置の制御プログラムであって、
前記複数の可視表示部を制御する可視表示部制御ステップと、
前記2次元領域の座標の中から指定座標を指定する座標指定ステップと、
時間経過に従って前記行または列の前記一方における現在位置を規定するタイミング進行ステップとをコンピュータに実行させるプログラムであり、
前記可視表示部制御ステップは、前記タイミング進行ステップにより規定された前記行または列の前記一方の現在位置に、前記座標指定ステップにより指定された指定座標が存在する場合は、前記複数の可視表示部の少なくとも1つを可視表示させることで、前記存在する指定座標に対応した所定の描画表示を行うことを特徴とするマトリクス表示装置の制御プログラム。
Control program for a matrix display device for controlling a matrix display device having a plurality of visible display portions arranged in a matrix corresponding to coordinates in a two-dimensional region in which timing elements are assigned to one of rows or columns Because
A visible display unit control step for controlling the plurality of visible display units;
A coordinate designating step of designating designated coordinates from the coordinates of the two-dimensional region;
A program that causes a computer to execute a timing advance step that defines a current position in the one of the rows or columns over time;
The visual display unit control step includes the plurality of visible display units when the designated coordinates designated by the coordinate designation step exist at the one current position of the row or column defined by the timing advancement step. A control program for a matrix display device, wherein a predetermined drawing display corresponding to the existing designated coordinates is performed by displaying at least one of them visually.
JP2004250151A 2004-08-30 2004-08-30 Matrix display device and control program for the device Pending JP2006061560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004250151A JP2006061560A (en) 2004-08-30 2004-08-30 Matrix display device and control program for the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004250151A JP2006061560A (en) 2004-08-30 2004-08-30 Matrix display device and control program for the device

Publications (1)

Publication Number Publication Date
JP2006061560A true JP2006061560A (en) 2006-03-09

Family

ID=36108518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004250151A Pending JP2006061560A (en) 2004-08-30 2004-08-30 Matrix display device and control program for the device

Country Status (1)

Country Link
JP (1) JP2006061560A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009009A (en) * 2006-06-28 2008-01-17 Korg Inc Music effect application device
JP2008026544A (en) * 2006-07-20 2008-02-07 Yamaha Corp Electronic music apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009009A (en) * 2006-06-28 2008-01-17 Korg Inc Music effect application device
JP2008026544A (en) * 2006-07-20 2008-02-07 Yamaha Corp Electronic music apparatus
JP4613890B2 (en) * 2006-07-20 2011-01-19 ヤマハ株式会社 Electronic music equipment

Similar Documents

Publication Publication Date Title
JP2922509B2 (en) Music production game machine, production operation instruction system for music production game, and computer-readable storage medium on which game program is recorded
US7536257B2 (en) Performance apparatus and performance apparatus control program
KR102354274B1 (en) Role play simulation method and terminal device in VR scenario
US8419516B2 (en) Game system and game program
US8360836B2 (en) Gaming device, game processing method and information memory medium
US20070080831A1 (en) Position detecting system and position detecting program
JP2006192157A (en) Game apparatus and game control method and program
JP2008200295A (en) Game device, program and information storage medium
JP2007206556A (en) Sound processing program and sound processor
JP5386070B2 (en) GAME DEVICE, GAME SCREEN DISPLAY PROGRAM, AND DISPLAY CONTROL METHOD
JP2000350861A (en) Music direction game machine, direction operation instruction system for music direction game and computer readable storage medium recording program for game
JP2004195210A (en) Game sound control program, game sound control method, and game device
JPH11313979A (en) Music performance game machine, performance operating instruction system for music performance game and computer readable memory medium with program for game recorded therein
JP2006020785A (en) Performance device and performance device control program
JP2007075426A (en) Program, information storage medium, handheld game machine, and game system
JP3922271B2 (en) Performance device and performance device control program
JP2006061560A (en) Matrix display device and control program for the device
JP2011206267A (en) Game device, game progressing method, and game progressing program
JP2015008987A (en) Program and game device
JP6590782B2 (en) Game device, program
JP3922273B2 (en) Performance device and performance device control program
JP3922272B2 (en) Performance device, performance system, light-emitting connection cord, and performance device control program
JP5773956B2 (en) Music performance apparatus, music performance control method, and program
JPH08335076A (en) Music playing system
JP2005237648A (en) Competition game apparatus and competition game program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060425

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060901

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20060922

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20061002

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20061016

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20061023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061228

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070130