JP2649916B2 - Music signal generator - Google Patents
Music signal generatorInfo
- Publication number
- JP2649916B2 JP2649916B2 JP62026145A JP2614587A JP2649916B2 JP 2649916 B2 JP2649916 B2 JP 2649916B2 JP 62026145 A JP62026145 A JP 62026145A JP 2614587 A JP2614587 A JP 2614587A JP 2649916 B2 JP2649916 B2 JP 2649916B2
- Authority
- JP
- Japan
- Prior art keywords
- voice
- data
- tone
- address
- key
- 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
Links
- 230000015654 memory Effects 0.000 claims description 122
- 238000001514 detection method Methods 0.000 claims description 10
- 238000000034 method Methods 0.000 description 40
- 230000008569 process Effects 0.000 description 33
- 230000008859 change Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- IYZMXHQDXZKNCY-UHFFFAOYSA-N 1-n,1-n-diphenyl-4-n,4-n-bis[4-(n-phenylanilino)phenyl]benzene-1,4-diamine Chemical compound C1=CC=CC=C1N(C=1C=CC(=CC=1)N(C=1C=CC(=CC=1)N(C=1C=CC=CC=1)C=1C=CC=CC=1)C=1C=CC(=CC=1)N(C=1C=CC=CC=1)C=1C=CC=CC=1)C1=CC=CC=C1 IYZMXHQDXZKNCY-UHFFFAOYSA-N 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000013144 data compression Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000001308 synthesis method Methods 0.000 description 2
- 102100024440 Phosphoacetylglucosamine mutase Human genes 0.000 description 1
- 108010074307 Phosphoacetylglucosamine mutase Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 239000011324 bead Substances 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000003415 peat Substances 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、音色等の楽音制御データを記憶した複数
の外部メモリを着脱可能に装着し、装着した外部メモリ
に記憶されている楽音制御データに基づき楽音信号を発
生するようにした楽音信号発生装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a musical tone control data stored in an external memory in which a plurality of external memories storing musical tone control data such as tone colors are detachably mounted. The present invention relates to a musical tone signal generating device which generates a musical tone signal based on a tone signal.
音色等の楽音制御データを記憶した複数の外部メモリ
を着脱可能に装着し、装着した外部メモリを選択してそ
こに記憶されている楽音制御データを読み出し、読み出
した楽音制御データにより楽音信号を制御するようにし
た技術として、従来は、実開昭50−52921号公報に示さ
れたものが知られている。そこにおいては、アナログシ
ンセサイザ型の電子楽器における楽音設定装置が示され
ており、各種の楽音に対応する制御電圧情報を予め設定
した各楽音種類毎の複数の単位基板(すなわち外部メモ
リ)を親基板に着脱可能に装着し、親基板上の各単位基
板をプリセット選択スイッチによって選択し、選択され
た単位基板における制御電圧情報を用いて楽音信号を制
御することが示されている。この場合、親基板上の各単
位基板接続位置と各プリセット選択スイッチとが1対1
で固定的に対応しており、プリセット選択スイッチによ
り選択された接続位置に装着されている単位基板から制
御電圧情報が読み出される。A plurality of external memories storing tone control data such as tones are detachably mounted, the installed external memory is selected, the tone control data stored therein is read, and the tone signal is controlled by the read tone control data. Conventionally, a technique disclosed in Japanese Utility Model Laid-Open Publication No. 50-52921 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 and each preset selection switch are one-to-one.
The control voltage information is read from the unit board mounted at the connection position selected by the preset selection switch.
上述の従来技術においては、親基板上の各単位基板接
続位置と選択スイッチとが1対1で固定的に対応してい
るため、単位基板が装着されていない接続位置が選択ス
イッチによって選択されると、制御電圧情報を取り出す
ことができず、音が出ない、等の問題が生じることがあ
った。或る特定範囲でまとまって単位基板が装着されて
いない場合は、そのような特定範囲に対応する選択スイ
ッチを選択操作しないように注意深く操作することは比
較的容易であるが、単独の単位基板が任意の位置で装着
されていない(つまり間引かれている)場合は、そのよ
うな単位基板が装着されていない任意の接続位置に対応
する選択スイッチを操作しないようにすることは困難で
あり、上述のような問題が生じ易かった。In the above-described related art, since each unit board connection position on the parent board corresponds to the selection switch in a fixed one-to-one correspondence, a connection position where no unit board is mounted is selected by the selection switch. In such a case, the control voltage information cannot be taken out, and no sound is produced. When the unit boards are not mounted collectively in a specific range, it is relatively easy to carefully operate so as not to select and operate the selection switch corresponding to such a specific range. If it is not mounted at any position (that is, it is thinned out), it is difficult not to operate the selection switch corresponding to any connection position where such a unit board is not mounted, The problem as described above was likely to occur.
この発明は上述の点に鑑みてなされたもので、複数の
メモリ接続部のうち外部メモリが装着されていないメモ
リ接続部を取外して外部メモリの選択をなし得るように
した楽音信号発生装置を提供しようとするものである。SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and provides a tone signal generating device capable of selecting an external memory by removing a memory connection portion to which an external memory is not mounted among a plurality of memory connection portions. What you want to do.
この発明に係る楽音信号発生装置は、供給される楽音
制御データに基づき楽音信号を形成する楽音信号形成手
段と、楽音制御データを記憶した複数の外部メモリが着
脱可能に装着される複数のメモリ接続部と、各メモリ接
続部に前記外部メモリが装着されているか否かを検出す
る装着検出手段と、この装着検出手段の検出結果に基づ
き、前記外部メモリが実際に装着されている前記メモリ
接続部に対して順位を夫々割当てる順位割当て手段と、
使用者によって所望の順次を選択指定するためのもので
あって、該使用者により選択指定可能な順位の最大値
を、前記順位割当て手段に割当てた最大順位に制限し、
該制限された順位内でのみその選択指定が可能である選
択手段と、前記選択手段で選択指定された順位に対応す
る前記メモリ接続部を前記順位割当て手段での割当て結
果に応じて特定し、特定されたメモリ接続部に装着され
た外部メモリに関する楽音制御データを前記楽音信号形
成手段に供給するデータ供給手段とを具えたものであ
る。これを図によって示すと、第1図のようであり、1a
〜1nが外部メモリ、2a〜2mがメモリ接続部、3が装着検
出手段、4が順位割当て手段、5が選択手段、6がデー
タ供給手段、7が楽音信号形成手段、である。A tone signal generating apparatus according to the present invention comprises a tone signal forming means for forming a tone signal based on tone control data supplied thereto, and a plurality of memory connections to which a plurality of external memories storing the tone control data are detachably mounted. Unit, mounting detection means for detecting whether or not the external memory is mounted on each memory connection part, and the memory connection part on which the external memory is actually mounted based on the detection result of the mounting detection means. Rank assigning means for assigning a rank to each of
For selecting and specifying a desired order by the user, limiting the maximum value of the order that can be selected and specified by the user to the maximum order assigned to the order allocating means,
Selecting means that can be selected and specified only within the restricted order, and specifying the memory connection unit corresponding to the order selected and specified by the selecting means according to the allocation result by the order allocating means; Data supply means for supplying musical tone control data relating to an external memory attached to the specified memory connection unit to the musical tone signal forming means. This is shown graphically in FIG. 1 where 1a
1 to 1n are external memories, 2a to 2m are memory connection units, 3 is a mounting detection unit, 4 is a rank assignment unit, 5 is a selection unit, 6 is a data supply unit, and 7 is a tone signal formation unit.
各メモリ接続部2a〜2mには、任意の外部メモリ1a〜1n
を着脱可能に装着することができる。各メモリ接続部2a
〜2mに外部メモリが装着されているか否かは、装着検出
手段3によって検出される。順位割当て手段4では、装
着検出手段3の検出結果に基づき、外部メモリが装着さ
れているメモリ接続部に関して順位を割当てる。例え
ば、メモリ接続部2a,2b,2d,2gにだけ外部メモリが装着
されている場合は、メモリ接続部2aに「1」、2bに
「2」、2dに「3」、2gに「4」、というように順位が
割当てられ、他の外部メモリが装着されていないメモリ
接続部2c,2e,2f,2h〜2mに対しては順位が割当てられな
い。Each memory connection unit 2a-2m has an optional external memory 1a-1n
Can be detachably mounted. Each memory connection 2a
Whether or not an external memory is attached to 2 m is detected by the attachment detection unit 3. The rank assigning unit 4 assigns a rank to the memory connection unit to which the external memory is attached based on the detection result of the attachment detecting unit 3. For example, when an external memory is attached only to the memory connection units 2a, 2b, 2d, and 2g, "1" is assigned to the memory connection unit 2a, "2" is assigned to 2b, "3" is assigned to 2d, and "4" is assigned to 2g. And so on, and no order is assigned to the memory connection units 2c, 2e, 2f, 2h to 2m to which no other external memories are attached.
楽音制御のために使用する外部メモリを選択する場
合、使用者は、選択手段5により所望の順位を選択指定
する。ここで、選択手段5では、該使用者により選択指
定可能な順位の最大値を、順位割当て手段4で割当てた
最大順位に制限し、該制限された順位内でのみその選択
指定を可能にする。すると、データ供給手段6では、選
択手段5で選択された順位に対応するメモリ接続部2a〜
2mを順位割当て手段4での割当て結果に応じて特定し、
特定されたメモリ接続部に装着された外部メモリに関す
る楽音制御データを楽音信号形成手段7に供給する。例
えば、選択手段5により順位「3」が選択された場合
は、上述のように順位割当てがなされているとすると、
メモリ接続部2gが選択され、そこに装着されている外部
メモリに関する楽音制御データが供給される。明らかな
ように、メモリ接続部2a〜2mに対する外部メモリ1a〜1n
の装着状態が変化して、これに伴って順位割当て内容が
変化したとすると、選択手段5により同じ順位「3」が
選択されたとしても上述と同じメモリ接続部2gが選択さ
れるとは限らない。楽音信号形成手段7では、データ供
給手段6により供給された楽音制御データに基づき楽音
信号を形成する。When selecting an external memory to be used for tone control, the user selects and designates a desired order by the selection means 5. Here, the selecting means 5 limits the maximum value of the rank that can be selected and designated by the user to the maximum rank assigned by the rank allocating means 4 and enables the selection designation only within the limited rank. . Then, in the data supply unit 6, the memory connection units 2a to 2c corresponding to the order selected by the selection unit 5
2m is specified according to the assignment result by the rank assignment means 4,
The tone control data relating to the external memory attached to the specified memory connection portion is supplied to the tone signal forming means 7. For example, if the rank “3” is selected by the selection unit 5 and the rank is assigned as described above,
The memory connection unit 2g is selected, and the tone control data relating to the external memory attached thereto is supplied. As can be seen, the external memories 1a-1n for the memory connections 2a-2m
Is changed, and the contents of the rank assignment change accordingly, even if the same rank "3" is selected by the selecting means 5, the same memory connection unit 2g as described above is not necessarily selected. Absent. The tone signal forming means 7 forms a tone signal based on the tone control data supplied by the data supply means 6.
従って、外部メモリが装着されていないメモリ接続部
は選択手段による選択対象から自動的に除外されること
になり、楽音制御に使用する外部メモリの選択を容易か
つ確実に行うことができるようになる。Therefore, a memory connection portion to which no external memory is attached is automatically excluded from selection targets by the selection means, and selection of an external memory used for tone control can be performed easily and reliably. .
以下、添付図面を参照してこの発明の実施例を詳細に
説明しよう。Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第2図はこの発明に係る楽音信号発生装置10の一実施
例のハード構成を示すもので、この実施例の楽音信号発
生装置10においてはCPU(中央処理ユニット)11、プロ
グラムROM(リードオンリーメモリ)12及びデータ及び
ワーキングRAM(ランダムアクセスメモリ)13を含むマ
イクロコンピュータによって各種の動作や処理が制御さ
れる。この実施例の楽音信号発生装置10は、音源モジュ
ールとしてモジュール化されたものからなっており、こ
れに対して同じく夫々モジュール化されている任意の鍵
盤装置又は自動演奏装置など(図示せず)をMIDIインタ
フェース14を介して接続し、更にサウンドシステム15を
接続することにより、全体として電子楽器を構成するこ
とができるようになっている。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 formed as a module as a tone generator module. On the other hand, an arbitrary keyboard device or an automatic performance device (not shown) which is also modularized respectively is provided. By connecting via a MIDI interface 14 and further connecting a sound system 15, an electronic musical instrument can be configured as a whole.
モジュール化された鍵盤装置は、複数の鍵を具えた鍵
盤とこの鍵盤における押鍵、離鍵を検出するための回路
及び押鍵速度等の鍵タッチを検出する回路とを含み、キ
ーオンイベント(新たな押鍵)があるたびに、新たは押
鍵に係る鍵のキーコード,鍵タッチを示すタッチデータ
及びキーオンイベント信号を出力すると共に、キーオフ
イベント(新たな離鍵)があるたびに、新たな離鍵に係
る鍵のキーコード及びキーオフイベント信号を出力す
る。また、モジュール化された自動演奏装置は、自動演
奏音を発生すべきタイミングにおいて該自動演奏音の音
高を示すキーコード等からなるキーデータを出力する。
これらのモジュール化された鍵盤装置又は自動演奏装置
から出力されるデータは、楽音信号処理の共通規格であ
るMIDI規格で表現されており、このMIDI規格のデータが
MIDIインタフェース14を介して楽音信号発生装置10内に
取り込まれる。The modularized keyboard device includes a keyboard having a plurality of keys, a circuit for detecting key depression and key release on this keyboard, and a circuit for detecting a key touch such as a key pressing speed. Each time there is a key press, a key code of a key related to the key press, touch data indicating a key touch, and a key-on event signal are output, and whenever a key-off event (new key release) occurs, a new key-off event is generated. A key code of a key related to key release and a key-off event signal are output. 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.
The data output from these modularized keyboard devices or automatic performance devices are expressed in the MIDI standard, which is a common standard for musical tone signal processing.
The music signal is fetched into the tone signal generator 10 via the MIDI interface 14.
ボイスカートリッジ16は、複数の外部メモリを着脱可
能に装着するための複数のメモリ接続部を具備するもの
で、インタフェース16aを含んでいる。このボイスカー
トリッジ16は、後述するように、それ自体が楽音信号発
生装置10の本体に対して着脱可能である。The voice cartridge 16 includes a plurality of memory connection sections for detachably mounting a plurality of external memories, and includes an interface 16a. As will be described later, the voice cartridge 16 itself can be attached to and detached from the main body of the tone signal generator 10.
操作パネル部17は、音色や各種データの設定・選択を
行うためのスイッチ及び操作子類並びにディスプレイを
具えている。例えば、発生楽音の音色を指示するボイス
ナンバ(音色番号)を選択するための選択手段として、
アップスイッチUSW及びダウンスイッチDSW並びにこれら
のスイッチUSW,DSWの操作に応じて選択されたボイスナ
ンバ(音色番号)及びその音色名を表示するディスプレ
イDSPYを具備している。なお、ここで留意すべきこと
は、このアップスイッチUSW及びダウンスイッチDSWから
なる選択手段によって選択される「ボイスナンバ(音色
番号)」とは、音色名に絶対的に対応しているものでは
なく、選択操作の便宜上付与される単なる「順位」のデ
ータである。この「ボイスナンバ(音色番号)」つまり
「順位」のデータは、後述するような順位割当て処理に
基づく順位割当て内容に従って、ボイスカートリッジ16
における1つのメモリ接続部を選択する機能を果す。こ
の1つのメモリ接続部の選択に伴い、そこに装着された
1つの外部メモリを選択してそこに記憶してある楽音制
御データが読み出され、楽音制御のために利用される。
なお、後述するように、ボイスカートリッジ16における
複数のメモリ接続部のうち外部メモリが装着されている
メモリ接続部に対してのみ上述の「順位」が割当てられ
るようになっている。この順位割当て処理及び選択され
た外部メモリの読出し処理はマイクロコンピュータによ
って実行される。The operation panel section 17 includes switches, operators, and a display for setting and selecting timbres and various data. For example, as selection means for selecting a voice number (tone number) indicating a tone of a generated musical tone,
An up switch USW and a down switch DSW, and a display DSPY for displaying a voice number (tone number) selected in accordance with the operation of these switches USW and DSW and a tone name thereof are provided. It should be noted that the "voice number (tone number)" selected by the selection means including the up switch USW and the down switch DSW does not absolutely correspond to the tone name. , Is simply “rank” data provided for the convenience of the selection operation. The data of the “voice number (tone number)”, that is, the “order” is stored in the voice cartridge 16 according to the order assignment contents based on the order assignment process described later.
Performs a function of selecting one memory connection unit in the above. 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.
Note that, 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.
マイクロコンピュータは、また、発生すべき楽音の音
高を示すキーコード等からなるキーデータを上記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 a pitch of a musical tone to be generated, and converts the musical tones corresponding to the received key code into a plurality of musical tones. A process of allocating to any of the formation channels is also performed. The tone signal forming circuit 18 forms a tone signal having a pitch corresponding to a 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. This tone signal forming circuit 18
The tone signal generated from is output to the sound system 15.
第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. As shown in FIG. An operation panel 17 and a voice cartridge 16 are arranged on the front. Reference numeral 20 denotes a MIDI standard data input terminal, which communicates with the aforementioned MIDI interface 14. The voice cartridge 16 can be attached to and detached from the main body of the tone signal generator 10, and the drawing shows a state in which the voice cartridge 16 is pulled out from the main body by about half. Can be extracted. Knob 21 provided on the front of voice cartridge 16
Is operated when the voice cartridge 16 is extracted from the main body of the tone signal generator 10. When the voice cartridge 16 is completely attached to the main body, an engaging mechanism (not shown) operates so that the voice cartridge 16 does not easily come out of the main body.
Is moved, the engagement of the engagement mechanism is released, and the voice cartridge 16 can be pulled out.
第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 the packaged external memory 22 is inserted, and a maximum of eight external memories 22 are mounted. can do. 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 length of the slots S0 to S7, that is, the voice pack
The width of the voice cartridge 16 can be made smaller than the length of the voice cartridge 22, and the size of the voice cartridge 16 and the main body of the tone signal generator 10 can be reduced accordingly.
ボイスカートリッジ16の前面には各スロットS0〜S7に
対応してLED(発光ダイオード)を設けられている。ボ
イスパックが装着されているスロットに対応するLEDを
点灯し、ボイスパックの装着状況を知らせるようになっ
ている。On the front surface 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 lit to indicate the status of the voice pack.
第6図は、1個のボイスパックにおける記憶構成例を
示すメモリマップであり、楽音制御データとして1音色
に対応する音色設定データを記憶している。詳しくは、
ここに記憶する音色設定データは、当該音色を実現する
複数周期からなる楽音波形データからなっている。更に
詳しくは、楽音の音高に応じた音色変更制御(音色のキ
ースケーリング)を行うために、及び鍵タッチに応じた
音色変更制御(音色のタッチコントロール)を行うため
に、各音高(又は音域)及び鍵タッチに対応して複数の
楽音波形データが1個のボイスパック内に記憶されてい
る。FIG. 6 is a memory map showing a storage configuration example of one voice pack, and stores tone color setting data corresponding to one tone color as tone control data. For more information,
The tone color setting data stored here is composed of tone waveform data having a plurality of cycles for realizing the tone color. More specifically, in order to perform tone change control (key scaling of a tone) according to the pitch of a musical tone and to perform tone change control (touch control of a tone) according to a key touch, each pitch (or A plurality of musical tone waveform data are stored in one voice pack in correspondence with the key range and the key touch.
ボイスパックは、初期データ記憶エリア24と、キーバ
ンクオフセットテーブル25と、各音高(又は音域)に対
応する複数のキーバンクKB(0)〜KB(n)とを具備し
ている。初期データ記憶エリア24には、このボイスパッ
クに関する所定の初期データを記憶している。初期デー
タの種類には、一例として、パック種類データPACKID,
ボイスネーム(音色名)データVNAME,ページ数データPA
GEM,ページ番号データPAGECなどがある。The voice pack includes an initial data storage area 24, a key bank offset table 25, and a plurality of key banks KB (0) to KB (n) corresponding to each pitch (or range). The initial data storage area 24 stores predetermined initial data relating to the voice pack. The type of initial data includes, for example, pack type data PACKID,
Voice name (tone name) data VNAME, page number data PA
GEM, page number data PAGEC, etc.
パック種類データPACKIDは、この外部メモリパックに
記憶している楽音制御データの種類を示すデータであ
る。外部メモリパックの種類には、ボイス(音色)、自
動ベースコード、自動リズム、などがあり、例えばそれ
らのパックは同一寸法であるとする。適正な外部メモリ
パックが装着されているかを装置の側で確認するために
このパック種類データPACKIDが利用される。ボイスパッ
クの場合はボイス(音色)を示すパック種類データPACK
IDを記憶している。The pack type data PACKID is data indicating the type of the 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 confirm on the device side whether the proper external memory pack is mounted. In the case of a voice pack, pack type data PACK indicating the voice (tone)
I remember my ID.
ボイスネームデータVNAMEは、このボイスパックに記
憶している楽音制御データによって実現される音色名
(例えば「ピアノ」、「フルート」など)を示すデータ
である。The voice name data VNAME is data indicating a tone name (for example, “piano”, “flute”, etc.) realized by the tone control data stored in the voice pack.
ページ数データPAGEM及びページ番号データPAGECは、
1音色に関する楽音制御データの全てを1つのボイスパ
ックに記憶しているか、若しくは複数のボイスパックに
分割して記憶しているか、を識別するためのデータであ
る。音高、鍵タッチあるいは時間等の音色変更制御ファ
クタに応じて複雑に音色が変化する音色の場合、1音色
に関する楽音制御データ量が多量になり、1つのボイス
パックに記憶し切れなくなってしまう。そのような場合
に1音色に関する楽音制御データを複数のボイスパック
に分割して記憶するのである。The page number data PAGEM and page number data PAGEC are
This is data for identifying whether all of the tone control data for one tone is stored in one voice pack or divided into a plurality of voice packs. 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.
ページ数データPAGEMは、1音色に関する楽音制御デ
ータを何個のボイスパックに(何ページに)分割して記
憶しているかを示すデータである。例えば、1恩色に関
する楽音制御制御データを3個のボイスパックに分割し
て記憶している場合は、このページ数データPAGEMは
「3」である。また、1音色に関する楽音制御データの
全てを1つのボイスパックに記憶している場合は、この
ページ数データPAGEMは「1」である。The page number data PAGEM is data indicating how many voice packs (how many pages) musical tone control data for one tone is divided and stored. For example, when the tone control control data for one color benefit is divided into three voice packs and stored, the page number data PAGEM is "3". When all of the tone control data for one tone is stored in one voice pack, the page number data PAGEM is "1".
ページ番号データPAGECは、1音色に関する楽音制御
データを複数のボイスパックに分割して記憶した場合、
このボイスパックに記憶している楽音制御データが何番
目の分割順位(何ページ目)であるかを示すデータであ
る。例えば、1音色に関する楽音制御データを3個のボ
イスパックに分割して記憶したもののうち2番目の分割
順位の楽音制御データを記憶しているボイスパックの場
合は、このページ番号データPAGECは「2」である。ま
た、1音色に関する楽音制御データの全てを1つのボイ
スパックに記憶している場合は、このページ番号データ
PAGECは「1」である。The page number data PAGEC is obtained when the tone control data for one tone is divided into a plurality of voice packs and stored.
This is data indicating the division order (the page) of the tone control data stored in the voice pack. For example, if the tone control data for one tone is divided into three voice packs and stored, and if the tone control data is stored in the second divided order, 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".
キーバンクオフセットテーブル25は、各鍵に対応する
キーバンクオフセットアドレスデータKBOSA(0)〜KBO
SA(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 KBOSA (0) to KBO corresponding to each key.
The key bank offset address data KBOSA (0) to KBOSA which store a SA (n) and use a key code designating a pitch of a musical tone to be generated as an address signal.
Read (n). The key bank offset address data KBOSA (0) to KBOSA (n) are stored in each key bank KB.
This is data indicating the head address of (0) to KB (n), and 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.
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.
タッチバンクオフセットテーブル26は、鍵タッチの各
段階に対応するタッチバンクオフセットアドレスデータ
TBOSA(0)〜TBOSA(m)を記憶しており、鍵タッチデ
ータをアドレス信号としてそれに対応するタッチバンク
オフセットアドレスデータTBOSA(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 stores touch bank offset address data corresponding to each stage of key touch.
TBOSA (0) to TBOSA (m) are stored, and the corresponding touch bank offset address data TBOSA (0) to TBOSA (m) are read out using the key touch data as an address signal. This touch bank offset address data
TBOSA (0) to TBOSA (m) are for each touch bank TB (0)
TBTB (m), which is the data indicating the head address of the touch bank offset table 26 (this is an address corresponding to the key bank offset address data KBOSA (0) of the corresponding key bank KB (0)). ) Is an offset address (relative address). Each touch bank TB (0) to TB (m) corresponds to each stage of key touch.
1つのタッチバンクTB(0)は、図示のように、エン
ベロープ設定データEGの記憶エリア27と、スタートアド
レスデータSAD、エンドアドレスタEAD及びピートアドレ
スデータRADの記憶エリア28と、波形サンプルデータの
記憶エリア29とからなっている。他のタッチバンクTB
(1)〜TB(m)も同様の構成である。As shown, one touch bank TB (0) has a storage area 27 for envelope setting data EG, a storage area 28 for start address data SAD, end address data EAD and peat address data RAD, and storage of waveform sample data. It consists of area 29. Other Touch Bank TB
(1) to TB (m) have the same configuration.
エンベロープ設定データEGは、アタック、ディケイ、
サステイン、レリース等のエンベロープ波形特性の各部
分のレベルやレートを設定するデータである。Envelope setting data EG contains attack, decay,
This is data for setting the level and rate of each part of the envelope waveform characteristics such as sustain and release.
記憶エリア29に記憶する波形サンプルデータは、第7
図に示すように、アタック部の全波形と持続部の複数周
期波形を例えばPCM方式で符号化したデータからなる。
スタートアドレスデータSADは、この記憶エリア29に記
憶したアタック部の先頭のアドレスを示すデータであ
る。エンドアドレスデータEADは、この記憶エリア29に
記憶した持続部の最後のアドレスを示すデータである。
リピートアドレスデータRADは、この記憶エリア29に記
憶した持続部の先頭のアドレスを示すデータである。記
憶エリア29に記憶した波形サンプルデータの読出し方
は、スタートアドレスSADから始まるアタック部の全波
形データを1通り読み出し、それに引き続いて持続部の
複数周期波形データをリピートアドレスRADとエンドア
ドレスEADの間で繰返し読み出す。記憶エリア28に記憶
したスタートアドレスデータSAD,エンドアドレスデータ
EAD及びリピートアドレスデータRADは、記憶エリア29に
おけるこれらのスタートアドレス、エンドアドレス及び
リピートアドレスを、該当するタッチバンクTB(0)の
先頭のアドレス(つまりタッチバンクオフセットアドレ
スデータTBOSA(0)に対応するアドレス)からのオフ
セットアドレス(相対アドレス)である。The waveform sample data stored in the storage area 29 is the seventh
As shown in the figure, the data consists of data obtained by encoding the entire waveform of the attack part and the multi-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 continuation part stored in the storage area 29.
The repeat address data RAD is data indicating the head address of the continuous 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, and then to read the multi-period waveform data of the sustain part between the repeat address RAD and the end address EAD. Read repeatedly. Start address data SAD and end address data stored in storage area 28
The EAD and the repeat address data RAD correspond to the start address, the end address, and the repeat address in the storage area 29 at the start address of the corresponding touch bank TB (0) (that is, the touch bank offset address data TBOSA (0)). Address) (relative address).
なお、第7図では、図示の都合上アタック部の波形に
エンベロープが付与されているが、実際に記憶エリア29
に記憶する波形サンプルデータのエンベロープレベルは
一定レベルに規格化されているものとし、これを読み出
した後に自由にエンベロープを付与するものとする。In FIG. 7, for the sake of illustration, the waveform of the attack portion is provided with an envelope.
It is assumed that the envelope level of the waveform sample data stored in is stored at a predetermined level, and that the envelope is freely added after reading out the envelope level.
以上のように、1つのボイスパックには音高と鍵タッ
チとの組当せに応じて異なる楽音波形データを記憶した
複数(n×m個)の記憶エリア29が設けられており、押
圧された鍵の音高と該鍵に加わる鍵タッチとに応じて1
つの記憶エリア29が選択され、そこに記憶された波形デ
ータが読み出される。As described above, one voice pack is provided with a plurality of (n × m) storage areas 29 storing different tone waveform data according to a combination of a pitch and a key touch. 1 according to the pitch of the key and the key touch applied to the key.
One storage area 29 is selected, and the waveform data stored therein is read.
この実施例においては、ボイスカートリッジ16全体を
1つのメモリとみなして各スロットS0〜S7に対して絶対
アドレスが割当てられている。これを図によって示すと
第8図のようであり、スロットS0に関して所定の初期ア
ドレス(これをパック初期アドレスといい、PAD(0)
で示す)から始まる1ボイスパック分の絶対アドレスが
割当てられ、同様に、各スロットS1〜S7に関して夫々の
パック初期アドレスPAD(1)〜PAD(7)から始まる1
ボイスパック分の絶対アドレスが夫々割当てられる。マ
イクロコンピュータでは、この絶対アドレスによりボイ
スカートリッジ16の各ボイスパックをアクセスする。In this embodiment, an absolute address is assigned to each of the slots S0 to S7 by regarding the entire voice cartridge 16 as one memory. This is shown in FIG. 8 as shown in FIG. 8, where a predetermined initial address (this is called a pack initial address, PAD (0)
) Are assigned, and similarly for each slot S1 to S7, one of the pack initial addresses PAD (1) to PAD (7) is assigned.
Absolute addresses for voice packs are assigned respectively. The microcomputer accesses each voice pack of the voice cartridge 16 using the absolute address.
第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 clear from the above, this pack initial address PAD (SN)
Are not specific to the voice pack, but specific to the slots S0 to S7 in which the voice pack is mounted. Therefore, the SN in the display PAD (SN) of the pack initial address indicates the slot S0 to S7 in which the voice pack is mounted.
Indicates the number. That is, the pack initial address PAD (SN)
Is one of PAD (0) to PAD (7) depending on which slot S0 to S7 the voice pack is attached to.
この実施例では、キーバンクオフセットテーブル25の
先頭のアドレスを、ボイスパックからデータを読み出す
ための基準のアドレスとして定めている。このキーバン
クオフセットテーブル25の先頭のアドレスの絶対アドレ
スをボイスアドレスVADということにする。キーバンク
オフセットテーブル25の先頭のアドレスのパック初期ア
ドレスPAD(SN)に対するオフセットアドレスを初期デ
ータオフセットアドレスIOSAといい、ボイスアドレスVA
Dは、下記のように、パック初期アドレスPAD(SN)に初
期データオフセットアドレスIOSAを加算することにより
求めることができる。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 head 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 called an initial data offset address IOSA, and the voice address VA
D can be obtained by adding the initial data offset address IOSA to the pack initial address PAD (SN) as described below.
VAD=PAD(SN)+IOSA …(1) このボイスアドレスVADに対して、押圧鍵のキーコー
ドに応じてキーバンクオフセットテーブル25から読み出
したキーバンクオフセットアドレスデータ(KBOSA
(0)〜HBOSA(n)のうち1つ;これをKBOSA(i)で
示す)と、鍵タッチデータに応じてタッチバンクオフセ
ットテーブル26から読み出したタッチバンクオフセット
アドレスデータ(TBOSA(0)〜TBOSA(m)のうち1
つ;これをTBOSA(i)で示す)とを加算することによ
り、このタッチバックオフセットアドレスデータTBOSA
(i)に対応する絶対アドレス(これをAbTBOSA(i)
で示す)を特定することができる。VAD = PAD (SN) + IOSA (1) For this voice address VAD, key bank offset address data (KBOSA) read from the key bank offset table 25 according to the key code of the pressed key
(0) to HBOSA (n); this is indicated by KBOSA (i)) and touch bank offset address data (TBOSA (0) to TBOSA) read from the touch bank offset table 26 in accordance with the key touch data. 1 of (m)
This is represented by TBOSA (i)) to obtain the touchback offset address data TBOSA.
Absolute address corresponding to (i) (this is AbTBOSA (i)
) Can be specified.
AbTBOSA(i)=VAD+KBOSA(i)+TBOSA(i) …(2) このタッチバンクオフセットアドレスデータTBOSA
(i)の絶対アドレスAbTBOSA(i)を、記憶エリア28
から読み出したスタートアドレスデータSAD、エンドア
ドレスデータEAD及びリピートアドレスデータRADに対し
て夫々加算することにより、スタートアドレスデータSA
D、エンドアドレスデータEAD及びリピートアドレスデー
タRADの絶対アドレスを求めることができる。こうして
求められたスタートアドレスデータSAD、エンドアドレ
スデータEAD及びリピートアドレスデータRADの絶対アド
レスデータを用いてボイスカートリッジ16にアクセスす
ることにより、記憶エリア29に記憶した波形サンプルデ
ータを読み出すことができる。AbTBOSA (i) = VAD + KBOSA (i) + TBOSA (i) (2) This touch bank offset address data TBOSA
The absolute address AbTBOSA (i) of (i) is stored in the storage area 28
From the start address data SAD, the end address data EAD and the repeat address data RAD read from the
D, the absolute address of the end address data EAD and the repeat address data RAD can be obtained. 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.
楽音信号発生装置10内のマイクロコンピュータによっ
て実行される処理のうち、この発明に関連する処理のフ
ローチャートの一例が第10図〜第13図に示されている。
この処理に関連して使用されるデータ及びワーキングRA
M13内の記憶内容の一例が第9図に示されている。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 is shown in FIGS. 10 to 13.
Data and working RA used in connection with this process
An example of the contents stored in M13 is shown in FIG.
STFLGは、スタンバイフラグであり、スタンバイモー
ドのとき“0"、発音可能時は“1"である。スタンバイモ
ード時においては、各スロットS0〜S7におけるボイスパ
ックの有無を検出し、ボイスパックが装着されたスロッ
トに対して前述の「ボイスナンバ(音色番号)」つまり
「順位」を割当てる処理が行われる。STFLG is a standby flag, which is “0” when in the standby mode and “1” when sound can be generated. In the standby mode, the presence / absence of a voice pack in each of the slots S0 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. .
CVNOは、ボイスナンバレジスタであり、現在選択され
ているボイスナンバをストアするものである。このボイ
スナンバレジスタCVNOの内容はアップスイッチUSW及び
ダウンスイッチDSWの操作に応じて増減する。CVNO is a voice number register that stores the currently selected voice number. The content of the voice number register CVNO increases or decreases according to the operation of the up switch USW and the down switch DSW.
MAXVNは、最大ボイスナンバ(最大順位)レジスタで
あり、順位割当て処理によって割当てた最大ボイスナン
バ(最大順位)をストアするものである。選択可能な
「ボイスナンバ」つまり「順位」の数がこの最大ボイス
ナンバ(最大順位)に対応する数に制限されるようにな
っている。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).
VAD(0)〜VAD(7)は、「0」〜「7」の各順位
(ボイスナンバ)に対応するボイスアドレスレジスタで
あり、各順位は割当てられたスロットS0〜S7に装着され
たボイスパックのボイスアドレスVADを夫々記憶するも
のである。順位すなわちボイスナンバをVNで示すと、或
るボイスナンバ(すなわち順位)VNに対応するボイスア
ドレスレジスタは一般的にVAD(VN)で表わされる。前
述のように、ボイスアドレスVADはスロットS0〜S7のパ
ック初期アドレスPAD(SN)に関連して定まる。従っ
て、この各順位(ボイスナンバ)に対応するボイスアド
レスレジスタVAD(0)〜VAD(7)には、その順位が割
当てられたスロットS0〜S7に関連する情報つまりボイス
アドレスVADが夫々記憶されることになる。VAD (0) to VAD (7) are voice address registers corresponding to each rank (voice number) of “0” to “7”, and each rank is a voice pack attached to the assigned slot S0 to S7. Are stored respectively. 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.
VNMREG(0)〜VNMREG(7)は、「0」〜「7」の各
順位(ボイスナンバ)に対応するボイスネーム(音色
名)レジスタであり、各順位が割当てられたスロットS0
〜S7に装着されたボイスパックのボイスネームVNAMEを
夫々記憶するものである。VNMREG (0) to VNMREG (7) are voice name (tone name) registers corresponding to each rank (voice number) of "0" to "7", and a slot S0 to which each rank is assigned.
The voice name VNAME of the voice pack attached to S7 is stored.
STSNは、スタートスロットナンバレジスタであり、1
音色に関する楽音制御データを複数のボイスパックに分
割して記憶しているボイスパックが装着された場合、そ
のうち第1番目のボイスパックが装着されたスロットの
番号をストアするものである。STSN is a start slot number register.
When a voice pack storing tone control data relating to timbres divided into a plurality of voice packs is installed, the number of the slot in which the first voice pack is installed is stored.
VNSTKは、ボイスネームレジスタであり、1音色に関
する楽音制御データを複数のボイスパックに分割して記
憶しているボイスパックが装着された場合、そのうち第
1番目のボイスパックのボイスネームデータVNAMEをス
トアしておくものである。VNSTK is a voice name register that stores voice name data VNAME of the first voice pack when a voice pack storing tone control data for one tone divided into a plurality of voice packs is installed. It is something to keep.
PGSTKは、ページ数レジスタであり、1音色に関する
楽音制御データを複数のボイスパックに分割して記憶し
ているボイスパックが装着された場合、そのうち第1番
目のボイスパックのページ数データPAGEMをストアして
おくものである。PGSTK is a page number register. When a voice pack storing tone control data for one tone divided into a plurality of voice packs is installed, the page number data PAGEM of the first voice pack is stored. It is something to keep.
これらのレジスタSTSN,VNSTK,PGSTKは、1音色に関す
る楽音制御データを複数のボイスパックに分割して記憶
しているボイスパックが装着された場合、その各ボイス
パックが正しい順序で装着されているか否かを照合する
ために利用される。These registers STSN, VNSTK, and PGSTK are used to determine whether each voice pack is mounted in the correct order when a voice pack storing tone control data for one tone divided into a plurality of voice packs is mounted. Is used to match
また、データ及びワーキングRAM13には、現在順位割
当て処理中のボイスパックに関する各種初期データPACK
ID,VNAME,PAGEM,PAGECが転送記憶される。更に、データ
及びワーキングRAM13内には、楽音信号形成回路18の楽
音形成チャンネルに割当てた楽音のキーデータ(キーコ
ードやキーオン信号などであり、これは発音割当て処理
に基づき得られる)を記憶するための領域や、操作パネ
ル部17におけるスイッチ等の操作検出データやLED等の
オン・オフデータを記憶するための領域、その他のワー
キング領域が設けられている。Further, the data and working RAM 13 stores various initial data PACK relating to the voice pack currently being processed for rank assignment.
The ID, VNAME, PAGEM and PAGEC are transferred and stored. Further, in the data and working RAM 13, key data (key codes, key-on signals, etc., 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 are stored. , An area for storing operation detection data of switches and the like on the operation panel unit 17 and ON / OFF data of LEDs and the like, and other working areas.
第10図のメインルーチンについて説明すると、まず、
電源オンに応じて実行される初期設定処理では、スタン
バイフラグSTFLGを“0"にセットしてスタンバイモード
とし、かつ各種レジスタの内容を初期設定する。なお、
スタンバイモードのとき、操作パネル部17のディスプレ
イDSPYに「STAND BY」という表示がなされる。The main routine of FIG. 10 will be described first.
In the initialization processing executed in response to power-on, the standby flag STFLG is set to "0" to set the standby mode, and the contents of various registers are initialized. In addition,
In the standby mode, "STAND BY" is displayed on the display DSPY of the operation panel unit 17.
次のボイスカートリッジ処理では第11図(a),
(b),(c)に示すような処理を実行する。ここで
は、主に、ボイスカートリッジ16における各スロットS0
〜S7にボイスパックが装着されているか否かを検出し、
それに基づき「順位割当て処理」を行う。In the next voice cartridge processing, FIG.
The processing shown in (b) and (c) is executed. Here, each slot S0 in the voice cartridge 16 is mainly used.
~ Detects whether a voice pack is attached to S7,
Based on this, the “order assignment process” is performed.
次の音色選択スイッチスキャン処理では、音色選択用
のアップスイッチUSWまたはダウンスイッチDSWがオンさ
れたかを検出する。アップスイッチUSWまたはダウンス
イッチDSWのオンイベントが検出されると、第12図のよ
うな処理が実行され、選択された「ボイスナンバ」すな
わち「順位」が確定される。In the next tone color selection switch scan processing, it is detected whether the up switch USW or the down switch DSW for tone color selection has been turned on. When the ON event of the up switch USW or the down switch DSW is detected, the processing as shown in FIG. 12 is executed, and the selected “voice number”, that is, “order” is determined.
その他のパネル操作子スキャン処理では、操作パネル
部17におけるその他のスイッチや操作子の状態を検出
し、これに基づく処理を行う。In the other panel operator scanning process, the state of other switches and operators in the operation panel unit 17 is detected, and processing based on this is performed.
第13図のキーオンイベント処理あるいはキーオフイベ
ント処理は、MIDIインタフェース14を介して新たな押鍵
を示すキーオンイベント信号又は新たな離鍵を示すキー
オフイベント信号が与えられたとき、メインルーチンに
対する割込み処理として実行される。The key-on event processing or the key-off event processing in FIG. 13 is performed as an interrupt processing for the main routine 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. Be executed.
第11図を参照してボイスカートリッジ処理について説
明する。The voice cartridge processing will be described with reference to FIG.
まず、第11図(a)において、スタンバイフラグSTFL
Gが“0"であることを条件に、ステップ30から31に進
み、ボイスカートリッジ16が新たに装着されたかを調べ
る。ボイスカートリッジ16が新たに装着されたならば、
ステップ32に行き、ボイスカートリッジ16に変化が無い
ならば、リターンに行く。First, in FIG. 11 (a), the standby flag STFL
On condition that G 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 installed,
Go to step 32, and if there is no change in the voice cartridge 16, go to return.
ステップ32では、ディスプレイTSPYにおける「STAND
BY」という表示を消灯する。次のステップ33では、ス
タンバイフラグSTFLGを“1"にセットする。In step 32, select “STAND
"BY" is turned off. In the next step 33, the standby flag STFLG is set to "1".
ステップ34では、スロットナンバSNとボイスナンバ
(つまり順位データ)VNを夫々「0」に初期設定する。
このスロットナンバSNとボイスナンバVNは、現在順位割
当て処理中のスロットとそれに対して割当てるべき順位
(つまりボイスナンバ)とを夫々指示する。次に第11図
(b)のステップ35へ行く。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 respectively 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. 11 (b).
ステップ35では、スロットナンバSNによって指示され
たスロット(S0〜S7のいずれか)に装着されているボイ
スパックから初期データ(パック種類データPACKID,ボ
イスネームデータVNAME,ページ数データPAGEM,ページ番
号データPAGECなど)を読み取る。In step 35, initial data (pack type data PACKID, voice name data VNAME, page number data PAGEM, page number data PAGEC) are obtained from the voice pack mounted in the slot (one of S0 to S7) designated by the slot number SN. Read).
ステップ36では、初期データが正常に読み取れたかを
調べる。正常に読み取れた場合は、このスロットにボイ
スパックが装着されていることを意味する。従って、こ
のステップ36においてスロットにボイスパックが装着さ
れているか否かの検出がなされる。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 installed in the slot.
ステップ37では、読み取ったパック種類データPACKID
が音色設定用のボイスパックのものであるかを調べる。In step 37, the read pack type data PACKID
To see if it is from a voice pack for tone setting.
ステップ38では、読み取ったページ数データPAGEMが
「1」より大きいか、つまり当該ボイスパックが複数個
で1音色に対応しているかを調べる。In step 38, it is checked whether or not the read page number data PAGEM is larger than "1", that is, whether or not the plurality of voice packs correspond to one tone color.
ステップ36,37がYES、ステップ38がNOならば、1つの
ボイスパックで1音色に対応しているボイスパックであ
ることを意味し、ステップ39に行く。ステップ36,37,38
がYESならば、複数のボイスパックで1音色に対応して
いるボイスパックであることを意味し、第11図(c)の
ステップ50に行く。If steps 36 and 37 are YES and step 38 is NO, it means that one voice pack is a voice pack corresponding to one tone color, and the process goes to step 39. Steps 36, 37, 38
If the answer is YES, it means that the voice pack corresponds to one tone in a plurality of voice packs, and the process goes to step 50 in FIG. 11 (c).
ステップ39では、前出の(1)式を実行してボイスア
ドレスVADを求め、これをボイスナンバVNによって指示
されるボイスアドレスレジスタVAD(VN)に記憶する。
すなわち、スロットナンバSNによって指示されるスロッ
トのパック初期アドレスPAD(SN)に対して初期データ
オフセットアドレスIOSAを加算し、当該スロットに関す
るボイスアドレスVADを求め、これをボイスナンバVNに
よって指示されるボイスアドレスレジスタVAD(VN)に
記憶する。こうして、スロットナンバSNによって指示さ
れるスロットに対してボイスナンバVNによって指示され
る順位が割当てられる。すなわち、そのスロットに関す
るボイスアドレスVADがボイスナンバVNによって指示さ
れる順位に対応するボイスアドレスレジスタVAD(VN)
に記憶される。In step 39, the above-mentioned equation (1) is executed to obtain the voice address VAD, and this is stored in the voice address register VAD (VN) indicated by the voice number VN.
That is, the initial data offset address IOSA is added to the pack initial address PAD (SN) of the slot indicated by the slot number SN to obtain a voice address VAD for the slot, and this is converted to the voice address indicated by the voice number VN. It is stored in the register VAD (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.
ステップ40では、ボイスカートリッジ16における各ス
ロットに対応するLEDのうち、スロットナンバSNによっ
て指示されるスロットに対応するLED(SN)を点灯す
る。In step 40, among the LEDs corresponding to each slot in the voice cartridge 16, the LED (SN) corresponding to the slot indicated by the slot number SN is turned on.
ステップ41では、前記ステップ35で読み取ったボイス
ネームデータVNAMEを、ボイスナンバVNによって指示さ
れる順位に対応するボイスネームレジスタVNMREG(VN)
に記憶する。In step 41, the voice name data VNAME read in step 35 is stored in the voice name register VNMREG (VN) corresponding to the order indicated by the voice number VN.
To memorize.
ステップ42では、ボイスナンバVNを1増加する。 In step 42, the voice number VN is increased by one.
ステップ43では、スロットナンバSNを1増加する。 In step 43, the slot number SN is incremented by one.
ステップ44では、スロットナンバSNが最大値「7」を
超えたかを調べる。超えていなければ、ステップ35に戻
り、超えていれば、ステップ45に行く。In step 44, it is checked whether the slot number SN has exceeded the maximum value “7”. If not, return to step 35; otherwise, go to step 45.
ステップ35から44までの処理は、全スロットS0〜S7に
関して行われる。これにより個々のスロットにボイスパ
ックが装着されているか否かが検出される。ボイスパッ
クが装着されているスロットに関してはステップ39から
42まで処理が実行され、上述のようにボイスナンバVN
(つまり順位)の割当てがなされる。ボイスパックが適
正に装着されていないスロットに関してはステップ36又
は37のNOからステップ49に行き、そのスロットに関する
LED(SN)を消灯した後、ステップ43に行く。ステップ4
2の処理により、ボイスナンバVN(つまり順位)は、ボ
イスパックが装着されているスロットに関して割当てが
なされたときだけ増加される。The processing of 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. Step 39 for slots with voice packs
The processing is executed up to 42, and the voice number VN is
(That is, ranking) is assigned. If the voice pack is not properly installed, go to step 49 from step 36 or 37, and
After turning off the LED (SN), go to step 43. Step 4
By the processing of 2, 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 mounted.
こうして、例えば、スロットS0,S1,S3,S6にだけボイ
スパックが装着されている場合は、スロットS0に
「0」、S1に「1」、S3に「2」、S6に「3」、という
ようにボイスナンバ(すなわち順位)が割当てられ、ボ
イスパックが装着されていない他のスロットS2,S4,S5,S
7に対してはボイスナンバ(すなわち順位)が割当てら
れない。すなわち、この場合、ボイスナンバ「0」、
「1」、「2」、「3」に対応するボイスアドレスレジ
スタVAD(0),VAD(1),VAD(2),VAD(3)にボイ
スパックが装着されているスロットS0,S1,S3,S6に関す
るボイスアドレスVADが夫々記憶される。Thus, for example, if a voice pack is installed only in slots S0, S1, S3, and S6, "0" is assigned to slot S0, "1" is assigned to S1, "2" is assigned to S3, and "3" is assigned to S6. Other slots S2, S4, S5, S where no voice pack is installed
No voice number (that is, ranking) is assigned to 7. That is, in this case, the voice number “0”,
Slots S0, S1, S3 where voice packs are mounted in voice address registers VAD (0), VAD (1), VAD (2), VAD (3) corresponding to "1", "2", and "3". , S6 are stored.
ステップ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 1 is added to VN in step 42 before the operation proceeds to step 45, the value of the voice number VN is one larger than the actual maximum voice number. Therefore, VN-1 is assigned to the assigned voice. The maximum voice number among the numbers is stored in the maximum voice number register MAXVN.
ステップ46では、レジスタMAXVNの最大ボイスナンバ
が−1であるかを調べる。ボイスカートリッジ16に有効
なボイスパックが全く装着されていない場合は、ボイス
ナンバVNは初期設定された値「0」のままであり、これ
から1を引くと−1となり、これがレジスタMAXVNに記
憶される。このような場合は、ステップ47,48に行き、
ディスプレイDSPYに「STAND BY」という表示を行い、
スタンバイフラグSTFLGを“0"にセットしてスタンバイ
モードとし、かつ各種レジスタの内容を初期設定する。In step 46, it is checked whether the maximum voice number of the register MAXVN is -1. If no valid voice pack is installed in the voice cartridge 16, the voice number VN remains at the default value "0", and when subtracting 1, the value becomes -1 which is stored in the register MAXVN. . In such a case, go to steps 47 and 48,
Display "STAND BY" on the display DSPY,
The standby flag STFLG is set to "0" to enter the standby mode, and the contents of various registers are initialized.
複数のボイスパックで1音色に対応しているボイスパ
ックが装着されている場合は、ステップ38(第11図
(b))のYESからステップ50(第11図(c))に行
く。When a voice pack corresponding to one tone is mounted in a plurality of voice packs, the process proceeds from YES in step 38 (FIG. 11 (b)) to step 50 (FIG. 11 (c)).
ステップ50では、そのときのスロットナンバSNをスタ
ートスロットナンバレジスタSTSNにストアし、ページ数
データPAGEMをページ数レジスタPGSTKにストアし、ボイ
スネームデータVNAMEをボイスネームレジスタVNSTKにス
トアする。In step 50, the slot number SN at that time is stored in the start slot number register STSN, the page number data PAGM is stored in the page number register PGSTK, and the voice name data VNAME is stored in the voice name register VNSTK.
ステップ51では、ページナンバPNを「1」に初期設定
する。In step 51, the page number PN is initialized to "1".
ステップ52では、現在処理しているボイスパックのペ
ージ番号をデータPAGECがページナンバPNに一致してい
るかを調べる。YESならば、ステップ53に行き、スロッ
トナンバSNとページナンバPNを夫々1増加する。In step 52, it is checked whether the data PAGEC matches the page number of the currently processed voice pack with the page number PN. If YES, the process goes to step 53, where the slot number SN and the page number PN are each increased by one.
次のステップ54では、前記ステップ35と同様に、スロ
ットナンバSNによって指示されたスロット(S0〜S7のい
ずれか)に装着されているボイスパックから初期データ
(パック種類データPACKID,ボイスネームデータVNAME,
ページ数データPAGEM,ページ番号データPAGECなど)を
読み取る。In the next step 54, as in step 35, initial data (pack type data PACKID, voice name data VNAME, voice name data PACKID) is read from the voice pack mounted in the slot (any of S0 to S7) designated by the slot number SN.
Page number data PAGEM, page number data PAGEC, etc.).
次のステップ55,56も前記ステップ36,37と同様に、初
期データが正常に読み取れたかを調べ、また、読み取っ
たパック種類データPACKIDが音色設定用のボイスパック
のものであるかを調べる。In the next steps 55 and 56, similarly to the steps 36 and 37, it is checked whether or not the initial data has been read normally, and it is checked whether or not the read pack type data PACKID is that of a voice pack for setting a tone color.
ステップ57では、読み取ったボイスネームデータVNAM
EがボイスネームレジスタVNSTKにストアした1番目のボ
イスパックのボイスネームと一致するかを調べる。In step 57, the read voice name data VNAM
It is checked whether E matches the voice name of the first voice pack stored in the voice name register VNSTK.
ステップ58では、読み取ったページ数データPAGEMが
ページ数レジスタPGSTKにストアした1番目のボイスパ
ックのページ数と一致するかを調べる。In step 58, it is checked whether the read page number data PAGEM matches the page number of the first voice pack stored in the page number register PGSTK.
ステップ59では、読み取ったページ番号データPAGEC
が現在処理中のページ番号を示すページナンバPNと一致
するかを調べる。In step 59, the read page number data PAGEC
Of the page number PN indicating the page number currently being processed.
ステップ60では、現在処理中のページ番号を示すペー
ジナンバPNが読み取ったページ数データPAGEMと一致す
るかを調べる。NOならば、ステップ53に戻り、ステップ
53から60までの処理を繰り返す。ステップ60がYESなら
最終ページであり、ステップ61に行く。In step 60, it is checked whether the page number PN indicating the page number currently being processed matches the read page number data PAGEM. If NO, return to step 53, step
The process from 53 to 60 is repeated. If step 60 is YES, it is the last page, and the process goes to step 61.
ステップ61では、前出のステップ39とほぼ同様に、前
出の(1)式を実行してボイスアドレスVADを求め、こ
れをボイスナンバVNによって指示されるボイスアドレス
レジスタVAD(VN)に記憶する。ステップ39と異なる点
は、スタートスロットナンバレジスタSTSNにストアした
1ページ目のボイスパックのスロットナンバによって指
示されるスロットのパック初期アドレスPAD(STSN)に
対して初期データオフセットアドレスIOSAを加算し、当
該1番目のボイスパックを装着したスロットに関するボ
イスアドレスVADを求める点である。ステップ50〜60の
処理中、ボイスナンバVNは変化しないから、1音色に対
応する複数のボイスパックを装着した複数のスロットに
対しては共通のボイスナンバVN(つまり順位)が割当て
られる。In step 61, a voice address VAD is obtained by executing the above equation (1), and stored in the voice address register VAD (VN) indicated by the voice number VN, in substantially the same manner as in step 39 described above. . 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 (ie, rank) is assigned to a plurality of slots in which a plurality of voice packs corresponding to one tone color are mounted.
ステップ62では、スタートスロットナンバレジスタST
SNにストアした1ページ目のボイスパックのスロットナ
ンバによって指示されるスロットに対応するLED(STS
N)からこのスロット番号にページ数データPAGEMより1
少ない数を加算したスロット番号に対応するLED(STSN
+PAGEM−1)までのLED全てを点灯する。つまり、1音
色に対応する複数のボイスパックを装着した複数のスロ
ットに対応するLED全てを点灯する。ステップ62の後、
ステップ42(第11図(b))に行き、ボイスナンバVNを
1増加する。In step 62, the start slot number register ST
LED (STS) corresponding to the slot indicated by the slot number of the first page voice pack stored in SN
N) to this slot number from page number data PAGEM
LED (STSN) corresponding to the slot number to which the smaller number is added
Turn on all LEDs up to + PAGEM-1). That is, all LEDs corresponding to a plurality of slots in which a plurality of voice packs corresponding to one tone are mounted are turned on. After step 62,
Go to step 42 (FIG. 11 (b)), and increase the voice number VN by one.
また、ステップ52,55〜59の判断が1つでもNOなら
ば、ステップ49(第11図(b))にジャンプし、順位割
当ては行わない。従って、この実施例では、1音色に対
応する複数のボイスパックは、少ない番号のスロットか
ら順にページ順に隣接して装着しなければならない。If at least one of the determinations in steps 52 and 55 to 59 is NO, the process jumps to step 49 (FIG. 11 (b)), 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.
スタンバイフラグSTFLGが“1"のときは、第11図
(a)のステップ30がNOであり、ステップ63に行く。ス
テップ63では、ボイスカートリッジ16が外されたかを調
べる。外されていなければリターンに行くが、外されて
いればステップ64に行き、現在発音中のチャンネルにフ
ォーシングダンプ信号FDMPを送出する処理を行う。これ
は、ボイスカートリッジ16が外された場合は、発音中の
音を急速減衰させるためである。次のステップ65,66は
前出のステップ47,48と同じ処理であり、スタンバイモ
ードに戻すものである。When the standby flag STFLG is "1", the result of step 30 in FIG. 11 (a) is NO, and the routine goes to step 63. In step 63, it is checked whether the voice cartridge 16 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 following steps 65 and 66 are the same processing as steps 47 and 48 described above, and return to the standby mode.
次に、アップ/ダウンスイッチUSW,DSWによるボイス
ナンバ選択処理について第12図により説明する。Next, the voice number selection processing by the up / down switches USW and DSW will be described with reference to FIG.
アップスイッチUSWのオンイベントが検出されると、
スタンバイフラグSTFLGが“1"であることを条件にステ
ップ67から68に進み、ボイスナンバレジスタCVNOの現在
値に1を加算した値が最大ボイスナンバレジスタMAXVN
に記憶している最大ボイスナンバよりも大きいかを調べ
る。NOならば、ステップ69でボイスナンバレジスタCVNO
の内容を1増加する。YESならば、ステップ70でボイス
ナンバレジスタCVNOの内容を「0」にリセットする。When the up switch USW ON event 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 MAXVN.
To determine if it is greater than the maximum voice number stored in If NO, in step 69 voice number register CVNO
Is incremented by one. If YES, the contents of the voice number register CVNO are reset to "0" in step 70.
次のステップ71では、ボイスナンバレジスタCVNOの現
在値に対応するボイスナンバ(すなわち順位)と、この
ボイスナンバレジスタCVNOの現在値によって指示された
ボイスナンバ(すなわち順位)に対応するボイスネーム
レジスタVNMREG(CVNO)に記憶されているボイスネーム
(音色名)とをディスプレイ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 register VNMREG () corresponding to the voice number (ie, rank) indicated by the current value of the voice number register CVNO. CVNO) and the voice name (tone name) stored in the display DSPY.
ダウンスイッチDSWのオンイベントが検出されると、
スタンバイフラグSTFLGが“1"であることを条件にステ
ップ72から73に進み、ボイスナンバレジスタCVNOの現在
値から1を引算した値が「0」より小さいかを調べる。
NOならば、ステップ74でボイスナンバレジスタCVNOの内
容を1減少する。YESならば、ステップ75でボイスナン
バレジスタCVNOの内容を「最大ボイスナンバレジスタMA
XVNに記憶している最大ボイスナンバ」にセットする。
その後ステップ71に行く。When the down switch DSW ON event is detected,
On condition that the standby flag STFLG is "1", the process proceeds from step 72 to step 73 to check whether a value obtained by subtracting 1 from the current value of the voice number register CVNO is smaller than "0".
If NO, the content of the voice number register CVNO is decremented by one in step 74. If YES, the content of the voice number register CVNO is set to `` maximum voice number register MA '' in step 75.
Set to "Maximum voice number stored in XVN".
Then go to step 71.
以上のようにして、アップ/ダウンスイッチUSW,DSW
の操作に応じてボイスナンバレジスタCVNOの内容が増減
され、ボイスナンバ(すなわち順位)が選択される。選
択されたボイスナンバ(順位)はディスプレイDSPYに表
示される。また、この選択されたボイスナンバ(順位)
が割当てられたスロットに装着されているボイスパック
に記憶されている音色設定データの音色名もディスプレ
イDSPYに表示される。Up / down switch USW, DSW
The contents of the voice number register CVNO are increased / decreased in accordance with the operation, and the voice number (that is, the rank) is selected. The selected voice number (order) is displayed on the display DSPY. Also, this selected voice number (rank)
The tone name of the tone setting data stored in the voice pack installed in the slot to which is assigned is also displayed on the display DSPY.
ステップ68,70,73,75の処理により、ボイスナンバレ
ジスタCVNOの内容の変化が「0」と「最大ボイスナンバ
レジスタMAXVNに記憶している最大ボイスナンバ」との
間の範囲に制限される。すなわち、ボイスナンバレジス
タCVNOの内容を増加するとき、その内容が「最大ボイス
ナンバレジスタMAXVNに記憶している最大ボイスナン
バ」よりも大きくなると、ステップ68のYESからステッ
プ70に行き、「0」に戻される。また、ボイスナンバレ
ジスタCVNOの内容を減少するとき、その内容が「0」よ
りも小さくなると、ステップ73のYESからステップ75に
行き、「最大ボイスナンバレジスタMAXVNに記憶してい
る最大ボイスナンバ」に戻される。こうして、選択可能
なボイスナンバ(順位)が、ボイスパックを実際に装着
したスロットに割当てられているボイスナンバ(順位)
に限定される。従って、ボイスナンバ(順位)を選択し
たにも拘らず、そのスロットにボイスパックが装着され
ていず、音が出せない、というような不都合は未然に防
止される。By the processing in steps 68, 70, 73, and 75, the change in the content of the voice number register CVNO is limited to a range between "0" and "the maximum voice number stored in the maximum voice number register MAXVN". 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 decreased, if the content is smaller than "0", the process goes from YES in step 73 to step 75, where the "maximum voice number stored in the maximum voice number register MAXVN" is set. Will be returned. Thus, the selectable voice numbers (ranks) are the voice numbers (ranks) assigned to the slots in which the voice packs are actually mounted.
Is limited to Therefore, even if the voice number (order) is selected, the inconvenience that the voice pack is not mounted in the slot and no sound can be output is prevented beforehand.
次に、第13図に基づきキーオンイベント及びキーオフ
イベントについて説明する。Next, a key-on event and a key-off event will be described with reference to FIG.
キーオンイベントの割込みがあると、スタンバイフラ
グSTFLGが“1"であることを条件にステップ76から77に
進み、キーオンイベントに係るキーコードをMIDIインタ
フェース14からRAM13内部のキーコードレジスタKCODEに
取り込む。If there is a key-on event interrupt, the process proceeds from step 76 to step 77 on condition that the standby flag STFLG is "1", and the key code relating to the key-on event is taken into the key code register KCODE in the RAM 13 from the MIDI interface 14.
次のステップ78では、キーオンイベントに係るキーコ
ードと共にMIDIインタフェース14に与えられたタッチデ
ータをRAM13内部のタッチデータレジスタTDATAに取り込
む。In the next step 78, the touch data supplied 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.
次のステップ79では、キーコードレジスタKCODEに取
り込んだ新押圧鍵のキーコードを複数の楽音形成チャン
ネルのいずれかに割当てる処理を行う。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.
ステップ80では、前出の(2)式に従って、楽音の音
高と鍵タッチとに応じて定まる1つのキーバンク内の1
つのタッチバンク(第6図)のタッチバンクオフセット
アドレスTBOSA(i)の絶対アドレスAbTBOSA(i)を求
め、これに従って該タッチバンクから楽音制御データの
読出しを行う。詳しくは、ボイスナンバレジスタCVNOに
記憶しているボイスナンバに対応するボイスアドレスレ
ジスタVAD(CVNO)からボイスアドレスを読み出し(こ
のボイスアドレスは現在選択されているボイスナンバが
割当てられたスロットに関するボイスアドレスVADであ
る)、この読み出したボイスアドレスVADとキーコード
レジスタKCODEに記憶しているキーコードとに応じてキ
ーバンクオフセットテーブル25からキーバンクオフセッ
トアドレスデータKBOSA(i)を読み出し、上記VADと読
み出したKBOSA(i)とタッチデータレジスタTDATAに記
憶しているタッチデータとに応じてタッチバンクオフセ
ットテーブル26からタッチバンクオフセットアドレスデ
ータTBOSA(i)を読み出し、これらに基づき前記
(2)式を実行してタッチバンクオフセットアドレスTB
OSA(i)の絶対アドレスAbTBOSA(i)を求め、この絶
対アドレスAbTBOSA(i)によって特定されるタッチバ
ンクの記憶エリア27,28からエンベロープ設定データEG
と、スタートアドレスデータSAD、エンドアドレスデー
タEAD及びリピートアドレスデータRADを読み出す。そし
て、このタッチバンクオフセットアドレスデータTBOSA
(i)の絶対アドレスAbTBOSA(i)を、スタートアド
レスデータSAD、エンドアドレスデータEAD及びリピート
アドレスデータRADに対して夫々加算することにより、
スタートアドレスデータSAD、エンドアドレスデータEAD
及びリピートアドレスデータRADの絶対アドレスAbSAD,A
bEAD,AbRADを夫々求める。そして、これらのデータEG,A
bSAD,AbEAD,AbRAD及びキーコードレジスタKCODEのキー
コード並びにタッチデータレジスタTDATAのタッチデー
タを、新押圧鍵を割当てたチャンネルに対応して、楽音
信号形成回路18(これをフローチャートではTGで示す)
に送出する。In step 80, according to the above equation (2), one of the key banks in one key bank determined according to the pitch of the musical tone and the key touch.
The absolute address AbTBOSA (i) of the touch bank offset address TBOSA (i) of one touch bank (FIG. 6) is obtained, and the tone control data is read from the touch bank in accordance with the absolute address AbTBOSA (i). Specifically, the voice address is read from 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 allocated). The key bank offset address data KBOSA (i) is read from the key bank offset table 25 in accordance with the read voice address VAD and the key code stored in the key code register KCODE, and the VAD and the read KBOSA are read. The touch bank offset address data TBOSA (i) is read from the touch bank offset table 26 in accordance with (i) and the touch data stored in the touch data register TDATA. Bank offset address TB
The absolute address AbTBOSA (i) of the OSA (i) is obtained, and the envelope setting data EG is obtained from the storage areas 27 and 28 of the touch bank specified by the absolute address AbTBOSA (i).
Then, the start address data SAD, the end address data EAD and the repeat address data RAD are read. Then, the touch bank offset address data TBOSA
By adding the absolute address AbTBOSA (i) of (i) to the start address data SAD, the end address data EAD, and the repeat address data RAD, respectively,
Start address data SAD, end address data EAD
And absolute address AbSAD, A of repeat address data RAD
Find bEAD and AbRAD respectively. And these data EG, A
The bSAD, AbEAD, AbRAD, the key code of the key code register KCODE, and the touch data of the touch data register TDATA are converted to the tone signal forming circuit 18 (this is indicated by TG in the flowchart) in correspondence with the channel to which the new press key is assigned.
To send to.
ステップ81では、キーオンパルスKONPを、新押圧鍵を
割当てたチャンネルに対応して、楽音信号形成回路18に
送出する。これに応じて新押圧鍵に関する楽音の発音が
開始される。In step 81, the key-on pulse KONP is sent to the tone signal forming circuit 18 corresponding to the channel to which the new pressed key is assigned. In response to this, the tone generation for the new pressed key is started.
なお、1音色分のデータを複数のボイスパックに分割
して記憶するものにおいては、1ページ目のボイスパッ
クのメモリマップが第6図のようであり、2ページ目以
降のボイスパックにはキーバンクオフセットテーブル25
を備えていないものとする。つまり、1ページ目のボイ
スパックのみにキーバンクオフセットテーブル25があ
り、この1ページ目のキーバンクオフセットテーブル25
に全ページ分のキーバンクのキーバンクオフセットアド
レスデータを記憶している。そして、このキーバンクオ
フセットアドレスデータは、1ページ目のキーバンクオ
フセットテーブル25の先頭アドレスからのオフセットア
ドレスデータである。したがって、例えば、2ページ目
のボイスパックにあるキーバンクKB(i)のキーバンク
オフセットアドレスデータKBOSA(i)は、1ページ目
のボイスパックのキーバンクオフセットテーブル25の先
頭アドレス(つまりボイスアドレスVAD)からのオフセ
ットアドレスデータであり、このキーバンクKB(i)内
の1つのタッチバンクのタッチバンクオフセットアドレ
スTBOSA(i)の絶対アドレスAbTBOSA(i)を求める場
合は、前述と全く同様に(2)式に従って、ボイスアド
レスVADとキーバンクオフセットアドレスデータKBOSA
(i)とタッチバンクオフセットアドレスデータTBOSA
(i)とを加算すればよい。In the case where the data for one tone is divided and stored in a plurality of voice packs, the memory map of the voice pack on the first page is as shown in FIG. Bank offset table 25
Is not provided. That is, only the first page voice pack has the key bank offset table 25, and the first page key bank offset table 25
The key bank offset address data of the key bank for all pages is stored in the key bank. The key bank offset address data is offset address data from the first address of the key bank offset table 25 for the first page. Therefore, for example, the key bank offset address data KBOSA (i) of the key bank KB (i) in the second page voice pack is the head address of the key bank offset table 25 of the first page voice pack (that is, the voice address VAD). ), The absolute address AbTBOSA (i) of the touch bank offset address TBOSA (i) of one touch bank in the key bank KB (i) is obtained in the same manner as described above. ), The voice address VAD and the key bank offset address data KBOSA
(I) and touch bank offset address data TBOSA
(I) may be added.
また、1つのキーバンクが2ページに分かれている場
合でも、そのキーバンクのタチバンクオフセットテーブ
ル26は先のページのボイスパックの方にあり、後のペー
ジのボイスパックにはタッチバンクの残りがある。この
場合ても、後のページのボイスパックにあるタッチバン
クTB(i)のタッチバンクオフセットアドレスTBOSA
(i)は先のページのボイスパックにある当該キーバン
クの先頭アドレス(つまりキーバンクオフセットアドレ
スKBOSA)からのオフセットアドレスであり、問題なく
前記(2)式を適用することができるようになってい
る。Even when one key bank is divided into two pages, the tachi bank offset table 26 of the key bank is located on the voice pack of the previous page, and the remaining voice bank of the later page contains the rest of the touch bank. is there. Even in this case, the touch bank offset address TBOSA of the touch bank TB (i) in the voice pack of the later page
(I) is an offset address from the head address of the relevant key bank in the voice pack of the previous page (that is, the key bank offset address KBOSA), and the equation (2) can be applied without any problem. I have.
第13図において、キーオフイベントの割込みがある
と、スタンバイフラグSTFLGが“1"であることを条件に
ステップ82から83に進み、キーオフイベントに係るキー
コードをMIDIインタフェース14からRAM13内部のキーコ
ードレジスタKCODEに取り込む。In FIG. 13, when a key-off event is interrupted, the process proceeds to steps 82 to 83 on condition that the standby flag STFLG is “1”, and the key code relating to the key-off event is transmitted from the MIDI interface 14 to the key code register in the RAM 13. Import to KCODE.
次のステップ84では、このキーコードレジスタKCODE
に記憶したキーコードに対応する新離鍵に係る楽音が現
在発音中であるか(換言すれば、チャンネル割当てされ
ているか)を調べる。発音中でなければ(チャンネル割
当てされていなければ)リターンに行くが、発音中であ
れば(チャンネル割当てされていれば)ステップ85に行
き、新離鍵に係るキーコードが割当てられているチャン
ネルに対応してキーオフパルスKOFPを楽音信号形成回路
18に送出する。これに応じて新離鍵に関する楽音の発音
を終了させる。In the next step 84, this key code register KCODE
It is checked whether the tone corresponding to the new key release corresponding to the key code stored in is currently being sounded (in other words, whether the 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 to select the channel to which the key code relating to the new key release is assigned. Corresponding key-off pulse KOFP to tone signal formation circuit
Send to 18. In response to this, the tone generation for the new key release is terminated.
第14図は楽音信号形成回路18の一例を示すもので、こ
の例では、ボイスカートリッジ16の各スロットS0〜S7に
装着したボイスパックをそのまま音源メモリとして利用
している。FIG. 14 shows an example of the tone signal forming circuit 18. In this example, the voice pack mounted in each of the slots S0 to S7 of the voice cartridge 16 is used as it is as a sound source memory.
キーコードレジスタ86は各チャンネルに割当てられた
キーコードを記憶するものであり、第13図のステップ80
の処理により楽音信号形成回路18に当れらてたキーコー
ドレジスタKCODEに記憶している新押圧鍵のキーコード
を取り込み、その割当てチャンネルに対応して記憶す
る。The key code register 86 stores the key code assigned to each channel.
The key code of the newly pressed key stored in the key code register KCODE hit by the tone signal forming circuit 18 is fetched by the above processing and stored in correspondence with the assigned channel.
アドレス制御データレジスタ87は、第13図のステップ
80の処理により楽音信号形成回路18に与えられた絶対ア
ドレスからなるスタートアドレスデコーダAbSAD、エン
ドアドレスデータAbEAD及びリピートアドレスデータAbR
ADを夫々記憶するもので、各チャンネル毎にこれらのデ
ータを記憶する。The address control data register 87 corresponds to the step shown in FIG.
The start address decoder AbSAD, the end address data AbEAD, and the repeat address data AbR comprising the absolute address given to the tone signal forming circuit 18 by the processing of 80.
Each of the ADs is stored, and these data are stored for each channel.
アドレス信号発生回路88は、キーコードレジスタ86か
ら与えられる各チャンネルに割当てられたキーコード
と、アドレス制御データレジスタ87から与えられるスタ
ートアドレスデータAbSAD、エンドアドレスデータAbEAD
及びリピートアドレスデータAbRADと、第13図のステッ
プ81の処理により楽音信号形成回路18に与えられたキー
オンパルスKONPとを入力し、ボイスカートリッジ16の1
つのスロットに差し込まれているボイスパック内の1つ
のキーバンクに対応する1つのタッチバンク内の記憶エ
リア29(第6図)から波形サンプルデータを読み出すた
めのアドレス信号を発生する。例えば、キーオンパルス
KONPに応じてスタートアドレスデータAbSADを初期アド
レスとしてアドレス信号の発生を開始し、前述のよう
に、波形サンプルデータの読出しを制御する。また、こ
の波形サンプルデータの読出しは各チャンネル毎に時分
割的に行う。The address signal generating circuit 88 includes a key code assigned to each channel provided from the key code register 86, and start address data AbSAD and end address data AbEAD provided from the address control data register 87.
And the repeat address data AbRAD and the key-on pulse KONP given to the tone signal forming circuit 18 by the processing of step 81 in FIG.
An address signal for reading waveform sample data from a storage area 29 (FIG. 6) in one touch bank corresponding to one key bank in a voice pack inserted into one slot is generated. For example, key-on pulse
The generation of the address signal is started with the start address data AbSAD as the initial address in accordance with KONP, and the reading of the 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.
ボイスカートリッジ16のボイスパックから読み出され
た波形サンプルデータは、エンベロープ付与回路89に与
えられる。エンベロープ制御データレジスタ90は、第13
図のステップ80,81,85の処理及び第11図(a)のステッ
プ64の処理により楽音信号形成回路18に与えられたエン
ベロープ設定データEG、キーオンパルスKONP、キーオフ
パルスKOFP、フォーシングダンプ信号FDMP、タッチデー
タレジスタTDATAのタッチデータを夫々記憶するもの
で、各チャンネル毎にこれらのデータを記憶する。エン
ベロープ付与回路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. Envelope control data register 90 contains the thirteenth
The envelope setting data EG, key-on pulse KONP, key-off pulse KOFP, and forcing dump signal FDMP given to the tone signal forming circuit 18 by the processing of steps 80, 81, and 85 and the processing of step 64 of FIG. , And the touch data of the touch data register TDATA, respectively, 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, and thereby assigns the envelope of the waveform sample data read from the voice cartridge 16. Envelope assignment circuit
The waveform sample data of each channel output in a time-division manner from 89 is summed by an accumulator 91 and then converted into an analog signal by a digital / analog converter 92.
なお、上記実施例では、順位割当て手段における割当
て結果を記憶する手段としてボイスアドレスレジスタVA
D(0)〜VAD(7)を設けており、この場合各レジスタ
VAD(0)〜VAD(7)は各順位(つまりボイスナンバ)
に対応している。そして、このような各順位に対応する
レジスタVAD(0)〜VAD(7)に、その順位が割当てら
れたスロット(つまりメモリ接続部)に関するボイスア
ドレスデータVADを記憶するようにしている。この場
合、このボイスアドレスデータVADは上述のように絶対
アドレスデータからなっているが、これに限らず、単な
るスロット番号データを記憶するようにしてもよい。ま
た、反対に、各スロット(つまりメモリ接続部)S0〜S7
に対応する記憶位置を持ち、この各記憶位置に、そのス
ロット(つまりメモリ接続部)に対して割当てられた順
位に関するデータ(例えばボイスナンバ)を記憶するよ
うにしてもよい。In the above embodiment, the voice address register VA is used as a means for storing the allocation result in the rank allocation means.
D (0) to VAD (7) are provided. In this case, each register
VAD (0) to VAD (7) are each rank (that is, voice number)
It corresponds to. Then, in the registers VAD (0) to VAD (7) corresponding to each rank, 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. The voice address data VAD may simply store the slot number data. Conversely, each slot (that is, memory connection portion) S0 to S7
May be stored in each storage location, and data (for example, voice number) related to the rank assigned to the slot (that is, the memory connection unit) may be stored.
上記実施例では、順位を指示するデータはボイスナン
バという数値データからなっているが、これは数値デー
タに限らず、文字あるいは記号等のディジタルコードを
用いてもよい。また、順位を割当てる場合、上記実施例
では「0」から順に割当てているが、この順序はどのよ
うであってもよい。In the above-described embodiment, the data indicating the ranking is composed of numerical data such as voice numbers. However, the data is not limited to numerical data, and digital codes such as characters or symbols may be used. Further, when the order is assigned, the order is assigned in order from “0” in the above embodiment, but this order may be any order.
また、上記実施例では、MIDIインタフェースを介して
外部からキーデータを受け取り、これに応じて楽音信号
を発生するようにしているが、楽音信号発生装置10に鍵
盤を具備し、この鍵盤からキーデータを受け取るように
してもよい。Further, in the above embodiment, the key data is received from the outside via the MIDI interface and a tone signal is generated in accordance with the key data. However, the tone signal generator 10 is provided with a keyboard, and the key data is transmitted from the keyboard. May be received.
上記実施例では、順位(ボイスナンバ)の選択のため
の操作手段としてアップ/ダウンスイッチを用いている
が、これに限らず、その他の操作スイッチ(例えばロー
タリエンコーダ等)を用いてもよい。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.
上記実施例では、押鍵等の演奏操作に応じて波形サン
プルデータを発生する場合、装着された外部メモリ(ボ
イスパック)に直接アクセスするようにしているが、こ
れに限らず、外部メモリの楽音制御データを一旦RAMに
移し、このRAMにアクセスすることにより該外部メモリ
に関する楽音制御データを読み出し、楽音信号形成のた
めに供給するようにしてもよい。この場合、選択手段
(アップ/ダウンスイッチ)で選択された順位(ボイス
ナンバ)に対応する外部エモリの楽音制御データだけを
RAMに移し、このRAMに対して前述した第13図のキーオン
イベント処理(ステップ80の処理)及びアドレス信号発
生回路88の出力による波形サンプルデータの読出し処理
を行うようにしてもよい。また、装着された全ての外部
メモリの楽音制御データを予めRAMに移し、このRAMに対
して前述した第11図(a)〜(c)のボイスカートリッ
ジ処理,第13図のキーオンイベント処理(ステップ80の
処理)及びアドレス信号発生回路88の出力による波形サ
ンプルデータの読出し処理を行うようにしてもよい。更
に、楽音信号形成回路18内に1音色分の波形サンプルデ
ータの記憶が可能なRAMを設けると共に、第13図のステ
ップ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) mounted is directly accessed. However, the present invention is not limited to this. The data may be temporarily transferred to a RAM, and by accessing the RAM, the tone control data relating to the external memory may be read and supplied to form a tone signal. In this case, only the tone control data of the external emory corresponding to the order (voice number) selected by the selection means (up / down switch)
The RAM may be transferred to the RAM, and the key-on event process (the process of step 80) of FIG. 13 and the process of reading the waveform sample data based on the output of the address signal generating circuit 88 may be performed on the RAM. Further, the tone control data of all the attached external memories is transferred to the RAM in advance, and the RAM is subjected to the above-described voice cartridge processing shown in FIGS. 11A to 11C and the key-on event processing shown in FIG. The processing of 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, a RAM capable of storing waveform sample data for one tone color is provided in the tone signal forming circuit 18, and the waveform sample data stored in the storage area 29 in FIG. The processing for transferring the data to the RAM is also performed.
May be used to read out the waveform sample data from the RAM.
外部メモリ(ボイスパック)に記憶する波形サンプル
データの符号化方式はPCMに限らず、DPCM(差分PCM),A
DPCM(適応DPCM),DM(デルタ変調),ADM,LPC等の適宜
のデータ圧縮方式を採用してもよい。また、特願昭61−
86835号に示されたような線形予測と差分方式の組合せ
によるデータ圧縮方式を採用してもよい。The encoding method of the waveform sample data stored in the external memory (voice pack) is not limited to PCM, but DPCM (difference PCM), A
An appropriate data compression method such as DPCM (adaptive DPCM), DM (delta modulation), ADM, LPC and the like may be adopted. Also, Japanese Patent Application No. 61-
A data compression scheme based on a combination of linear prediction and a difference scheme as shown in 86835 may be employed.
また、外部メモリ(ボイスパック)に記憶する波形サ
ンプルデータは、上述のようなアタック部と持続部の複
数周期波形からなるものに限らず、発音開始から終了ま
での全波形サンプルデータ、あるいは時間的に飛び飛び
のフレームに対応する複数周期波形など、どのような部
分のものでもよい。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, but may be all the waveform sample data from the start to the end of sound generation, or the temporal data. Any part, such as a multi-period waveform corresponding to an intermittent frame, may be used.
また、外部メモリ(ボイスパック)に記憶する波形デ
ータは、各サンプル点毎の振幅データに限らず、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 tone signal forming circuits such as calculation parameters in the FM tone synthesis method and harmonic coefficient parameters in the harmonic synthesis method. The parameter may be a parameter suitable for the tone generation method adopted in the above.
外部メモリに記憶する楽音制御データとしては、上記
実施例のような楽音波形データ等の音色設定データに限
らず、プリセットデータ等からなる音色設定データであ
ってもよく、また、自動演奏データやリズムデータなど
でもよく、要するに楽音制御に用いるデータならば何で
もよい。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.
上記実施例では、外部メモリをボイスカートリッジに
装着しているが、装置本体に直接着脱可能に装着するよ
うにしてもよい。In the above embodiment, the external memory is mounted on the voice cartridge. However, the external memory may be directly removably mounted on the apparatus main body.
上記実施例では、複数の外部メモリで1組の楽音制御
データ(1音色)を記憶している場合、各外部メモリが
隣接するメモリ接続部においてページ順に正しく装着さ
れていなければ、該各外部メモリが装着されているとは
みなさないようにしている(第11図(c)参照)。しか
し、これに限らず、1組の楽音制御データに対応する複
数の外部メモリがどのような配列でメモリ接続部に装着
されていても、これを正しい装着とみなすようにしても
よい。その場合、外部メモリの読出しアドレス制御を各
外部メモリの装着配列位置に応じて適正に行うようにす
ればよい。そのためには各スロット(メモリ接続部)に
装着された外部メモリのボイスネームデータVNAMEとペ
ージ番号データPAGEC等から、どのスロットに何ページ
目の外部メモリが装着されているかを判断し、これに基
づき適正な読出しアドレス制御を行うようにすればよ
い。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. 11 (c)). 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. To do so, it is determined from the voice name data VNAME and the page number data PAGEC of the external memory installed in each slot (memory connection section) which slot the external memory is installed in, and based on this. What is necessary is just to perform appropriate read address control.
上記実施例では、様々な処理や制御をマイクロコンピ
ュータのソフトウェアにより実現しているが、専用のハ
ードウェア装置によってこれを実現するようにすること
ができるのは勿論である。また、ソフトウェアのアルゴ
リズムも実施例に示したものに限らない。In the above-described embodiment, various processes and controls are realized by 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.
上記実施例では、1つの外部メモリで1音色のデータ
を記憶しているか、あるいは複数の外部メモリに分割し
て1音色のデータを記憶しているが、これに限らず、複
数の音色データ(複数組の楽音制御データ)を1つの外
部メモリに記憶するようにしてもよい。In the above embodiment, one tone data is stored in one external memory, or one tone data is stored by being divided into a plurality of external memories. However, the present invention is not limited to this. A plurality of sets of tone control data) may be stored in one external memory.
また、外部メモリにおけるメモリマップの構成は第6
図に示したもの限らず、どのようなものでもよい。例え
ば、特願昭61−117522号に示されたもののように、デー
タバンクを複数設け、音高と鍵タッチとの組合せにより
適宜のデータバンクを選択し、このデータバンクが音高
と鍵タッチとの異なる組合せに関して共用されることが
あるようにしてもよい。The configuration of the memory map in the external memory is the sixth.
It is not limited to the one shown in the figure, but may be any one. 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.
以上の通り、この発明によれば、外部メモリが装着さ
れていないメモリ接続部には順位が割当てられないよう
になっており、選択手段では順位を選択することにより
使用する外部メモリの選択を行う構成であるため、外部
メモリが装着されていないメモリ接続部は選択手段によ
る選択対象から自動的に除外されることになり、外部メ
モリが装着されていないメモリ接続部が誤って選択され
る等の問題が未然に防止される。これにより、楽音制御
に使用する外部メモリの選択を容易かつ確実に行うこと
ができるようになる、という優れた効果を奏する。As described above, according to the present invention, a rank is not assigned to a memory connection unit to which no external memory is mounted, and the selection unit selects an external memory to be used by selecting a rank. Because of this configuration, the memory connection part where the external memory is not mounted is automatically excluded from the selection target by the selection means, and the memory connection part where the external memory is not mounted is erroneously selected. The problem is prevented before it happens. This provides an excellent effect that an external memory used for tone control can be easily and reliably selected.
第1図はこの発明の概要を示す機能ブロック図、 第2図はこの発明に係る楽音信号発生装置の一実施例を
示すハード構成ブロック図、 第3図は同実施例に係る楽音信号発生装置の外観図、 第4図は同実施例におけるボイスカートリッジの外観を
略示する斜視図、 第5図はボイスカートリッジにおける複数のメモリ接続
用スロットの配列例を示す上面図、 第6図は外部メモリであるボイスパックの記憶構成例を
示すメモリマップ、 第7図は第6図のボイスパック内に記憶される波形サン
プルデータの一例を示す波形図、 第8図はボイスカートリッジ全体のメモリマップを略示
する図、 第9図は第2図のデータ及びワーキングRAMのメモリマ
ップを略示する図、 第10図は第2図のマイクロコンピュータによって実行さ
れるメインルーチンの一例を示すフローチャート、 第11図(a)〜(c)は第10図におけるボイスカートリ
ッジ処理の一例を示すフローチャート、 第12図はアップスイッチオンイベント及びダウンスイッ
チオンイベント処理の一例を示すフローチャート、 第13図はキーオンイベント及びキーオフイベント処理の
一例を示すフローチャート、 第14図は第2図における楽音信号形成回路の一例を示す
ブロック図、である。 1a〜1n……外部メモリ、2a〜2m……メモリ接続部、3…
…装着検出手段、4……順位割当て手段、5……選択手
段、6……データ供給手段、7……楽音信号形成手段、
10……楽音信号発生装置、16……ボイスカートリッジ、
17……操作パネル部、S0〜S7……スロット。FIG. 1 is a functional block diagram showing an outline of the present invention, FIG. 2 is a block diagram showing a hardware configuration of an embodiment of a tone signal generating apparatus according to the present invention, and FIG. 3 is a tone signal generating apparatus according to the embodiment. FIG. 4 is a perspective view schematically showing the appearance of the voice cartridge in the embodiment, FIG. 5 is a top view showing an example of the arrangement of a plurality of memory connection slots in the voice cartridge, and FIG. 6 is an external memory. 7 is a memory map showing an example of a storage configuration of a voice pack, FIG. 7 is a waveform diagram showing an example of waveform sample data stored in the voice pack of FIG. 6, and FIG. 8 is a schematic memory map of the entire voice cartridge. FIG. 9 is a diagram schematically showing the data and the memory map of the working RAM in FIG. 2. FIG. 10 is a diagram showing one of main routines executed by the microcomputer in FIG. 11 (a) to 11 (c) are flowcharts showing an example of the voice cartridge processing in FIG. 10, FIG. 12 is a flowchart showing an example of an up switch on event and a down switch on event processing, and FIG. FIG. 14 is a flowchart showing an example of the key-on event and key-off event processing. FIG. 14 is a block diagram showing an example of the tone signal forming circuit in FIG. 1a to 1n: external memory, 2a to 2m: memory connection part, 3 ...
... Mounting detecting means, 4 ... Rank assigning means, 5 ... Selecting means, 6 ... Data supplying means, 7 ... Tone signal forming means,
10 ... tone signal generator, 16 ... voice cartridge,
17 Operation panel, S0 to S7 Slots.
Claims (3)
号を形成する楽音信号形成手段と、 楽音制御データを記憶した複数の外部メモリが着脱可能
に装着される複数のメモリ接続部と、 各メモリ接続部に前記外部メモリが装着されているか否
かを検出する装着検出手段と、 この装着検出手段の検出結果に基づき、前記外部メモリ
が実際に装着されている前記メモリ接続部に対して順位
を夫々割当てる順位割当て手段と、 使用者により所望の順位を選択指定するためのものであ
って、該使用者により選択指定可能な順位の最大値を、
前記順位割当て手段で割当てた最大順位に制限し、該制
限された順位内でのみその選択指定が可能である選択手
段と、 前記選択手段で選択指定された順位に対応する前記メモ
リ接続部を前記順位割当て手段での割当て結果に応じて
特定し、特定されたメモリ接続部に装着された外部メモ
リに関する楽音制御データを前記楽音信号形成手段に供
給するデータ供給手段と を具えた楽音信号発生装置。1. A tone signal forming means for forming a tone signal based on tone control data supplied thereto, a plurality of memory connections to which a plurality of external memories storing tone control data are detachably mounted, Mounting detection means for detecting whether or not the external memory is mounted on the connection portion; and ranking the memory connection portion on which the external memory is actually mounted based on the detection result of the mounting detection means. Order assigning means for assigning each of them, and for selecting and specifying a desired order by a user, wherein the maximum value of the order that can be selected and specified by the user is:
A selecting means for restricting the maximum order assigned by the order assigning means and enabling the selection designation only within the limited order; and the memory connection section corresponding to the order selected and designated by the selecting means. A musical tone signal generating device comprising: data supplying means for specifying musical tone control data relating to an external memory mounted on the specified memory connection unit to the musical tone signal forming means, in accordance with an allocation result of the rank assigning means.
記憶位置にその順位が割当てられたメモリ接続部に関す
る情報を記憶する記憶手段を含むものである特許請求の
範囲第1項記載の楽音信号発生装置。2. The musical tone signal generating apparatus according to claim 1, wherein said rank assigning means includes a storage means for storing information on a memory connection unit to which a rank is assigned at a storage position corresponding to each rank. apparatus.
対応する記憶位置にそのメモリ接続部に対して割当てら
れた順位に関する情報を記憶する記憶手段を含むもので
ある特許請求の範囲第1項記載の楽音信号発生装置。3. The apparatus according to claim 1, wherein said order allocating means includes storage means for storing information relating to the order assigned to each memory connection at a storage location corresponding to each memory connection. Music signal generator.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62026145A JP2649916B2 (en) | 1987-02-06 | 1987-02-06 | Music signal generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62026145A JP2649916B2 (en) | 1987-02-06 | 1987-02-06 | Music signal generator |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6217826A Division JP2624190B2 (en) | 1994-08-19 | 1994-08-19 | Music signal generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63194300A JPS63194300A (en) | 1988-08-11 |
| JP2649916B2 true JP2649916B2 (en) | 1997-09-03 |
Family
ID=12185375
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62026145A Expired - Fee Related JP2649916B2 (en) | 1987-02-06 | 1987-02-06 | Music signal generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2649916B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5052921U (en) * | 1973-09-11 | 1975-05-21 | ||
| JPH0697395B2 (en) * | 1984-08-22 | 1994-11-30 | 松下電器産業株式会社 | Electronic musical instrument |
| JPS6189945U (en) * | 1984-11-19 | 1986-06-11 |
-
1987
- 1987-02-06 JP JP62026145A patent/JP2649916B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63194300A (en) | 1988-08-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0713797B2 (en) | Electronic musical instrument | |
| US4624170A (en) | Electronic musical instrument with automatic accompaniment function | |
| US4706538A (en) | Electronic musical instrument with automatic musical accompaniment playing system | |
| US4984497A (en) | Tone signal generation device having a tone element control function | |
| US5281756A (en) | Electronic musical instrument capable of assigning desired tones to a performance operator | |
| JP2649916B2 (en) | Music signal generator | |
| JP2583809B2 (en) | Electronic musical instrument | |
| JP2629891B2 (en) | Music signal generator | |
| US5125314A (en) | An electronic musical instrument having switches for designating musical tone control data | |
| JPS62235989A (en) | Accompanying pattern selector | |
| JP2624190B2 (en) | Music signal generator | |
| US4619176A (en) | Automatic accompaniment apparatus for electronic musical instrument | |
| KR920005713B1 (en) | Electronic musical instrument having rhythm playing function | |
| JP2990954B2 (en) | Selection device in electronic musical instruments | |
| US5260509A (en) | Auto-accompaniment instrument with switched generation of various phrase tones | |
| JP2555569B2 (en) | Electronic musical instrument | |
| JPH04131899A (en) | musical tone generator | |
| JP2701177B2 (en) | Tone generator | |
| US5418324A (en) | Auto-play apparatus for generation of accompaniment tones with a controllable tone-up level | |
| JPS62208099A (en) | Musical sound generator | |
| JP2512996B2 (en) | Selection device for electronic musical instruments | |
| JPH0584919B2 (en) | ||
| JP2814479B2 (en) | Electronic musical instrument | |
| JP2630268B2 (en) | Rhythm sound generator | |
| JPH055356B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |