JP2580662B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP2580662B2
JP2580662B2 JP62332271A JP33227187A JP2580662B2 JP 2580662 B2 JP2580662 B2 JP 2580662B2 JP 62332271 A JP62332271 A JP 62332271A JP 33227187 A JP33227187 A JP 33227187A JP 2580662 B2 JP2580662 B2 JP 2580662B2
Authority
JP
Japan
Prior art keywords
pad
rhythm
sound source
switch
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62332271A
Other languages
Japanese (ja)
Other versions
JPH01177090A (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 JP62332271A priority Critical patent/JP2580662B2/en
Priority to US07/291,147 priority patent/US5001959A/en
Publication of JPH01177090A publication Critical patent/JPH01177090A/en
Application granted granted Critical
Publication of JP2580662B2 publication Critical patent/JP2580662B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は電子楽器に関し、特にできるだけ少ない数
の操作子によつて多種類のリズム音源による演奏をし得
るようにしたものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument, and more particularly to an electronic musical instrument capable of performing with a variety of rhythm sound sources using as few operators as possible.

〔発明の概要〕[Summary of the Invention]

この発明は、リズム演奏をし得る電子楽器において、
リズム音源の種別を表すアサイン情報を演奏操作子に割
り当てる際に、演奏操作子を繰り返し操作することによ
り割り当てるべきリズム音源の種別を変更して行くよう
にしたことにより、多数のリズム音源の種別のうちから
所望のリズム音源を演奏操作子に容易に割り当てること
ができる。
The present invention relates to an electronic musical instrument capable of performing a rhythm,
When assigning assignment information indicating the type of rhythm sound source to a performance control, the type of rhythm sound source to be assigned is changed by repeatedly operating the performance control, so that a large number of rhythm sound source types can be assigned. A desired rhythm sound source can be easily assigned to the performance operator.

〔従来の技術〕[Conventional technology]

従来この種の電子楽器として、上鍵盤を構成するキー
の1つを押鍵操作することにより、当該キーに対して複
数のリズム音源のうちの1つを割り当てることができる
ようにしたものが提案されている(特開昭61−282896号
公報)。
Conventionally, as an electronic musical instrument of this kind, there has been proposed an electronic musical instrument in which one of a plurality of rhythm sound sources can be assigned to a key by operating one of the keys constituting the upper keyboard. (JP-A-61-282896).

この従来の構成は、本来メロデイ部、伴奏部でなる主
楽音を演奏する際に使用される鍵盤部のキーに対してそ
れぞれ任意のリズム音源を割り当てることができる点に
おいて、各リズム音源を選択するための専用の選択操作
子をそれぞれ別個に設ける場合と比較して全体としての
構成を簡易化し得る利点がある。
This conventional configuration selects each rhythm sound source in that an arbitrary rhythm sound source can be assigned to each key of a keyboard portion used when playing the main musical tone, which is essentially a melody portion and an accompaniment portion. There is an advantage that the configuration as a whole can be simplified as compared with a case in which dedicated selection operators for exclusive use are separately provided.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ところがリズム音源を選択するための演奏操作子とし
てキーを1つずつを割り当てるようにすると、リズム音
源の種別を指定するために多数のキーを必要とするため
に、全体としての構成が未だ複雑であるとともに、演奏
上演奏者は任意に割り当てた多数のリズム音源のうちか
ら1つを選択操作するという煩雑な手間を必要とし、結
局曲の演奏の途中でリズム音源を変更したい場合に、こ
れを簡易にはなし得ない問題がある。
However, if keys are assigned one by one as performance operators for selecting a rhythm sound source, a large number of keys are required to specify the type of the rhythm sound source, and the overall configuration is still complicated. In addition, when performing, the performer needs the troublesome task of selecting and operating one of a number of rhythm sound sources arbitrarily assigned. There is a problem that cannot be easily solved.

この発明は以上の点を考慮してなされたもので、実用
上簡易に選択操作し得る程度の少ない演奏操作子を用い
て、多数のリズム音源を必要に応じて容易に変更できる
ようにした電子楽器を提案しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has been made so that a large number of rhythm sound sources can be easily changed as necessary by using a small number of performance operators that can be selected easily in practice. It is intended to propose musical instruments.

〔問題点を解決するための手段〕[Means for solving the problem]

かかる問題点を解決するためこの発明においては、演
奏者の操作に応じて各々が操作情報を発生する複数の演
奏操作子PAD1〜PAD4と、複数の演奏操作子のそれぞれに
割り当てるリズム音源の種別を表すリズム音種類情報
を、複数の情報を1グループとしかつ異なるグループに
は同一のリズム音源を重複して含まない複数のグループ
分、記憶するリズム音種類グループ記憶手段26と、リズ
ム音種類グループ記憶手段に記憶された複数のグループ
の中から所望のグループを選択するグループ選択手段PA
DA、PTIXと、演奏操作子に割り当てられたリズム音源の
種別を表すリズム音種類情報をアサイン情報として記憶
するアサイン情報記憶手段REG3と、演奏操作子の操作に
応答して該演奏操作子に割り当てられるべきリズム音種
類情報をグループ選択手段で選択されたグループ内で変
更すると共に、この変更されたリズム音種類情報をアサ
イン情報としてアサイン情報記憶手段に登録する登録手
段SP21とを設けるようにする。
In order to solve such a problem, in the present invention, a plurality of performance operators PAD1 to PAD4, each of which generates operation information in accordance with an operation of a player, and a type of a rhythm sound source to be assigned to each of the plurality of performance operators. Rhythm sound type group storage means 26 for storing a plurality of groups of rhythm sound type information to be represented by a plurality of pieces of information that do not include the same rhythm sound source in different groups, and rhythm sound type group storage Group selecting means PA for selecting a desired group from a plurality of groups stored in the means
DA, PTIX, rhythm sound type information indicating the type of rhythm sound source assigned to the performance operator as assignment information storage means REG3, and assigned to the performance operator in response to operation of the performance operator A registration means SP21 is provided for changing the rhythm sound type information to be performed within the group selected by the group selection means and for registering the changed rhythm sound type information as assignment information in the assignment information storage means.

〔作用〕[Action]

アサイン情報登録手段(PADA)が操作されたとき、演
奏操作手段(PAD1〜PAD4)に対応する音源の種別がアサ
イン情報記憶手段(6、REG3)に登録される。その際
に、演奏操作子(PAD1〜PAD4)を1回操作するごとに、
割り当てるべきリズム音源の種別を変更するようにした
ことにより、多数のリズム音源の種別のうちから所望と
するリズム音源を必要に応じて簡易な操作によつて割り
当てることができる。
When the assignment information registration means (PADA) is operated, the type of the sound source corresponding to the performance operation means (PAD1 to PAD4) is registered in the assignment information storage means (6, REG3). At that time, every time the performance operators (PAD1 to PAD4) are operated,
By changing the type of rhythm sound source to be assigned, a desired rhythm sound source can be assigned from a large number of rhythm sound source types by a simple operation as needed.

〔実施例〕〔Example〕

以下図面について、この発明の一実施例を詳述する。 An embodiment of the present invention will be described below in detail with reference to the drawings.

〔1〕第1実施例 (1)第1実施例の構成 第1図において、1は全体として電子楽器を示し、演
奏操作部として鍵盤部2及び打楽器部3とを有すると共
に、設定操作部として操作パネル部4を有し、鍵盤部
2、打楽器部3、操作パネル部4を操作することにより
得られる入力情報が例えばマイクロコンピュータ構成の
データ処理部5の中央処理ユニツト(CPU6)が、ROM構
成のプログラムメモリ7のプログラムに従つてワーキン
グメモリ8を用いてバス9を介して取り込むと共に、第
2図に示すメインルーチンRT0を実行することによりデ
ータ記憶部10のレジスタ部25(第3図)、音源ナンバメ
モリ26、リズムデータメモリ27を用いてデータを処理、
記憶し、又は楽音信号発生部11に送出するようになされ
ている。
[1] First Embodiment (1) Configuration of First Embodiment In FIG. 1, reference numeral 1 denotes an electronic musical instrument as a whole, which has a keyboard section 2 and a percussion instrument section 3 as a performance operation section and a setting operation section. The central processing unit (CPU 6) of the data processing unit 5 having, for example, a microcomputer has an operation panel unit 4, and input information obtained by operating the keyboard unit 2, the percussion instrument unit 3, and the operation panel unit 4 is constituted by a ROM. In accordance with the program in the program memory 7, the data is fetched via the bus 9 using the working memory 8 and the main routine RT0 shown in FIG. 2 is executed to thereby register the register 25 (FIG. 3) of the data storage unit 10; Data is processed using the sound source number memory 26 and the rhythm data memory 27,
It is stored or transmitted to the tone signal generator 11.

鍵盤部2の各キーに対応するキー情報S1はキースイツ
チ回路21からバス9を介してデータ処理部5に取り込ま
れる。
Key information S1 corresponding to each key of the keyboard unit 2 is taken into the data processing unit 5 via the bus 9 from the key switch circuit 21.

この実施例の場合打楽器部3は、ボード3A上に配設さ
れた複数例えば4つのパツドPAD1〜PAD4を演奏操作子3B
として有し、パツドPAD1〜PAD4が操作されたとき(すな
わちパツドオンイベントが生じたとき)、そのパツドナ
ンバに対応するパツドスイツチオン信号S2がパツドスイ
ツチ回路22からバス9を介してデータ処理部5に送出さ
れると共に、当該パツドPAD1〜PAD4に対する演奏操作の
強さを奏するパツドタツチ検出データS3がパツドタツチ
検出回路23からバス9を介してデータ処理部5に送出さ
れる。
In the case of this embodiment, the percussion instrument section 3 comprises a plurality of pads PAD1 to PAD4, for example, four pads PAD1 to PAD4 arranged on a board 3A, and a performance operator 3B
When the pads PAD1 to PAD4 are operated (that is, when a pad-on event occurs), a pad switch signal S2 corresponding to the pad number is sent from the pad switch circuit 22 to the data processing unit 5 via the bus 9. At the same time, the pad touch detection data S3 indicating the strength of the performance operation for the pads PAD1 to PAD4 is transmitted from the pad touch detection circuit 23 to the data processing unit 5 via the bus 9.

CPU6はこのパツドスイツチオン信号S2を受けたとき、
パツドスイツチオンサブルーチンRT2(第4図)を実行
する。
When the CPU 6 receives the pad switch signal S2,
The pad switch subroutine RT2 (FIG. 4) is executed.

操作パネル部4はスタートスイツチST、フイルインス
イツチFIL、パツドアサインスイツチPADA、その他の操
作子OPRとを有する。
The operation panel section 4 has a start switch ST, a file switch FIL, a pad sign switch PADA, and other operators OPR.

スタートスイツチSTは、リズム演奏を開始し又は終了
する際に演奏者によつて押圧操作されたとき、CPU6に対
してスタートスイツチ信号S4を入力することによりスタ
ートスイツチオンイベントサブルーチンRT3(第6図)
の実行命令を入力する基本的な機能をもつている。
The start switch ST is provided with a start switch on event subroutine RT3 (FIG. 6) by inputting a start switch signal S4 to the CPU 6 when the rhythm performance is pressed or pressed by the player when starting or ending the rhythm performance.
It has the basic function of inputting an execution instruction.

またフイルインスイツチFILは、リズム演奏時に演奏
者によつて押圧操作されたとき、CPU6に対してフイルイ
ンスイツチオン信号S6を入力することによりフイルイン
オンイベントRT4(第7図)の実行命令を入力する基本
的な機能をもつている。
The file switch FIL receives an instruction to execute a file-in on event RT4 (FIG. 7) by inputting a file-in switch-on signal S6 to the CPU 6 when pressed by a player during a rhythm performance. Has the basic function of inputting.

パツドアサインスイツチPADAは、打楽器部3のパツド
PAD1〜PAD4をその本来の機能、すなわち打楽器音を発生
させるための操作入力手段としての機能に加えて、各パ
ツドPAD1〜PAD4に対して必要に応じてスタートスイツチ
STに代つてスタートスイツチとして機能させ、又はフイ
ルインスイツチFILに代つてフイルインスイツチとして
機能させ、又はリズム音源選択手段として機能させるよ
うな動作モードを演奏者が指定し得るように動作するも
ので、オン操作されたとき、操作子スイツチ回路24から
パツドアサインスイツチオン信号S6を送出させる。
Patsudo Ainitsu Switch PADA is the pad of the percussion instrument part 3.
In addition to PAD1 to PAD4 as their original function, that is, a function as an operation input means for generating a percussion instrument sound, a start switch is provided for each pad PAD1 to PAD4 as necessary.
It operates so that the player can designate an operation mode in which the ST functions as a start switch, or instead of the file switch FIL, as a file switch, or functions as a rhythm sound source selection means. When the switch is turned on, the operator switch circuit 24 sends out the pad sign switch signal S6.

その他の操作子OPRは、演奏者の操作に応じて操作子
スイツチ回路24から音量、音色、リズム選択、効果信号
を含んでなる操作子オン信号S7をCPU6に入力する。
Other operators OPR input an operator ON signal S7 including a volume, tone, rhythm selection, and effect signal from the operator switch circuit 24 to the CPU 6 in accordance with the player's operation.

CPU6は第2図に示すメインルーチンRT0を実行するこ
とにより、キー情報S1に基づいて鍵盤用楽音信号発生回
路(TG1)28に主楽音発生情報S11を与えて主楽音信号S1
2を発生させることに加えて、操作パネル部4の設定操
作及び打楽器部3のパツドPAD1〜PAD4への演奏操作に基
づいてリズム音信号発生回路(TG2)29にリズム音発生
情報S13を与えてリズム音信号S14を発生させる。これに
より増幅回路30及びスピーカ31を有するサウンドシステ
ム32から楽音を発生させる。
The CPU 6 executes the main routine RT0 shown in FIG. 2 to give the main musical sound generation information S11 to the keyboard musical sound signal generating circuit (TG1) 28 based on the key information S1 to provide the main musical sound signal S1.
In addition to generating 2, the rhythm sound generation circuit (TG2) 29 is provided with rhythm sound generation information S13 based on the setting operation of the operation panel section 4 and the performance operation of the pads PAD1 to PAD4 of the percussion instrument section 3. A rhythm sound signal S14 is generated. Thereby, a musical sound is generated from the sound system 32 having the amplifier circuit 30 and the speaker 31.

ここでリズム音発生情報S13は、CPU16がその他の操作
子OPRに含まれるリズム選択スイツチから得られる操作
子オン信号S7に基づいてリズムセレクトサブルーチン
(第8図)を実行すると共に、テンポ発振器33からテン
ポ情報S15と共に供給されるリズムインタラプト信号S16
によつてリズムインタラプトサブルーチン(第9図)を
実行することにより発生される。
Here, the rhythm sound generation information S13 is output from the tempo oscillator 33 while the CPU 16 executes the rhythm select subroutine (FIG. 8) based on the operator ON signal S7 obtained from the rhythm selection switch included in the other operators OPR. Rhythm interrupt signal S16 supplied with tempo information S15
Is generated by executing a rhythm interrupt subroutine (FIG. 9).

(2)メインルーチン CPU6はメインルーチンRT0に入ると、処理ステツプRT1
において初期設定処理を実行し、このときレジスタ25の
データは初期設定される。
(2) Main Routine When the CPU 6 enters the main routine RT0, the processing step RT1 is executed.
, An initial setting process is performed. At this time, the data of the register 25 is initialized.

続いてCPU6は次の処理ステツプRT2においてパツドス
イツチオンイベントサブルーチンを実行する。このサブ
ルーチンは、第4図に示すように、打楽器部3のパツド
PAD1〜PAD4が操作されることによりパツドスイツチオン
信号S2が発生したとき、演奏者がスタートスイツチST、
フイルインスイツチFIL、パツドアサインスイツチPADA
を必要に応じて組み合わせながらオン操作すると同時に
パツドPAD1〜PAD4をステイツクで叩く操作をすることに
より、パツドPAD1〜PAD4に対してリズム演奏を開始又は
終了させるスタートスイツチの機能や、フイルインモー
ドを必要に応じて挿入する操作や、リズム演奏に用いら
れる打楽器音のリズム音源を割り当てるような処理を実
行する。
Subsequently, the CPU 6 executes a pad switch event subroutine in the next processing step RT2. This subroutine, as shown in FIG.
When the pad switch signal S2 is generated by operating PAD1 to PAD4, the player switches the start switch ST,
File Switch FIL, Patch Door Sign Switch PADA
A start switch function to start or end rhythm performance for pads PAD1 to PAD4 by tapping pads PAD1 to PAD4 with a stick while turning on while simultaneously combining And a process of assigning a rhythm sound source of a percussion instrument sound used for rhythm performance.

続いてCPU6は処理ステツプRT3においてスタートスイ
ツチオンイベントサブルーチンを実行する。このステツ
プは第6図に示すように、リズム演奏を開始又は終了さ
せるような処理を実行する。
Subsequently, the CPU 6 executes a start switch-on event subroutine in a processing step RT3. In this step, as shown in FIG. 6, processing for starting or ending the rhythm performance is executed.

つぎにCPU6は処理ステツプRT4に移つてフイルインス
イツチオンイベントサブルーチンを実行する。このステ
ツプRT4は、第7図に示すように、フイルインモードの
挿入処理を実行する。
Next, the CPU 6 shifts to a processing step RT4 to execute a file installation event subroutine. This step RT4 executes the insertion process in the file-in mode as shown in FIG.

続いてCPU6は処理ステツプRT5に移つてリズムセレク
トサブルーチンを実行する。このときCPU6は第8図に示
すサブルーチンを実行する。
Subsequently, the CPU 6 shifts to a processing step RT5 and executes a rhythm select subroutine. At this time, the CPU 6 executes a subroutine shown in FIG.

かくしてCPUはリズム演奏についてのデータの処理を
終了し、処理ステツプRT6においてその他の処理、例え
ばキースイツチ回路21において得られるキー情報S1の処
理、操作パネル部4のその他の操作子OPRによつて設定
された音色等の処理を実行した後、上述のステツプRT2
に戻る。
Thus, the CPU terminates the processing of the data relating to the rhythm performance, and sets other processing in processing step RT6, for example, processing of key information S1 obtained in the key switch circuit 21, and setting of other operation elements OPR of the operation panel section 4. After executing the processing of the tone etc.,
Return to

かくしてCPU6はその後ステツプRT2〜RT6の処理を繰り
返し実行することにより、キースイツチ回路21から取り
込まれるキー情報S1、パツドスイツチ回路22から取り込
まれるパツドスイツチオン信号S2、パツドタツチ検出回
路23から取り込まれるパツドタツチ検出データS3、操作
子スイツチ回路26から取り込まれるスタートスイツチオ
ン信号S4、フイルインスイツチオン信号S5、パツドアサ
インスイツチオン信号S6、操作子オン信号S7により得ら
れるデータを、キー情報S1についての発音チヤンネル及
びパツドPAD1〜PAD4の発音チヤンネルごとに順次データ
処理を実行し、かくして全体として同時に発音し得る発
音数の主楽音と、パツドPAD1〜PAD4についてのリズム音
を実用上同時に発音処理する。
Thus, the CPU 6 repeats the processing of steps RT2 to RT6 thereafter, thereby obtaining the key information S1 fetched from the key switch circuit 21, the pad switch signal S2 fetched from the pad switch circuit 22, and the pad touch detection data fetched from the pad touch detection circuit 23. S3, a start switch-on signal S4, a file-in switch-on signal S5, a pad sign switch signal S6, and a switch-on signal S7, which are fetched from the operation switch circuit 26, are used to generate a sound channel and a sound channel for the key information S1. Data processing is sequentially performed for each of the sounding channels of the pads PAD1 to PAD4, so that the main musical sounds having the number of sounds that can be simultaneously sounded as a whole and the rhythm sounds of the pads PAD1 to PAD4 are practically simultaneously sounded.

(3)パツドスイツチオンイベントサブルーチン CPU6はパツドスイツチオンイベントサブルーチンRT2
(第4図)に入ると、先ずステツプSP1においてi番目
のパツドPAD(i)(i=1、2、3、4)にオンイベ
ントが生じたか否かの判断をし、否定結果が得られたと
きには、なんらの処理もせずにステツプSP2からメイン
ルーチンに戻る。
(3) Pad switch-on event subroutine CPU6 sets pad switch-on event subroutine RT2
Upon entering (FIG. 4), it is first determined in step SP1 whether or not an on-event has occurred in the i-th pad PAD (i) (i = 1, 2, 3, 4), and a negative result is obtained. If not, the process returns to the main routine from step SP2 without performing any processing.

これに対しステツプンSP1において肯定結果が得られ
ると、CPU6はステツプSP3に移つて当該パツドPAD(i)
について得られるパツドタツチ検出データS3をレジスタ
25(第3図)のパツド別タツチデータレジスタREG2にパ
ツド別タツチデータVOLREG(i)として書き込み保持し
た後ステツプSP4に移る。
On the other hand, if a positive result is obtained in step SP1, the CPU 6 moves to step SP3 and the pad PAD (i)
Register the pad touch detection data S3 obtained for
After writing and holding the pad-specific touch data REGREG (i) in the pad-specific touch data register REG2 of FIG. 25 (FIG. 3), the process proceeds to step SP4.

このステツプSP4においてCPU6はパツドアサインスイ
ツチPADAが同時にオン操作されているか否かの判断をす
る。
In this step SP4, the CPU 6 determines whether or not the pad sign switch PADA is simultaneously turned on.

ここで肯定結果が得られると、このことは演奏者が当
該パツドPAD(i)に対してリズム演奏に必要なスター
トスイツチ機能、フイルインスイツチ機能、音源選択ス
イツチ機能を割り当てるための操作をしていることを意
味しているのに対して、否定結果が得られるとこれらの
割当操作をしていないことを意味する。
If a positive result is obtained here, this means that the player performs an operation for assigning a start switch function, a file switch function, and a sound source selection switch function necessary for rhythm performance to the pad PAD (i). However, if a negative result is obtained, it means that these assignment operations are not performed.

そこでCPU6はステツプSP4において肯定結果が得られ
るとステツプSP5に移つてスタートスイツチSTが同時に
オン操作されているか否かの判断をする。
Therefore, if a positive result is obtained in step SP4, the CPU 6 proceeds to step SP5 to determine whether or not the start switch ST is simultaneously turned on.

ここで肯定結果が得られると、このことは演奏者が当
該パツドPAD(i)に割り当てたスイツチ機能を切り換
えようとしていることを意味し、このときCPU6はステツ
プSP6に移つてレジスタ25(第3図)のスタートスイツ
チ機能割当パツドナンバレジスタREG6からスタートスイ
ツチ機能割当パツドナンバデータSTREGを読み出してそ
の内容が値iであるか否かを確認する。
If an affirmative result is obtained here, this means that the player is about to switch the switch function assigned to the pad PAD (i), and at this time, the CPU 6 moves to step SP6 to register 25 (third register). The start switch function assignment pad number data STREG is read out from the start switch function assignment pad number register REG6 of FIG. 9 to check whether or not the content is the value i.

ここで肯定結果が得られると、このことはこれまで当
該パツドPAD(i)にスタートスイツチとしての機能が
割り当てられていたことを意味し、このときCPU6はステ
ツプSP7に移つてスタートスイツチ機能割当パツドナン
バデータSTREGを値0に書き換えることにより、当該パ
ツドPAD(i)に割り当てられていたスタートスイツチ
機能を解除してステツプSP8に移る。
If a positive result is obtained here, this means that a function as a start switch has been assigned to the pad PAD (i), and at this time, the CPU 6 moves to step SP7 and assigns a start switch function assignment patch. By rewriting the number data STREG to the value 0, the start switch function assigned to the pad PAD (i) is released, and the routine goes to step SP8.

因に、この実施例の場合パツドの数は4つであるの
で、パツドナンバはi=1〜4であるのに対して、i=
0をスタートスイツチ機能割当パツドナンバデータSTRE
Gに書き込めば、スタートスイツチ機能はいずれのパツ
ドPAD1〜PAD4にも割り当てられなくなつたことになる。
In this embodiment, since the number of pads is four, the pad numbers are i = 1 to 4, whereas i = 4.
0 Start switch function allocation pad number data STRE
By writing to G, the start switch function can no longer be assigned to any of the pads PAD1 to PAD4.

このステツプSP8は発音ルーチンで、CPU6はレジスタ2
5(第3図)のパツド別タツチデータレジスタREG2に格
納されている当該i番目のパツド別タツチデータVOLEG
(i)及びパツド割当音源ナンバレジスタREG3の当該i
番目のパツド割当音源ナンバデータTONE(i)をリズム
音信号発生回路(TG2)29へ送出した後、ステツプSP2か
らメインルーチンに戻る。
This step SP8 is a sound generation routine, and CPU6 is register 2
The i-th pad-specific touch data VOLEG stored in the pad-specific touch data register REG2 of FIG. 5 (FIG. 3).
(I) and the i of the pad assigned sound source number register REG3
After transmitting the pad-assigned sound source number data TONE (i) to the rhythm sound signal generation circuit (TG2) 29, the process returns to the main routine from step SP2.

このときリズム音信号発生回路(TG2)29は、パツド
割当音源ナンバデータTONE(i)によつて表されるリズ
ム音源について、パツド別タツチデータVOLREG(i)に
よつて表される音量でサウンドシステム32からリズム音
を発生させる。
At this time, the rhythm sound signal generation circuit (TG2) 29 outputs the sound system with the sound volume represented by the pad-specific touch data VOLREG (i) for the rhythm sound source represented by the pad assigned sound source number data TONE (i). Generate a rhythm sound from 32.

これに対して上述のステツプSP6において否定結果が
得られると、このことは今までスタートスイツチ機能割
当パツドナンバデータSTREGとして当該i番目のパツドP
AD(i)が割り当てられていなかつたことを意味し、こ
のときCPU6はステツプSP9に移つてスタートスイツチ機
能割当パツドナンバデータSTREGを値iに書き換えた後
ステツプSP8に移る。
On the other hand, if a negative result is obtained in step SP6 described above, this indicates that the i-th pad P has been stored as the start switch function assignment pad number data STREG.
This means that AD (i) has not been assigned. At this time, the CPU 6 proceeds to step SP9, rewrites the start switch function assignment pad number data STREG to a value i, and then proceeds to step SP8.

このようにしてCPU6は演奏者がパツドアサインスイツ
チPADA(ステツプSP4)及びスタートスイツチST(ステ
ツプSP5)を同時にオン操作したときには、当該i番目
のパツドPAD(i)のスタートスイツチ機能の割当状態
を書き換える。
In this way, when the player simultaneously turns on the pad sign switch PADA (step SP4) and the start switch ST (step SP5), the CPU 6 changes the assigned state of the start switch function of the i-th pad PAD (i). rewrite.

次に上述のステツプSP5において否定結果が得られる
と、このことは演奏者がストツプスイツチ機能以外の機
能すなわちフイルインスイツチ機能又は音源選択スイツ
チ機能をi番目の当該パツドPAD(i)に割り当てよう
としていることを意味する。
Next, if a negative result is obtained in the above-mentioned step SP5, this means that the player intends to assign a function other than the stop switch function, that is, the file switch function or the sound source selection switch function to the ith pad PAD (i). Means that.

このときCPU6はステツプSP11に移つてフイルインスイ
ツチFILが同時にオン操作されているか否かの判断をす
る。ここで肯定結果が得られるとこのことは演奏者がi
番目の当該パツドPAD(i)にフイルインスイツチ機能
を割り当てようとしていることを意味し、このときCPU6
はステツプSP12に移つてレジスタ25のフイルインスイツ
チ機能割当パツドナンバレジスタREG7に保持されている
フイルインスイツチ機能割当パツドナンバデータFILREG
の内容が値iであるか否かの判断をする。
At this time, the CPU 6 proceeds to step SP11 to determine whether or not the file switch FIL is simultaneously turned on. If a positive result is obtained here, this means that the player
Means that the file switch function is to be assigned to the pad P (i).
Is transferred to step SP12, the file switch function assignment pad number data FILREG held in the file switch function assignment pad number register REG7 of the register 25.
Is determined as to whether or not the content is a value i.

ここで肯定結果が得られると、i番目の当該パツドPA
D(i)に対してすでにフイルインスイツチとしての機
能が割り当てられていたことを意味し、このときCPU6は
ステツプSP13に移つてフイルインスイツチ機能割当パツ
ドナンバデータFILREGを値0に書き換えることにより、
スタートスイツチ機能の場合と同様にして、当該パツド
PAD(i)に割り当てられていたフイルインスイツチ機
能を解除した後、ステツプSP8、SP2を介してメインルー
チンに戻る。
If a positive result is obtained here, the i-th corresponding pad PA
This means that a function as a file switch has already been assigned to D (i). At this time, the CPU 6 proceeds to step SP13 to rewrite the file switch function assignment pad number data FILREG to a value 0. ,
In the same way as with the start switch function, the pad
After releasing the file switch function assigned to PAD (i), the process returns to the main routine via steps SP8 and SP2.

これに対してステツプSP12において否定結果が得られ
ると、このことは今までi番目の当該パツドPAD(i)
に対してフイルインスイツチ機能が割り当てられていな
かったことを意味し、このときCPU6はステツプSP14に移
つてフイルインスイツチ機能割当パツドナンバデータFI
LREGを値iに書き換えた後、ステツプSP8、SP2を介して
メインルーチンに戻る。
On the other hand, if a negative result is obtained in step SP12, this means that the i-th pad PAD (i) has hitherto been used.
Means that the file switch function has not been assigned to the file. At this time, the CPU 6 moves to step SP14 and the file switch function assignment pad number data FI
After rewriting LREG to the value i, the process returns to the main routine via steps SP8 and SP2.

このようにしてCPU6は、演奏者がパツドアサインスイ
ツチPADA及びフイルインスイツチFILを同時にオン操作
しているとき、i番目の当該パツドPAD(i)に対する
フイルインスイツチ機能割当状態を書き換えるような処
理を実行する。
In this way, the CPU 6 rewrites the file switch function assignment state for the i-th pad PAD (i) when the player simultaneously turns on the pad sign switch PADA and the file switch FIL. Execute

次にステツプSP11において否定結果が得られると、こ
のことは演奏者がi番目の当該パツドPAD(i)に対し
て音源選択スイツチとしての機能を割り当てようとして
いることを意味する。
Next, if a negative result is obtained in step SP11, this means that the player is about to assign the function as the sound source selection switch to the i-th pad PAD (i).

そこでCPU6はステツプSP21に移つてレジスタ25(第3
図)のパツド割当音源ナンバレジスタREG3のパツド割当
音源ナンバデータTONE(i)に対して「+1」加算をし
た後、その加算結果を新たなパツド割当音源ナンバデー
タとして書き換えてステツプSP22に移る。
Then, the CPU 6 proceeds to step SP21 and registers 25 (third
After adding "+1" to the pad assigned sound source number data TONE (i) of the pad assigned sound source number register REG3 in FIG. 7), the addition result is rewritten as new pad assigned sound source number data, and the routine proceeds to step SP22.

ここで、パツド割当音源ナンバデータTONE(i)は、
i番目のパツドPAD(i)に対して割り当てることがで
きるリズム音源の番号(この実施例の場合0〜15番)を
表している。
Here, the pad assigned sound source number data TONE (i) is
The rhythm sound source numbers (0 to 15 in this embodiment) that can be assigned to the i-th pad PAD (i).

このステツプSP22は当該「+1」加算後のパツド割当
音源ナンバデータTONE(i)が最大音源数を越えた値16
以上になつているか否かを判断するステツプで、否定結
果が得られたときには直ちにステツプSP8、SP2を介して
メインルーチンに戻るのに対して、肯定結果が得られた
ときにはステツプSP23に移つてパツド割当音源ナンバデ
ータTONE(i)を値0に書き直した後、ステツプSP8、S
P2を介してメインルーチンに戻る。
In this step SP22, the pad assigned sound source number data TONE (i) after the addition of "+1" is set to a value 16 which exceeds the maximum number of sound sources.
In the step of judging whether or not the above is true, if a negative result is obtained, the process immediately returns to the main routine through steps SP8 and SP2, whereas if an affirmative result is obtained, the process proceeds to step SP23 to perform padding. After rewriting the assigned sound source number data TONE (i) to the value 0, the steps SP8, S
Return to the main routine via P2.

かくしてCPU6は、演奏者がパツドアサインスイツチPA
DAだけをオン操作しているとき、i番目の当該パツドPA
DA(i)をステイツクによつて叩くことによりこのパツ
ドPAD(i)に対して今まで指定されていた音源ナンバ
に続く次の音源ナンバの音源を指定し直すような処理を
実行する。
Thus, the CPU 6 can be used by the performer
When only the DA is turned on, the i-th pad PA
By hitting DA (i) with the stake, a process of re-designating the sound source of the next sound source number following the sound source number specified so far is executed for this pad PAD (i).

因にこの実施例の場合リズム音信号発生回路(TG2)2
9は、16個のリズム音源を選択指定できるようになされ
ており、例えばパツド割当音源ナンバデータTONE(i)
が値0、1、2……15のとき、それぞれリズム音源とし
てバスドラム、スネアドラム、コンガ……ハイハツトク
ローズのリズム音を指定できるようになされており、か
くしてパツドPAD(i)が叩かれるごとにステツプSP21
において当該パツドPAD(i)に対して「+1」ずつ歩
進する音源ナンバが割り当てられて行くと共に、やがて
音源ナンバが最大音源数15を超えて16になつたとき、ス
テツプSP23において音源ナンバ0の音源にパツド割当音
源ナンバデータTONE(i)を戻すことにより、再度0番
目から15番目まで改めて指定して行くことができるよう
になされている。
In the case of this embodiment, the rhythm sound signal generation circuit (TG2) 2
Reference numeral 9 indicates that 16 rhythm sound sources can be selected and designated. For example, pad assigned sound source number data TONE (i)
When the value is 0, 1, 2,..., 15, a bass drum, a snare drum, a conga,... A hi-hat closed rhythm sound can be designated as the rhythm sound source, and thus the pad PAD (i) is hit. Each step SP21
In step SP23, when the sound source number which advances by "+1" is assigned to the pad PAD (i), and the sound source number eventually exceeds the maximum number of sound sources 15 and becomes 16, the sound source number of the sound source number 0 is determined in step SP23. By returning the pad assigned sound source number data TONE (i) to the sound source, it is possible to specify again from the 0th to the 15th.

このようにして、パツドアサインスイツチPADAは、演
奏操作子としてのパツドPAD1〜PAD4に割り当てるべきリ
ズム音源の種別を表すアサイン情報となるパツド割当音
源ナンバデータTONE(1)〜TONE(4)をパツド割当音
源ナンバレジスタREG3に記憶登録させるためのアサイン
情報登録手段として動作し、またパツド割当音源ナンバ
レジスタREG3は当該アサイン情報を記憶するアサイン情
報記憶手段として動作する。
In this way, the pad assign switch PADA pads the pad assigned sound source number data TONE (1) to TONE (4), which is the assignment information indicating the type of rhythm sound source to be assigned to the pads PAD1 to PAD4 as the performance operators. The assigned sound source number register REG3 operates as an assignment information storing means for storing and registering the assigned sound source number register REG3.

次にステツプSP4において否定結果が得られると、こ
のことは演奏者がi番目の当該パツドPAD(i)にスタ
ートスイツチ機能、フイルインスイツチ機能、音源選択
スイツチ機能を割り当てようとしていないことを表して
おり、このときCPU6は、ステツプSP31に移つてレジスタ
25(第3図)のフイルインスイツチ機能割当パツドナン
バレジスタREG7のフイルインスイツチ機能割当パツドナ
ンバデータFILREGの値がiであるか否かの判断をする。
Next, if a negative result is obtained in step SP4, this indicates that the player has not tried to assign the start switch function, the file switch function, and the sound source selection switch function to the i-th pad PAD (i). At this time, the CPU 6 proceeds to step SP31 and
It is determined whether or not the value of the file switch function assignment pad number data FILREG of the file switch function assignment pad number register REG7 of FIG. 25 (FIG. 3) is i.

ここで肯定結果が得られると、このことは演奏者は現
在続いているリズム演奏においてフイルイン演奏を挿入
しようとしていることを意味している。このときCPU6は
ステツプP32に移つてレジスタ25(第3図)のフイルイ
ンフラグレジスタREG10のフイルインフラグデータFILFG
に基づいて「1」−FILFGの演算を実行し、当該演算結
果を新たなフイルインフラグデータFILFGとして書き換
える。
If a positive result is obtained here, this means that the player is about to insert a fill-in performance in the rhythm performance that is currently ongoing. At this time, the CPU 6 shifts to step P32, where the file flag FILFG of the file flag register REG10 of the register 25 (FIG. 3) is stored.
, And the result of the operation is rewritten as new file-in flag data FILFG.

かくして今までのフイルインフラグデータFILFGが論
理「1」(又は論理「0」)であるとき、新たなフイル
インフラグデータFILFGは論理レベルを反転して論理
「0」(又は論理「1」)に切り換えられる。
Thus, when the previous file-in flag data FILFG is logic "1" (or logic "0"), the new file-in flag data FILFG is inverted to logic "0" (or logic "1"). Is switched to.

続いてCPU6はステツプSP33において当該書き換え後の
フイルインフラグデータFILFGが論理「1」であるか否
かの判断をし、肯定結果が得られたときステツプSP34に
移つてレジスタ25(第3図)のリズムボリユームデータ
レジスタREG5のリズムボリユームデータRHYVOL2をリズ
ムボリユームデータ一時待避用レジスタREG4にリズムボ
リユームデータ一時待避用データRHYVOL1として転送し
た後、新たなリズムボリユームデータRHYVOL2としてパ
ツド別タツチデータVOLREG(i)を書き込み、その後当
該リズムボリユームデータRHYVOL2をリズム音信号発生
回路(TG2)29へ、リズム音発生情報S13として送出す
る。
Subsequently, the CPU 6 determines in step SP33 whether the rewritten file-in flag data FILFG is logic "1", and when an affirmative result is obtained, moves to step SP34 to register 25 (FIG. 3). After transferring the rhythm volume data RHYVOL2 of the rhythm volume data register REG5 to the rhythm volume data temporary save register REG4 as the rhythm volume data temporary save data RHYVOL1, the padded touch data VOLREG (i) is added as new rhythm volume data RHYVOL2. Then, the rhythm volume data RHYVOL2 is transmitted to the rhythm sound signal generation circuit (TG2) 29 as rhythm sound generation information S13.

かくしてステツプSP34において、今までリズム音信号
発生回路(TG2)29において発生されていたリズム音の
音量を表すリズムボリユームデータRHYVOL2をリズムボ
リユームデータ一時待避用データRHYVOL1として一時待
避させた後、現在時点においてi番目のパツドPAD
(i)が操作されたことにより得られたパツドタツチ検
出データS3を表す新たなパツド別タツチデータVOLREG
(i)をリズムボリユームデータRHYVOL2に書き換える
ことによつて当該最も新しいパツドタツチ検出データS3
に対応する音量にリズム音の音量を変更させる。
Thus, in step SP34, the rhythm volume data RHYVOL2 representing the volume of the rhythm sound that has been generated in the rhythm sound signal generation circuit (TG2) 29 is temporarily saved as rhythm volume data temporary saving data RHYVOL1. i-th pad PAD
New pad-specific touch data VOLREG representing the pad touch detection data S3 obtained by operating (i).
By rewriting (i) to the rhythm volume data RHYVOL2, the latest pad touch detection data S3
The volume of the rhythm sound is changed to the volume corresponding to.

これに対してステツプSP33において否定結果が得られ
た時には、CPU6はステツプSP35に移つて、今までリズム
ボリユームデータ一時待避用レジスタREG4に保留されて
いたリズムボリユームデータ一時待避用データRHYVOL1
をリズムボリユームデータレジスタREG5のリズムボリユ
ームデータRHYVOL2として書き換えた後、当該リズムボ
リユームデータRHYVOL2をリズム音信号発生回路(TG2)
29へ、リズム音発生情報S13として送出する。
On the other hand, when a negative result is obtained in step SP33, the CPU 6 shifts to step SP35 to store the rhythm volume data temporary save data RHYVOL1 which has been held in the rhythm volume data temporary save register REG4.
Is rewritten as rhythm volume data RHYVOL2 of the rhythm volume data register REG5, and then the rhythm volume data RHYVOL2 is converted to a rhythm sound signal generation circuit (TG2).
29, and is transmitted as rhythm sound generation information S13.

かくしてCPU6は一度リズムボリユームデータ一時待避
用データRHYVOL1として保留した以前のリズムボリユー
ムデータの音量でリズム音を発生させるように制御させ
る。
Thus, the CPU 6 controls to generate a rhythm sound at the volume of the previous rhythm volume data temporarily held as rhythm volume data temporary save data RHYVOL1.

この結果CPU6はステツプSP34においてフイルインが割
り当てられたパツドPAD(i)を1回叩くことによつて
当該フイルイン演奏の音量をパツドPAD(i)に与えた
演奏操作量の強さに応じた演奏量に一旦切り換えると共
に、その後同じパツドPAD(i)を任意の時点で叩いた
とき、ステツプSP35においてフイルイン演奏の音量を元
の音量に戻すようにすることができる。
As a result, by hitting the pad PAD (i) to which the file-in is assigned once in step SP34, the CPU 6 adjusts the volume of the file-in performance to the pad PAD (i) according to the intensity of the performance operation amount given to the pad-PAD (i). When the same pad PAD (i) is hit at an arbitrary time thereafter, the volume of the file-in performance can be returned to the original volume in step SP35.

その結果演奏者の好みに応じて一段と賑やかなフイル
イン演奏をなし得る。
As a result, a lively file-in performance can be achieved according to the player's preference.

CPU6はステツプSP34若しくはSP35の処理が終了したと
き、又は上述のステツプSP31において否定結果が得られ
たとき、ステツプSP41に移る。このステツプSP41はレジ
スタ25(第3図)のリズム走行フラグレジスタREG8のリ
ズム走行フラグRUNが論理「0」であり(このことはリ
ズム演奏状態にはないことを意味する)、かつスタート
スイツチ機能割当パツドナンバレジスタREG6のスタート
スイツチ機能割当パツドナンバデータSTREGの内容が値
iであるか否かの判断をする。
When the processing in step SP34 or SP35 is completed, or when a negative result is obtained in step SP31, the CPU 6 shifts to step SP41. In this step SP41, the rhythm running flag RUN of the rhythm running flag register REG8 of the register 25 (FIG. 3) is logic "0" (this means that the rhythm is not in the rhythm playing state), and the start switch function is assigned. It is determined whether or not the content of the start switch function assignment pad number data STREG of the pad number register REG6 is a value i.

ここで肯定結果が得られると、このことはスタートス
イツチ機能が当該パツドPAD(i)に割り当てられてい
るが、現在時点においてリズム演奏が開始していないこ
とを意味し、このときCPU6はステツプSP42に移つてスタ
ートサブルーチンを実行する。
If a positive result is obtained here, this means that the start switch function is assigned to the pad PAD (i), but the rhythm performance has not started at the present time, and the CPU 6 proceeds to step SP42. To execute the start subroutine.

このスタートサブルーチンSP42に入るとCPU6は、第5
図に示すようにステツプSP43においてリズム走行フラグ
データRUNを論理「1」のデータに書き換えると共に、
レジスタ25(第3図)のテンポカウントレジスタREG9の
テンポカウントデータTCNTを値「0」に書き換えること
により当該テンポカウントレジスタREG9をリセツトした
後、ステツプSP44からパツドスイツチオンイベントサブ
ルーチンRT2(第4図)に戻ることによりステツプSP8、
SP2を介してメインルーチンに戻る。
When the start subroutine SP42 is entered, the CPU 6
As shown in the figure, in step SP43, the rhythm running flag data RUN is rewritten to data of logic "1".
After the tempo count register REG9 is reset by rewriting the tempo count data TCNT of the tempo count register REG9 of the register 25 (FIG. 3) to a value "0", the pad switch-on event subroutine RT2 (FIG. ) By returning to step SP8,
Return to the main routine via SP2.

かくしてCPU6はi番目のパツドPAD(i)にスタート
スイツチ機能が割り当てられていること、及びしかしリ
ズム演奏が開始していないことを確認したとき、リズム
演奏を開始する状態に設定し直す。
Thus, when the CPU 6 confirms that the start switch function has been assigned to the i-th pad PAD (i) and that the rhythm performance has not started, the CPU 6 resets the state to the rhythm performance start.

これに対してステツプSP41において否定結果が得られ
たとき、このことは当該パツドPAD(i)にスタートス
イツチ機能が割り当てられた状態においてすでに自動リ
ズム演奏状態になつていること、又は当該パツドPAD
(i)にはスタートスイツチ機能が割り当てられていな
いことを意味する。このときCPU6はリズム演奏を開始さ
せる必要はないので、ステツプSP42をジヤンプしてステ
ツプSP8、SP2を介してメインルーチンに戻る。
On the other hand, if a negative result is obtained in step SP41, this means that the pad PAD (i) is already in the automatic rhythm playing state in a state where the start switch function is assigned to the pad PAD (i), or the pad PAD (i)
(I) means that the start switch function is not assigned. At this time, the CPU 6 does not need to start the rhythm performance, so jumps to step SP42 and returns to the main routine via steps SP8 and SP2.

(4)スタートスイツチオンイベントサブルーチン CPU6はスタートスイツチオンイベントサブルーチンRT
3(第6図)を次のようにして実行する。
(4) Start switch-on event subroutine CPU6 uses the start switch-on event subroutine RT
Step 3 (FIG. 6) is performed as follows.

すなわちCPU6はステツプSP51においてスタートスイツ
チSTにオンイベントが生じたた否かを判断し、肯定結果
が得られたときステツプSP52においてパツドアサインス
イツチPADAが同時にオン操作されているか否かの判断を
する。
That is, the CPU 6 determines whether or not an on-event has occurred in the start switch ST in step SP51, and determines whether or not the pad sign switch PADA is simultaneously turned on in step SP52 when a positive result is obtained. .

ここで否定結果が得られると、このことは演奏者がス
タートスイツチSTだけをオン操作していること(フイル
インスイツチFIL、パツドアサインスイツチPADAをオン
操作していないこと)を意味する。このときCPU6はステ
ツプSP53においてリズム走行フラグRUNが論理「1」か
否かを判断をし、肯定結果が得られたとき当該リズム走
行フラグデータRUNを論理「0」に書換えた後、ステツ
プSP55からメインルーチンに戻る。
If a negative result is obtained here, this means that the player has only turned on the start switch ST (not turned on the file switch FIL and the pad sign switch PADA). At this time, the CPU 6 determines whether or not the rhythm running flag RUN is logic "1" in step SP53, rewrites the rhythm running flag data RUN to logic "0" when an affirmative result is obtained, and then proceeds from step SP55. Return to the main routine.

これに対してステツプSP53において否定結果が得られ
たときには、ステツプSP56においてリズム走行フラグデ
ータRUNを論理「1」に書換えると共に、テンポカウン
トデータTCNTを値0にリセツトすることにより、リズム
演奏を開始させた後、ステツプSP55からメインルーチン
に戻る。
On the other hand, if a negative result is obtained in step SP53, the rhythm performance is started by rewriting the rhythm running flag data RUN to logic "1" and resetting the tempo count data TCNT to the value 0 in step SP56. Then, the process returns to the main routine from step SP55.

このようにして、演奏者によつてスタートスイツチST
だけがオン操作された状態において当該パツドPAD
(i)が演奏操作されたときには、それ以前にリズム演
奏状態にあるとき(又はリズム演奏状態にないとき)、
CPU6はリズム演奏を終了させる(又は開始させる)。
In this way, the start switch ST
Only the pad PAD
When (i) is operated, if it is in the rhythm playing state before (or not in the rhythm playing state),
The CPU 6 ends (or starts) the rhythm performance.

これに対してステツプSP51において否定結果が得られ
たとき、及びステツプSP52において肯定結果が得られた
ときには、それぞれステツプSP52、SP53、SP54、及びSP
53、SP54をジヤンプしてステツプSP55からメインルーチ
ンに戻る。
On the other hand, when a negative result is obtained in step SP51 and when a positive result is obtained in step SP52, steps SP52, SP53, SP54 and SP are respectively performed.
Jump to 53 and SP54 and return to the main routine from step SP55.

(5)フイルインスイツチオンイベントサブルーチン またメインルーチンRT0(第2図)のフイルインスイ
ツチオンイベントサブルーチンRT4において、CPU6は第
7図に示すように、ステツプSP61においてフイルインス
イツチFILにオンイベントが生じているか否かの判断を
し、肯定結果が得られたときステツプSP62において同時
にパツドアサインスイツチPADAがオン操作されているか
どうかを判断し、否定結果が得られたときステツプSP63
においてフイルインフラグデータFILFGの内容を反転さ
せた後、ステツプSP64からメインルーチンに戻る。
(5) File Switch On Event Subroutine In the file switch on event subroutine RT4 of the main routine RT0 (FIG. 2), the CPU 6 generates an ON event in the file switch FIL at step SP61 as shown in FIG. It is determined whether or not the pad sign switch PADA has been turned on at the same time in step SP62 when a positive result is obtained, and when a negative result is obtained in step SP63.
After inverting the contents of the file-in flag data FILFG at step SP64, the process returns to the main routine from step SP64.

かくしてCPU6はフイルインスイツチFILがオン操作さ
れるごとにフイルインフラグデータFILFGの内容を反転
させることにより、フイルイン演奏がされているとき
(又はされていないとき)、当該フイルイン演奏を終了
させる(又は開始させる)ような処理を実行する。
Thus, the CPU 6 inverts the content of the file-in flag data FILFG every time the file-in switch FIL is turned on, thereby terminating the file-in performance when the file-in performance is performed (or not performed) (or Start).

これに対してステツプSP61において否定結果が得られ
たとき、及びステツプSP62において肯定結果が得られた
ときには、それぞれステツプSP62、SP63、及びSP63をジ
ヤンプしてステツプSP64からメインルーチンに戻る。
On the other hand, when a negative result is obtained in step SP61 and when a positive result is obtained in step SP62, the steps SP62, SP63, and SP63 are jumped, respectively, and the process returns to the main routine from step SP64.

(6)リズムセレクトサブルーチン メインルーチンRT0(第2図)のリズムセレクトサブ
ルーチンRT5(第8図)のステツプSP71において、操作
パネル部4のその他の操作子OPRに含まれているリズム
選択スイツチ及びフイルインスイツチFILにオンイベン
トが生じたか否かを判断し、肯定結果が得られたときス
テツプSP72に移つて当該リズム選択スイツチによつて選
択されたリズムに対応したパターンメモリ(リズムパタ
ーンデータメモリ27(第1図)に格納されている)の上
位アドレスをセツトすることにより、指定されたリズム
パターンをリズム音信号発生回路(TG2)29にリズム音
発生情報S13として送出した後、ステツプSP73からメイ
ンルーチンに戻る。
(6) Rhythm select subroutine In step SP71 of the rhythm select subroutine RT5 (FIG. 8) of the main routine RT0 (FIG. 2), the rhythm select switch and file in included in the other operators OPR of the operation panel unit 4 It is determined whether or not an ON event has occurred in the switch FIL, and if an affirmative result is obtained, the process proceeds to step SP72 where a pattern memory (rhythm pattern data memory 27 (first 1), the designated rhythm pattern is sent to the rhythm sound signal generation circuit (TG2) 29 as rhythm sound generation information S13, and then the main routine is executed from step SP73. Return.

これに対してステツプSP71において否定結果が得られ
たときCPU6はステツプSP73にジヤンプして当該サブルー
チンを終了する。
On the other hand, when a negative result is obtained in step SP71, the CPU 6 jumps to step SP73 and ends the subroutine.

(7)リズムインタラプトサブルーチン このようにしてCPU6がメインルーチンRT0(第2図)
のループを繰り返し演算処理している間に、テンポ発生
器33からリズムインタラプト信号S16が発生すると、CPU
6は第9図に示すリズムインタラプトルーチンRT10を実
行することによりリズム演奏の制御状態に入る。
(7) Rhythm interrupt subroutine In this way, the CPU 6 causes the main routine RT0 (FIG. 2)
When the rhythm interrupt signal S16 is generated from the tempo generator 33 while the loop of FIG.
6 enters the control state of the rhythm performance by executing the rhythm interrupt routine RT10 shown in FIG.

CPU6はステツプSP75においてリズム走行フラグデータ
RUNが論理「1」か否かを判断し、肯定結果が得られた
とき(このことは現在リズム演奏中であることを意味す
る)、ステツプSP76に移つてフイルインフラグデータFI
LFGと、テンポカウントデータTCNTと、リズムセレクト
サブルーチンRT5(第8図)において指定されたリズム
種類とに対応して決まるリズム音発生情報S13をリズム
音信号発生回路(TG2)29に送出することにより、ノー
マルパターンのリズム音又はフイルインパターンのリズ
ム音を発生させる。
CPU 6 sets the rhythm running flag data in step SP75.
It is determined whether or not RUN is logic "1". If an affirmative result is obtained (this means that the rhythm is currently being played), the flow moves to step SP76 to enter the file-in flag data FI.
The rhythm sound generation information S13 determined according to the LFG, the tempo count data TCNT, and the rhythm type specified in the rhythm select subroutine RT5 (FIG. 8) is transmitted to the rhythm sound signal generation circuit (TG2) 29. A rhythm sound of a normal pattern or a rhythm sound of a file-in pattern is generated.

続いてCPU6はステツプSP77に移つてテンポカウントデ
ータTCNTに「+1」加算し、ステツプSP78に移つて「+
1」加算の結果得られるテンポカウントデータTCNTが値
48になつたか否かの判断をする。
Subsequently, the CPU 6 proceeds to step SP77 to add “+1” to the tempo count data TCNT, and proceeds to step SP78 to add “+”.
1 "Tempo count data TCNT obtained as a result of addition is a value
It is determined whether or not 48 has been reached.

この実施例の場合CPU6はテンポ発生器33から送出され
るリズム情報S15に基づいて、1小節の間に0番目のク
ロツク時間位置から47番目のクロツク時間位置までカウ
ントするようになされ、従つてステツプSP78において肯
定結果が得られたとき(このことは1小節分のリズム演
奏が終了して次の小節に入つたことを意味する)、CPU6
はステツプSP79に移つてテンポカウントデータTCNTを値
0に書き換えることによりリセツトした後、ステツプSP
80においてフイルインフラグデータFILFGが論理「1」
か否かの判断をする。
In the case of this embodiment, the CPU 6 counts from the 0th clock time position to the 47th clock time position during one bar based on the rhythm information S15 sent from the tempo generator 33. If a positive result is obtained in SP78 (this means that the rhythm performance for one measure has ended and the next measure has started), the CPU 6
Goes to step SP79, resets the tempo count data TCNT by rewriting the value to 0, and then returns to step SP79.
At 80, the file-in flag data FILFG is logic "1"
It is determined whether or not.

ここで肯定結果が得られると(このことは現在リズム
音信号発生回路(TG2)29がフイルインパターンでリズ
ム演奏している状態にあることを意味する)、CPU6はス
テツプSP81に移つてフイルインフラグデータFILFGの値
を論理「0」にリセツトした後、次のステツプSP82にお
いてリズムボリユームデータ一時退避用データRHYVOL1
をリズムボリユームデータRHYVOL2に書き直すと共に、
当該リズムボリユームデータRHYVOL2をリズム音信号発
生回路(TG2)29へ、リズム音発生情報S11として送出す
る。
If an affirmative result is obtained here (this means that the rhythm sound signal generation circuit (TG2) 29 is currently performing a rhythm play in a file-in pattern), the CPU 6 proceeds to step SP81 to execute the file-in. After resetting the value of the flag data FILFG to logic "0", in the next step SP82, the rhythm volume data temporary save data RHYVOL1
To rhythm volume data RHYVOL2,
The rhythm volume data RHYVOL2 is sent to the rhythm sound signal generation circuit (TG2) 29 as rhythm sound generation information S11.

このときリズム音信号発生回路(TG2)29は、今まで
リズムボリユームデータRHYVOL2に相当する音量で演奏
していた状態からリズムボリユームデータ一時退避用デ
ータRHYVOL1として保留されていたリズムボリユームに
相当する音量に戻すような発音動作をする。かくして当
該リズムインタラプトルーチンが終了し、CPU6はステツ
プSP83からメインルーチンに戻る。
At this time, the rhythm sound signal generation circuit (TG2) 29 changes from the state where the rhythm volume data RHYVOL2 was previously played at a volume corresponding to the rhythm volume data RHYVOL2 to the volume corresponding to the rhythm volume retained as the rhythm volume data temporary save data RHYVOL1. Perform a sounding operation that returns. Thus, the rhythm interrupt routine ends, and the CPU 6 returns from step SP83 to the main routine.

かくして1小節分のフイルインパターンの演奏が終了
して次の小節が開始すると、リズム音信号発生回路(TG
2)29はノーマルパターンのリズム音を発生する状態に
戻る。
When the performance of the one-measure file-in pattern ends and the next measure starts, the rhythm sound signal generation circuit (TG
2) 29 returns to the state of generating the rhythm sound of the normal pattern.

これに対してステツプSP75において否定結果が得られ
ると(このことは当該リズムインタラプト信号S16が発
生したタイミングにおいてリズム演奏状態にはないこと
を意味する)、このときCPU6はステツプSP83からメイン
ルーチンに戻る。
On the other hand, if a negative result is obtained in step SP75 (this means that the rhythm is not in the rhythm playing state at the timing when the rhythm interrupt signal S16 is generated), the CPU 6 returns to the main routine from step SP83. .

またステツプSP78において否定結果が得られると(こ
のことは未だフイルインパターンで演奏すべき小節が終
了していないことを意味する)、このときCPU6はステツ
プSP83にジヤンプしてメインルーチンに戻る。
If a negative result is obtained in step SP78 (this means that the measure to be played in the file-in pattern has not been completed yet), the CPU 6 jumps to step SP83 and returns to the main routine.

さらにステツプSP80において否定結果が得られると
(このことは現在の演奏状態がフイルインパターンでの
リズム演奏でないことを意味する)、このときCPU6はス
テツプSP83にジヤンプしてメインルーチンに戻る。
Further, if a negative result is obtained in step SP80 (this means that the current performance state is not a rhythm performance in a file-in pattern), the CPU 6 jumps to step SP83 and returns to the main routine.

(8)第1実施例の動作及び効果 以上の構成においてパツドPAD1〜PAD4のうち、i番目
のパツドPAD(i)にスタートスイツチ機能を割り当て
る場合には、演奏者はパツドアサインスイツチPADA及び
スタートスイツチSTを同時にオン操作した状態において
i番目のパツドPAD(i)をステイツクで叩く操作をす
る。
(8) Operation and effect of the first embodiment In the above configuration, when assigning the start switch function to the i-th pad PAD (i) among the pads PAD1 to PAD4, the player must use the pad sign switch PADA and start. When the switch ST is turned on at the same time, an operation of hitting the i-th pad PAD (i) with a stick is performed.

このときCPU6は、パツドスイツチオン信号S2に基づい
てパツドスイツチオンイベントサブルーチンRT2(第4
図)のステツプSP4、SP5において肯定結果を得ることに
より、今までパツドPAD(i)にスタートスイツチ機能
が割り当てられていたか否かに応じて、ステツプSP7又
はSP9において今までの状態を反転させるような処理を
する。
At this time, the CPU 6 executes the pad switch event subroutine RT2 (fourth step) based on the pad switch signal S2.
By obtaining an affirmative result in steps SP4 and SP5 in FIG. 7, the current state is reversed in step SP7 or SP9 depending on whether the start switch function has been assigned to the pad PAD (i). Processing.

かかるCPU6の処理は、電子楽器1が演奏動作状態にあ
るとき演奏者がパツドPAD1〜PAD4のうちの1つをステイ
ツクによつて叩くだけの比較的簡易な操作によつて、ス
タート機能を任意のパツドに割り当てたり、又は解除し
たりすることができる。
The processing of the CPU 6 is such that when the electronic musical instrument 1 is in the playing operation state, the start function can be arbitrarily performed by a relatively simple operation in which the player hits one of the pads PAD1 to PAD4 with a stick. Can be assigned to or released from pads.

つぎにパツドPAD1〜PAD4のうちのi番目のパツドPAD
(i)にフイルインスイツチ機能を割り当てたい場合に
は、演奏者はパツドアサインスイツチPADA及びフイルイ
ンスイツチFILを同時にオン操作した状態でパツドPAD
(i)をステイツクで叩く操作をすれば良い。
Next, the ith pad PAD of the pads PAD1 to PAD4
To assign the file switch function to (i), the player turns on the pad sign switch PADA and the file switch FIL at the same time and turns on the pad PAD.
An operation of hitting (i) with a stake may be performed.

このときCPU6はパツドスイツチオンイベントサブルー
チンRT2(第4図)のステツプSP4−SP5−SP11−SP12の
ループによつて、今までのフイルインスイツチ機能割当
てパツドナンバデータFILREGの状態に応じて当該フイル
インスイツチ機能割当パツドナンバデータFILREGを反転
させるような処理をステツプSP13又はSP14において実行
する。
At this time, the CPU 6 executes the steps SP4-SP5-SP11-SP12 of the pad switch-on event subroutine RT2 (FIG. 4) in accordance with the state of the file switch function assignment pad number data FILREG so far. A process for inverting the file switch function assignment pad number data FILREG is executed in step SP13 or SP14.

従つてこの場合にも演奏の途中で演奏者が簡易な操作
によつてフイルインバータでの演奏を必要に応じて切り
換えることができる。
Therefore, in this case as well, the performer can switch the performance by the file inverter as necessary during the performance by a simple operation.

さらに演奏者がパツドPAD1〜PAD4のうちi番目のパツ
ドPAD(i)に必要に応じて所望のリズム音源を割り当
てたい場合には、演奏者はパツドアサインスイツチPADA
をオン操作している状態においてパツドPAD(i)を操
作すれば良い。
Further, when the player wants to assign a desired rhythm sound source to the i-th pad PAD (i) of the pads PAD1 to PAD4 as necessary, the player performs a pad sign switch PADA.
The pad PAD (i) may be operated in a state where is turned on.

このときCPU6は、パツドスイツチオンイベントサブル
ーチンRT2(第4図)のステツプSP4−SP5−SP11−SP21
−SP22のループによつて、パツド割当音源ナンバデータ
TONE(i)をパツドPAD(i)を叩くごとに「+1」加
算して行くことができ、かくして演奏者が所望とするリ
ズム音源になるまで単純にパツドPAD(i)を叩く操作
をし続けるだけの簡易な操作によつて、所望のリズム音
源を割り当てることができる。
At this time, the CPU 6 executes the steps SP4-SP5-SP11-SP21 of the pad switch-on event subroutine RT2 (FIG. 4).
-Pad assigned sound source number data by the loop of SP22
Each time the pad PAD (i) is hit, TONE (i) can be incremented by “+1”, and thus the player simply hits the pad PAD (i) until the desired rhythm sound source is obtained. A desired rhythm sound source can be assigned by only a simple operation.

またリズム演奏の途中でフイルインパターンを挿入し
た場合には、演奏者は当該リズム音源についてフイルイ
ンスイツチ機能を割り当てるような操作をすれば良い。
When a file-in pattern is inserted in the middle of a rhythm performance, the player may perform an operation to assign a file-in switch function to the rhythm sound source.

すなわち演奏者がパツドアサインスイツチPADA及びフ
イルインスイツチFILを同時にオン操作した状態におい
て当該パツドPAD(i)を叩く操作をした後、パツドア
サインスイツイPADAをオフ操作すれば良い。
That is, after the player has hit the pad PAD (i) with the pad sign switch PADA and the file switch FIL turned on at the same time, the pad sign switch PADA may be turned off.

このときCPU6は第1に、パツドスイツチオンイベント
サブルーチンRT2(第4図)のステツプSP4−SP5−SP11
−SP12−SP14のループによつてフイルインスイツチ機能
を割り当てたパツドナンバデータFILREGに当該パツドPA
D(i)のパツドナンバiを設定することができ、この
状態に続いてステツプSP4−SP31−SP32−SP33−SP34又
はステツプSP4−SP31−SP32−SP33−SP35のループによ
つてリズムボリユームデータRHYVOL2(現在のリズム音
の音量を表す)と、リズムボリユームデータ一時退避用
データRHYVOL1に保留されているリズムボリユームとを
相互に入れ換えることができ、かくしてフイルインパタ
ーンと、ノーマルパターンとの切り換えを簡易な操作に
よつて実行し得る。
At this time, the CPU 6 firstly performs steps SP4-SP5-SP11 of the pad switch-on event subroutine RT2 (FIG. 4).
-The pad PA corresponding to the pad number data FILREG to which the file switch function is assigned by the loop of -SP12-SP14.
The pad number i of D (i) can be set, and following this state, the rhythm volume data RHYVOL2 (step SP4-SP31-SP32-SP33-SP34) or step SP4-SP31-SP32-SP33-SP35 is looped. This indicates the volume of the current rhythm sound) and the rhythm volume held in the rhythm volume data temporary save data RHYVOL1 can be exchanged with each other, thus making it easy to switch between the file-in pattern and the normal pattern Can be performed by

〔2〕第2実施例 第10図はこの発明の第2実施例を示す。この場合に
は、第4図との対応部分に同一符号を付して示すよう
に、CPU6は、第4図のステツプSP34及びSP35の代わり
に、ステツプSP34X及びSP35Xの処理を実行する。
[2] Second Embodiment FIG. 10 shows a second embodiment of the present invention. In this case, the CPU 6 executes the processing of steps SP34X and SP35X instead of steps SP34 and SP35 of FIG. 4, as shown by attaching the same reference numerals to the parts corresponding to FIG.

すなわち第10図の場合、CPU6はステツプSP33において
肯定結果が得られたとき、ステツプSP34Xに移つてリズ
ムボリユームデータRHYVOL2をリズムボリユームデータ
一時退避用データRHYVOL1に保留してパツド別タツチデ
ータVOLREG(i)をリズムボリユームデータRHYVOL2に
書き直すと共に、当該リズムボリユームデータRHYVOL2
を変換データR(RHYVOL2)に変換して変換データレジ
スタREG13(第3図)に書き込んだ後、これをリズム選
択レジスタREG12にリズム選択データRHYSELとして書き
込む。
That is, in the case of FIG. 10, when an affirmative result is obtained in step SP33, the CPU 6 proceeds to step SP34X to hold the rhythm volume data RHYVOL2 in the rhythm volume data temporary save data RHYVOL1 and to make the pad-specific touch data VOLREG (i). To the rhythm volume data RHYVOL2 and the rhythm volume data RHYVOL2
Is converted into conversion data R (RHYVOL2) and written into the conversion data register REG13 (FIG. 3), and then written into the rhythm selection register REG12 as rhythm selection data RHYSEL.

ここで変換データR(RHYVOL2)はリズムボリユーム
データRHYVOL2を音量に基づいて大まかに低域、中域、
高域に分割し、リズムボリユームデータRHYVOL2がそれ
ぞれ低域、又は中域、又は高域にあるとき当該低域、又
は中域、又は高域に対応する変換データR(RHYVOL2)
として第0、第1、第2のリズムを選択することを内容
とするリズム選択信号RHYSELを設定し得るようにする。
Here, the conversion data R (RHYVOL2) is based on the rhythm volume data RHYVOL2 based on the sound volume.
When the rhythm volume data RHYVOL2 is in the low band, the middle band, or the high band, the conversion data R (RHYVOL2) corresponding to the low band, the middle band, or the high band is divided into the high band.
As a result, a rhythm selection signal RHYSEL including the contents of selecting the 0th, 1st, and 2nd rhythms can be set.

これに加えてCPU6はステツプSP34Xにおいてリズムボ
リユームデータRHYVOL2及びリズム選択データRHYSELを
リズム音信号発生回路(TG2)29へ送出する。
In addition, the CPU 6 sends the rhythm volume data RHYVOL2 and the rhythm selection data RHYSEL to the rhythm sound signal generation circuit (TG2) 29 in step SP34X.

このときリズム音信号発生回路(TG2)29は、リズム
選択データRHYSELに基づいて選択したリズムでなるリズ
ム音をリズムボリユームデータRHYVOL2の音量で発生す
る。
At this time, the rhythm sound signal generation circuit (TG2) 29 generates a rhythm sound having the rhythm selected based on the rhythm selection data RHYSEL at the volume of the rhythm volume data RHYVOL2.

またCPU6はステツプSP33において否定結果が得られた
とき、ステツプSP35Xに移つてリズムボリユームデータ
一時退避用データRHYVOL1をリズムボリユームデータRHY
VOL2に戻した後、当該リズムボリユームデータRHYVOL2
及びリズム選択データRHYSELをリズム音信号発生回路
(TG2)29へ送出する。
When a negative result is obtained in step SP33, the CPU 6 shifts to step SP35X and stores the rhythm volume data temporary save data RHYVOL1 in the rhythm volume data RHYVOL1.
After returning to VOL2, the rhythm volume data RHYVOL2
And the rhythm selection data RHYSEL is sent to the rhythm sound signal generation circuit (TG2) 29.

かくしてリズム音信号発生回路(TG2)29はリズム選
択データRHYSELによつて指定されたリズムのリズム音
を、リズムボリユームデータRHYVOL2によつて指定され
た音量で発音する。
Thus, the rhythm sound signal generating circuit (TG2) 29 produces the rhythm sound of the rhythm specified by the rhythm selection data RHYSEL at the volume specified by the rhythm volume data RHYVOL2.

第10図の構成によれば演奏者は、パツドアサインスイ
ツチPADA及びフイルインスイツチFILを同時にオン操作
した状態でパツドPAD(i)を叩く操作をすることによ
つてステツプSP14においてフイルインスイツチ機能を割
り当ててパツドナンバデータFILREGを設定した後、パツ
ドアサインスイツチPADAをオフ操作するだけの簡易な操
作によつて、フイルインパターンと通常パターンとを切
り換える前に、音量と共に音色を変更することができる
ことにより、さらに賑やかな効果を付与することができ
る。
According to the configuration of FIG. 10, the player performs the file switch function at step SP14 by hitting the pad PAD (i) with the pad sign switch PADA and the file switch FIL simultaneously turned on. After setting the pad number data FILREG and changing the tone and the tone before switching between the file-in pattern and the normal pattern, simply turn off the pad sign switch PADA. , A more lively effect can be provided.

〔3〕第3実施例 第11図〜第13図はこの発明の第3実施例を示し、第2
図との対応部分に同一符号を付して示す第11図におい
て、第2図のサブルーチンRT1における初期設定の後、
パツドスイツチオンイベントサブルーチンRT2との間
に、パツドアサインスイツチオンイベントサブルーチン
RT1Xを実行する。
[3] Third Embodiment FIGS. 11 to 13 show a third embodiment of the present invention.
In FIG. 11, in which parts corresponding to those in the figure are assigned the same reference numerals, after the initial setting in the subroutine RT1 in FIG.
Between the pad switch event subroutine RT2 and the pad sign switch event subroutine
Run RT1X.

この実施例の場合32個のリズム音源が用意され、当該
32個のリズム音源が音色に応じて4群の音源群、すなわ
ち0〜7番目のリズム音源群と、8〜15番目のリズム音
源群と、16〜23番目のリズム音源群と、24〜31番目のリ
ズム音源群とにグループ分けされており、各リズム音源
群には同一種類の音色の音源が割り当てられている。
In this embodiment, 32 rhythm sound sources are prepared.
32 rhythm sound sources are divided into four groups according to timbre, that is, 0th to 7th rhythm sound source groups, 8th to 15th rhythm sound source groups, 16th to 23rd rhythm sound source groups, and 24 to 31 rhythm sound source groups. A sound source of the same type of timbre is assigned to each rhythm sound source group.

当該リズム音源群の分け方としては、例えば太鼓系の
音源としてバスドラム、ボンゴ、コンガ、等が複数の楽
器群にまとめられ、またシンバル系の楽器としてハイハ
ツトシンバル、トツプシンバル、リムシヨツト等でなる
1つ又は複数のリズム音源群にまとめられている。
As a method of dividing the rhythm sound source group, for example, a bass drum, a bongo, a conga, etc. are grouped into a plurality of musical instrument groups as a drum-type sound source, and a hi-hat cymbal, a top cymbal, a rim shot, etc. as a cymbal-type instrument. They are organized into one or more rhythm sound source groups.

パツドアサインスイツチオンイベントサブルーチンRT
1Xは第12図に示すような処理プログラムを実行すると共
に、パツドスイツチオンイベントサブルーチンRT2とし
て第13図に示すサブルーチンを実行する。
PAT Door Sign Switch Event Subroutine RT
1X executes a processing program as shown in FIG. 12 and also executes a subroutine shown in FIG. 13 as a pad switch-on event subroutine RT2.

第12図においてCPU6はパツドアサインスイツチオンイ
ベントサブルーチンRT1Xに入ると、ステツプSP85におい
てパツドアサインスイツチPADAにオンイベントが生じた
か否かの判断をし、肯定結果が得られたときステツプSP
86においてi番目の当該パツドPAD(i)に割り当てる
べきパツド割当音源ナンバデータTONE(i)に音源番号
8を加算して新たなパツド割当音源ナンバデータTONE
(i)を指定できるようになされている。
In FIG. 12, when the CPU 6 enters the pad sign switch ON event subroutine RT1X, it determines in step SP85 whether or not an on event has occurred in the pad sign switch PADA.
At 86, the sound source number 8 is added to the pad assigned sound source number data TONE (i) to be assigned to the i-th pad PAD (i), and new pad assigned sound source number data TONE is added.
(I) can be designated.

このステツプSP86における処理は、演奏者がパツドア
サインスイツチPADAをオン操作するごとにパツド割当音
源ナンバデータTONE(i)の内容を「+8」加算するこ
とができることを意味し、このことは0〜7番目、8〜
15番目、16〜23番目、24〜31番目のリズム音源でなる4
つの音源群内の音源番号を飛び飛びに指定できることを
表している。
The processing in this step SP86 means that the content of the pad assigned sound source number data TONE (i) can be added by "+8" every time the player turns on the pad sign switch PADA. 7th, 8 ~
15th, 16th to 23rd, 24th to 31st rhythm sound sources 4
This indicates that sound source numbers in one sound source group can be specified in an intermittent manner.

CPU6は次のステツプSP87において「+8」加算したパ
ツド割当音源ナンバデータTONE(i)が最大音源数32を
超えたか否かの判断をし、肯定結果が得られたときステ
ツプSP88において当該「+8」加算したパツド割当音源
ナンバデータTONE(i)から「−32」を減算することに
より、新たに第1群のリズム音源群(すなわち0〜7番
目の音源)を指定し得るようになされている。
The CPU 6 determines whether or not the pad assigned sound source number data TONE (i) obtained by adding "+8" in the next step SP87 has exceeded the maximum number of sound sources 32. If a positive result is obtained, the "+8" is obtained in step SP88. By subtracting “−32” from the added pad assigned sound source number data TONE (i), a new first rhythm sound source group (that is, 0th to 7th sound sources) can be newly designated.

これに対してステツプSP87において否定結果が得られ
ると、CPU6はステツプSP88をジヤンプしてステツプSP89
からメインルーチンに戻る。
On the other hand, if a negative result is obtained in step SP87, the CPU 6 jumps to step SP88 and proceeds to step SP89.
To return to the main routine.

又はステツプSP85において否定結果が得られると、パ
ツド割当音源ナンバデータTONE(i)に「+8」加算を
するような処理を実行せずにステツプSP89からメインル
ーチンに戻る。
Alternatively, if a negative result is obtained in step SP85, the process returns from step SP89 to the main routine without executing a process of adding "+8" to the pad assigned sound source number data TONE (i).

次にCPU6は第13図のパツドスイツチオンイベントサブ
ルーチンRT2において第4図の場合とは次の点で異なる
ような処理を実行する。
Next, the CPU 6 executes processing in the pad switch event subroutine RT2 of FIG. 13 which differs from the case of FIG. 4 in the following points.

すなわち第4図との対応部分に同一符号を付して示す
第13図において、CPU6はステツプSP4−SP5−SP11−SP21
のループを通つて音源選択スイツチ機能を実現するため
に演奏者が所望の音源を指定するための処理ステツプを
実行する。
That is, in FIG. 13 in which the same reference numerals are given to the parts corresponding to FIG. 4, the CPU 6 performs the steps SP4-SP5-SP11-SP21.
In order to realize the sound source selection switch function through the loop, the player performs a processing step for designating a desired sound source.

すなわちCPU6はステツプSP21においてパツド割当音源
ナンバデータTONE(i)に「+1」加算した後、ステツ
プSP91、SP92、SP93、SP94の判断を順次実行することに
よつて「+1」加算したことにより得られるパツド割当
音源ナンバデータTONE(i)が順次8、16、24、32にな
つたか否かの判断をする。
That is, the CPU 6 adds "+1" to the pad assigned sound source number data TONE (i) in step SP21, and sequentially obtains "+1" by sequentially executing the determinations in steps SP91, SP92, SP93 and SP94. It is determined whether or not the pad assigned sound source number data TONE (i) has sequentially reached 8, 16, 24, or 32.

この判断は、各音源群の先頭番号、すなわち第2群の
先頭番号8、第3群の先頭番号16、第4群の先頭番号2
4、第1群の先頭番号32(すなわち0)になつたか否か
の判断をする。
This determination is based on the head number of each sound source group, that is, the head number 8 of the second group, the head number 16 of the third group, and the head number 2 of the fourth group.
4. It is determined whether or not the first group has reached the leading number 32 (that is, 0).

これらのステツプSP91、SP92、SP93、SP94のいずれか
1つにおいて肯定結果が得られる状態になると、CPU6は
それぞれステツプSP95、SP96、SP97、SP98に移つて第1
群、第2群、第3群、第4群の音源グループの先頭番号
0、8、16、24をセツトすることによつて改めて音源群
の先頭番号の音源から演奏者が選択したい音源を指定し
てステツプSP8においてそれぞれ順次発音できるように
なされている。
When an affirmative result is obtained in any one of these steps SP91, SP92, SP93, and SP94, the CPU 6 moves to steps SP95, SP96, SP97, and SP98, respectively, and proceeds to the first step.
By setting the head numbers 0, 8, 16, and 24 of the sound source groups of the group, the second group, the third group, and the fourth group, the sound source that the player wants to select from the sound sources of the head number of the sound source group is newly specified. Then, in step SP8, it is possible to sequentially generate sounds.

第11図〜第13図の構成によれば、演奏操作子としての
4つのパツドPAD1〜PAD4に対して極端に多い複数例えば
32個の音源を選択して割り当てる際に、音源の音色に基
づいて予め音源群に分割しておき、各音源群ごとに演奏
者が所望の音源を捜すことができるようにしたことによ
り、演奏者が所望の音源を捜す作業をそれほど煩雑にし
ないようにできる。
According to the configuration of FIGS. 11 to 13, an extremely large number of four pads PAD1 to PAD4 as performance operators, for example,
When selecting and assigning 32 sound sources, the sound source is divided into sound source groups in advance based on the tone colors of the sound sources, and the performer can search for the desired sound source for each sound source group. The task of searching for a desired sound source by the user is not so complicated.

〔4〕第4実施例 第14図はこの発明の第4実施例を示すもので、第4図
との対応部分に同一符号を付して示すように、第4図に
ついて上述したと同様にしてステツプSP4−SP5−SP11−
SP12−SP14のループによつてフイルインスイツチ機能割
当パツドナンバデータFILREGを値iに書き換えることに
よつてi番目のパツドPAD(i)にフイルインスイツチ
機能を割り当てる処理を実行した後に、CPU6はステツプ
SP100に移つてi番目のパツドPAD(i)のパツド別タツ
チデータVOLREG(i)をレジスタ25(第3図)のフルイ
ンボリユームデータレジスタREG11にフイルインボリユ
ームデータFILVOLREGとして書き込んだ後、ステツプSP
8、SP2を介してメインルーチンに戻るようにする。
[4] Fourth Embodiment FIG. 14 shows a fourth embodiment of the present invention, in which like parts corresponding to FIG. Step SP4-SP5-SP11-
After rewriting the file switch function assignment pad number data FILREG to the value i by the loop of SP12-SP14, the CPU 6 executes the processing of assigning the file switch function to the i-th pad PAD (i). Step
After moving to SP100, the pad-specific touch data VOLREG (i) of the i-th pad PAD (i) is written to the full involution data register REG11 of the register 25 (FIG. 3) as file involution data FILVOLREG.
8. Return to the main routine via SP2.

このようにしてフイルインスイツチ機能割当パツドナ
ンバデータFILREG及びフイルインボリユームデータFILV
OLREGの設定が済んだ後演奏者がパツドアサインスイツ
チPADAをオフ操作すると、CPU6はステツプSP4−SP31−S
P32−SP33の処理ルーチンの処理を実行した後ステツプS
P34Yの処理をするようになされている。
In this manner, the file switch function assignment pad number data FILREG and the file
When the performer turns off the pad sign switch PADA after setting the OLREG, the CPU 6 executes steps SP4-SP31-S.
Step S after executing the processing of the processing routine of P32-SP33
P34Y processing is performed.

このステツプSP34Yの処理は、第4図のステツプSP34
の処理に置き換わるもので、まずリズムボリユームデー
タRHYVOL2をリズムボリユームデータ一時退避用データR
HYVOL1に一旦保留すると共に、上述のSP100において設
定されたフイルインボリユームデータFILVOLREGをリズ
ムボリユームデータRHYVOL2に設定した後、当該リズム
ボリユームデータRHYVOL2をリズム音信号発生回路(TG
2)29へ送出するようになされている。
The processing in step SP34Y is the same as step SP34 in FIG.
First, the rhythm volume data RHYVOL2 is replaced with the rhythm volume data temporary save data R
HYVOL1 is temporarily held, and the file-in volume data FILVOLREG set in the above-described SP100 is set in the rhythm volume data RHYVOL2, and then the rhythm volume data RHYVOL2 is stored in the rhythm sound signal generation circuit (TG
2) It is sent to 29.

第14図の構成によれば、フイルインスイツチ機能をi
番目のパツドPAD(i)に割り当てる際に(ステツプSP1
4)、ほぼこれと同時にパツド別タツチデータVOLREG
(i)をフイルインボリユームデータFILVOLREGとして
フイルインボリユームデータレジスタREG11に登録して
おくようにしたことにより、一段と適切なリズムボリユ
ームデータに相当する音量のリズム音を発生させること
ができる。
According to the configuration of FIG. 14, the file switch function
When assigning to the pad PAD (i) (step SP1
4) Almost at the same time, touch data VOLREG by pad
By registering (i) as file-involume data FILVOLREG in the file-involume data register REG11, a rhythm sound having a volume corresponding to more appropriate rhythm volume data can be generated.

〔5〕他の実施例 (1) 第4図、第13図、第14図においては、ステツプ
SP42においてスタートサブルーチンの処理を実行した
後、ステツプSP8においてパツド割当音源ナンバデータT
ONE(i)の音源を発音させ、その後ステツプSP2からメ
インルーチンに戻るようにしたが、ステツプSP8の発音
処理を実行せずにステツプSP42から直ちにメインルーチ
ンに戻るようにしても良い。
[5] Other embodiments (1) In FIG. 4, FIG. 13, and FIG.
After executing the processing of the start subroutine in SP42, the pad assigned sound source number data T
Although the sound source of ONE (i) is sounded, and then the process returns to the main routine from step SP2, the sound source of ONE (i) may be returned to the main routine immediately from step SP42 without executing the sound generation process of step SP8.

(2) 第11図〜第13図の実施例においては、パツドア
サインスイツチPADAを1回オン操作した状態でパツドPA
D(i)を叩く操作をするごとに別のリズム音源群を選
択するようにしたが、リズム音源群の選択の仕方はこれ
に限らず、例えばパツドアサインスイツチPADAを所定時
間(例えば1秒間)以内に2回以上オン操作した場合に
限り別のリズム音源群を選択するようにしても良い。
(2) In the embodiment shown in FIGS. 11 to 13, the pad PA is operated while the pad sign switch PADA is turned on once.
Each time the player hits D (i), another rhythm sound source group is selected. However, the method of selecting the rhythm sound source group is not limited to this. Alternatively, another rhythm sound source group may be selected only when the on operation is performed two or more times within the range.

この場合パツドアサインスイツチPADAを1回オン操作
したときは、前回選択されたリズム音源群と同一のリズ
ム音源群が再度選択され、この状態においてパツドアサ
インスイツチPADAをオン操作しながらパツドPAD(i)
を操作することにより同一のリズム音源群内のリズム音
源を選択することができるようにし得る。
In this case, when the pad sign switch PADA is turned on once, the same rhythm sound source group as the previously selected rhythm sound source group is selected again, and in this state, the pad pad (PAD) is turned on while the pad sign switch PADA is turned on. i)
By operating, the rhythm sound source in the same rhythm sound source group can be selected.

(3) 上述の実施例においては、リズム音源群を指定
するにつきパツド割当音源ナンバデータTONE(i)を基
準にして指定する場合について述べたが、これに代え、
リズム音源群を構成している音色ROMのバンクナンバを
指定したり、リズム音源群ごとに別個の音色ROMパツク
を形成し、各パツクを指定するようにしても上述の場合
と同様の効果を得ることができる。
(3) In the above embodiment, the case where the rhythm sound source group is specified based on the pad assigned sound source number data TONE (i) has been described.
Even if the bank number of the tone ROM constituting the rhythm sound source group is designated, or a separate tone ROM pack is formed for each rhythm sound source group, and each pack is designated, the same effect as in the above case can be obtained. be able to.

(4) 上述の実施例においては、演奏操作子としてパ
ツドを有する電子打楽器部の各パツドにスタートスイツ
チ機能、フイルインスイツチ機能、リズム音源選択スイ
ツチ機能を割り当てるようにした場合について述べた
が、割り当てる対象はこれに限らず、例えば鍵盤部2の
キー等のように、本来演奏操作子としての機能をもつも
のに広くこの発明を適用し得る。
(4) In the above-described embodiment, a case has been described in which the start switch function, the file switch function, and the rhythm sound source selection switch function are assigned to each pad of the electronic percussion unit having pads as performance operators. The present invention is not limited to this, and the present invention can be widely applied to, for example, keys having a function as performance operators, such as keys of the keyboard unit 2.

(5) 上述の実施例においては、演奏操作子に割り当
てるべき機能として、スタートスイツチ機能、フイルイ
ンスイツチ機能、リズム音源選択スイツチ機能を割り当
てるようにした場合について述べたが、その他必要に応
じて種々の機能を指定できるようにしても良い。
(5) In the above embodiment, the start switch function, the file switch function, and the rhythm sound source selection switch function have been described as the functions to be assigned to the performance controls. May be specified.

(6) 上述の実施例においては、リズムパターンとし
てノーマルパターン以外にフイルインパターンを挿入す
るようにした場合について述べたが、挿入するリズムパ
ターンとしてはこれに限らず、例えばブレークパター
ン、エンドパターン、バリエーシヨン等のような他のリ
ズムパターンを適用しても良い。
(6) In the above embodiment, a case was described in which a file-in pattern was inserted in addition to the normal pattern as the rhythm pattern. However, the rhythm pattern to be inserted is not limited to this, and for example, a break pattern, an end pattern, Other rhythm patterns such as variations may be applied.

(7) 上述の実施例においては、リズム演奏における
スイツチ機能を割り当てるべき演奏操作子として、4つ
のパツドPAD1〜PAD4を用いた場合について述べたが、演
奏操作子の数はこれに限らず、1つ又は複数にし得る。
(7) In the above embodiment, the case where the four pads PAD1 to PAD4 are used as the performance operators to which the switch function in the rhythm performance is to be assigned has been described. One or more.

〔発明の効果〕〔The invention's effect〕

上述のようにこの発明によれば、リズム演奏時に必要
な数多くのリズム音源の種類のうちから必要に応じて所
望のリズム音源の種類を、所望の演奏操作子に、割り当
てることができるようにしたことにより、従来の場合と
比較して一段と少ない演奏操作子を用いて一段と多種類
のリズム音源を簡易な操作によつて選択指定し得る電子
楽器を容易に実現できる。
As described above, according to the present invention, a desired rhythm sound source type can be assigned to a desired performance operator as needed from among a large number of rhythm sound source types required for rhythm performance. This makes it possible to easily realize an electronic musical instrument capable of selecting and specifying one or more types of rhythm sound sources by a simple operation, using one or more performance operators as compared with the conventional case.

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

第1図はこの発明による電子楽器の第1実施例を示すブ
ロツク図、第2図は第1図のCPU6のメインルーチンを示
すフローチヤート、第3図は第1図のレジスタ25の構成
を示す略線図、第4図は第2図のパツドスイツチオンイ
ベントサブルーチンを示すフローチヤート、第5図は第
4図のスタートサブルーチンを示すフローチヤート、第
6図、第7図、第8図は第2図のスタートスイツチオン
イベントサブルーチン、フイルインスイツチオンイベン
トサブルーチン、リズムセレクトサブルーチンを示すフ
ローチヤート、第9図はリズムインタラプトサブルーチ
ンを示すフローチヤート、第10図はこの発明の第2実施
例におけるパツドスイツチオンイベントサブルーチンを
示すフローチヤート、第11図、第12図、第13図はこの発
明の第3実施例におけるメインルーチン、パツドアサイ
ンスイツチオンイベントサブルーチン、パツドスイツチ
オンイベントサブルーチンを示すフローチヤート、第14
図はこの発明の第4実施例におけるパツドスイツチオン
イベントサブルーチンを示すフローチヤートである。 1……電子楽器、2……鍵盤部、3……打楽器部、4…
…パネル操作部、6……CPU、22……パツドスイツチ回
路、23……パツドタツチ検出回路、24……操作子スイツ
チ回路、25……レジスタ、26……音源ナンバメモリ、27
……リズムパターンデータメモリ、28……鍵盤用楽音信
号発生回路(TG1)、29……リズム音信号発生回路(TG
2)、32……サウンドシステム。
FIG. 1 is a block diagram showing a first embodiment of an electronic musical instrument according to the present invention, FIG. 2 is a flowchart showing a main routine of the CPU 6 in FIG. 1, and FIG. 3 shows a configuration of a register 25 in FIG. FIG. 4 is a flow chart showing a pad switch-on event subroutine of FIG. 2, FIG. 5 is a flow chart showing a start subroutine of FIG. 4, FIG. 6, FIG. 7, and FIG. FIG. 2 is a flowchart showing a start switch event subroutine, a file switch event subroutine, a rhythm select subroutine, FIG. 9 is a flowchart showing a rhythm interrupt subroutine, and FIG. 10 is a flowchart showing a patch in a second embodiment of the present invention. FIG. 11, FIG. 12, and FIG. 13 are flow charts showing the switch event subroutine. The main routine, Patsu door sign Sui Tutsi ON event subroutine, the flow chart showing the Patsu de Sui Tutsi ON event subroutine, 14
FIG. 11 is a flowchart showing a pad switch event subroutine according to a fourth embodiment of the present invention. 1 ... electronic musical instrument, 2 ... keyboard part, 3 ... percussion instrument part, 4 ...
... Panel operation unit, 6 ... CPU, 22 ... Pad switch circuit, 23 ... Pad touch detection circuit, 24 ... Operator switch circuit, 25 ... Register, 26 ... Sound source number memory, 27
… Rhythm pattern data memory, 28… Musical tone signal generation circuit for keyboard (TG1), 29… Rhythm sound signal generation circuit (TG
2), 32 ... Sound system.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】演奏者の操作に応じて各々が操作情報を発
生する複数の演奏操作子と、 前記複数の演奏操作子のそれぞれに割り当てるリズム音
源の種別を表すリズム音種類情報を、複数の情報を1グ
ループとしかつ異なるグループには同一のリズム音源を
重複して含まない複数のグループ分、記憶するリズム音
種類グループ記憶手段と、 前記リズム音種類グループ記憶手段に記憶された複数の
グループの中から所望のグループを選択するグループ選
択手段と、 前記演奏操作子に割り当てられたリズム音源の種別を表
すリズム音種類情報をアサイン情報として記憶するアサ
イン情報記憶手段と、 前記演奏操作子の操作に応答して該演奏操作子に割り当
てられるべきリズム音種類情報を前記グループ選択手段
で選択されたグループ内で変更すると共に、この変更さ
れたリズム音種類情報をアサイン情報としてアサイン情
報記憶手段に登録する登録手段と を具えることを特徴とする電子楽器。
A plurality of performance operators, each of which generates operation information in response to a player's operation, and a plurality of rhythm sound type information indicating the type of rhythm sound source assigned to each of the plurality of performance operators. Rhythm sound type group storage means for storing a plurality of groups that do not include the same rhythm sound source in different groups as information and form a different group, and a plurality of groups stored in the rhythm sound type group storage means. Group selection means for selecting a desired group from among them; assignment information storage means for storing rhythm sound type information representing the type of rhythm sound source assigned to the performance operator as assignment information; In response to changing the rhythm sound type information to be assigned to the performance operator within the group selected by the group selecting means, A registration means for registering the changed rhythm sound type information as assignment information in an assignment information storage means.
JP62332271A 1987-12-29 1987-12-29 Electronic musical instrument Expired - Fee Related JP2580662B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62332271A JP2580662B2 (en) 1987-12-29 1987-12-29 Electronic musical instrument
US07/291,147 US5001959A (en) 1987-12-29 1988-12-28 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62332271A JP2580662B2 (en) 1987-12-29 1987-12-29 Electronic musical instrument

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP8049507A Division JP2671888B2 (en) 1996-02-13 1996-02-13 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH01177090A JPH01177090A (en) 1989-07-13
JP2580662B2 true JP2580662B2 (en) 1997-02-12

Family

ID=18253078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62332271A Expired - Fee Related JP2580662B2 (en) 1987-12-29 1987-12-29 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2580662B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5247128A (en) * 1989-01-27 1993-09-21 Yamaha Corporation Electronic musical instrument with selectable rhythm pad effects
JPH03203784A (en) * 1989-12-30 1991-09-05 Yamaha Corp Electronic musical instrument
JP2611464B2 (en) * 1990-01-10 1997-05-21 ヤマハ株式会社 Electronic musical instrument tone setting device
JPH04240892A (en) * 1991-01-25 1992-08-28 Kawai Musical Instr Mfg Co Ltd Digital drum
JP2586226B2 (en) * 1991-03-22 1997-02-26 ヤマハ株式会社 Electronic musical instrument
JPH04294398A (en) * 1991-03-22 1992-10-19 Kawai Musical Instr Mfg Co Ltd Electronic percussion instrument

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0521116Y2 (en) * 1985-05-20 1993-05-31
JPS61282896A (en) * 1985-06-07 1986-12-13 ヤマハ株式会社 Rhythm sound source alloter
JPS62141587A (en) * 1985-12-16 1987-06-25 カシオ計算機株式会社 Electronic musical apparatus
JPH0631973B2 (en) * 1985-12-28 1994-04-27 カシオ計算機株式会社 Electronic musical instrument

Also Published As

Publication number Publication date
JPH01177090A (en) 1989-07-13

Similar Documents

Publication Publication Date Title
JP2623809B2 (en) Automatic key press indicating device
US5001959A (en) Electronic musical instrument
JP2580662B2 (en) Electronic musical instrument
JPS61188594A (en) Automatic rhythm performer
JP2610919B2 (en) Performance operation input device
JP2516085B2 (en) Automatic playing device
JPH04234090A (en) Electronic musical instrument
JP2671888B2 (en) Electronic musical instrument
JP2580662C (en)
JPH0769698B2 (en) Automatic accompaniment device
JP2546467B2 (en) Electronic musical instrument
JP2530744Y2 (en) Electronic musical instrument
JP3024338B2 (en) Automatic performance device
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP3141448B2 (en) Automatic accompaniment device
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP2600555B2 (en) Electronic musical instrument
JPH01177092A (en) Automatic rhythm device
JP2636393B2 (en) Automatic performance device
JP2503617Y2 (en) Automatic playing device
JPH0736394Y2 (en) Electronic musical instrument
JP3275341B2 (en) Tone generator
JPH03213899A (en) Electronic keyboard musical instrument
JPS62159192A (en) Electronic musical apparatus
JPH02126291A (en) Automatic accompaniment device

Legal Events

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