JP2624190B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JP2624190B2
JP2624190B2 JP6217826A JP21782694A JP2624190B2 JP 2624190 B2 JP2624190 B2 JP 2624190B2 JP 6217826 A JP6217826 A JP 6217826A JP 21782694 A JP21782694 A JP 21782694A JP 2624190 B2 JP2624190 B2 JP 2624190B2
Authority
JP
Japan
Prior art keywords
voice
data
tone
control data
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6217826A
Other languages
Japanese (ja)
Other versions
JPH07244484A (en
Inventor
健司 板倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to 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)

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】 音色等の楽音制御データを記憶した複
数の外部メモリを着脱可能に装着し、装着した外部メモ
リを選択してそこに記憶されている楽音制御データを読
み出し、読み出した楽音制御データにより楽音信号を制
御するようにした技術として、従来は、実開昭50−5
2921号公報に示されたものが知られている。そこに
おいては、アナログシンセサイザ型の電子楽器における
楽音設定装置が示されており、各種の楽音に対応する制
御電圧情報を予め設定した各楽音種類毎の複数の単位基
板(すなわち外部メモリ)を親基板に着脱可能に装着
し、親基板上の各単位基板をプリセット選択スイッチに
よって選択し、選択された単位基板における制御電圧情
報を用いて楽音信号を制御することが示されている。こ
の場合、親基板上の各単位基板接続位置と各プリセット
選択スイッチとが1対1で固定的に対応しており、プリ
セット選択スイッチにより選択された接続位置に装着さ
れている単位基板から制御電圧情報が読み出される。ま
た、1つの音色の制御電圧情報は1枚の単位基板(すな
わち外部メモリ)でしか設定することができなかった。
一方、フロッピーディスクを用いた一般的なデータ転送
処理方式として、特開昭61−275944号公報に示
された技術が知られている。そこにおいては、例えば、
ハードディスクに記憶された1組のデータを複数枚のフ
ロッピーディスクに分割して記憶する場合において、該
複数枚のフロッピーディスクに共通するアイデンティフ
ァイ情報と、該複数枚のフロッピーディスクの夫々に記
憶したデータの組み合わせ順序を示すシーケンス情報と
を記憶しておき、データ読み出し時においてこれらの情
報をチェックし、同じアイデンティファイ情報のデータ
が正常な順番で読み出されたか否かを判定し、非正常な
場合は異常表示を行うようにしている。
2. Description of the Related Art A plurality of external memories storing tone control data such as timbres are detachably mounted, the mounted external memory is selected, the tone control data stored therein is read, and the read tone control data is read out. Conventionally, as a technique for controlling a tone signal by using
The one disclosed in Japanese Patent Publication No. 2921 is known. Here, a musical tone setting device for an analog synthesizer type electronic musical instrument is shown, in which a plurality of unit boards (that is, external memories) for each musical tone type in which control voltage information corresponding to various musical tones are preset are used as parent boards. 3 shows that the unit board is detachably mounted on the base board, each unit board on the parent board is selected by a preset selection switch, and the tone signal is controlled by using the control voltage information of the selected unit board. In this case, each unit board connection position on the parent board is fixedly associated with each preset selection switch on a one-to-one basis, and the control voltage is applied from the unit board mounted at the connection position selected by the preset selection switch. The information is read. Further, the control voltage information of one tone color can be set only by one unit substrate (that is, external memory).
On the other hand, as a general data transfer processing method using a floppy disk, a technique disclosed in Japanese Patent Application Laid-Open No. 61-275944 is known. There, for example,
When one set of data stored in the hard disk is divided and stored in a plurality of floppy disks, the identification information common to the plurality of floppy disks and the information stored in each of the plurality of floppy disks are stored. Sequence information indicating the data combination order is stored, and these information are checked at the time of data reading, and it is determined whether or not data of the same identification information has been read in a normal order. In such a case, an abnormal display is performed.

【0003】[0003]

【発明が解決しようとする課題】 上述した前者の従来
装置においては、1音色に対応する1組のデータ(制御
電圧情報)が1枚の単位基板(すなわち外部メモリ)で
しか設定することができなかったため、1枚の単位基板
で設定可能なデータ容量以上のデータ容量を必要とする
複雑な音色等の設定は不可能であった。そのため、多数
の制御データを用いて高品質の音を発生させるようなこ
とはできなかった。一方、上述した後者の従来技術にお
いては、各フロッピーディスクに対して単純にシーケン
ス情報を割り当てているだけであるため、1組のデータ
が全体として何分割されているのかが、即座には判ら
ず、データ読み出し制御をすばやくかつ円滑に行うこと
が困難であった。特に、楽音制御データのように実時間
演奏に合わせてすばやいデータ処理が要求される分野に
おいては、適していなかった。この発明は上述の点に鑑
みてなされたもので、1組の楽音制御データが1つの外
部メモリの容量内に納まりきらない場合でも該1組の楽
音制御データに基づく楽音信号の形成・制御を可能にす
ることにより、多数のデータからなる楽音制御データを
用いて高品質の音を発生させることができるようにする
と共に、1組の楽音制御データが任意の複数のデータ部
分に分割して任意の複数の外部メモリにそれぞれ記憶し
た場合であっても、データ読み出し制御をすばやくかつ
円滑に行うことを可能にした楽音信号発生装置を提供し
ようとするものである。
In the former conventional device described above, one set of data (control voltage information) corresponding to one tone can be set only by one unit substrate (ie, external memory). Therefore, it is impossible to set a complicated tone color or the like that requires a data capacity larger than the data capacity that can be set by one unit substrate. Therefore, it has not been possible to generate high-quality sound using a large number of control data. On the other hand, in the latter conventional technique described above, since sequence information is simply assigned to each floppy disk, it is not immediately known how many sets of data are divided as a whole. In addition, it has been difficult to control data readout quickly and smoothly. In particular, it is not suitable in a field where quick data processing is required according to real-time performance such as musical tone control data. SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and even when one set of musical tone control data cannot be accommodated in the capacity of one external memory, it is possible to form and control a musical tone signal based on the one set of musical tone control data. By making it possible, high-quality sound can be generated using tone control data composed of a large number of data, and a set of tone control data can be divided into an arbitrary plurality of data parts and It is an object of the present invention to provide a tone signal generating apparatus which can perform data read control quickly and smoothly even when the data is stored in a plurality of external memories.

【0004】[0004]

【課題を解決するための手段】 この発明に係る楽音信
号発生装置は、楽音制御データを記憶するための外部メ
モリであって、1組の楽音制御データ名を示すネーム情
報と該1組の楽音制御データをいくつの外部メモリに分
割して記憶したかを示す分割数情報とを含む制御情報を
も記憶する外部メモリと、前記外部メモリが着脱可能に
夫々装着される複数のメモリ接続部と、前記各メモリ接
続部に接続された外部メモリにおける前記制御情報を読
み取り、読み取った該制御情報に含まれるネーム情報お
よび分割数情報に基づき、1組の楽音制御データ毎に夫
々の1組の楽音制御データに対応する1または複数の外
部メモリをそれぞれ判別する判別手段と、前記各メモリ
接続部に接続された外部メモリに記憶された楽音制御デ
ータの中から、所望の1組の楽音制御データを選択する
ための選択手段と、前記判別手段の判別結果に応じて、
前記選択手段で選択された1組の楽音制御データに対応
する1または複数の外部メモリから該1組の楽音制御デ
ータを読み取る読み取り手段と、この読み取り手段によ
り読み取られた1組の楽音制御データに基づき楽音信号
の形成及び制御を行う楽音信号形成手段とを具えたもの
である。これを図によって示すと、図1のようであり、
1a〜1nが外部メモリ、2a〜2mがメモリ接続部、
3が判別手段、4が選択手段、5が読み取り手段、6が
楽音信号形成手段、である。
A musical tone signal generating apparatus according to the present invention is an external memory for storing musical tone control data, comprising name information indicating a set of musical tone control data names and the musical tone control data set. An external memory that also stores control information including division number information indicating how many pieces of external memory the control data is divided into and stored, and a plurality of memory connection units to which the external memory is detachably mounted, The control information in the external memory connected to each memory connection unit is read, and a set of tone control for each set of tone control data is set based on the name information and the division number information included in the read control information. Determining means for determining one or a plurality of external memories corresponding to the data; and a tone control data stored in the external memory connected to each of the memory connection units. Selecting means for selecting one set of musical tone control data, and a determination result of the determination means,
Reading means for reading the set of tone control data from one or a plurality of external memories corresponding to the set of tone control data selected by the selecting means; and a set of tone control data read by the reading means. And a tone signal forming means for forming and controlling a tone signal based on the tone signal. This is shown graphically in FIG.
1a to 1n are external memories, 2a to 2m are memory connection units,
Reference numeral 3 denotes a discriminating unit, 4 denotes a selecting unit, 5 denotes a reading unit, and 6 denotes a tone signal forming unit.

【0005】[0005]

【作用】 各メモリ接続部2a〜2mには、任意の外部
メモリ1a〜1nを着脱可能に装着することができる。
各外部メモリ1a〜1nは、楽音制御データのみなら
ず、1組の楽音制御データ名を示すネーム情報と該1組
の楽音制御データをいくつの外部メモリに分割して記憶
したかを示す分割数情報とを含む制御情報をも記憶して
いる。各メモリ接続部2a〜2mに任意の外部メモリ1
a〜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組の楽音制御データに基づき楽音信号の形成及び
制御を行う。
An arbitrary external memory 1a to 1n can be detachably attached to each of the memory connection sections 2a to 2m.
Each of the external memories 1a to 1n stores not only the tone control data but also name information indicating a set of tone control data and the number of divisions indicating the number of external memories into which the set of tone control data is divided and stored. Also, control information including information is stored. An optional external memory 1 is connected to each of the memory connection units 2a to 2m.
When a to 1n are attached, the discriminating means 3 reads the control information in the external memory connected to each of the memory connection units 2a to 2m, and converts the control information into name information and division number information included in the read control information. Based on this, one or a plurality of external memories corresponding to each set of tone control data are determined for each set of tone control data. For example, if two external memories that store a set of musical tone control data by dividing it into two are attached to the memory connection units 2a and 2b,
Based on the respective name information and division number information, it is determined that the two external memories mounted on the memory connection units 2a and 2b correspond to one set of tone control data. When a desired set of musical tone control data is selected by the selecting means 4, the reading means 5 stores the selected set of musical tone control data in a plurality of external memories in accordance with the determination result of the determining means 3. If so, the set of tone control data is read from the plurality of external memories, and if it corresponds to one external memory, the 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 set of read tone control data.

【0006】こうして、1組の楽音制御データが1つの
外部メモリの容量内に納まりきらない場合は、該1組の
楽音制御データの全体容量に応じて任意の複数の外部メ
モリに分割して記憶させることができるようになり、そ
れら複数の外部メモリに分割して記憶した楽音制御デー
タを一括して1組の楽音制御データとして使用して楽音
信号の形成・制御を行うことが可能となる。従って、多
数のデータからなる楽音制御データを用いて高品質の楽
音を発生させることができるようになる。その場合に、
該1組の楽音制御データをいくつの外部メモリに分割し
て記憶したかを示す分割数情報を含む制御情報をも記憶
するようにしているので、すべての外部メモリの記憶内
容のチェックをすることなく、この分割数情報から必要
な外部メモリ数がいくつであるかが即座に判るので、読
み出し制御の際の処理時間を速くすることができ、実時
間演奏に合わせてすばやいデータ処理が要求されるよう
なこの種の楽音制御データの記憶及び読み出し処理にお
いて最適である、という優れた効果を奏する。
When one set of musical tone control data cannot fit within the capacity of one external memory, the data is divided and stored in a plurality of arbitrary external memories according to the total capacity of the set of musical tone control data. The tone control data divided and stored in the plurality of external memories can be collectively used as a set of tone control data to form and control a tone signal. Therefore, high-quality musical sounds can be generated by using musical sound control data composed of a large number of data. In that case,
Since the control information including the division number information indicating the number of external memories into which the set of musical tone control data is divided and stored is also stored, it is necessary to check the storage contents of all the external memories. The number of external memories required can be immediately determined from the division number information, so that the processing time for read control can be shortened, and quick data processing is required in accordance with real-time performance. This is an excellent effect that this type of tone control data is optimal for storage and read processing.

【0007】[0007]

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

【0008】モジュール化された鍵盤装置は、複数の鍵
を具えた鍵盤とこの鍵盤における押鍵・離鍵を検出する
ための回路及び押鍵速度等の鍵タッチを検出する回路と
を含み、キーオンイベント(新たな押鍵)があるたび
に、新たな押鍵に係る鍵のキーコード,鍵タッチを示す
タッチデータ及びキーオンイベント信号を出力すると共
に、キーオフイベント(新たな離鍵)があるたびに、新
たな離鍵に係る鍵のキーコード及びキーオフイベント信
号を出力する。また、モジュール化された自動演奏装置
は、自動演奏音を発生すべきタイミングにおいて該自動
演奏音の音高を示すキーコード等からなるキーデータを
出力する。これらのモジュール化された鍵盤装置又は自
動演奏装置から出力されるデータは、楽音信号処理の共
通規格であるMIDI規格で表現されており、このMI
DI規格のデータがMIDIインタフェース14を介し
て楽音信号発生装置10内に取り込まれる。
A modularized keyboard device includes a keyboard provided with a plurality of keys, a circuit for detecting key press / release on this keyboard, and a circuit for detecting key touch such as key press speed. Each time an event (new key press) occurs, a key code of a key related to the new key press, touch data indicating a key touch, and a key on event signal are output, and each time a key off event (new key release) occurs. , And outputs a key code of a key related to a new key release and a key-off event signal. The modularized automatic performance device outputs key data including a key code indicating the pitch of the automatic performance sound at the timing when the automatic performance sound is to be generated. Data output from these modular keyboard devices or automatic performance devices are expressed in 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 has a plurality of memory connections for detachably mounting a plurality of external memories, and includes an interface 16a.
As will be described later, the voice cartridge 16 itself is detachable from the main body of the tone signal generator 10.

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

【0011】マイクロコンピュータは、また、発生すべ
き楽音の音高を示すキーコード等からなるキーデータを
上記MIDIインタフェース14及びデータバス19を
介して受け取り、受け取ったキーコードに対応する楽音
の発音を複数の楽音形成チャンネルのいずれかのチャン
ネルに対して割当てる処理をも行う。楽音信号形成回路
18では、この発音割当てに従って各楽音形成チャンネ
ルに割当てられたキーコードに対応する音高の楽音信号
を形成すると共に、上記外部メモリから読み出された楽
音制御データに応じて該楽音信号の音色を設定する。こ
の楽音信号形成回路18から発生された楽音信号がサウ
ンドシステム15に与えられる。
The microcomputer also receives, via the MIDI interface 14 and the data bus 19, key data including a key code indicating the pitch of a musical tone to be generated, and generates a tone corresponding to the received key code. A process of allocating to any of a plurality of tone forming channels is also performed. The tone signal forming circuit 18 forms a tone signal having a pitch corresponding to the key code assigned to each tone forming channel in accordance with the tone assignment, and generates the tone signal in accordance with the 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 supplied 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 one embodiment of the tone signal generator 10. An operation panel 17 and a voice cartridge 16 are arranged on the front. Reference numeral 20 denotes an input terminal for MIDI standard data, which is connected to the MIDI interface 14 described above. The voice cartridge 16 is detachable with respect to the main body of the tone signal generator 10. The drawing shows a state where the voice cartridge 16 is pulled out from the main body by about half. Can be extracted. The knob 21 provided on the front surface of the voice cartridge 16 is operated when the voice cartridge 16 is removed from the main body of the tone signal generator 10. When the voice cartridge 16 is completely mounted on the main body, an engaging mechanism (not shown) operates so that the voice cartridge 16 is not 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 external appearance of the voice cartridge 16. The memory connection portion comprises slots S0 to S7 into which a packaged external memory 22 is inserted. Can be attached. Hereinafter, the memory connection unit is called a “slot”, and the external memory is called a voice pack. The reason for the voice pack is that the external memory in this embodiment stores tone color setting data (voice data) as tone control data. The slots S0 to S7 are opened and closed by a 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 width of the voice cartridge 16. As a result, the width of the voice cartridge 16 can be reduced as compared with 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 body of the tone signal generator 10 can be reduced accordingly. Can be

【0014】ボイスカートリッジ16の前面には各スロ
ットS0〜S7に対応してLED(発光ダイオード)が
設けられている。ボイスパックが装着されているスロッ
トに対応するLEDを点灯し、ボイスパックの装着状況
を知らせるようになっている。
On the front face of the voice cartridge 16, LEDs (light emitting diodes) are provided corresponding to the 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 a storage configuration example of one voice pack, and stores tone setting data corresponding to one tone as tone control data. More specifically, the timbre setting data stored here is composed of tone waveform data having a plurality of cycles for realizing the timbre. More specifically, in order to perform tone color change control (tone key scaling) according to the pitch of a musical tone, and to change tone color according to a key touch (tone color touch control).
, A plurality of musical tone waveform data is 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 KB (0) to
KB (n). Initial data storage area 2
4 stores predetermined initial data relating to the voice pack. The types of the initial data include, for example, pack type data PACKID, voice name (tone 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 the external memory pack. The types of external memory packs include voice (tone color), automatic base chord, automatic rhythm, and the like. For example, it is assumed that those packs have the same size. The pack type data PACKID is used to check on the device side whether the appropriate external memory pack is mounted. In the case of a voice pack, pack type data PACKID indicating a voice (tone color) is stored.

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

【0019】ページ数データPAGEM及びページ番号
データPAGECは、1音色に関する楽音制御データの
全てを1つのボイスパックに記憶しているか、若しくは
複数のボイスパックに分割して記憶しているか、を識別
するためのデータである。音高、鍵タッチあるいは時間
等の音色変更制御ファクタに応じて複雑に音色が変化す
る音色の場合、1音色に関する楽音制御データ量が多量
になり、1つのボイスパックに記憶し切れなくなってし
まう。そのような場合に1音色に関する楽音制御データ
を複数のボイスパックに分割して記憶するのである。
The page number data PAGEEM and page number data PAGEC identify whether all the tone control data for one tone is stored in one voice pack or divided into a plurality of voice packs. Data for In the case of a timbre in which the timbre changes in a complex manner in accordance with a timbre change control factor such as a pitch, a key touch, or a time, the amount of musical tone control data for one timbre becomes large and it cannot be stored in one voice pack. In such a case, the tone control data for one tone 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 PAGEEM is data indicating how many pieces of voice packs (how many pages) musical tone control data for one tone is divided and stored. For example, when the tone control data for one tone is divided into three voice packs and stored, the page number data PAGEEM is "3". When all of the tone control data for one tone is stored in one voice pack, the page number data PAGEEM is "1".

【0021】ページ番号データPAGECは、1音色に
関する楽音制御データを複数のボイスパックに分割して
記憶した場合、このボイスパックに記憶している楽音制
御データが何番目の分割順位(何ページ目)であるかを
示すデータである。例えば、1音色に関する楽音制御デ
ータを3個のボイスパックに分割して記憶したもののう
ち2番目の分割順位の楽音制御データを記憶しているボ
イスパックの場合は、このページ番号データPAGEC
は「2」である。また、1音色に関する楽音制御データ
の全てを1つのボイスパックに記憶している場合は、こ
のページ番号データPAGECは「1」である。
When the tone control data for one tone is divided into a plurality of voice packs and stored, the page number data PAGEC indicates what division order (number of pages) the tone control data stored in this voice pack has. Is data indicating whether For example, in the case of the voice pack storing the tone control data of the second division among the voice tone control data related to one tone divided and stored in three voice packs, the page number data PAGEC
Is “2”. When all tone control data for one tone is 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 key bank offset address data KB corresponding to each key.
OSA (0) to KBOSA (n) are stored, and corresponding key bank offset address data KBOSA (0) to KBOSA (n) are read out using a key code designating the pitch of a musical tone to be generated as an address signal. .
This key bank offset address data KBOSA
(0) to KBOSA (n) correspond to each key bank KB (0)
KKB (n), which is an offset address (relative address) from the head address of the key bank offset table 25 (this is called a voice address VAD). Each key bank KB
(0) to KB (n) correspond to a pitch or a tone range.

【0023】1つのキーバンクKB(0)は、図示のよ
うに、タッチバンクオフセットテーブル26と複数のタ
ッチバンクTB(0)〜TB(m)とからなっている。
他のキーバンクKB(1)〜KB(n)も同様の構成で
ある。
As shown, one key bank KB (0) includes a touch bank offset table 26 and a plurality of touch banks TB (0) to TB (m).
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 are stored, and touch key offset address data TB corresponding to the key touch data is used as an address signal.
Read OSA (0) to TBOSA (m). The touch bank offset address data TBOSA (0) to
TBOSA (m) represents each of the touch banks TB (0) to TB (
(M) is the data indicating the head address, and is the head address of the touch bank offset table 26 (this is the address corresponding to the key bank offset address data KBOSA (0) of the corresponding key bank KB (0)). Offset address (relative address). 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.
And a storage area 28 for start address data SAD, end address data EAD, and repeat address data RAD, and a storage area 29 for 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 characteristics such as attack, decay, sustain, and release.

【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 plural-period waveform of the sustain part by, for example, the PCM method. The start address data SAD is data indicating the head address of the attack part stored in the storage area 29. The end address data EAD is data indicating the last address of the sustain part stored in the storage area 29. Repeat address data RAD is
This is data indicating the head address of the continuation part stored in the storage area 29. The method of reading out the waveform sample data stored in the storage area 29 is to read all the waveform data of the attack part starting from the start address SAD once.
Subsequently, the multi-period waveform data of 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 correspond to the start address, the end address, and the repeat address in the storage area 29 by the head address of the corresponding touch bank TB (0). (Ie, an address corresponding to the touch bank offset address data TBOSA (0)) (relative address).

【0027】なお、図7では、図示の都合上アタック部
の波形にエンベロープが付与されているが、実際に記憶
エリア29に記憶する波形サンプルデータのエンベロー
プレベルは一定レベルに規格化されているものとし、こ
れを読み出した後に自由にエンベロープを付与するもの
とする。以上のように、1つのボイスパックには音高と
鍵タッチとの組合せに応じて異なる楽音波形データを記
憶した複数(n×m個)の記憶エリア29が設けられて
おり、押圧された鍵の音高と該鍵に加わる鍵タッチとに
応じて1つの記憶エリア29が選択され、そこに記憶さ
れた波形データが読み出される。
In FIG. 7, for the sake of illustration, the waveform of the attack portion is provided with an envelope, but the envelope level of the waveform sample data actually stored in the storage area 29 is normalized to a certain level. It is assumed that the envelope is freely added after the readout. As described above, one voice pack is provided with a plurality of (n × m) storage areas 29 storing different tone waveform data in accordance with a combination of a pitch and a 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
An absolute address is assigned to S7. This is shown in FIG. 8 in which an absolute address for one voice pack starting from a predetermined initial address (this is called a pack initial address and indicated by PAD (0)) is assigned to slot S0. 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 respectively. In the microcomputer, the voice cartridge 16 is determined by the absolute address.
Access each voice pack.

【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 head address of the storage area of the voice pack, that is, the head address of the initial data storage area 24 corresponds to the above-mentioned pack initial address PAD (SN). As is apparent from the above description, the pack initial address PAD (SN) is not unique to the voice pack, and the slots S0 to S0 in which the voice pack is mounted.
It is unique to S7. Therefore, SN in the pack initial address display PAD (SN) indicates the number of the slots S0 to S7 in which the voice pack is mounted. That is, the pack initial address PAD (SN) takes one of the values of PAD (0) to PAD (7) depending on which slot S0 to S7 the voice pack is attached to.

【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 determined as a reference address for reading data from the voice pack.
The absolute address of the first address of the key bank offset table 25 is referred to as a voice address VAD. The offset address of the head address of the key bank offset table 25 with respect to the pack initial address PAD (SN) is set to the initial data offset address IOS.
A, and 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 equation (1). VAD = PAD (SN) + IOSA Equation (1)

【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)式
For this voice address VAD, one of the key bank offset address data (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 (TBOSA) read from the touch bank offset table 26 in accordance with the key touch data.
One of A (0) to TBOSA (m);
SA (i)) and an absolute address (shown as AbTBOSA (i)) corresponding to the touch bank offset address data TBOSA (i) by adding the following equation (2). can do. AbTBOSA (i) = VAD + KBOSA (i) + T
BOSA (i) ... Equation (2)

【0032】このタッチバンクオフセットアドレスデー
タTBOSA(i)の絶対アドレスAbTBOSA
(i)を、記憶エリア28から読み出したスタートアド
レスデータSAD、エンドアドレスデータEAD及びリ
ピートアドレスデータRADに対して夫々加算すること
により、スタートアドレスデータSAD、エンドアドレ
スデータEAD及びリピートアドレスデータRADの絶
対アドレスを求めることができる。こうして求められた
スタートアドレスデータSAD、エンドアドレスデータ
EAD及びリピートアドレスデータRADの絶対アドレ
スデータを用いてボイスカートリッジ16にアクセスす
ることにより、記憶エリア29に記憶した波形サンプル
データを読み出すことができる。
Absolute address AbTBOSA of touch bank offset address data TBOSA (i)
(I) is added to the start address data SAD, the end address data EAD, and the repeat address data RAD read from the storage area 28, respectively, so that the absolute values of the start address data SAD, the end address data EAD, and the repeat address data RAD are obtained. You can ask for the 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に示さ
れている。
FIGS. 10 to 15 show an example of a flowchart of a process related to the present invention among the processes executed by the microcomputer in the musical tone signal generator 10. FIG. 9 shows an example of data used in connection with this processing and the contents stored in the working RAM 13.

【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 generated. In the standby mode, each slot S0
The presence / absence of a voice pack in S7 to S7 is detected, and a process of assigning the above-mentioned "voice number (tone number)", that is, "order" to the slot in which the voice pack is mounted is performed.

【0035】CVNOは、ボイスナンバレジスタであ
り、現在選択されているボイスナンバをストアするもの
である。このボイスナンバレジスタCVNOの内容はア
ップスイッチUSW及びダウンスイッチDSWの操作に
応じて増減する。MAXVNは、最大ボイスナンバ(最
大順位)レジスタであり、順位割当て処理によって割当
てた最大ボイスナンバ(最大順位)をストアするもので
ある。選択可能な「ボイスナンバ」つまり「順位」の数
がこの最大ボイスナンバ(最大順位)に対応する数に制
限されるようになっている。
CVNO is a voice number register for storing the currently selected voice number. The contents of the voice number register CVNO increase or decrease 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 the 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
This 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 of the ADs is stored. When the order or voice number is indicated by VN, the voice address register corresponding to a certain voice number (or order) VN is generally indicated 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 each rank (voice number), information relating to the slots S0 to S7 to which the rank is assigned, that is, the voice address VAD is stored. Will be.

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

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

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

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

【0041】図10のメインルーチンについて説明する
と、まず、電源オンに応じて実行される初期設定処理で
は、スタンバイフラグSTFLGを“0”にセットして
スタンバイモードとし、かつ各種レジスタの内容を初期
設定する。なお、スタンバイモードのとき、操作パネル
部17のディスプレイDSPYに「STAND BY」
という表示がなされる。次のボイスカートリッジ処理で
は図11〜図13に示すような処理を実行する。ここで
は、主に、ボイスカートリッジ16における各スロット
S0〜S7にボイスパックが装着されているか否かを検
出し、それに基づき「順位割当て処理」を行う。
The main routine of FIG. 10 will be described. First, in an initialization process executed when the power is turned on, the standby flag STFLG is set to "0" to set the standby mode, and the contents of various registers are initialized. I 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 processing, processing as shown in FIGS. 11 to 13 is executed. Here, mainly, it is 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 the detection.

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

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

【0044】図11〜図13を参照してボイスカートリ
ッジ処理について説明する。まず、図11において、ス
タンバイフラグSTFLGが“0”であることを条件
に、ステップ30から31に進み、ボイスカートリッジ
16が新たに装着されたかを調べる。ボイスカートリッ
ジ16が新たに装着されたならば、ステップ32に行
き、ボイスカートリッジ16に変化が無いならば、リタ
ーンに行く。
The voice cartridge processing will be described with reference to FIGS. First, in FIG. 11, on condition that the standby flag STFLG is “0”, the process proceeds from step 30 to 31 to check whether the voice cartridge 16 is newly mounted. If the voice cartridge 16 is newly mounted, the process goes to step 32, and if there is no change in the voice cartridge 16, the process goes to the 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 "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, ranking data) VN are each initialized to “0”. The slot number SN and the voice number VN indicate the slot currently undergoing rank assignment processing and the rank (ie, voice number) to be assigned to the slot. Next, the procedure goes to step 35 of 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 pack mounted in the slot (one 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. When reading is performed normally, it means that a voice pack is mounted in this slot. Therefore, in this step 36, it is detected whether or not the voice pack is mounted in 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 that of a voice pack for setting a tone color. In step 38, it is checked whether the read page number data PAGEEM is larger than "1", that is, whether the plurality of voice packs correspond to one tone color. Steps 36 and 37 are YES, Step 38 is N
If it is O, it means that one voice pack corresponds to one tone color, and the process goes to step 39. If steps 36, 37 and 38 are YES, it means that the voice pack is a voice pack corresponding to one tone color in 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 a voice address VAD, which is stored in the voice address register VAD indicated by the voice number VN.
(VN). That is, the pack initial address PAD of the slot specified by the slot number SN
(SN) Initial data offset address IOS
A and add the voice address VA for the slot.
D is obtained and stored in the voice address register VAD (VN) indicated by the voice number VN. Thus, the order indicated by the voice number VN is assigned to the slot indicated by the slot number SN. That is, the voice address VAD for the slot corresponds to the voice address register VAD (VN) corresponding to the order indicated by the voice number VN.
Is stored.

【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
6, the LED corresponding to the slot indicated by the slot number SN among the LEDs corresponding to each slot.
Turn on ED (SN). In step 41, the voice name data VNAME read in step 35 is read.
Is stored in the voice name register VNMREG (VN) corresponding to the order indicated by the voice number VN. In step 42, the voice number VN is increased by one. In step 43, the slot number SN is incremented by one. In step 44, it is checked whether the slot number SN has exceeded the maximum value “7”. If not, the process returns to step 35;

【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. Thereby, it is detected whether or not the voice pack is mounted in each slot. The processing from steps 39 to 42 is executed for the slot in which the voice pack is mounted, and the voice number VN (that is, the rank) is assigned as described above. Regarding the slot where the voice pack is not properly installed, the steps from NO in step 36 or 37 to step 4
9 and turns off the LED (SN) for the slot, and then goes to step 43. By the processing in step 42, the voice number VN (that is, the rank) is increased only when an 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, the slots S0, S1,
When a voice pack is installed only in S3 and S6, the voice numbers (ie, ranks) are "0" in slot S0, "1" in S1, "2" in S3, and "3" in S6. No voice numbers (ie, ranks) are assigned to the other slots S2, S4, S5, and S7 that are assigned and do not have a voice pack installed. 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,
Voice addresses VAD for S3 and S6 are respectively stored.

【0052】ステップ45では、ボイスナンバVNから
1を引いた値を最大ボイスナンバレジスタMAXVNに
セットする。ステップ42でVNに1を加算してからこ
のステップ45に来るため、ボイスナンバVNの値は実
際の最大ボイスナンバよりも1大きい値となっている。
従って、VN−1が、割当てられたボイスナンバのうち
最大ボイスナンバであり、これを最大ボイスナンバレジ
スタMAXVNに記憶する。
In step 45, a value obtained by subtracting 1 from the voice number VN is set in the maximum voice number register MAXVN. Since the process proceeds to step 45 after adding 1 to VN in step 42, the value of the voice number VN is one larger than the actual maximum voice number.
Therefore, VN-1 is the maximum voice number among 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”にセットしてスタンバイモ
ードとし、かつ各種レジスタの内容を初期設定する。
At step 46, it is checked whether the maximum voice number of the register MAXVN is -1. If no valid voice pack is attached to the voice cartridge 16, the voice number VN remains at the default value “0”, and subtracting 1 from this results in −1,
This is stored in the register MAXVN. In such a case, go to steps 47 and 48 to display the display DSP.
"STAND BY" is displayed for Y, the standby flag STFLG is set to "0" to set 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 voice pack corresponding to one tone is mounted in a plurality of voice packs, step 38
From YES in (FIG. 12), go to step 50 (FIG. 13). In step 50, the slot number SN at that time is
Is stored in the start slot number register STSN, and the page number data PAGEM is stored in the page number register PG.
Then, the voice name data VNAME is stored in the 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 voice pack currently being processed matches the page number PN. If YES, go to step 53, where slot number SN and page number PN
Is increased by one each. In the next step 54, the initial data (pack type data PAC) from the voice pack mounted in the slot (one of S0 to S7) designated by the slot number SN is
KID, voice name data VNAME, page number data PAGEM, page number data PAGEC, etc.).

【0056】次のステップ55,56も前記ステップ3
6,37と同様に、初期データが正常に読み取れたかを
調べ、また、読み取ったパック種類データPACKID
が音色設定用のボイスパックのものであるかを調べる。
ステップ57では、読み取ったボイスネームデータVN
AMEがボイスネームレジスタVNSTKにストアした
1番目のボイスパックのボイスネームと一致するかを調
べる。ステップ58では、読み取ったページ数データP
AGEMがページ数レジスタPGSTKにストアした1
番目のボイスパックのページ数と一致するかを調べる。
The next steps 55 and 56 are also the same as those in step 3
6 and 37, it is checked whether the initial data has been read normally, and the read pack type data PACKID
To see if it is from 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 page number register PGSTK
Check 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 or not 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 or not the page number PN indicating the page number currently being processed matches the read page number data PAGEM. If NO, the process returns to step 53, and step 53
To 60 are repeated. Step 60 is YES
If so, it is the last 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, the voice address VAD is obtained by executing the above-mentioned equation (1), and the voice address VAD (VN) indicated by the voice number VN is obtained in substantially the same manner as in step 39 described above. To memorize. 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 specified by the slot number of the first page voice pack stored in the start slot number register STSN. The point is that the voice address VAD for the slot in which the first voice pack is mounted is obtained. During the processing of steps 50 to 60, the voice number VN does not change, so that a common voice number VN (that is, a rank) is assigned to a plurality of slots in which a plurality of voice packs corresponding to one tone color 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, the LED (STSN) corresponding to the slot designated by the slot number of the first page voice pack stored in the start slot number register STSN assigns the slot number to this slot number one less than the page number data PAGEEM. LED (STSN + PAGEM-1) corresponding to the added slot number
All LEDs up to are turned on. That is, all the LEDs corresponding to a plurality of slots in which a plurality of voice packs corresponding to one tone color are mounted are turned on. After step 62, the process goes to step 42 (FIG. 12), and the voice number VN is incremented by one.

【0060】また、ステップ52,55〜59の判断が
1つでもNOならば、ステップ49(図12)にジャン
プし、順位割当ては行わない。従って、この実施例で
は、1音色に対応する複数のボイスパックは、少ない番
号のスロットから順にページ順に隣接して装着しなけれ
ばならない。
If at least one of the determinations in steps 52, 55 to 59 is NO, the process jumps to step 49 (FIG. 12), and no rank is assigned. Therefore, in this embodiment, a plurality of voice packs corresponding to one tone must be mounted adjacent to each other in the order of the page 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 the has been removed. If it has not been removed, the process goes to the return. If it has been removed, the process goes to step 64 to perform processing for transmitting the forcing dump signal FDMP to the currently sounding channel. This is because when the voice cartridge 16 is removed, the sound being generated is rapidly attenuated. The next steps 65 and 66 are steps 47 and 4 described above.
This is the same processing as in step 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, up / down switches USW, D
The voice number selection process by the 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 step 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. It is checked whether it is greater than the maximum voice number stored in MAXVN. If NO, the contents of the voice number register CVNO are incremented by one at step 69. If YES, the contents of voice number register CVNO are reset to "0" in step 70.

【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 corresponding to the voice number (ie, rank) indicated by the current value of the voice number register CVNO Register VNMREG (CVN
The voice name (tone 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 step 72 to step 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 obtained. Check whether it is smaller than "0". If no, step 7
At 4, the content of the voice number register CVNO is reduced by one. If YES, the content of the voice number register CVNO is set to "maximum voice number register MAX" in step 75.
Set to "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 (ie, the order) is selected. The selected voice number (order) 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 (order) 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". Is done. That is, when the content of the voice number register CVNO is increased, if the content is larger than the “maximum voice number stored in the maximum voice number register MAXVN”, the process goes from YES in step 68 to step 70 and returns to “0”. Will be returned. When the content of the voice number register CVNO is reduced, if the content is smaller than "0", the process proceeds from YES in step 73 to step 7
5 and is returned to "maximum voice number stored in maximum voice number register MAXVN". Thus,
The selectable voice numbers (orders) are limited to the voice numbers (orders) assigned to the slots in which the voice packs are actually mounted. Therefore, the voice number (rank)
Despite selecting, the inconvenience that no voice pack is installed in the slot and no sound can be output is prevented beforehand.

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

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

【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 determined according to the pitch of the musical tone and the key touch in accordance with the above-mentioned equation (2). ) Absolute address A
bTBOSA (i) is obtained, and the tone control data is read from the touch bank in accordance with the value. Specifically, the voice address register VAD (CVNO) corresponding to the voice number stored in the voice number register CVNO
(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 the key code register KCO
The key bank offset address data KBOSA (i) is read from the key bank offset table 25 in accordance with 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 based on these, the above equation (2) is executed to execute the touch bank offset address TBOSA (i). Absolute address AbTBO
SA (i) is obtained, and the absolute address AbTBOSA
Storage area 2 of touch bank specified by (i)
7, the envelope setting data EG, the start address data SAD, the end address data EAD, and the repeat address data RAD are read. And
This touch bank offset address data TBOSA
The absolute address AbTBOSA (i) of (i) is replaced with the start address data SAD and the end address data EAD.
And the repeat address data RAD, respectively, so that start address data SAD, end address data EAD and repeat address data RAD are added.
Ab absolute address of D AbSAD, AbEAD, AbRAD
Ask for each. Then, these data EG, AbSA
D, AbEAD, AbRAD and key code register K
CODE key code and touch data register TD
The ATA touch data is transmitted to the tone signal forming circuit 18 (this is indicated by TG in the flowchart) corresponding to the channel to which the new press key is assigned.

【0070】ステップ81では、キーオンパルスKON
Pを、新押圧鍵を割当てたチャンネルに対応して、楽音
信号形成回路18に送出する。これに応じて新押圧鍵に
関する楽音の発音が開始される。
In step 81, the key-on pulse KON
P is transmitted to the tone signal forming circuit 18 in accordance with the channel to which the new pressed key is assigned. In response to this, the tone generation 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 data for one tone color is divided and stored in a plurality of voice packs, the memory map of the first page voice pack is as shown in FIG. Is not provided with the key bank offset table 25. That is, only the first page voice pack has the key bank offset table 25, and the first page key bank offset table 25 stores the key bank offset address data of the key banks for all pages. The key bank offset address data is offset address data from the head address of the key bank offset table 25 of the first page. Therefore, for example, the key bank KB in the second page voice pack
(I) Key bank offset address data KBOS
A (i) is offset address data from the head address (ie, voice address VAD) of the key bank offset table 25 of the first page voice pack, and the touch of one touch bank in the key bank KB (i) is performed. When obtaining the absolute address AbTBOSA (i) of the bank offset address TBOSA (i), the voice address VA is calculated in exactly the same manner as described above according to the equation (2).
D and key bank offset address data KBOSA
(I) and touch bank offset address data TBO
SA (i) may be added.

【0072】また、1つのキーバンクが2ページに分か
れている場合でも、そのキーバンクのタッチバンクオフ
セットテーブル26は先のページのボイスパックの方に
あり、後のページのボイスパックにはタッチバンクの残
りがある。この場合でも、後のページのボイスパックに
あるタッチバンクTB(i)のタッチバンクオフセット
アドレスTBOSA(i)は先のページのボイスパック
にある当該キーバンクの先頭アドレス(つまりキーバン
クオフセットアドレスKBOSA)からのオフセットア
ドレスであり、問題なく前記(2)式を適用することが
できるようになっている。
Even when 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 is stored in the voice pack of the subsequent page. There is a rest. 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 head address of the key bank in the voice pack of the previous page (that is, the key bank offset address KBOSA). , And the above equation (2) can be applied without any problem.

【0073】図15において、キーオフイベントの割込
みがあると、スタンバイフラグSTFLGが“1”であ
ることを条件にステップ82から83に進み、キーオフ
イベントに係るキーコードをMIDIインタフェース1
4からRAM13内部のキーコードレジスタKCODE
に取り込む。
In FIG. 15, when a key-off event is interrupted, the process proceeds from step 82 to step 83 on condition that the standby flag STFLG is "1", and the key code relating to the key-off event is transmitted 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に送出する。これに応じ
て新離鍵に関する楽音の発音を終了させる。
In the next step 84, it is checked whether or not the musical tone relating 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 or not a channel is allocated). If it is not sounding (if the channel is not assigned), the program goes to the return. If it is sounding (if the channel is assigned), the program goes to step 85, and the channel to which the key code relating to the new key release is assigned. Corresponding key-off pulse K
The OFP is sent to the tone signal forming circuit 18. In response to this, the tone generation for 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 slots S0 to S7 of the voice cartridge 16 are used as they are as the tone generator memory. Key code register 86
Stores the key code assigned to each channel. The key code register KCOD provided to the tone signal forming circuit 18 by the processing of step 80 in FIG.
The key code of the new depressed key stored in E is fetched and stored corresponding to the assigned channel.

【0076】アドレス制御データレジスタ87は、図1
5のステップ80の処理により楽音信号形成回路18に
与えられた絶対アドレスからなるスタートアドレスデー
タAbSAD、エンドアドレスデータAbEAD及びリ
ピートアドレスデータAbRADを夫々記憶するもの
で、各チャンネル毎にこれらのデータを記憶する。
The address control data register 87 corresponds to FIG.
5, the start address data AbSAD, the end address data AbEAD, and the repeat address data AbRAD, which are absolute addresses given to the musical tone signal forming circuit 18 by the processing of the tone signal forming circuit 18, are stored for each channel. I 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 receives the key code assigned to each channel given 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. 15. The key-on pulse KONP given to the tone signal forming circuit 18 by the processing of step 81 in FIG.
And an address for reading out waveform sample data from the storage area 29 (FIG. 6) in one touch bank corresponding to one key bank in the voice pack inserted into one slot of the voice cartridge 16. Generate a signal. For example, generation of an address signal is started with the start address data AbSAD as an initial address in response to the key-on pulse KONP, and reading of waveform sample data is controlled as described above. 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 supplied to an envelope providing circuit 89. The envelope control data register 90 stores the envelope setting data EG, the key-on pulse KONP, the key-off pulse KOFP, and the envelope setting data EG 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 ATA touch data is stored, and these data are stored for each channel. The envelope assigning circuit 89 forms envelope waveform data for each channel based on these data provided from the envelope control data register 90, thereby assigning the envelope of the waveform sample data read from the voice cartridge 16. The waveform sample data of each channel output in a time division manner from the envelope providing circuit 89 is summed by an accumulator 91 and then converted into an analog signal by a 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 result of the assignment by the rank assigning means. In this case, each of the registers VAD (0) to VAD (7) is provided. ) Corresponds to each rank (that is, voice number). Then, the registers VAD (0) to VAD (0) to VAD (0)
In (7), the voice address data VAD relating to the slot (that is, the memory connection unit) to which the rank is assigned is stored. In this case, the voice address data VAD is composed of the absolute address data as described above. However, the present invention is not limited to this, and the voice address data VAD may simply store the slot number data. Conversely, it has storage locations corresponding to each slot (ie, memory connection) S0-S7, and each storage location has data (eg, voice data) related to the rank assigned to that slot (ie, memory connection). (Number) may be stored.

【0080】上記実施例では、順位を指示するデータは
ボイスナンバという数値データからなっているが、これ
は数値データに限らず、文字あるいは記号等のディジタ
ルコードを用いてもよい。また、順位を割当てる場合、
上記実施例では「0」から順に割当てているが、この順
序はどのようであってもよい。また、上記実施例では、
MIDIインタフェースを介して外部からキーデータを
受け取り、これに応じて楽音信号を発生するようにして
いるが、楽音信号発生装置10に鍵盤を具備し、この鍵
盤からキーデータを受け取るようにしてもよい。上記実
施例では、順位(ボイスナンバ)の選択のための操作手
段としてアップ/ダウンスイッチを用いているが、これ
に限らず、その他の操作スイッチ(例えばロータリエン
コーダ等)を用いてもよい。
In the above embodiment, the data indicating the order is numerical data called voice number. However, the data is not limited to numerical data, and digital codes such as characters or symbols may be used. Also, when assigning rankings,
In the above embodiment, the assignment is performed in order from "0", but this order may be any order. In the above embodiment,
Although the key data is received from the outside via the MIDI interface and a tone signal is generated in accordance with the key data, the tone signal generator 10 may be provided with a keyboard and receive the key data from the keyboard. . In the above embodiment, the up / down switch is used as the operation means for selecting the rank (voice number). However, the present invention is not limited to this, and another operation switch (for example, a rotary encoder or the like) 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 embodiment, when the waveform sample data is generated in response to a performance operation such as a key press, the external memory (voice pack) attached is directly accessed. However, the present invention is not limited to this. The musical tone control data of the external memory may be read out by temporarily transferring the musical tone control data to the RAM, and accessing this RAM to supply the read musical tone control data for forming a musical tone signal. In this case, only the tone control data in the external memory corresponding to the order (voice number) selected by the selection means (up / down switch) is transferred to the RAM, and the RAM is subjected to the key-on event processing (step 80) and read-out processing of the waveform sample data based on the output of the address signal generating circuit 88. Further, the tone control data of all the attached external memories is transferred to the RAM in advance, and the RAM shown in FIGS.
The voice cartridge processing in FIG. 13, the key-on event processing in FIG. 15 (processing in step 80), and the reading processing of the waveform sample data based on the output of the address signal generating circuit 88 may be performed. Further, the tone signal forming circuit 1
8 can store waveform sample data for one tone color
In addition to the provision of the AM, the processing for transferring the waveform sample data stored in the storage area 29 of FIG. 6 to the RAM in step 80 of FIG. 15 is also performed. May read the waveform sample data from the RAM.

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

【0083】また、外部メモリ(ボイスパック)に記憶
する波形データは、各サンプル点毎の振幅データに限ら
ず、FM楽音合成方式における演算パラメータや、高調
波合成方式における高調波係数パラメータなど、楽音信
号形成回路で採用する楽音発生方式に適したパラメータ
であってよい。外部メモリに記憶する楽音制御データと
しては、上記実施例のような楽音波形データ等の音色設
定データに限らず、プリセットデータ等からなる音色設
定データであってもよく、また、自動演奏データやリズ
ムデータなどでもよく、要するに楽音制御に用いるデー
タならば何でもよい。
The waveform data stored in the external memory (voice pack) is not limited to the amplitude data for each sample point, but also includes musical parameters such as calculation parameters in the FM tone synthesis system and harmonic coefficient parameters in the harmonic synthesis system. The parameter may be a parameter suitable for the tone generation method used in the signal forming circuit. The tone control data stored in the external memory is not limited to tone setting data such as tone waveform data as in the above-described embodiment, but may be tone setting data including preset data. Data may be used, in short, any data may be used as long as it 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. However, the external memory may be directly mounted on the apparatus main body in a detachable manner. In the above embodiment, when a set of musical tone control data (one tone) is stored in a plurality of external memories, if each external memory is not properly mounted in the page order in the adjacent memory connection section, each of the external memories Is not considered to be attached (see FIG. 13). However, the present invention is not limited to this, and even if a plurality of external memories corresponding to one set of tone control data are mounted in the memory connection unit in any arrangement, this may be regarded as correct mounting. 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 this purpose, it is determined from the voice name data VNAME and the page number data PAGE of the external memory mounted in each slot (memory connection section) which slot the external memory is mounted in which slot, based on this. What is necessary is just to perform appropriate read address control.

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

【0086】また、外部メモリにおけるメモリマップの
構成は図6に示したもの限らず、どのようなものでもよ
い。例えば、特願昭61−117522号に示されたも
ののように、データバンクを複数設け、音高と鍵タッチ
との組合せにより適宜のデータバンクを選択し、このデ
ータバンクが音高と鍵タッチとの異なる組合せに関して
共用されることがあるようにしてもよい。
The configuration of the memory map in the external memory is not limited to that shown in FIG. 6, but may be any configuration. 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 a pitch and a key touch. May be shared for different combinations of.

【0087】[0087]

【発明の効果】 以上の通り、この発明によれば、外部
メモリには、楽音制御データのみならず、1組の楽音制
御データ名を示すネーム情報と該1組の楽音制御データ
をいくつの外部メモリに分割して記憶したかを示す分割
数情報とを含む制御情報をも記憶するようにしているの
で、該1組の楽音制御データの全体容量に応じて任意の
複数の外部メモリに分割して記憶させることができるよ
うになり、それら複数の外部メモリに分割して記憶した
楽音制御データを一括して1組の楽音制御データとして
使用して楽音信号の形成・制御を行うことが可能とな
り、従って、多数のデータからなる楽音制御データを用
いて高品質の楽音を発生させることができるようにな
る、という優れた効果を奏する。また、該1組の楽音制
御データをいくつの外部メモリに分割して記憶したかを
示す分割数情報を含む制御情報をも記憶するようにして
いることにより、外部メモリから楽音制御データを読み
出す場合において、すべての外部メモリの記憶内容のチ
ェックをすることなく、この分割数情報から必要な外部
メモリ数がいくつであるかが即座に判るので、読み出し
制御の際の処理時間を速くすることができ、実時間演奏
に合わせてすばやいデータ処理が要求されるようなこの
種の楽音制御データの記憶及び読み出し処理において最
適である、という優れた効果を奏する。
As described above, according to the present invention, not only the tone control data but also the name information indicating a set of tone control data and the set of tone control data are stored in the external memory. Since the control information including the division number information indicating whether the data is divided and stored in the memory is also stored, it is divided into an arbitrary plurality of external memories in accordance with the total capacity of the set of tone control data. The tone control data divided and stored in the plurality of external memories can be collectively used as a set of tone control data to form and control tone signals. Therefore, there is an excellent effect that high-quality musical tones can be generated using musical tone control data composed of a large number of data. In addition, by storing control information including the division number information indicating the number of external memories into which the set of musical tone control data has been divided and stored, the musical tone control data can be read from the external memory. In this case, the number of required external memories can be immediately determined from this division number information without checking the storage contents of all the external memories, so that the processing time for read control can be shortened. This is an excellent effect that this type of musical tone control data is optimal in storage and readout processing of such kind of tone control data that requires quick data processing in accordance with real-time performance.

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

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

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

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

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

【図5】ボイスカートリッジにおける複数のメモリ接続
用スロットの配列例を示す上面図。
FIG. 5 is a top view showing an example of the arrangement 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 as an external memory.

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

【図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 illustrating a data and a memory map of a working RAM in FIG. 2;

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

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

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

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

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

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

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

【符号の説明】[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 connector 3 Discriminating means 4 Selecting means 5 Reading means 6 Musical sound signal forming means 10 Musical sound signal generator 16 Voice cartridge 17 Operation panel section S0 to S7 Slot

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 楽音制御データを記憶するための外部メ
モリであって、1組の楽音制御データ名を示すネーム情
報と該1組の楽音制御データをいくつの外部メモリに分
割して記憶したかを示す分割数情報とを含む制御情報を
も記憶する外部メモリと、 前記外部メモリが着脱可能に夫々装着される複数のメモ
リ接続部と、 前記各メモリ接続部に接続された外部メモリにおける前
記制御情報を読み取り、読み取った該制御情報に含まれ
るネーム情報および分割数情報に基づき、1組の楽音制
御データ毎に夫々の1組の楽音制御データに対応する1
または複数の外部メモリをそれぞれ判別する判別手段
と、 前記各メモリ接続部に接続された外部メモリに記憶され
た楽音制御データの中から、所望の1組の楽音制御デー
タを選択するための選択手段と、 前記判別手段の判別結果に応じて、前記選択手段で選択
された1組の楽音制御データに対応する1または複数の
外部メモリから該1組の楽音制御データを読み取る読み
取り手段と、 この読み取り手段により読み取られた1組の楽音制御デ
ータに基づき楽音信号の形成及び制御を行う楽音信号形
成手段とを具えた楽音信号発生装置。
1. An external memory for storing tone control data, comprising: a name information indicating a set of tone control data names.
Information and the set of musical tone control data to several external memories.
An external memory that also stores control information including division number information indicating whether the external memory is divided and stored; a plurality of memory connection units to which the external memory is detachably mounted, respectively; The control information in the external memory is read and included in the read control information.
1 corresponding to one set of tone control data for each set of tone control data based on the name information and the division number information.
A discriminating means for discriminating a plurality of external memories, and a selecting means for selecting a desired set of tone control data from the tone control data stored in the external memory connected to each memory connection unit Reading means for reading the set of musical tone control data from one or a plurality of external memories corresponding to the set of musical tone control data selected by the selecting means in accordance with a result of the determination by the determining means; A tone signal generating means for forming and controlling a tone signal based on a set of tone control data read by the means.
【請求項2】 前記制御情報は、前記1組の楽音制御デ
ータを複数の該外部メモリに分割して記憶する場合、該
分割された楽音制御データ部分の順序を示す順序情報を
更に含んでおり、 前記判別手段は、この順序情報に基づき、1組の楽音制
御データに対応する複数の外部メモリが前記メモリ接続
部において正しい順序で装着されているか否かを判別す
る手段をも含むものである請求項1に記載の楽音信号発
生装置。
Wherein said control information, when storing by dividing the set of musical tone control data to a plurality of external memory, the order information indicating the order of the divided musical tone control data portion
The discriminating means further includes means for discriminating, based on the order information, whether or not a plurality of external memories corresponding to one set of tone control data are mounted in the memory connection unit in a correct order. The tone signal generating device according to claim 1, wherein the tone signal generating device includes:
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 JPH07244484A (en) 1995-09-19
JP2624190B2 true 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)

Family Cites Families (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
JPH07244484A (en) 1995-09-19

Similar Documents

Publication Publication Date Title
KR100366721B1 (en) Electronic Music Devices and Effectors
JP3372124B2 (en) Electronic musical instrument
JP2583809B2 (en) Electronic musical instrument
JP2629891B2 (en) Music signal generator
JP2624190B2 (en) Music signal generator
JPS6048759B2 (en) electronic musical instruments
JPS62235989A (en) Accompanying pattern selector
JP2649916B2 (en) Music signal generator
JPH07168563A (en) Electronic musical instrument capable of extending sound source
US5300726A (en) Electronic rhythm instrument with tone pitch and tone volume control
JP2701177B2 (en) Tone generator
JP2660462B2 (en) Automatic performance device
JP2555569B2 (en) Electronic musical instrument
US5418324A (en) Auto-play apparatus for generation of accompaniment tones with a controllable tone-up level
US5483018A (en) Automatic arrangement apparatus including selected backing part production
JP3282675B2 (en) Electronic musical instrument
JP3554770B2 (en) Tone generator
JP2660457B2 (en) Automatic performance device
JPH0515279B2 (en)
JP2630268B2 (en) Rhythm sound generator
JP2003099055A (en) Function allocation display device for electronic musical instrument
JPH08152880A (en) Electronic musical instrument
JPH0827624B2 (en) Automatic playing device
JPH0816166A (en) Rhythm selecting device
JPH06214568A (en) Electronic musical instrument

Legal Events

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