JP2002169548A - Instrument and method for rhythm playing - Google Patents

Instrument and method for rhythm playing

Info

Publication number
JP2002169548A
JP2002169548A JP2000363474A JP2000363474A JP2002169548A JP 2002169548 A JP2002169548 A JP 2002169548A JP 2000363474 A JP2000363474 A JP 2000363474A JP 2000363474 A JP2000363474 A JP 2000363474A JP 2002169548 A JP2002169548 A JP 2002169548A
Authority
JP
Japan
Prior art keywords
rhythm
pattern
block
storage means
switch
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
JP2000363474A
Other languages
Japanese (ja)
Inventor
Shigeki Murakami
茂樹 村上
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2000363474A priority Critical patent/JP2002169548A/en
Publication of JP2002169548A publication Critical patent/JP2002169548A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a rhythm playing instrument and a method in which the type of reproduced performance pattern is changed according to the timing of switch operation while improving the memory utilizing efficiency. SOLUTION: When one of the rhythm blocks of fill-in A(n) to C(n) is designated according to the operation timing of fill-in switch 1c, each designated rhythm block is read from a rhythm block group RB and is copied to the pattern housing area of a RAM5. Since the designated fill-in pattern is formed and reproduced, it is made possible to change the type of reproduced performance pattern according to the timing of the switch operation while improving the memory utilizing efficiency.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば電子楽器な
どに用いて好適なリズム演奏装置およびリズム演奏方法
に関する。
The present invention relates to a rhythm playing device and a rhythm playing method suitable for use in, for example, electronic musical instruments.

【0002】[0002]

【従来の技術】従来より、例えば「ロック」、「ポップ
ス」あるいは「ディスコ」といった複数のリズム種毎に
複数のリズムパターンを予め記憶しておき、その内から
所望のリズム種の演奏パターンを選択し、選択した演奏
パターンに従って自動的にリズム演奏するリズム演奏装
置が知られている。ここで言う演奏パターンとは、演奏
すべき各音の音高や発音タイミング等を表わすデータか
ら構成されるものであって、その種類としては、所定小
節分の楽曲を表わすノーマルパターンの他、このノーマ
ルパターンの序奏部に相当するイントロパターン、ノー
マルパターンの途中に介挿されるフィルインパターン、
ノーマルパターンの終結部に付加されるエンディングパ
ターン等がある。
2. Description of the Related Art Conventionally, a plurality of rhythm patterns are stored in advance for each of a plurality of rhythm types such as "rock", "pops" or "disco", and a desired rhythm type performance pattern is selected from the stored rhythm patterns. A rhythm playing device that automatically performs a rhythm according to a selected playing pattern is known. The performance pattern referred to here is composed of data representing the pitch, sounding timing, and the like of each sound to be played. An intro pattern corresponding to the introduction part of the normal pattern, a fill-in pattern inserted in the middle of the normal pattern,
There is an ending pattern added to the end of the normal pattern.

【0003】そして、これら演奏パターンを記憶するリ
ズム演奏装置では、通常、スタート/ストップスイッチ
を操作してノーマルパターンによるリズム演奏を進行さ
せておき、例えば、フィルインパターンに変更したいタ
イミングで、フィルインスイッチを操作してノーマルパ
ターンからフィルインパターンに変更する等、スイッチ
操作に応じて再生する演奏パターンを切り替えられるよ
うになっている。
In a rhythm performance device that stores these performance patterns, a start / stop switch is usually operated to advance a rhythm performance according to a normal pattern, and, for example, the fill-in switch is changed at a timing when it is desired to change to a fill-in pattern. The performance pattern to be reproduced can be switched in accordance with a switch operation, such as changing from a normal pattern to a fill-in pattern by operating.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来のリズ
ム演奏装置では、リズム種毎の演奏パターンをメモリに
記憶しておく場合が多い。この為、異なるリズム種であ
りながら互いに全く同じ演奏パターンを有することもあ
り、こうしたパターン重複によりメモリに無駄が生じ
る、という問題がある。加えて、従来のリズム演奏装置
では、単にスイッチ操作に応じて再生する演奏パターン
の種類を変更するだけなので、スイッチ操作するタイミ
ングに応じて再生する演奏パターンの種類を変更させる
ことがきでない、という問題もある。そこで本発明は、
このような事情に鑑みてなされたもので、メモリ使用効
率を向上させつつ、スイッチ操作するタイミングに応じ
て再生する演奏パターンの種類を変更させ得るリズム演
奏装置およびリズム演奏方法を提供することを目的とし
ている。
By the way, in a conventional rhythm performance device, a performance pattern for each rhythm type is often stored in a memory. For this reason, different rhythm types may have exactly the same performance pattern as each other, and there is a problem that such a pattern duplication wastes memory. In addition, in the conventional rhythm performance device, since the type of the performance pattern to be reproduced is simply changed according to the switch operation, the type of the performance pattern to be reproduced cannot be changed according to the switch operation timing. There is also. Therefore, the present invention
In view of such circumstances, it is an object of the present invention to provide a rhythm playing device and a rhythm playing method capable of changing the type of a playing pattern to be reproduced according to a switch operation timing while improving memory use efficiency. And

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明では、少なくとも曲を形成す
る各音の音高および発音タイミングを表わすパターンデ
ータからなるリズムブロックを複数種記憶する第1の記
憶手段と、前記第1の記憶手段に記憶されるリズムブロ
ックの格納位置を表すブロックアドレスから形成され、
複数のブロックアドレスで指定される各リズムブロック
から構成されるリズムパターンを複数種記憶する第2の
記憶手段と、再生指示されるタイミングに応じて、前記
第2の記憶手段に記憶される複数種のリズムパターンの
内から所定のリズムパターンを選択するパターン選択手
段と、このパターン選択手段によって選択されたリズム
パターンを構成する各リズムブロックのブロックアドレ
スに従い、前記第1の記憶手段の内から対応する各リズ
ムブロックを指定し、指定された各リズムブロックを第
3の記憶手段に複写転送して、前記選択されたリズムパ
ターンに対応したパターンデータを形成するパターン形
成手段と、前記再生指示に応じて、前記第3の記憶手段
に格納されるパターンデータを再生する再生手段とを具
備することを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, a plurality of types of rhythm blocks each comprising pattern data representing at least a pitch and a sounding timing of each sound forming a music piece are stored. And a block address representing a storage position of a rhythm block stored in the first storage means.
A second storage unit for storing a plurality of types of rhythm patterns composed of rhythm blocks specified by a plurality of block addresses; and a plurality of types of rhythm patterns stored in the second storage unit in accordance with the timing at which reproduction is instructed. Pattern selecting means for selecting a predetermined rhythm pattern from the rhythm patterns, and a corresponding one of the first storage means according to the block address of each rhythm block constituting the rhythm pattern selected by the pattern selecting means. A pattern forming unit for designating each rhythm block, copying and transferring each designated rhythm block to a third storage unit, and forming pattern data corresponding to the selected rhythm pattern; Reproducing means for reproducing the pattern data stored in the third storage means. To.

【0006】請求項2に記載の発明によれば、少なくと
も曲を形成する各音の音高および発音タイミングを表わ
すパターンデータからなるリズムブロックを第1の記憶
手段に複数種記憶しておく一方、この第1の記憶手段に
記憶されるリズムブロックの格納位置を表すブロックア
ドレスから形成され、複数のブロックアドレスで指定さ
れる各リズムブロックから構成されるリズムパターンを
第2の記憶手段に複数種記憶しておく記憶過程と、再生
指示されるタイミングに応じて、前記第2の記憶手段に
記憶される複数種のリズムパターンの内から所定のリズ
ムパターンを選択するパターン選択過程と、このパター
ン選択過程にて選択されたリズムパターンを構成する各
リズムブロックのブロックアドレスに従い、前記第1の
記憶手段の内から対応する各リズムブロックを指定し、
指定された各リズムブロックを第3の記憶手段に複写転
送して、前記選択されたリズムパターンに対応したパタ
ーンデータを形成するパターン形成過程と、前記再生指
示に応じて、前記第3の記憶手段に格納されるパターン
データを再生する再生過程とを具備することを特徴とす
る。
According to the second aspect of the present invention, a plurality of types of rhythm blocks composed of pattern data representing at least the pitch and sounding timing of each sound forming the music are stored in the first storage means, A plurality of types of rhythm patterns, each of which is formed from a block address indicating a storage position of a rhythm block stored in the first storage means and is composed of each rhythm block specified by a plurality of block addresses, are stored in the second storage means. Storing a predetermined rhythm pattern from a plurality of types of rhythm patterns stored in the second storage means in accordance with the timing at which the reproduction is instructed; According to the block address of each rhythm block constituting the rhythm pattern selected in the above, from within the first storage means, Specify each rhythm block to respond,
A pattern forming step of copying and transferring each designated rhythm block to a third storage means to form pattern data corresponding to the selected rhythm pattern; and a third storage means in response to the reproduction instruction. And a reproducing process of reproducing the pattern data stored in the.

【0007】本発明では、再生指示されるタイミングに
応じて、第2の記憶手段に記憶される複数種のリズムパ
ターンの内から所定のリズムパターンを選択し、選択さ
れたリズムパターンを構成する各リズムブロックのブロ
ックアドレスに従い、第1の記憶手段の内から対応する
各リズムブロックを指定し、指定された各リズムブロッ
クを第3の記憶手段に複写転送して、前記選択されたリ
ズムパターンに対応したパターンデータを形成し、これ
を再生指示に応じて再生するようにしたので、リズムパ
ターン毎のパターンデータを備えておく必要がなくなる
結果、パターン重複を回避でき、これによりメモリ使用
効率が向上しながらも、再生指示(スイッチ操作)のタ
イミングに応じて再生する演奏パターンの種類を変更す
ることが可能になっている。
According to the present invention, a predetermined rhythm pattern is selected from a plurality of types of rhythm patterns stored in the second storage means in accordance with the timing at which the reproduction is instructed, and each of the rhythm patterns constituting the selected rhythm pattern is selected. According to the block address of the rhythm block, each corresponding rhythm block is designated from the first storage means, and each designated rhythm block is copied and transferred to the third storage means to correspond to the selected rhythm pattern. Since pattern data is formed and reproduced in response to a reproduction instruction, there is no need to prepare pattern data for each rhythm pattern.As a result, pattern duplication can be avoided, thereby improving memory use efficiency. However, it is possible to change the type of performance pattern to be reproduced according to the timing of a reproduction instruction (switch operation). To have.

【0008】[0008]

【発明の実施の形態】本発明によるリズム演奏装置は、
周知の自動伴奏機能を備える電子楽器のみならず、パー
ソナルコンピュータを用いたDTM装置などに適用され
得る。以下では、本発明の実施の一形態によるリズム演
奏装置を実施例として図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A rhythm playing device according to the present invention
The present invention can be applied not only to a well-known electronic musical instrument having an automatic accompaniment function but also to a DTM device using a personal computer. Hereinafter, a rhythm playing device according to an embodiment of the present invention will be described as an example with reference to the drawings.

【0009】(1)構成 図1は、本発明による実施例の構成を示すブロック図で
ある。この図において、1はコンソールパネル上に配設
される各種スイッチから構成されるパネルスイッチであ
り、各スイッチ操作に対応したイベントを発生する。こ
のイベントは後述するCPU3のキースキャンにより取
込まれる。パネルスイッチ1に配設されるスイッチ種類
としては、図示されていない電源スイッチの他、リズム
種(リズム番号)を指定するリズム切換スイッチ1a、
リズム演奏の開始/停止を指示するスタート/ストップ
スイッチ1bおよびリズム演奏されるノーマルパターン
の途中にフィルインパターンを介挿する際に操作される
フィルインスイッチ1c等がある。
(1) Configuration FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In this figure, reference numeral 1 denotes a panel switch composed of various switches arranged on a console panel, and generates an event corresponding to each switch operation. This event is captured by a key scan of the CPU 3 described later. The switch types provided on the panel switch 1 include a power switch (not shown), a rhythm switch 1a for specifying a rhythm type (rhythm number),
There are a start / stop switch 1b for instructing start / stop of rhythm performance, and a fill-in switch 1c which is operated when a fill-in pattern is inserted in the middle of a normal pattern for rhythm performance.

【0010】2はコンソールパネルに配設されるLCD
パネル(図示略)と、CPU3から供給される表示制御
信号に応じてLCDパネルを表示制御する表示ドライバ
(図示略)とから構成される表示部であり、上記パネル
スイッチ1の操作に応じた動作状態などを画面表示す
る。CPU3はROM4にストアされる各種制御プログ
ラムを実行し、キースキャンにより取込んだパネルスイ
ッチ1の各スイッチ操作(スイッチイベント)に応じて
装置各部を制御するものであり、その特徴的な動作につ
いては追って詳述する。
Reference numeral 2 denotes an LCD provided on the console panel
A display unit comprising a panel (not shown) and a display driver (not shown) for controlling the display of the LCD panel in accordance with a display control signal supplied from the CPU 3, and operates in accordance with the operation of the panel switch 1. Display the status etc. on the screen. The CPU 3 executes various control programs stored in the ROM 4, and controls each unit of the apparatus in accordance with each switch operation (switch event) of the panel switch 1 captured by key scanning. Details will be described later.

【0011】ROM4は、CPU3にロードされる各種
制御プログラムを記憶する一方、各種の演奏パターンを
記憶する。ここで、図2および図3を参照してROM4
に記憶される各種演奏パターンのデータ形態について説
明しておく。図2において、リズムブロック群RBに
は、N種のリズムブロック(1)〜(N)が格納され
る。これらリズムブロックは、後述するリズムパターン
を構成する基本要素、つまり、所定小節分の楽曲を形成
する各音の音高や発音タイミング等を表わすパターンデ
ータから構成される。リズムパターンRPには、リズム
番号に対応したリズムパターン(1)〜(N)が格納さ
れる。本実施例では、説明の簡略化を図る為、1つのリ
ズムパターンはノーマルパターンNPおよびフィルイン
パターンFPから形成されるようにしている。
The ROM 4 stores various control programs loaded on the CPU 3 and various performance patterns. Here, referring to FIG. 2 and FIG.
The data forms of the various performance patterns stored in the. 2, N types of rhythm blocks (1) to (N) are stored in the rhythm block group RB. These rhythm blocks are composed of basic elements constituting a rhythm pattern to be described later, that is, pattern data representing the pitch, sounding timing, and the like of each sound forming a musical piece for a predetermined bar. Rhythm patterns (1) to (N) corresponding to the rhythm numbers are stored in the rhythm pattern RP. In this embodiment, one rhythm pattern is formed from a normal pattern NP and a fill-in pattern FP to simplify the description.

【0012】更に、ノーマルパターンNPは図3に図示
するように、ノーマルA,Bから形成され、フィルイン
パターンFPはフィルインA〜Cから形成される。本実
施例では、ノーマルAを繰り返し演奏に用い、ノーマル
Bを演奏開始直後やリズム番号を変更した直後に用いる
ようにしている。フィルインA〜CはノーマルA演奏中
に操作されるフィルインスイッチ1cの操作タイミング
に応じて選択的に用いられるようになっており、その詳
細については追って述べる。さて、このようなノーマル
A,BおよびフィルインA〜Cは、それぞれリズムブロ
ックを指定するブロックアドレスからなる。例えば、リ
ズムパターン(1)のノーマルA(1)は、リズムブロ
ック群RB中の、リズムブロック(1)〜(4)をそれ
ぞれ指定するアドレスから構成される。
Further, as shown in FIG. 3, the normal pattern NP is formed from normals A and B, and the fill-in pattern FP is formed from fill-ins A to C. In the present embodiment, the normal A is used repeatedly for performance, and the normal B is used immediately after the performance starts or immediately after the rhythm number is changed. The fill-ins A to C are selectively used in accordance with the operation timing of the fill-in switch 1c operated during the normal A performance, and details thereof will be described later. Now, such normals A and B and fill-ins A to C are each composed of a block address designating a rhythm block. For example, the normal A (1) of the rhythm pattern (1) is composed of addresses specifying the rhythm blocks (1) to (4) in the rhythm block group RB.

【0013】要するに、リズムパターンRPに格納され
るリズムパターン(1)〜(N)とは、謂わば、リズム
番号に対応したアドレスマップに相当する。後述するよ
うに、リズム切換スイッチ1aの操作に応じて所望のリ
ズム番号のリズムパターンが指定されると、その指定さ
れたリズムパターンに対応するアドレスマップ、つま
り、ブロックアドレスを参照して該当するリズムブロッ
クをリズムブロック群RBから読み出し、それを後述す
るRAM5のパターン格納エリアにコピーすることによ
って、指定したリズムパターン(ノーマルパターンNP
およびフィルインパターンFP)が形成されるようにな
っている。
In short, the rhythm patterns (1) to (N) stored in the rhythm pattern RP correspond to, so to speak, an address map corresponding to a rhythm number. As will be described later, when a rhythm pattern having a desired rhythm number is designated in accordance with the operation of the rhythm change switch 1a, the rhythm corresponding to the designated rhythm pattern is referred to, that is, by referring to the block address. The block is read out from the rhythm block group RB, and is copied to a pattern storage area of the RAM 5 to be described later, so that the designated rhythm pattern (normal pattern NP
And a fill-in pattern FP).

【0014】さて、再び図1を参照して構成の説明を進
める。RAM5はCPU3の処理に用いる各種レジスタ
/フラグデータを一時記憶するワークエリアの他、ブロ
ックアドレスに応じてROM4のリズムブロック群RB
からコピーされるリズムブロックを格納するパターン格
納エリアを備える。このパターン格納エリアは、エリア
先頭のアドレスとエリア後端のアドレスとが連続するリ
ングバッファとして用いられる。6は周知の波形メモリ
読み出し方式で構成される音源である。この音源6で
は、複数の同時発音チャンネルを備え、これら各発音チ
ャンネルにそれぞれアサインされる各パートのリズムパ
ターンを、再生テンポに同期してRAM5のパターン格
納エリアから順次読み出し、それを各発音チャンネルか
ら指定リズム音色の楽音データとして出力する。7は音
源6から出力される楽音データをD/A変換した後に増
幅してスピーカSPより楽音として発音させるサウンド
システムである。
Now, description of the configuration will be made with reference to FIG. 1 again. The RAM 5 has a work area for temporarily storing various register / flag data used for the processing of the CPU 3, and a rhythm block group RB of the ROM 4 according to a block address.
And a pattern storage area for storing a rhythm block copied from. This pattern storage area is used as a ring buffer in which the address at the head of the area and the address at the rear end of the area are continuous. Reference numeral 6 denotes a sound source configured by a well-known waveform memory reading method. The tone generator 6 has a plurality of simultaneous sounding channels, and sequentially reads out a rhythm pattern of each part assigned to each sounding channel from a pattern storage area of the RAM 5 in synchronization with a reproduction tempo, and reads the rhythm pattern from each sounding channel. Output as tone data of the specified rhythm tone. Reference numeral 7 denotes a sound system in which tone data output from the sound source 6 is subjected to D / A conversion, then amplified and sounded as a tone from the speaker SP.

【0015】(2)動作 次に、図4〜図12を参照して実施例の動作について説
明する。 メインルーチンの動作 電源が投入されると、CPU3はROM4から所定の制
御プログラムを読み出して自身にロードし、図4に示す
メインルーチンを実行する。メインルーチンが実行され
ると、CPU3はステップSA1に処理を進め、RAM
5のワークエリアに格納される各種レジスタやフラグ類
をリセットしたり初期値をセットするイニシャライズを
行う。また、このステップSA1では、音源7に対して
各種レジスタやフラグ類を初期化するよう指示する。
(2) Operation Next, the operation of the embodiment will be described with reference to FIGS. Operation of Main Routine When the power is turned on, the CPU 3 reads out a predetermined control program from the ROM 4, loads it into itself, and executes the main routine shown in FIG. When the main routine is executed, the CPU 3 advances the processing to step SA1, and
Initialization for resetting various registers and flags stored in the work area 5 and setting initial values is performed. In step SA1, the sound source 7 is instructed to initialize various registers and flags.

【0016】そして、イニシャライズ完了後、CPU3
はステップSA2に処理を進め、パネルスイッチ1が発
生するスイッチイベントに対応したスイッチ処理、例え
ばリズム切換スイッチ1aの操作に応じてリズム演奏す
るリズムパターンを選択したり、この選択したリズムパ
ターンをスタート/ストップスイッチ1bのオン操作に
より演奏開始する他、フィルインスイッチ1cの操作に
よって、ノーマルパターンを演奏している途中にフィル
インパターンを介挿させる等の処理を行う。次いで、ス
テップSA3では、再生テンポに従ってリズムパターン
を再生する演奏処理を実行し、続くステップSA4で
は、例えば装置設定状態や動作状態などを画面表示する
等の、その他の処理を実行する。以後、電源がオフされ
る迄、上述したステップSA2〜SA4を繰り返し実行
する。
After completion of the initialization, the CPU 3
Proceeds to step SA2, selects switch processing corresponding to the switch event generated by the panel switch 1, for example, selects a rhythm pattern to play a rhythm according to the operation of the rhythm switch 1a, and starts / selects the selected rhythm pattern. In addition to starting the performance by turning on the stop switch 1b, a process such as inserting a fill-in pattern while playing the normal pattern is performed by operating the fill-in switch 1c. Next, at step SA3, a performance process for reproducing a rhythm pattern in accordance with the reproduction tempo is executed, and at the subsequent step SA4, other processes such as, for example, displaying a device setting state and an operation state on a screen are executed. Thereafter, steps SA2 to SA4 described above are repeatedly executed until the power is turned off.

【0017】スイッチ処理ルーチンの動作 次に、図5〜図8を参照し、スイッチ処理ルーチンを構
成する「リズム切換スイッチ処理ルーチン」、「スター
ト/ストップ処理ルーチン」および「フィルインスイッ
チ処理ルーチン」の各動作について順次説明する。
Operation of Switch Processing Routine Next, referring to FIGS. 5 to 8, each of the "rhythm switching switch processing routine", "start / stop processing routine" and "fill-in switch processing routine" which constitute the switch processing routine will be described. The operation will be described sequentially.

【0018】 (a)リズム切換スイッチ処理ルーチンの動作 上述したメインルーチンのステップSA2(図3参照)
を介してスイッチ処理ルーチンが実行されると、CPU
3は図5に示すステップSB1を介してリズム切換スイ
ッチ処理ルーチンを実行し、図5に示すステップSC1
に処理を進め、リズム切換スイッチ1aがオン操作され
たかどうかを判断する。ところで、リズム切換スイッチ
1aとは、図示していないが、例えば表示部2に表示さ
れるリズム番号をアップカウント/ダウンカウントさせ
るキースイッチから構成される。このようなリズム切換
スイッチ1aがオン操作されなければ、判断結果は「N
O」となり、何も処理せずに本ルーチンを完了させる
が、オン操作されると、判断結果が「YES」となり、
ステップSC2に処理を進める。
(A) Operation of Rhythm Changeover Switch Processing Routine Step SA2 of the main routine described above (see FIG. 3)
When the switch processing routine is executed via
3 executes the rhythm switch processing routine through step SB1 shown in FIG. 5, and executes step SC1 shown in FIG.
To determine whether the rhythm switch 1a has been turned on. By the way, the rhythm change switch 1a includes, for example, a key switch for counting up / down the rhythm number displayed on the display unit 2, although not shown. If the rhythm switch 1a is not turned on, the determination result is "N".
O ", the routine is completed without performing any processing. However, if the operation is turned on, the determination result becomes" YES ",
The process proceeds to Step SC2.

【0019】ステップSC2では、リズム切換スイッチ
1aのオン操作に応じて入力されるリズム番号をレジス
タn(以後、リズム番号nと記す)にストアする。リズ
ム番号nが指定されると、CPU3はステップSC3に
処理を進め、リズムパターン(n)のノーマルB(n)
にストアされているブロックアドレスに従って、リズム
ブロック群RB中から該当するリズムブロックを指定す
る。例えば、リズム切換スイッチ1aにてリズム番号1
のリズムパターン(1)を選択した場合には、そのリズ
ムパターン(1)のノーマルB(1)にストアされてい
るブロックアドレスに従って、リズムブロック群RB中
(図3参照)からリズムブロック(9),(2),
(3),(4)が指定される。
At step SC2, the rhythm number input in response to the ON operation of the rhythm switch 1a is stored in a register n (hereinafter, referred to as rhythm number n). When the rhythm number n is designated, the CPU 3 advances the process to step SC3, and sets the normal B (n) of the rhythm pattern (n).
In accordance with the block address stored in the rhythm block group RB. For example, rhythm number 1 is set by rhythm change switch 1a.
Is selected from the rhythm block group RB (see FIG. 3) according to the block address stored in the normal B (1) of the rhythm pattern (1). , (2),
(3) and (4) are specified.

【0020】そして、ステップSC4では、指定された
各リズムブロックをリズムブロック群RB中から読み出
してRAM5のパターン格納エリアにコピーして行く。
なお、このコピーの際には、アドレスポインタADを順
次インクリメントして書き込み位置を歩進させる。この
ように、リズム切換スイッチ1aのオン操作に応じて、
リズム番号nに対応したリズムパターン(n)を指定す
ると、そのリズムパターン(n)のノーマルB(n)を
構成するリズムブロックがRAM5のパターン格納エリ
アにコピーされ、これによりノーマルB(n)のパター
ンデータが形成される。この様子を図10(イ)に図示
する。図10(イ)はRAM5のパターン格納エリアに
形成されるノーマルB(n)のパターンデータを時系列
的に図示したマップであり、図中の黒三角印はアドレス
ポインタADの位置を示している。
In step SC 4, each designated rhythm block is read from the rhythm block group RB and copied to the pattern storage area of the RAM 5.
At the time of this copy, the address pointer AD is sequentially incremented to advance the write position. Thus, according to the ON operation of the rhythm change switch 1a,
When the rhythm pattern (n) corresponding to the rhythm number n is designated, the rhythm block constituting the normal B (n) of the rhythm pattern (n) is copied to the pattern storage area of the RAM 5, whereby the normal B (n) Pattern data is formed. This situation is illustrated in FIG. FIG. 10A is a map showing the pattern data of normal B (n) formed in the pattern storage area of the RAM 5 in chronological order, and the black triangles in the figure indicate the position of the address pointer AD. .

【0021】 (b)スタート/ストップスイッチ処理ルーチンの動作 上記リズム切換スイッチ処理が完了すると、CPU3は
ステップSB2(図5参照)を介してスタート/ストッ
プスイッチ処理ルーチンを実行し、図7に示すステップ
SD1に処理を進める。ステップSD1では、スタート
/ストップスイッチ1bがオン操作されたかどうかを判
断し、オン操作されていなければ判断結果は「NO」と
なり、本ルーチンを完了させる。一方、オン操作された
時には判断結果が「YES」となり、ステップSD2に
進み、レジスタSTFに格納されるスタートフラグST
Fを反転させる。スタートフラグSTFは「1」の時に
演奏開始を表し、「0」の時に演奏停止を表す。つま
り、スタート/ストップスイッチ1bはオン操作される
毎に、交互に開始もしくは停止を表すようにフラグセッ
トする所謂トグルスイッチなので、オン操作される毎に
スタートフラグSTFの値を反転する。
(B) Operation of Start / Stop Switch Processing Routine When the rhythm switch processing is completed, the CPU 3 executes the start / stop switch processing routine via step SB2 (see FIG. 5), and executes the steps shown in FIG. The process proceeds to SD1. In step SD1, it is determined whether or not the start / stop switch 1b has been turned on. If the start / stop switch 1b has not been turned on, the determination result is "NO", and this routine is completed. On the other hand, when the switch is turned on, the determination result is "YES", the process proceeds to step SD2, and the start flag ST stored in the register STF is set.
F is inverted. When the start flag STF is "1", the performance is started, and when it is "0", the performance is stopped. In other words, the start / stop switch 1b is a so-called toggle switch that sets a flag so as to alternately indicate start or stop each time the switch is turned on. Therefore, the value of the start flag STF is inverted each time the switch is turned on.

【0022】そして、ステップSD3では反転したスタ
ートフラグSTFが「1」、つまり、リズム演奏の開始
を指示する状態であるかどうかを判断する。ここで、ス
タートフラグSTFが「0」であると、判断結果は「N
O」となり、ステップSD7に処理を進め、全てのリズ
ム音を消音するよう音源7に指示して本ルーチンを完了
させる。一方、リズム演奏の開始を指示する状態であれ
ば、判断結果は「YES」となり、ステップSD4に進
み、リズムパターン(n)のノーマルA(n)にストア
されているブロックアドレスに従って、リズムブロック
群RB中から該当するリズムブロックを指定する。例え
ば、リズム番号1のリズムパターン(1)が選択されて
いる場合には、そのリズムパターン(1)のノーマルA
(1)にストアされているブロックアドレスに従って、
リズムブロック群RB中(図3参照)からリズムブロッ
ク(1),(2),(3),(4)が指定される。
Then, in a step SD3, it is determined whether or not the inverted start flag STF is "1", that is, whether or not the rhythm performance is to be started. Here, if the start flag STF is “0”, the determination result is “N”.
"O", the process proceeds to step SD7, instructs the sound source 7 to mute all rhythm sounds, and completes this routine. On the other hand, if it is the state in which the start of the rhythm performance is instructed, the determination result is “YES”, and the process proceeds to Step SD4 where the rhythm block group is stored in accordance with the block address stored in the normal A (n) of the rhythm pattern (n). The corresponding rhythm block is designated from the RB. For example, when the rhythm pattern (1) of the rhythm number 1 is selected, the normal A of the rhythm pattern (1) is selected.
According to the block address stored in (1),
Rhythm blocks (1), (2), (3), and (4) are designated from the rhythm block group RB (see FIG. 3).

【0023】次いで、ステップSD5では、指定された
各リズムブロックをリズムブロック群RBから読み出し
てRAM5のパターン格納エリアに順次コピーして行
く。なお、このコピーの際には、アドレスポインタAD
をインクリメントして書き込み位置を順次歩進させる。
こうして、図10(ロ)に図示するように、ノーマルA
(n)のパターンデータがRAM5のパターン格納エリ
アに形成されると、CPU3はステップSD6に進み、
アドレスポインタADを初期値「1」にリセットし、リ
セットしたアドレスポインタADに応じてRAM5のパ
ターン格納エリアからリズムパターンのタイミングデー
タを読み出し、それをレジスタTにストアした後、本ル
ーチンを完了させる。
Next, at step SD5, each designated rhythm block is read from the rhythm block group RB and is sequentially copied to the pattern storage area of the RAM 5. At the time of this copy, the address pointer AD
Is incremented, and the writing position is sequentially advanced.
Thus, as shown in FIG.
When the pattern data of (n) is formed in the pattern storage area of the RAM 5, the CPU 3 proceeds to step SD6,
The address pointer AD is reset to the initial value "1", the rhythm pattern timing data is read from the pattern storage area of the RAM 5 according to the reset address pointer AD, and stored in the register T, after which this routine is completed.

【0024】 (c)フィルインスイッチ処理ルーチンの動作 上記スタート/ストップスイッチ処理が完了すると、C
PU3はステップSB3(図5参照)を介してフィルイ
ンスイッチ処理ルーチンを実行し、図8に示すステップ
SE1に処理を進める。ステップSE1では、フィルイ
ンスイッチ1cがオン操作されたかどうかを判断し、オ
ン操作されていなければ判断結果は「NO」となり、本
ルーチンを完了させる。一方、フィルインスイッチ1c
がオン操作された場合には、判断結果が「YES」とな
り、次のステップSE2に処理を進め、フラグSTFが
「1」、つまり、リズム演奏が開始されているかどうか
を判断する。演奏停止であれば、判断結果は「NO」と
なり、何も処理せずに本ルーチンを完了させるが、演奏
開始であると、判断結果が「YES」となり、次のステ
ップSE3に処理を進める。
(C) Operation of Fill-in Switch Processing Routine When the start / stop switch processing is completed, C
PU3 executes the fill-in switch processing routine via step SB3 (see FIG. 5), and proceeds to step SE1 shown in FIG. In step SE1, it is determined whether or not the fill-in switch 1c has been turned on. If not, the result of the determination is "NO", and this routine is completed. On the other hand, fill-in switch 1c
Is turned on, the determination result is "YES", the process proceeds to the next step SE2, and it is determined whether or not the flag STF is "1", that is, whether the rhythm performance has been started. If the performance is stopped, the determination result is "NO", and this routine is completed without performing any processing. However, if the performance is started, the determination result is "YES", and the process proceeds to the next step SE3.

【0025】ステップSE3では、ノーマルA(n)が
演奏中であるか否かを判断する。ここで、ノーマルA
(n)の演奏が行われていない場合には、判断結果が
「NO」となり、フィルインスイッチ1cのオン操作を
無効にする。一方、ノーマルA(n)の演奏中にある
と、判断結果は「YES」となり、次のステップSE4
に進み、演奏中にあるノーマルA(n)の何拍目でフィ
ルインスイッチ1cがオン操作されたかを判断する。
At step SE3, it is determined whether or not the normal A (n) is being played. Where normal A
When the performance of (n) is not performed, the determination result is “NO”, and the ON operation of the fill-in switch 1c is invalidated. On the other hand, if the normal A (n) is being played, the determination result is “YES”, and the next step SE4
To determine the number of beats of the normal A (n) during the performance at which the fill-in switch 1c is turned on.

【0026】1拍目の場合には、ステップSE5に処理
を進め、リズムパターン(n)のフィルインA(n)に
ストアされているブロックアドレスに従って該当するリ
ズムブロックを指定する。例えば、リズムパターン
(1)のノーマルA(1)が演奏中にあり、その1拍目
でフィルインスイッチ1cがオン操作されると、リズム
パターン(1)のフィルインA(1)にストアされてい
るブロックアドレスに従って、リズムブロック群RB中
(図3参照)からリズムブロック(5),(6),
(7),(8)が指定される。
In the case of the first beat, the process proceeds to step SE5, and the corresponding rhythm block is designated according to the block address stored in the fill-in A (n) of the rhythm pattern (n). For example, when the normal A (1) of the rhythm pattern (1) is being played and the fill-in switch 1c is turned on at the first beat, the data is stored in the fill-in A (1) of the rhythm pattern (1). According to the block address, the rhythm blocks (5), (6),
(7) and (8) are specified.

【0027】2拍目の場合には、ステップSE6に処理
を進め、リズムパターン(n)のフィルインB(n)に
ストアされているブロックアドレスに従って該当するリ
ズムブロックを指定する。例えば、リズムパターン
(1)のノーマルA(1)が演奏中にあり、その2拍目
でフィルインスイッチ1cがオン操作された場合には、
リズムパターン(1)のフィルインB(1)にストアさ
れているブロックアドレスに従って、リズムブロック群
RB中(図3参照)からリズムブロック(10),
(6),(7),(8)が指定される。
In the case of the second beat, the process proceeds to step SE6, and the corresponding rhythm block is designated according to the block address stored in the fill-in B (n) of the rhythm pattern (n). For example, if normal A (1) of rhythm pattern (1) is being played and fill-in switch 1c is turned on at the second beat,
According to the block address stored in the fill-in B (1) of the rhythm pattern (1), the rhythm blocks (10),
(6), (7), and (8) are specified.

【0028】3拍目あるいは4拍目であると、ステップ
SE7に処理を進め、リズムパターン(n)のフィルイ
ンC(n)にストアされているブロックアドレスに従っ
て該当するリズムブロックを指定する。例えば、リズム
パターン(1)のノーマルA(1)が演奏中にあり、そ
の3拍目あるいは4拍目のいずれかでフィルインスイッ
チ1cがオン操作された場合には、リズムパターン
(1)のフィルインC(1)にストアされているブロッ
クアドレスに従って、リズムブロック群RB中(図3参
照)からリズムブロック(11),(6),(7),
(8)が指定される。
If it is the third or fourth beat, the process proceeds to step SE7, and the corresponding rhythm block is designated according to the block address stored in the fill-in C (n) of the rhythm pattern (n). For example, when the normal A (1) of the rhythm pattern (1) is being played and the fill-in switch 1c is turned on at either the third beat or the fourth beat, the fill-in of the rhythm pattern (1) is performed. According to the block address stored in C (1), the rhythm blocks (11), (6), (7),
(8) is designated.

【0029】こうして、フィルインスイッチ1cのオン
操作タイミングに応じて、フィルインA(n)〜C
(n)のリズムブロックのいずれかが指定されると、ス
テップSE8に進み、指定された各リズムブロックをリ
ズムブロック群RBから読み出してRAM5のパターン
格納エリアに順次コピーして行く。なお、このコピーの
際には、アドレスポインタADをインクリメントして書
き込み位置を順次歩進させる。そして、ステップSE9
では、RAM5のパターン格納エリアに形成したフィル
インパターンデータを読み出す為に、アドレスポインタ
ADを指定ブロックの先頭アドレスの1つ前にセットし
て本ルーチンを完了させる。
In this manner, the fill-ins A (n) to C (n) correspond to the ON operation timing of the fill-in switch 1c.
When any of the rhythm blocks of (n) is specified, the process proceeds to step SE8, where the specified rhythm blocks are read from the rhythm block group RB and sequentially copied to the pattern storage area of the RAM 5. At the time of copying, the address pointer AD is incremented and the writing position is sequentially advanced. And step SE9
Then, in order to read out the fill-in pattern data formed in the pattern storage area of the RAM 5, the address pointer AD is set to one position before the head address of the designated block, and this routine is completed.

【0030】演奏処理ルーチンの動作 次に、図9を参照して演奏処理ルーチンの動作について
説明する。前述したメインルーチンのステップSA3
(図3参照)を介して演奏処理ルーチンが実行される
と、CPU3は図9に示すステップSF1に処理を進
め、リズム演奏が開始されているかどうかを判断する。
演奏停止であれば、判断結果は「NO」となり、何も処
理せずに本ルーチンを完了させるが、リズム演奏が開始
されていると、判断結果が「YES」となり、次のステ
ップSF2に処理を進める。ステップSF2では、再生
テンポに応じた単位時間が経過したかどうかを判断す
る。つまり、CPU3ではタイマ割込み処理(不図示)
によって、再生テンポに応じたテンポクロックを発生し
ており、このテンポクロック1周期分の時間(単位時
間)が経過したかどうかを判断している。
Operation of Performance Processing Routine Next, the operation of the performance processing routine will be described with reference to FIG. Step SA3 of the main routine described above
When the performance processing routine is executed via (see FIG. 3), the CPU 3 advances the processing to step SF1 shown in FIG. 9, and determines whether or not the rhythm performance has been started.
If the performance is stopped, the determination result is "NO", and this routine is completed without performing any processing. However, if the rhythm performance is started, the determination result is "YES", and the process proceeds to the next step SF2. Advance. In step SF2, it is determined whether or not a unit time according to the reproduction tempo has elapsed. That is, the CPU 3 performs a timer interrupt process (not shown).
Thus, a tempo clock corresponding to the reproduction tempo is generated, and it is determined whether or not the time (unit time) for one cycle of the tempo clock has elapsed.

【0031】そして、単位時間が経過していなければ、
判断結果は「NO」となり、一旦本ルーチンを完了させ
るが、単位時間が経過した時には判断結果が「YES」
となり、次のステップSF3に処理を進め、レジスタT
の内容をデクリメントする。なお、このレジスタTに
は、前述したスタート/ストップスイッチ処理ルーチン
にてリズム演奏開始が指示された時に、ステップSD6
(図8参照)を介してタイミングデータが格納される。
If the unit time has not elapsed,
The determination result is "NO" and the routine is completed once, but when the unit time has elapsed, the determination result is "YES".
And the process proceeds to the next step SF3, where
Decrement the contents of. It should be noted that when the start of the rhythm performance is instructed in the above-mentioned start / stop switch processing routine, this register T is stored in step SD6.
(See FIG. 8) to store the timing data.

【0032】次に、ステップSF4に進むと、デクリメ
ントされたレジスタTの値が「0」であるか否か、つま
り、発音タイミングに達したかどうかを判断する。そし
て、発音タイミングでなければ、判断結果は「NO」と
なり、一旦本ルーチンを完了させるが、発音タイミング
下にあると判断結果は「YES」となり、次のステップ
SF5に処理を進める。ステップSF5では、パターン
データの読み出しを進行させるべくアドレスポインタA
Dをインクリメントして歩進させる。続いて、ステップ
SF6以降では、この歩進されたアドレスポインタAD
に従って読み出したパターンデータに対応した処理を実
行する。
Next, in step SF4, it is determined whether or not the decremented value of the register T is "0", that is, whether or not the tone generation timing has been reached. If it is not the sounding timing, the determination result is "NO" and the routine is completed once. However, if it is the sounding timing, the determination result is "YES" and the process proceeds to the next step SF5. In step SF5, the address pointer A is read to advance the reading of the pattern data.
D is incremented and stepped. Subsequently, after step SF6, the incremented address pointer AD
In accordance with the read pattern data.

【0033】すなわち、読み出したパターンデータが発
音タイミングを表すタイミングデータであると、ステッ
プSF7に進み、そのタイミングデータをレジスタTに
ストアして本ルーチンを一旦、完了させる。読み出した
パターンデータが発音/消音を表すイベントデータであ
ると、ステップSF8に進み、そのイベントデータを音
源7に送出した後、上述のステップSF5に処理を戻
す。読み出したパターンデータがパターン終了を示すE
NDデータであると、ステップSF9に進み、ノーマル
A(n)の先頭アドレスをアドレスポインタADにセッ
トし直して上述したステップSF6に処理を戻す。
That is, if the read pattern data is the timing data representing the tone generation timing, the process proceeds to step SF7, where the timing data is stored in the register T, and this routine is once completed. If the read pattern data is the event data representing sound generation / muting, the process proceeds to step SF8, and after transmitting the event data to the sound source 7, the process returns to step SF5 described above. The read pattern data indicates the end of the pattern E
If the data is ND data, the process proceeds to step SF9, where the start address of the normal A (n) is reset in the address pointer AD, and the process returns to step SF6 described above.

【0034】具体的動作 次に、図10〜図14を参照し、上述したスイッチ処理
および演奏処理にて実現される具体的な動作について述
べる。前述したように、リズム切換スイッチ1aをオン
操作すると、図10(イ)に図示するようにノーマルB
(n)のパターンデータがRAM5のパターン格納エリ
アに形成され、さらにスタート/ストップスイッチ1b
をオン操作すると、図10(ロ)に図示するように、ノ
ーマルA(n)のパターンデータがRAM5のパターン
格納エリアに形成されると共に、アドレスポインタAD
をノーマルB(n)の先頭アドレスにセットしてリズム
演奏がスタートする。
Next, specific operations realized by the above-described switch processing and performance processing will be described with reference to FIGS. As described above, when the rhythm switch 1a is turned on, the normal B is turned on as shown in FIG.
The pattern data of (n) is formed in the pattern storage area of the RAM 5, and the start / stop switch 1b
Is turned on, the pattern data of the normal A (n) is formed in the pattern storage area of the RAM 5 and the address pointer AD as shown in FIG.
Is set to the head address of the normal B (n), and the rhythm performance starts.

【0035】リズム演奏がスタートすると、先ず最初に
ノーマルB(n)が再生され、これを再生し終えたらノ
ーマルA(n)が再生される。ノーマルA(n)のパタ
ーン終端に達すると、上述したステップSF9(図9参
照)にてアドレスポインタADにノーマルA(n)の先
頭アドレスがセットされる。これにより、図10(ハ)
に図示するように、ノーマルA(n)が繰り返し再生さ
れる。さて、ノーマルA(n)が再生されている過程
で、ノーマルA(n)の1拍目でフィルインスイッチ1
cをオン操作した場合には、図11(イ)に図示するよ
うに、ノーマルA(n)の再生を停止する一方、フィル
インA(n)のパターンデータをRAM5のパターン格
納エリアに形成し、このフィルインA(n)を再生し始
める。そして、フィルインA(n)の再生が完了する
と、図11(ロ)に図示するように、再びノーマルA
(n)を繰り返し再生して行く。
When the rhythm performance starts, first, normal B (n) is reproduced, and when reproduction is completed, normal A (n) is reproduced. When the end of the pattern of the normal A (n) is reached, the start address of the normal A (n) is set in the address pointer AD in the above-described step SF9 (see FIG. 9). As a result, FIG.
As shown in FIG. 2, normal A (n) is repeatedly reproduced. By the way, in the process of reproducing the normal A (n), the fill-in switch 1 is output at the first beat of the normal A (n).
When c is turned on, the reproduction of the normal A (n) is stopped, and the pattern data of the fill-in A (n) is formed in the pattern storage area of the RAM 5 as shown in FIG. Playback of this fill-in A (n) is started. When the reproduction of fill-in A (n) is completed, as shown in FIG.
(N) is repeatedly reproduced.

【0036】また、ノーマルA(n)が再生されている
過程で、ノーマルA(n)の2拍目でフィルインスイッ
チ1cをオン操作すると、図12(イ)に図示するよう
に、ノーマルA(n)の再生を停止する一方、フィルイ
ンB(n)のパターンデータをRAMのパターン格納エ
リアに形成し、このフィルインB(n)を再生し始め
る。そして、フィルインB(n)の再生が完了すると、
再びノーマルA(n)を繰り返し再生する。さらに、ノ
ーマルA(n)の3拍目あるいは4拍目のいずれかでフ
ィルインスイッチ1cをオン操作した場合には、図12
(ロ)に図示するように、ノーマルA(n)の再生を停
止する一方、フィルインC(n)のパターンデータをR
AMのパターン格納エリアに形成し、このフィルインC
(n)を再生し始める。そして、フィルインC(n)の
再生が完了すると、再びノーマルA(n)を繰り返し再
生する。
When the fill-in switch 1c is turned on at the second beat of the normal A (n) while the normal A (n) is being reproduced, as shown in FIG. While the reproduction of n) is stopped, the pattern data of fill-in B (n) is formed in the pattern storage area of the RAM, and reproduction of this fill-in B (n) is started. When the reproduction of the fill-in B (n) is completed,
The normal A (n) is reproduced again. Further, when the fill-in switch 1c is turned on at either the third beat or the fourth beat of the normal A (n), FIG.
As shown in (b), while the reproduction of the normal A (n) is stopped, the pattern data of the fill-in C (n) is
Formed in the pattern storage area of AM, this fill-in C
Start playing (n). When the reproduction of the fill-in C (n) is completed, the normal A (n) is reproduced again.

【0037】このように、本実施例によれば、リズム切
換スイッチ1aの操作に応じて所望のリズム番号のリズ
ムパターンが指定されると、その指定されたリズムパタ
ーンに対応するブロックアドレスを参照して、該当する
リズムブロックをリズムブロック群RBから読み出し、
それをRAM5のパターン格納エリアにコピーすること
によって、指定したリズムパターンを形成するので、パ
ターン重複を回避でき、メモリ使用効率を向上すること
が可能になっている。また、本実施例では、フィルイン
スイッチ1cの操作タイミングに応じて、フィルインA
(n)〜C(n)のリズムブロックのいずれかが指定さ
れると、指定された各リズムブロックをリズムブロック
群RBから読み出してRAM5のパターン格納エリアに
コピーすることによって、指定されたフィルインパター
ンを形成して再生するので、メモリ使用効率を向上させ
つつ、スイッチ操作のタイミングに応じて再生する演奏
パターンの種類を変更することが可能になる。
As described above, according to the present embodiment, when a rhythm pattern having a desired rhythm number is designated according to the operation of the rhythm change switch 1a, the block address corresponding to the designated rhythm pattern is referred to. Read the corresponding rhythm block from the rhythm block group RB,
By copying it to the pattern storage area of the RAM 5, the designated rhythm pattern is formed, so that pattern duplication can be avoided and memory use efficiency can be improved. In the present embodiment, the fill-in A is set according to the operation timing of the fill-in switch 1c.
When any one of the rhythm blocks (n) to C (n) is designated, the designated fill-in pattern is read out from the rhythm block group RB and copied to the pattern storage area of the RAM 5. Is formed and reproduced, it is possible to change the type of performance pattern to be reproduced according to the switch operation timing while improving the memory use efficiency.

【0038】なお、上述した実施例では、リズム演奏進
行中にリズム番号を変更する動作については言及してい
ないが、例えば図13(イ)に図示するように、ノーマ
ルA(n)を再生している途中でリズム切換スイッチ1
aをオン操作してリズム番号mに切換えた場合、ノーマ
ルA(n)の再生を中断して図13(ロ)に図示するよ
うに、ノーマルB(m)のパターンデータをRAMのパ
ターン格納エリアに形成し、このノーマルB(m)を再
生させることも可能である。そして、ノーマルB(m)
の再生が完了した時点で、図14(イ)に図示するよう
に、ノーマルA(m)のパターンデータをRAMのパタ
ーン格納エリアに形成し、このノーマルB(m)を再生
させ、ノーマルB(m)の再生が完了すると、図14
(ロ)に図示するように、再びノーマルA(m)を繰り
返し再生する態様にすることも可能である。
In the above-described embodiment, the operation of changing the rhythm number during the progress of the rhythm performance is not described. For example, as shown in FIG. 13A, the normal A (n) is reproduced. Rhythm switch 1
When "a" is turned on to switch to rhythm number m, reproduction of normal A (n) is interrupted and pattern data of normal B (m) is stored in the pattern storage area of the RAM as shown in FIG. It is also possible to reproduce this normal B (m). And normal B (m)
When the reproduction of the normal B (m) is completed, the pattern data of the normal A (m) is formed in the pattern storage area of the RAM as shown in FIG. When the reproduction of m) is completed, FIG.
As shown in (b), it is also possible to adopt a mode in which normal A (m) is repeatedly reproduced again.

【0039】[0039]

【発明の効果】請求項1,2に記載の発明によれば、再
生指示されるタイミングに応じて、第2の記憶手段に記
憶される複数種のリズムパターンの内から所定のリズム
パターンを選択し、選択されたリズムパターンを構成す
る各リズムブロックのブロックアドレスに従い、第1の
記憶手段の内から対応する各リズムブロックを指定し、
指定された各リズムブロックを第3の記憶手段に複写転
送して、前記選択されたリズムパターンに対応したパタ
ーンデータを形成し、これを再生指示に応じて再生する
ようにしたので、リズムパターン毎のパターンデータを
備えておく必要がなくなる結果、パターン重複を回避で
き、これによりメモリ使用効率が向上しながらも、再生
指示(スイッチ操作)のタイミングに応じて再生する演
奏パターンの種類を変更することができる。
According to the first and second aspects of the present invention, a predetermined rhythm pattern is selected from a plurality of types of rhythm patterns stored in the second storage means in accordance with the timing at which the reproduction is instructed. According to the block address of each rhythm block constituting the selected rhythm pattern, each corresponding rhythm block is designated from the first storage means,
Each designated rhythm block is copied and transferred to the third storage means to form pattern data corresponding to the selected rhythm pattern, and the pattern data is reproduced according to the reproduction instruction. As a result, it is possible to avoid pattern duplication, thereby avoiding pattern duplication, thereby improving memory use efficiency, and changing the type of performance pattern to be reproduced according to the timing of a reproduction instruction (switch operation). Can be.

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

【図1】本発明による一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.

【図2】ROM4に記憶される演奏パターンのデータ形
態を説明するためのメモリマップである。
FIG. 2 is a memory map for explaining a data form of a performance pattern stored in a ROM 4;

【図3】ROM4に記憶される演奏パターンのデータ形
態を説明するためのメモリマップである。
FIG. 3 is a memory map for explaining a data form of a performance pattern stored in a ROM 4;

【図4】メインルーチンの動作を示すフローチャートで
ある。
FIG. 4 is a flowchart showing an operation of a main routine.

【図5】スイッチ処理ルーチンの動作を示すフローチャ
ートである。
FIG. 5 is a flowchart showing an operation of a switch processing routine.

【図6】リズム切換スイッチ処理ルーチンの動作を示す
フローチャートである。
FIG. 6 is a flowchart showing the operation of a rhythm switch processing routine;

【図7】スタート/ストップスイッチ処理ルーチンの動
作を示すフローチャートである。
FIG. 7 is a flowchart showing an operation of a start / stop switch processing routine.

【図8】フィルインスイッチ処理ルーチンの動作を示す
フローチャートである。
FIG. 8 is a flowchart showing an operation of a fill-in switch processing routine.

【図9】演奏処理ルーチンの動作を示すフローチャート
である。
FIG. 9 is a flowchart showing the operation of a performance processing routine.

【図10】RAM5のパターン格納エリアに形成される
パターンデータを時系列的に図示したマップであり、実
施例の具体的動作を説明するための図である。
FIG. 10 is a time-series map showing pattern data formed in a pattern storage area of a RAM 5, and is a diagram for explaining a specific operation of the embodiment.

【図11】RAM5のパターン格納エリアに形成される
パターンデータを時系列的に図示したマップであり、実
施例の具体的動作を説明するための図である。
FIG. 11 is a time-series map showing pattern data formed in a pattern storage area of a RAM 5, and is a diagram for explaining a specific operation of the embodiment.

【図12】RAM5のパターン格納エリアに形成される
パターンデータを時系列的に図示したマップであり、実
施例の具体的動作を説明するための図である。
FIG. 12 is a time-series map showing pattern data formed in a pattern storage area of a RAM 5, and is a diagram for explaining a specific operation of the embodiment.

【図13】RAM5のパターン格納エリアに形成される
パターンデータを時系列的に図示したマップであり、変
形例の動作を説明するための図である。
FIG. 13 is a time-series map illustrating pattern data formed in a pattern storage area of a RAM 5, and is a diagram for explaining an operation of a modified example.

【図14】RAM5のパターン格納エリアに形成される
パターンデータを時系列的に図示したマップであり、変
形例の動作を説明するための図である。
FIG. 14 is a time-series map showing pattern data formed in a pattern storage area of a RAM 5, and is a diagram for explaining an operation of a modified example.

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

1 パネルスイッチ 2 表示部 3 CPU 4 ROM 5 RAM 6 音源 7 サウンドシステム DESCRIPTION OF SYMBOLS 1 Panel switch 2 Display part 3 CPU 4 ROM 5 RAM 6 Sound source 7 Sound system

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも曲を形成する各音の音高およ
び発音タイミングを表わすパターンデータからなるリズ
ムブロックを複数種記憶する第1の記憶手段と、 前記第1の記憶手段に記憶されるリズムブロックの格納
位置を表すブロックアドレスから形成され、複数のブロ
ックアドレスで指定される各リズムブロックから構成さ
れるリズムパターンを複数種記憶する第2の記憶手段
と、 再生指示されるタイミングに応じて、前記第2の記憶手
段に記憶される複数種のリズムパターンの内から所定の
リズムパターンを選択するパターン選択手段と、 このパターン選択手段によって選択されたリズムパター
ンを構成する各リズムブロックのブロックアドレスに従
い、前記第1の記憶手段の内から対応する各リズムブロ
ックを指定し、指定された各リズムブロックを第3の記
憶手段に複写転送して、前記選択されたリズムパターン
に対応したパターンデータを形成するパターン形成手段
と、 前記再生指示に応じて、前記第3の記憶手段に格納され
るパターンデータを再生する再生手段とを具備すること
を特徴とするリズム演奏装置。
1. A first storage means for storing a plurality of types of rhythm blocks comprising pattern data representing at least a pitch and a sounding timing of each sound forming a tune, and a rhythm block stored in the first storage means A second storage means for storing a plurality of types of rhythm patterns formed from block addresses each representing a storage position of a plurality of rhythm blocks specified by a plurality of block addresses; A pattern selecting means for selecting a predetermined rhythm pattern from a plurality of rhythm patterns stored in the second storage means; and a block address of each rhythm block constituting the rhythm pattern selected by the pattern selecting means. Each corresponding rhythm block is designated from the first storage means, and each designated rhythm block is designated. Pattern forming means for copying and transferring the rhythm block to a third storage means to form pattern data corresponding to the selected rhythm pattern; and storing the rhythm block in the third storage means in response to the reproduction instruction. A rhythm playing device, comprising: reproducing means for reproducing pattern data.
【請求項2】 少なくとも曲を形成する各音の音高およ
び発音タイミングを表わすパターンデータからなるリズ
ムブロックを第1の記憶手段に複数種記憶しておく一
方、この第1の記憶手段に記憶されるリズムブロックの
格納位置を表すブロックアドレスから形成され、複数の
ブロックアドレスで指定される各リズムブロックから構
成されるリズムパターンを第2の記憶手段に複数種記憶
しておく記憶過程と、 再生指示されるタイミングに応じて、前記第2の記憶手
段に記憶される複数種のリズムパターンの内から所定の
リズムパターンを選択するパターン選択過程と、 このパターン選択過程にて選択されたリズムパターンを
構成する各リズムブロックのブロックアドレスに従い、
前記第1の記憶手段の内から対応する各リズムブロック
を指定し、指定された各リズムブロックを第3の記憶手
段に複写転送して、前記選択されたリズムパターンに対
応したパターンデータを形成するパターン形成過程と、 前記再生指示に応じて、前記第3の記憶手段に格納され
るパターンデータを再生する再生過程とを具備すること
を特徴とするリズム演奏方法。
2. A plurality of rhythm blocks each comprising pattern data representing at least a pitch and a sounding timing of each sound forming a music are stored in the first storage means, while a plurality of rhythm blocks are stored in the first storage means. A storage process of storing a plurality of types of rhythm patterns in the second storage means, which are formed from block addresses indicating storage positions of rhythm blocks to be stored, and composed of rhythm blocks specified by a plurality of block addresses; A pattern selection step of selecting a predetermined rhythm pattern from a plurality of types of rhythm patterns stored in the second storage means in accordance with the timing at which the rhythm pattern is selected. According to the block address of each rhythm block
Each corresponding rhythm block is designated from the first storage means, and each designated rhythm block is copied and transferred to the third storage means to form pattern data corresponding to the selected rhythm pattern. A rhythm playing method, comprising: a pattern forming step; and a reproduction step of reproducing pattern data stored in the third storage means in response to the reproduction instruction.
JP2000363474A 2000-11-29 2000-11-29 Instrument and method for rhythm playing Pending JP2002169548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000363474A JP2002169548A (en) 2000-11-29 2000-11-29 Instrument and method for rhythm playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000363474A JP2002169548A (en) 2000-11-29 2000-11-29 Instrument and method for rhythm playing

Publications (1)

Publication Number Publication Date
JP2002169548A true JP2002169548A (en) 2002-06-14

Family

ID=18834584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000363474A Pending JP2002169548A (en) 2000-11-29 2000-11-29 Instrument and method for rhythm playing

Country Status (1)

Country Link
JP (1) JP2002169548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250053A (en) * 2007-03-30 2008-10-16 Yamaha Corp Automatic accompaniment generating device of electronic musical instrument, and computer program thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250053A (en) * 2007-03-30 2008-10-16 Yamaha Corp Automatic accompaniment generating device of electronic musical instrument, and computer program thereof

Similar Documents

Publication Publication Date Title
JPH05108065A (en) Automatic performance device
JPH11161271A (en) Musical sound producing method, musical sound producing device and medium with program recorded
JPS6157640B2 (en)
JP2002251185A (en) Device and method for automatic musical performance
JP2631722B2 (en) Automatic performance device
JP2002169548A (en) Instrument and method for rhythm playing
JP2773638B2 (en) Automatic performance device
JP3261929B2 (en) Automatic accompaniment device
JP4117596B2 (en) Automatic performance device and automatic performance method
JP2002169547A (en) Automatic music player and automatic music playing method
JPH1185153A (en) Playing device
JP3830546B2 (en) Power saving of signal processing equipment
JP3407375B2 (en) Automatic arrangement device
JP2641851B2 (en) Automatic performance device
JPH11219175A (en) Automatic music playing device
JPH07121177A (en) Automatic accompaniment device
JP2643277B2 (en) Automatic performance device
JP2842440B2 (en) Automatic accompaniment device
JP3870964B2 (en) Music signal generation method, music signal generation device, and medium recording program
JP2756805B2 (en) Automatic rhythm playing device
JP2004341385A (en) Apparatus and program for musical performance recording and reproduction
JP2596303B2 (en) Electronic musical instrument
JP2001265335A (en) Device and method for inputting performance information
JP2848092B2 (en) Automatic accompaniment device
JP3178176B2 (en) Automatic accompaniment device