JP3426379B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP3426379B2
JP3426379B2 JP01802595A JP1802595A JP3426379B2 JP 3426379 B2 JP3426379 B2 JP 3426379B2 JP 01802595 A JP01802595 A JP 01802595A JP 1802595 A JP1802595 A JP 1802595A JP 3426379 B2 JP3426379 B2 JP 3426379B2
Authority
JP
Japan
Prior art keywords
tone information
musical
musical tone
information table
kit
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
JP01802595A
Other languages
Japanese (ja)
Other versions
JPH08211877A (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.)
Roland Corp
Original Assignee
Roland Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland Corp filed Critical Roland Corp
Priority to JP01802595A priority Critical patent/JP3426379B2/en
Publication of JPH08211877A publication Critical patent/JPH08211877A/en
Application granted granted Critical
Publication of JP3426379B2 publication Critical patent/JP3426379B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、楽音情報を記憶し、そ
の楽音情報に基づいて楽音を生成する電子楽器に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument which stores musical tone information and generates a musical tone based on the musical tone information.

【0002】[0002]

【従来の技術】従来より、楽音情報を記憶し、その記憶
された楽音情報に基づいて楽音を生成する技術が提案さ
れている。この技術において、例えば各ノート番号に対
応して、インストルメント番号(ネーム),ピッチ,デ
ィケイ,レベル等、1つの楽音を規定する互いに関連す
る楽音情報が規定され、その楽音情報が複数のノート番
号に対応して複数配列されてなる、いわゆるキットと呼
称される楽音情報テーブルが使用される場合がある。こ
の楽音情報テーブルを使用した電子楽器においては、複
数の音楽スタイルに対応するため複数の楽音情報テーブ
ルを記憶しておき、演奏者は、これら複数の楽音情報テ
ーブルの中の1つを選んで使用する。楽音情報テーブル
がリズム音に関するものである場合には、複数の楽音情
報テーブルの一部にドラム音の楽音情報が記憶され、他
の部分にパーカッション音の楽音情報が記憶されてい
る。ここでリズム音に関する楽音情報テーブルに関し、
ドラム音が異なってもパーカッション音は共通である場
合が多く、このためパーカッション音の楽音情報は複数
の楽音情報テーブルにわたって同じである場合が多い。
このようにパーカッション音が共通であっても、楽音情
報テーブルの一部分にその楽音情報テーブル特有の情報
が記憶されているため、別々に複数の楽音情報テーブル
を用意する必要がある。
2. Description of the Related Art Conventionally, there has been proposed a technique for storing musical tone information and generating a musical tone based on the stored musical tone information. In this technology, for example, corresponding musical tone information defining one musical tone such as an instrument number (name), pitch, decay, level, etc. is defined corresponding to each note number, and the musical tone information includes a plurality of note numbers. There is a case where a musical tone information table called a so-called kit, which is arranged in a plurality corresponding to the above, is used. In an electronic musical instrument using this musical tone information table, a plurality of musical tone information tables are stored in order to correspond to a plurality of musical styles, and the performer selects and uses one of these musical tone information tables. To do. When the musical tone information table is related to rhythm sounds, the musical tone information of the drum sound is stored in a part of the plurality of musical tone information tables, and the musical tone information of the percussion sound is stored in the other part. Here, regarding the tone information table for rhythm sounds,
In many cases, the percussion sounds are common even if the drum sounds are different, so that the musical sound information of the percussion sounds is often the same across a plurality of musical sound information tables.
Even if the percussion sounds are common in this way, since a part of the musical tone information table stores information specific to the musical tone information table, it is necessary to separately prepare a plurality of musical tone information tables.

【0003】[0003]

【発明が解決しようとする課題】ここで、楽音情報テー
ブルの、一部の楽音情報のみを変更したい場合に、その
一部の楽音情報を書き換えるか、もしくは新たな楽音情
報テーブルを選択する必要がある。ある楽音情報テーブ
ル内の、一部の楽音情報を書き換えたとすると、それま
でそこに記録されていた元の楽音情報が失われてしまう
ことになり、また変更したい楽音情報が多いとその楽音
情報の書き換えも非常に面倒である。さらに、例えばリ
ズム音に関する楽音情報テーブルでは、ある楽音情報テ
ーブル中のパーカッション音の楽音情報を書き換えて所
望のパーカッション音を得たとしても、演奏者がドラム
音のみを変更しようとして所望のドラム音に対応した他
の楽音情報テーブルを選ぶと、その楽音情報テーブルの
パーカッション音の楽音情報は書き換えられていないた
め、所望のパーカッション音が得られず、そのパーカッ
ション音を得るためには再度書き換えを必要とし煩雑で
ある。
When it is desired to change only a part of the musical tone information in the musical tone information table, it is necessary to rewrite a portion of the musical tone information or select a new musical tone information table. is there. If a part of the musical tone information in a certain musical tone information table is rewritten, the original musical tone information recorded up to that point will be lost. Rewriting is also very troublesome. Furthermore, for example, in a musical tone information table regarding rhythm sounds, even if the musical tone information of a percussion tone in a certain musical tone information table is rewritten to obtain a desired percussion tone, the performer tries to change only the drum tone to obtain the desired drum tone. When another compatible tone information table is selected, the tone information of the percussion tone in that tone information table is not rewritten, so the desired percussion tone cannot be obtained, and rewriting is required to obtain that percussion tone. It is complicated.

【0004】この問題を解決するために、複数の楽音情
報テーブルを例えばドラム音の楽音情報テーブルとパー
カッション音の楽音情報テーブルとの2つの集合に分割
して、それらの集合それぞれから各所望の楽音情報テー
ブルを選択し、それら選択した2つの楽音情報テーブル
を組み合わせて楽音を生成することが考えられる。しか
し、この場合であっても、変更したい楽音情報がドラム
音の一部であったり、ドラム音の一部とパーカッション
音の一部に跨がる場合等に、上記と同じ問題が生じるこ
とになる。すなわち、パーカッション音の一部を書き換
えたとするとその書き換え前の情報は失われてしまい、
また、パーカッション音用の他の楽音情報テーブルを選
択するとその楽音情報テーブルについてもう一度書き換
えを行なう必要とする等、取扱いが煩雑となることが考
えられる。したがってドラム音の楽音情報テーブル、パ
ーカッション音の楽音情報テーブルといったように楽音
情報テーブルのジャンルを予め固定的に定めておいて
も、問題の根本的な解決とはならない。
In order to solve this problem, a plurality of musical tone information tables are divided into two sets, for example, a musical tone information table for drum sounds and a musical tone information table for percussion sounds, and each desired musical tone is generated from each of these sets. It is conceivable to select an information table and combine the two selected musical sound information tables to generate a musical sound. However, even in this case, the same problem as described above occurs when the musical tone information to be changed is a part of the drum sound, or when the part of the drum sound and the part of the percussion sound are straddled. Become. That is, if you rewrite part of the percussion sound, the information before rewriting will be lost,
Further, if another musical tone information table for percussion tone is selected, it is necessary to rewrite the musical tone information table again, which may complicate the handling. Therefore, even if the genre of the musical tone information table such as the musical tone information table of the drum sound and the musical tone information table of the percussion sound is fixedly determined in advance, it is not a fundamental solution to the problem.

【0005】本発明は、上記事情に鑑み、楽音情報テー
ブルを構成する楽音情報の集合のうち任意の部分集合に
ついて、変更前の情報を失うことなく楽音情報の変更・
追加を行なうことができ、また楽音情報テーブルを切り
換えた場合であっても、一度行った変更・追加をその切
り換えた楽音情報テーブルに反映させることのできる電
子楽器を提供することを目的とする。
In view of the above-mentioned circumstances, the present invention changes the tone information of an arbitrary subset of the tone information set forming the tone information table without losing the information before the change.
It is an object of the present invention to provide an electronic musical instrument that can be added and can reflect the change / addition made once even in the case of switching the musical tone information table in the switched musical tone information table.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
の本発明の電子楽器は、1つの楽音を規定する楽音情報
が複数配列されてなる楽音情報テーブルを記憶してお
き、その楽音情報テーブルから抽出された楽音情報に基
づいて楽音を生成する電子楽器において、 (1)楽音情報が複数配列されてなる複数の第1の楽音
情報テーブルを記憶する第1の記憶手段 (2)楽音情報が複数配列されてなる複数の第2の楽音
情報テーブルを記憶する第2の記憶手段 (3)上記第1の記憶手段に記憶された複数の第1の楽
音情報テーブルの中から1つの第1の楽音情報テーブル
を選択するとともに上記第2の記憶手段に記憶された複
数の第2の楽音情報テーブルの中から1つの第2の楽音
情報テーブルを選択する楽音テーブル選択手段 (4)上記楽音テーブル選択手段により選択された第1
の楽音情報テーブルの中から所望の楽音情報を抽出し、
その第1の楽音情報テーブルに所望の楽音情報が存在し
ない場合に、上記楽音テーブル選択手段により選択され
た第2の楽音情報テーブルの中から所望の楽音情報を抽
出する楽音情報抽出手段 を備えたことを特徴とするものである。
The electronic musical instrument of the present invention for achieving the above object stores a tone information table in which a plurality of tone information defining one tone is arranged, and the tone information table is stored. In an electronic musical instrument that generates a musical tone based on the musical tone information extracted from (1) a first storage means (2) for storing a plurality of first musical tone information tables in which a plurality of musical tone information are arranged, Second storage means for storing a plurality of second tone information tables arranged in plurality (3) One of the plurality of first tone information tables stored in the first storage means Musical sound table selecting means (4) for selecting a musical sound information table and for selecting one second musical sound information table from the plurality of second musical sound information tables stored in the second storage means. First selected by the cable selection means
Extract desired tone information from the tone information table of
If the desired musical tone information does not exist in the first musical tone information table, the musical tone information extracting means for extracting the desired musical tone information from the second musical tone information table selected by the musical tone table selecting means is provided. It is characterized by that.

【0007】[0007]

【作用】本発明の電子楽器は、第1の楽音情報テーブル
と第2の楽音情報テーブルを用意し、先ず、第1の楽音
情報テーブルの中から所望の楽音情報を抽出し、その第
1の楽音情報テーブルに所望の楽音情報が存在しない場
合に第2の楽音情報テーブルの中から所望の楽音情報を
抽出して楽音を生成するものであるため、第2の楽音情
報テーブルに基本となる楽音情報を記録しておき、第1
の楽音情報テーブルに変更したい楽音情報を書き込むこ
とにより、元の楽音情報(第2の楽音情報テーブルに記
録された楽音情報)を消去することなく、楽音情報の変
更が可能である。また、第2の楽音情報テーブルに楽音
情報が存在していない楽音情報を第1の楽音情報テーブ
ルに書き込むことにより、楽音情報の追加が可能とな
る。
In the electronic musical instrument of the present invention, the first musical tone information table and the second musical tone information table are prepared. First, desired musical tone information is extracted from the first musical tone information table, and the first musical tone information table is extracted. When the desired musical tone information does not exist in the musical tone information table, the desired musical tone information is extracted from the second musical tone information table to generate the musical tone. Record information, first
By writing the musical tone information to be changed into the musical tone information table of No. 2, it is possible to change the musical tone information without erasing the original musical tone information (the musical tone information recorded in the second musical tone information table). Further, by writing the musical tone information whose musical tone information does not exist in the second musical tone information table into the first musical tone information table, it becomes possible to add the musical tone information.

【0008】また、第2の楽音情報テーブルを切り換え
ても第1の楽音情報テーブルに記録した楽音情報はその
まま有効である。すなわち、一度変更・追加した楽音情
報を、他の第2の楽音情報テーブルにもそのまま反映さ
せることができる。さらに、本発明では、上記のような
第1の楽音情報テーブルが複数用意されているため、場
合により変更すべき個所が異なっていても、その場合に
応じた変更・追加を各第1の楽音情報テーブルに書き込
んでおくことにより、あとは複数の第1の楽音情報テー
ブルの中から場合に応じた所望の第1の楽音情報テーブ
ルを選択するだけで各場合の楽音情報の変更・追加に対
応することができる。
Even if the second tone information table is switched, the tone information recorded in the first tone information table remains valid. That is, the musical tone information once changed / added can be reflected as it is on the other second musical tone information tables. Further, in the present invention, since a plurality of the first tone information tables as described above are prepared, even if the portion to be changed differs depending on the case, the change / addition corresponding to that case can be made for each first tone. By writing in the information table, it is possible to change or add the musical tone information in each case simply by selecting the desired first musical tone information table according to the case from the plurality of first musical tone information tables. can do.

【0009】また、第1の楽音情報テーブル1つあたり
の楽音情報の数を第2の楽音情報テーブル1つあたりの
楽音情報の数より少ないと、後述する実施例で述べるよ
うにメモリ容量が節約される。さらには、第1の楽音情
報テーブルの内容を、ユーザが自由に設定できるように
しておけば、ユーザ個々の欲する変更・追加が可能とな
り使いやすいものとなる。
Further, if the number of musical tone information per one first musical tone information table is smaller than the number of musical tone information per one second musical tone information table, the memory capacity is saved as described in an embodiment to be described later. To be done. Furthermore, if the user can freely set the contents of the first musical tone information table, the user can change and add as desired, which is easy to use.

【0010】[0010]

【実施例】以下、本発明の実施例について説明する。図
1は、本発明の一実施例の電子楽器の回路構成を示した
ブロック図である。この電子楽器には、楽音情報の設定
などを行うための操作子が備えられた操作パネル11、
外部に接続された鍵盤(図示せず)などからMIDI信
号を入力するMIDI信号入力端子12、楽音情報に基
づく楽音を発生する楽音発生部13、楽音情報の設定状
態などの表示を行う表示部14、操作パネル11に備え
られた操作子の操作に対応する処理や楽音発生部13を
制御し楽音を発生させる処理などを行うCPU15、楽
音発生処理などのプログラムが格納されたROM16、
楽音情報などが記憶され読出しと書込みが可能なRAM
17、及びこれらの間でデータの授受を行うためのバス
18が設けられている。
EXAMPLES Examples of the present invention will be described below. FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument according to an embodiment of the present invention. The electronic musical instrument includes an operation panel 11 provided with operators for setting musical tone information,
A MIDI signal input terminal 12 for inputting a MIDI signal from an externally connected keyboard (not shown), a musical tone generating section 13 for generating musical tones based on musical tone information, and a display section 14 for displaying the setting state of musical tone information. A CPU 15 that performs a process corresponding to an operation of an operator provided on the operation panel 11 and a process that controls the musical tone generating unit 13 to generate a musical tone; a ROM 16 that stores a program such as a musical tone generating process;
Readable and writable RAM that stores music information
17 and a bus 18 for exchanging data between them.

【0011】本実施例では、楽音情報が記憶された楽音
情報テーブルとして2種類のキット形式を用意した。こ
こでは、2種類のキット形式のうち第1のキット形式
(本発明にいう複数の第1の楽音情報テーブル)をフォ
アグラウンドキット(foreground ki
t),第2のキット形式(本発明にいう複数の第2の楽
音情報テーブル)をバックグラウンドキット(back
ground kit)と呼称する。フォアグラウン
ドキット,バックグラウンドキットはそれぞれ複数個備
えられている。演奏者は複数個備えられたフォアグラウ
ンドキットのうちの1つと、複数個備えられたバックグ
ラウンドキットのうちの1つを選んで使用する。
In this embodiment, two kinds of kit formats are prepared as the tone information table in which tone information is stored. Here, of the two types of kit formats, the first kit format (a plurality of first tone information tables according to the present invention) is defined as a foreground kit.
t), a second kit format (a plurality of second musical tone information tables referred to in the present invention) is used as a background kit (back).
It is called a ground kit). Multiple foreground kits and background kits are provided. The performer selects and uses one of a plurality of foreground kits and one of a plurality of background kits.

【0012】一般に、フォアグラウンドキットには各音
楽スタイル毎に異なる楽音情報が記憶され、一方バック
グラウンドキットには複数の音楽スタイルに共通な楽音
情報が記憶される。演奏情報に従って発音しようとする
場合には、先ずフォアグラウンドキット内に演奏情報に
対応する楽音情報が存在するか否かを検索し、演奏情報
に対応する楽音情報が存在する場合にはこれを参照して
発音する。フォアグラウンドキットに、演奏情報に対応
する楽音情報が存在しない場合には、バックグラウンド
キット内の楽音情報を参照して発音する。
Generally, the foreground kit stores different tone information for each music style, while the background kit stores tone information common to a plurality of music styles. When trying to pronounce according to the performance information, first search for whether the musical tone information corresponding to the performance information exists in the foreground kit, and refer to it if the musical tone information corresponding to the performance information exists. To pronounce. When there is no musical tone information corresponding to the performance information in the foreground kit, the musical tone information in the background kit is referred to and sound is generated.

【0013】図2は、フォアグラウンドキットの一例を
示す図である。図2に示すフォアグラウンドキットは、
楽音情報が複数配列されてなる楽音情報テーブルであ
る。この楽音情報テーブルには、互いに関連する楽音情
報の配列の順序を示す1から32までの要素番号と、ノ
ート番号と、その発音処理の際に必要な楽音情報、即ち
インストルメント番号(ネーム),ピッチ,ディケイ,
レベルとが示されている。このようなフォアグラウンド
キットが32個備えられており、それぞれフォアグラウ
ンドキット番号が付され、楽音情報群としてメモリに記
憶される。
FIG. 2 is a diagram showing an example of the foreground kit. The foreground kit shown in Figure 2 is
It is a musical tone information table in which a plurality of musical tone information are arranged. In this musical tone information table, element numbers 1 to 32 indicating the order of arrangement of musical tone information related to each other, note numbers, and musical tone information necessary for the tone generation processing, that is, instrument number (name), Pitch, decay,
The levels and are shown. 32 such foreground kits are provided, each with a foreground kit number, and stored in the memory as a musical tone information group.

【0014】図3は、バックグラウンドキットの一例を
示す図である。図3に示すバックグラウンドキットも楽
音情報が複数配列されてなる楽音情報テーブルである。
この楽音情報テーブルには、1から128までの要素番
号が示されている。また、このバックグラウンドキット
にも、図2に示すフォアグラウンドキットと同様に、ノ
ート番号と、ノート番号に対応する楽音情報が記録され
ている。このようなバックグラウンドキットが4個備え
られており、それぞれバックグラウンドキット番号が付
され、楽音情報群としてメモリに記憶される。
FIG. 3 is a diagram showing an example of the background kit. The background kit shown in FIG. 3 is also a musical tone information table in which a plurality of musical tone information are arranged.
Element numbers from 1 to 128 are shown in this tone information table. Also, in this background kit, note numbers and musical tone information corresponding to the note numbers are recorded as in the foreground kit shown in FIG. Four such background kits are provided, each of which is assigned a background kit number and stored in the memory as a musical tone information group.

【0015】フォアグラウンドキットに記録されるノー
ト番号は、バックグラウンドキットに記録された楽音情
報を変更する目的の場合はバックグラウンドキットに記
録されたノート番号と同一のノート番号であり、バック
グラウンドキットに記録された楽音情報に他の楽音情報
を追加する目的の場合はバックグラウンドキットに記録
されたノート番号とは異なるノート番号である。したが
って、フォアグラウンドキットに記録されるノート番号
は、変更専用の場合は全てのノート番号がバックグラウ
ンドキットに記録されたノート番号のいずれかと重なっ
ており、追加専用の場合は全てのノート番号がバックグ
ラウンドキットに記録されたノート番号のいずれとも異
なっており、変更と追加とが混在する場合は、一部のノ
ート番号のみが、バックグラウンドキットに記録された
ノート番号と重なっている。このようにフォアグラウン
ドキットとバックグラウンドキットの重なり方はその目
的に応じ種々の態様が存在する。
The note number recorded in the foreground kit is the same note number as the note number recorded in the background kit for the purpose of changing the tone information recorded in the background kit. For the purpose of adding other musical tone information to the recorded musical tone information, the note number is different from the note number recorded in the background kit. Therefore, the note numbers recorded in the foreground kit will be overlapped with any of the note numbers recorded in the background kit in the case of change only, and all the note numbers will be in the background in the case of addition only. It is different from any of the note numbers recorded in the kit, and if the changes and additions are mixed, only some of the note numbers overlap with the note numbers recorded in the background kit. As described above, there are various modes of overlapping the foreground kit and the background kit depending on the purpose.

【0016】なお、図2、3におけるノート番号は、一
見、要素番号の数と合っていないように見えるが、これ
らテーブルの性質から、ノート番号が順番に並んでいな
いだけである。図4は、図1に示すRAM17内のレジ
スタ群を示す図である。図4に示すレジスタFGKit
Num,レジスタBGKitNumには、操作パネル1
1の操作子で設定されたフォアグラウンドキット番号,
バックグラウンドキット番号それぞれが格納される。ま
たレジスタNoteNumには、MIDI受信バッファ
(図示せず)から取り出されたノート番号が格納され
る。
Note that the note numbers in FIGS. 2 and 3 do not seem to match the number of element numbers at first glance, but the note numbers are not arranged in order due to the nature of these tables. FIG. 4 is a diagram showing a register group in the RAM 17 shown in FIG. Register FGKit shown in FIG.
Num, register BGKitNum, operation panel 1
Foreground kit number set by the controller 1
Each background kit number is stored. The register NoteNum stores the note number extracted from the MIDI receiving buffer (not shown).

【0017】図5は、フォアグラウンドキットの処理,
バックグラウンドキットの処理が含まれたメインルーチ
ンのフローチャートである。電子楽器に電源が投入され
ると、先ずステップS101において初期設定ルーチン
が実行され、MIDI受信バッファがクリアされる。次
にステップS102において、MIDI信号が有するノ
ート番号からフォアグラウンドキット,バックグラウン
ドキットを検索して発音する発音処理ルーチンが実行さ
れる。さらにステップS103において、フォアグラウ
ンドキット番号,バックグラウンドキット番号の設定や
その他の処理を行うルーチンが実行される。これらステ
ップS101,S102,S103のルーチンは繰り返
し順次実行される。
FIG. 5 shows the processing of the foreground kit,
It is a flow chart of a main routine including processing of a background kit. When the electronic musical instrument is powered on, an initialization routine is first executed in step S101 to clear the MIDI reception buffer. Next, in step S102, a tone generation processing routine is executed in which the foreground kit and the background kit are searched for based on the note number of the MIDI signal and sounded. Further, in step S103, a routine for setting the foreground kit number and background kit number and other processing is executed. The routines of these steps S101, S102 and S103 are repeatedly and sequentially executed.

【0018】図6は、図5に示す発音処理ルーチンのフ
ローチャートである。図6に示すルーチンが起動される
と、先ずステップS111において、MIDI受信バッ
ファを検索し、MIDIノートオンメッセージの有無が
判断される。MIDI受信バッファにMIDIノートオ
ンメッセージが有ると判断された場合には、発音を処理
するためにステップS112に進む。一方、MIDI受
信バッファにMIDIノートオンメッセージが無いと判
断された場合には、発音を処理する必要がないため、何
もせず終了する。
FIG. 6 is a flowchart of the tone generation processing routine shown in FIG. When the routine shown in FIG. 6 is started, first, in step S111, the MIDI receive buffer is searched to determine whether or not there is a MIDI note-on message. When it is determined that the MIDI note-on message is present in the MIDI receiving buffer, the process proceeds to step S112 to process the pronunciation. On the other hand, if it is determined that there is no MIDI note-on message in the MIDI reception buffer, it is not necessary to process the sound generation, and the process ends without doing anything.

【0019】ステップS112においてレジスタNot
eNumにノートオンメッセージのノート番号を格納す
る。ステップS113に進み、次に入力されるMIDI
ノートオンメッセージに備え、MIDI受信バッファか
らノートオンメッセージを削除する。次にステップS1
14に進み、レジスタFGKitNumに格納された番
号に対応するフォアグラウンドキットの楽音情報テーブ
ルの中に、レジスタNoteNumに格納されたノート
番号と同じノート番号が存在するか否かが判断される。
レジスタNoteNumに格納されたノート番号と同じ
ノート番号が存在する場合には、ステップS116に進
む。ステップS116において、フォアグラウンドキッ
トの楽音情報テーブルの、そのノート番号に対応したイ
ンストルメント番号,ピッチ,ディケイ,レベルを参照
し楽音発生部13を制御して楽音を発生させる。
In step S112, the register Not
The note number of the note-on message is stored in eNum. In step S113, the next MIDI input
In preparation for the note-on message, the note-on message is deleted from the MIDI reception buffer. Next step S1
In step 14, it is determined whether or not the same note number as the note number stored in the register NoteNum exists in the tone information table of the foreground kit corresponding to the number stored in the register FGKitNum.
If the same note number as the note number stored in the register NoteNum exists, the process proceeds to step S116. In step S116, the tone generation unit 13 is controlled by referring to the instrument number, pitch, decay, and level corresponding to the note number in the tone information table of the foreground kit to generate a tone.

【0020】一方、フォアグラウンドキットの楽音情報
テーブルの中にレジスタNoteNumに格納されたノ
ート番号と同じノート番号が存在しなかった場合には、
ステップS115に進む。ステップS115において、
レジスタBGKitNumに格納された番号に対応する
バックグラウンドキットの楽音情報テーブルの中にレジ
スタNoteNumに格納されたノート番号と同じノー
ト番号が存在するか否かが判断される。バックグラウン
ドキットの楽音情報テーブルの中にレジスタNoteN
umに格納されたノート番号と同じノート番号が存在す
る場合にはステップS116に進む。ステップS116
において、バックグラウンドキットの楽音情報テーブル
の、そのノート番号に対応したインストルメント番号,
ピッチ,ディケイ,レベルを参照し楽音発生部13を制
御して楽音を発生させる。
On the other hand, if the same note number as the note number stored in the register NoteNum does not exist in the tone information table of the foreground kit,
It proceeds to step S115. In step S115,
It is determined whether or not the same note number as the note number stored in the register NoteNum exists in the tone information table of the background kit corresponding to the number stored in the register BGKitNum. Register NoteN in the tone information table of the background kit
If the same note number as the note number stored in um exists, the process proceeds to step S116. Step S116
In the tone information table of the background kit, the instrument number corresponding to the note number,
The tone generation unit 13 is controlled by referring to the pitch, decay, and level to generate a tone.

【0021】一方、バックグラウンドキットの楽音情報
テーブルの中にレジスタNoteNumに格納されたノ
ート番号と同じノート番号がない場合には何もせず終了
する。次に、本実施例において、フォアグラウンドキッ
トおよびバックグラウンドキットを記録しておくための
必要なメモリ容量について考察する。
On the other hand, if there is no note number same as the note number stored in the register NoteNum in the tone information table of the background kit, nothing is done and the process ends. Next, in this embodiment, the memory capacity required for recording the foreground kit and the background kit will be considered.

【0022】一般に、フォアグラウンドキットの数をL
個、その楽音情報の配列の数をM個、および、バックグ
ラウンドキットの数をI個,その楽音情報の配列の数を
J個、1列に配列された楽音情報が記憶されるメモリ容
量をXバイトとすると、((L×M)+(I×J))×
Xバイトのメモリ容量が必要となる。ここで、1列に配
列された楽音情報が記憶されるメモリ容量を32バイト
とすると、本実施例では、フォアグラウンドキット1つ
あたりの楽音情報の配列の数を32、フォアグラウンド
キットの数を32、そして、バックグラウンドキット1
つあたりの楽音情報の配列の数を128、バックグラウ
ンドキットの数を4とした場合、((32フォアグラウ
ンドキット×32配列)+(4バックグラウンドキット
×128配列))×32バイト=49152バイトのメ
モリ容量となり、32フォアグラウンドキット×4バッ
クグラウンドキット=128パターンの組み合わせの楽
音情報が得られる。一方、128パターン数を従来の方
法(キット1つあたりの楽音情報の配列が128)で得
ようとすると、128キット×128配列×32バイト
=524288バイト必要となる。本実施例のメモリ容
量は、従来例のメモリ容量に対して、約1/10で済
む。このように2種類のキット形式を組み合わせること
により、楽音情報を記憶するメモリ容量を節約すること
もできる。
Generally, the number of foreground kits is L
The number of musical tone information arrays is M, the number of background kits is I, the number of musical tone information arrays is J, and the memory capacity for storing musical tone information arranged in one row is Assuming X bytes, ((L × M) + (I × J)) ×
A memory capacity of X bytes is required. Here, assuming that the memory capacity for storing the tone information arranged in one column is 32 bytes, in the present embodiment, the number of tone information arrays per foreground kit is 32, and the number of foreground kits is 32. And background kit 1
If the number of musical tone information arrays per one is 128 and the number of background kits is 4, ((32 foreground kit x 32 arrays) + (4 background kit x 128 arrays)) x 32 bytes = 49152 bytes It becomes the memory capacity, and musical tone information of a combination of 32 foreground kits × 4 background kits = 128 patterns can be obtained. On the other hand, when trying to obtain the number of 128 patterns by the conventional method (the arrangement of the musical tone information per kit is 128), 128 kits × 128 arrangements × 32 bytes = 524288 bytes are required. The memory capacity of this embodiment is about 1/10 of the memory capacity of the conventional example. By thus combining the two types of kit formats, it is possible to save the memory capacity for storing the musical tone information.

【0023】図7は、操作子処理のための割り込みルー
チンのフローチャートである。このルーチンにより、フ
ォアグラウンドキット番号,バックグラウンドキット番
号が設定される。図7に示すルーチンは、操作パネル1
1に設けられた操作子が操作されることにより発生した
割り込みにより起動される。このルーチンが起動される
と、先ずステップS121において、フォアグラウンド
キット番号を設定するための操作子が操作されたか否か
が判断される。フォアグラウンドキット番号を設定する
ための操作子が操作されたと判断された場合は、ステッ
プ122に進む。ステップS122において、フォアグ
ラウンドキット番号を設定するための操作子で設定され
たフォアグラウンドキット番号がレジスタFGKitN
umに格納され、ステップS123に進む。一方、ステ
ップS121において、フォアグラウンドキット番号を
設定するための操作子が操作されていないと判断された
場合には、直接にステップS123に進む。
FIG. 7 is a flowchart of an interrupt routine for processing an operator. By this routine, the foreground kit number and the background kit number are set. The routine shown in FIG.
It is activated by an interrupt generated by the operation of the operator provided in 1. When this routine is activated, first, in step S121, it is determined whether or not the operator for setting the foreground kit number has been operated. If it is determined that the operator for setting the foreground kit number has been operated, the process proceeds to step 122. In step S122, the foreground kit number set by the operator for setting the foreground kit number is the register FGKitN.
stored in um, and the process proceeds to step S123. On the other hand, when it is determined in step S121 that the operator for setting the foreground kit number is not operated, the process directly proceeds to step S123.

【0024】ステップ123においては、バックグラウ
ンドキット番号を設定するための操作子が操作されたか
否かが判断される。バックグラウンドキット番号を設定
するための操作子が操作されたと判断された場合には、
ステップ124に進む。ステップS124において、バ
ックグラウンドキット番号を設定するための操作子で設
定されたバックグラウンドキット番号がレジスタBGK
itNumに格納されて終了する。一方ステップS12
3において、バックグラウンドキット番号を設定するた
めの操作子が操作されていないと判断された場合には、
そのまま終了する。
In step 123, it is determined whether or not the operator for setting the background kit number has been operated. If it is determined that the control for setting the background kit number has been operated,
Go to step 124. In step S124, the background kit number set by the operator for setting the background kit number is the register BGK.
Stored in itNum and finished. On the other hand, step S12
When it is determined in 3 that the operator for setting the background kit number is not operated,
It ends as it is.

【0025】このようにして操作パネル11の操作子が
操作されると、フォアグラウンドキット番号,バックグ
ラウンドキット番号が設定される。
When the operator of the operation panel 11 is operated in this manner, the foreground kit number and the background kit number are set.

【0026】[0026]

【発明の効果】以上説明したように、本発明の電子楽器
では、第1の楽音情報テーブルに所望の楽音情報が存在
しない場合にのみ第2の楽音情報テーブルの中から所望
の楽音情報を抽出するもの、すなわち、変更・追加され
た楽音情報を優先的に処理し楽音を生成するものである
ため、第2の楽音情報テーブルに記録された元の楽音情
報が失われてしまうことが防止され、かつ、第2の楽音
情報テーブルを切り換えても、一度変更、追加した楽音
情報を、その新たに選択された第2の楽音情報テーブル
を用いた演奏に反映することができる。さらに、複数の
楽音情報テーブルを記憶するメモリ容量の節約も可能で
ある。
As described above, in the electronic musical instrument of the present invention, the desired musical tone information is extracted from the second musical tone information table only when the desired musical tone information does not exist in the first musical tone information table. That is, since the changed / added musical tone information is preferentially processed to generate a musical tone, the original musical tone information recorded in the second musical tone information table is prevented from being lost. Moreover, even if the second musical tone information table is switched, the musical tone information once changed and added can be reflected in the performance using the newly selected second musical tone information table. Furthermore, it is possible to save the memory capacity for storing a plurality of tone information tables.

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

【図1】本発明の一実施例の電子楽器の回路構成を示し
たブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument according to an embodiment of the present invention.

【図2】フォアグラウンドキットの一例を示す図であ
る。
FIG. 2 is a diagram showing an example of a foreground kit.

【図3】バックグラウンドキットの一例を示す図であ
る。
FIG. 3 is a diagram showing an example of a background kit.

【図4】図1に示すRAM内のレジスタ群を示す図であ
る。
FIG. 4 is a diagram showing a register group in the RAM shown in FIG.

【図5】フォアグラウンドキットの処理,バックグラウ
ンドキットの処理が含まれたメインルーチンのフローチ
ャートである。
FIG. 5 is a flowchart of a main routine including a foreground kit process and a background kit process.

【図6】図5に示す発音処理ルーチンのフローチャート
である。
6 is a flowchart of a sound generation processing routine shown in FIG.

【図7】操作子処理のための割り込みルーチンのフロー
チャートである。
FIG. 7 is a flowchart of an interrupt routine for processing an operator.

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

11 操作パネル 12 MIDI信号入力端子 13 楽音発生部 14 表示部 15 CPU 16 ROM 17 RAM 11 Operation panel 12 MIDI signal input terminal 13 Musical sound generator 14 Display 15 CPU 16 ROM 17 RAM

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つの楽音を規定する楽音情報が複数配
列されてなる楽音情報テーブルを記憶しておき、該楽音
情報テーブルから抽出された楽音情報に基づいて楽音を
生成する電子楽器において、 楽音情報が複数配列されてなる複数の第1の楽音情報テ
ーブルを記憶する第1の記憶手段と、 楽音情報が複数配列されてなる複数の第2の楽音情報テ
ーブルを記憶する第2の記憶手段と、 前記第1の記憶手段に記憶された複数の第1の楽音情報
テーブルの中から1つの第1の楽音情報テーブルを選択
するとともに前記第2の記憶手段に記憶された複数の第
2の楽音情報テーブルの中から1つの第2の楽音情報テ
ーブルを選択する楽音テーブル選択手段と、 前記楽音テーブル選択手段により選択された第1の楽音
情報テーブルの中から所望の楽音情報を抽出し、該第1
の楽音情報テーブルに所望の楽音情報が存在しない場合
に、前記楽音テーブル選択手段により選択された第2の
楽音情報テーブルの中から所望の楽音情報を抽出する楽
音情報抽出手段とを備えたことを特徴とする電子楽器。
1. An electronic musical instrument which stores a musical tone information table in which a plurality of musical tone information defining one musical tone is arranged, and generates a musical tone based on the musical tone information extracted from the musical tone information table. First storage means for storing a plurality of first tone information tables in which a plurality of pieces of information are arranged, and second storage means for storing a plurality of second tone information tables in which a plurality of pieces of tone information are arranged , A plurality of second musical tones stored in the second storage unit while selecting one first musical tone information table from the plurality of first musical tone information tables stored in the first storage unit. Musical sound table selecting means for selecting one second musical sound information table from the information table, and desired musical sound from the first musical sound information table selected by the musical sound table selecting means. To extract the broadcast, the first
Sound information extraction means for extracting desired music information from the second music information table selected by the music table selection means when desired music information does not exist in the music information table. A characteristic electronic musical instrument.
【請求項2】 1つの楽音を規定する楽音情報がノート
番号に対応して複数配列されてなる楽音情報テーブルを
記憶しておき、入力したノート番号に対応する楽音情報
を該楽音情報テーブルから抽出し抽出した楽音情報に基
づいて楽音を生成する電子楽器において、 複数の第1の楽音情報テーブルを記憶する第1の記憶手
段と、 第2の楽音情報テーブルを記憶する第2の記憶手段と、 前記第1の記憶手段に記憶された複数の第1の楽音情報
テーブルの中から1つの第1の楽音情報テーブルを選択
する楽音テーブル選択手段と、 入力したノート番号に対応する楽音情報を前記楽音テー
ブル選択手段により選択された第1の楽音情報テーブル
の中から抽出し、該入力したノート番号に対応する楽音
情報が該第1の楽音情報テーブルに存在しない場合に、
該入力したノート番号に対応する楽音情報を前記第2の
楽音情報テーブルの中から抽出する楽音情報抽出手段と
を備えたことを特徴とする電子楽器。
2. A tone information table in which a plurality of tone information defining one tone is arranged corresponding to a note number is stored, and tone information corresponding to an input note number is extracted from the tone information table. In an electronic musical instrument that generates a musical tone based on the extracted musical tone information, a first storage unit that stores a plurality of first musical tone information tables, a second storage unit that stores a second musical tone information table, Musical sound table selecting means for selecting one first musical sound information table from a plurality of first musical sound information tables stored in the first storing means, and musical sound information corresponding to the inputted note number is the musical sound information. The tone information corresponding to the input note number extracted from the first tone information table selected by the table selecting means does not exist in the first tone information table. In case,
An electronic musical instrument, comprising: musical tone information extraction means for extracting musical tone information corresponding to the input note number from the second musical tone information table.
JP01802595A 1995-02-06 1995-02-06 Electronic musical instrument Expired - Fee Related JP3426379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01802595A JP3426379B2 (en) 1995-02-06 1995-02-06 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01802595A JP3426379B2 (en) 1995-02-06 1995-02-06 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH08211877A JPH08211877A (en) 1996-08-20
JP3426379B2 true JP3426379B2 (en) 2003-07-14

Family

ID=11960136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01802595A Expired - Fee Related JP3426379B2 (en) 1995-02-06 1995-02-06 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP3426379B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133660A (en) * 1996-10-25 1998-05-22 Kawai Musical Instr Mfg Co Ltd Musical factor controller

Also Published As

Publication number Publication date
JPH08211877A (en) 1996-08-20

Similar Documents

Publication Publication Date Title
EP0974955B1 (en) Musical tone synthesizing apparatus and method
US4483231A (en) Preset apparatus of electronic musical instrument
US6809248B2 (en) Electronic musical apparatus having musical tone signal generator
JP2007093679A (en) Sound source setting device and sound source setting program
JP3426379B2 (en) Electronic musical instrument
JPH07121163A (en) Musical performance data generating device
JPH1039864A (en) Electronic musical instrument and its display device
JP3508494B2 (en) Automatic performance data conversion system and medium recording program
JPH06259064A (en) Electronic musical instrument
JP2900457B2 (en) Electronic musical instrument
JP2757711B2 (en) Electronic musical instrument
JP3139081B2 (en) Electronic musical instrument parameter setting device
JP2661487B2 (en) Electronic musical instrument
JP2641851B2 (en) Automatic performance device
JP4000986B2 (en) Display control apparatus and program
JP2639381B2 (en) Electronic musical instrument
JPH0527762A (en) Electronic musical instrument
JP3239565B2 (en) Electronic musical instrument
JP3479141B2 (en) Automatic performance device
JPS6238497A (en) Electronic musical apparatus
JP3736101B2 (en) Automatic performance device and recording medium
JP3046094B2 (en) Automatic accompaniment device
JP3487011B2 (en) Data writing device and data display device
JP2583377B2 (en) Automatic performance device
JP3057776B2 (en) Musical tone formation parameter setting device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030422

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100509

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees