Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0646355B2 - Rhythm playing device - Google Patents
[go: Go Back, main page]

JPH0646355B2 - Rhythm playing device - Google Patents

Rhythm playing device

Info

Publication number
JPH0646355B2
JPH0646355B2 JP62332648A JP33264887A JPH0646355B2 JP H0646355 B2 JPH0646355 B2 JP H0646355B2 JP 62332648 A JP62332648 A JP 62332648A JP 33264887 A JP33264887 A JP 33264887A JP H0646355 B2 JPH0646355 B2 JP H0646355B2
Authority
JP
Japan
Prior art keywords
rhythm
rhythm sound
sound
information
roll
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62332648A
Other languages
Japanese (ja)
Other versions
JPH01179093A (en
Inventor
幹生 伊藤
昌夫 近藤
泰直 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP62332648A priority Critical patent/JPH0646355B2/en
Priority to US07/291,275 priority patent/US4991486A/en
Priority to DE3888655T priority patent/DE3888655T2/en
Priority to KR1019880017876A priority patent/KR920005713B1/en
Priority to EP88121918A priority patent/EP0322927B1/en
Publication of JPH01179093A publication Critical patent/JPH01179093A/en
Publication of JPH0646355B2 publication Critical patent/JPH0646355B2/en
Priority to SG165894A priority patent/SG165894G/en
Priority to HK33095A priority patent/HK33095A/en
Priority to US09/493,518 priority patent/USRE37459E1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、複数のリズム音源チャンネルを有するリズ
ム演奏装置に関し、特にリズム音源チャンネルにリズム
音種類指定情報を割当てる技術に関するものである。
The present invention relates to a rhythm playing device having a plurality of rhythm sound source channels, and more particularly to a technique for assigning rhythm sound type designation information to the rhythm sound source channels.

[発明の概要] この発明は、手動操作又はリズムパターンに基づいてリ
ズム音種類指定情報が発生されるたびにこのリズム音種
類指定情報を複数のリズム音源チャンネルのいずれかに
割当てて発生すべきリズム音の種類を指定することによ
り少ないチャンネル数で変化に富んだリズム演奏を行な
えるようにしたものである。
SUMMARY OF THE INVENTION The present invention assigns the rhythm sound type designation information to any of a plurality of rhythm sound source channels each time the rhythm sound type designation information is generated based on a manual operation or a rhythm pattern, and generates the rhythm. By specifying the type of sound, a variety of rhythm performances can be performed with a small number of channels.

[従来の技術] 従来、複数のリズム音源チャンネルを有するリズム演奏
装置としては、演奏すべきリズム種類毎に複数のリズム
音種類(例えばバスドラム、シンバル、スネアドラム
…)を複数のリズム音源チャンネルに割当て、これらの
リズム音源チャンネルを演奏すべきリズム種類(例えば
マーチ)に関するリズムパターンに従って選択的に駆動
することにより自動的にリズム演奏を行なうようにした
ものが知られている(例えば、特開昭59-191号公報参
照)。
[Prior Art] Conventionally, as a rhythm playing device having a plurality of rhythm sound source channels, a plurality of rhythm sound types (for example, a bass drum, a cymbal, a snare drum, etc.) are assigned to a plurality of rhythm sound source channels for each rhythm kind to be played. It is known that the rhythm performance is automatically performed by selectively allocating and driving these rhythm sound source channels in accordance with a rhythm pattern relating to a rhythm type (for example, a march) to be played (for example, Japanese Patent Laid-Open Publication No. Sho. 59-191).

[発明が解決しようとする問題点] 上記した従来技術によると、演奏すべきリズム種類が決
まってしまえば例えば8つのリズム音源チャンネルでそ
れぞれ発生すべきリズム音の種類が固定されてしまい、
チャンネル数より多い例えば16種類のリズム音を用いて
内容的に複雑で変化に富んだリズム演奏を行なうことは
できなかった。
[Problems to be Solved by the Invention] According to the above-mentioned conventional technique, if the types of rhythms to be played are determined, the types of rhythm sounds to be generated in each of the eight rhythm sound source channels are fixed,
It was not possible to perform a rhythm performance that is complicated and varied in content by using, for example, 16 types of rhythm sounds that are larger than the number of channels.

また、このように複雑なリズム演奏を従来装置で行なお
とすればチャンネル数を増加させる他なく、構成が複雑
化するのを免れなかった。
Further, if such a complicated rhythm performance is performed by the conventional device, the number of channels must be increased and the structure must be complicated.

[問題点を解決するための手段] この発明の目的は、少ないチャンネル数で変化に富んだ
リズム演奏を可能にすることにある。
[Means for Solving Problems] An object of the present invention is to enable rhythm performance rich in variation with a small number of channels.

この発明に係るリズム演奏装置は、 複数のリズム音源チャンネルを有する音源手段であっ
て、各リズム音源チャンネルは、指定されるリズム音種
類に対応したリズム音信号を発生可能になっているもの
と、 演奏すべきリズムに関して前記リズム音源チャンネルの
数より多い複数のリズム音種類にそれぞれ対応した複数
のリズム音種類指定情報と各リズム音種類毎に発音タイ
ミングを指示するタイミング情報とを記憶する記憶手段
と、 テンポクロック信号を発生する手段と、 前記テンポクロック信号及び前記記憶手段のタイミング
情報に基づいて各リズム音種類毎に発音タイミングにな
るたびに該リズム音種類に対応したリズム音種類指定情
報を前記記憶手段から読出す読出手段と、 前記記憶手段から読出されるリズム音種類指定情報に応
じて前記複数のリズム音源チャンネルのいずれかに該リ
ズム音種類指定情報を割当てることにより割当てに係る
リズム音源チャンネルにて該リズム音種類指定情報に対
応したリズム音種類を指定して該リズム音種類に対応し
たリズム音信号を発生させる割当手段と を備えたものである。
A rhythm playing device according to the present invention is a sound source unit having a plurality of rhythm sound source channels, each rhythm sound source channel being capable of generating a rhythm sound signal corresponding to a specified rhythm sound type, Storage means for storing a plurality of rhythm sound type designation information respectively corresponding to a plurality of rhythm sound types larger than the number of rhythm sound source channels with respect to the rhythm to be played, and timing information for instructing sounding timing for each rhythm sound type A means for generating a tempo clock signal, and rhythm sound type designation information corresponding to the rhythm sound type each time the sounding timing is reached for each rhythm sound type based on the tempo clock signal and the timing information of the storage means. The reading means for reading from the storage means and the rhythm sound type designation information read from the storage means By assigning the rhythm sound type designation information to any one of the plurality of rhythm sound source channels, the rhythm sound type corresponding to the rhythm sound type designation information is designated in the rhythm sound source channel to be assigned And a allocating means for generating a corresponding rhythm sound signal.

このようなリズム演奏装置にあっては、記憶手段と、テ
ンポクロック信号を発生する手段と、読出手段とを設け
る代りに、 前記リズム音源チャンネルの数より多い複数のリズム音
種類にそれぞれ対応した複数のリズム演奏操作子と、 前記複数のリズム演奏操作子のいずれかが操作されるた
びに操作に係るリズム演奏操作子に対応したリズム音種
類を指定するリズム音種類指定情報を発生する情報発生
手段と、 を設け、前記割当手段では、情報発生手段から発生され
るリズム音種類指定情報をいずれかのリズム音源チャン
ネルに割当てることによりリズム音信号を発生させるよ
うにしてもよい。
In such a rhythm playing device, instead of providing a storage means, a means for generating a tempo clock signal, and a reading means, a plurality of rhythm sound types corresponding to a plurality of rhythm sound types larger than the number of rhythm sound source channels are provided. Of the rhythm performance operator, and information generating means for generating rhythm sound type designation information for designating the rhythm sound type corresponding to the rhythm performance operator associated with the operation each time one of the plurality of rhythm performance operators is operated. And the allocating means may generate the rhythm sound signal by allocating the rhythm sound type designation information generated from the information generating means to any of the rhythm sound source channels.

[作用] この発明の構成によれば、記憶手段には、リズム音源チ
ャンネルの数(例えば8)より多い複数(例えば16)
のリズム音種類に対応したリズム音種類指定情報がタイ
ミング情報と共に記憶される。そして、テンポクロック
信号及びタイミング情報に基づいて各リズム音種類毎に
発音タイミングになるたびに記憶手段からリズム音種類
指定情報が読出される。
[Operation] According to the configuration of the present invention, the storage means has a plurality of (eg, 16) more than the number of rhythm sound source channels (eg, 8).
The rhythm sound type designation information corresponding to the rhythm sound type is stored together with the timing information. Then, the rhythm sound type designation information is read from the storage means each time the rhythm sound type reaches the sound generation timing based on the tempo clock signal and the timing information.

また、リズム音源チャンネルの数(例えば8)より多い
複数(例えば32)のリズム演奏操作子を設けた場合に
は、いずれかのリズム演奏操作子を操作するたびに情報
発生手段から操作に係りリズム演奏操作子に対応したリ
ズム音種類指定情報が発生される。
Further, when a plurality of (for example, 32) rhythm performance operators, which are larger than the number of rhythm sound source channels (for example, 8), are provided, the rhythm is played by the information generating means each time any one of the rhythm performance operators is operated. Rhythm sound type designation information corresponding to the performance operator is generated.

そして、割当手段では、記憶手段から読出されたリズム
音種類指定情報又は情報発生手段から発生されたリズム
音種類指定情報がいずれかのリズム音源チャンネルに割
当てられ、この結果として、割当てに係るリズム音源チ
ャンネルからは、割当てに係るリズム音種類指定情報に
対応したリズム音信号が発生される。従って、例えば8
つの少ないチャンネル数であっても、経時的には16又
は32等の多種類のリズム音を用いて変化に富んだリズ
ム演奏を行なうことができる。
Then, the allocating means allocates the rhythm sound type designation information read from the storage means or the rhythm sound type designation information generated by the information generating means to any rhythm sound source channel, and as a result, the rhythm sound source relating to the allocation. A rhythm sound signal corresponding to the rhythm sound type designation information related to the allocation is generated from the channel. Therefore, for example, 8
Even with a small number of channels, a variety of rhythm sounds such as 16 or 32 can be used over time to perform a variety of rhythm performances.

[実施例] 第1図は、この発明の一実施例による電子楽器を構成を
示すもので、この電子楽器では、鍵盤操作に基づくマニ
アル演奏音の発生、プログラムモード時におけるリズム
パターン書込み並びにマニアルリズム音及びオートリズ
ム音の発生、プレイモード時におけるオートリズム音の
発生等がマイクロコンピュータによって制御されるよう
になっている。なお、第1図及び第2図において、例え
ば第1図のTDのように斜線を付した信号線は、複数の
信号線であること又は複数ビットの信号の流れを表わ
す。
[Embodiment] FIG. 1 shows the configuration of an electronic musical instrument according to an embodiment of the present invention. In this electronic musical instrument, a manual performance sound is generated based on a keyboard operation, a rhythm pattern is written in a program mode, and a manual rhythm is generated. The generation of sounds and autorhythm sounds, the generation of autorhythm sounds in the play mode, etc. are controlled by a microcomputer. Note that, in FIGS. 1 and 2, the signal lines with diagonal lines, such as the TD in FIG. 1, are a plurality of signal lines or represent a signal flow of a plurality of bits.

電子楽器の構成(第1図) 第1図において、データバス10には、鍵盤12、パネル装
置14、中央処理装置(CPU)16、プログラム及びデー
タROM(リード・オンリィ・メモリ)18、データ及び
ワーキングRAM(ランダム・アクセス・メモリ)20、
テンポタイマ22、ロールタイマ24、トランケートタイマ
26、鍵盤用トーンジェネレータ(TG)28、リズム用ト
ーンジェネレータ(TG)30等が接続されている。
Structure of Electronic Musical Instrument (FIG. 1) In FIG. 1, a keyboard 12, a panel device 14, a central processing unit (CPU) 16, a program and data ROM (read only memory) 18, data and Working RAM (random access memory) 20,
Tempo timer 22, roll timer 24, truncate timer
A keyboard tone generator (TG) 28, a rhythm tone generator (TG) 30, etc. are connected.

鍵盤12は、多数の鍵を有するもので、各鍵毎に押鍵情報
が検出されるようになっている。
The keyboard 12 has a large number of keys, and key pressing information is detected for each key.

パネル装置14は、楽音制御用乃至演奏制御用の各種の操
作子並びに各種の表示素子が設けられたもので、各操作
子毎に操作情報が検出されるようになっている。
The panel device 14 is provided with various operators for musical tone control or performance control and various display elements, and operation information is detected for each operator.

パネル装置14において、この発明の実施に関係する操作
子としては、ハンドパーカッション用のパッド操作子P
DSと、リズム選択操作子RSSと、ロール指定操作子
RLSと、プログラムモード指定操作子PMSと、スタ
ート/ストップ操作子SPSと、テンポ調整操作子TM
Nとが設けられている。
In the panel device 14, as an operator related to the implementation of the present invention, a pad operator P for hand percussion is used.
DS, rhythm selection operator RSS, roll designation operator RLS, program mode designation operator PMS, start / stop operator SPS, tempo adjustment operator TM
N and are provided.

パッド操作子PDSとしては、例えばバスドラム、スネ
アドラム、シンバル…等の32種類のリズム音にそれぞれ
対応した32個の自己復帰型パッドスイッチが設けられて
いる。
As the pad operator PDS, 32 self-restoration type pad switches respectively corresponding to 32 kinds of rhythm sounds such as bass drum, snare drum, cymbal, etc. are provided.

リズム選択操作子RSSとしては、例えばマーチ、ワル
ツ、ルンバ…等のN(任意の複数)種類のファクトリー
セットされたリズムパターンにそれぞれ対応した第1〜
第Nのリズム選択スイッチと、演奏者がプログラムした
リズムパターンを選択するための第Mのリズム選択スイ
ッチとが設けられている。また、各リズム選択操作子毎
に発光ダイオードからなる表示素子LDが設けられてお
り、所望のリズムを選択すべくリズム選択操作子をオン
操作すると、それに対応する表示素子LDが点灯するよ
うになっている。
As the rhythm selection operator RSS, for example, first to first corresponding to N (arbitrary plural) kinds of factory-set rhythm patterns such as march, waltz, rumba ...
An Nth rhythm selection switch and an Mth rhythm selection switch for selecting a rhythm pattern programmed by the performer are provided. A display element LD including a light emitting diode is provided for each rhythm selection operator, and when the rhythm selection operator is turned on to select a desired rhythm, the corresponding display element LD is turned on. ing.

ロール指定操作子RLSは、例えば自己復帰型スイッチ
からなるもので、所望のパッド操作子(例えばスネアド
ラムに対応するもの)と同時的にオン操作することによ
り該パッド操作子に対応するリズム音のロール(連打)
発音を指定可能である。
The roll designating operator RLS is composed of, for example, a self-reset type switch, and when the desired pad operator (for example, corresponding to a snare drum) is turned on at the same time, a rhythm sound corresponding to the pad operator is generated. Roll (continuous hit)
You can specify pronunciation.

プログラムモード指定操作子PMSは、例えば自己復帰
型スイッチからなるもので、操作のたびにプログラムモ
ードとプレイモードとを交互に指定可能である。また、
操作子PMSの近傍には、発光ダイオードらなる表示素
子PLDが設けられており、この表示素子PLDは、プ
ログラムモードの指定時に点灯するようになっている。
The program mode designating operator PMS is composed of, for example, a self-reset type switch, and it is possible to designate the program mode and the play mode alternately each time it is operated. Also,
A display element PLD including a light emitting diode is provided in the vicinity of the operator PMS, and the display element PLD is lit when the program mode is designated.

スタート/ストップ操作子SPSは、例えば自己復帰型
スイッチからなるもので、操作のたびにスタートとスト
ップとを交互に指示可能である。
The start / stop operator SPS is composed of, for example, a self-reset type switch, and it is possible to alternately instruct start and stop for each operation.

テンポ調整操作子TMNは、例えば回転式のつまみから
なるもので、所望のテンポを設定するためのものであ
る。操作子TMNの近傍には、一列状に配置された4個
の発光ダイオードからなるテンポ表示素子TLDが設け
られており、プログラムモード時及びプレイモード時に
設定テンポに対応した速さで順次に点灯することにより
テンポを表示するようになっている。
The tempo adjusting operator TMN is composed of, for example, a rotary knob, and is used for setting a desired tempo. A tempo display element TLD including four light emitting diodes arranged in a line is provided near the manipulator TMN, and sequentially lights at a speed corresponding to the set tempo in the program mode and the play mode. By doing so, the tempo is displayed.

CPU16は、ROM18にストアされたプログラムに従っ
て各種の処理を実行するもので、これらの処理の詳細に
ついては第6図乃至第17図を参照して後述する。
The CPU 16 executes various processes in accordance with the programs stored in the ROM 18, and details of these processes will be described later with reference to FIGS. 6 to 17.

ROM18は、各種処理用のプログラムの他に、ファクト
リーセットのリズムパターン等に関するデータも記憶し
ており、その記憶内容については第3図を参照して後述
する。
The ROM 18 stores, in addition to programs for various processes, data relating to the rhythm pattern of the factory set, etc. The stored contents will be described later with reference to FIG.

RAM20は、演奏者がプログラムしたリズムパターンに
関するデータを記憶するための記憶部を有するもので、
この他にも、CPU16による各種処理に際してワーキン
グレジスタ等として利用される記憶部を含んでいる。R
AM20の記憶内容については第5図を参照して後述す
る。
The RAM 20 has a storage unit for storing data relating to the rhythm pattern programmed by the performer,
In addition to this, it also includes a storage unit used as a working register or the like for various processes by the CPU 16. R
The contents stored in the AM 20 will be described later with reference to FIG.

テンポタイマ22は、テンポデータTDに応じた周波数を
有するテンポクロック信号TCLを発生するもので、こ
の信号TCLの各クロックパルスは第13図のテンポクロ
ック割当処理を開始させるのに使用される。
The tempo timer 22 generates a tempo clock signal TCL having a frequency according to the tempo data TD, and each clock pulse of this signal TCL is used to start the tempo clock allocation process of FIG.

ロールタイマ24は、ロール用クロック信号RCLを発生
するもので、この信号RCLの各クロックパルスは第16
図のロールタイマ割当処理を開始させるのに使用され
る。ロールタイマ24のクロック発生周期は、一例として
数10[ms]に設定されるが、これは演奏者の操作又は
外部信号に応じて任意に可変設定できるようにしてもよ
い。
The roll timer 24 generates a roll clock signal RCL, and each clock pulse of this signal RCL is the 16th clock pulse.
It is used to start the role timer allocation process in the figure. The clock generation cycle of the roll timer 24 is set to several tens [ms] as an example, but this may be arbitrarily variably set according to the player's operation or an external signal.

トランケートタイマ26は、トランケート用クロック信号
KCLを発生するもので、この信号KCLの各クロック
パルスは第17図のトランケートタイマ割当処理を開始さ
せるのに使用される。トランケートタイマ26のクロック
発生周期は、一例として数10[ms]に設定される。
The truncate timer 26 generates a truncate clock signal KCL, and each clock pulse of this signal KCL is used to start the truncate timer allocation process of FIG. As an example, the clock generation cycle of the truncate timer 26 is set to several 10 [ms].

この実施例では、3つのタイマ22,24,26をそれぞれ独立
に設けたが、1つのタイマの出力を適宜分周して必要と
するクロック信号を得ることもできる。
In this embodiment, the three timers 22, 24 and 26 are provided independently of each other, but the output of one timer can be appropriately divided to obtain the required clock signal.

鍵盤用TG28は、鍵盤12から検出された押鍵情報に基づ
いて押された鍵に対応する楽音信号KTSを発生するも
のである。
The keyboard TG 28 generates a tone signal KTS corresponding to the pressed key based on the key pressing information detected from the keyboard 12.

リズム用TG30は、パッド操作子PDSの操作及び/又
は選択されたリズムパターンに基づいてリズム音信号R
TSを発生するものであり、詳しくは第2図について後
述する。
The rhythm TG 30 receives the rhythm sound signal R based on the operation of the pad operator PDS and / or the selected rhythm pattern.
The TS is generated, which will be described later in detail with reference to FIG.

サウンドシステム32は、楽音信号KTS及びリズム音信
号RTSを音響に変換するためのものである。
The sound system 32 is for converting the musical sound signal KTS and the rhythm sound signal RTS into sound.

リズム用TG30の構成(第2図) 第2図は、リズム用TG30の一構成例を示すもので、こ
の例にあっては、8つのリズム音源チャンネルを時分割
的に駆動することにより最大で8種類のリズム音を同時
発音可能である。
Configuration of Rhythm TG 30 (FIG. 2) FIG. 2 shows an example of the configuration of the rhythm TG 30. In this example, a maximum of 8 rhythm sound source channels are driven by time division. Eight kinds of rhythm sounds can be pronounced simultaneously.

データバス10に接続されたレジスタ40,42,44,46のう
ち、40はチャンネルナンバ(CHナンバ)がストアされ
るもの、42はリズム音種類を表わす楽器コードICOD
Eがストアされるもの、44はエンベロープ波形データE
Vに関して示すようにエンベロープのアタックレベルに
対応したボリューム値VLMがストアされるもの、46は
リズム音の発生開始を指示するキーオン情報KONがス
トアされるものである。これらのレジスタ40,42,44,46
への情報転送は、各リズム音種類毎に発音すべきタイミ
ングで同時的に行なわれる。
Of the registers 40, 42, 44, 46 connected to the data bus 10, 40 is the one in which the channel number (CH number) is stored, and 42 is the instrument code ICOD indicating the rhythm tone type.
E is stored, 44 is envelope waveform data E
As shown for V, a volume value VLM corresponding to the attack level of the envelope is stored, and 46 is key-on information KON for instructing the start of generation of a rhythm sound. These registers 40, 42, 44, 46
Information is simultaneously transferred to each of the rhythm sound types at the timing when it should be sounded.

書込制御回路48は、ICODE記憶回路50に含まれてい
る8つの時分割チャンネルのうちレジスタ40からのCH
ナンバに対応したチャンネルにレジスタ42からの楽器コ
ードICODEを割当てるように書込制御を行なうもの
で、記憶回路50は、割当てられた楽器コードを循環的に
記憶し、割当てに係るチャンネルのタイミングで送出す
るようになっている。
The write control circuit 48 uses the CH from the register 40 among the eight time division channels included in the ICODE storage circuit 50.
Write control is performed so that the instrument code ICODE from the register 42 is assigned to the channel corresponding to the number. The memory circuit 50 cyclically stores the assigned instrument code and sends it at the timing of the channel related to the assignment. It is supposed to do.

書込制御回路52は、VLM記憶回路54に含まれている8
つの時分割チャンネルのうちクロック40からのCHナン
バに対応したチャンネルにレジスタ44からのボリューム
値VLMを割当てるように書込制御を行なうもので、記
憶回路54は、割当てられたポリューム値を循環的に記憶
し、割当てに係るチャンネルのタイミングで送出するよ
うになっている。
The write control circuit 52 is included in the VLM storage circuit 54.
The write control is performed so that the volume value VLM from the register 44 is assigned to the channel corresponding to the CH number from the clock 40 among the two time division channels. The memory circuit 54 cyclically assigns the assigned volume value. It is stored and transmitted at the timing of the channel related to allocation.

書込制御回路56は、KON記憶回路58に含まれている8
つの時分割チャンネルのうちレジスタ40からのCHナン
バに対応したチャンネルにレジスタ46からのキーオン情
報KONを割当てるように書込制御を行なうもので、記
憶回路58は、割当てられたキーオン情報を循環的に記憶
し、割当てに係るチャンネルのタイミングでキーオンパ
ルスKONPとして送出するようになっている。
The write control circuit 56 is included in the KON storage circuit 58.
The write control is performed so that the key-on information KON from the register 46 is assigned to the channel corresponding to the CH number from the register 40 among the two time-division channels. The memory circuit 58 cyclically stores the assigned key-on information. It is stored and sent as a key-on pulse KONP at the timing of the channel related to the allocation.

アドレス発生器60は、8チャンネル分のアドレス情報を
時分割的に発生可能なもので、キーオンパルスKONP
を受取ると、KONPの割当チャンネルのタイミングで
アドレス情報を発生する。
The address generator 60 is capable of time-divisionally generating address information for eight channels, and uses a key-on pulse KONP.
When the address is received, the address information is generated at the timing of the assigned channel of KONP.

リズム音波形メモリ62は、一例としてPCM(パルス符
号変調)録音方式により実際の打楽器から採取したリズ
ム音波形(立上り開始から減衰終了までのもの)を記憶
したもので、このようなリズム音波形としてはパッド操
作子PDSで指定可能な32種類のリズム音をそれぞれに
対応したものが記憶されている。
The rhythm sound waveform memory 62 stores, for example, a rhythm sound waveform (from the start of rising to the end of attenuation) collected from an actual percussion instrument by the PCM (pulse code modulation) recording method. Stores 32 types of rhythm sounds that can be designated by the pad operator PDS.

波形メモリ62からは、各チャンネル毎に割当てに係る楽
器コードに対応したリズム音波形がアドレス発生器60か
らのアドレス情報に応じて読出される。例えば、第1チ
ャンネルにバスドラムが割当てられたものとすれば、第
1チャンネルのタイミングでバスドラム音波形が読出さ
れる。
From the waveform memory 62, the rhythm sound waveform corresponding to the musical instrument code assigned to each channel is read according to the address information from the address generator 60. For example, if a bass drum is assigned to the first channel, the bass drum sound waveform is read at the timing of the first channel.

エンベロープ発生器64は、各チャンネル毎に割当てに係
る楽器コードに対応するリズム音のためのエンベロープ
波形データEVをキーオンパルスKONPに応じて発生
するもので、エンベロープ波形データEVの示すエンベ
ロープにおけるアタックレベルは記憶回路54からのボリ
ューム値VLMに応じて決定される。
The envelope generator 64 generates envelope waveform data EV for the rhythm sound corresponding to the musical instrument chord associated with each channel in response to the key-on pulse KONP, and the attack level in the envelope indicated by the envelope waveform data EV is It is determined according to the volume value VLM from the storage circuit 54.

波形メモリ62からのリズム音波形データWD及びエンベ
ロープ発生器64からのエンベロープ波形データEVは乗
算器66に供給され、各チャンネル毎に乗算される。そし
て、乗算器66の乗算出力MO(ディジタル楽器信号)
は、すでに知られているようにアキューユレータ、D/
A変換器等を介してアナログ形式のリズム音信号RTS
に変換されてから、サウンドシステム32に供給される。
The rhythm sound waveform data WD from the waveform memory 62 and the envelope waveform data EV from the envelope generator 64 are supplied to the multiplier 66 and multiplied for each channel. Then, the multiplication output MO (digital musical instrument signal) of the multiplier 66
Is the accu-lator, D /
Analog rhythm sound signal RTS via A converter etc.
And then supplied to the sound system 32.

上記したリズム用TG30によれば、8チャンネル分のリ
ズム音信号を同時に発生可能であると共に、各チャンネ
ル毎に楽器コードICODEによりリズム音種類を指定
することで波形メモリ62の記憶波形に対応する種々のリ
ズム音信号を発生可能である。
According to the rhythm TG 30 described above, rhythm sound signals for 8 channels can be simultaneously generated, and various kinds of rhythm sound signals corresponding to the waveforms stored in the waveform memory 62 can be specified by designating the rhythm sound type by the instrument code ICODE for each channel. The rhythm sound signal of can be generated.

ROM18の記憶内容(第3図) 第3図は、ROM18の記憶内容を示すもので、このRO
M18には、(A)に示すようにリズムパターンメモリと
して使用される記憶部と、(B)に示すようにトランケ
ート値メモリとして使用される記憶部と、(C)に示す
ようにボリューム値メモリとして使用される記憶部と、
その他音色パラメータ、効果パラメータ等の記憶等(図
示せず)とが含まれている。
Contents stored in ROM 18 (FIG. 3) FIG. 3 shows contents stored in the ROM 18.
M18 includes a storage unit used as a rhythm pattern memory as shown in (A), a storage unit used as a truncated value memory as shown in (B), and a volume value memory as shown in (C). Storage unit used as
In addition, storage of tone color parameters, effect parameters and the like (not shown) are included.

(A)のリズムパターンメモリにあっては、N種類のリ
ズム(リズム1〜リズムN)にそれぞれ対応するリズム
パターンを記憶した記憶ブロックRPMEM(1)〜R
PMEM(N)と、これらの記憶ブロックの記憶トラッ
ク数をそれぞれ記憶したトラック数記憶領域PTNNU
M(1)〜PTNNUM(N)とが設けられている。
In the rhythm pattern memory (A), storage blocks RPMMEM (1) to RMEM which store rhythm patterns respectively corresponding to N kinds of rhythms (rhythm 1 to rhythm N).
PMEM (N) and a track number storage area PTNNU storing the number of storage tracks of these storage blocks, respectively.
M (1) to PTNNUM (N) are provided.

リズム1に対応する記憶ブロックRPMEM(1)に
は、16個の記憶トラックが設けられており、各記憶トラ
ック毎に楽器コード記憶領域PICODEと、ロール指
定情報記憶領域PRLFLGと、タイミング情報記憶領
域とが設けられている。このような記憶トラック及び記
憶領域の配置は他のリズム2〜リズムNについても同様
であるが、記憶トラックの数は各リズム毎にそれに必要
な数とされる。例えば、リズム1についてはトラック数
が16(PTNNUM(1)=16)であり、リズム2につ
いてはトラック数が9(PTNNUM(2)=9)であ
り、リズムNについてはトラック数が3(PTNNUM
(N)=3)である。
The storage block RPMMEM (1) corresponding to rhythm 1 is provided with 16 storage tracks, and a musical instrument chord storage area PICODE, a roll designation information storage area PRLFLG, and a timing information storage area are provided for each storage track. Is provided. The arrangement of such storage tracks and storage areas is the same for the other rhythms 2 to N, but the number of storage tracks is the number required for each rhythm. For example, the number of tracks for rhythm 1 is 16 (PTNNUM (1) = 16), the number of tracks for rhythm 2 is 9 (PTNNNUM (2) = 9), and the number of tracks for rhythm N is 3 (PTNNNUM).
(N) = 3).

各楽器コード記憶領域PICODEには、リズム音種類
を表わす楽器コードが記憶され、各ロール指定情報記憶
領域PRLFLGには、ロール指定の有り又は無しをそ
れぞれ表わすロール指定情報1又は0が記憶される。こ
の場合、同一のリズム音種類であってもロール指定の有
るものと無いものとでは別々のリズム音種類として扱わ
れる。例えば、単なるスネアドラムとスネアドラムロー
ルとでは別々の記憶トラックが与えられ、これらの記憶
トラックにおいてPICODEの楽器コードはスネアド
ラム用のもので同じであるが、PRLFLGのロール指
定情報は単なるスネアドラムでは0、スネアドラムロー
ルでは1とされる。
In each instrument chord storage area PICODE, an instrument chord representing a rhythm tone type is stored, and in each roll designation information storage area PRLFLG, roll designation information 1 or 0 indicating whether or not a roll is designated is stored. In this case, even the same rhythm sound type is treated as different rhythm sound types with and without roll designation. For example, separate storage tracks are provided for a simple snare drum and a snare drum roll, and in these storage tracks, the PICODE instrument chords are the same for the snare drum, but the roll designation information of PRLFLG is not the simple snare drum. 0, and 1 for snare drum rolls.

各タイミング情報記憶領域には、テンポカウンタTPC
TRのカウント値0〜63(発音可能タイミング)にそれ
ぞれ対応した64個の記憶セルPTNが設けられており、
発音要のタイミングに対応する記憶セルには1が、発音
不要のタイミングに対応する記憶セルには0がそれぞれ
記憶される。テンポカウンタTPCTRは、後述するよ
うにRAM20に属するもので、テンポクロック信号TC
Lを2小節毎に反復的に計数するものである。従って、
各タイミング情報記憶領域の記憶情報は2小節分の発音
制御パターンを表わすものである。
Each timing information storage area has a tempo counter TPC.
64 memory cells PTN corresponding to TR count values 0 to 63 (timing at which sound can be generated) are provided.
1 is stored in the memory cell corresponding to the timing of sound generation, and 0 is stored in the memory cell corresponding to the timing of no sound generation. The tempo counter TPCTR belongs to the RAM 20, as will be described later, and has a tempo clock signal TC.
L is recursively counted every two measures. Therefore,
The stored information in each timing information storage area represents a sound emission control pattern for two measures.

第4図は、一例としてバスドラム、スネアドラム及びス
ネアドラムロールに関する1小節分のタイミングデータ
を示したものであり、これに読く1小節についても図示
したものと同じタイミングデータが記憶される。
FIG. 4 shows, as an example, timing data for one bar regarding the bass drum, snare drum, and snare drum roll, and the same timing data as that shown in the figure is stored for one bar to be read.

第4図において、1拍内には8つの発音可能タイミング
(例えばTPCTRの値にして0〜7)があり、バスド
ラム、スネアドラム、スネアドラムロールのいずれにつ
いても各発音可能タイミング毎に1(発音要)又は0
(発音不要)の情報が配置される。1又は0から右方向
に延長する矢印は同じ情報が読くことを表わしている。
In FIG. 4, there are eight soundable timings (for example, 0 to 7 in the value of TPCTR) within one beat, and one (1) for each soundable timing for the bass drum, snare drum, and snare drum roll. Pronunciation required) or 0
Information (no pronunciation required) is placed. An arrow extending from 1 or 0 to the right indicates that the same information can be read.

第4図のタイミングデータによれば、バスドラムは1拍
目の頭と、3拍目の頭で発音開始されると共に、スネア
ドラムは2拍目の頭と、4拍目の頭で発音開始される。
また、スネアドラムロールは1拍目の頭から2拍目の終
りまでの期間にわたってロール発音が指示され、この期
間に相当する期間中第16図のロールタイマ割込処理によ
りロール音が発生される。
According to the timing data of FIG. 4, the bass drum starts to sound at the first beat and the third beat, and the snare drum starts at the second beat and the fourth beat. To be done.
Further, the snare drum roll is instructed to roll sound over the period from the beginning of the first beat to the end of the second beat, and during the period corresponding to this period, the roll sound is generated by the roll timer interrupt processing of FIG. .

リズム1〜リズムNについては、予めリズムコード1〜
Nが定められており、RAM20内のリズムコードレジス
タRCODEには、選択されたリズム(例えばマーチ)
に対応するリズムコードがセットされる。また、RAM
20内のトラックナンバレジスタTRNには、後述するよ
うにトラックナンバがセットされる。従って、RCOD
E及びTRNを用いることで特定のリズムに関する特定
の記憶トラックを読出指定することができる。
For rhythm 1 to rhythm N, rhythm code 1 to
N is defined, and the rhythm code register RCODE in the RAM 20 has the selected rhythm (for example, march).
The rhythm code corresponding to is set. RAM
A track number is set in the track number register TRN in 20 as described later. Therefore, RCOD
By using E and TRN, it is possible to read out and specify a specific storage track relating to a specific rhythm.

例えば、第3図(A)にリズム1について示すように、
RCODE=1、TRN=10とすれば、リズム1の記憶
トラック10を指定して記憶領域PICODE及びPRL
FLGの情報を読出すことができ、さらにTPCTRを
用いれば記憶セルPTNを指定して1発音可能タイミン
グ分の発音制御情報(1又は0)を読出可能である。
For example, as shown for rhythm 1 in FIG.
If RCODE = 1 and TRN = 10, the storage track PICODE and PRL are specified by specifying the storage track 10 of rhythm 1.
The FLG information can be read, and if TPCTR is used, the memory cell PTN can be designated to read the tone generation control information (1 or 0) for one tone generation timing.

ところで、第3図(B)のトランケート値メモリにあっ
ては、パッド操作子PDSで指定可能な32種類のリズム
音(楽器1〜楽器32)にそれぞれ対応してトランケート
値が記憶される。各トランケート値は、対応するリズム
音種類の発音期間(特に減衰時間)を考慮して決定さ
れ、この例では発音期間が長いほど大きな値となってい
る。第3図(B)において、「楽器1」はバスドラム、
「楽器2」はスネアドラム、「楽器32」はコンガの例で
ある。この例では、トランケート値を、通常音とロール
音とで区別していないいが、別々に記憶させるようにし
てもよい。
By the way, in the truncate value memory of FIG. 3 (B), truncate values are stored respectively corresponding to 32 kinds of rhythm sounds (instrument 1 to instrument 32) which can be designated by the pad operator PDS. Each truncate value is determined in consideration of the sounding period (especially the decay time) of the corresponding rhythm sound type, and in this example, the longer the sounding period, the larger the value. In FIG. 3 (B), "Musical instrument 1" is a bass drum,
"Musical instrument 2" is an example of a snare drum, and "instrument 32" is an example of a conga. In this example, the truncate value is not distinguished between the normal sound and the roll sound, but may be stored separately.

第3図(C)のボリューム値メモリにあっては、上記し
たトランケート値メモリの場合と同様に楽器1〜楽器32
にそれぞれ対応してボリューム値VLMが記憶される。
この場合、各リズム音種類毎に通常音とロール音とで異
なるボリューム値が記憶され、ロール音のボリューム値
は通常音のそれに対して約半分の値とされる。これは、
例えば第4図に示したようにスネアドラムとスネアドラ
ムロールが同時に発音されるような場合に同一音量で発
音させると、スネアドラム音がスネアドラムロール音で
マスクされてひきたたなくなり、音楽的に好ましくない
からである。
In the volume value memory of FIG. 3 (C), musical instruments 1 to 32 are used in the same manner as the above-mentioned truncated value memory.
The volume value VLM is stored in correspondence with each.
In this case, different volume values are stored for the normal sound and the roll sound for each rhythm sound type, and the volume value of the roll sound is about half the value of the normal sound. this is,
For example, as shown in FIG. 4, when the snare drum and the snare drum roll are sounded at the same time, if they are sounded at the same volume, the snare drum sound is masked by the snare drum roll sound, and the snare drum sound is not fluttered. This is because it is not preferable.

RAM20の記憶内容(第5図) 第5図は、RAM20の記憶内容を示すもので、このRA
M20には、(A)に示すようにリズムパターンプログラ
ムメモリとして使用される記憶部と、(B)に示すよう
にチャンネル割当用メモリとして使用される記憶部と、
(C)に示すようにワーキングメモリとして使用される
記憶部と、その他パネル操作子、発音割当等に関する記
憶部(図示せず)とが含まれている。
Contents stored in RAM 20 (FIG. 5) FIG. 5 shows contents stored in RAM 20.
M20 includes a storage unit used as a rhythm pattern program memory as shown in (A) and a storage unit used as a channel allocation memory as shown in (B).
As shown in (C), a storage unit used as a working memory, and a storage unit (not shown) for other panel operators, sound allocation, etc. are included.

(A)のリズムパターンプログラムメモリにあっては、
リズムコードMに対応するリズムパターンを記憶するた
めの記憶ブロックRPMEM(M)と、この記憶ブロッ
クで使用された記憶トラックの数を記憶するためのトラ
ック数記憶領域PTNNUM(M)とが設けられてい
る。
In the rhythm pattern program memory of (A),
A storage block RPMMEM (M) for storing a rhythm pattern corresponding to the rhythm code M and a track number storage area PTNNUM (M) for storing the number of storage tracks used in this storage block are provided. There is.

記憶ブロックRPMEM(M)には、16個の記憶トラッ
クが設けられており、各記憶トラック毎に楽器コード記
憶領域PICODEと、ロール指定情報記憶領域PRL
FLGと、タイミング情報記憶領域とが設けられてい
る。これらの記憶領域におけるデータフォーマットは、
先に第3図(A)のリズムパターンメモリに関して述べ
たのと同様である。
The memory block RPMMEM (M) is provided with 16 memory tracks, and an instrument chord memory area PICODE and a roll designation information memory area PRL are provided for each memory track.
An FLG and a timing information storage area are provided. The data format in these storage areas is
This is the same as described above regarding the rhythm pattern memory of FIG.

プログラムモード時にあっては、32個のパッド操作子P
DSのうち任意のものを操作すると、まずトラック1の
記憶領域PICODEに、操作されたパッド操作子に対
応するリズム音種類を表わす楽器コードが書込まれる。
このとき、ロール指定操作子RLSを同時に操作したの
であればトラック1の記憶領域PRLFLGには1が書
込まれ、操作子RLSを操作しなかったのであればPR
LFLGには0が書込まれる。また、トラック1のタイ
ミング情報記憶領域には、このときのTPCTRの値に
対応する記憶セルPTNに1が書込まれる。
32 pad controls P in program mode
When any one of DS is operated, first, a musical instrument code indicating a rhythm sound type corresponding to the operated pad operator is written in the storage area PICODE of the track 1.
At this time, 1 is written in the storage area PRLFLG of the track 1 if the roll designating operators RLS are operated at the same time, and PR is given if the operator RLS is not operated.
0 is written in LFLG. In the timing information storage area of track 1, 1 is written in the storage cell PTN corresponding to the value of TPCTR at this time.

次に、別のパッド操作子を操作すると、トラック1につ
いて上記したと同様にしてトラック2の記憶領域PIC
ODE、PRLFLG及びタイミング情報記憶領域にそ
れぞれ楽器コード、ロール指定情報及びタイミング情報
が書込まれる。
Next, when another pad operator is operated, the storage area PIC of track 2 is processed in the same manner as described above for track 1.
Musical instrument chords, roll designation information, and timing information are written in the ODE, PRLFLG, and timing information storage areas, respectively.

次に、最初に操作したのと同じパッド操作子を操作する
と、トラック1について上記したと同様にしてトラック
1の記憶領域PICODE、PRLFLG及びタイミン
グ情報記憶領域にそれぞれ楽器コード、ロール指定情報
及びタイミング情報が書込まれる。
Next, when the same pad operator that was operated first is operated, the instrument chords, roll designation information and timing information are respectively stored in the storage areas PICODE, PRLFLG and the timing information storage area of the track 1 in the same manner as described above for the track 1. Is written.

このようにして、割当て済みのものとは別の新たなパッ
ド操作子が操作されるたびに新たなトラックを割当てる
ようにしてパターン書込みが行なわれ、例えば8種類の
リズム音でリズムパターンが完成したのであれば、トラ
ック1〜8にリズムパターンが記憶されると共に、記憶
領域PTNNUM(M)の値は最終的に8となる。
In this way, pattern writing is performed so that a new track is assigned each time a new pad operator other than the assigned one is operated, and a rhythm pattern is completed with, for example, eight types of rhythm sounds. In this case, the rhythm patterns are stored in the tracks 1 to 8, and the value of the storage area PTNNUM (M) finally becomes 8.

プログラムモード時及びプレイモード時にあっては、例
えばトラック8について示すように、RCODE及びT
RNを用いて記憶領域PICODE及びPRLFLGを
指定で、さらにTPCTRを用いることで記憶セルPT
Nを指定できる。
In the program mode and the play mode, for example, as shown for track 8, RCODE and T
By specifying the storage areas PICODE and PRLFLG using RN, and by using TPCTR, the storage cell PT
N can be specified.

ところで、第5図(B)のチャンネル割当用メモリにあ
っては、チャンネルCH1〜CH8にそれぞれ対応して
8つの楽器コードレジスタICODE(1)〜ICOD
E(8)と、8つのトランケートカウンタTCTR
(1)〜TCTR(8)と、8つのロールフラグRLF
LG(1)〜RLFLG(8)と、8つのボリューム値
レジスタVLM(1)〜VLM(8)とが設けられてい
る。
By the way, in the channel allocation memory of FIG. 5B, eight instrument code registers ICODE (1) to ICOD corresponding to the channels CH1 to CH8, respectively.
E (8) and 8 truncation counters TCTR
(1) to TCTR (8) and eight roll flags RLF
LG (1) to RLFLG (8) and eight volume value registers VLM (1) to VLM (8) are provided.

各楽器コードレジスタは、対応するチャンネルに関して
楽器コードがストアされるものである。各トランケート
カウンタは、対応するチャンネルに関して第3図(B)
のトランケート値メモリから読出されたトランケート値
がストアされるもので、ストアされたトランケート値は
第17図のトランケートタイマ割込処理により1ずつ減算
(ダウンカウント)される。各ロールフラグは、対応す
るチャンネルに関してロール指定情報がストアされるも
のである。各ボリューム値レジスタは、対応するチャン
ネルに関して第3図(C)のボリューム値メモリから読
出されたボリューム値VLMがストアされるものであ
る。
Each instrument code register stores an instrument code for the corresponding channel. Each truncate counter has a corresponding channel in FIG. 3 (B).
The truncate value read from the truncate value memory is stored, and the stored truncate value is decremented (down-counted) by 1 by the truncate timer interrupt processing of FIG. Each roll flag stores roll designation information regarding the corresponding channel. Each volume value register stores the volume value VLM read from the volume value memory of FIG. 3C for the corresponding channel.

第5図(C)のワーキングメモリにあっては、次のよう
なレジスタ類が設けられている。
The working memory shown in FIG. 5C has the following registers.

(1)リズムコードレジスタRCODE…これは、操作さ
れたリズム選択操作子RSSに対応するリズムコード
(1〜N、Mのいずれか)がストアされるものである。
(1) Rhythm code register RCODE ... This stores the rhythm code (any one of 1 to N and M) corresponding to the operated rhythm selection operator RSS.

(2)パッドコードレジスタPDCODE…これは、操作
されたパッド操作子PDSに対応するリズム音種類を表
わす楽器コード(1〜32のいずれか)がストアされるも
のである。
(2) Pad code register PDCODE ... This stores the instrument code (any one of 1 to 32) representing the rhythm sound type corresponding to the operated pad operator PDS.

(3)テンポカウンタTPCTR…これは、テンポクロッ
ク信号TCLを2小節毎に反復的に計数するもので、2
小節内で0〜63のカウント値をとり、64になるタイミン
グで0にリセットされる。
(3) Tempo counter TPCTR ... This is for counting the tempo clock signal TCL repeatedly every two bars.
It takes a count value from 0 to 63 within a measure, and is reset to 0 when it reaches 64.

(4)プログラムモードフラグPRGFLG…これは、1
ならばプログラムモードを、0ならばプレイモードをそ
れぞれ表わすものである。
(4) Program mode flag PRGFLG ... This is 1
Indicates a program mode, and 0 indicates a play mode.

(5)スタートフラグSTART…これは、1ならばリズ
ム走行を、0ならばリズム停止をそれぞれ表わすもので
ある。
(5) Start flag START ... This indicates a rhythm running when 1 and a rhythm stop when 0.

(6)ロール指定情報レジスタRLSW…これは、ロール
指定操作子RLSが操作中であれば、1が、操作中でな
ければ0がそれぞれセットされるものである。
(6) Roll designation information register RLSW ... This is set to 1 when the roll designation operator RLS is in operation, and is set to 0 when it is not in operation.

(7)トラックナンバレジスタTRN…これは、トラック
ナンバ(1〜16のいずれか)がストアされるものであ
る。
(7) Track number register TRN ... This is for storing the track number (any one of 1 to 16).

(8)割当チャンネルナンバレジスタACH…これは、楽
器コードを割当てるべきチャンネルに対応するチャンネ
ルナンバがストアされるものである。
(8) Assigned channel number register ACH ... This stores the channel number corresponding to the channel to which the instrument code is to be assigned.

(9)チャンネルナンバレジスタCHN…これは、チャン
ネルナンバ(1〜8のいずれか)がストアされるもので
ある。
(9) Channel number register CHN ... This stores the channel number (any one of 1 to 8).

(10)テンポカウント値レジスタDTDCTR…これは、
前回のテンポクロック割込時におけるテンポカウント値
(TPCTRの値から1を差引いた値)がセットされる
ものである。
(10) Tempo count value register DTDCTR ...
The tempo count value (value obtained by subtracting 1 from the value of TPCTR) at the time of the previous tempo clock interrupt is set.

リズム演奏関係のパネル操作(第1図) ここで、第6図以降の各種処理を説明するに先立って、
リズム演奏関係のパネル操作の概要を述べる。
Rhythm performance related panel operation (FIG. 1) Here, prior to explaining various processes after FIG. 6,
The outline of panel operation related to rhythm performance is described.

リズムパターンをプログラムしたいときは、プログラム
モード指定操作子PMSを操作してプログラムモードを
選択する(表示素子PLD点灯)。そして、リズム選択
操作子RSSのうちリズムコードMに対応するものをオ
ン操作して、記憶ブロックRPMEM(M)への書込を
可能とする。さらに、所望によりテンポ調整操作子TM
Nによりテンポを設定する。この後、スタート/ストッ
プ操作子SPSによりスタートを指令すると、設定テン
ポに従って表示素子TLDが点灯するので、その表示テ
ンポに合わせてパッド操作子PDSのうちの1つを何回
か操作して特定のリズム音種類(例えばバスドラム)に
関するタイミング情報をリアルタイムで入力する。この
とき、入力操作のたびに入力に係るリズム音(マニアル
リズム音)が発生される。
To program a rhythm pattern, the program mode designating operator PMS is operated to select the program mode (display element PLD is lit). Then, one of the rhythm selection operators RSS corresponding to the rhythm code M is turned on to enable writing to the storage block RPMMEM (M). Furthermore, if desired, the tempo adjustment operator TM
Set the tempo by N. After that, when a start command is issued by the start / stop operator SPS, the display element TLD is turned on in accordance with the set tempo. Therefore, one of the pad operators PDS is operated several times in accordance with the display tempo to specify a specific value. The timing information regarding the rhythm sound type (for example, bass drum) is input in real time. At this time, a rhythm sound (manual rhythm sound) related to the input is generated each time the input operation is performed.

このような入力が一通り終ったら、他のリズム音種類
(例えばスネアドラム)について同様にして入力操作を
行なう。このとき、先に入力されているタイミング情報
に基づいてオートリズム音が発生されると共に入力中の
マニアルリズム音も発生される。以下同様にして必要数
のリズム音種類について入力操作を行なうことによりリ
ズムコードMに対応するリズムパターンを完成させるこ
とができ、入力を完了したら、スタート/ストップ操作
子SPSによりストップを指令する。
When such input is completed, input operation is similarly performed for other rhythm sound types (for example, snare drum). At this time, the auto rhythm sound is generated based on the timing information that has been previously input, and the manual rhythm sound being input is also generated. In the same manner, the rhythm pattern corresponding to the rhythm code M can be completed by performing the input operation for the required number of rhythm sound types, and when the input is completed, the stop command is issued by the start / stop operator SPS.

一方、所望のリズムパターンに基づいて自動リズム演奏
を行なわせたいときは、プログラムモード指定操作子P
MSによりプレイモードを選択する(表示素子PLD消
灯)。そして、リズム選択操作子RSSのうち所望のリ
ズムに対応するもの(リズムコード1〜N、Mのいずれ
か)をオン操作する。さらに、所望によりテンポ調整操
作子TMNによりテンポを設定した後、スタート/スト
ップ操作子SPSによりスタートを指令する。すると、
設定テンポに従って表示素子TLDが点灯すると共に、
選択されたリズムパターンに従ってオートリズム音が発
生される。
On the other hand, when it is desired to perform an automatic rhythm performance based on a desired rhythm pattern, the program mode designating operator P
The play mode is selected by the MS (display element PLD off). Then, one of the rhythm selection operators RSS corresponding to a desired rhythm (any of rhythm codes 1 to N and M) is turned on. Furthermore, after setting the tempo with the tempo adjusting operator TMN as desired, the start / stop operator SPS issues a start command. Then,
The display element TLD lights up according to the set tempo,
An autorhythm sound is generated according to the selected rhythm pattern.

このようなオートリズム音の発生中には、それを伴奏と
して鍵盤12でマニアル演奏を行なえる一方、所望により
パッド操作子PDSを操作することでマニアルリズム音
を発生させることもできる。
While such an autorhythm sound is being generated, a manual performance can be performed on the keyboard 12 as an accompaniment, while a manual rhythm sound can be generated by operating the pad operator PDS as desired.

メインルーチン(第6図) 第6図は、メインルーチンの処理の流れを示すもので、
このルーチンは電源投入等に応じてスタートする。
Main Routine (FIG. 6) FIG. 6 shows the flow of processing of the main routine.
This routine starts when the power is turned on.

まず、ステップ70では、各種レジスタを初期セットす
る。例えば、START、PRGFLG、TPCTR等
には0をセットする。
First, in step 70, various registers are initially set. For example, 0 is set in START, PRGFLG, TPCTR and the like.

次に、ステップ72では、押鍵検出・発音割当処理を行な
う。これは、鍵盤12から押鍵情報を検出して鍵盤用TG
28の適宜のチャンネルに割当てることにより押された鍵
に対応する楽音信号KTSを発生させるもので、これに
より押鍵操作に応じたマニアル演奏音発生が可能とな
る。ステップ72の後は、ステップ74に移る。
Next, at step 72, key depression detection / sound generation assignment processing is performed. This is the TG for the keyboard by detecting the key depression information from the keyboard 12.
The tone signal KTS corresponding to the depressed key is generated by assigning to 28 appropriate channels, which enables the generation of a manual performance tone in response to a key depression operation. After step 72, the process moves to step 74.

ステップ74では、第7図について後述するようにリズム
選択のサブルーチンを実行する。そして、ステップ76に
移り、第8図について後述するようにモード選択のサブ
ルーチンを実行する。この後、ステップ78に移り、第9
図について後述するようにスタート/ストップのサブル
ーチンを実行する。ステップ78の後は、ステップ80に移
る。
In step 74, a rhythm selection subroutine is executed as described later with reference to FIG. Then, the routine proceeds to step 76, where a mode selection subroutine is executed as described later with reference to FIG. After this, move to step 78, the ninth
A start / stop subroutine is executed as described later with reference to the drawing. After step 78, the process proceeds to step 80.

ステップ80では、テンポ制御処理を行なう。すなわち、
テンポ調整操作子TMNによる設定テンポに対応したテ
ンポデータTDをテンポタイマ22に送出することにより
テンポデータTDに応じてテンポクロック信号TCLの
周波数を設定する。そして、ステップ82に移る。
In step 80, tempo control processing is performed. That is,
The frequency of the tempo clock signal TCL is set according to the tempo data TD by sending the tempo data TD corresponding to the tempo set by the tempo adjustment operator TMN to the tempo timer 22. Then, the process proceeds to step 82.

ステップ82では、第10図について後述するようにパッド
操作のサブルーチンを実行する。そして、ステップ84に
移る。
In step 82, a pad operation subroutine is executed as described later with reference to FIG. Then, the process proceeds to step 84.

ステップ84では、その他のパネル操作子(例えば音色、
効果等に関するもの)の処理を行なう。この後は、ステ
ップ72に戻り、上記のような処理を繰返す。
In step 84, other panel controls (for example, timbre,
Processing related to effects etc.). After that, the process returns to step 72 and the above-mentioned processing is repeated.

リズム選択のサブルーチン(第7図) 第7図は、リズム選択のサブルーチンを示すものであ
る。
Rhythm Selection Subroutine (FIG. 7) FIG. 7 shows a rhythm selection subroutine.

リズム選択操作子RSSのいずれかにオンイベントが生
ずると、ステップ90において、操作されたリズム選択操
作子に対応するリズムコードをRCODEにセットす
る。そして、ステップ92に移る。
When an on event occurs in any of the rhythm selection operators RSS, in step 90, the rhythm code corresponding to the operated rhythm selection operator is set in RCODE. Then, the process proceeds to step 92.

ステップ92では、操作されたリズム選択操作子に対応す
る表示素子LDを点灯させ、他の表示素子LDを消灯さ
せる。この後は、第6図のルーチンにリターンする。な
お、第7図以降に示される「RET」はリターンを意味
する。
In step 92, the display element LD corresponding to the operated rhythm selection operator is turned on and the other display elements LD are turned off. After that, the process returns to the routine of FIG. Note that “RET” shown in FIG. 7 and subsequent figures means return.

モード選択のサブルーチン(第8図) 第8図は、モード選択のサブルーチンを示すものであ
る。
Mode Selection Subroutine (FIG. 8) FIG. 8 shows a mode selection subroutine.

プログラムモード指定操作子PMSにオンイベントが生
ずると、ステップ100において、PRGFLGの内容を
反転させる。すなわち、PRGFLGの値が0であった
ときは1にし、1であったときは0にする。そして、ス
テップ102に移る。
When an on event occurs in the program mode designating operator PMS, in step 100, the contents of PRGFLG are inverted. That is, when the value of PRGFLG is 0, it is 1, and when it is 1, it is 0. Then, the process proceeds to step 102.

ステップ102では、PRGFLGの値が1か(プログラ
ムモードか)判定する。そして、この判定結果が肯定的
(Y)であればステップ104に移る。
In step 102, it is determined whether the value of PRGFLG is 1 (program mode). If the determination result is affirmative (Y), the process proceeds to step 104.

ステップ104では、記憶ブロックRPMEM(M)の内
容をすべてクリアすると共に、記憶領域PTNNUM
(M)もクリアする。そして、ステップ106に移り、第
5図(B)のチャンネル割当用メモリの内容をすべてク
リアする。この後、ステップ108では、RCODEにリ
ズムコードMをセットする。これらの処理は、新たなリ
ズムパターンの書込みを可能にするためのものである。
ステップ108の後は、ステップ110に移る。
In step 104, the contents of the storage block RPMMEM (M) are all cleared and the storage area PTNNUM is set.
Also clear (M). Then, the process proceeds to step 106 to clear all the contents of the channel allocation memory of FIG. 5 (B). Thereafter, in step 108, the rhythm code M is set in RCODE. These processes are for enabling writing of a new rhythm pattern.
After step 108, the process moves to step 110.

ステップ110では、表示素子PLDを点灯し、プログラ
ムモードであることを表示させる。この後は、第6図の
ルーチンにリターンする。
In step 110, the display element PLD is turned on to display that it is in the program mode. After that, the process returns to the routine of FIG.

ステップ102の判定結果が否定的(N)であったとき
は、プレイモードであり、ステップ112で表示素子PL
Dを消灯してから第6図のルーチンにリターンする。
If the determination result of step 102 is negative (N), the play mode is set, and the display element PL is determined in step 112.
After turning off D, the routine returns to the routine shown in FIG.

スタート/ストップのサブルーチン(第9図) 第9図は、スタート/ストップのサブルーチンを示すも
のである。
Start / Stop Subroutine (FIG. 9) FIG. 9 shows a start / stop subroutine.

スタート/ストップ操作子SPSにオンイベントが生ず
ると、ステップ120において、STARTの内容を反転
させる。すなわち、STARTの値が0であったときは
1にし、0であったときは1にする。そして、ステップ
122に移る。
When an on-event occurs in the start / stop operator SPS, the contents of START are inverted in step 120. That is, when the value of START is 0, it is set to 1, and when it is 0, it is set to 1. And step
Move on to 122.

ステップ122では、STARTの値が1か(スタート
か)判定する。そして、この判定結果が肯定的(Y)で
あればステップ124に移り、TPCTRに0をセットす
る。これは、リズムスタート時にリズムパターンを第1
小節の頭から読出すのを可能にするためである。
In step 122, it is determined whether the value of START is 1 (start). If the result of this determination is affirmative (Y), the routine proceeds to step 124, where TPCTR is set to 0. This is the first rhythm pattern when the rhythm starts.
This is because it is possible to read from the head of the bar.

ステップ124の処理が終ったとき又はステップ122の判定
結果が否定的(N)であったとき(ストップであったと
き)は、第6図のルーチンにリターンする。
When the processing of step 124 is completed or when the determination result of step 122 is negative (N) (when it is stop), the routine returns to the routine of FIG.

パッド操作子のサブルーチン(第10図) 第10図は、パッド操作子のサブルーチンを示すものであ
る。
Pad Operator Subroutine (FIG. 10) FIG. 10 shows a pad operator subroutine.

パッド操作子PDSのいずれかにオンイベントが生ずる
と、ステップ130において、PRGFLGの値が1か
(プログラムモードか)判定する。この判定結果が否定
的(N)であれば、プレイモードであり、第6図のルー
チンにリターンする。また、ステップ130の判定結果が
肯定的(Y)であれば、プログラムモードであり、ステ
ップ132に移る。
When an on event occurs in any of the pad operators PDS, it is determined in step 130 whether the value of PRGFLG is 1 (program mode). If the result of this determination is negative (N), it is the play mode and the routine returns to the routine of FIG. If the determination result of step 130 is affirmative (Y), it means the program mode, and the routine proceeds to step 132.

ステップ132では、操作されたパッド操作子に対応する
リズム音種類を表わす楽器コードをPDCODEにセッ
トする。そして、ステップ134に移る。
In step 132, a musical instrument chord representing the rhythm sound type corresponding to the operated pad operator is set in PDCODE. Then, the process proceeds to step 134.

ステップ134では、ロール指定操作子RLSがオン中か
判定し、この判定結果が肯定的(Y)であればステップ
136でRLSWに1をセットし、否定的(N)であれば
ステップ138でRLSWに0をセットする。ステップ136
又はステップ138の後は、ステップ140に移る。
In step 134, it is determined whether the role designation operator RLS is on, and if the determination result is affirmative (Y), step
At 136, RLSW is set to 1, and if negative (N), at step 138 RLSW is set to 0. Step 136
Alternatively, after step 138, the process proceeds to step 140.

ステップ140では、TRNに0をセットする。そして、
ステップ142に移り、TRNの値を1アップする。ステ
ップ142の後は、ステップ144に移る。
At step 140, TRN is set to 0. And
Moving to step 142, the value of TRN is incremented by 1. After step 142, the process moves to step 144.

ステップ144では、RCODEのリズムコードM及びT
RNのトラックナンバによって指定される記憶領域PI
CODE(M、TRN)の楽器コードとPDCODEの
楽器コードとが等しく且つリズムコードM及びTRNの
トラックナンバによって指定される記憶領域PRLFL
G(M、TRN)のロール指定情報とRLSWのロール
指定情報とが等しいか(今回の操作で指定されたリズム
音種類がM及びTRN対応のトラックに割当て済みか)
判定する。例えば、プログラムモードを指定した後最初
に所望のパッド操作子を操作したときは、PICODE
(M、1)の値は0であるので、ステップ144の判定結
果は否定的(N)となり、ステップ146に移る。
In step 144, RCODE rhythm codes M and T
Storage area PI specified by the track number of RN
Storage area PRLFL in which the CODE (M, TRN) musical instrument chord and the PDCODE musical instrument chord are equal and designated by the track numbers of the rhythm chords M and TRN
Whether the roll designation information of G (M, TRN) and the roll designation information of RLSW are equal (whether the rhythm sound type designated by this operation has already been assigned to the tracks corresponding to M and TRN)
judge. For example, when the desired pad operator is first operated after designating the program mode, PICODE
Since the value of (M, 1) is 0, the determination result of step 144 is negative (N), and the process proceeds to step 146.

ステップ146では、TRNの値がリズムコードMによっ
て指定される記憶領域PTNNUM(M)の値(現在ま
での使用トラック数)より大か判定する。最初のパッド
操作時にあっては、PTNNUM(M)の値が第8図の
ステップ104で0にされており且つTRN=1であるの
で、ステップ146の判定結果が肯定的(Y)となり、ス
テップ148に移る。
In step 146, it is determined whether the value of TRN is larger than the value of the storage area PTNNUM (M) designated by the rhythm code M (the number of used tracks up to the present). At the time of the first pad operation, since the value of PTNNUM (M) is set to 0 in step 104 of FIG. 8 and TRN = 1, the determination result of step 146 becomes affirmative (Y), Move to 148.

ステップ148では、TRNの値が使用可能な最大トラッ
ク数16より大か判定する。この判定結果が肯定的(Y)
であれば書込不能であるので、第6図のルーチンにリタ
ーンする。
In step 148, it is determined whether the value of TRN is larger than the maximum number 16 of usable tracks. This judgment result is positive (Y)
If so, the writing is not possible, and the routine returns to the routine of FIG.

ステップ148の判定結果が否定的(N)であったとき
は、書込可能であるので、ステップ150に移る。
If the determination result of step 148 is negative (N), it means that the data is writable, and the process proceeds to step 150.

このステップ150では、PDCODEの楽器コードをP
ICODE(M、TRN)に、RLSWのロール指定情
報をPRLFLG(M、TRN)に、TRNのチャンネ
ルナンバをPTNNUM(M)にそれぞれ書込む。そし
て、ステップ152に移る。
In this step 150, the PDCODE instrument chord is set to P
The role designation information of RLSW is written in PRLFLG (M, TRN) in ICODE (M, TRN), and the channel number of TRN is written in PTNNUM (M). Then, the process proceeds to step 152.

ステップ152では、リズムコードM、TRNのチャンネ
ルナンバ及びTPCTRのカウント値によって指定され
る記憶セルPTN(M、TRN、TPCTR)に1を書
込む。なお、TPCTRは、第13図について後述するよ
うにプレイモード中のみならずプログラムモード中も計
数動作を行なうようになっている。
At step 152, 1 is written in the memory cell PTN (M, TRN, TPCTR) specified by the channel number of the rhythm code M, TRN and the count value of TPCTR. The TPCTR is designed to perform counting operation not only during the play mode but also during the program mode as described later with reference to FIG.

ところで、前述例のように最初のパッド操作子を操作し
た後、2回目のパッド操作を行なったものとすると、こ
のとき操作されたパッド操作子が最初のものと同じであ
ればステップ144の判定結果が肯定的(Y)となり、ス
テップ152に移る。そして、ステップ152では、前回と同
じTRN=1のトラックに前回と同様にしてタイミング
情報が書込まれる。
By the way, if the second pad operation is performed after operating the first pad operator as in the above example, if the operated pad operator is the same as the first one, the determination in step 144 is made. The result is positive (Y), and the process moves to step 152. Then, in step 152, timing information is written in the same TRN = 1 track as in the previous time in the same manner as in the previous time.

この場合、最初のものと異なるパッド操作子が操作され
るか又は最初のものと同じパッド操作子及びロール指定
操作子が同時に操作されたものとすると、ステップ144
の判定結果が否定的(N)となり、ステップ146に移
る。
In this case, assuming that a pad operator different from the first one is operated, or the same pad operator and roll designation operator as the first one are operated at the same time, step 144
Is negative (N), the process proceeds to step 146.

ステップ146では、TRN=1、PTNNUM(M)=
1であるので、判定結果が否定的(N)となり、ステッ
プ142に戻る。そして、ステップ142でTRNを2にして
からステップ144に移る。
In step 146, TRN = 1, PTNNUM (M) =
Since it is 1, the determination result is negative (N), and the process returns to step 142. Then, in step 142, TRN is set to 2 and then the process proceeds to step 144.

ステップ144では、トラック2の記憶領域PICODE
(M、2)及びPRLFLG(M、2)の情報がいずれ
も0(未割当)であるので、判定結果が否定的(N)と
なり、ステップ146に移る。
In step 144, the storage area PICODE of the track 2
Since the information of (M, 2) and PRLFLG (M, 2) are both 0 (unallocated), the determination result is negative (N), and the process proceeds to step 146.

ステップ146では、TRN=2、PTNNUM(M)=
1であるので、判定結果が肯定的(Y)となり、ステッ
プ148を介してステップ150に移る。
In step 146, TRN = 2, PTNNUM (M) =
Since it is 1, the determination result is affirmative (Y), and the routine moves to Step 150 via Step 148.

ステップ150では、前回と異なるTRN=2のトラック
に前回と同様にして楽器コード及びロール指定情報が書
込まれると共にPTNNUM(M)に2が書込まれる。
この後、ステップ152では、TRN=2のトラックに前
回と同様にしてタイミング情報が書込まれる。
In step 150, a musical instrument chord and roll designation information are written in a track TRN = 2 different from the previous time in the same manner as the previous time, and 2 is written in PTNNUM (M).
After that, in step 152, timing information is written in the TRN = 2 track in the same manner as the previous time.

さらに別の例として、何回かのパッド操作によりPTN
NUM(M)が5である場合に新たなパッド操作に応じ
て第10図のルーチンに入り、ステップ146にきたとき
は、TRN=1、PTNNUM(M)=5であるので、
ステップ146の判定結果が否定的(N)となり、ステッ
プ142に戻る。そして、ステップ142以下の処理を上記し
たと同様に行なう。
As another example, the PTN can be operated by several pad operations.
When NUM (M) is 5, the routine of FIG. 10 is entered in response to a new pad operation, and when step 146 is reached, TRN = 1 and PTNNUM (M) = 5.
The determination result of step 146 becomes negative (N), and the process returns to step 142. Then, the processes after step 142 are performed in the same manner as described above.

このようにして、TRN=5まで調べても割当て済みの
トラックがなければ、ステップ142でTRNが6になっ
た後ステップ144の判定結果が否定的(N)となる。こ
れは、トラック6に何の楽器コードも割当てられていな
い(PICODE(M、6)=0である)からである。
In this way, if there is no assigned track even after checking up to TRN = 5, the judgment result of step 144 becomes negative (N) after TRN becomes 6 in step 142. This is because no musical instrument chord is assigned to track 6 (PICODE (M, 6) = 0).

この後、ステップ146では、TRN=6、PTNNUM
(M)=5であるので、判定結果が肯定的(Y)とな
り、ステップ148を介してステップ150に移る。そして、
ステップ150及びステップ152では、TRN=6に関する
書込処理が上記したと同様に行なわれる。
Thereafter, in step 146, TRN = 6, PTNNUM
Since (M) = 5, the determination result is affirmative (Y), and the process proceeds to step 150 via step 148. And
In steps 150 and 152, the writing process for TRN = 6 is performed in the same manner as described above.

また、上記のようにTRN=2,3,4,5の順に順次
に調べていく過程で、今回のパッド操作に係るリズム音
種類がいずれかのトラックに割当て済みであることが判
明すれば、その時点でステップ144からステップ152に移
り、このときのTRNのトラックナンバに関してタイミ
ング情報の書込処理が行なわれる。例えば、TRN=4
のトラックが割当て済みのトラックと判明すれば、その
時点でステップ144からステップ152に移り、TRN=4
に関してタイミング情報の書込処理が行なわれる。この
場合、さらにTRN=5のトラックについては調べな
い。
Further, in the process of sequentially examining TRN = 2, 3, 4, 5 as described above, if it is found that the rhythm sound type related to the pad operation this time has been assigned to any track, At that time, the routine proceeds from step 144 to step 152, and the timing information writing process is performed for the track number of TRN at this time. For example, TRN = 4
If it is determined that the track No. is already allocated, the process moves from Step 144 to Step 152 at that time, and TRN = 4.
The timing information writing process is performed. In this case, the track with TRN = 5 is not checked.

上記したステップ132〜152の処理によれば、リズム音種
類が指定されるたびに、該リズム音種類がいずれかのト
ラックに割当て済みか判定され、割当て済みのトラック
があればそのトラックに該リズム音種類に関連したタイ
ミング情報が書込まれる一方、割当て済みのトラックが
なければ未割当のトラックの1つに該リズム音種類が割
当てられると共に該リズム音種類に関連したタイミング
情報が書込まれる。そして、このような処理が繰返され
ることにより、第5図(A)のリズムパターンプログラ
ムメモリへの所望のリズムパターンの書込みが可能とな
る。
According to the processing of steps 132 to 152 described above, each time the rhythm sound type is designated, it is determined whether the rhythm sound type is assigned to any track, and if there is an assigned track, the rhythm sound is assigned to that track. While the timing information related to the tone type is written, if there is no assigned track, the rhythm tone type is assigned to one of the unassigned tracks and the timing information associated with the rhythm tone type is written. Then, by repeating such processing, it becomes possible to write a desired rhythm pattern to the rhythm pattern program memory of FIG. 5 (A).

ステップ152の後は、ステップ154に移り、第11図につい
て後述するように割当チャンネル(CH)検出のサブル
ーチンを実行する。このサブルーチンでは、楽器コード
を割当てるべきチャンネルが検出され、そのチャンネル
に対応するチャンネルナンバがACHにセットされる。
そして、ステップ156に移る。
After step 152, the routine proceeds to step 154, where a sub-channel (CH) detection subroutine is executed as described later with reference to FIG. In this subroutine, the channel to which the musical instrument chord should be assigned is detected, and the channel number corresponding to that channel is set to ACH.
Then, the process proceeds to step 156.

ステップ156では、ACHのチャンネルナンバに対応す
るレジスタICODE(ACH)にPICODE(M、
TRN)の楽器コードをセットすると共に、ACHのチ
ャンネルナンバに対応するフラグRLFLG(ACH)
にPRLFLG(M、TRN)のロール指定情報をセッ
トする。この結果、ステップ154で検出したチャンネル
には、指定されたリズム音種類が割当てられたことにな
る。RLFLG(ACH)に1がセットされたときは、
第16図のロールタイマ割込処理により自動的にロール音
発生が行なわれる。ステップ156の後は、ステップ158に
移る。
At step 156, PICODE (M, ...) is added to the register ICODE (ACH) corresponding to the channel number of ACH.
(TRN) instrument chord and set the flag RLFLG (ACH) corresponding to the channel number of ACH.
The role designation information of PRLFLG (M, TRN) is set to. As a result, the specified rhythm sound type is assigned to the channel detected in step 154. When RLFLG (ACH) is set to 1,
A roll sound is automatically generated by the roll timer interrupt process of FIG. After step 156, the process moves to step 158.

ステップ158では、第3図(B)のトランケート値メモ
リからICODE(ACH)の楽器コードに対応するト
ランケート値を読出し、ACHのチャンネルナンバに対
応するカウンタTCTR(ACH)にセットする。この
TCTR(ACH)のトランケート値は、第17図のトラ
ンケートタイマ割込処理により以後1ずつ減算される。
In step 158, the truncate value corresponding to the instrument code of ICODE (ACH) is read from the truncate value memory of FIG. 3B and set in the counter TCTR (ACH) corresponding to the channel number of ACH. The truncate value of TCTR (ACH) is subsequently decremented by 1 by the truncate timer interrupt process of FIG.

次に、ステップ160では、第3図(C)のボリューム値
メモリからICODE(ACH)の楽器コードとRLF
LG(ACH)のロール指定情報とに対応するボリュー
ム値VLMを読出し、ACHのチャンネルナンバに対応
するレジスタVLM(ACH)にセットする。
Next, in step 160, the ICODE (ACH) musical instrument chord and the RLF are read from the volume value memory of FIG. 3 (C).
The volume value VLM corresponding to the roll designation information of LG (ACH) is read and set in the register VLM (ACH) corresponding to the channel number of ACH.

この後、ステップ162では、リズム用TG30のレジスタ4
0,42,44,46に対して、ACHのチャンネルナンバ、IC
ODE(ACH)の楽器コード、VLM(ACH)のボ
リューム値、キーオン情報KONをそれぞれ送出する。
このため、リズム用TG30にあっては、ACHのチャン
ネルナンバに対応するチャンネルからICODE(AC
H)の楽器コードの示すリズム音種類に対応したリズム
音信号がVLM(ACH)のボリューム値に対応したア
タックレベルで発生される。ステップ162の後は、第6
図のルーチンにリターンする。
After that, in step 162, the register 4 of the rhythm TG 30 is used.
0,42,44,46, ACH channel number, IC
The instrument code of ODE (ACH), the volume value of VLM (ACH), and the key-on information KON are transmitted.
For this reason, in the rhythm TG30, the ICODE (AC
The rhythm sound signal corresponding to the rhythm sound type indicated by the instrument code H) is generated at the attack level corresponding to the volume value of VLM (ACH). Sixth after step 162
Return to the routine shown.

上記したステップ154〜162の処理によれば、リズム音種
類が指定されるたびに該リズム音種類を適宜のチャンネ
ルに割当てることによって該リズム音種類に対応したリ
ズム音が発生され、プログラムモード時のマニアルリズ
ム演奏が可能となる。従って、演奏者は、自己の演奏す
るマニアルリズム音を聴きながら所望のリズムパターン
をプログラムすることができる。
According to the processing of steps 154 to 162 described above, a rhythm sound corresponding to the rhythm sound type is generated by assigning the rhythm sound type to an appropriate channel each time the rhythm sound type is designated. Manual rhythm performance is possible. Therefore, the performer can program a desired rhythm pattern while listening to the manual rhythm sound played by the performer.

割当チャンネル検出のサブルーチン(第11図) 第11図は、割当チャンネル検出のサブルーチンを示すも
のである。
Assigned channel detection subroutine (FIG. 11) FIG. 11 shows an assigned channel detection subroutine.

ステップ17では、割当要求に係るリズム音種類がチャン
ネル1(CH1)〜チャンネル8(CH8)のいずれか
に割当で済みか判定する。すなわち、RCODEのリズ
ムコード及びTRNのトラックナンバによって指定され
る記憶領域PICODE(RCODE、TRN)の楽器
コードとチャンネルナンバX(1〜8のいずれか)に対
応するレジスタICODE(X)の楽器コードとが一致
し且つRCODEのリズムコード及びTRNのトラック
ナンバにより指定される記憶領域PRLFLG(RCO
DE、TRN)のロール指定情報とチャンネルナンバX
に対応するフラグRLFLG(X)のロール指定情報と
が一致するようなチャンネルXがあるか判定する。そし
て、この判定の結果が否定的(N)であれば、ステップ
172に移り、肯定的(Y)であればステップ174に移る。
In step 17, it is determined whether the rhythm sound type related to the allocation request has been allocated to any of channel 1 (CH1) to channel 8 (CH8). That is, the instrument code of the storage area PICODE (RCODE, TRN) specified by the rhythm code of RCODE and the track number of TRN, and the instrument code of the register ICODE (X) corresponding to the channel number X (one of 1 to 8). Coincides with each other and is designated by the rhythm code of RCODE and the track number of TRN, the storage area PRLFLG (RCO
DE, TRN) role designation information and channel number X
It is determined whether or not there is a channel X that matches the roll designation information of the flag RLFLG (X) corresponding to. If the result of this determination is negative (N), the step
If it is affirmative (Y), the process proceeds to step 174.

ステップ172では、TCTR(1)〜TCTR(8)の
うち値が0のもの(発音が終了したもの)があればその
値0のものに対応するチャンネルナンバ(CHナンバ)
をACHに入れる。また、値0のものがなければTCT
R(1)〜TCTR(8)のうち値が最小のもの(減衰
が最も進んだもの)に対応するCHナンバをACHに入
れる。
In step 172, if there is a TCTR (1) to TCTR (8) with a value of 0 (the one whose sound generation has ended), the channel number (CH number) corresponding to that value 0.
Into the ACH. If there is no value 0, TCT
The CH number corresponding to the one with the smallest value (the one with the most advanced attenuation) among R (1) to TCTR (8) is put in the ACH.

ステップ174では、すでに割当てられているチャンネル
のCHナンバXをACHに入れる。ステップ172又は174
の後は、元のルーチン(第10図又は第13図)にリターン
する。
In step 174, the CH number X of the already assigned channel is put in the ACH. Step 172 or 174
After that, the process returns to the original routine (FIG. 10 or FIG. 13).

上記した第11図のルーチンによれば、8チャンネル全部
がふさがっている状態で割当て済みのものとは別の新た
なリズム音種類の割当要求があった場合、このリズム音
種類はTCTR(1)〜TCTR(8)のうちで値が最
小のものに対応するチャンネルに割当てられることにな
り、該リズム音種類は減衰が最も進んだリズム音種類に
代って発音されるようになる。
According to the routine of FIG. 11 described above, when a request for assigning a new rhythm tone type other than the one already assigned is made in a state where all 8 channels are occupied, this rhythm tone type is TCTR (1). Among the TCTR (8), the channel corresponding to the one having the smallest value is assigned, and the rhythm sound type is generated instead of the most attenuated rhythm sound type.

第11図のルーチンを第10図のルーチンにて使用する場合
は、RCODEのリズムコードがMであるため、ステッ
プ170では、PICODE(M、TRN)の楽器コード
及びPRLFLG(M、TRN)のロール指定情報に基
づいて判定が行なわれる。
When the routine of FIG. 11 is used in the routine of FIG. 10, since the rhythm code of RCODE is M, in step 170, the instrument chord of PICODE (M, TRN) and the roll of PRLFLG (M, TRN) are rolled. The determination is made based on the designated information.

プレイモード中のパッド発音処理(第12図) 第10図のルーチンでは、ステップ130でプレイモードと
判定されたとき何もしなかったが、プレイモード中にパ
ッド操作に基づくリズム音発生を可能としてもよく、そ
の一例を第12図に示す。
Pad sound generation processing during play mode (Fig. 12) In the routine shown in Fig. 10, nothing was done when it was determined to be the play mode in step 130, but it is possible to generate rhythm sounds based on pad operation during the play mode. Well, one example is shown in FIG.

第10図のステップ130でプレイモードと判定されたき
は、第12図のステップ180に移る。
If it is determined in step 130 in FIG. 10 that the mode is the play mode, the process proceeds to step 180 in FIG.

ステップ180では、パッド操作子PDSのうち操作され
たものに対応するリズム音種類を表わす楽器コードをP
DCODEにセットする。そして、ステップ182に移
る。
In step 180, the musical instrument chord representing the rhythm sound type corresponding to the operated pad operator PDS is set to P.
Set to DCODE. Then, the process proceeds to step 182.

ステップ182では、RLSWに0をセットする。このよ
うに、この例ではロール指定情報を強制的に0としてい
るので自動的なロール発音は行なわれないが、第10図に
関して前述したようにロール指定操作子RLSの操作を
検知して自動的なロール発音を行なわせるようにしても
よい。
At step 182, RLSW is set to 0. As described above, in this example, since the roll designation information is forcibly set to 0, no automatic roll sound is produced, but as described above with reference to FIG. 10, the operation of the roll designation operator RLS is detected and automatically performed. You may make it perform a roll sound.

次に、ステップ184では、指定されたリズム音種類がC
H1〜CH8のいずれかに割当て済みか判定する。この
判定では、PICODE(RCODE、TRN)及びP
RLFLG(RCODE、TRN)の代りにPDCOD
E及びRLSWを用いる点を除き第11図のステップ170
と同様にして行なう。
Next, at step 184, the designated rhythm sound type is C
It is determined whether it has been assigned to any of H1 to CH8. In this judgment, PICODE (RCODE, TRN) and P
PDCODE instead of RLFLG (RCODE, TRN)
Step 170 of FIG. 11 except that E and RLSW are used.
Do the same as.

ステップ184の判定結果が否定的(N)であったときは
ステップ186に移り、第11図のステップ172と同様にして
TCTR(1)〜(8)の中で値が0のもの又は0がな
ければ値が最小のものに対応するCHナンバをACHに
入れる。
If the determination result of step 184 is negative (N), the process proceeds to step 186, and in the same manner as step 172 of FIG. 11, one of TCTR (1) to (8) having a value of 0 or 0 is If not, the CH number corresponding to the smallest value is put in ACH.

ステップ184の判定結果が肯定的(Y)であったときは
ステップ188に移り、すでに割当てられているチャンネ
ルのCHナンバXをACHに入れる。
If the determination result in step 184 is affirmative (Y), the process moves to step 188, and the CH number X of the already assigned channel is put in the ACH.

ステップ186又は188の後は、ステップ190に移り、IC
ODE(ACH)及びRLFLG(ACH)にそれぞれ
PDCODEの楽器コード及びRLSWのロール指定情
報(0)を書込む。そして、ステップ192に移る。
After step 186 or 188, move to step 190
The instrument code of PDCODE and the roll designation information (0) of RLSW are written in ODE (ACH) and RLFLG (ACH), respectively. Then, the process proceeds to step 192.

ステップ192では、第10図のステップ158と同様にしてト
ランケート値メモリからICODE(ACE)に対応す
るトランケート値を読出してTCTR(ACH)に入れ
る。そして、ステップ194に移る。
In step 192, the truncate value corresponding to ICODE (ACE) is read from the truncate value memory and placed in TCTR (ACH) in the same manner as step 158 in FIG. Then, the process proceeds to step 194.

ステップ194では、第10図のステップ160と同様にしてボ
リューム値メモリからICODE(ACE)及びRLF
LG(ACE)に対応するボリューム値を読出してVL
M(ACH)に入れる。そして、ステップ196に移る。
In step 194, ICODE (ACE) and RLF are read from the volume value memory in the same manner as step 160 in FIG.
Read the volume value corresponding to LG (ACE) to VL
Put in M (ACH). Then, the process proceeds to step 196.

ステップ196では、第10図のステップ162と同様にしてA
CH、ICODE(ACH)及びVLM(ACH)の内
容と共にキーオン情報KONをリズム用TG30に送出す
ることによりACH対応のチャンネルからICODE
(ACH)対応のリズム音信号をVLM(ACH)対応
のアタックレベルで発生させる。この後は、第6図のル
ーチンにリターンする。
In step 196, as in step 162 of FIG. 10, A
By sending the key-on information KON together with the contents of CH, ICODE (ACH) and VLM (ACH) to the rhythm TG 30, the ACH compatible channel can be used for ICODE.
A rhythm sound signal corresponding to (ACH) is generated at an attack level corresponding to VLM (ACH). After that, the process returns to the routine of FIG.

テンポクロック割込処理(第13図) 第13図は、テンポクロック割込処理の流れを示すもの
で、この割込処理は、テンポクロック信号TCLの各ク
ロックパルス毎に開始される。
Tempo clock interrupt process (Fig. 13) Fig. 13 shows the flow of the tempo clock interrupt process. This interrupt process is started at each clock pulse of the tempo clock signal TCL.

ステップ200では、STARTの値が1か(リズム走行
か)判定する。この判定結果が否定的(N)であればリ
ズム停止であるので第6図のルーチンにリターンする。
In step 200, it is determined whether the START value is 1 (rhythm running). If the result of this determination is negative (N), it means that the rhythm has stopped, and the routine returns to the routine of FIG.

ステップ200の判定結果が肯定的(Y)であったときは
ステップ202に移り、TRNに1をセットする。このよ
うに、ステップ202以下の処理は、START=1であ
る限りプログラムモード及びプレイモードのいずれの場
合にも実行されるものである。ステップ202の後は、ス
テップ204に移る。
When the determination result of step 200 is affirmative (Y), the process proceeds to step 202 and TRN is set to 1. As described above, the processing from step 202 onward is executed in both the program mode and the play mode as long as START = 1. After step 202, the process moves to step 204.

ステップ204では、RCODEのリズムコード(選択さ
れたリズム)とTRNのトラックナンバとTPCTRの
カウント値とで指定される記憶セルPTN(RCOD
E、TRN、TPCTR)の情報が1か(発音すべきタ
イミングか)判定する。この判定結果が肯定的(Y)で
あればステップ206に移る。
In step 204, the memory cell PTN (RCOD) specified by the rhythm code of RCODE (selected rhythm), the track number of TRN, and the count value of TPCTR.
It is determined whether the information of E, TRN, TPCTR) is 1 (whether it is the timing of sound generation). If the determination result is affirmative (Y), the process proceeds to step 206.

ステップ206では、第11図について前述したように割当
チャンネル検出のサブルーチンを実行する。すなわち、
発音すべきリズム音種類を割当てるべきチャンネルを検
出し、そのチャンネルのCHナンバをACHに入れる。
そして、ステップ208に移る。
In step 206, the assigned channel detection subroutine is executed as described above with reference to FIG. That is,
The channel to which the rhythm tone type to be generated is assigned is detected, and the CH number of that channel is entered in ACH.
Then, the process proceeds to step 208.

ステップ208では、RCODEのリズムコード及びTR
Nのトラックナンバで指定される記憶領域PRLFLG
(RCODE、TRN)の情報が1か(ロール指定有り
か)判定し、この判定結果が肯定的(Y)であればステ
ップ210に移る。
In step 208, the RCODE rhythm code and TR
Storage area PRLFLG specified by N track number
It is judged whether the information of (RCODE, TRN) is 1 (whether there is a roll designation), and if this judgment result is affirmative (Y), the routine proceeds to step 210.

ステップ210では、TPCTRの値から1を差引いた値
(前回のテンポカウント値)をDTPCTRに入れる。
この場合、差引いた値が「−1」になったときは、DT
PCTRに「63」を入れる。ステップ210の後は、ステ
ップ212に移る。
At step 210, a value obtained by subtracting 1 from the value of TPCTR (previous tempo count value) is put into DTPCTR.
In this case, when the subtracted value becomes "-1", DT
Put "63" in PCTR. After step 210, the process moves to step 212.

ステップ212では、前回のテンポカウント値に対応する
記憶セルPTN(RCODE、TRN、DTPCTR)
の情報が1か(発音すべきタイミングであったか)判定
する。この判定結果が否定的(N)であれば、選択した
リズムのタイミングデータが第14図に示すように「0」
から「1」に変化したことになる。
In step 212, the memory cell PTN (RCODE, TRN, DTPCTR) corresponding to the previous tempo count value
Information of 1 is determined (whether it is the timing of sound generation). If the determination result is negative (N), the timing data of the selected rhythm is "0" as shown in FIG.
It has changed from "1" to "1".

ステップ212の処理が終ったとき又はステップ208の判定
結果が否定的(N)であったとき(ロール指定無しで通
常音であったとき)は、ステップ214に移る。このステ
ップ214では、ICODE(ACH)及びRLFLG
(ACH)にそれぞれPICODE(RCODE、TR
N)の楽器ナンバ及びPRLFLG(RCODE、TR
N)のロール指定情報をセットする。ステップ212を介
してステップ214にきたときは、RLFLG(ACH)
に1がセットされる。
When the process of step 212 is completed or when the determination result of step 208 is negative (N) (when it is a normal sound without the roll designation), the process proceeds to step 214. In this step 214, ICODE (ACH) and RLFLG
(ACH) to PICODE (RCODE, TR
N) instrument number and PRLFLG (RCODE, TR
N) Role designation information is set. When step 214 is reached through step 212, RLFLG (ACH)
Is set to 1.

次に、ステップ216では、第10図のステップ158と同様に
してトランケート値メモリからICODE(ACH)に
対応するトランケート値を読出してTCTR(ACH)
に入れる。そして、ステップ218に移る。
Next, at step 216, the truncate value corresponding to ICODE (ACH) is read from the truncate value memory in the same manner as at step 158 of FIG. 10 and TCTR (ACH).
Put in. Then, the process proceeds to step 218.

ステップ218では、第10図のステップ160と同様にしてボ
リューム値メモリからICODE(ACH)及びRLF
LG(ACH)に対応するボリューム値を読出してVL
M(ACH)に入れる。そして、ステップ220に移る。
In step 218, the ICODE (ACH) and RLF are read from the volume value memory in the same manner as step 160 in FIG.
Read the volume value corresponding to LG (ACH) to VL
Put in M (ACH). Then, the process proceeds to step 220.

ステップ220では、第10図のステップ162と同様にしてA
CH、ICODE(ACH)及びVLM(ACH)の内
容と共にキーオン情報KONをリズム用TG30に送出す
ることによりACH対応のチャンネルからICODE
(ACH)対応のリズム音信号をVLM(ACH)対応
のアタックレベルで発生させる。
In step 220, A is carried out in the same manner as step 162 in FIG.
By sending the key-on information KON together with the contents of CH, ICODE (ACH) and VLM (ACH) to the rhythm TG 30, the ACH compatible channel can be used for ICODE.
A rhythm sound signal corresponding to (ACH) is generated at an attack level corresponding to VLM (ACH).

ステップ212を介してステップ220にきたときは、第14図
に示すすようにタイミングデータが「0」から「1」に
変化したときのテンポクロック信号TCLのクロックパ
ルスに同期してキーオンパルスKONPが発生され、こ
のパルスKONPに応じてロール発音における最初の音
が発生される。そして、これ以降は、テンポクロック信
号TCLとは独立に第16図のロールタイマ割込処理によ
りロール発音における順次の音が発生される。これらの
順次の音の発生周期Tは、ロール用クロック信号RCL
の発生周期に対応するもので、一例として数10[ms]
である。
When the operation reaches Step 220 via Step 212, the key-on pulse KONP is synchronized with the clock pulse of the tempo clock signal TCL when the timing data changes from "0" to "1" as shown in FIG. The first sound in the roll sound is generated in response to the generated pulse KONP. Then, after that, sequential sounds in the roll sound are generated by the roll timer interrupt processing of FIG. 16 independently of the tempo clock signal TCL. The generation cycle T of these sequential sounds is determined by the roll clock signal RCL.
It corresponds to the generation cycle of, and as an example, several tens [ms]
Is.

ステップ220の処理が終ったとき又はステップ212の判定
結果が肯定的(Y)であったときは、ステップ232に移
る。ステップ212の判定結果が肯定的(Y)であったと
きにステップ232に移るのは、第14図に示すようにタイ
ミングデータにおいて「1」が連続していてロール発音
が行なわれるので、ステップ214〜220の発音処理を行な
う必要がないからである。
When the process of step 220 is completed or when the determination result of step 212 is affirmative (Y), the process proceeds to step 232. When the determination result of step 212 is affirmative (Y), the process proceeds to step 232 because "1" continues in the timing data as shown in FIG. This is because it is not necessary to perform the sounding process of ~ 220.

ところで、ステップ204の判定結果が否定的(N)であ
ったとき(発音すべきタイミングでなかったとき)は、
ステップ222に移る。このステップ222では、ステップ20
8と同様にしてPRLFLG(RCODE、TRN)の
情報が1か判定する。この判定結果が否定的(N)であ
れば、以下に述べるようなロール発音停止処理を行なう
必要がないので、ステップ232に移る。
By the way, when the result of the determination in step 204 is negative (N) (when it is not the timing to pronounce),
Move to step 222. In this step 222, step 20
Similar to step 8, it is determined whether the information of PRLFLG (RCODE, TRN) is 1. If the result of this determination is negative (N), it is not necessary to perform the roll sound generation stop processing described below, so the routine moves to step 232.

ステップ222の判定結果が肯定的(Y)であったとき
は、ステップ224に移り、ステップ210と同様にしてDT
PCTRに前回のテンポカウント値をセットする。そし
て、ステップ226に移る。
If the determination result of step 222 is affirmative (Y), the process proceeds to step 224, and DT is performed in the same manner as step 210.
Set the previous tempo count value in PCTR. Then, the process proceeds to step 226.

ステップ226では、ステップ212と同様にしてPTN(R
CODE、TRN、DTPCTR)の値が1か判定す
る。この判定結果が否定的(N)であれば、タイミング
データにおいて「0」が連続したことになり、ステップ
232に移る。
In step 226, PTN (R
It is determined whether the value of CODE, TRN, DTPCTR) is 1. If the determination result is negative (N), it means that "0" is consecutive in the timing data, and the step
Move to 232.

ステップ226の判定結果が肯定的(Y)であったとき
は、タイミングデータが第14図に示すように「1」から
「0」に変化したことになり、ステップ228に移る。
If the determination result of step 226 is affirmative (Y), it means that the timing data has changed from "1" to "0" as shown in FIG. 14, and the process proceeds to step 228.

ステップ228では、第11図のステップ170と同様にしてロ
ール音の割当て済みチャンネルを検出し、そのCHナン
バをACHに入れる。そして、ステップ230に移る。
In step 228, the channel to which the roll sound has been assigned is detected and the CH number is added to the ACH in the same manner as in step 170 of FIG. Then, the process proceeds to step 230.

ステップ230では、RLFLG(ACH)に0をセット
する。この結果、ロール音発生は、第14図に示すように
タイミングデータが「1」から「0」に変化したときの
テンポクロック信号TCLのクロックパルスより後は停
止される。ステップ230の後は、ステップ232に移る。
In step 230, 0 is set in RLFLG (ACH). As a result, the roll sound generation is stopped after the clock pulse of the tempo clock signal TCL when the timing data changes from "1" to "0" as shown in FIG. After step 230, the process moves to step 232.

ステップ232では、TRNの値を1アップする。そし
て、ステップ234に移り、TRNの値がRCODEのリ
ズムコード(選択されたリズム)に対応する記憶領域P
TNNUM(RCODE)のトラック数より大か判定す
る。この判定結果が否定的(N)であればステップ204
に戻り、TRN>PTNNUM(RCODE)となるま
で上記したような処理を繰返す。例えば、第3図(A)
のリズムパターンメモリにおいて、リズム1が選択され
た場合は、PTNNUM(1)=16であるので、上記の
ような処理が16回行なわれる。
At step 232, the value of TRN is incremented by 1. Then, the process proceeds to step 234, where the TRN value corresponds to the RCODE rhythm code (selected rhythm) in the storage area P.
It is determined whether the number is larger than the number of tracks of TNNUM (RCODE). If this determination result is negative (N), step 204
Then, the above-mentioned processing is repeated until TRN> PTNNUM (RCODE). For example, FIG. 3 (A)
When rhythm 1 is selected in the rhythm pattern memory of, since PTNNUM (1) = 16, the above processing is performed 16 times.

TRN>PTNNUM(RCODE)となると、ステッ
プ234の判定結果が肯定的(Y)となり、ステップ236に
移る。このステップ236では、TPCTRの値に基づい
てテンポ表示素子TLDを駆動する。すなわち、TPC
TRの値が0,8,16…,56のいずれに該当するかによ
り表示素子TLD1〜TLD4(第1図のTLDにおい
ても最も左のものから最も右のものまで)を第15図に示
すように点灯制御する。この結果、設定テンポに応じた
テンポ表示が可能となる。ステップ236の後は、ステッ
プ238に移る。
When TRN> PTNNUM (RCODE), the determination result of step 234 becomes affirmative (Y), and the routine proceeds to step 236. In this step 236, the tempo display element TLD is driven based on the value of TPCTR. That is, TPC
The display elements TLD1 to TLD4 (from the leftmost one to the rightmost one in the TLD of FIG. 1) are shown in FIG. 15 depending on whether the value of TR corresponds to 0, 8, 16, ... Lighting control. As a result, it is possible to display the tempo according to the set tempo. After step 236, the process moves to step 238.

ステップ238では、TPCTRの値を1アップする。そ
して、ステップ240に移り、TPCTRの値が64か(2
小節終りか)判定し、この判定結果が否定的(N)であ
れば第6図のルーチンにリターンする。
In step 238, the value of TPCTR is incremented by 1. Then, the process proceeds to step 240 and the value of TPCTR is 64 (2
It is judged whether the bar is over or not, and if the result of this judgment is negative (N), the routine returns to the routine of FIG.

ステップ240の判定結果が肯定的(Y)であったとき
は、ステップ242でTPCTRに0をセットしてから、
第6図のルーチンにリターンする。従って、2小節分の
リズムパターンを反復的に使用して自動リズム演奏を続
行することができる。
If the determination result in step 240 is affirmative (Y), TPCTR is set to 0 in step 242, and then
It returns to the routine of FIG. Therefore, the automatic rhythm performance can be continued by repeatedly using the rhythm pattern for two measures.

ロールタイマ割込処理(第16図) 第16図は、ロールタイマ割込処理を示すもので、この割
込処理はロール用クロック信号RCLの各クロックパル
ス毎に開始される。
Roll Timer Interrupt Processing (FIG. 16) FIG. 16 shows the roll timer interrupt processing. This interrupt processing is started at each clock pulse of the roll clock signal RCL.

ステップ250では、STARTの値が1か判定し、この
判定結果が否定的(N)であれば第6図のルーチンにリ
ターンする。
At step 250, it is judged whether the value of START is 1, and if the result of this judgment is negative (N), the routine returns to the routine of FIG.

ステップ250の判定結果が肯定的(Y)であったときは
ステップ252に移り、CHNに1をセットする。このよ
うに、ステップ252以下の処理は、START=1であ
る限りプログラムモード及びプレイモードのいずれの場
合にも実行されるものである。ステップ252の後は、ス
テップ254に移る。
When the determination result of step 250 is affirmative (Y), the process proceeds to step 252, and CHN is set to 1. As described above, the processes from step 252 are executed in both the program mode and the play mode as long as START = 1. After step 252, the process moves to step 254.

ステップ254では、CHNのチャンネルナンバに対応す
るフラグRLFLG(CHN)の値が1か(ロール指定
有りか)判定する。この判定結果が肯定的(Y)であれ
ばステップ256に移る。
In step 254, it is determined whether the value of the flag RLFLG (CHN) corresponding to the channel number of CHN is 1 (whether a roll is designated). If the determination result is affirmative (Y), the process proceeds to step 256.

ステップ256では、ロール指定有りのCHNのチャンネ
ルナンバとCHN対応のレジスタICODE(CHN)
の楽器コードとCHN対応のレジスタVLM(CHN)
のボリューム値とキーオン情報KONとを第10図のステ
ップ162と同様にしてリズム用TG30に送出することに
よりCHN対応のチャンネルからICODE(CHN)
対応のリズム音信号をVLM(CHN)対応のアタック
レベル(通常音の約半分のレベル)で発生させる。
In step 256, the channel number of the CHN with the roll designation and the register ICODE (CHN) corresponding to the CHN
Musical instrument chords and CHN-compatible register VLM (CHN)
By sending the volume value and the key-on information KON of the channel to the rhythm TG 30 in the same manner as in step 162 of FIG. 10, the channel corresponding to CHN is ICODE (CHN).
A corresponding rhythm sound signal is generated at an attack level corresponding to VLM (CHN) (about half the level of a normal sound).

ステップ256の処理が終ったとき又はステップ254の判定
結果が否定的(N)であったとき(ロール指定無しであ
ったとき)はステップ258に移る。
When the process of step 256 is completed or when the determination result of step 254 is negative (N) (when there is no role designation), the process proceeds to step 258.

ステップ258では、CHNの値を1アップする。そし
て、ステップ260に移り、CHNの値がチャンネル数8
より大か判定する。この判定結果が否定的(N)であれ
ばステップ254に戻り、CHN>8となるまで上記のよ
うな処理を繰返す。このようにして各チャンネル毎にロ
ール指定の有無を調べ、ロール指定有りならばリズム音
を発生させる。
At step 258, the value of CHN is incremented by 1. Then, the process proceeds to step 260, where the value of CHN is 8 channels.
Determine if greater. If this determination result is negative (N), the process returns to step 254, and the above processing is repeated until CHN> 8. In this way, the presence or absence of roll designation is checked for each channel, and if there is roll designation, a rhythm sound is generated.

CHN>8となると、ステップ260の判定結果が肯定的
(Y)となり、第6図のルーチンにリターンする。
When CHN> 8, the determination result of step 260 becomes affirmative (Y), and the process returns to the routine of FIG.

上記したロールタイマ割込処理によれば、テンポクロッ
ク信号TCLとは独立のロール用クロック信号RCLに
応じてロール音が発生されるので、テンポを変更しても
ロール音の発生時間間隔が変化せず、しかもロール音の
発生時間間隔をテンポに関係なく任意に可変設定でき
る。
According to the roll timer interrupt process described above, since the roll sound is generated according to the roll clock signal RCL that is independent of the tempo clock signal TCL, the roll sound generation time interval does not change even if the tempo is changed. Moreover, the roll sound generation time interval can be arbitrarily set regardless of the tempo.

トランケートタイマ割込処理(第17図) 第17図は、トランケートタイマ割込処理を示すもので、
この割込処理は、トランケート用クロック信号KCLの
各クロックパルス毎に開始される。
Truncate timer interrupt process (Fig. 17) Fig. 17 shows the truncate timer interrupt process.
This interrupt process is started for each clock pulse of the truncation clock signal KCL.

ステップ270では、STARTの値が1か判定し、この
判定結果が否定的(N)であれば第6図のルーチンにリ
ターンする。
At step 270, it is determined whether the value of START is 1, and if the result of this determination is negative (N), the routine returns to the routine of FIG.

ステップ270の判定結果が肯定的(Y)であったとする
ときはステップ272に移り、CHNに1をセットする。
このように、ステップ272以下の処理は、START=
1である限りプログラムモード及びプレイモードのいず
れの場合にも実行されるものである。ステップ272の後
は、ステップ274に移る。
If the determination result of step 270 is affirmative (Y), the process proceeds to step 272, and CHN is set to 1.
In this way, the processing from step 272 onward is performed by START =
As long as it is 1, it is executed in both the program mode and the play mode. After step 272, the process moves to step 274.

ステップ274では、CHNのチャンネルナンバに対応す
るカウンタTCTR(CHN)の値が0か(発音終了
か)判定する。この判定結果が否定的(N)であればス
テップ276に移り、TCTR(CHN)の値から1を差
引いた値をTCTR(CHN)にセットする。
In step 274, it is determined whether the value of the counter TCTR (CHN) corresponding to the channel number of CHN is 0 (whether the sound generation ends). If the determination result is negative (N), the process proceeds to step 276, and the value obtained by subtracting 1 from the value of TCTR (CHN) is set in TCTR (CHN).

ステップ276の処理が終ったとき又はステップ274の判定
結果が肯定的(Y)であっとき(発音終了であったと
き)はステップ278に移る。
When the process of step 276 is completed or when the determination result of step 274 is affirmative (Y) (when the sound generation is completed), the process proceeds to step 278.

ステップ278では、CHNの値を1アップする。そし
て、ステップ280に移り、CHNの値がチャンネル数8
より大か判定する。この判定結果が否定的(N)であれ
ばステップ254に戻り、CHN>8となるまで上記のよ
うな処理を繰返す。このようにして各チャンネル毎にT
CTR(CHN)=0か調べ、0でなければTCTR
(CHN)の値を1減らす。
At step 278, the value of CHN is incremented by 1. Then, the process proceeds to step 280, where the value of CHN is 8 channels.
Determine if greater. If this determination result is negative (N), the process returns to step 254, and the above processing is repeated until CHN> 8. In this way T for each channel
Check if CTR (CHN) = 0 and if not 0, TCTR
Decrease the value of (CHN) by 1.

CHN>8となると、ステップ280の判定結果が肯定的
(Y)となり、第6図のルーチンにリターンする。
When CHN> 8, the determination result of step 280 becomes affirmative (Y), and the process returns to the routine of FIG.

トランケートの方法は、上記したものに限らず、例えば
(イ)テンポクロック割込みのたびに1減らす(ただ
し、0になるまでの時間がテンポに依存する)、(ロ)
新たな発音割当てがあるたびに1減らす、(ハ)減衰時
間が長いものほど小さなトランケート値をセットしてお
き、割込みのたびに1を加え、加算結果が最大のチャン
ネルに新たなリズム音種類を割当てる、等の方法があ
る。
The method of truncation is not limited to the one described above, and for example, (a) decrements by 1 at each tempo clock interrupt (however, the time until reaching 0 depends on the tempo), (b)
Decrement by 1 each time there is a new pronunciation assignment, (c) Set a smaller truncation value for longer decay times, add 1 at each interruption, and add a new rhythm sound type to the channel with the maximum addition result. There are methods such as allocation.

変形例 この発明は、上記実施例に限定されるものではなく、種
々の改変形態で実施可能なものである。例えば、次のよ
うな変更が可能である。
Modifications The present invention is not limited to the above embodiments, but can be implemented in various modified forms. For example, the following changes are possible.

(1)ソフトウェアにより制御する例を示したが、専用の
ハードウェアで処理するようにしてもよい。
(1) Although the example of controlling by software has been shown, the processing may be performed by dedicated hardware.

(2)リズム用トーンジェネレータは、PCM波形メモリ
方式の例を示したが、音源方式はこれに限らず、FM音
源方式等も適宜使用可能である。また、複数チャンネル
時分割処理でなく、複数チャンネル並列の音源構成とし
てもよい。
(2) For the rhythm tone generator, the example of the PCM waveform memory system is shown, but the sound source system is not limited to this, and an FM sound source system or the like can be used as appropriate. Further, the sound source configuration may be parallel to a plurality of channels instead of the time division processing of a plurality of channels.

(3)鍵盤付きの電子楽器の例を示したが、専用のリズム
演奏装置であってもよい。
(3) Although an example of an electronic musical instrument with a keyboard is shown, a dedicated rhythm playing device may be used.

(4)チャンネル割当方式は、後着優先方式としたが、す
べてのチャンネルにそれぞれリズム音が割当てられてい
るときには新たなリズム音割当ての要求があってもこれ
を割当てないようにする先着優先方式としてもよい。ま
た、トランケートの方法は、前述した以外にも種々のも
のがある。
(4) The channel allocation method was the last-arrival priority method, but when rhythm sounds are assigned to all channels, the first-arrival priority method that does not assign new rhythm sounds even if a new rhythm sound allocation request is made May be Further, there are various truncation methods other than those described above.

(5)リズム用トーンジェネレータに楽器コードを送出す
る例を示したが、所望の楽器音を得るために必要な楽音
パラメータ情報(例えばFM音源制御用パラメータ情
報)を送出するようにしてもよい。
(5) Although the example in which the musical instrument chord is transmitted to the rhythm tone generator has been shown, musical tone parameter information (for example, FM sound source control parameter information) necessary for obtaining a desired musical instrument sound may be transmitted.

[発明の効果] 以上のように、この発明によれば、リズム音源チャンネ
ルの数より多い複数のリズム音種類に対応してリズム音
種類指定情報を記憶するか又はマニアル操作で発生さ
せ、読出したリズム音種類指定情報又は操作に基づくリ
ズム音種類指定情報をいずれかのリズム音源チャンネル
に割当てることによりリズム音信号を発生させるように
したので、少ないチャンネル数でも経時的に多種類のリ
ズム音を組合せて変化に富んだリズム演奏を楽しめる効
果が得られるものである。
[Effects of the Invention] As described above, according to the present invention, the rhythm sound type designation information is stored or generated by a manual operation and read corresponding to a plurality of rhythm sound types that are larger than the number of rhythm sound source channels. Since the rhythm sound signal is generated by assigning the rhythm sound type designation information or the rhythm sound type designation information based on the operation to any rhythm sound source channel, it is possible to combine many kinds of rhythm sounds over time even with a small number of channels. The effect is that you can enjoy a variety of rhythm performances.

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

第1図は、この発明の一実施例による電子楽器の構成を
示すブロック図、 第2図は、リズム用トーンジェネレータ30の構成を示す
ブロック図、 第3図は、ROM18の記憶内容を示す図、 第4図は、タイミングデータの例を示す図、 第5図は、RAM20の記憶内容を示す図、 第6図は、メインルーチンを示すフローチャート、 第7図は、リズム選択のサブルーチンを示すフローチャ
ート、 第8図は、モード選択のサブルーチンを示すフローチャ
ート、 第9図は、スタート/ストップのサブルーチンを示すフ
ローチャート、 第10図は、パッド操作のサブルーチンを示すフローチャ
ート、 第11図は、割当チャンネル検出のサブルーチンを示すフ
ローチャート、 第12図は、プレイモード中のパッド発音処理を示すフロ
ーチャート、 第13図は、テンポクロック割込処理を示すフローチャー
ト、 第14図は、ロール発音動作を説明するための信号波形
図、 第15図は、テンポ表示動作を説明するための図、 第16図は、ロールタイマ割込処理を示すフローチャー
ト、 第17図は、トランケートタイマ割込処理を示すフローチ
ャートである。 10……データバス、14……パネル装置、16……中央処理
装置、18……プログラム及びデータROM、20……デー
タ及びワーキングRAM、22……テンポタイマ、24……
ロールタイマ、26……トランケートタイマ、30……リズ
ム用トーンジェネレータ。
FIG. 1 is a block diagram showing a configuration of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of a rhythm tone generator 30, and FIG. 3 is a diagram showing contents stored in a ROM 18. 4, FIG. 4 is a diagram showing an example of timing data, FIG. 5 is a diagram showing contents stored in the RAM 20, FIG. 6 is a flowchart showing a main routine, and FIG. 7 is a flowchart showing a rhythm selection subroutine. , FIG. 8 is a flow chart showing a mode selection subroutine, FIG. 9 is a flow chart showing a start / stop subroutine, FIG. 10 is a flow chart showing a pad operation subroutine, and FIG. FIG. 12 is a flowchart showing a subroutine, FIG. 12 is a flowchart showing a pad sounding process in the play mode, and FIG. FIG. 14 is a signal waveform diagram for explaining the roll sounding operation, FIG. 15 is a diagram for explaining the tempo display operation, and FIG. 16 is a roll timer interrupt processing. FIG. 17 is a flowchart showing a truncate timer interrupt process. 10 ... Data bus, 14 ... Panel device, 16 ... Central processing unit, 18 ... Program and data ROM, 20 ... Data and working RAM, 22 ... Tempo timer, 24 ...
Roll timer, 26 …… Truncate timer, 30 …… Rhythm tone generator.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】(a)複数のリズム音源チャンネルを有す
る音源手段であって、各リズム音源チャンネルは、指定
されるリズム音種類に対応したリズム音信号を発生可能
になっているものと、 (b)演奏すべきリズムに関して前記リズム音源チャン
ネルの数より多い複数のリズム音種類にそれぞれ対応し
た複数のリズム音種類指定情報と各リズム音種類毎に発
音タイミングを指示するタイミング情報とを記憶する記
憶手段と、 (c)テンポクロック信号を発生する手段と、 (d)前記テンポクロック信号及び前記記憶手段のタイ
ミング情報に基づいて各リズム音種類毎に発音タイミン
グになるたびに該リズム音種類に対応したリズム音種類
指定情報を前記記憶手段から読出す読出手段と、 (e)前記記憶手段から読出されるリズム音種類指定情
報に応じて前記複数のリズム音源チャンネルのいずれか
に該リズム音種類指定情報を割当てることにより割当て
に係るリズム音源チャンネルにて該リズム音種類指定情
報に対応したリズム音種類を指定して該リズム音種類に
対応したリズム音信号を発生させる割当手段と を備えたリズム演奏装置。
1. A sound source means having a plurality of rhythm sound source channels, wherein each rhythm sound source channel is capable of generating a rhythm sound signal corresponding to a designated rhythm sound type. b) A memory for storing a plurality of rhythm sound type designation information corresponding to a plurality of rhythm sound types larger than the number of the rhythm sound source channels with respect to the rhythm to be played, and timing information for instructing sounding timing for each rhythm sound type. Means, (c) means for generating a tempo clock signal, and (d) corresponding to each rhythm sound type at each sounding timing based on the tempo clock signal and the timing information of the storage means. Reading means for reading the specified rhythm sound type designation information from the storage means; and (e) rhythm sound type designation read from the storage means. By assigning the rhythm sound type designation information to any of the plurality of rhythm sound source channels according to information, the rhythm sound type corresponding to the rhythm sound type designation information is designated in the rhythm sound source channel related to the assignment A rhythm playing device having an assigning means for generating a rhythm sound signal corresponding to a sound type.
【請求項2】(a)複数のリズム音源チャンネルを有す
る音源手段であって、各リズム音源チャンネルは、指定
されるリズム音種類に対応したリズム音信号を発生可能
になっているものと、 (b)前記リズム音源チャンネルの数より多い複数のリ
ズム音種類にそれぞれ対応した複数のリズム演奏操作子
と、 (c)前記複数のリズム演奏操作子のいずれかが操作さ
れるたびに操作に係るリズム演奏操作子に対応したリズ
ム音種類を指定するリズム音種類指定情報を発生する情
報発生手段と、 (d)この情報発生手段から発生されるリズム音種類指
定情報に応じて前記複数のリズム音源チャンネルのいず
れかに該リズム音種類指定情報を割当てることにより割
当てに係るリズム音源チャンネルにて該リズム音種類指
定情報に対応したリズム音種類を指定して該リズム音種
類に対応したリズム音信号を発生させる割当手段と を備えたリズム演奏装置。
2. A sound source means having a plurality of rhythm sound source channels, wherein each rhythm sound source channel is capable of generating a rhythm sound signal corresponding to a designated rhythm sound type. b) a plurality of rhythm performance operators each corresponding to a plurality of rhythm sound types greater than the number of rhythm sound source channels; and (c) a rhythm related to the operation each time one of the plurality of rhythm performance operators is operated. Information generating means for generating rhythm sound type designation information for designating a rhythm sound type corresponding to a performance operator; and (d) a plurality of rhythm sound source channels according to the rhythm sound type designation information generated by the information generating means. By assigning the rhythm sound type designation information to any of the Specified by rhythm performance apparatus and a assigning means for generating a rhythm tone signal corresponding to said rhythm tone kinds.
JP62332648A 1987-12-30 1987-12-30 Rhythm playing device Expired - Lifetime JPH0646355B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP62332648A JPH0646355B2 (en) 1987-12-30 1987-12-30 Rhythm playing device
US07/291,275 US4991486A (en) 1987-12-30 1988-12-28 Electronic musical instrument having a rhythm performance function
DE3888655T DE3888655T2 (en) 1987-12-30 1988-12-30 Electronic musical instrument with a rhythm function.
KR1019880017876A KR920005713B1 (en) 1987-12-30 1988-12-30 Electronic musical instrument having rhythm playing function
EP88121918A EP0322927B1 (en) 1987-12-30 1988-12-30 Electronic musical instrument having a rhythm performance function
SG165894A SG165894G (en) 1987-12-30 1994-11-17 Electronic musical instrument having a rhythm performance function
HK33095A HK33095A (en) 1987-12-30 1995-03-09 Electronic musical instrument having a rhythm performance function
US09/493,518 USRE37459E1 (en) 1987-12-30 2000-01-27 Electronic musical instrument having a ryhthm performance function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62332648A JPH0646355B2 (en) 1987-12-30 1987-12-30 Rhythm playing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP10094113A Division JP3013836B2 (en) 1998-03-23 1998-03-23 Rhythm musical tone control device

Publications (2)

Publication Number Publication Date
JPH01179093A JPH01179093A (en) 1989-07-17
JPH0646355B2 true JPH0646355B2 (en) 1994-06-15

Family

ID=18257308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62332648A Expired - Lifetime JPH0646355B2 (en) 1987-12-30 1987-12-30 Rhythm playing device

Country Status (1)

Country Link
JP (1) JPH0646355B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55135899A (en) * 1979-04-12 1980-10-23 Matsushita Electric Industrial Co Ltd Electronic musical instrument
JPS5862696A (en) * 1981-10-09 1983-04-14 カシオ計算機株式会社 Electronic musical instrument
JPH0631981B2 (en) * 1982-06-29 1994-04-27 ヤマハ株式会社 Automatic rhythm playing device
JPS6113296A (en) * 1984-06-29 1986-01-21 カシオ計算機株式会社 Electronic musical instrument with key split function
JPS6199897U (en) * 1984-12-03 1986-06-26
JP2599351B2 (en) * 1985-01-19 1997-04-09 カシオ計算機株式会社 Waveform reading device
JPH0754182B2 (en) * 1985-08-30 1995-06-07 京セラ株式会社 Oil water heater

Also Published As

Publication number Publication date
JPH01179093A (en) 1989-07-17

Similar Documents

Publication Publication Date Title
JPH0631978B2 (en) Automatic musical instrument accompaniment device
US5399801A (en) Electronic musical instrument having an automatic stroke performance function
US5281756A (en) Electronic musical instrument capable of assigning desired tones to a performance operator
KR920005713B1 (en) Electronic musical instrument having rhythm playing function
JPH0644192B2 (en) Automatic rhythm playing device
JPH055358B2 (en)
JP2668691B2 (en) Rhythm playing device
JP2600741B2 (en) Rhythm pattern program device
JPH0646355B2 (en) Rhythm playing device
JP3013796B2 (en) Rhythm playing device
JP3013836B2 (en) Rhythm musical tone control device
JP3104702B2 (en) Rhythm playing device
JPH0721718B2 (en) Electronic musical instrument
JP3252847B2 (en) Rhythm playing device
JP3104705B2 (en) Rhythm musical tone control device
JP3055550B2 (en) Rhythm musical tone control device
JP2555569B2 (en) Electronic musical instrument
JP2531040B2 (en) Electronic musical instrument
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP2630268B2 (en) Rhythm sound generator
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2927848B2 (en) Automatic performance device
JP2713107B2 (en) Automatic performance device
JPS6329272B2 (en)
JPH10198374A (en) Automatic arpeggio playing device