JPH07244484A - Music signal generating device - Google Patents

Music signal generating device

Info

Publication number
JPH07244484A
JPH07244484A JP6217826A JP21782694A JPH07244484A JP H07244484 A JPH07244484 A JP H07244484A JP 6217826 A JP6217826 A JP 6217826A JP 21782694 A JP21782694 A JP 21782694A JP H07244484 A JPH07244484 A JP H07244484A
Authority
JP
Japan
Prior art keywords
voice
data
control data
address
tone
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.)
Granted
Application number
JP6217826A
Other languages
Japanese (ja)
Other versions
JP2624190B2 (en
Inventor
Kenji Itakura
健司 板倉
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 JP6217826A priority Critical patent/JP2624190B2/en
Publication of JPH07244484A publication Critical patent/JPH07244484A/en
Application granted granted Critical
Publication of JP2624190B2 publication Critical patent/JP2624190B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable forming and controlling a music signal based on music control data even when one group of music control data cannot be stored in one external memory and to enable generating sound of high quality using music control data consisting of many data. CONSTITUTION:In an external memory for storing music control data, when one group of music control data is divided into plural memories and stored, control information indicating it is also stored. It is discriminated which memory is that one or plural external memories 1a-1n which provide plural memory connecting sections 2a-2m, reads control information from each external memory connected to the connecting sections, and corresponds to one group of music control data respectively for each music control data. In accordance with this discriminated result, one group of music control data is read out of one or plural external memories corresponding to one group of selected and desired music control data, and a music signal is formed and controlled based on this data.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、音色等の楽音制御デ
ータを記憶した複数の外部メモリを着脱可能に装着し、
装着した外部メモリに記憶されている楽音制御データに
基づき楽音信号を発生するようにした楽音信号発生装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention detachably mounts a plurality of external memories storing tone control data such as tone colors.
The present invention relates to a musical tone signal generator that generates a musical tone signal based on musical tone control data stored in an external memory that is mounted.

【0002】[0002]

【従来の技術】音色等の楽音制御データを記憶した複数
の外部メモリを着脱可能に装着し、装着した外部メモリ
を選択してそこに記憶されている楽音制御データを読み
出し、読み出した楽音制御データにより楽音信号を制御
するようにした技術として、従来は、実開昭50−52
921号公報に示されたものが知られている。そこにお
いては、アナログシンセサイザ型の電子楽器における楽
音設定装置が示されており、各種の楽音に対応する制御
電圧情報を予め設定した各楽音種類毎の複数の単位基板
(すなわち外部メモリ)を親基板に着脱可能に装着し、
親基板上の各単位基板をプリセット選択スイッチによっ
て選択し、選択された単位基板における制御電圧情報を
用いて楽音信号を制御することが示されている。この場
合、親基板上の各単位基板接続位置と各プリセット選択
スイッチとが1対1で固定的に対応しており、プリセッ
ト選択スイッチにより選択された接続位置に装着されて
いる単位基板から制御電圧情報が読み出される。また、
1つの音色の制御電圧情報は1枚の単位基板(すなわち
外部メモリ)でしか設定することができなかった。
2. Description of the Related Art A plurality of external memories storing tone control data such as tone colors are detachably mounted, the mounted external memories are selected, the tone control data stored therein is read, and the read tone control data is read. As a technique for controlling the tone signal by
The one disclosed in Japanese Patent No. 921 is known. There, a musical tone setting device in an analog synthesizer type electronic musical instrument is shown, and a plurality of unit boards (that is, external memories) for each musical tone type in which control voltage information corresponding to various musical tones is preset are used as parent boards. Detachably attached to the
It is shown that each unit board on the parent board is selected by the preset selection switch, and the musical tone signal is controlled by using the control voltage information on the selected unit board. In this case, there is a fixed one-to-one correspondence between each unit board connection position on the parent board and each preset selection switch, and the control voltage from the unit board mounted at the connection position selected by the preset selection switch is controlled. The information is read. Also,
The control voltage information for one tone color can be set only for one unit substrate (that is, the external memory).

【0003】[0003]

【発明が解決しようとする課題】上述の従来装置におい
ては、1音色に対応する1組のデータ(制御電圧情報)
が1枚の単位基板(すなわち外部メモリ)でしか設定す
ることができなかったため、1枚の単位基板で設定可能
なデータ容量以上のデータ容量を必要とする複雑な音色
等の設定は不可能であった。そのため、多数の制御デー
タを用いて高品質の音を発生させるようなことはできな
かった。この発明は上述の点に鑑みてなされたもので、
1組の楽音制御データが1つの外部メモリの容量内に納
まりきらない場合でも該1組の楽音制御データに基づく
楽音信号の形成・制御を可能にすることにより、多数の
データからなる楽音制御データを用いて高品質の音を発
生させることができるようにした楽音信号発生装置を提
供しようとするものである。
In the above-mentioned conventional device, one set of data (control voltage information) corresponding to one timbre.
Can be set only with one unit board (that is, external memory), so it is impossible to set complicated tones that require a data capacity that is larger than the data capacity that can be set with one unit board. there were. Therefore, it has been impossible to generate a high-quality sound by using a large number of control data. The present invention has been made in view of the above points,
Even if one set of musical tone control data cannot be stored in the capacity of one external memory, the musical tone control data composed of a large number of data can be formed by controlling and forming a musical tone signal based on the one set of musical tone control data. It is an object of the present invention to provide a musical tone signal generator capable of generating a high quality sound by using the.

【0004】[0004]

【課題を解決するための手段】この発明に係る楽音信号
発生装置は、楽音制御データを記憶するための外部メモ
リであって、1組の楽音制御データを複数の該外部メモ
リに分割して記憶する場合そのことを示す制御情報をも
記憶する外部メモリと、前記外部メモリが着脱可能に夫
々装着される複数のメモリ接続部と、前記各メモリ接続
部に接続された外部メモリにおける前記制御情報を読み
取り、読み取った該制御情報に基づき、1組の楽音制御
データ毎に夫々の1組の楽音制御データに対応する1ま
たは複数の外部メモリをそれぞれ判別する判別手段と、
前記各メモリ接続部に接続された外部メモリに記憶され
た楽音制御データの中から、所望の1組の楽音制御デー
タを選択するための選択手段と、前記判別手段の判別結
果に応じて、前記選択手段で選択された1組の楽音制御
データに対応する1または複数の外部メモリから該1組
の楽音制御データを読み取る読み取り手段と、この読み
取り手段により読み取られた1組の楽音制御データに基
づき楽音信号の形成及び制御を行う楽音信号形成手段と
を具えたものである。これを図によって示すと、図1の
ようであり、1a〜1nが外部メモリ、2a〜2mがメ
モリ接続部、3が判別手段、4が選択手段、5が読み取
り手段、6が楽音信号形成手段、である。
A tone signal generator according to the present invention is an external memory for storing tone control data, wherein one set of tone control data is divided into a plurality of external memories for storage. In the case of doing so, an external memory that also stores control information indicating that, a plurality of memory connection units to which the external memory is detachably attached, respectively, and the control information in the external memory connected to each memory connection unit Discriminating means for discriminating one or a plurality of external memories corresponding to each set of musical tone control data for each set of musical tone control data based on the read control information.
The selection means for selecting a desired set of tone control data from the tone control data stored in the external memory connected to each of the memory connection parts, and the selection means for determining the determination result of the determination means. Based on the reading means for reading the one set of tone control data from one or a plurality of external memories corresponding to the one set of tone control data selected by the selecting means, and the one set of tone control data read by the reading means And a tone signal forming means for forming and controlling a tone signal. This is shown in FIG. 1 as shown in FIG. 1, in which 1a to 1n are external memories, 2a to 2m are memory connection parts, 3 is discriminating means, 4 is selecting means, 5 is reading means, and 6 is tone signal forming means. ,.

【0005】[0005]

【作用】各メモリ接続部2a〜2mには、任意の外部メ
モリ1a〜1nを着脱可能に装着することができる。各
外部メモリ1a〜1nは、楽音制御データのみならず、
1組の楽音制御データを複数の該外部メモリに分割して
記憶する場合はそのことを示す制御情報をも記憶してい
る。各メモリ接続部2a〜2mに任意の外部メモリ1a
〜1nが装着されると、判別手段3では、各メモリ接続
部2a〜2mに接続された外部メモリにおける前記制御
情報を読み取り、読み取った該制御情報に基づき、1組
の楽音制御データ毎に夫々の1組の楽音制御データに対
応する1または複数の外部メモリをそれぞれ判別する。
例えば、1組の楽音制御データを2分割して記憶してい
る2つの外部メモリがメモリ接続部2a,2bに装着さ
れたとすると、メモリ接続部2a,2bに装着した2つ
の外部メモリが1組の楽音制御データに対応していると
判別する。選択手段4により所望の1組の楽音制御デー
タが選択されると、読み取り手段5では、判別手段3の
判別結果に応じて、この選択された1組の楽音制御デー
タが複数の外部メモリに対応しているならばそれらの複
数の外部メモリから該1組の楽音制御データを読み取
り、1つの外部メモリに対応しているならばその外部メ
モリから該1組の楽音制御データを読み取る。楽音信号
形成手段6では、上記読み取った1組の楽音制御データ
に基づき楽音信号の形成及び制御を行う。
The arbitrary external memories 1a to 1n can be removably attached to the respective memory connecting portions 2a to 2m. Each of the external memories 1a to 1n stores not only the tone control data,
When one set of musical tone control data is divided and stored in a plurality of external memories, control information indicating that is also stored. An optional external memory 1a is provided in each of the memory connecting portions 2a to 2m.
When 1 to 1n are attached, the discriminating means 3 reads the control information in the external memory connected to each of the memory connection portions 2a to 2m, and based on the read control information, for each set of tone control data. One or a plurality of external memories corresponding to one set of musical sound control data are discriminated.
For example, if two external memories that store one set of musical tone control data divided into two are attached to the memory connection units 2a and 2b, the two external memories attached to the memory connection units 2a and 2b form one set. It is determined that it corresponds to the musical tone control data of. When a desired one set of musical tone control data is selected by the selecting means 4, the reading means 5 responds to the discrimination result of the discriminating means 3 with the selected one musical tone control data set corresponding to a plurality of external memories. If so, the one set of tone control data is read from the plurality of external memories, and if one external memory is supported, the one set of tone control data is read from the external memory. The tone signal forming means 6 forms and controls a tone signal based on the read set of tone control data.

【0006】こうして、1組の楽音制御データが1つの
外部メモリの容量内に納まりきらない場合は、該1組の
楽音制御データを複数の外部メモリに分割して記憶させ
ることができるようになり、それら複数の外部メモリに
分割して記憶した楽音制御データを一括して1組の楽音
制御データとして使用して楽音信号の形成・制御を行う
ことが可能となる。従って、多数のデータからなる楽音
制御データを用いて高品質の楽音を発生させることがで
きるようになる。
In this way, when one set of tone control data cannot fit in the capacity of one external memory, the one set of tone control data can be divided and stored in a plurality of external memories. It is possible to form and control a musical tone signal by collectively using the musical tone control data divided and stored in the plurality of external memories as one set of musical tone control data. Therefore, it becomes possible to generate a high quality musical sound by using the musical sound control data composed of a large number of data.

【0007】[0007]

【実施例】以下、添付図面を参照してこの発明の実施例
を詳細に説明しよう。図2はこの発明に係る楽音信号発
生装置10の一実施例のハード構成を示すもので、この
実施例の楽音信号発生装置10においてはCPU(中央
処理ユニット)11、プログラムROM(リードオンリ
ーメモリ)12及びデータ及びワーキングRAM(ラン
ダムアクセスメモリ)13を含むマイクロコンピュータ
によって各種の動作や処理が制御される。この実施例の
楽音信号発生装置10は、音源モジュールとしてモジュ
ール化されたものからなっており、これに対して同じく
夫々モジュール化されている任意の鍵盤装置又は自動演
奏装置など(図示せず)をMIDIインタフェース14
を介して接続し、更にサウンドシステム15を接続する
ことにより、全体として電子楽器を構成することができ
るようになっている。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. FIG. 2 shows a hardware configuration of an embodiment of the tone signal generator 10 according to the present invention. In the tone signal generator 10 of this embodiment, a CPU (central processing unit) 11 and a program ROM (read only memory) are provided. Various operations and processes are controlled by a microcomputer including 12 and data and working RAM (random access memory) 13. The musical tone signal generator 10 of this embodiment is modularized as a sound source module. On the other hand, an arbitrary keyboard device or automatic performance device (not shown) which is also modularized respectively. MIDI interface 14
The electronic musical instrument can be configured as a whole by connecting the sound system 15 through the above and the sound system 15.

【0008】モジュール化された鍵盤装置は、複数の鍵
を具えた鍵盤とこの鍵盤における押鍵・離鍵を検出する
ための回路及び押鍵速度等の鍵タッチを検出する回路と
を含み、キーオンイベント(新たな押鍵)があるたび
に、新たな押鍵に係る鍵のキーコード,鍵タッチを示す
タッチデータ及びキーオンイベント信号を出力すると共
に、キーオフイベント(新たな離鍵)があるたびに、新
たな離鍵に係る鍵のキーコード及びキーオフイベント信
号を出力する。また、モジュール化された自動演奏装置
は、自動演奏音を発生すべきタイミングにおいて該自動
演奏音の音高を示すキーコード等からなるキーデータを
出力する。これらのモジュール化された鍵盤装置又は自
動演奏装置から出力されるデータは、楽音信号処理の共
通規格であるMIDI規格で表現されており、このMI
DI規格のデータがMIDIインタフェース14を介し
て楽音信号発生装置10内に取り込まれる。
A modular keyboard device includes a keyboard having a plurality of keys, a circuit for detecting key depression / key release on the keyboard, and a circuit for detecting key touch such as key depression speed. Each time an event (new key press) occurs, the key code of the key related to the new key press, touch data indicating a key touch, and a key-on event signal are output, and also a key-off event (new key release) occurs. , And outputs the key code of the key related to the new key release and the key-off event signal. Further, the modularized automatic performance device outputs key data including a key code indicating the pitch of the automatic performance sound at the timing at which the automatic performance sound should be generated. The data output from these modular keyboard devices or automatic performance devices is represented by the MIDI standard, which is a common standard for tone signal processing.
Data of the DI standard is taken into the tone signal generator 10 via the MIDI interface 14.

【0009】ボイスカートリッジ16は、複数の外部メ
モリを着脱可能に装着するための複数のメモリ接続部を
具備するもので、インタフェース16aを含んでいる。
このボイスカートリッジ16は、後述するように、それ
自体が楽音信号発生装置10の本体に対して着脱可能で
ある。
The voice cartridge 16 is provided with a plurality of memory connection parts for detachably mounting a plurality of external memories, and includes an interface 16a.
As will be described later, the voice cartridge 16 itself can be attached to and detached from the main body of the musical tone signal generator 10.

【0010】操作パネル部17は、音色や各種データの
設定・選択を行うためのスイッチ及び操作子類並びにデ
ィスプレイを具えている。例えば、発生楽音の音色を指
示するボイスナンバ(音色番号)を選択するための選択
手段として、アップスイッチUSW及びダウンスイッチ
DSW並びにこれらのスイッチUSW,DSWの操作に
応じて選択されたボイスナンバ(音色番号)及びその音
色名を表示するディスプレイDSPYを具備している。
なお、ここで留意すべきことは、このアップスイッチU
SW及びダウンスイッチDSWからなる選択手段によっ
て選択される「ボイスナンバ(音色番号)」とは、音色
名に絶対的に対応しているものではなく、選択操作の便
宜上付与される単なる「順位」のデータである。この
「ボイスナンバ(音色番号)」つまり「順位」のデータ
は、後述するような順位割当て処理に基づく順位割当て
内容に従って、ボイスカートリッジ16における1つの
メモリ接続部を選択する機能を果す。この1つのメモリ
接続部の選択に伴い、そこに装着された1つの外部メモ
リを選択してそこに記憶してある楽音制御データが読み
出され、楽音制御のために利用される。なお、後述する
ように、ボイスカートリッジ16における複数のメモリ
接続部のうち外部メモリが装着されているメモリ接続部
に対してのみ上述の「順位」が割当てられるようになっ
ている。この順位割当て処理及び選択された外部メモリ
の読出し処理はマイクロコンピュータによって実行され
る。
The operation panel section 17 is provided with switches, operators and a display for setting / selecting a tone color and various data. For example, as selection means for selecting a voice number (tone color number) for instructing a tone color of a generated musical tone, an up switch USW and a down switch DSW, and a voice number (tone color) selected in response to an operation of these switches USW, DSW. No.) and its tone color name are provided on the display DSPY.
It should be noted that the up switch U should be noted here.
The "voice number (tone color number)" selected by the selection means including the SW and the down switch DSW does not absolutely correspond to the tone color name, but is simply a "rank" given for convenience of selection operation. The data. The data of "voice number (tone color number)", that is, "rank", has a function of selecting one memory connection portion in the voice cartridge 16 in accordance with the contents of rank allocation based on rank allocation processing as described later. Along with the selection of this one memory connection portion, one external memory mounted therein is selected and the musical tone control data stored therein is read out and used for musical tone control. As will be described later, the above-mentioned “rank” is assigned only to the memory connection section of the voice cartridge 16 to which the external memory is attached, out of the plurality of memory connection sections. The rank assignment process and the read process of the selected external memory are executed by the microcomputer.

【0011】マイクロコンピュータは、また、発生すべ
き楽音の音高を示すキーコード等からなるキーデータを
上記MIDIインタフェース14及びデータバス19を
介して受け取り、受け取ったキーコードに対応する楽音
の発音を複数の楽音形成チャンネルのいずれかのチャン
ネルに対して割当てる処理をも行う。楽音信号形成回路
18では、この発音割当てに従って各楽音形成チャンネ
ルに割当てられたキーコードに対応する音高の楽音信号
を形成すると共に、上記外部メモリから読み出された楽
音制御データに応じて該楽音信号の音色を設定する。こ
の楽音信号形成回路18から発生された楽音信号がサウ
ンドシステム15に与えられる。
The microcomputer also receives key data, such as a key code indicating the pitch of a musical tone to be generated, via the MIDI interface 14 and the data bus 19, and produces a musical tone corresponding to the received key code. The process of assigning to any one of the plurality of tone forming channels is also performed. The musical tone signal forming circuit 18 forms musical tone signals having a pitch corresponding to the key code assigned to each musical tone forming channel in accordance with this tone generation assignment, and the musical tone signals are generated according to the musical tone control data read from the external memory. Set the tone of the signal. The tone signal generated from the tone signal forming circuit 18 is applied to the sound system 15.

【0012】図3は楽音信号発生装置10の一実施例の
外観図である。前面に操作パネル部17とボイスカート
リッジ16が配置されている。20はMIDI規格のデ
ータの入力端子であり、前述のMIDIインタフェース
14に通じている。ボイスカートリッジ16は、楽音信
号発生装置10の本体に対して着脱可能であり、図では
本体から半分程引き出した状態を示しており、矢印方向
に移動させることにより本体に完全に装着したり本体か
ら抜き出したりすることができる。ボイスカートリッジ
16の前面に設けられたつまみ21は、ボイスカートリ
ッジ16を楽音信号発生装置10の本体から抜き出すと
き操作するものである。ボイスカートリッジ16が本体
に完全に装着されているときは図示しない係合機構が作
用してボイスカートリッジ16が本体から簡単には抜け
ないようになっており、この状態でつまみ21を動かすこ
とにより係合機構の係合が解かれ、ボイスカートリッジ
16を引き出すことができるようになっている。
FIG. 3 is an external view of an embodiment of the tone signal generator 10. An operation panel section 17 and a voice cartridge 16 are arranged on the front surface. Reference numeral 20 denotes a MIDI standard data input terminal, which is connected to the MIDI interface 14 described above. The voice cartridge 16 is attachable to and detachable from the main body of the tone signal generator 10, and is shown in a state of being pulled out about half from the main body in the figure. It can be pulled out. The knob 21 provided on the front surface of the voice cartridge 16 is operated when the voice cartridge 16 is pulled out from the main body of the tone signal generating apparatus 10. When the voice cartridge 16 is completely attached to the main body, an engagement mechanism (not shown) works so that the voice cartridge 16 cannot be easily removed from the main body. The engagement of the coupling mechanism is released, and the voice cartridge 16 can be pulled out.

【0013】図4はボイスカートリッジ16の外観を略
示する斜視図であり、メモリ接続部はパッケージ化され
た外部メモリ22を差し込むスロットS0〜S7からな
っており、最大で8個の外部メモリ22を装着すること
ができる。以下、メモリ接続部のことを「スロット」と
いい、外部メモリのことをボイスパックという。ボイス
パックという理由は、この実施例における外部メモリに
は楽音制御データとして音色設定データ(ボイスデー
タ)が記憶されているものとするからである。スロット
S0〜S7の部分はカバー23によって開閉される。カ
バー23を開いた状態におけるスロットS0〜S7の部
分の上面図が図5に示されている。そこに図示されたよ
うにスロットS0〜S7は、ボイスカートリッジ16の
横幅に対して斜めに形成されている。これにより、スロ
ットS0〜S7の長さつまりボイスパック22の長さに
比べてボイスカートリッジ16の横幅を狭くすることが
でき、ボイスカートリッジ16のサイズ及び楽音信号発
生装置10の本体サイズをその分小型化することができ
る。
FIG. 4 is a perspective view schematically showing the appearance of the voice cartridge 16. The memory connection portion is composed of slots S0 to S7 into which the packaged external memory 22 is inserted, and a maximum of eight external memories 22 are provided. Can be attached. Hereinafter, the memory connection part is referred to as a "slot", and the external memory is referred to as a voice pack. The reason for the voice pack is that tone color setting data (voice data) is stored as tone control data in the external memory in this embodiment. The slots S0 to S7 are opened and closed by the cover 23. FIG. 5 is a top view of the slots S0 to S7 with the cover 23 opened. As shown therein, the slots S0 to S7 are formed obliquely with respect to the lateral width of the voice cartridge 16. As a result, the width of the voice cartridge 16 can be made narrower than the length of the slots S0 to S7, that is, the length of the voice pack 22, and the size of the voice cartridge 16 and the size of the main body of the tone signal generator 10 can be reduced accordingly. Can be converted.

【0014】ボイスカートリッジ16の前面には各スロ
ットS0〜S7に対応してLED(発光ダイオード)が
設けられている。ボイスパックが装着されているスロッ
トに対応するLEDを点灯し、ボイスパックの装着状況
を知らせるようになっている。
LEDs (light emitting diodes) are provided on the front surface of the voice cartridge 16 in correspondence with the respective slots S0 to S7. The LED corresponding to the slot in which the voice pack is mounted is turned on to notify the mounting status of the voice pack.

【0015】図6は、1個のボイスパックにおける記憶
構成例を示すメモリマップであり、楽音制御データとし
て1音色に対応する音色設定データを記憶している。詳
しくは、ここに記憶する音色設定データは、当該音色を
実現する複数周期からなる楽音波形データからなってい
る。更に詳しくは、楽音の音高に応じた音色変更制御
(音色のキースケーリング)を行うために、及び鍵タッ
チに応じた音色変更制御(音色のタッチコントロール)
を行うために、各音高(又は音域)及び鍵タッチに対応
して複数の楽音波形データが1個のボイスパック内に記
憶されている。
FIG. 6 is a memory map showing an example of the storage configuration in one voice pack, and stores tone color setting data corresponding to one tone color as tone control data. Specifically, the tone color setting data stored here is musical tone waveform data having a plurality of cycles for realizing the tone color. More specifically, in order to perform tone color change control (tone color key scaling) according to the pitch of a musical tone, and tone color change control according to key touch (tone color touch control)
In order to perform, a plurality of musical tone waveform data are stored in one voice pack corresponding to each pitch (or range) and key touch.

【0016】ボイスパックは、初期データ記憶エリア2
4と、キーバンクオフセットテーブル25と、各音高
(又は音域)に対応する複数のキーバンクKB(0)〜
KB(n)とを具備している。初期データ記憶エリア2
4には、このボイスパックに関する所定の初期データを
記憶している。初期データの種類には、一例として、パ
ック種類データPACKID,ボイスネーム(音色名)
データVNAME,ページ数データPAGEM,ページ
番号データPAGECなどがある。
The voice pack has an initial data storage area 2
4, a key bank offset table 25, and a plurality of key banks KB (0) to corresponding to each pitch (or range).
KB (n). Initial data storage area 2
4 stores predetermined initial data regarding this voice pack. The types of initial data are, for example, pack type data PACKID, voice name (timbre name).
There are data VNAME, page number data PAGEM, page number data PAGEC and the like.

【0017】パック種類データPACKIDは、この外
部メモリパックに記憶している楽音制御データの種類を
示すデータである。外部メモリパックの種類には、ボイ
ス(音色)、自動ベースコード、自動リズム、などがあ
り、例えばそれらのパックは同一寸法であるとする。適
正な外部メモリパックが装着されているかを装置の側で
確認するためにこのパック種類データPACKIDが利
用される。ボイスパックの場合はボイス(音色)を示す
パック種類データPACKIDを記憶している。
The pack type data PACKID is data indicating the type of tone control data stored in this external memory pack. The types of external memory packs include voices (tone colors), automatic bass chords, automatic rhythms, etc. For example, it is assumed that these packs have the same size. This pack type data PACKID is used to confirm on the device side whether a proper external memory pack is mounted. In the case of a voice pack, pack type data PACKID indicating a voice (tone) is stored.

【0018】ボイスネームデータVNAMEは、このボ
イスパックに記憶している楽音制御データによって実現
される音色名(例えば「ピアノ」、「フルート」など)
を示すデータである。
The voice name data VNAME is a tone color name (for example, "piano", "flute" etc.) realized by the tone control data stored in this voice pack.
Is data indicating.

【0019】ページ数データPAGEM及びページ番号
データPAGECは、1音色に関する楽音制御データの
全てを1つのボイスパックに記憶しているか、若しくは
複数のボイスパックに分割して記憶しているか、を識別
するためのデータである。音高、鍵タッチあるいは時間
等の音色変更制御ファクタに応じて複雑に音色が変化す
る音色の場合、1音色に関する楽音制御データ量が多量
になり、1つのボイスパックに記憶し切れなくなってし
まう。そのような場合に1音色に関する楽音制御データ
を複数のボイスパックに分割して記憶するのである。
The page number data PAGEM and page number data PAGEC identify whether all the tone control data for one tone color are stored in one voice pack or divided into a plurality of voice packs. Is data for. In the case of a tone color in which the tone color changes intricately according to a tone color change control factor such as tone pitch, key touch or time, the amount of musical tone control data for one tone color becomes large and cannot be stored in one voice pack. In such a case, the tone control data for one tone color is divided into a plurality of voice packs and stored.

【0020】ページ数データPAGEMは、1音色に関
する楽音制御データを何個のボイスパックに(何ページ
に)分割して記憶しているかを示すデータである。例え
ば、1音色に関する楽音制御データを3個のボイスパッ
クに分割して記憶している場合は、このページ数データ
PAGEMは「3」である。また、1音色に関する楽音
制御データの全てを1つのボイスパックに記憶している
場合は、このページ数データPAGEMは「1」であ
る。
The page number data PAGEM is data indicating how many voice packs (or how many pages) the tone control data for one tone color is divided and stored. For example, when the tone control data for one tone color is divided and stored in three voice packs, the page number data PAGEM is "3". When all the tone control data for one tone color is stored in one voice pack, the page number data PAGEM is "1".

【0021】ページ番号データPAGECは、1音色に
関する楽音制御データを複数のボイスパックに分割して
記憶した場合、このボイスパックに記憶している楽音制
御データが何番目の分割順位(何ページ目)であるかを
示すデータである。例えば、1音色に関する楽音制御デ
ータを3個のボイスパックに分割して記憶したもののう
ち2番目の分割順位の楽音制御データを記憶しているボ
イスパックの場合は、このページ番号データPAGEC
は「2」である。また、1音色に関する楽音制御データ
の全てを1つのボイスパックに記憶している場合は、こ
のページ番号データPAGECは「1」である。
In the page number data PAGEC, when the tone control data for one tone color is divided and stored in a plurality of voice packs, the tone control data stored in this voice pack is at what division order (what page). Is data indicating whether or not For example, in the case of a voice pack which stores the tone control data of the second division order among the ones in which the tone control data for one tone color is divided and stored in three voice packs, the page number data PAGEC
Is "2". When all the tone control data for one tone color are stored in one voice pack, the page number data PAGEC is "1".

【0022】キーバンクオフセットテーブル25は、各
鍵に対応するキーバンクオフセットアドレスデータKB
OSA(0)〜KBOSA(n)を記憶しており、発生
すべき楽音の音高を指定するキーコードをアドレス信号
としてそれに対応するキーバンクオフセットアドレスデ
ータKBOSA(0)〜KBOSA(n)を読み出す。
このキーバンクオフセットアドレスデータKBOSA
(0)〜KBOSA(n)は、各キーバンクKB(0)
〜KB(n)の先頭のアドレスを示すデータであり、キ
ーバンクオフセットテーブル25の先頭のアドレス(こ
れをボイスアドレスVADという)からのオフセットア
ドレス(相対的アドレス)である。各キーバンクKB
(0)〜KB(n)は、音高又は音域に対応している。
The key bank offset table 25 stores the key bank offset address data KB corresponding to each key.
OSA (0) to KBOSA (n) are stored, and key bank offset address data KBOSA (0) to KBOSA (n) corresponding to the key code designating the pitch of a musical tone to be generated are read as address signals. .
This key bank offset address data KBOSA
(0) to KBOSA (n) are key banks KB (0)
.About.KB (n), which is data indicating the start address, and is an offset address (relative address) from the start address of the key bank offset table 25 (this is called voice address VAD). Each key bank KB
(0) to KB (n) correspond to the pitch or range.

【0023】1つのキーバンクKB(0)は、図示のよ
うに、タッチバンクオフセットテーブル26と複数のタ
ッチバンクTB(0)〜TB(m)とからなっている。
他のキーバンクKB(1)〜KB(n)も同様の構成で
ある。
As shown in the figure, one key bank KB (0) comprises a touch bank offset table 26 and a plurality of touch banks TB (0) to TB (m).
The other key banks KB (1) to KB (n) have the same configuration.

【0024】タッチバンクオフセットテーブル26は、
鍵タッチの各段階に対応するタッチバンクオフセットア
ドレスデータTBOSA(0)〜TBOSA(m)を記
憶しており、鍵タッチデータをアドレス信号としてそれ
に対応するタッチバンクオフセットアドレスデータTB
OSA(0)〜TBOSA(m)を読み出す。このタッ
チバンクオフセットアドレスデータTBOSA(0)〜
TBOSA(m)は、各タッチバンクTB(0)〜TB
(m)の先頭のアドレスを示すデータであり、タッチバ
ンクオフセットテーブル26の先頭のアドレス(これは
該当するキーバンクKB(0)のキーバンクオフセット
アドレスデータKBOSA(0)に対応するアドレスで
ある)からのオフセットアドレス(相対的アドレス)で
ある。各タッチバンクTB(0)〜TB(m)は、鍵タ
ッチの各段階に対応している。
The touch bank offset table 26 is
Touch bank offset address data TBOSA (0) to TBOSA (m) corresponding to each stage of key touch is stored, and touch bank offset address data TB corresponding to the key touch data is used as an address signal.
Read OSA (0) to TBOSA (m). This touch bank offset address data TBOSA (0)-
TBOSA (m) is each touch bank TB (0) to TB
(M) is data indicating the start address of the touch bank offset table 26 (this is an address corresponding to the key bank offset address data KBOSA (0) of the corresponding key bank KB (0)). Is an offset address (relative address) from. Each of the touch banks TB (0) to TB (m) corresponds to each stage of key touch.

【0025】1つのタッチバンクTB(0)は、図示の
ように、エンベロープ設定データEGの記憶エリア27
と、スタートアドレスデータSAD、エンドアドレスデ
ータEAD及びリピートアドレスデータRADの記憶エ
リア28と、波形サンプルデータの記憶エリア29とか
らなっている。他のタッチバンクTB(1)〜TB
(m)も同様の構成である。エンベロープ設定データE
Gは、アタック、ディケイ、サステイン、レリース等の
エンベロープ波形特性の各部分のレベルやレートを設定
するデータである。
As shown, one touch bank TB (0) has a storage area 27 for envelope setting data EG.
A storage area 28 for the start address data SAD, the end address data EAD and the repeat address data RAD, and a storage area 29 for the waveform sample data. Other touch banks TB (1) to TB
(M) has the same configuration. Envelope setting data E
G is data for setting the level and rate of each part of the envelope waveform characteristic such as attack, decay, sustain, release and the like.

【0026】記憶エリア29に記憶する波形サンプルデ
ータは、図7に示すように、アタック部の全波形と持続
部の複数周期波形を例えばPCM方式で符号化したデー
タからなる。スタートアドレスデータSADは、この記
憶エリア29に記憶したアタック部の先頭のアドレスを
示すデータである。エンドアドレスデータEADは、こ
の記憶エリア29に記憶した持続部の最後のアドレスを
示すデータである。リピートアドレスデータRADは、
この記憶エリア29に記憶した持続部の先頭のアドレス
を示すデータである。記憶エリア29に記憶した波形サ
ンプルデータの読出し方は、スタートアドレスSADか
ら始まるアタック部の全波形データを1通り読み出し、
それに引き続いて持続部の複数周期波形データをリピー
トアドレスRADとエンドアドレスEADの間で繰返し
読み出す。記憶エリア28に記憶したスタートアドレス
データSAD、エンドアドレスデータEAD及びリピー
トアドレスデータRADは、記憶エリア29におけるこ
れらのスタートアドレス、エンドアドレス及びリピート
アドレスを、該当するタッチバンクTB(0)の先頭の
アドレス(つまりタッチバンクオフセットアドレスデー
タTBOSA(0)に対応するアドレス)からのオフセ
ットアドレス(相対アドレス)である。
As shown in FIG. 7, the waveform sample data stored in the storage area 29 is composed of data obtained by encoding the entire waveform of the attack part and the plurality of periodic waveforms of the sustain part by, for example, the PCM method. The start address data SAD is data indicating the start address of the attack portion stored in the storage area 29. The end address data EAD is data indicating the last address of the continuous portion stored in the storage area 29. The repeat address data RAD is
This is data indicating the start address of the continuous portion stored in the storage area 29. To read the waveform sample data stored in the storage area 29, read all the waveform data of the attack part starting from the start address SAD,
Subsequently, the waveform data of a plurality of periods in the sustain portion is repeatedly read between the repeat address RAD and the end address EAD. The start address data SAD, the end address data EAD, and the repeat address data RAD stored in the storage area 28 are the start address, end address, and repeat address in the storage area 29, which are the start addresses of the corresponding touch bank TB (0). (That is, an offset address (relative address) from the touch bank offset address data TBOSA (0)).

【0027】なお、図7では、図示の都合上アタック部
の波形にエンベロープが付与されているが、実際に記憶
エリア29に記憶する波形サンプルデータのエンベロー
プレベルは一定レベルに規格化されているものとし、こ
れを読み出した後に自由にエンベロープを付与するもの
とする。以上のように、1つのボイスパックには音高と
鍵タッチとの組合せに応じて異なる楽音波形データを記
憶した複数(n×m個)の記憶エリア29が設けられて
おり、押圧された鍵の音高と該鍵に加わる鍵タッチとに
応じて1つの記憶エリア29が選択され、そこに記憶さ
れた波形データが読み出される。
In FIG. 7, an envelope is added to the waveform of the attack portion for convenience of illustration, but the envelope level of the waveform sample data actually stored in the storage area 29 is standardized to a fixed level. After reading this, the envelope is freely added. As described above, one voice pack is provided with a plurality (n × m) of storage areas 29 in which different musical tone waveform data are stored according to the combination of the pitch and the key touch. One storage area 29 is selected according to the pitch of the key and the key touch applied to the key, and the waveform data stored therein is read.

【0028】この実施例においては、ボイスカートリッ
ジ16全体を1つのメモリとみなして各スロットS0〜
S7に対して絶対アドレスが割当てられている。これを
図によって示すと第8図のようであり、スロットS0に
関して所定の初期アドレス(これをパック初期アドレス
といい、PAD(0)で示す)から始まる1ボイスパッ
ク分の絶対アドレスが割当てられ、同様に、各スロット
S1〜S7に関して夫々のパック初期アドレスPAD
(1)〜PAD(7)から始まる1ボイスパック分の絶
対アドレスが夫々割当てられる。マイクロコンピュータ
では、この絶対アドレスによりボイスカートリッジ16
の各ボイスパックをアクセスする。
In this embodiment, the entire voice cartridge 16 is regarded as one memory, and each slot S0 to S0.
An absolute address is assigned to S7. This is shown in FIG. 8 as a diagram, and an absolute address for one voice pack starting from a predetermined initial address (this is called a pack initial address, indicated by PAD (0)) for the slot S0 is assigned, Similarly, for each of the slots S1 to S7, the respective pack initial address PAD
Absolute addresses for one voice pack starting from (1) to PAD (7) are assigned. In the microcomputer, the voice cartridge 16
Access each voice pack of.

【0029】図6に戻り、ボイスパックの記憶領域の先
頭のアドレスつまり初期データ記憶エリア24の先頭の
アドレスが上述のパック初期アドレスPAD(SN)に
該当する。上述から明らかなようにこのパック初期アド
レスPAD(SN)は、当該ボイスパックに固有のもの
ではなく、当該ボイスパックを装着したスロットS0〜
S7に固有のものである。従って、パック初期アドレス
の表示PAD(SN)におけるSNは、当該ボイスパッ
クを装着したスロットS0〜S7の番号を示す。つま
り、パック初期アドレスPAD(SN)は、当該ボイス
パックがどのスロットS0〜S7に装着されているかに
よってPAD(0)〜PAD(7)のいずれかの値とな
る。
Returning to FIG. 6, the start address of the voice pack storage area, that is, the start address of the initial data storage area 24 corresponds to the pack initial address PAD (SN). As is apparent from the above, the pack initial address PAD (SN) is not unique to the voice pack, but the slots S0 to S0 in which the voice pack is mounted.
It is unique to S7. Therefore, SN in the display PAD (SN) of the pack initial address indicates the number of the slots S0 to S7 in which the voice pack is mounted. That is, the pack initial address PAD (SN) becomes one of the values PAD (0) to PAD (7) depending on which slot S0 to S7 the voice pack is mounted.

【0030】この実施例では、キーバンクオフセットテ
ーブル25の先頭のアドレスを、ボイスパックからデー
タを読み出すための基準のアドレスとして定めている。
このキーバンクオフセットテーブル25の先頭のアドレ
スの絶対アドレスをボイスアドレスVADということに
する。キーバンクオフセットテーブル25の先頭のアド
レスのパック初期アドレスPAD(SN)に対するオフ
セットアドレスを初期データオフセットアドレスIOS
Aといい、ボイスアドレスVADは、下記(1)式のよ
うに、パック初期アドレスPAD(SN)に初期データ
オフセットアドレスIOSAを加算することにより求め
ることができる。 VAD=PAD(SN)+IOSA …(1)式
In this embodiment, the head address of the key bank offset table 25 is set as a reference address for reading data from the voice pack.
The absolute address of the head address of the key bank offset table 25 will be referred to as a voice address VAD. The offset address for the pack initial address PAD (SN) at the head address of the key bank offset table 25 is set to the initial data offset address IOS.
The voice address VAD can be obtained by adding the initial data offset address IOSA to the pack initial address PAD (SN) as in the following formula (1). VAD = PAD (SN) + IOSA (1) Formula

【0031】このボイスアドレスVADに対して、押圧
鍵のキーコードに応じてキーバンクオフセットテーブル
25から読み出したキーバンクオフセットアドレスデー
タ(KBOSA(0)〜KBOSA(n)のうち1つ;
これをKBOSA(i)で示す)と、鍵タッチデータに
応じてタッチバンクオフセットテーブル26から読み出
したタッチバンクオフセットアドレスデータ(TBOS
A(0)〜TBOSA(m)のうち1つ;これをTBO
SA(i)で示す)とを、下記(2)式のように加算す
ることにより、このタッチバンクオフセットアドレスデ
ータTBOSA(i)に対応する絶対アドレス(これを
AbTBOSA(i)で示す)を特定することができ
る。 AbTBOSA(i)=VAD+KBOSA(i)+T
BOSA(i) …(2)式
With respect to the voice address VAD, key bank offset address data (one of KBOSA (0) to KBOSA (n) read from the key bank offset table 25 in accordance with the key code of the pressed key;
This is indicated by KBOSA (i)) and the touch bank offset address data (TBOS) read from the touch bank offset table 26 according to the key touch data.
One of A (0) to TBOSA (m); TBO
SA (i)) is added as in the following equation (2) to specify the absolute address (shown as AbTBOSA (i)) corresponding to the touch bank offset address data TBOSA (i). can do. AbTBOSA (i) = VAD + KBOSA (i) + T
BOSA (i) (2) formula

【0032】このタッチバンクオフセットアドレスデー
タTBOSA(i)の絶対アドレスAbTBOSA
(i)を、記憶エリア28から読み出したスタートアド
レスデータSAD、エンドアドレスデータEAD及びリ
ピートアドレスデータRADに対して夫々加算すること
により、スタートアドレスデータSAD、エンドアドレ
スデータEAD及びリピートアドレスデータRADの絶
対アドレスを求めることができる。こうして求められた
スタートアドレスデータSAD、エンドアドレスデータ
EAD及びリピートアドレスデータRADの絶対アドレ
スデータを用いてボイスカートリッジ16にアクセスす
ることにより、記憶エリア29に記憶した波形サンプル
データを読み出すことができる。
Absolute address AbTBOSA of this touch bank offset address data TBOSA (i)
By adding (i) to the start address data SAD, end address data EAD, and repeat address data RAD read from the storage area 28, respectively, the start address data SAD, end address data EAD, and repeat address data RAD are absolute. You can ask for an address. By accessing the voice cartridge 16 using the absolute address data of the start address data SAD, the end address data EAD and the repeat address data RAD thus obtained, the waveform sample data stored in the storage area 29 can be read.

【0033】楽音信号発生装置10内のマイクロコンピ
ュータによって実行される処理のうち、この発明に関連
する処理のフローチャートの一例が図10〜図15に示
されている。この処理に関連して使用されるデータ及び
ワーキングRAM13内の記憶内容の一例が図9に示さ
れている。
Of the processing executed by the microcomputer in the musical tone signal generating apparatus 10, an example of a flowchart of processing related to the present invention is shown in FIGS. An example of the data used in connection with this processing and the stored contents in the working RAM 13 is shown in FIG.

【0034】STFLGは、スタンバイフラグであり、
スタンバイモードのとき“0”、発音可能時は“1”で
ある。スタンバイモード時においては、各スロットS0
〜S7におけるボイスパックの有無を検出し、ボイスパ
ックが装着されたスロットに対して前述の「ボイスナン
バ(音色番号)」つまり「順位」を割当てる処理が行わ
れる。
STFLG is a standby flag,
It is "0" in the standby mode and "1" when the sound can be produced. In the standby mode, each slot S0
In S7, the presence or absence of the voice pack is detected, and the above-mentioned "voice number (tone color number)", that is, "rank" is assigned to the slot in which the voice pack is installed.

【0035】CVNOは、ボイスナンバレジスタであ
り、現在選択されているボイスナンバをストアするもの
である。このボイスナンバレジスタCVNOの内容はア
ップスイッチUSW及びダウンスイッチDSWの操作に
応じて増減する。MAXVNは、最大ボイスナンバ(最
大順位)レジスタであり、順位割当て処理によって割当
てた最大ボイスナンバ(最大順位)をストアするもので
ある。選択可能な「ボイスナンバ」つまり「順位」の数
がこの最大ボイスナンバ(最大順位)に対応する数に制
限されるようになっている。
CVNO is a voice number register, which stores the currently selected voice number. The content of the voice number register CVNO increases or decreases according to the operation of the up switch USW and the down switch DSW. MAXVN is a maximum voice number (maximum rank) register, and stores the maximum voice number (maximum rank) assigned by the rank assignment processing. The number of selectable "voice numbers", that is, "ranks" is limited to the number corresponding to this maximum voice number (maximum rank).

【0036】VAD(0)〜VAD(7)は、「0」〜
「7」の各順位(ボイスナンバ)に対応するボイスアド
レスレジスタであり、各順位が割当てられたスロットS
0〜S7に装着されたボイスパックのボイスアドレスV
ADを夫々記憶するものである。順位すなわちボイスナ
ンバをVNで示すと、或るボイスナンバ(すなわち順
位)VNに対応するボイスアドレスレジスタは一般的に
VAD(VN)で表わされる。前述のように、ボイスア
ドレスVADはスロットS0〜S7のパック初期アドレ
スPAD(SN)に関連して定まる。従って、この各順
位(ボイスナンバ)に対応するボイスアドレスレジスタ
VAD(0)〜VAD(7)には、その順位が割当てら
れたスロットS0〜S7に関連する情報つまりボイスア
ドレスVADが夫々記憶されることになる。
VAD (0) to VAD (7) are "0" to
It is a voice address register corresponding to each rank (voice number) of "7", and the slot S to which each rank is assigned.
Voice address V of the voice pack attached to 0 to S7
Each AD is stored. When the rank or voice number is indicated by VN, the voice address register corresponding to a certain voice number (that is, rank) VN is generally represented by VAD (VN). As described above, the voice address VAD is determined in relation to the pack initial address PAD (SN) of the slots S0 to S7. Therefore, in the voice address registers VAD (0) to VAD (7) corresponding to the respective ranks (voice numbers), the information related to the slots S0 to S7 to which the ranks are assigned, that is, the voice address VAD is stored. It will be.

【0037】VNMREG(0)〜VNMREG(7)
は、「0」〜「7」の各順位(ボイスナンバ)に対応す
るボイスネーム(音色名)レジスタであり、各順位が割
当てられたスロットS0〜S7に装着されたボイスパッ
クのボイスネームVNAMEを夫々記憶するものであ
る。STSNは、スタートスロットナンバレジスタであ
り、1音色に関する楽音制御データを複数のボイスパッ
クに分割して記憶しているボイスパックが装着された場
合、そのうち第1番目のボイスパックが装着されたスロ
ットの番号をストアするものである。
VNMREG (0) to VNMREG (7)
Is a voice name (timbre name) register corresponding to each rank (voice number) of "0" to "7", and indicates the voice name VNAME of the voice pack attached to the slot S0 to S7 to which each rank is assigned. Each one is memorized. STSN is a start slot number register, and when a voice pack that stores musical tone control data for one tone color is divided into a plurality of voice packs and is stored, the first voice pack is stored in the slot. It stores numbers.

【0038】VNSTKは、ボイスネームレジスタであ
り、1音色に関する楽音制御データを複数のボイスパッ
クに分割して記憶しているボイスパックが装着された場
合、そのうち第1番目のボイスパックのボイスネームデ
ータVNAMEをストアしておくものである。PGST
Kは、ページ数レジスタであり、1音色に関する楽音制
御データを複数のボイスパックに分割して記憶している
ボイスパックが装着された場合、そのうち第1番目のボ
イスパックのページ数データPAGEMをストアしてお
くものである。
VNSTK is a voice name register, and when a voice pack in which musical tone control data for one timbre is divided and stored in a plurality of voice packs is mounted, voice name data of the first voice pack among them. The VNAME is stored. PGST
K is a page number register, which stores the page number data PAGEM of the first voice pack when a voice pack in which musical tone control data for one timbre is divided and stored is divided and stored. It is something to keep.

【0039】これらのレジスタSTSN,VNSTK,
PGSTKは、1音色に関する楽音制御データを複数の
ボイスパックに分割して記憶しているボイスパックが装
着された場合、その各ボイスパックが正しい順序で装着
されているか否かを照合するために利用される。
These registers STSN, VNSTK,
The PGSTK is used to check whether or not each voice pack is mounted in the correct order when a voice pack that stores the tone control data for one timbre divided into a plurality of voice packs is mounted. To be done.

【0040】また、データ及びワーキングRAM13に
は、現在順位割当て処理中のボイスパックに関する各種
初期データPACKID,VNAME,PAGEM,P
AGECが転送記憶される。更に、データ及びワーキン
グRAM13内には、楽音信号形成回路18の楽音形成
チャンネルに割当てた楽音のキーデータ(キーコードや
キーオン信号などであり、これは発音割当て処理に基づ
き得られる)を記憶するための領域や、操作パネル部1
7におけるスイッチ等の操作検出データやLED等のオ
ン・オフデータを記憶するための領域、その他のワーキ
ング領域が設けられている。
Further, in the data and working RAM 13, various initial data PACKID, VNAME, PAGEM, P relating to the voice packs currently undergoing the rank assignment process.
AGEC is transferred and stored. Further, in the data and working RAM 13, in order to store key data of a musical tone assigned to a musical tone forming channel of the musical tone signal forming circuit 18 (a key code, a key-on signal, etc., which is obtained on the basis of the tone generation assignment process). Area and operation panel 1
7, an area for storing operation detection data of switches and the like, ON / OFF data of LEDs and the like, and other working areas are provided.

【0041】図10のメインルーチンについて説明する
と、まず、電源オンに応じて実行される初期設定処理で
は、スタンバイフラグSTFLGを“0”にセットして
スタンバイモードとし、かつ各種レジスタの内容を初期
設定する。なお、スタンバイモードのとき、操作パネル
部17のディスプレイDSPYに「STAND BY」
という表示がなされる。次のボイスカートリッジ処理で
は図11〜図13に示すような処理を実行する。ここで
は、主に、ボイスカートリッジ16における各スロット
S0〜S7にボイスパックが装着されているか否かを検
出し、それに基づき「順位割当て処理」を行う。
Explaining the main routine of FIG. 10, first, in the initialization process executed in response to power-on, the standby flag STFLG is set to "0" to enter the standby mode, and the contents of various registers are initialized. To do. In the standby mode, “STAND BY” is displayed on the display DSPY of the operation panel unit 17.
Is displayed. In the next voice cartridge process, the processes shown in FIGS. 11 to 13 are executed. Here, it is mainly detected whether or not a voice pack is mounted in each of the slots S0 to S7 of the voice cartridge 16, and the "rank assignment process" is performed based on it.

【0042】次の音色選択スイッチスキャン処理では、
音色選択用のアップスイッチUSWまたはダウンスイッ
チDSWがオンされたかを検出する。アップスイッチU
SWまたはダウンスイッチDSWのオンイベントが検出
されると、図14のような処理が実行され、選択された
「ボイスナンバ」すなわち「順位」が確定される。その
他のパネル操作子スキャン処理では、操作パネル部17
におけるその他のスイッチや操作子の状態を検出し、こ
れに基づく処理を行う。
In the next tone color selection switch scanning process,
It is detected whether the up switch USW or the down switch DSW for selecting a tone color is turned on. Up switch U
When the ON event of the SW or the down switch DSW is detected, the processing shown in FIG. 14 is executed, and the selected “voice number”, that is, “rank” is fixed. In the other panel operator scanning process, the operation panel unit 17 is used.
The states of other switches and controls in are detected and processing based on them is performed.

【0043】図15のキーオンイベント処理あるいはキ
ーオフイベント処理は、MIDIインタフェース14を
介して新たな押鍵を示すキーオンイベント信号又は新た
な離鍵を示すキーオフイベント信号が与えられたとき、
メインルーチンに対する割込み処理として実行される。
In the key-on event processing or the key-off event processing of FIG. 15, when a key-on event signal indicating a new key depression or a key-off event signal indicating a new key release is given through the MIDI interface 14,
It is executed as an interrupt process for the main routine.

【0044】図11〜図13を参照してボイスカートリ
ッジ処理について説明する。まず、図11において、ス
タンバイフラグSTFLGが“0”であることを条件
に、ステップ30から31に進み、ボイスカートリッジ
16が新たに装着されたかを調べる。ボイスカートリッ
ジ16が新たに装着されたならば、ステップ32に行
き、ボイスカートリッジ16に変化が無いならば、リタ
ーンに行く。
The voice cartridge process will be described with reference to FIGS. First, in FIG. 11, on the condition that the standby flag STFLG is "0", the process proceeds from steps 30 to 31 to check whether the voice cartridge 16 is newly installed. If the voice cartridge 16 is newly installed, go to step 32, and if the voice cartridge 16 has not changed, go to return.

【0045】ステップ32では、ディスプレイDSPY
における「STAND BY」という表示を消灯する。
次のステップ33では、スタンバイフラグSTFLGを
“1”にセットする。ステップ34では、スロットナン
バSNとボイスナンバ(つまり順位データ)VNを夫々
「0」に初期設定する。このスロットナンバSNとボイ
スナンバVNは、現在順位割当て処理中のスロットとそ
れに対して割当てるべき順位(つまりボイスナンバ)と
を夫々指示する。次に図12のステップ35へ行く。
In step 32, the display DSPY
The display of "STAND BY" is turned off.
In the next step 33, the standby flag STFLG is set to "1". In step 34, the slot number SN and the voice number (that is, order data) VN are initialized to "0". The slot number SN and the voice number VN respectively indicate the slot which is currently being assigned and the rank (that is, voice number) to be assigned to the slot. Next, go to step 35 in FIG.

【0046】ステップ35では、スロットナンバSNに
よって指示されたスロット(S0〜S7のいずれか)に
装着されているボイスパックから初期データ(パック種
類データPACKID,ボイスネームデータVNAM
E,ページ数データPAGEM,ページ番号データPA
GECなど)を読み取る。ステップ36では、初期デー
タが正常に読み取れたかを調べる。正常に読み取れた場
合は、このスロットにボイスパックが装着されているこ
とを意味する。従って、このステップ36においてスロ
ットにボイスパックが装着されているか否かの検出がな
される。
In step 35, initial data (pack type data PACKID, voice name data VNAM) is read from the voice packs installed in the slot (any of S0 to S7) designated by the slot number SN.
E, page number data PAGEM, page number data PA
GEC). In step 36, it is checked whether the initial data has been read normally. If it is read normally, it means that a voice pack is installed in this slot. Therefore, in this step 36, it is detected whether or not the voice pack is attached to the slot.

【0047】ステップ37では、読み取ったパック種類
データPACKIDが音色設定用のボイスパックのもの
であるかを調べる。ステップ38では、読み取ったペー
ジ数データPAGEMが「1」より大きいか、つまり当
該ボイスパックが複数個で1音色に対応しているかを調
べる。ステップ36,37がYES、ステップ38がN
Oならば、1つのボイスパックで1音色に対応している
ボイスパックであることを意味し、ステップ39に行
く。ステップ36,37,38がYESならば、複数の
ボイスパックで1音色に対応しているボイスパックであ
ることを意味し、図13のステップ50に行く。
In step 37, it is checked whether the read pack type data PACKID is of a voice pack for tone color setting. In step 38, it is checked whether the read page number data PAGEM is larger than "1", that is, whether the voice pack is plural and corresponds to one timbre. YES in steps 36 and 37, N in step 38
If it is O, it means that one voice pack corresponds to one timbre, and the process goes to step 39. If steps 36, 37, and 38 are YES, it means that the voice pack corresponds to one timbre among a plurality of voice packs, and the process goes to step 50 in FIG.

【0048】ステップ39では、前出の(1)式を実行
してボイスアドレスVADを求め、これをボイスナンバ
VNによって指示されるボイスアドレスレジスタVAD
(VN)に記憶する。すなわち、スロットナンバSNに
よって指示されるスロットのパック初期アドレスPAD
(SN)に対して初期データオフセットアドレスIOS
Aを加算し、当該スロットに関するボイスアドレスVA
Dを求め、これをボイスナンバVNによって指示される
ボイスアドレスレジスタVAD(VN)に記憶する。こ
うして、スロットナンバSNによって指示されるスロッ
トに対してボイスナンバVNによって指示される順位が
割当てられる。すなわち、そのスロットに関するボイス
アドレスVADがボイスナンバVNによって指示される
順位に対応するボイスアドレスレジスタVAD(VN)
に記憶される。
In step 39, the above-mentioned equation (1) is executed to obtain the voice address VAD, and the voice address VAD is designated by the voice number VN.
Store in (VN). That is, the pack initial address PAD of the slot designated by the slot number SN
Initial data offset address IOS for (SN)
A is added and the voice address VA for the slot is added.
D is obtained and stored in the voice address register VAD (VN) designated by the voice number VN. Thus, the order designated by the voice number VN is assigned to the slot designated by the slot number SN. That is, the voice address register VAD (VN) corresponding to the order in which the voice address VAD for the slot is designated by the voice number VN.
Memorized in.

【0049】ステップ40では、ボイスカートリッジ1
6における各スロットに対応するLEDのうち、スロッ
トナンバSNによって指示されるスロットに対応するL
ED(SN)を点灯する。ステップ41では、前記ステ
ップ35で読み取ったボイスネームデータVNAME
を、ボイスナンバVNによって指示される順位に対応す
るボイスネームレジスタVNMREG(VN)に記憶す
る。ステップ42では、ボイスナンバVNを1増加す
る。ステップ43では、スロットナンバSNを1増加す
る。ステップ44では、スロットナンバSNが最大値
「7」を超えたかを調べる。超えていなければ、ステッ
プ35に戻り、超えていれば、ステップ45に行く。
In step 40, the voice cartridge 1
Among the LEDs corresponding to each slot in No. 6, L corresponding to the slot designated by the slot number SN
Turn on ED (SN). In step 41, the voice name data VNAME read in step 35 is read.
Are stored in the voice name register VNMEG (VN) corresponding to the order designated by the voice number VN. In step 42, the voice number VN is incremented by 1. At step 43, the slot number SN is incremented by 1. In step 44, it is checked whether the slot number SN exceeds the maximum value "7". If not exceeded, the process returns to step 35, and if exceeded, the process proceeds to step 45.

【0050】ステップ35から44までの処理は、全ス
ロットS0〜S7に関して行われる。これにより個々の
スロットにボイスパックが装着されているか否かが検出
される。ボイスパックが装着されているスロットに関し
てはステップ39から42まで処理が実行され、上述の
ようにボイスナンバVN(つまり順位)の割当てがなさ
れる。ボイスパックが適正に装着されていないスロット
に関してはステップ36又は37のNOからステップ4
9に行き、そのスロットに関するLED(SN)を消灯
した後、ステップ43に行く。ステップ42の処理によ
り、ボイスナンバVN(つまり順位)は、ボイスパック
が装着されているスロットに関して割当てがなされたと
きだけ増加される。
The processing from steps 35 to 44 is performed for all slots S0 to S7. As a result, it is detected whether or not a voice pack is attached to each slot. With respect to the slot in which the voice pack is installed, the processing is executed from steps 39 to 42, and the voice number VN (that is, the rank) is assigned as described above. If the voice pack is not properly installed in the slot, the result of step 36 or 37 is NO to step 4
9 and turn off the LED (SN) for that slot, then go to step 43. Due to the processing of step 42, the voice number VN (i.e., rank) is incremented only when the assignment is made for the slot in which the voice pack is installed.

【0051】こうして、例えば、スロットS0,S1,
S3,S6にだけボイスパックが装着されている場合
は、スロットS0に「0」、S1に「1」、S3に
「2」、S6に「3」、というようにボイスナンバ(す
なわち順位)が割当てられ、ボイスパックが装着されて
いない他のスロットS2,S4,S5,S7に対しては
ボイスナンバ(すなわち順位)が割当てられない。すな
わち、この場合、ボイスナンバ「0」、「1」、
「2」、「3」に対応するボイスアドレスレジスタVA
D(0),VAD(1),VAD(2),VAD(3)
にボイスパックが装着されているスロットS0,S1,
S3,S6に関するボイスアドレスVADが夫々記憶さ
れる。
Thus, for example, slots S0, S1,
If voice packs are installed only in S3 and S6, the voice number (that is, rank) is "0" in slot S0, "1" in S1, "2" in S3, and "3" in S6. Voice numbers (that is, ranks) are not assigned to the other slots S2, S4, S5, and S7 that are assigned and have no voice packs. That is, in this case, the voice numbers “0”, “1”,
Voice address register VA corresponding to "2" and "3"
D (0), VAD (1), VAD (2), VAD (3)
Slots S0, S1, in which voice packs are installed
Voice addresses VAD relating to S3 and S6 are stored respectively.

【0052】ステップ45では、ボイスナンバVNから
1を引いた値を最大ボイスナンバレジスタMAXVNに
セットする。ステップ42でVNに1を加算してからこ
のステップ45に来るため、ボイスナンバVNの値は実
際の最大ボイスナンバよりも1大きい値となっている。
従って、VN−1が、割当てられたボイスナンバのうち
最大ボイスナンバであり、これを最大ボイスナンバレジ
スタMAXVNに記憶する。
In step 45, the value obtained by subtracting 1 from the voice number VN is set in the maximum voice number register MAXVN. Since 1 is added to VN in step 42 and step 45 is reached, the value of the voice number VN is 1 larger than the actual maximum voice number.
Therefore, VN-1 is the maximum voice number of the assigned voice numbers, and this is stored in the maximum voice number register MAXVN.

【0053】ステップ46では、レジスタMAXVNの
最大ボイスナンバが−1であるかを調べる。ボイスカー
トリッジ16に有効なボイスパックが全く装着されてい
ない場合は、ボイスナンバVNは初期設定された値
「0」のままであり、これから1を引くと−1となり、
これがレジスタMAXVNに記憶される。このような場
合は、ステップ47,48に行き、ディスプレイDSP
Yに「STAND BY」という表示を行い、スタンバ
イフラグSTFLGを“0”にセットしてスタンバイモ
ードとし、かつ各種レジスタの内容を初期設定する。
In step 46, it is checked whether the maximum voice number of the register MAXVN is -1. If no valid voice pack is mounted on the voice cartridge 16, the voice number VN remains the initial value "0", and subtracting 1 from this gives -1.
This is stored in register MAXVN. In this case, go to steps 47 and 48 and display DSP
"STAND BY" is displayed on Y, the standby flag STFLG is set to "0" to enter the standby mode, and the contents of various registers are initialized.

【0054】複数のボイスパックで1音色に対応してい
るボイスパックが装着されている場合は、ステップ38
(図12)のYESからステップ50(図13)に行
く。ステップ50では、そのときのスロットナンバSN
をスタートスロットナンバレジスタSTSNにストア
し、ページ数データPAGEMをページ数レジスタPG
STKにストアし、ボイスネームデータVNAMEをボ
イスネームレジスタVNSTKにストアする。ステップ
51では、ページナンバPNを「1」に初期設定する。
If a plurality of voice packs corresponding to one timbre are mounted, step 38
From YES in (FIG. 12), the process proceeds to step 50 (FIG. 13). In step 50, the slot number SN at that time
Is stored in the start slot number register STSN, and the page number data PAGEM is stored in the page number register PG.
Store in STK and store voice name data VNAME in voice name register VNSTK. In step 51, the page number PN is initialized to "1".

【0055】ステップ52では、現在処理しているボイ
スパックのページ番号データPAGECがページナンバ
PNに一致しているかを調べる。YESならば、ステッ
プ53に行き、スロットナンバSNとページナンバPN
を夫々1増加する。次のステップ54では、前記ステッ
プ35と同様に、スロットナンバSNによって指示され
たスロット(S0〜S7のいずれか)に装着されている
ボイスパックから初期データ(パック種類データPAC
KID,ボイスネームデータVNAME,ページ数デー
タPAGEM,ページ番号データPAGECなど)を読
み取る。
In step 52, it is checked whether the page number data PAGEC of the currently processed voice pack matches the page number PN. If YES, go to step 53, where slot number SN and page number PN
Is increased by 1. In the next step 54, as in the case of step 35, initial data (pack type data PAC) from the voice pack mounted in the slot (any one of S0 to S7) designated by the slot number SN.
KID, voice name data VNAME, page number data PAGEM, page number data PAGEC, etc.) are read.

【0056】次のステップ55,56も前記ステップ3
6,37と同様に、初期データが正常に読み取れたかを
調べ、また、読み取ったパック種類データPACKID
が音色設定用のボイスパックのものであるかを調べる。
ステップ57では、読み取ったボイスネームデータVN
AMEがボイスネームレジスタVNSTKにストアした
1番目のボイスパックのボイスネームと一致するかを調
べる。ステップ58では、読み取ったページ数データP
AGEMがページ数レジスタPGSTKにストアした1
番目のボイスパックのページ数と一致するかを調べる。
The following steps 55 and 56 are also executed in the step 3
As with Nos. 6 and 37, it is checked whether the initial data is normally read, and the read pack type data PACKID
Check if is a voice pack for tone setting.
In step 57, the read voice name data VN
It is checked whether the AME matches the voice name of the first voice pack stored in the voice name register VNSTK. In step 58, the read page number data P
1 stored by AGEM in the page number register PGSTK
Find out if it matches the number of pages in the second voice pack.

【0057】ステップ59では、読み取ったページ番号
データPAGECが現在処理中のページ番号を示すペー
ジナンバPNと一致するかを調べる。ステップ60で
は、現在処理中のページ番号を示すページナンバPNが
読み取ったページ数データPAGEMと一致するかを調
べる。NOならば、ステップ53に戻り、ステップ53
から60までの処理を繰り返す。ステップ60がYES
なら最終ページであり、ステップ61に行く。
In step 59, it is checked whether the read page number data PAGEC matches the page number PN indicating the page number currently being processed. In step 60, it is checked whether the page number PN indicating the page number currently being processed matches the read page number data PAGEM. If NO, return to step 53, step 53
The process from 1 to 60 is repeated. YES in step 60
If so, it is the final page, and go to step 61.

【0058】ステップ61では、前出のステップ39と
ほぼ同様に、前出の(1)式を実行してボイスアドレス
VADを求め、これをボイスナンバVNによって指示さ
れるボイスアドレスレジスタVAD(VN)に記憶す
る。ステップ39と異なる点は、スタートスロットナン
バレジスタSTSNにストアした1ページ目のボイスパ
ックのスロットナンバによって指示されるスロットのパ
ック初期アドレスPAD(STSN)に対して初期デー
タオフセットアドレスIOSAを加算し、当該1番目の
ボイスパックを装着したスロットに関するボイスアドレ
スVADを求める点である。ステップ50〜60の処理
中、ボイスナンバVNは変化しないから、1音色に対応
する複数のボイスパックを装着した複数のスロットに対
しては共通のボイスナンバVN(つまり順位)が割当て
られる。
In step 61, almost the same as in step 39, the equation (1) described above is executed to obtain the voice address VAD, which is designated by the voice number VN. Remember. The difference from step 39 is that the initial data offset address IOSA is added to the pack initial address PAD (STSN) of the slot indicated by the slot number of the voice pack of the first page stored in the start slot number register STSN, The point is to find the voice address VAD for the slot in which the first voice pack is installed. Since the voice number VN does not change during the processing of steps 50 to 60, the common voice number VN (that is, the rank) is assigned to the plurality of slots in which the plurality of voice packs corresponding to one timbre are mounted.

【0059】ステップ62では、スタートスロットナン
バレジスタSTSNにストアした1ページ目のボイスパ
ックのスロットナンバによって指示されるスロットに対
応するLED(STSN)からこのスロット番号にペー
ジ数データPAGEMより1少ない数を加算したスロッ
ト番号に対応するLED(STSN+PAGEM−1)
までのLED全てを点灯する。つまり、1音色に対応す
る複数のボイスパックを装着した複数のスロットに対応
するLED全てを点灯する。ステップ62の後、ステッ
プ42(図12)に行き、ボイスナンバVNを1増加す
る。
In step 62, from the LED (STSN) corresponding to the slot designated by the slot number of the voice pack of the first page stored in the start slot number register STSN, the slot number is reduced by 1 from the page number data PAGEM. LED (STSN + PAGEM-1) corresponding to the added slot number
Turn on all the LEDs up to. That is, all the LEDs corresponding to the plurality of slots in which the plurality of voice packs corresponding to one tone color are mounted are turned on. After the step 62, the process goes to the step 42 (FIG. 12) to increment the voice number VN by 1.

【0060】また、ステップ52,55〜59の判断が
1つでもNOならば、ステップ49(図12)にジャン
プし、順位割当ては行わない。従って、この実施例で
は、1音色に対応する複数のボイスパックは、少ない番
号のスロットから順にページ順に隣接して装着しなけれ
ばならない。
If any of the judgments in steps 52, 55 to 59 is NO, the process jumps to step 49 (FIG. 12) and rank assignment is not performed. Therefore, in this embodiment, a plurality of voice packs corresponding to one timbre must be mounted adjacent to each other in page order in order from the slot with the smallest number.

【0061】スタンバイフラグSTFLGが“1”のと
きは、図11のステップ30がNOであり、ステップ6
3に行く。ステップ63では、ボイスカートリッジ16
が外されたかを調べる。外されていなければリターンに
行くが、外されていればステップ64に行き、現在発音
中のチャンネルにフォーシングダンプ信号FDMPを送
出する処理を行う。これは、ボイスカートリッジ16が
外された場合は、発音中の音を急速減衰させるためであ
る。次のステップ65,66は前出のステップ47,4
8と同じ処理であり、スタンバイモードに戻すものであ
る。
When the standby flag STFLG is "1", step 30 in FIG. 11 is NO, and step 6
Go to 3. In step 63, the voice cartridge 16
Check if was removed. If it is not removed, the process goes to the return, but if it is removed, the process goes to step 64 to perform a process of sending the forcing dump signal FDMP to the channel which is currently sounding. This is because when the voice cartridge 16 is removed, the sound being sounded is rapidly attenuated. The next steps 65 and 66 are the steps 47 and 4 described above.
The process is the same as that of 8, and returns to the standby mode.

【0062】次に、アップ/ダウンスイッチUSW,D
SWによるボイスナンバ選択処理について図14により
説明する。アップスイッチUSWのオンイベントが検出
されると、スタンバイフラグSTFLGが“1”である
ことを条件にステップ67から68に進み、ボイスナン
バレジスタCVNOの現在値に1を加算した値が最大ボ
イスナンバレジスタMAXVNに記憶している最大ボイ
スナンバよりも大きいかを調べる。NOならば、ステッ
プ69でボイスナンバレジスタCVNOの内容を1増加
する。YESならば、ステップ70でボイスナンバレジ
スタCVNOの内容を「0」にリセットする。
Next, the up / down switches USW, D
The voice number selection processing by SW will be described with reference to FIG. When the ON event of the up switch USW is detected, the process proceeds from step 67 to 68 on condition that the standby flag STFLG is "1", and the value obtained by adding 1 to the current value of the voice number register CVNO is the maximum voice number register. Check if it is larger than the maximum voice number stored in MAXVN. If NO, the content of the voice number register CVNO is incremented by 1 in step 69. If YES, step 70 resets the contents of the voice number register CVNO to "0".

【0063】次のステップ71では、ボイスナンバレジ
スタCVNOの現在値に対応するボイスナンバ(すなわ
ち順位)と、このボイスナンバレジスタCVNOの現在
値によって指示されたボイスナンバ(すなわち順位)に
対応するボイスネームレジスタVNMREG(CVN
O)に記憶されているボイスネーム(音色名)とをディ
スプレイDSPYに表示する。
In the next step 71, the voice number (ie rank) corresponding to the current value of the voice number register CVNO and the voice name (ie rank) indicated by the current value of the voice number register CVNO. Register VNMREG (CVN
The voice name (tone color name) stored in O) is displayed on the display DSPY.

【0064】ダウンスイッチDSWのオンイベントが検
出されると、スタンバイフラグSTFLGが“1”であ
ることを条件にステップ72から73に進み、ボイスナ
ンバレジスタCVNOの現在値から1を引算した値が
「0」より小さいかを調べる。NOならば、ステップ7
4でボイスナンバレジスタCVNOの内容を1減少す
る。YESならば、ステップ75でボイスナンバレジス
タCVNOの内容を「最大ボイスナンバレジスタMAX
VNに記憶している最大ボイスナンバ」にセットする。
その後ステップ71に行く。
When the ON event of the down switch DSW is detected, the process proceeds from steps 72 to 73 on condition that the standby flag STFLG is "1", and the value obtained by subtracting 1 from the current value of the voice number register CVNO is Check whether it is smaller than "0". If NO, step 7
At 4, the content of the voice number register CVNO is decremented by 1. If YES, the contents of the voice number register CVNO is set to "maximum voice number register MAX in step 75.
Set to the maximum voice number stored in VN.
Then go to step 71.

【0065】以上のようにして、アップ/ダウンスイッ
チUSW,DSWの操作に応じてボイスナンバレジスタ
CVNOの内容が増減され、ボイスナンバ(すなわち順
位)が選択される。選択されたボイスナンバ(順位)は
ディスプレイDSPYに表示される。また、この選択さ
れたボイスナンバ(順位)が割当てられたスロットに装
着されているボイスパックに記憶されている音色設定デ
ータの音色名もディスプレイDSPYに表示される。
As described above, the contents of the voice number register CVNO are increased or decreased according to the operation of the up / down switches USW and DSW, and the voice number (that is, the order) is selected. The selected voice number (rank) is displayed on the display DSPY. Further, the tone color name of the tone color setting data stored in the voice pack attached to the slot to which the selected voice number (rank) is assigned is also displayed on the display DSPY.

【0066】ステップ68,70,73,75の処理に
より、ボイスナンバレジスタCVNOの内容の変化が
「0」と「最大ボイスナンバレジスタMAXVNに記憶
している最大ボイスナンバ」との間の範囲に制限され
る。すなわち、ボイスナンバレジスタCVNOの内容を
増加するとき、その内容が「最大ボイスナンバレジスタ
MAXVNに記憶している最大ボイスナンバ」よりも大
きくなると、ステップ68のYESからステップ70に
行き、「0」に戻される。また、ボイスナンバレジスタ
CVNOの内容を減少するとき、その内容が「0」より
も小さくなると、ステップ73のYESからステップ7
5に行き、「最大ボイスナンバレジスタMAXVNに記
憶している最大ボイスナンバ」に戻される。こうして、
選択可能なボイスナンバ(順位)が、ボイスパックを実
際に装着したスロットに割当てられているボイスナンバ
(順位)に限定される。従って、ボイスナンバ(順位)
を選択したにも拘らず、そのスロットにボイスパックが
装着されていず、音が出せない、というような不都合は
未然に防止される。
By the processing of steps 68, 70, 73 and 75, the change of the contents of the voice number register CVNO is limited to the range between "0" and "the maximum voice number stored in the maximum voice number register MAXVN". To be done. That is, when the content of the voice number register CVNO is increased and the content becomes larger than the "maximum voice number stored in the maximum voice number register MAXVN", the process proceeds from YES in step 68 to step 70 and is set to "0". Will be returned. When the content of the voice number register CVNO is decreased and the content becomes smaller than "0", YES in step 73 to step 7
5 is returned to "maximum voice number stored in maximum voice number register MAXVN". Thus
The selectable voice number (rank) is limited to the voice number (rank) assigned to the slot in which the voice pack is actually installed. Therefore, the voice number (rank)
Despite selecting, the inconvenience that no voice pack is attached to the slot and no sound can be produced is prevented.

【0067】次に、図15に基づきキーオンイベント及
びキーオフイベントについて説明する。キーオンイベン
トの割込みがあると、スタンバイフラグSTFLGが
“1”であることを条件にステップ76から77に進
み、キーオンイベントに係るキーコードをMIDIイン
タフェース14からRAM13内部のキーコードレジス
タKCODEに取り込む。
Next, the key-on event and the key-off event will be described with reference to FIG. When the key-on event is interrupted, the process proceeds from steps 76 to 77 on condition that the standby flag STFLG is "1", and the key code related to the key-on event is fetched from the MIDI interface 14 into the key code register KCODE inside the RAM 13.

【0068】次のステップ78では、キーオンイベント
に係るキーコードと共にMIDIインタフェース14に
与えられたタッチデータをRAM13内部のタッチデー
タレジスタTDATAに取り込む。次のステップ79で
は、キーコードレジスタKCODEに取り込んだ新押圧
鍵のキーコードを複数の楽音形成チャンネルのいずれか
に割当てる処理を行う。
At the next step 78, the touch data given to the MIDI interface 14 together with the key code relating to the key-on event is fetched into the touch data register TDATA inside the RAM 13. In the next step 79, the key code of the newly pressed key stored in the key code register KCODE is assigned to any one of a plurality of tone forming channels.

【0069】ステップ80では、前出の(2)式に従っ
て、楽音の音高と鍵タッチとに応じて定まる1つのキー
バンク内の1つのタッチバンク(図6)のタッチバンク
オフセットアドレスTBOSA(i)の絶対アドレスA
bTBOSA(i)を求め、これに従って該タッチバン
クから楽音制御データの読出しを行う。詳しくは、ボイ
スナンバレジスタCVNOに記憶しているボイスナンバ
に対応するボイスアドレスレジスタVAD(CVNO)
からボイスアドレスを読み出し(このボイスアドレスは
現在選択されているボイスナンバが割当てられたスロッ
トに関するボイスアドレスVADである)、この読み出
したボイスアドレスVADとキーコードレジスタKCO
DEに記憶しているキーコードとに応じてキーバンクオ
フセットテーブル25からキーバンクオフセットアドレ
スデータKBOSA(i)を読み出し、上記VADと読
み出したKBOSA(i)とタッチデータレジスタTD
ATAに記憶しているタッチデータとに応じてタッチバ
ンクオフセットテーブル26からタッチバンクオフセッ
トアドレスデータTBOSA(i)を読み出し、これら
に基づき前記(2)式を実行してタッチバンクオフセッ
トアドレスTBOSA(i)の絶対アドレスAbTBO
SA(i)を求め、この絶対アドレスAbTBOSA
(i)によって特定されるタッチバンクの記憶エリア2
7,28からエンベロープ設定データEGと、スタート
アドレスデータSAD、エンドアドレスデータEAD及
びリピートアドレスデータRADを読み出す。そして、
このタッチバンクオフセットアドレスデータTBOSA
(i)の絶対アドレスAbTBOSA(i)を、スター
トアドレスデータSAD、エンドアドレスデータEAD
及びリピートアドレスデータRADに対して夫々加算す
ることにより、スタートアドレスデータSAD、エンド
アドレスデータEAD及びリピートアドレスデータRA
Dの絶対アドレスAbSAD,AbEAD,AbRAD
を夫々求める。そして、これらのデータEG,AbSA
D,AbEAD,AbRAD及びキーコードレジスタK
CODEのキーコード並びにタッチデータレジスタTD
ATAのタッチデータを、新押圧鍵を割当てたチャンネ
ルに対応して、楽音信号形成回路18(これをフローチ
ャートではTGで示す)に送出する。
In step 80, the touch bank offset address TBOSA (i) of one touch bank (FIG. 6) in one key bank which is determined according to the pitch of the musical tone and the key touch according to the above equation (2). ) Absolute address A
bTBOSA (i) is obtained, and tone control data is read from the touch bank in accordance with this. Specifically, the voice address register VAD (CVNO) corresponding to the voice number stored in the voice number register CVNO.
From the voice address (this voice address is the voice address VAD for the slot to which the currently selected voice number is assigned), and the read voice address VAD and key code register KCO.
The key bank offset address data KBOSA (i) is read from the key bank offset table 25 according to the key code stored in the DE, and the VAD, the read KBOSA (i) and the touch data register TD are read.
The touch bank offset address data TBOSA (i) is read from the touch bank offset table 26 in accordance with the touch data stored in the ATA, and the equation (2) is executed based on these to read the touch bank offset address data TBOSA (i). Absolute address of AbTBO
Find SA (i) and use this absolute address AbTBOSA
Touch bank storage area 2 specified by (i)
The envelope setting data EG, the start address data SAD, the end address data EAD, and the repeat address data RAD are read from Nos. 7 and 28. And
This touch bank offset address data TBOSA
The absolute address AbTBOSA (i) of (i) is used as start address data SAD and end address data EAD.
And the repeat address data RAD are added to the start address data SAD, the end address data EAD, and the repeat address data RA, respectively.
Absolute address of D AbSAD, AbEAD, AbRAD
Request each. And these data EG, AbSA
D, AbEAD, AbRAD and key code register K
CODE key code and touch data register TD
The touch data of ATA is sent to the tone signal forming circuit 18 (this is indicated by TG in the flowchart) corresponding to the channel to which the new pressed key is assigned.

【0070】ステップ81では、キーオンパルスKON
Pを、新押圧鍵を割当てたチャンネルに対応して、楽音
信号形成回路18に送出する。これに応じて新押圧鍵に
関する楽音の発音が開始される。
At step 81, the key-on pulse KON
P is sent to the tone signal forming circuit 18 corresponding to the channel to which the new pressed key is assigned. In response to this, the pronunciation of the musical sound for the new pressed key is started.

【0071】なお、1音色分のデータを複数のボイスパ
ックに分割して記憶するものにおいては、1ページ目の
ボイスパックのメモリマップが図6のようであり、2ペ
ージ目以降のボイスパックにはキーバンクオフセットテ
ーブル25を備えていないものとする。つまり、1ペー
ジ目のボイスパックのみにキーバンクオフセットテーブ
ル25があり、この1ページ目のキーバンクオフセット
テーブル25に全ページ分のキーバンクのキーバンクオ
フセットアドレスデータを記憶している。そして、この
キーバンクオフセットアドレスデータは、1ページ目の
キーバンクオフセットテーブル25の先頭アドレスから
のオフセットアドレスデータである。したがって、例え
ば、2ページ目のボイスパックにあるキーバンクKB
(i)のキーバンクオフセットアドレスデータKBOS
A(i)は、1ページ目のボイスパックのキーバンクオ
フセットテーブル25の先頭アドレス(つまりボイスア
ドレスVAD)からのオフセットアドレスデータであ
り、このキーバンクKB(i)内の1つのタッチバンク
のタッチバンクオフセットアドレスTBOSA(i)の
絶対アドレスAbTBOSA(i)を求める場合は、前
述と全く同様に(2)式に従って、ボイスアドレスVA
DとキーバンクオフセットアドレスデータKBOSA
(i)とタッチバンクオフセットアドレスデータTBO
SA(i)とを加算すればよい。
In the case where the data for one timbre is divided into a plurality of voice packs and stored, the memory map of the voice pack of the first page is as shown in FIG. Does not include the key bank offset table 25. That is, only the voice pack of the first page has the key bank offset table 25, and the key bank offset table 25 of the first page stores the key bank offset address data of the key banks of all pages. The key bank offset address data is offset address data from the first address of the key bank offset table 25 of the first page. Therefore, for example, the key bank KB in the voice pack on the second page
(I) Key bank offset address data KBOS
A (i) is offset address data from the head address (that is, voice address VAD) of the key bank offset table 25 of the voice pack of the first page, and touch of one touch bank in this key bank KB (i). When obtaining the absolute address AbTBOSA (i) of the bank offset address TBOSA (i), the voice address VA is calculated in accordance with the equation (2) in exactly the same manner as described above.
D and key bank offset address data KBOSA
(I) and touch bank offset address data TBO
It suffices to add SA (i).

【0072】また、1つのキーバンクが2ページに分か
れている場合でも、そのキーバンクのタッチバンクオフ
セットテーブル26は先のページのボイスパックの方に
あり、後のページのボイスパックにはタッチバンクの残
りがある。この場合でも、後のページのボイスパックに
あるタッチバンクTB(i)のタッチバンクオフセット
アドレスTBOSA(i)は先のページのボイスパック
にある当該キーバンクの先頭アドレス(つまりキーバン
クオフセットアドレスKBOSA)からのオフセットア
ドレスであり、問題なく前記(2)式を適用することが
できるようになっている。
Even if one key bank is divided into two pages, the touch bank offset table 26 of the key bank is located in the voice pack of the previous page, and the touch bank offset table 26 of the key pack of the subsequent page is the touch bank. There's the rest of Even in this case, the touch bank offset address TBOSA (i) of the touch bank TB (i) in the voice pack of the subsequent page is the start address of the key bank in the voice pack of the previous page (that is, the key bank offset address KBOSA). Since the offset address is from, the above equation (2) can be applied without any problem.

【0073】図15において、キーオフイベントの割込
みがあると、スタンバイフラグSTFLGが“1”であ
ることを条件にステップ82から83に進み、キーオフ
イベントに係るキーコードをMIDIインタフェース1
4からRAM13内部のキーコードレジスタKCODE
に取り込む。
In FIG. 15, if there is a key-off event interrupt, the process proceeds from step 82 to 83 on condition that the standby flag STFLG is "1", and the key code relating to the key-off event is set to the MIDI interface 1
4 to the key code register KCODE in the RAM 13
Take in.

【0074】次のステップ84では、このキーコードレ
ジスタKCODEに記憶したキーコードに対応する新離
鍵に係る楽音が現在発音中であるか(換言すれば、チャ
ンネル割当てされているか)を調べる。発音中でなけれ
ば(チャンネル割当てされていなければ)リターンに行
くが、発音中であれば(チャンネル割当てされていれ
ば)ステップ85に行き、新離鍵に係るキーコードが割
当てられているチャンネルに対応してキーオフパルスK
OFPを楽音信号形成回路18に送出する。これに応じ
て新離鍵に関する楽音の発音を終了させる。
At the next step 84, it is checked whether or not the tone corresponding to the new key release corresponding to the key code stored in the key code register KCODE is currently being sounded (in other words, whether the channel is assigned). If it is not sounding (if the channel is not assigned), it goes to return, but if it is sounding (if it is assigned to the channel), it goes to step 85, and goes to the channel to which the key code related to the new key release is assigned. Correspondingly, key-off pulse K
The OFP is sent to the tone signal forming circuit 18. In response to this, the pronunciation of the musical tone related to the new key release is terminated.

【0075】図16は楽音信号形成回路18の一例を示
すもので、この例では、ボイスカートリッジ16の各ス
ロットS0〜S7に装着したボイスパックをそのまま音
源メモリとして利用している。キーコードレジスタ86
は各チャンネルに割当てられたキーコードを記憶するも
のであり、図15のステップ80の処理により楽音信号
形成回路18に与えられたキーコードレジスタKCOD
Eに記憶している新押圧鍵のキーコードを取り込み、そ
の割当てチャンネルに対応して記憶する。
FIG. 16 shows an example of the tone signal forming circuit 18. In this example, the voice packs mounted in the respective slots S0 to S7 of the voice cartridge 16 are used as they are as a sound source memory. Key code register 86
Stores the key code assigned to each channel. The key code register KCOD given to the tone signal forming circuit 18 by the process of step 80 of FIG.
The key code of the new pressed key stored in E is fetched and stored in correspondence with the assigned channel.

【0076】アドレス制御データレジスタ87は、図1
5のステップ80の処理により楽音信号形成回路18に
与えられた絶対アドレスからなるスタートアドレスデー
タAbSAD、エンドアドレスデータAbEAD及びリ
ピートアドレスデータAbRADを夫々記憶するもの
で、各チャンネル毎にこれらのデータを記憶する。
The address control data register 87 is shown in FIG.
The start address data AbSAD, the end address data AbEAD, and the repeat address data AbRAD, which are absolute addresses given to the tone signal forming circuit 18 by the processing of step 80 of 5, are stored respectively, and these data are stored for each channel. To do.

【0077】アドレス信号発生回路88は、キーコード
レジスタ86から与えられる各チャンネルに割当てられ
たキーコードと、アドレス制御データレジスタ87から
与えられるスタートアドレスデータAbSAD、エンド
アドレスデータAbEAD及びリピートアドレスデータ
AbRADと、図15のステップ81の処理により楽音
信号形成回路18に与えられたキーオンパルスKONP
とを入力し、ボイスカートリッジ16の1つのスロット
に差し込まれているボイスパック内の1つのキーバンク
に対応する1つのタッチバンク内の記憶エリア29(図
6)から波形サンプルデータを読み出すためのアドレス
信号を発生する。例えば、キーオンパルスKONPに応
じてスタートアドレスデータAbSADを初期アドレス
としてアドレス信号の発生を開始し、前述のように、波
形サンプルデータの読出しを制御する。また、この波形
サンプルデータの読出しは各チャンネル毎に時分割的に
行う。
The address signal generation circuit 88 stores the key code assigned to each channel from the key code register 86, the start address data AbSAD, the end address data AbEAD and the repeat address data AbRAD given from the address control data register 87. , The key-on pulse KONP applied to the tone signal forming circuit 18 by the process of step 81 of FIG.
And an address for reading the waveform sample data from the storage area 29 (FIG. 6) in one touch bank corresponding to one key bank in the voice pack inserted in one slot of the voice cartridge 16. Generate a signal. For example, generation of an address signal is started using the start address data AbSAD as an initial address in response to the key-on pulse KONP, and the reading of the waveform sample data is controlled as described above. Further, the reading of the waveform sample data is performed in a time division manner for each channel.

【0078】ボイスカートリッジ16のボイスパックか
ら読み出された波形サンプルデータは、エンベロープ付
与回路89に与えられる。エンベロープ制御データレジ
スタ90は、図15のステップ80,81,85の処理
及び図11のステップ64の処理により楽音信号形成回
路18に与えられたエンベロープ設定データEG、キー
オンパルスKONP、キーオフパルスKOFP、フォー
シングダンプ信号FDMP、タッチデータレジスタTD
ATAのタッチデータを夫々記憶するもので、各チャン
ネル毎にこれらのデータを記憶する。エンベロープ付与
回路89では、エンベロープ制御データレジスタ90か
ら与えられるこれらのデータに基づき各チャンネル毎に
エンベロープ波形データを形成し、これによりボイスカ
ートリッジ16から読み出された波形サンプルデータの
エンベロープを付与する。エンベロープ付与回路89か
ら時分割的に出力された各チャンネルの波形サンプルデ
ータは、アキュムレータ91で合計され、その後ディジ
タル/アナログ変換器92でアナログ信号に変換され
る。
The waveform sample data read from the voice pack of the voice cartridge 16 is given to the envelope giving circuit 89. The envelope control data register 90 is provided with the envelope setting data EG, the key-on pulse KONP, the key-off pulse KOFP, the four signals which are given to the tone signal forming circuit 18 by the processing of steps 80, 81 and 85 of FIG. 15 and the processing of step 64 of FIG. Single dump signal FDMP, touch data register TD
The touch data of ATA is stored respectively, and these data are stored for each channel. The envelope giving circuit 89 forms envelope waveform data for each channel based on these data given from the envelope control data register 90, and gives the envelope of the waveform sample data read from the voice cartridge 16 by this. The waveform sample data of each channel output from the envelope applying circuit 89 in a time division manner is summed by the accumulator 91 and then converted into an analog signal by the digital / analog converter 92.

【0079】なお、上記実施例では、順位割当て手段に
おける割当て結果を記憶する手段としてボイスアドレス
レジスタVAD(0)〜VAD(7)を設けており、こ
の場合各レジスタVAD(0)〜VAD(7)は各順位
(つまりボイスナンバ)に対応している。そして、この
ような各順位に対応するレジスタVAD(0)〜VAD
(7)に、その順位が割当てられたスロット(つまりメ
モリ接続部)に関するボイスアドレスデータVADを記
憶するようにしている。この場合、このボイスアドレス
データVADは上述のように絶対アドレスデータからな
っているが、これに限らず、単なるスロット番号データ
を記憶するようにしてもよい。また、反対に、各スロッ
ト(つまりメモリ接続部)S0〜S7に対応する記憶位
置を持ち、この各記憶位置に、そのスロット(つまりメ
モリ接続部)に対して割当てられた順位に関するデータ
(例えばボイスナンバ)を記憶するようにしてもよい。
In the above embodiment, the voice address registers VAD (0) to VAD (7) are provided as means for storing the allocation result in the rank allocation means. In this case, the registers VAD (0) to VAD (7) are provided. ) Corresponds to each rank (that is, voice number). Then, the registers VAD (0) to VAD corresponding to such respective ranks are
In (7), the voice address data VAD relating to the slot (that is, the memory connection portion) to which the order is assigned is stored. In this case, the voice address data VAD is composed of the absolute address data as described above, but the present invention is not limited to this, and a simple slot number data may be stored. On the contrary, it has a storage position corresponding to each slot (that is, the memory connection unit) S0 to S7, and at each storage position, data regarding the order assigned to the slot (that is, the memory connection unit) (for example, voice The number) may be stored.

【0080】上記実施例では、順位を指示するデータは
ボイスナンバという数値データからなっているが、これ
は数値データに限らず、文字あるいは記号等のディジタ
ルコードを用いてもよい。また、順位を割当てる場合、
上記実施例では「0」から順に割当てているが、この順
序はどのようであってもよい。また、上記実施例では、
MIDIインタフェースを介して外部からキーデータを
受け取り、これに応じて楽音信号を発生するようにして
いるが、楽音信号発生装置10に鍵盤を具備し、この鍵
盤からキーデータを受け取るようにしてもよい。上記実
施例では、順位(ボイスナンバ)の選択のための操作手
段としてアップ/ダウンスイッチを用いているが、これ
に限らず、その他の操作スイッチ(例えばロータリエン
コーダ等)を用いてもよい。
In the above embodiment, the data for instructing the rank is composed of numerical data called voice number, but this is not limited to numerical data, and digital codes such as characters or symbols may be used. Also, when assigning a ranking,
In the above-mentioned embodiment, the order is assigned from "0", but this order may be arbitrary. Further, in the above embodiment,
Although the key data is received from the outside via the MIDI interface and the musical tone signal is generated in response to the key data, the musical tone signal generator 10 may be provided with a keyboard and the key data may be received from the keyboard. . In the above embodiment, the up / down switch is used as the operation means for selecting the order (voice number), but the operation means is not limited to this, and other operation switches (for example, a rotary encoder) may be used.

【0081】上記実施例では、押鍵等の演奏操作に応じ
て波形サンプルデータを発生する場合、装着された外部
メモリ(ボイスパック)に直接アクセスするようにして
いるが、これに限らず、外部メモリの楽音制御データを
一旦RAMに移し、このRAMにアクセスすることによ
り該外部メモリに関する楽音制御データを読み出し、楽
音信号形成のために供給するようにしてもよい。この場
合、選択手段(アップ/ダウンスイッチ)で選択された
順位(ボイスナンバ)に対応する外部メモリの楽音制御
データだけをRAMに移し、このRAMに対して前述し
た図15のキーオンイベント処理(ステップ80の処
理)及びアドレス信号発生回路88の出力による波形サ
ンプルデータの読出し処理を行うようにしてもよい。ま
た、装着された全ての外部メモリの楽音制御データを予
めRAMに移し、このRAMに対して前述した図11〜
図13のボイスカートリッジ処理,図15のキーオンイ
ベント処理(ステップ80の処理)及びアドレス信号発
生回路88の出力による波形サンプルデータの読出し処
理を行うようにしてもよい。更に、楽音信号形成回路1
8内に1音色分の波形サンプルデータの記憶が可能なR
AMを設けると共に、図15のステップ80において図
6の記憶エリア29に記憶されている波形サンプルデー
タを上記RAMに移す処理をも行うようにし、楽音信号
形成回路18ではアドレス信号発生回路88の出力によ
って上記RAMから波形サンプルデータを読み出すよう
にしてもよい。
In the above-described embodiment, when the waveform sample data is generated in response to a performance operation such as pressing a key, the mounted external memory (voice pack) is directly accessed, but the present invention is not limited to this. The musical tone control data may be temporarily transferred to the RAM and the RAM may be accessed to read the musical tone control data relating to the external memory and supply the musical tone control data for forming the musical tone signal. In this case, only the tone control data of the external memory corresponding to the order (voice number) selected by the selection means (up / down switch) is transferred to the RAM, and the key-on event process (step of FIG. 15) for the RAM is performed. The processing of 80) and the reading processing of the waveform sample data by the output of the address signal generation circuit 88 may be performed. Further, the musical tone control data of all the mounted external memories are transferred to the RAM in advance, and the RAM shown in FIG.
The voice cartridge process of FIG. 13, the key-on event process of FIG. 15 (process of step 80), and the waveform sample data read process by the output of the address signal generation circuit 88 may be performed. Further, the tone signal forming circuit 1
R that can store waveform sample data for one tone color in 8
In addition to providing the AM, in step 80 of FIG. 15, the waveform sample data stored in the storage area 29 of FIG. 6 is also transferred to the RAM, and the tone signal forming circuit 18 outputs the output of the address signal generating circuit 88. Alternatively, the waveform sample data may be read from the RAM.

【0082】外部メモリ(ボイスパック)に記憶する波
形サンプルデータの符号化方式はPCMに限らず、DP
CM(差分PCM),ADPCM(適応DPCM),D
M(デルタ変調),ADM,LPC等の適宜のデータ圧
縮方式を採用してもよい。また、特願昭61−8683
5号に示されたような線形予測と差分方式の組合せによ
るデータ圧縮方式を採用してもよい。また、外部メモリ
(ボイスパック)に記憶する波形サンプルデータは、上
述のようなアタック部と持続部の複数周期波形からなる
ものに限らず、発音開始から終了までの全波形のサンプ
ルデータ、あるいは時間的に飛び飛びのフレームに対応
する複数周期波形など、どのような部分のものでもよ
い。
The coding method of the waveform sample data stored in the external memory (voice pack) is not limited to PCM, but DP
CM (Differential PCM), ADPCM (Adaptive DPCM), D
An appropriate data compression method such as M (delta modulation), ADM or LPC may be adopted. In addition, Japanese Patent Application No. 61-8683
A data compression method as shown in No. 5 may be adopted which is a combination of the linear prediction and the difference method. Further, the waveform sample data stored in the external memory (voice pack) is not limited to the above-described multiple cycle waveforms of the attack part and the sustain part, but sample data of all waveforms from the start to the end of sound generation, or the time Any portion such as a plurality of periodic waveforms corresponding to irregular frames may be used.

【0083】また、外部メモリ(ボイスパック)に記憶
する波形データは、各サンプル点毎の振幅データに限ら
ず、FM楽音合成方式における演算パラメータや、高調
波合成方式における高調波係数パラメータなど、楽音信
号形成回路で採用する楽音発生方式に適したパラメータ
であってよい。外部メモリに記憶する楽音制御データと
しては、上記実施例のような楽音波形データ等の音色設
定データに限らず、プリセットデータ等からなる音色設
定データであってもよく、また、自動演奏データやリズ
ムデータなどでもよく、要するに楽音制御に用いるデー
タならば何でもよい。
Further, the waveform data stored in the external memory (voice pack) is not limited to the amplitude data for each sample point, but the musical sound such as the calculation parameter in the FM tone synthesis method or the harmonic coefficient parameter in the harmonic synthesis method is used. It may be a parameter suitable for the tone generation method adopted in the signal forming circuit. The tone control data stored in the external memory is not limited to tone color setting data such as tone waveform data as in the above embodiment, but may be tone color setting data such as preset data, automatic performance data or rhythm. It may be data or the like, that is, any data that is used for tone control.

【0084】上記実施例では、外部メモリをボイスカー
トリッジに装着しているが、装置本体に直接着脱可能に
装着するようにしてもよい。上記実施例では、複数の外
部メモリで1組の楽音制御データ(1音色)を記憶して
いる場合、各外部メモリが隣接するメモリ接続部におい
てページ順に正しく装着されていなければ、該各外部メ
モリが装着されているとはみなさないようにしている
(図13参照)。しかし、これに限らず、1組の楽音制
御データに対応する複数の外部メモリがどのような配列
でメモリ接続部に装着されていても、これを正しい装着
とみなすようにしてもよい。その場合、外部メモリの読
出しアドレス制御を各外部メモリの装着配列位置に応じ
て適正に行うようにすればよい。そのためには各スロッ
ト(メモリ接続部)に装着された外部メモリのボイスネ
ームデータVNAMEとページ番号データPAGEC等
から、どのスロットに何ページ目の外部メモリが装着さ
れているかを判断し、これに基づき適正な読出しアドレ
ス制御を行うようにすればよい。
In the above embodiment, the external memory is mounted on the voice cartridge, but it may be mounted on the main body of the apparatus in a detachable manner. In the above-described embodiment, when one set of musical tone control data (one tone color) is stored in a plurality of external memories, if each external memory is not correctly mounted in the page order in the adjacent memory connection section, each external memory is stored. Is not considered to be attached (see FIG. 13). However, the present invention is not limited to this, and whatever arrangement of a plurality of external memories corresponding to one set of tone control data is attached to the memory connection portion, this may be regarded as correct attachment. In that case, the read address control of the external memory may be appropriately performed according to the mounting arrangement position of each external memory. For that purpose, it is judged which page the external memory is attached to which slot from the voice name data VNAME and the page number data PAGEC of the external memory attached to each slot (memory connection part), and based on this, Appropriate read address control may be performed.

【0085】上記実施例では、様々な処理や制御をマイ
クロコンピュータのソフトウェアにより実現している
が、専用のハードウェア装置によってこれを実現するよ
うにすることができるのは勿論である。また、ソフトウ
ェアのアルゴリズムも実施例に示したものに限らない。
上記実施例では、1つの外部メモリで1音色のデータを
記憶しているか、あるいは複数の外部メモリに分割して
1音色のデータを記憶しているが、これに限らず、複数
の音色のデータ(複数組の楽音制御データ)を1つの外
部メモリに記憶するようにしてもよい。
In the above embodiment, various processes and controls are realized by software of the microcomputer, but it goes without saying that this can be realized by a dedicated hardware device. Further, the software algorithm is not limited to the one shown in the embodiment.
In the above embodiment, one tone color data is stored in one external memory, or one tone color data is stored by being divided into a plurality of external memories, but the present invention is not limited to this. (Multiple sets of tone control data) may be stored in one external memory.

【0086】また、外部メモリにおけるメモリマップの
構成は図6に示したもの限らず、どのようなものでもよ
い。例えば、特願昭61−117522号に示されたも
ののように、データバンクを複数設け、音高と鍵タッチ
との組合せにより適宜のデータバンクを選択し、このデ
ータバンクが音高と鍵タッチとの異なる組合せに関して
共用されることがあるようにしてもよい。
The structure of the memory map in the external memory is not limited to that shown in FIG. 6 and may be any structure. For example, as shown in Japanese Patent Application No. 61-117522, a plurality of data banks are provided, and an appropriate data bank is selected by a combination of pitch and key touch. May be shared for different combinations of.

【0087】[0087]

【発明の効果】以上の通り、この発明によれば、1組の
楽音制御データが1つの外部メモリの容量内に納まりき
らない場合は、該1組の楽音制御データを複数の外部メ
モリに分割して記憶させることができるようになり、そ
れら複数の外部メモリに分割して記憶した楽音制御デー
タを一括して1組の楽音制御データとして使用して楽音
信号の形成・制御を行うことが可能となる。従って、多
数のデータからなる楽音制御データを用いて高品質の楽
音を発生させることができるようになる、という優れた
効果を奏する。
As described above, according to the present invention, when one set of musical tone control data cannot fit within the capacity of one external memory, the one musical tone control data is divided into a plurality of external memories. It is possible to form and control a musical tone signal by collectively using the musical tone control data divided and stored in the plurality of external memories as one set of musical tone control data. Becomes Therefore, there is an excellent effect that a high quality musical tone can be generated by using the musical tone control data composed of a large number of data.

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

【図1】この発明の概要を示す機能ブロック図。FIG. 1 is a functional block diagram showing an outline of the present invention.

【図2】この発明に係る楽音信号発生装置の一実施例を
示すハード構成ブロック図。
FIG. 2 is a block diagram of a hardware configuration showing an embodiment of a musical tone signal generator according to the present invention.

【図3】同実施例に係る楽音信号発生装置の外観図。FIG. 3 is an external view of a musical tone signal generator according to the embodiment.

【図4】同実施例におけるボイスカートリッジの外観を
略示する斜視図。
FIG. 4 is a perspective view schematically showing the outer appearance of the voice cartridge in the embodiment.

【図5】ボイスカートリッジにおける複数のメモリ接続
用スロットの配列例を示す上面図。
FIG. 5 is a top view showing an arrangement example of a plurality of memory connection slots in the voice cartridge.

【図6】外部メモリであるボイスパックの記憶構成例を
示すメモリマップ。
FIG. 6 is a memory map showing a storage configuration example of a voice pack which is an external memory.

【図7】図6のボイスパック内に記憶される波形サンプ
ルデータの一例を示す波形図。
7 is a waveform chart showing an example of waveform sample data stored in the voice pack of FIG.

【図8】ボイスカートリッジ全体のメモリマップを略示
する図。
FIG. 8 is a diagram schematically showing a memory map of the entire voice cartridge.

【図9】図2のデータ及びワーキングRAMのメモリマ
ップを略示する図。
FIG. 9 is a diagram schematically showing a memory map of the data and working RAM of FIG.

【図10】図2のマイクロコンピュータによって実行さ
れるメインルーチンの一例を示すフローチャート。
10 is a flowchart showing an example of a main routine executed by the microcomputer shown in FIG.

【図11】図10におけるボイスカートリッジ処理の一
例の一部を示すフローチャート。
11 is a flowchart showing a part of an example of a voice cartridge process in FIG.

【図12】図10におけるボイスカートリッジ処理の一
例の一部(図11に接続される部分)を示すフローチャ
ート。
12 is a flowchart showing a part of an example of a voice cartridge process in FIG. 10 (a part connected to FIG. 11).

【図13】図10におけるボイスカートリッジ処理の一
例の一部(図12に接続される部分)を示すフローチャ
ート。
13 is a flowchart showing a part (a part connected to FIG. 12) of an example of the voice cartridge process in FIG.

【図14】アップスイッチオンイベント及びダウンスイ
ッチオンイベント処理の一例を示すフローチャート。
FIG. 14 is a flowchart showing an example of up switch on event and down switch on event processing.

【図15】キーオンイベント及びキーオフイベント処理
の一例を示すフローチャート。
FIG. 15 is a flowchart showing an example of key-on event and key-off event processing.

【図16】図2における楽音信号形成回路の一例を示す
ブロック図、である。
16 is a block diagram showing an example of a tone signal forming circuit in FIG.

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

1a〜1n 外部メモリ 2a〜2m メモリ接続部 3 判別手段 4 選択手段 5 読み取り手段 6 楽音信号形成手段 10 楽音信号発生装置 16 ボイスカートリッジ 17 操作パネル部 S0〜S7 スロット 1a to 1n External memory 2a to 2m Memory connection section 3 Discrimination means 4 Selection means 5 Reading means 6 Musical tone signal forming means 10 Musical tone signal generator 16 Voice cartridge 17 Operation panel section S0 to S7 Slot

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 楽音制御データを記憶するための外部メ
モリであって、1組の楽音制御データを複数の該外部メ
モリに分割して記憶する場合そのことを示す制御情報を
も記憶する外部メモリと、 前記外部メモリが着脱可能に夫々装着される複数のメモ
リ接続部と、 前記各メモリ接続部に接続された外部メモリにおける前
記制御情報を読み取り、読み取った該制御情報に基づ
き、1組の楽音制御データ毎に夫々の1組の楽音制御デ
ータに対応する1または複数の外部メモリをそれぞれ判
別する判別手段と、 前記各メモリ接続部に接続された外部メモリに記憶され
た楽音制御データの中から、所望の1組の楽音制御デー
タを選択するための選択手段と、 前記判別手段の判別結果に応じて、前記選択手段で選択
された1組の楽音制御データに対応する1または複数の
外部メモリから該1組の楽音制御データを読み取る読み
取り手段と、 この読み取り手段により読み取られた1組の楽音制御デ
ータに基づき楽音信号の形成及び制御を行う楽音信号形
成手段とを具えた楽音信号発生装置。
1. An external memory for storing musical tone control data, wherein when one set of musical tone control data is divided into a plurality of external memories and stored, the external memory also stores control information indicating that. A plurality of memory connection parts to which the external memories are detachably attached, and the control information in the external memories connected to the respective memory connection parts, and a set of musical tones based on the read control information. From the tone control data stored in the external memory connected to each of the memory connection units, a determination unit that determines one or a plurality of external memories corresponding to each set of tone control data for each control data. A selection unit for selecting a desired set of tone control data, and a set of tone control data selected by the selection unit according to the determination result of the determination unit. A reading means for reading the one set of tone control data from one or a plurality of external memories, and a tone signal forming means for forming and controlling a tone signal based on the one set of tone control data read by the reading means. A musical tone signal generator equipped.
【請求項2】 前記制御情報は、1組の楽音制御データ
を複数の該外部メモリに分割して記憶する場合、該分割
された楽音制御データ部分の順序を示す順序情報を含ん
でおり、 前記判別手段は、この順序情報に基づき、1組の楽音制
御データに対応する複数の外部メモリが前記メモリ接続
部において正しい順序で装着されているか否かを判別す
る手段をも含むものである請求項1に記載の楽音信号発
生装置。
2. The control information includes order information indicating the order of the divided tone control data portions when one set of tone control data is divided and stored in the plurality of external memories, The discriminating means also includes means for discriminating whether or not a plurality of external memories corresponding to one set of tone control data are mounted in the memory connecting portion in the correct order based on the order information. The musical tone signal generator described.
JP6217826A 1994-08-19 1994-08-19 Music signal generator Expired - Fee Related JP2624190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6217826A JP2624190B2 (en) 1994-08-19 1994-08-19 Music signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6217826A JP2624190B2 (en) 1994-08-19 1994-08-19 Music signal generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62026145A Division JP2649916B2 (en) 1987-02-06 1987-02-06 Music signal generator

Publications (2)

Publication Number Publication Date
JPH07244484A true JPH07244484A (en) 1995-09-19
JP2624190B2 JP2624190B2 (en) 1997-06-25

Family

ID=16710358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6217826A Expired - Fee Related JP2624190B2 (en) 1994-08-19 1994-08-19 Music signal generator

Country Status (1)

Country Link
JP (1) JP2624190B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5052921U (en) * 1973-09-11 1975-05-21
JPS61275944A (en) * 1985-04-30 1986-12-06 Panafacom Ltd Data transfer processing system between auxiliary storage devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5052921U (en) * 1973-09-11 1975-05-21
JPS61275944A (en) * 1985-04-30 1986-12-06 Panafacom Ltd Data transfer processing system between auxiliary storage devices

Also Published As

Publication number Publication date
JP2624190B2 (en) 1997-06-25

Similar Documents

Publication Publication Date Title
JP3372124B2 (en) Electronic musical instrument
JP2629891B2 (en) Music signal generator
JP2583809B2 (en) Electronic musical instrument
US4543869A (en) Electronic musical instrument producing chord tones utilizing channel assignment
JP2624190B2 (en) Music signal generator
JP2538809B2 (en) Musical sound generator
JP2649916B2 (en) Music signal generator
JPH07168563A (en) Electronic musical instrument capable of extending sound source
JPS62235989A (en) Accompanying pattern selector
US5300728A (en) Method and apparatus for adjusting the tempo of auto-accompaniment tones at the end/beginning of a bar for an electronic musical instrument
JP2698942B2 (en) Tone generator
JP2701177B2 (en) Tone generator
US5260509A (en) Auto-accompaniment instrument with switched generation of various phrase tones
JP2555569B2 (en) Electronic musical instrument
JP3387179B2 (en) Electronic musical instrument
US5418324A (en) Auto-play apparatus for generation of accompaniment tones with a controllable tone-up level
JP3379098B2 (en) Performance device and recording medium on which program or data related to the device is recorded
JP3282675B2 (en) Electronic musical instrument
JP2940322B2 (en) Electronic musical instrument
JP2660457B2 (en) Automatic performance device
JPS6217756B2 (en)
JP2630268B2 (en) Rhythm sound generator
JP3121196B2 (en) Electronic musical instrument
JPH06318072A (en) Automatic playing device
JP2600229Y2 (en) Electronic musical instrument

Legal Events

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