JP2678974B2 - Musical sound wave generator - Google Patents

Musical sound wave generator

Info

Publication number
JP2678974B2
JP2678974B2 JP6324458A JP32445894A JP2678974B2 JP 2678974 B2 JP2678974 B2 JP 2678974B2 JP 6324458 A JP6324458 A JP 6324458A JP 32445894 A JP32445894 A JP 32445894A JP 2678974 B2 JP2678974 B2 JP 2678974B2
Authority
JP
Japan
Prior art keywords
sound source
program
address
processing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6324458A
Other languages
Japanese (ja)
Other versions
JPH07319471A (en
Inventor
広一郎 太期
隆二 宇佐美
康祐 斯波
和夫 小倉
潤 細田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6324458A priority Critical patent/JP2678974B2/en
Publication of JPH07319471A publication Critical patent/JPH07319471A/en
Application granted granted Critical
Publication of JP2678974B2 publication Critical patent/JP2678974B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、楽音波形発生装置にお
ける音源処理方式に関し、更に詳しくは、発音チャネル
毎に複数の音源方式を混在させた音源処理をソフトウエ
ア処理として実行する楽音波形発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sound source processing system in a musical tone waveform generating apparatus, and more particularly to a musical tone waveform generating apparatus for executing a sound source processing in which a plurality of sound source systems are mixed for each sounding channel as software processing. Regarding

【0002】[0002]

【従来の技術】ディジタル信号処理技術とLSI処理技
術の発達により性能の良い様々な電子楽器が実現されて
いる。
2. Description of the Related Art Various electronic musical instruments with good performance have been realized by the development of digital signal processing technology and LSI processing technology.

【0003】電子楽器の楽音波形発生装置は、大量かつ
高速のディジタル演算が必要なため、従来は、必要とす
る音源方式に基づく楽音発生アルゴリズムと等価なアー
キテクチャをハードウエアで実現した専用の音源回路に
よって構成されていた。そのため、ハードウエア規模が
大きくなってしまい、また、音源方式の自由な変更が困
難であり、更に、このような楽音波形発生装置を電子楽
器として実現するような場合に、演奏情報に対する処理
と音源に対する処理の両方を同期させて行うための制御
が複雑となり、その開発において多大なコストアップを
招いていた。
Since the musical tone waveform generator of an electronic musical instrument requires a large amount of high-speed digital calculation, conventionally, a dedicated tone generator circuit has realized in hardware an architecture equivalent to a tone generation algorithm based on the required tone generator method. Was composed by. Therefore, the hardware scale becomes large, and it is difficult to freely change the tone generator system. Further, when such a musical tone waveform generator is realized as an electronic musical instrument, the processing for the performance information and the tone generator are performed. The control for synchronizing both the processes for (1) and (2) has become complicated, resulting in a great increase in cost in its development.

【0004】その一方、近年においては、汎用のデータ
処理を行うための高性能なマイクロプロセッサが多く実
現されており、このようなマイクロプロセッサを使用し
て音源処理をソフト的に行う楽音波形発生装置を実現さ
せることも考えられる。
On the other hand, in recent years, many high-performance microprocessors for performing general-purpose data processing have been realized, and a musical tone waveform generator for performing sound source processing by software using such a microprocessor. It is also possible to realize.

【0005】このような方式では、例えばプロセッサ
が、通常、演奏情報処理プログラムを実行して演奏操作
に基づいて鍵盤等から発生する演奏情報を処理し、所定
の時間間隔で割り込みがかかることによって、音源処理
プログラムに処理を移して楽音生成を行う。その後、音
源処理プログラムの実行が終了すると、割り込みが解除
されて演奏情報処理プログラムの実行が再開される。
In such a system, for example, a processor normally executes a performance information processing program to process performance information generated from a keyboard or the like based on a performance operation, and interrupts at a predetermined time interval. The processing is transferred to a sound source processing program to generate a musical sound. After that, when the execution of the sound source processing program is completed, the interrupt is released and the execution of the performance information processing program is resumed.

【0006】上述のようなソフトウエア音源処理におい
ては、複数の楽音を同時に発音可能とすべく、一般に、
所定時間間隔の割り込み等の処理周期中に複数の発音チ
ャネルに対して時分割処理を行うようにしている。そし
て、各発音チャネル毎に異なる音源方式の音源処理プロ
グラムを実行させることにより、ある音色のときはPC
M方式で、別の音色のときは変調方式で、或いは、ある
音色のときに偶数チャネルはPCM方式で、奇数チャネ
ルは変調方式でというように、音色毎又は発音チャネル
毎に異なる音源方式によって楽音を生成することも可能
である。
In the software sound source processing as described above, in order to be able to generate a plurality of musical tones at the same time, in general,
Time division processing is performed on a plurality of sound generation channels during a processing cycle such as interruption at predetermined time intervals. Then, by executing a sound source processing program having a different sound source method for each sound generation channel, a PC can be used for a certain tone color.
The M tone is a modulation tone for different tone colors, or the PCM tone is for even tone channels and the modulation tone is for odd tone channels when a tone tone has a different tone color. It is also possible to generate

【0007】このような場合、一般的に、発音チャネル
毎に音源方式の番号等をメモリなどに記憶させておき、
各発音チャネルの処理タイミングにさしかかる毎に、そ
の発音チャネルに対応して記憶されている音源方式番号
等を識別して、対応する音源方式の音源処理プログラム
を実行するような制御が行われる。
In such a case, in general, the sound source system number and the like are stored in a memory for each sounding channel,
Each time the processing timing of each sound generation channel is approached, control is performed such that the sound source system number and the like stored corresponding to that sound generation channel is identified and the sound source processing program of the corresponding sound source system is executed.

【0008】ここで、楽器の性能を向上させるために、
同時に発音可能な発音チャネル数を増加させたいという
ような要求があった場合、上記処理周期中にできるだけ
多くのプログラム命令を実行できるようにする必要があ
る。
Here, in order to improve the performance of the musical instrument,
When there is a request to increase the number of sounding channels that can be sounded at the same time, it is necessary to execute as many program instructions as possible during the processing cycle.

【0009】[0009]

【発明が解決しようとする課題】従って、各発音チャネ
ルの処理においては、分岐命令等の演算サイクルの長い
命令はできる限り削減する必要が生じる。しかし、発音
チャネル毎に異なる音源方式による楽音生成を可能とし
たい場合に、上述の従来例のように、各発音チャネルの
処理タイミングにさしかかる毎に音源方式を識別するよ
うな分岐命令を実行していたのでは、1処理期間中に全
ての発音チャネルに対する処理を終了できなくなる可能
性がある。
Therefore, in the processing of each tone generation channel, it is necessary to reduce instructions having a long operation cycle such as branch instructions as much as possible. However, when it is desired to generate a tone with a different tone generator method for each sounding channel, a branch instruction is executed to identify the tone generator method each time the processing timing of each sounding channel is approached, as in the above-described conventional example. Therefore, there is a possibility that the processing for all the sound generation channels cannot be completed within one processing period.

【0010】そして、それを防止するために、楽音を発
生させるサンプリング周波数を減少させ音源処理の時間
間隔を大きくするなどの措置を講じなければならなくな
り、その結果、楽音を発生させるサンプリング周波数が
減少して生成される楽音の最高周波数が低くなり音質が
劣化してしまうなどの問題点を生じていた。
In order to prevent this, it is necessary to take measures such as decreasing the sampling frequency for generating the musical tone and increasing the time interval of the sound source processing, and as a result, the sampling frequency for generating the musical tone is reduced. Then, the maximum frequency of the generated musical sound becomes low and the sound quality is deteriorated.

【0011】本発明の課題は、発音チャネル毎に複数の
音源方式を混在させた音源処理をソフトウエア処理とし
て実行する場合に、発音チャネル毎の処理命令数の削減
を可能とすることにある。
An object of the present invention is to make it possible to reduce the number of processing instructions for each sounding channel when the sound source processing in which a plurality of sound source systems are mixed for each sounding channel is executed as a software process.

【0012】[0012]

【課題を解決するための手段】本発明は、所定時間間隔
で、複数の各発音チャネル毎、例えば8チャネルのうち
のそれぞれのチャネル毎に、複数の音源方式、例えばP
CM方式、DPCM方式、FM方式、TM方式等のう
ち、任意の音源方式の音源処理プログラムを実行して楽
音信号を生成するプログラム実行手段を含む楽音波形発
生装置を前提とする。この場合、複数のプロセッサ構成
として、より多くの発音チャネルを処理可能としてもよ
い。
SUMMARY OF THE INVENTION According to the present invention, a plurality of sound source systems, for example, P, are provided at predetermined time intervals for each of a plurality of sounding channels, for example, for each of 8 channels.
It is premised on a musical tone waveform generator including a program executing means for executing a sound source processing program of an arbitrary sound source method among a CM method, a DPCM method, an FM method, a TM method and the like to generate a tone signal. In this case, a plurality of processor configurations may be able to process more pronunciation channels.

【0013】そして、まず、全発音チャネル分連続して
実行される音源処理プログラムを、全発音チャネルの音
源方式の組合せ毎に複数組保存するROM等の保存用音
源処理プログラム記憶手段を有する。同手段には、例え
ば、8チャネル全てがPCM方式で楽音生成を連続して
行う音源処理プログラム、各発音チャネル毎にPCM方
式、TM方式等が混在した形態で楽音生成を連続して行
う音源処理プログラム等、複数組が記憶される。
First, there is provided a sound source processing program storage means such as a ROM for storing a plurality of sets of sound source processing programs continuously executed for all sound generation channels for each combination of sound source systems of all sound generation channels. The means includes, for example, a sound source processing program for continuously generating musical sound in PCM method for all eight channels, and a sound source processing for continuously generating musical sound in a mode in which PCM method, TM method and the like are mixed for each sounding channel. Multiple sets such as programs are stored.

【0014】次に、前述の所定時間間隔毎に、プログラ
ム実行手段により、全発音チャネル分連続して実行され
る音源処理プログラムを記憶するRAM等の実行用プロ
グラム記憶手段を有する。なお、前述のように複数プロ
セッサ構成とした場合には、各プロセッサ毎に設けられ
る。
Next, there is provided an execution program storage means such as a RAM for storing a sound source processing program which is continuously executed by the program execution means for all the sound generation channels at the above-mentioned predetermined time intervals. In the case of a multi-processor configuration as described above, it is provided for each processor.

【0015】そして、保存用プログラム記憶手段から全
発音チャネル分連続して実行される音源処理プログラム
の任意の組を読み出して実行用プログラム記憶手段に転
送する音源処理プログラム転送制御手段を有する。な
お、前述のように複数プロセッサ構成とした場合には、
同制御手段は、各プロセッサの実行用プログラム記憶手
段に転送を行う。
Further, there is provided a tone generator processing program transfer control means for reading out an arbitrary set of tone generator processing programs which are continuously executed for all sound generation channels from the storage program memory means and transferring them to the execution program memory means. In the case of a multiple processor configuration as described above,
The control means transfers to the execution program storage means of each processor.

【0016】[0016]

【作用】演奏者が音色設定等を行った場合又は装置の電
源をオンしたような場合に、音源処理プログラム転送制
御手段が、保存用プログラム記憶手段から全発音チャネ
ル分連続して実行される音源処理プログラムの任意の組
を読み出して実行用プログラム記憶手段に転送する。そ
して、プログラム実行手段は、所定時間間隔毎に各発音
チャネルの楽音生成を行う場合、実行用プログラム記憶
手段に記憶された音源処理プログラムを全発音チャネル
分一括して実行する。
When the performer sets a tone color or turns on the power of the apparatus, the sound source processing program transfer control means continuously executes the sound source channel for all sound generation channels from the storage program storage means. An arbitrary set of processing programs is read out and transferred to the execution program storage means. Then, the program executing means collectively executes the sound source processing program stored in the execution program storing means for all the sounding channels when generating the musical sound of each sounding channel at every predetermined time interval.

【0017】これにより、各発音チャネル毎にどの音源
方式で楽音を生成するかという判別処理を行うことが不
要となり、分岐命令の数を削減することができるため、
同時に発音可能な発音チャネル数を増加させることがで
きる等、楽器の性能を向上させることが可能となる。
As a result, it is not necessary to perform the discrimination process of which sound source method is used to generate a musical tone for each sounding channel, and the number of branch instructions can be reduced.
It is possible to improve the performance of the musical instrument such as increasing the number of sounding channels that can be sounded at the same time.

【0018】[0018]

【実施例】以下、図面を参照しながら本発明の実施例に
つき説明する。 <本実施例の構成>図1は、本実施例の全体構成図であ
り、外部メモリ116以外は1チップで構成され、その
中のマスターとスレーブの2つのCPU(中央演算制御
装置)が互いに情報を交換しつつ、楽音作成のための音
源処理を分担して行う。
Embodiments of the present invention will be described below with reference to the drawings. <Structure of this Embodiment> FIG. 1 is a diagram showing the entire structure of this embodiment, in which one chip except for the external memory 116 is constituted by two CPUs (central processing unit) of a master and a slave. While exchanging information, sound source processing for musical tone creation is shared.

【0019】図1において、まず、外部メモリ116に
は、エンベロープ値の目標値等の楽音制御パラメータ
と、PCM(パルス符号変調)方式における楽音波形又
はDPCM(差分パルス符号変調)方式における楽音差
分波形、ならびに各種音源処理のためのプログラム等が
記憶されている。
In FIG. 1, first, in the external memory 116, a tone control parameter such as a target value of an envelope value and a tone waveform in a PCM (pulse code modulation) system or a tone difference waveform in a DPCM (differential pulse code modulation) system. , And programs for processing various sound sources are stored.

【0020】一方、マスタCPU(以下、MCPU と略称
する)101とスレーブCPU(以下、SCPU と略称す
る)102は、外部メモリ116上の上記各データをア
クセスして、分担して音源処理を行う。これらのCPU
は、ともに外部メモリ116の波形データ等を共用する
ので、このままでは、外部メモリ116からデータを読
み込むときに、競合が発生する恐れがある。そのため、
MCPU 101とSCPU102のそれぞれは、MCPU 外部
メモリアクセス用アドレスラッチ部103及びSCPU 外
部メモリアクセス用アドレスラッチ部104を介して、
アクセス用アドレス競合回避回路105から外部メモリ
アクセス用のアドレス信号と外部メモリ制御データを出
力端子111、112から出力することにより、MCPU
101からのアドレスとSCPU 102からのアドレスの
競合を回避することができる。
On the other hand, a master CPU (hereinafter, abbreviated as MCPU) 101 and a slave CPU (hereinafter, abbreviated as SCPU) 102 access each of the above-mentioned data in an external memory 116 and share them to perform sound source processing. . These CPUs
Both share the waveform data and the like in the external memory 116, so that there is a possibility that contention will occur when reading data from the external memory 116. for that reason,
Each of the MCPU 101 and SCPU 102 has an MCPU external memory access address latch unit 103 and an SCPU external memory access address latch unit 104,
By outputting the address signal for external memory access and the external memory control data from the access address conflict avoidance circuit 105 from the output terminals 111 and 112, the MCPU
The conflict between the address from 101 and the address from SCPU 102 can be avoided.

【0021】上記アドレス指定に基づいて外部メモリ1
16から読み出されたデータは、外部メモリデータイン
端子115から外部メモリセレクタ部106に入力され
る。外部メモリセレクタ部106は、アクセス用アドレ
ス競合回避回路105からの制御信号に基づき、上記読
み出されたデータを、データバスMDを通ってMCPU1
01に入力されるデータと、データバスSDを通ってS
CPU 102に入力されるデータに分離し、それぞれMCP
U 101とSCPU 102に入力させる。これにより、デ
ータの競合も回避することができる。
External memory 1 based on the above address designation
The data read from 16 is input to the external memory selector unit 106 from the external memory data-in terminal 115. The external memory selector unit 106, based on the control signal from the access address conflict avoidance circuit 105, sends the read data to the MCPU1 through the data bus MD.
01 through the data bus SD and S
Separated into data input to CPU 102,
Input to U 101 and SCPU 102. Thus, data conflict can be avoided.

【0022】その後、それぞれのデータに対し、MCPU
101及びSCPU 102で、ソフトウエアによって音源
処理が施された後、発音チャネル分全部が累算され、Le
ftD/A変換器部107のレフト出力端子113及びRi
ght D/A変換器部108のライト出力端子114か
ら、それぞれ楽音信号として、左チャネルのレフト・ア
ナログ出力と右チャネルのライト・アナログ出力が出力
される。
After that, for each data, MCPU
In 101 and SCPU 102, after sound source processing is performed by software, all sound channels are accumulated and Le
Left output terminal 113 and Ri of the ft D / A converter unit 107
From the right output terminal 114 of the ght D / A converter unit 108, the left channel left analog output and the right channel right analog output are respectively output as musical tone signals.

【0023】次に、図2はMCPU 101の内部構成を示
すブロック図である。同図において、プログラムメモリ
201は、後述するメインフロー(図9)に対応するプ
ログラムを記憶するROM部分と、後述する音源処理プ
ログラムを図1の外部メモリ116からロードして記憶
するRAM部分とからなり、メモリアドレス制御部20
5からプログラムアドレスデコーダ202を介して指定
されたアドレスのプログラム語(命令)を順次出力す
る。具体的には、各プログラム語の語長は例えば28ビ
ットであり、プログラム語の一部が次に読み出されるべ
きアドレスの下位部(ページ内アドレス)としてメモリ
アドレス制御部205に入力されるネクストアドレス方
式となっている。
Next, FIG. 2 is a block diagram showing the internal structure of the MCPU 101. In the figure, a program memory 201 is composed of a ROM part for storing a program corresponding to a main flow (FIG. 9) described later and a RAM part for loading and storing a sound source processing program described later from the external memory 116 of FIG. The memory address control unit 20
5, the program word (command) of the designated address is sequentially output via the program address decoder 202. Specifically, the word length of each program word is, for example, 28 bits, and a part of the program word is input to the memory address control unit 205 as a lower part (in-page address) of the address to be read next. It is a method.

【0024】なお、音色等が変更されて発音チャネル毎
に実行される音源方式が変更された場合に、対応する音
源処理プログラムを一括して図1の外部メモリ116か
らプログラムメモリ201にロードするようにした点
が、本実施例の特徴とする点である。
When the tone color or the like is changed and the tone generator system executed for each tone generation channel is changed, the corresponding tone generator processing programs are collectively loaded from the external memory 116 of FIG. 1 to the program memory 201. This point is a feature of this embodiment.

【0025】コマンド解析部207は、制御用RAM2
01から出力される命令のオペコードを解析し、指定さ
れたオペレーションを実行するために、回路の各部に制
御信号を送る。
The command analysis unit 207 has a control RAM 2
The operation code of the instruction output from 01 is analyzed, and a control signal is sent to each part of the circuit to execute the specified operation.

【0026】RAMアドレス制御部204は、制御用R
AM201からの命令のオペランドがレジスタを指定し
ている場合に、RAM206内の対応するレジスタのア
ドレスを指定する。RAM206には、図15、図16
等として後述する各種楽音制御データが8発音チャネル
分記憶されるほか、図17等として後述する各種バッフ
ァ等が記憶され、後述する音源処理に使用される。
The RAM address control unit 204 controls the control R
When the operand of the instruction from the AM 201 specifies a register, the address of the corresponding register in the RAM 206 is specified. The RAM 206 has a configuration shown in FIGS.
Various tone control data, which will be described later, are stored for eight sounding channels, and various buffers, which will be described later with reference to FIG.

【0027】ALU部208及び乗算器209は、制御
用RAM201からの命令が演算命令の場合に、コマン
ド解析部207からの指示に基づいて、前者は加減算と
論理演算、後者は乗算を実行する。
When the instruction from the control RAM 201 is an operation instruction, the ALU unit 208 and the multiplier 209 execute addition / subtraction and logical operation, and the latter execute multiplication, based on the instruction from the command analysis unit 207.

【0028】インタラプト制御部203は、内部の特に
は図示しないハードタイマに基づいて、一定時間毎に、
図1のSCPU 102にリセット解除信号A、メモリアド
レス制御部205及び図1の各D/A変換器部107、
108にインタラプト信号を供給する。
The interrupt control unit 203, based on an internal hard timer (not shown), at regular time intervals,
1, the reset release signal A, the memory address control unit 205, and each D / A converter unit 107 of FIG.
An interrupt signal is supplied to 108.

【0029】上述の構成のほかに、図2のMCPU 101
には、次の各種のバスに関するインタフェースが設けら
れている。すなわち、外部メモリ116をアクセスすべ
く、そのメモリのアドレスを指定するためのアドレスバ
スMAのインタフェース215、アクセスされたデータ
を外部メモリセレクタ部106を介してMCPU 101と
の間で授受するためのデータバスMDのインタフェース
216、SCPU 102とのデータの授受を実行すべくS
CPU 102内部のRAMのアドレスを指定するバスMa
のインタフェース212、MCPU 101がSCPU 102
へデータを書き込むためのデータバスDoutのインタフ
ェース213、MCPU 101がSCPU 102からデータ
を読み込むためのデータバスDinのインタフェース21
4、Left D/A変換器部107、Right D/A変換器
部108に最終出力波形を転送するためのD/Aデータ
転送バスのインタフェース217、及び外部のスイッチ
部又は鍵盤部(図7、図8参照)等との間でデータの授
受を行う入出力ポート210、211がある。
In addition to the above configuration, the MCPU 101 shown in FIG.
Is provided with interfaces related to the following various buses. That is, in order to access the external memory 116, the interface 215 of the address bus MA for designating the address of the memory, and the data for exchanging the accessed data with the MCPU 101 via the external memory selector unit 106. The bus MD interface 216 and the SCPU 102 are used to exchange data with the SCPU 102.
A bus Ma for designating the address of the RAM inside the CPU 102
Interface 212, MCPU 101 is SCPU 102
An interface 213 of a data bus Dout for writing data into the SCU 102 and an interface 21 of a data bus Din for the MCPU 101 to read data from the SCPU 102.
4, a D / A data transfer bus interface 217 for transferring the final output waveform to the Left D / A converter unit 107 and the Right D / A converter unit 108, and an external switch unit or keyboard unit (FIG. 7, (See FIG. 8) and the like, there are input / output ports 210 and 211 for transmitting and receiving data.

【0030】次に、SCPU 102の内部構成を図3に示
す。SCPU 102は、MCPU 101からの処理開始信号
を受けて音源処理を行うのみなので、図2の223に対
応するインタラプト制御部、図2の210及び211に
対応する外部回路とのデータの授受を行う入出力ポート
及び図2の217に対応するLeft D/A変換器部10
7とRight D/A変換器部108に楽音信号を出力する
ためのインタフェースはない。それ以外の301、30
2、304〜309の各回路は、図2の201、20
2、204〜209の各回路と同じ機能を有する。ま
た、各インタフェース303、310〜313は、図2
の212〜216のそれぞれに対向して設けられる。な
お、MCPU 101からバスMaを介して指定されたSCP
U 102内部RAMアドレスは、RAMアドレス制御部
304に入力し、対応するアドレスがRAM306に対
して指定される。これによって、例えばSCPU 102で
生成されRAM306内部に保持されている最大8発音
チャネル分の累算波形データが、データバスDinを介し
てMCPU 101に出力される。これについては後述す
る。
Next, the internal structure of the SCPU 102 is shown in FIG. Since the SCPU 102 only receives a processing start signal from the MCPU 101 and performs sound source processing, it exchanges data with an interrupt control unit corresponding to 223 in FIG. 2 and an external circuit corresponding to 210 and 211 in FIG. Left D / A converter unit 10 corresponding to the input / output port and 217 of FIG.
7 and Right D / A converter section 108 does not have an interface for outputting a tone signal. Other 301, 30
2, 304 to 309 correspond to the circuits 201 and 20 in FIG.
It has the same function as each of the circuits 2, 204 to 209. In addition, each interface 303, 310 to 313 is shown in FIG.
Nos. 212 to 216 are provided so as to face each other. The SCP specified by the MCPU 101 via the bus Ma
The U 102 internal RAM address is input to the RAM address control unit 304, and the corresponding address is designated to the RAM 306. As a result, for example, the accumulated waveform data for a maximum of eight sound generation channels generated in the SCPU 102 and held in the RAM 306 is output to the MCPU 101 via the data bus Din. This will be described later.

【0031】また、音色変更時等においては、前述した
MCPU 101の場合と同様、対応する音源処理プログラ
ムが一括して図1の外部メモリ116からMCPU 101
を介しロードされる。この転送動作は、図2のMCPU 1
01内のコマンド解析部207及びメモリアドレス制御
部205等が、ゲート回路314を介して、プログラム
RAM301及びRAMアドレス制御部305を制御す
ることにより実行される。
When changing the timbre, the corresponding sound source processing programs are collectively sent from the external memory 116 shown in FIG. 1 to the MCPU 101, as in the case of the MCPU 101 described above.
Loaded via. This transfer operation is performed by the MCPU 1 of FIG.
The command analysis unit 207 and the memory address control unit 205 in 01 are executed by controlling the program RAM 301 and the RAM address control unit 305 via the gate circuit 314.

【0032】以上に示される構成のほか、本実施例で
は、MCPU 101の入力ポート210に、図7及び図8
に示されるような機能キー701及び鍵盤キー702等
が接続される。これらの部分が、実質的な楽器操作部を
構成する。
In addition to the configuration shown above, in this embodiment, the input port 210 of the MCPU 101 is connected to the input port 210 of FIG.
A function key 701, a keyboard key 702, etc. as shown in FIG. These parts constitute a substantial musical instrument operation unit.

【0033】次に、図5は、図1のLeftとRight のD/
A変換器部107、108(両変換部の内容は同じ)の
内部構成を示すもので、データバスを介して、音源処理
で作成された楽音の1サンプルデータがラッチ401に
入力される。そして、ラッチ401のクロック入力にM
CPU 101のコマンド解析部207(図2)から音源処
理終了信号が入力されると、データバス上の1サンプル
分の楽音データがラッチ401にラッチされる。
Next, FIG. 5 shows D / of Left and Right in FIG.
The internal configuration of the A converters 107 and 108 (the contents of both converters are the same) is shown. One sample data of a musical sound created by sound source processing is input to the latch 401 via a data bus. The clock input to the latch 401 is M
When the tone generator processing end signal is input from the command analysis unit 207 (FIG. 2) of the CPU 101, one sample of musical tone data on the data bus is latched by the latch 401.

【0034】ここで、前述の音源処理に要する時間は、
音源処理用のソフトウエアにより変化する。そのため、
音源方式が異なる場合は、各音源処理が終了し、ラッチ
401に楽音データがラッチされるタイミングは一定で
ない。そのため、図4のように、ラッチ401の出力を
そのままD/A変換器402に入力させることはできな
い。
Here, the time required for the above sound source processing is
Varies depending on the sound source processing software. for that reason,
When the sound source systems are different, the timings at which the tone data is latched in the latch 401 are not constant because each sound source processing is completed. Therefore, as shown in FIG. 4, the output of the latch 401 cannot be directly input to the D / A converter 402.

【0035】そこで、本実施例では図5の如く、ラッチ
401の出力を更にラッチ501でラッチし、インタラ
プト制御部203から出力されるサンプリングクロック
間隔に等しい図6に示されるインタラプト信号により、
楽音信号をラッチ501にラッチさせ、図6のように一
定間隔でD/A変換器402に出力させるようにしてい
る。
Therefore, in the present embodiment, as shown in FIG. 5, the output of the latch 401 is further latched by the latch 501, and the interrupt signal shown in FIG.
The musical tone signal is latched by the latch 501 and output to the D / A converter 402 at regular intervals as shown in FIG.

【0036】このようにラッチを2つ用いて、音源方式
による処理時間の変化を吸収したので、楽音データをD
/A変換器へ出力させるための複雑なタイミング制御プ
ログラムが不用になった。 <本実施例の全体動作>次に、本実施例の全体動作を説
明する。
As described above, since two latches are used to absorb the change in the processing time due to the sound source method, the musical tone data is D
A complicated timing control program for outputting to the A / A converter is no longer needed. <Overall Operation of this Embodiment> Next, the overall operation of this embodiment will be described.

【0037】本実施例は、基本的にはMCPU 101が中
心となって動作し、図9のメインフローチャートに示す
ように、S902 〜S910 の一連の処理を繰り返し行って
いる。そして実際の音源処理は割り込み(インタラプ
ト)処理で行っている。具体的には、ある一定時間毎
に、MCPU 101とSCPU 102に割り込みが掛かり、
それに基づいてそれぞれのCPUが最大8チャネルずつ
の音を作る音源処理を行う。
In this embodiment, the MCPU 101 is basically the center of operation, and as shown in the main flow chart of FIG. 9, a series of processing of S902 to S910 is repeated. The actual sound source processing is performed by interrupt processing. Specifically, the MCPU 101 and the SCPU 102 are interrupted at regular intervals,
Based on this, each CPU performs sound source processing for producing sounds of up to 8 channels.

【0038】ここで、後述するように、各発音チャネル
毎に、PCM、DPCM、FM又はTM等の異なる音源
方式を割り当てることが可能であるが、その割り当てに
対応する8チャネル分の音源処理プログラムは、音色設
定時等に一括して外部メモリ116(図1)からプログ
ラムメモリ201(図2)又はプログラムRAM301
にロードされることが、本実施例の特徴となっている。
これにより、各発音チャネル毎にどの音源方式で楽音を
生成するかという判別処理を行うことが不要となってい
る。なお、この転送動作については、後述する。
Here, as will be described later, different tone generator systems such as PCM, DPCM, FM or TM can be assigned to each tone generation channel, and a tone generator processing program for 8 channels corresponding to the assignment. Are collectively set from the external memory 116 (FIG. 1) to the program memory 201 (FIG. 2) or the program RAM 301 when setting a tone color.
It is a feature of the present embodiment that it is loaded into.
As a result, it is not necessary to perform a discrimination process of which sound source method is used to generate a musical tone for each sounding channel. The transfer operation will be described later.

【0039】インタラプト処理による音源処理が終わる
と、それぞれのCPUの最大8チャネル、計最大16チ
ャネル分の楽音波形が加算され、Left D/A変換器部
107、Right D/A変換器部108から出力される。
その後、割り込み状態からメインフローに戻る。なお、
上述の割り込みは、図2のインタラプト制御部203内
のハードタイマに基づき周期的に行われる。この周期は
楽音出力時のサンプリング周期に等しい。
When the sound source processing by the interrupt processing is completed, musical tone waveforms of up to 8 channels of each CPU, up to 16 channels in total, are added, and the left D / A converter unit 107 and the Right D / A converter unit 108 Is output.
Thereafter, the process returns from the interrupt state to the main flow. In addition,
The above-mentioned interrupt is periodically performed based on the hard timer in the interrupt control unit 203 of FIG. This cycle is equal to the sampling cycle when outputting a musical sound.

【0040】以上が、本実施例の概略の全体動作であ
る。次に、本実施例の全体動作の詳細について、図9〜
図11を用いて説明する。図9のメインフローチャート
のS902 〜S910 の処理が繰り返し実行されている間
に、インタラプト制御部203から割り込みが掛かる
と、図10のMCPU インタラプト処理と図11のSCPU
インタラプト処理の2つの処理が同時に起動する。そし
て、図10と図11の「音源処理」は、後述する図13
に示される。
The above is the general overall operation of this embodiment. Next, regarding the details of the entire operation of the present embodiment, FIG.
This will be described with reference to FIG. If an interrupt is issued from the interrupt control unit 203 while the processes of S902 to S910 of the main flowchart of FIG. 9 are repeatedly executed, the MCPU interrupt process of FIG. 10 and the SCPU of FIG.
Two processes of the interrupt process are activated at the same time. Then, the “sound source processing” of FIGS. 10 and 11 will be described later with reference to FIG.
Is shown in

【0041】図9のメインフローチャートは、インタラ
プト制御部203から割り込みが掛からない状態におい
てMCPU 101において実行される、音源処理以外の処
理の流れを示している。
The main flow chart of FIG. 9 shows the flow of processing other than the sound source processing, which is executed in the MCPU 101 in a state where the interrupt is not interrupted by the interrupt control unit 203.

【0042】まず、電源がONされると、MCPU 101
のRAM206の内容等の初期設定が行われる(S901
)。次に、MCPU 101の外部に接続される機能キー
701(図7参照)、例えば音色スイッチ等が走査され
(S902 )、各スイッチの状態が入力ポート210から
RAM206内のキーバッファエリアに取り込まれる。
その走査の結果、状態の変化した機能キーが識別され、
対応する機能の処理がなされる(S903 )。例えば、楽
音番号のセット、エンベロープ番号のセット、また、付
加機能にリズム演奏がついていれば、リズム番号のセッ
ト等が行われる。
First, when the power is turned on, the MCPU 101
The initial settings of the contents of the RAM 206 are performed (S901).
). Next, the function key 701 (see FIG. 7) connected to the outside of the MCPU 101, for example, a tone color switch or the like is scanned (S902), and the state of each switch is fetched from the input port 210 into the key buffer area in the RAM 206.
As a result of the scanning, the function key whose state has changed is identified,
The corresponding function is processed (S903). For example, setting of a musical tone number, setting of an envelope number, and setting of a rhythm number if the additional function has rhythm performance.

【0043】その後、押鍵されている鍵盤キーの状態が
上述の機能キーの場合と同様に取り込まれ(S904 )、
変化した鍵(押鍵又は離鍵された鍵)が識別されること
によりキーアサイン処理が行われる(S905 )。この処
理は、押鍵された鍵に基づいて発音されるべき楽音のデ
ータを発音チャネルに割り当てたり、逆に、離鍵された
鍵に対応する発音チャネルを解放したりする処理であ
る。なお、ここで実行される処理の一部であるキーオン
時のアサイン処理は、押鍵キーを発音チャネルへ割り当
てる処理のみであり、実際に押鍵キーに基づくピッチデ
ータをアサインされた発音チャネルに設定し発音指示を
行う動作は、後述する発音処理(S909 )において実行
される。
After that, the state of the depressed keyboard key is taken in as in the case of the above-mentioned function key (S904),
The key assignment process is performed by identifying the changed key (key depressed or key released) (S905). This process is a process of assigning data of a musical tone to be generated based on a depressed key to a sound generation channel, and conversely releasing a sound generation channel corresponding to a released key. Note that the key-on assignment process, which is part of the process executed here, is only the process of assigning a key-depressed key to a tone generation channel, and the pitch data based on the key-depressed key is actually set in the assigned tone generation channel The operation of giving a sounding instruction is executed in a sounding process (S909) described later.

【0044】次に、機能キー701(図7参照)である
デモ演奏キーが押されたときは、外部メモリ部116か
らデモ演奏データ(シーケンサデータ)が順次読み出さ
れ、S905 と同様のキーアサイン処理などが行われる
(S906 )。また、リズムスタートキーが押されたとき
は、リズムデータが外部メモリ116から順次読み出さ
れ、S905 と同様のキーアサイン処理などが行われる
(S907 )。
Next, when the demo performance key, which is the function key 701 (see FIG. 7), is pressed, the demo performance data (sequencer data) is sequentially read from the external memory section 116, and key assignment similar to S905 is performed. Processing and the like are performed (S906). When the rhythm start key is pressed, the rhythm data is sequentially read from the external memory 116 and the key assignment processing similar to S905 is performed (S907).

【0045】その後に、以下に述べるタイマー処理が行
われる(S908 )。すなわち、後述するインタラプトタ
イマー処理(S1012)でインクリメントされている時間
データの時間値が判別され、デモ演奏制御用に順次読み
出される時間制御用のシーケンサデータ又はリズム演奏
制御用に読み出される時間制御用のリズムデータと比較
されることにより、S906 のデモ演奏又はS907 のリズ
ム演奏を行う場合の時間制御が行われる。
After that, the following timer processing is performed (S908). That is, the time value of the time data incremented in the interrupt timer process (S1012) described later is determined, and the sequencer data for time control sequentially read for demo performance control or the time control read for rhythm performance control is read. By comparing with the rhythm data, the time control for performing the demo performance of S906 or the rhythm performance of S907 is performed.

【0046】更に、発音処理S909 では、上記各ステッ
プS905 〜S907 でアサインされ発音開始されるべき発
音チャネルにピッチデータを設定し、また、発音中の発
音チャネルのピッチデータを予め設定されたエンベロー
プに従って時間的に変化させ、発音中の楽音のピッチに
変化を付加するというピッチエンベロープ処理等が行わ
れる。
Further, in the tone generation processing S909, pitch data is set in the tone generation channel which is assigned in each of the above steps S905 to S907 and the tone generation is to be started, and the pitch data of the tone generation channel being sounded is set in accordance with a preset envelope. Pitch envelope processing or the like is performed in which the pitch is changed over time to add a change to the pitch of the musical tone being sounded.

【0047】更に、フロー1周準備処理が実行される
(S910 )。ここでは、上述のステップS909 で新たに
ピッチデータが設定された発音チャネルの状態を発音中
に変えたり、逆にステップS905 〜S907 で解放された
発音チャネルの状態を消音中に変える等の処理が行われ
る。
Further, a flow one round preparation process is executed (S910). Here, processing such as changing the state of the sounding channel for which the pitch data is newly set in the above-described step S909 to sounding, or conversely changing the state of the sounding channel released in steps S905 to S907 to mute Done.

【0048】次に、図10のMCPU インタラプト処理に
つき説明する。MCPU 101のインタラプト制御部20
3によりMCPU 101に割り込みが掛かると、図9のメ
インフローチャートの処理が中断され、図10のMCPU
インタラプト処理の実行が開始される。この場合、MCP
U インタラプト処理のプログラムにおいて、図9のメイ
ンフローのプログラムで書き込みが行われるレジスタ等
については、内容の書き換えが行われないように制御さ
れる。これにより、通常のインタラプト処理の開始時と
終了時に行われるレジスタの退避と復帰の処理は不要と
なり、図9のメインフローチャートの処理とMCPU イン
タラプト処理との間の移行が迅速に行われる。
Next, the MCPU interrupt processing of FIG. 10 will be described. Interrupt control unit 20 of MCPU 101
When the MCPU 101 is interrupted by 3, the process of the main flowchart of FIG. 9 is interrupted, and the MCPU 101 of FIG.
The execution of the interrupt process is started. In this case, MCP
In the U interrupt processing program, the registers and the like written in the main flow program of FIG. 9 are controlled so that the contents are not rewritten. This eliminates the need to save and restore the registers at the start and end of the normal interrupt processing, and the transition between the processing of the main flowchart of FIG. 9 and the MCPU interrupt processing can be performed quickly.

【0049】図10においては、まず、MCPU インタラ
プト処理において音源処理が開始される(S1011)。こ
の音源処理は後述する図13に示される。上述の動作と
同時に、MCPU 101のインタラプト制御部203から
SCPU 102のRAMアドレス制御部305に対してS
CPU リセット解除信号A(図1参照)が出力され、SCP
U 102において、図11のSCPU インタラプト処理の
実行が開始される。
In FIG. 10, first, sound source processing is started in the MCPU interrupt processing (S1011). This sound source processing is shown in FIG. 13 described later. Simultaneously with the above operation, the interrupt control unit 203 of the MCPU 101 sends an S to the RAM address control unit 305 of the SCPU 102.
CPU reset release signal A (see Fig. 1) is output and SCP
In U 102, execution of the SCPU interrupt process of FIG. 11 is started.

【0050】そして、MCPU インタラプト処理における
音源処理(S1011)とほぼ同時に、SCPU インタラプト
処理において音源処理が開始される(S1101)。このよ
うに、MCPU 101とSCPU 102の両者が並行して音
源処理を実行することによって、1つのCPUで音源処
理を実行する場合に較べて音源処理の処理速度が約2倍
になる。
Then, almost simultaneously with the sound source processing in the MCPU interrupt processing (S1011), the sound source processing in the SCPU interrupt processing is started (S1101). As described above, both the MCPU 101 and the SCPU 102 execute the sound source processing in parallel, so that the processing speed of the sound source processing is approximately doubled as compared with the case of executing the sound source processing by one CPU.

【0051】続いて、MCPU 101では、S1012のイン
タラプトタイマー処理の後、SCPU102からSCPU イ
ンタラプト処理の終了信号が来るのを待っている(S10
13)。なお、インタラプトタイマー処理では、図10の
インタラプト処理が一定のサンプリング周期毎に実行さ
れることを利用して、RAM206(図2)上の特には
図示しない時間データの値がインクリメントされる。す
なわち、この時間データの値を見れば時間経過がわか
る。このようにして得られる時間データは、前述したよ
うに、図9のメインフローのタイマー処理S908 におけ
る時間制御に用いられる。
Subsequently, the MCPU 101 waits for an end signal of the SCPU interrupt processing from the SCPU 102 after the interrupt timer processing of S1012 (S10).
13). Note that in the interrupt timer process, the value of time data (not shown) on the RAM 206 (FIG. 2) is incremented by utilizing the fact that the interrupt process of FIG. 10 is executed at regular sampling intervals. That is, the value of the time data indicates the passage of time. As described above, the time data thus obtained is used for the time control in the timer processing S908 of the main flow of FIG.

【0052】図11のSCPU インタラプト処理における
ステップS1101の音源処理が終了すると、SCPU 102
のコマンド解析部307からMCPU 101のメモリアド
レス制御部205に、SCPU 処理終了信号B(図1参
照)が入力する。これにより、図10のMCPU インタラ
プト処理でのステップS1013の判定がYESになる。
When the sound source processing of step S1101 in the SCPU interrupt processing of FIG. 11 is completed, the SCPU 102
The SCPU processing end signal B (see FIG. 1) is input to the memory address control unit 205 of the MCPU 101 from the command analysis unit 307 of FIG. As a result, the determination at step S1013 in the MCPU interrupt processing of FIG. 10 becomes YES.

【0053】この結果、図1のデータバスDinを介して
SCPU 102で作られた波形データがMCPU 101のR
AM206に読み込まれる(S1014)。この場合、波形
データはSCPU 102のRAM306上の所定のバッフ
ァ領域(図17で後述するバッファB)に格納されてい
るため、MCPU 101のコマンド解析部207は、SCP
U 内部アドレス指定バスMaを介して、RAMアドレス
制御部304に対して上記バッファアドレスを指定する
ことにより、波形データの読み込みを行う。
As a result, the waveform data created by the SCPU 102 via the data bus Din of FIG.
It is read into the AM 206 (S1014). In this case, since the waveform data is stored in the predetermined buffer area (buffer B described later in FIG. 17) on the RAM 306 of the SCPU 102, the command analysis unit 207 of the MCPU 101 uses the SCP
U The waveform data is read by designating the buffer address to the RAM address control unit 304 via the internal address designating bus Ma.

【0054】そして、S1014' において、上記バッファ
領域の内容がLeft D/A変換器部107及びRight D
/A変換器部108のラッチ401(図5参照)にラッ
チされる。
Then, in S1014 ', the contents of the buffer area are changed to the Left D / A converter section 107 and the Right D / A converter section 107.
It is latched by the latch 401 (see FIG. 5) of the A / A converter unit 108.

【0055】次に、図12は、前述の図9と図10のフ
ローチャートの処理の関係を概念的に示した流れ図であ
り、MCPU 101とSCPU 102が、音源処理をそれぞ
れ分担して行う様子を示している。
Next, FIG. 12 is a flow chart conceptually showing the relationship between the processes of the flowcharts of FIGS. 9 and 10 and showing how the MCPU 101 and SCPU 102 share the sound source processing. Shows.

【0056】まず、ある処理A(以下、処理B、C、・
・・、Fも同じ)が実行される(S1201)。この処理
は、図9のメインフローチャートの例えば「機能キー処
理」、や「鍵盤キー処理」などに対応する。その後、M
CPU インタラプト処理とSCPUインタラプト処理に入
り、同時にMCPU 101とSCPU 102による音源処理
が開始される(S1202、S1203)。そして、SCPU 10
2でのSCPU インタラプト処理の終了時に、SCPU 処理
終了信号BがMCPU 101に入力する。MCPU インタラ
プト処理では、SCPU インタラプト処理より早く音源処
理が終了し、SCPUインタラプト処理の終了を待ってい
る。そして、MCPU インタラプト処理においてSCPU 処
理終了信号Bが識別されると、SCPU 102で生成され
た波形データがMCPU 101に送られてMCPU 101で
生成された波形データとまとめられ、Left D/A変換
器部107及びRight D/A変換器部108に出力され
る。その後、メインフローチャートの処理Aの次の処理
Bに戻る。
First, a process A (hereinafter, processes B, C, ...
.. and F are the same) are executed (S1201). This processing corresponds to, for example, "function key processing" or "keyboard key processing" in the main flowchart of FIG. Then M
The CPU interrupt processing and the SCPU interrupt processing are entered, and at the same time, the sound source processing by the MCPU 101 and SCPU 102 is started (S1202, S1203). And SCPU 10
At the end of the SCPU interrupt processing in 2, the SCPU processing end signal B is input to the MCPU 101. In the MCPU interrupt process, the sound source process is completed earlier than the SCPU interrupt process, and the completion of the SCPU interrupt process is awaited. When the SCPU processing end signal B is identified in the MCPU interrupt processing, the waveform data generated by the SCPU 102 is sent to the MCPU 101 and combined with the waveform data generated by the MCPU 101, and the Left D / A converter It is output to the unit 107 and the Right D / A converter unit 108. After that, the process returns to the process B following the process A in the main flowchart.

【0057】以上のような動作が、全ての発音チャネル
(MCPU 101とSCPU 102で実行中の発音チャネ
ル)に対する音源処理が行われながら繰り返される(S
1204〜S1216)。そして、この繰り返し処理は、楽音の
発音中続けられる。
The above operation is repeated while sound source processing is being performed for all tone generation channels (tone generation channels being executed by the MCPU 101 and SCPU 102) (S
1204-S1216). This repetition processing is continued while the musical sound is being generated.

【0058】図13は、MCPU インタラプト処理のステ
ップS1011又はSCPU インタラプト処理のステップS11
01で実行される音源処理の動作フローチャートである。
まず、RAM206又はRAM306の波形データ加算
用の領域がクリアされる(S1316)。次に、発音チャネ
ルの1チャネル毎に音源処理が行われ(S1317〜S132
4)、最後に8チャネル目の音源処理が終了した時点
で、RAM206上の所定のバッファ領域B(後述する
図17)に8チャネル分が加算された波形データが得ら
れる。 <音源処理におけるデータ構成>次に、図10のS1011
及び図11のS1101で実行される音源処理の具体例につ
いて説明する。
FIG. 13 shows step S1011 of the MCPU interrupt process or step S11 of the SCPU interrupt process.
It is an operation | movement flowchart of the sound source process performed by 01.
First, the area of the RAM 206 or RAM 306 for waveform data addition is cleared (S1316). Next, sound source processing is performed for each sound generation channel (S1317 to S132).
4) Finally, when the sound source processing for the eighth channel is completed, waveform data obtained by adding eight channels to a predetermined buffer area B (FIG. 17 described later) on the RAM 206 is obtained. <Data Structure in Sound Source Processing> Next, S1011 in FIG.
A specific example of the sound source processing executed in S1101 of FIG. 11 will be described.

【0059】本実施例では、MCPU 101とSCPU 10
2の両CPUが、最大8チャネルづつの音源処理を分担
することは前述した。この最大8チャネル分の音源処理
用のデータは、図14に示すように、MCPU 101、S
CPU 102のRAM206、306内の発音チャネル別
の領域に設定される。
In this embodiment, the MCPU 101 and the SCPU 10
It has been described above that the two CPUs 2 share the sound source processing for each of the maximum 8 channels. As shown in FIG. 14, the data for sound source processing for up to 8 channels is MCPU 101, S
It is set in the area for each sound generation channel in the RAM 206, 306 of the CPU 102.

【0060】また、同RAMには、図17に示すよう
に、全発音チャネル共通のバッファBが確保されてい
る。この場合、図14の各発音チャネル領域には、後に
詳述するような操作によって、図15に概念的に示すよ
うに、それぞれの音源方式が設定でき、その音源方式が
設定されたら、図15及び図16に示すような各音源方
式のデータフォーマットで、図14の各発音チャネルの
各領域にデータが設定される。なお、本実施例では、後
述するように、各発音チャネルに異なる音源方式を割り
当てることが可能である。
Further, in the RAM, as shown in FIG. 17, a buffer B common to all tone generation channels is secured. In this case, each sound source system can be set in each sound generation channel region of FIG. 14 by an operation as described in detail later, as conceptually shown in FIG. Data is set in each area of each sound generation channel of FIG. 14 in the data format of each sound source method as shown in FIG. In this embodiment, as will be described later, it is possible to assign a different sound source system to each sounding channel.

【0061】図15及び図16の各音源方式のデータフ
ォーマットを示すテーブル1において、Aは、音源処理
時に波形データが読み出される場合に指定されるアドレ
スを表し、AI 、A1 及びA2 が現在アドレスの整数部
で、外部メモリ116(図1)の波形データが格納され
ているアドレスに直接対応する。また、AF は現在アド
レスの小数部であり、外部メモリ116から読み出され
た波形データの補間に用いられる。
In Table 1 showing the data format of each sound source system of FIGS. 15 and 16, A represents an address designated when waveform data is read during sound source processing, and AI, A1 and A2 are current addresses. The integer part directly corresponds to the address where the waveform data of the external memory 116 (FIG. 1) is stored. AF is a fractional part of the current address and is used for interpolation of the waveform data read from the external memory 116.

【0062】次のAE はエンドアドレス、AL はループ
アドレスをそれぞれ表す。また、つぎのPI 、P1 及び
P2 はピッチデータの整数部、PF はピッチデータの小
数部を表す。例を示すと、PI =1、PF =0は原音の
ピッチを、PI =2、PF =0は1オクターブ上のピッ
チを、また、PI =0、PF =0.5は、1オクターブ
下のピッチをそれぞれ表す。
Next, AE represents an end address and AL represents a loop address. The following PI, P1 and P2 represent the integer part of the pitch data, and PF represents the fractional part of the pitch data. For example, PI = 1 and PF = 0 are pitches of the original sound, PI = 2 and PF = 0 are pitches one octave higher, and PI = 0 and PF = 0.5 are pitches one octave lower. Represents each pitch.

【0063】次のXP は前回のサンプルデータを、XN
は次回のサンプルデータの格納を表す(後述する)。ま
た、Dは隣接する2つのサンプルデータ間の大きさの差
分値を表し、Eはエンベロープ値である。更に、Oは出
力値である。
The next XP is the same as the previous sample data, XN
Indicates the storage of the next sample data (described later). Further, D represents the difference value of the size between two adjacent sample data, and E is the envelope value. Furthermore, O is an output value.

【0064】その他の種々の制御データについては、後
述の各音源方式の説明の際に説明する。以上説明したよ
うな図15、図16に示すようなデータがMCPU 10
1、SCPU 102のそれぞれのRAM206、306に
確保され、後述する音源方式が決まると、図14に示す
各チャネル毎に図15、図16のフォーマットで、デー
タが設定される。
Various other control data will be described in the description of each sound source method described later. The data as shown in FIGS. 15 and 16 as described above is the MCPU 10
1. When the sound source system, which will be described later, is secured in the RAMs 206 and 306 of the SCPU 102, data is set in the format of FIGS. 15 and 16 for each channel shown in FIG.

【0065】以下、このようなデータ構成を用いて実行
される各音源方式の音源処理について順次説明する。こ
こで、音色等の設定に応じて、各発音チャネル毎にPC
M、DPCM、FM又はTM等の異なる音源方式を割り
当てることができる。そして、音色等の設定が行われた
場合、8チャネル分の音源方式が定まった音源処理プロ
グラムが一括して、外部メモリ116(図1)からプロ
グラムメモリ201(図2)又はプログラムRAM30
1にロードされる。これにより、各発音チャネル毎に、
自動的に音源方式が定まった音源処理プログラムが実行
されることになる。以下、これらの音源処理プログラム
として実行される各音源方式の原理について説明する。
なお、音源処理プログラムの転送動作については後述す
る。 <PCM方式による音源処理>図18は、PCM方式に
よる音源処理が実行される場合の動作フローチャートで
ある。フロー中の各変数は、MCPU 101又はSCPU 1
02のRAM206、306上の図14のいずれかの発
音チャネル領域に記憶される図15、図16のテーブル
1のPCMフォーマットの各データである。
The sound source processing of each sound source method executed using such a data structure will be sequentially described below. Here, according to the setting of the tone color, etc.
Different sound source schemes such as M, DPCM, FM or TM can be assigned. Then, when the tone color or the like is set, the sound source processing programs in which the sound source schemes for 8 channels are determined are collectively processed from the external memory 116 (FIG. 1) to the program memory 201 (FIG. 2) or the program RAM 30.
Loaded to 1. As a result, for each pronunciation channel,
A sound source processing program whose sound source method has been determined is automatically executed. The principle of each sound source method executed as these sound source processing programs will be described below.
The transfer operation of the sound source processing program will be described later. <Sound Source Processing by PCM Method> FIG. 18 is an operation flowchart when the sound source processing by the PCM method is executed. Each variable in the flow is MCPU 101 or SCPU 1
14 is each data in the PCM format of the table 1 of FIGS. 15 and 16 stored in one of the tone generation channel areas of FIG.

【0066】外部メモリ116(図1)上のPCM波形
データが記憶されているアドレスのうち、現在の処理の
対象とされる波形データが記憶されているアドレスを図
21に示す(AI,AF )とする。
Of the addresses where the PCM waveform data is stored in the external memory 116 (FIG. 1), the addresses where the waveform data to be currently processed are stored are shown in FIG. 21 (AI, AF). And

【0067】まず、現在のアドレスにピッチデータ(P
I,PF )が加算される(S1901)。このピッチデータ
は、図7の鍵盤キー702等において押鍵操作された鍵
の種類に対応している。
First, the pitch data (P
I, PF) are added (S1901). This pitch data corresponds to the type of key pressed by the keyboard key 702 or the like in FIG.

【0068】そして、加算されたアドレスの整数部AI
が変わったか否かが判定される(S1902)。判定がNO
ならば、図21のアドレス(AI +1)及びAI におけ
るそれぞれのサンプルデータXN とXP との差である差
分値Dを用いて、D×AF なる演算処理により、アドレ
スの小数部AF に対応する補間データ値Oが計算される
(S1907)。なお、差分値Dは、今回以前のインタラプ
トタイミングにおける音源処理により求まっている(後
述するS1906参照)。
Then, the integer part AI of the added address
It is determined whether or not has changed (S1902). Judgment is NO
Then, using the difference value D which is the difference between the sample data XN and XP at the addresses (AI + 1) and AI in FIG. 21, the interpolation processing corresponding to the fractional part AF of the address is performed by the arithmetic processing of D × AF. The data value O is calculated (S1907). The difference value D is obtained by the sound source processing at the interrupt timing before this time (see S1906 described later).

【0069】そして、上記補間データ値Oにアドレスの
整数部AI に対応するサンプルデータXP が加算され、
現在のアドレス(AI,AF )に対応する新しいサンプル
データO(図21のXQ に相当する)が得られる(S19
08)。
Then, the sample data XP corresponding to the integer part AI of the address is added to the interpolation data value O,
New sample data O (corresponding to XQ in FIG. 21) corresponding to the current address (AI, AF) is obtained (S19).
08).

【0070】この後、このサンプルデータにエンベロー
プ値Eが乗算され(S1909)、得られたOの内容がMCP
U 101又はSCPU 102のRAM206又は306内
の波形データバッフアB(図17参照)に加算される
(S1910)。
After this, this sample data is multiplied by the envelope value E (S1909), and the contents of the obtained O are MCP.
It is added to the waveform data buffer B (see FIG. 17) in the RAM 206 or 306 of the U 101 or SCPU 102 (S1910).

【0071】その後、図9のメインフローに戻り、次の
サンプリング周期でインタラプトが掛かって、図18の
音源処理の動作フローチャートがふたたび実行され、現
在アドレス(AI,AF )にピッチデータ(PI,PF )が
加算される(S1901)。
After that, returning to the main flow of FIG. 9, an interrupt is applied at the next sampling period, the operation flowchart of the sound source processing of FIG. 18 is executed again, and the pitch data (PI, PF) is added to the current address (AI, AF). ) Is added (S1901).

【0072】以上の動作がアドレスの整数部AI が変わ
る(S1902)まで繰り返される。この間、サンプルデー
タXP 及び差分値Dは更新されず、補間データOのみが
アドレスAF に応じて更新され、その都度サンプルデー
タXQ が得られる。
The above operation is repeated until the integer part AI of the address changes (S1902). During this time, the sample data XP and the difference value D are not updated, only the interpolation data O is updated according to the address AF, and the sample data XQ is obtained each time.

【0073】次に、S1901で現在アドレス(AI,AF )
にピッチデータ(PI,PF )が加算された結果、現在ア
ドレスの整数部AI が変化したら(S1902)、アドレス
AIがエンドアドレスAE に達しているか又は越えてい
るか否かが判定される(S1903)。
Next, in S1901, the current address (AI, AF)
If the integer part AI of the current address changes as a result of adding the pitch data (PI, PF) to (S1902), it is determined whether the address AI has reached or exceeded the end address AE (S1903). .

【0074】判定がYESならば、次のループ処理が行
われる。すなわち、エンドアドレスAE を越えた分のア
ドレス(AI −AE )がループアドレスAL に加算さ
れ、それにより得られた新しい現在アドレスの整数部A
I からループ再生が開始される(S1904)。エンドアド
レスAE とは、PCM波形データの最後の波形サンプル
データが記憶されている外部メモリ116(図1)上の
アドレスである。また、ループアドレスAL とは、演奏
者が波形の出力を繰り返したい位置のアドレスであり、
上記動作により、PCM方式で周知のループ処理が実現
される。
If the determination is YES, the following loop processing is performed. That is, the address beyond the end address AE (AI-AE) is added to the loop address AL, and the integer part A of the new current address obtained thereby is added.
Loop reproduction is started from I (S1904). The end address AE is an address on the external memory 116 (FIG. 1) in which the last waveform sample data of the PCM waveform data is stored. The loop address AL is the address of the position where the performer wants the waveform output to repeat,
By the above operation, a well-known loop process is realized by the PCM method.

【0075】S1903の判定がNOならば、上記ステップ
S1904の処理は実行されない。次に、サンプルデータの
更新が行われる。ここでは、外部メモリ116(図1参
照)から、新しく更新された現在アドレスAI と1つ手
前のアドレス(AI −1)に対応する各サンプルデータ
が、それぞれXN 及びXP として読み出される(S190
5)。
If the determination in S1903 is NO, the process in step S1904 is not executed. Next, the sample data is updated. Here, the sample data corresponding to the newly updated current address AI and the immediately preceding address (AI -1) are read from the external memory 116 (see FIG. 1) as XN and XP, respectively (S190).
Five).

【0076】更に、今までの差分値が、更新した上記X
N とXP との差分値Dに更新される(S1906)。これ以
後の動作は前述した通りである。
Further, the difference value up to now is the updated X
The difference value D between N and XP is updated (S1906). The operation thereafter is as described above.

【0077】以上のようにして、1発音チャネル分のP
CM方式による波形データが生成される。 <DPCM方式による音源処理>次に、DPCM方式に
ついて説明する。
As described above, P for one sound channel
Waveform data based on the CM method is generated. <Sound Source Processing by DPCM System> Next, the DPCM system will be described.

【0078】まず、図22を用いて、DPCM方式の動
作原理の概略を説明する。同図において、外部メモリ1
16(図1)のアドレスAI に対応するサンプルデータ
XP は、アドレスAI の1つ前の特には図示しないアド
レス(AI −1)に対応するサンプルデータとの差分値
から求めた値である。
First, the operating principle of the DPCM system will be outlined with reference to FIG. In the figure, the external memory 1
The sample data XP corresponding to the address AI of 16 (FIG. 1) is a value obtained from the difference value from the sample data corresponding to the address (AI -1) not shown, which is immediately before the address AI.

【0079】外部メモリ116(図1)のアドレスAI
には、次の差分値Dが書き込まれているので、次のアド
レスのサンプルデータはXP +Dで求まり、これが新た
なサンプルデータXP としておきかわる。この場合、現
在アドレスを、図22のようにAF とすれば、現在アド
レスAFに対応するサンプルデータは、XP +D×AF
で求まる。
Address AI of external memory 116 (FIG. 1)
Since the next difference value D is written in, the sample data at the next address is found by XP + D, and this is replaced as new sample data XP. In this case, if the current address is AF as shown in FIG. 22, the sample data corresponding to the current address AF is XP + D × AF
Is determined by

【0080】このように、DPCM方式では、現在のア
ドレスと、次のアドレスに対応するサンプルデータ間の
差分値Dが外部メモリ116(図1)から読み出され、
現在のサンプルデータに加算されて、次のサンプルデー
タが求められることにより、順次波形データが作成され
る。
As described above, in the DPCM method, the difference value D between the current address and the sample data corresponding to the next address is read from the external memory 116 (FIG. 1),
The waveform data is sequentially created by adding the current sample data and obtaining the next sample data.

【0081】このようなDPCM方式を採用すると、隣
接する標本間の差分値が一般に小さい音声や楽音等のよ
うな波形を量子化する場合、通常のPCM方式に比較し
て、はるかに少ないビット数で量子化を行える。
When such a DPCM method is adopted, when quantizing a waveform such as a voice or a musical sound whose difference value between adjacent samples is generally small, the number of bits is much smaller than that of the normal PCM method. You can quantize with.

【0082】以上のDPCM方式による音源処理が実行
される場合の動作フローチャートを図19、図20に示
す。フロー中の各変数は、MCPU 101のRAM206
又はSCPU 102のRAM306上の図14のいずれか
の発音チャネル領域に記憶される図15のテーブル1の
DPCMフォーマットの各データである。
FIG. 19 and FIG. 20 show operation flowcharts when the sound source processing by the above DPCM method is executed. Each variable in the flow is the RAM 206 of the MCPU 101.
Alternatively, it is each data in the DPCM format of the table 1 of FIG. 15 stored in one of the tone generation channel areas of FIG. 14 on the RAM 306 of the SCPU 102.

【0083】外部メモリ116(図1)上のDPCM差
分波形データが記憶されているアドレスのうち、現在の
処理の対象とされるデータが記憶されているアドレス
を、図22に示す(AI,AF )とする。
Of the addresses where the DPCM difference waveform data is stored on the external memory 116 (FIG. 1), the addresses where the data to be currently processed are stored are shown in FIG. 22 (AI, AF). ).

【0084】まず、現在アドレス(AI,AF )に、ピッ
チデータ(PI,PF )が加算される(S2001)。そし
て、加算されたアドレスの整数部AI が変化したか否か
が判定される(S2002)。判定がNOならば、図22の
アドレスAI における差分値Dを用いて、D×AF なる
演算処理により、アドレスの小数部AF に対応する補間
データ値Oが演算される(S2014)。なお、差分値D
は、今回以前のインタラプトタイミングにおける音源処
理により求まっている(後述するS2006とS2010参
照)。
First, the pitch data (PI, PF) is added to the current address (AI, AF) (S2001). Then, it is determined whether or not the integer part AI of the added address has changed (S2002). If the judgment is NO, the interpolated data value O corresponding to the fractional part AF of the address is calculated by the calculation process of D × AF using the difference value D at the address AI of FIG. 22 (S2014). The difference value D
Is obtained by the sound source processing at the interrupt timing before this time (see S2006 and S2010 described later).

【0085】次に、上記補間データ値Oにアドレスの整
数部AI に対応するサンプルデータXP が加算され、現
在アドレス(AI,AF )に対応する新しいサンプルデー
タO(図22のXQ に対応)が得られる(S2015)。
Next, the sample data XP corresponding to the integer part AI of the address is added to the interpolation data value O, and new sample data O (corresponding to XQ in FIG. 22) corresponding to the current address (AI, AF) is obtained. Obtained (S2015).

【0086】この後、このサンプルデータにエンベロー
プ値Eが乗算され(S2016)、得られたOの内容がMCP
U 101のRAM206又はSCPU 102のRAM30
6内の波形データバッフアB(図17参照)に加算され
る(S2017)。
Thereafter, this sample data is multiplied by the envelope value E (S2016), and the content of the obtained O is MCP.
RAM 206 of U 101 or RAM 30 of SCPU 102
It is added to the waveform data buffer B in 6 (see FIG. 17) (S2017).

【0087】その後、図9のメインフローに戻り、次の
サンプリング周期でインタラプトが掛かり、図19、図
20の音源処理の動作フローチャートが再び実行され、
現在アドレス(AI,AF )にピッチデータ(PI,PF )
が加算される(S2001)。
Then, returning to the main flow of FIG. 9, an interrupt is applied in the next sampling cycle, and the operation flowcharts of the sound source processing of FIGS. 19 and 20 are executed again.
Pitch data (PI, PF) at the current address (AI, AF)
Is added (S2001).

【0088】以上の動作が、アドレスの整数部AI に変
化が生ずるまで繰り返される。この間、サンプルデータ
XP 及び差分値Dは更新されず、補間データOのみがア
ドレスAF に応じて更新されて、その都度新たなサンプ
ルデータXQ が得られる。
The above operation is repeated until a change occurs in the integer part AI of the address. During this time, the sample data XP and the difference value D are not updated, only the interpolation data O is updated according to the address AF, and new sample data XQ is obtained each time.

【0089】次に、S2001で現在アドレス(AI,AF )
にピッチデータ(PI,PF )が加算された結果、現在ア
ドレスの整数部AI が変化したら(S2002)、アドレス
AIがエンドアドレスAE に達しているか或いは越えて
いるか否かが判定される(S2003)。
Next, in S2001, the current address (AI, AF)
If the integer part AI of the current address changes as a result of adding the pitch data (PI, PF) to (S2002), it is determined whether the address AI reaches or exceeds the end address AE (S2003). .

【0090】判定がNOの場合、以下のS2004〜S2007
のループ処理により、現在アドレスの整数部AI に対応
するサンプルデータが計算される。すなわち、まず、旧
AIという変数(図15のテーブル1のDPCMの欄参
照)には、現在アドレスの整数部AI が変化する前の値
が格納されている。この値の格納は、後述するS2006又
はS2013の処理の繰り返しにより実現される。この旧A
I の値がS2006で順次インクリメントされながら、S20
07で旧AI により指示される外部メモリ116(図1)
上の差分波形データがDとして読み出され、S2005にお
いて順次サンプルデータXP に累算される。そして、旧
AI の値が変化後の現在アドレスの整数部AI に等しく
なった時点で、サンプルデータXP の値は変化後の現在
アドレスの整数部AI に対応する値となる。
When the determination is NO, the following S2004-S2007
By the loop processing of, the sample data corresponding to the integer part AI of the current address is calculated. That is, first, the value before the change of the integer part AI of the current address is stored in the variable called the old AI (see the column of DPCM in Table 1 of FIG. 15). The storage of this value is realized by repeating the processing of S2006 or S2013 described later. This old A
While the value of I is sequentially incremented in S2006, S20
External memory 116 designated by old AI at 07 (Fig. 1)
The difference waveform data above is read out as D and is sequentially accumulated in S2005 as sample data XP. Then, when the value of the old AI becomes equal to the integer part AI of the changed current address, the value of the sample data XP becomes the value corresponding to the integer part AI of the changed current address.

【0091】このようにして、現在アドレスの整数部A
I に対応するサンプルデータXP が求まると、S2004の
判定がYESとなり、前述の補間値の演算処理(S201
4)に移る。
In this way, the integer part A of the current address
When the sample data XP corresponding to I is obtained, the determination in S2004 is YES, and the above-described interpolation value calculation processing (S201
Go to 4).

【0092】上述の音源処理が各インタラプトタイミン
グ毎に繰り返され、S2003の判定がYESに変化した
ら、次のループ処理に入る。まず、エンドアドレスAE
を越えた分のアドレス(AI −AE )がループアドレス
AL に加算され、得られたアドレスが新たな現在アドレ
スの整数部AI とされる(S2008)。
The above-described sound source processing is repeated at each interrupt timing, and when the determination in S2003 changes to YES, the next loop processing is started. First, the end address AE
The address (AI-AE) that exceeds this is added to the loop address AL, and the obtained address is set as the integer part AI of the new current address (S2008).

【0093】以下、ループアドレスAL からどれだけア
ドレスが進んだかによって、何回か差分値Dを累算する
操作が繰り返されることにより、新たな現在アドレスの
整数部AI に対応するサンプルデータXP が計算され
る。すなわち、まず、初期設定としてサンプルデータX
P が予め設定されているループアドレスAL におけるサ
ンプルデータXPL(図15のテーブル1のDPCMの欄
参照)の値とされ、また、旧AI がループアドレスAL
の値とされる(S2009)。そして、以下のS2010〜S20
13の処理が繰り返される。すなわち、旧AI の値がS20
13で順次インクリメントされながら、S2010で旧AI に
より指示される外部メモリ116(図1)上の差分波形
データがDとして読み出され、S2012において順次サン
プルデータXP に累算される。そして、旧AI の値が新
たな現在アドレスの整数部AI に等しくなった時点で、
サンプルデータXP の値はループ処理後の新たな現在ア
ドレスの整数部AI に対応する値となる。
Thereafter, the operation of accumulating the difference value D is repeated several times depending on how much the address has advanced from the loop address AL, so that the sample data XP corresponding to the integer part AI of the new current address is calculated. To be done. That is, first, as an initial setting, the sample data X
P is the value of the sample data XPL (see the DPCM column in Table 1 of FIG. 15) at the preset loop address AL, and the old AI is the loop address AL.
(S2009). And the following S2010-S20
The process of 13 is repeated. That is, the old AI value is S20.
The differential waveform data on the external memory 116 (FIG. 1) instructed by the old AI is read out as D in S2010 while being sequentially incremented in 13, and is sequentially accumulated in S2012 in the sample data XP. Then, when the value of the old AI becomes equal to the integer part AI of the new current address,
The value of the sample data XP becomes the value corresponding to the integer part AI of the new current address after the loop processing.

【0094】このようにして、新たな現在アドレスの整
数部AI に対応するサンプルデータXP が求まると、S
2011の判定がYESとなって、前述の補間値の演算処理
(S2014)に移る。
In this way, when the sample data XP corresponding to the new integer part AI of the current address is obtained, S
When the determination in 2011 is YES, the process proceeds to the above-described interpolation value calculation process (S2014).

【0095】以上のようにして、1発音チャネル分のD
PCM方式による波形データが生成される。 <FM変調方式による音源処理>次に、FM変調方式に
よる音源処理について説明する。
As described above, D for one sound generation channel
Waveform data based on the PCM method is generated. <Sound Source Processing by FM Modulation Method> Next, sound source processing by the FM modulation method will be described.

【0096】FM変調方式では、通常、図24のOP1,OP
2 で示されるような、オペレータと呼ばれる同一機能を
有するハードウエア又はソフトウエアのモジュールが用
いられ、それらが同図に示されるような接続規則で相互
に接続されることにより、楽音の生成が行われる。本実
施例では、ソフトウエア処理によりFM変調方式を実現
するものである。
In the FM modulation method, normally, OP1 and OP in FIG.
A hardware or software module having the same function called an operator as shown in Fig. 2 is used, and these are connected to each other according to the connection rule shown in the figure to generate a musical tone. Be seen. In this embodiment, the FM modulation method is realized by software processing.

【0097】図23は、2オペレータのFM変調方式に
よる音源処理が実行される場合の動作フローチャートで
ある。処理のアルゴリズムは図24で示される。また、
フロー中の各変数は、MCPU 101又はSCPU 102の
RAM206、306上の図14のいずれかの発音チャ
ネル領域に記憶される、図16のテーブル1のFMフォ
ーマットの各データである。
FIG. 23 is an operation flow chart when the sound source processing by the FM modulation method of two operators is executed. The processing algorithm is shown in FIG. Also,
Each variable in the flow is each data in the FM format of the table 1 of FIG. 16 stored in the tone generation channel area of one of the RAMs 206 and 306 of the MCPU 101 or SCPU 102 of FIG.

【0098】最初に、モジュレータであるオペレータ2
(OP2) の処理が行われる。ピッチ処理については、PC
M方式のように補間が行われないので、整数アドレスA
2 のみである。すなわち、外部メモリ116(図1)に
は変調用の波形データが十分に細かい歩進間隔で記憶さ
れているものとする。
First, operator 2 which is a modulator
(OP2) processing is performed. PC for pitch processing
Since the interpolation is not performed unlike the M method, the integer address A
Only two. That is, it is assumed that the waveform data for modulation is stored in the external memory 116 (FIG. 1) at sufficiently fine step intervals.

【0099】まず、現在アドレスA2 にピッチデータP
2 が加算される(S2401)。次に、このアドレスA2 に
フィードバック出力FO2が変調入力として加算され、新
たなアドレスAM2が得られる(S2402)。フィードバッ
ク出力FO2は、前回のインタラプトタイミングにおいて
後述するS2405の処理が実行されることにより得られて
いる。
First, the pitch data P is assigned to the current address A2.
2 is added (S2401). Next, the feedback output F02 is added to this address A2 as a modulation input to obtain a new address AM2 (S2402). The feedback output F02 is obtained by executing the process of S2405 described below at the previous interrupt timing.

【0100】更に、アドレスAM2(位相)に対応する正
弦波の値が計算される。実際には、外部メモリ116
(図1)に正弦波データが記憶されており、上記アドレ
スAM2でその正弦波データをテーブル引きすることによ
り得られる(S2403)。
Further, the value of the sine wave corresponding to the address AM2 (phase) is calculated. In practice, the external memory 116
The sine wave data is stored in (FIG. 1) and is obtained by drawing a table of the sine wave data at the address AM2 (S2403).

【0101】続いて、上記正弦波データにエンベロープ
値E2 が乗算され出力O2 が得られる(S2404)。この
後、この出力O2 にフィードバック・レベルFL2が乗算
されフィードバック出力FO2が得られる(S2405)。こ
の出力FO2は、本実施例の場合、次回のインタラプトタ
イミングにおけるオペレータ2(OP2) への入力とされ
る。
Then, the sine wave data is multiplied by the envelope value E2 to obtain the output O2 (S2404). Thereafter, this output O2 is multiplied by the feedback level FL2 to obtain the feedback output F02 (S2405). In the case of this embodiment, this output F02 is input to the operator 2 (OP2) at the next interrupt timing.

【0102】また、O2 にモジュレーション・レベルM
L2が乗算されて、モジュレーション出力MO2が得られる
(S2406)。このモジュレーション出力M02は、オペレ
ータ1(OP1) への変調入力になる。
Also, the modulation level M for O2
It is multiplied by L2 to obtain the modulation output MO2 (S2406). This modulation output M02 becomes a modulation input to the operator 1 (OP1).

【0103】次に、オペレータ1(OP1) の処理に移る。
この処理は、フィードバック出力による変調入力が無い
他は、殆ど上述のオペレータ2の場合と同じである。ま
ず、オペレータ1の現在アドレスA1 にピッチデータP
1 が加算され(S2407)、この値に上述のモジュレーシ
ョン出力MO2が加算されて新たなアドレスAM1が得られ
る(S2408)。
Next, the processing of the operator 1 (OP1) is started.
This process is almost the same as the case of the operator 2 described above except that there is no modulation input by the feedback output. First, the pitch data P is added to the current address A1 of the operator 1.
1 is added (S2407), and the above-mentioned modulation output MO2 is added to this value to obtain a new address AM1 (S2408).

【0104】次に、このアドレスAM1(位相)に対応す
る正弦波の値が外部メモリ116(図1)から読み出さ
れ(S2409)、これにエンベロープ値E1 が乗算され楽
音波形出力O1 が得られる(S2410)。
Next, the value of the sine wave corresponding to this address AM1 (phase) is read from the external memory 116 (FIG. 1) (S2409), and this is multiplied by the envelope value E1 to obtain the tone waveform output O1. (S2410).

【0105】そして、これがRAM206(図2)又は
306(図3)内のバッファB(図17参照)に加算さ
れて(S2411)、1発音チャネル分のFM変調処理を終
了する。 <TM変調方式による音源処理>次に、TM変調方式に
よる音源処理について説明する。
Then, this is added to the buffer B (see FIG. 17) in the RAM 206 (FIG. 2) or 306 (FIG. 3) (S2411), and the FM modulation processing for one sound channel is completed. <Sound Source Processing by TM Modulation Method> Next, sound source processing by the TM modulation method will be described.

【0106】まず、TM変調方式の原理について説明す
る。前述のFM変調方式は、 e=A・sin{ωct+I(t)・sinωmt} なる演算式を基本とする。ここで、ωctは搬送波位相角
(搬送信号)、sin ωmtは変調波位相角(変調信号)、
及びI(t)は変調指数である。
First, the principle of the TM modulation method will be described. The FM modulation method described above is based on the arithmetic expression e = A · sin {ωct + I (t) · sinωmt}. Where ωct is the carrier wave phase angle (carrier signal), sin ωmt is the modulated wave phase angle (modulated signal),
And I (t) are the modulation indices.

【0107】これに対し、本実施例でTM変調方式と呼
ぶ位相変調方式は、 e =A・fT{ fc(t)+I(t)・sinωmt} なる演算式を基本とする。ここで、fT(t) は三角波関数
であり、各位相角の領域毎に次のような関数で定義され
る(ただし、ωは入力)。
On the other hand, the phase modulation method called the TM modulation method in this embodiment is basically based on the arithmetic expression of e = Af T {fc (t) + I (t) sinωmt}. Here, f T (t) is a triangular wave function and is defined by the following function for each phase angle region (where ω is an input).

【0108】 fT(ω)=2/π・ω ・・・( 領域:0≦ω≦π/2) fT(ω)=−1+2/π(3π/2−ω) ・・・( 領域:π/2≦ω≦3π/2) fT(ω)=−1+2/π( ω−3 π/2) ・・・( 領域:3π/2≦ω≦2π) また、fcは変形サイン波と呼ばれ、各位相角の領域毎
に、異なるサイン波形データの記憶されている外部メモ
リ116(図1)を、搬送位相角ωct でアクセスして
得られる搬送信号生成関数である。各位相角の領域毎の
fcは、次のように定義される。
F T (ω) = 2 / πω (region: 0 ≦ ω ≦ π / 2) f T (ω) = − 1 + 2 / π (3π / 2−ω) (region : π / 2 ≤ ω ≤ 3π / 2) f T (ω) = -1 + 2 / π (ω-3 π / 2) ・ ・ ・ (Area: 3π / 2 ≤ ω ≤ 2π) Also, fc is the modified sine wave. Is a carrier signal generation function obtained by accessing the external memory 116 (FIG. 1) in which different sine waveform data is stored for each phase angle region at the carrier phase angle ωct. For each phase angle region
fc is defined as follows.

【0109】 fc(t)=(π/2)sinωct ・・・(領域:0≦ωct≦π/2) fc(t)=π−(π/2)sinωct ・・・(領域:π≦ωct≦3π/2) fc(t)=2π+(π/2)sinωct ・・・(領域:3π/2≦ωct≦2π) TM変調方式では、上述の如き関数fc(t) で生成される
搬送信号に、変調信号sin ωmtを変調指数I(t)で示され
る割合で加算して得た加算信号により、前述の三角波関
数が変調される。これにより、変調指数I(t)の値が0で
あれば正弦波を生成することができ、I(t)の値を大きく
してゆけば非常に深く変調された波形を生成することが
できる。ここで、変調信号sin ωmtの代わりに様々な信
号を用いることができ、以下に述べるように、前回演算
時の自分のオペレータ出力を一定のフィードバックレベ
ルでフィードバックさせたり、他のオペレータの出力を
入力させたりすることができる。
Fc (t) = (π / 2) sin ωct (area: 0 ≦ ωct ≦ π / 2) fc (t) = π− (π / 2) sin ωct (area: π ≦ ωct ≦ 3π / 2) fc (t) = 2π + (π / 2) sin ωct (area: 3π / 2 ≦ ωct ≦ 2π) In the TM modulation method, a carrier signal generated by the function fc (t) as described above. In addition, the above-mentioned triangular wave function is modulated by the addition signal obtained by adding the modulation signal sin ωmt at the ratio indicated by the modulation index I (t). With this, if the value of the modulation index I (t) is 0, a sine wave can be generated, and if the value of I (t) is increased, a very deeply modulated waveform can be generated. . Here, various signals can be used in place of the modulation signal sin ωmt, and as described below, the operator's output during the previous calculation is fed back at a constant feedback level, or the output of another operator is input. It can be done.

【0110】このような原理のもとでTM変調方式によ
る音源処理が実行される場合の動作フローチャートを図
25に示す。この場合も、図23のFM変調方式の場合
と同様、2オペレータで音源処理を行う場合の例であ
り、処理のアルゴリズムは図26で示される。また、フ
ロー中の各変数は、MCPU 101又はSCPU 102のR
AM206、306上の図14のいずれかの発音チャネ
ル領域に記憶される、図16のテーブル1のTMフォー
マットの各データである。
FIG. 25 shows an operation flowchart in the case where the sound source processing by the TM modulation method is executed based on such a principle. Also in this case, as in the case of the FM modulation method in FIG. 23, this is an example of the case where the sound source processing is performed by two operators, and the processing algorithm is shown in FIG. In addition, each variable in the flow is the R of the MCPU 101 or SCPU 102.
It is each data of the TM format of the table 1 of FIG. 16 stored in one of the tone generation channel areas of FIG. 14 on the AMs 206 and 306.

【0111】最初に、モジュレータであるオペレータ2
(OP2) の処理が行われる。ピッチ処理については、PC
M方式のように補間が行われないので、整数アドレスA
2 のみである。
First, operator 2 which is a modulator
(OP2) processing is performed. PC for pitch processing
Since the interpolation is not performed unlike the M method, the integer address A
Only two.

【0112】まず、現在アドレスA2 にピッチデータP
2 が加算される(S2601)。次に、変形サイン変換fcに
より、上記アドレスA2 (位相)に対応する変形サイン
波が外部メモリ116(図1)から読み出され、搬送信
号がO2 として生成される(S2602)。
First, the pitch data P is assigned to the current address A2.
2 is added (S2601). Next, by the modified sine conversion fc, the modified sine wave corresponding to the address A2 (phase) is read from the external memory 116 (FIG. 1), and the carrier signal is generated as O2 (S2602).

【0113】続いて、搬送信号である上述のO2 に、変
調信号としてフィードバック出力FO2(S2606)が加算
され、新たなアドレスが得られてO2 とされる(S260
3)。フィードバック出力FO2は、前回のインタラプト
タイミングにおいて後述するS2606の処理が実行される
ことにより得られている。
Then, the feedback output FO2 (S2606) is added as a modulation signal to the above-mentioned O2 which is a carrier signal, and a new address is obtained to be O2 (S260).
3). The feedback output F02 is obtained by executing the process of S2606 described later at the previous interrupt timing.

【0114】そして、上述の加算アドレスO2 に対応す
る三角波の値が計算される。実際には、外部メモリ11
6(図1)に前述した三角波データが記憶されており、
上記アドレスO2 でその三角波データをテーブル引きす
ることにより得られる(S2604)。
Then, the value of the triangular wave corresponding to the above-mentioned addition address O2 is calculated. In reality, the external memory 11
6 (FIG. 1) stores the above-mentioned triangular wave data,
It is obtained by drawing a table of the triangular wave data at the address O2 (S2604).

【0115】続いて、上記三角波データにエンベロープ
値E2 が乗算され出力O2 が得られる(S2605)。この
後、この出力O2 にフィードバック・レベルFL2が乗算
されフィードバック出力FO2が得られる(S2607)。こ
の出力FO2は、本実施例の場合、次回のインタラプトタ
イミングにおけるオペレータ2(OP2) への入力とされ
る。
Subsequently, the triangular wave data is multiplied by the envelope value E2 to obtain the output O2 (S2605). Thereafter, this output O2 is multiplied by the feedback level FL2 to obtain the feedback output F02 (S2607). In the case of this embodiment, this output F02 is input to the operator 2 (OP2) at the next interrupt timing.

【0116】また、O2 にモジュレーション・レベルM
L2が乗算されて、モジュレーション出力MO2が得られる
(S2607)。このモジュレーション出力M02は、オペレ
ータ1(OP1) への変調入力になる。
Also, the modulation level M for O2
L2 is multiplied to obtain the modulation output MO2 (S2607). This modulation output M02 becomes a modulation input to the operator 1 (OP1).

【0117】次に、オペレータ1(OP1) の処理に移る。
この処理は、フィードバック出力による変調入力が無い
他は、殆ど上述のオペレータ2の場合と同じである。ま
ず、オペレータ1の現在アドレスA1 にピッチデータP
1 が加算され(S2608)、得られた値に対して前述の変
形サイン変換が行われて搬送信号がO1 として得られる
(S2609)。
Next, the processing of the operator 1 (OP1) is started.
This process is almost the same as the case of the operator 2 described above except that there is no modulation input by the feedback output. First, the pitch data P is added to the current address A1 of the operator 1.
1 is added (S2608), the above-mentioned modified sine transform is performed on the obtained value, and the carrier signal is obtained as O1 (S2609).

【0118】次に、このO1 に上述のモジュレーション
出力MO2が加算されて新たなO1 とされ(S2610)、こ
の値O1 が三角波変換され(S2611)、更にエンベロー
プ値E1 が乗算されて楽音波形出力O1 が得られる(S
2612)。
Next, the above-mentioned modulation output MO2 is added to this O1 to obtain a new O1 (S2610), this value O1 is subjected to triangular wave conversion (S2611), and the envelope value E1 is further multiplied to obtain the tone waveform output O1. Is obtained (S
2612).

【0119】これがRAM206(図2)又は306
(図3)内のバッファB(図17参照)に加算され(S
2613)、1発音チャネル分のTM変調処理を終了する。
以上、PCM、DPCM、FM、TMという4つの各種
音源方式が実行される場合の動作原理を説明した。この
中でFMとTMの2方式は変調方式であり、上述の例で
はいずれも、図24、図26に示すアルゴリズムに基づ
く2オペレータによる処理であるが、実際に演奏時の音
源処理は、オペレータの数がもっと多く、アルゴリズム
はより複雑であってもよい。 <音源処理プログラムの転送動作>最後に、本発明に関
連する音源処理プログラムの転送動作につき説明する。
This is the RAM 206 (FIG. 2) or 306.
It is added to the buffer B (see FIG. 17) in (FIG. 3) (S
2613) The TM modulation processing for one sound channel is completed.
Up to this point, the operation principle has been described in the case where the four various sound source systems of PCM, DPCM, FM and TM are executed. Of these, the two systems, FM and TM, are modulation systems, and in the above example, both are processes by two operators based on the algorithms shown in FIGS. 24 and 26. May be more complex and the algorithm may be more complex. <Transfer Operation of Sound Source Processing Program> Finally, the transfer operation of the sound source processing program related to the present invention will be described.

【0120】前述したように、音色等の設定に応じて、
各発音チャネル毎にPCM、DPCM、FM又はTM等
の異なる音源方式を割り当てることができる。そして、
音色等の設定が行われた場合、8チャネル分の音源方式
が定まった音源処理プログラムが一括して、外部メモリ
116(図1)からプログラムメモリ201(図2)又
はプログラムRAM301にロードされる。これによ
り、各発音チャネル毎にどの音源方式で楽音を生成する
かという判別処理を行うことが不要となる。
As described above, depending on the setting of the tone color or the like,
Different sound source systems such as PCM, DPCM, FM or TM can be assigned to each sounding channel. And
When a tone color or the like is set, a sound source processing program in which a sound source method for eight channels is determined is collectively loaded from the external memory 116 (FIG. 1) to the program memory 201 (FIG. 2) or the program RAM 301. As a result, it is not necessary to perform the determination process of which sound source method is used to generate a musical sound for each sounding channel.

【0121】この場合、MCPU 101のプログラムメモ
リ201は、ROM部分とRAM部分とからなってお
り、ROM部分には予め図9のメインフローのプログラ
ムが格納されている。これに対して、RAM部分には、
音色設定時等において、図10のインタラプト処理のプ
ログラムが図1の外部メモリ116から一括して転送さ
れる。また、SCPU 102のプログラムRAM301に
も、同様に図11のインタラプト処理のプログラムが転
送される。
In this case, the program memory 201 of the MCPU 101 is composed of a ROM portion and a RAM portion, and the ROM portion prestores the program of the main flow of FIG. On the other hand, in the RAM part,
At the time of setting a tone color, the interrupt processing program of FIG. 10 is collectively transferred from the external memory 116 of FIG. Further, the interrupt processing program of FIG. 11 is similarly transferred to the program RAM 301 of the SCPU 102.

【0122】図27に外部メモリ116上に予め格納さ
れる各種音源処理プログラムのデータ配置を、図28に
MCPU 101内のプログラムメモリ201のRAM部
分、又はSCPU 102内のプログラムRAM301のデ
ータ配置をそれぞれ示す。
FIG. 27 shows the data arrangement of various sound source processing programs stored in advance in the external memory 116, and FIG. 28 shows the RAM arrangement of the program memory 201 in the MCPU 101 or the program RAM 301 in the SCPU 102. Show.

【0123】今、演奏者が図7の機能キー701により
音色設定等を行うと、本実施例による楽音波形発生装置
は、例えば、MCPU 101及びSCPU 102上の楽音生
成を行うための8つの発音チャネルのそれぞれで、例え
ば全ての発音チャネルでPCM方式により楽音生成を行
う、又はTM方式により楽音生成を行う、或いは1〜3
チャネルでFM方式により、4〜6チャネルでTM方式
により、7〜8チャネルでPCM方式により楽音生成を
行う、というように機能することができる。
Now, when the performer sets a tone color or the like by using the function key 701 of FIG. 7, the musical tone waveform generating apparatus according to the present embodiment produces, for example, eight tones for generating musical tones on the MCPU 101 and SCPU 102. In each of the channels, for example, musical tone generation is performed by the PCM method in all sound generation channels, or musical tone generation is performed by the TM method, or 1 to 3
Musical tones can be generated by the FM system for channels, the TM system for 4 to 6 channels, and the PCM system for 7 to 8 channels.

【0124】そして、外部メモリ116上には、例えば
全ての発音チャネルでPCM方式により楽音生成を行う
ための図13の動作フローチャートに基づく8チャネル
分連続の音源処理プログラム、又はTM方式により楽音
生成を行うための8チャネル分連続の音源処理プログラ
ム、或いは1〜3チャネルでFM方式により、4〜6チ
ャネルでTM方式により、7〜8チャネルでPCM方式
により楽音生成を行うための8チャネル分連続の音源処
理プログラムが、図27のように、外部メモリ116上
の独立したアドレス領域に格納されている。
Then, on the external memory 116, for example, a sound source processing program for eight continuous channels based on the operation flow chart of FIG. 13 for generating musical tones by the PCM system for all tone generation channels, or musical tone generation by the TM system. 8 channel continuous sound source processing program for performing, or FM channel for 1 to 3 channels, TM method for 4 to 6 channels, and 8 channel continuous tone generation for PCM method on 7 to 8 channels. The sound source processing program is stored in an independent address area on the external memory 116 as shown in FIG.

【0125】この場合のデータ配置は、図27のように
16ビット単位となっている。これは、外部メモリ11
6等として汎用のROMなどを使用した場合に、16ビ
ット単位のものが多いので、それに対応可能とするため
である。そして、16ビット単位で割り振られた各アド
レス領域に、上述した音源処理プログラムが格納されて
いる。
The data arrangement in this case is in units of 16 bits as shown in FIG. This is the external memory 11
This is because when a general-purpose ROM or the like is used as 6, etc., there are many 16-bit units, so that it is possible to deal with it. The sound source processing program described above is stored in each address area allocated in units of 16 bits.

【0126】これに対して、プログラムメモリ201の
RAM部分及びプログラムRAM301のデータ配置
は、図28のように28ビット単位のネクストアドレス
方式のプログラムデータとなっている。
On the other hand, the data arrangement of the RAM portion of the program memory 201 and the program RAM 301 is 28-bit next-address type program data as shown in FIG.

【0127】そして、プログラムメモリ201上では、
28ビット単位で割り振られた例えばアドレス1BFF〜1F
FF(16進表現)に、前述した8チャネル分連続の音源
処理プログラムが、外部メモリ116から転送される。
なお、アドレス1BFFより前のアドレス部分は、図9のメ
インフローに対応するプログラムを格納するためのRO
M領域である。
Then, on the program memory 201,
For example, addresses 1BFF to 1F allocated in 28-bit units
The above-mentioned sound source processing program for eight continuous channels is transferred from the external memory 116 to FF (hexadecimal notation).
The address portion before the address 1BFF is an RO for storing the program corresponding to the main flow of FIG.
It is the M region.

【0128】ここで、外部メモリ116からプログラム
メモリ201への音源処理のプログラムデータの転送時
には、後述する図2のコマンド解析部207及びメモリ
アドレス制御部205が、両者のアドレスを同期させて
いる。
Here, at the time of transferring the program data of the sound source processing from the external memory 116 to the program memory 201, the command analysis unit 207 and the memory address control unit 205 of FIG. 2 which will be described later synchronize their addresses.

【0129】以上の動作は、プログラムRAM301に
対しても同様に行われる。但し、プログラムRAM30
1は音源処理を行うだけであるため、図9のメインフロ
ーを格納するためのROM領域はない。
The above operation is similarly performed for the program RAM 301. However, the program RAM 30
Since No. 1 only performs sound source processing, there is no ROM area for storing the main flow of FIG.

【0130】次に、上記データ配置に基づく具体的な音
源処理プログラムの転送動作について、図29の動作タ
イミングチャートを用いて説明する。この転送動作は、
図2のMCPU 101内のコマンド解析部207が中心と
なって、特には図示しない発振器から発生する図29
(a) の原発振クロックから生成される同図(b),(c) の2
相クロックCK2及びCK1に同期して実行するものと
する。
Next, the specific transfer operation of the sound source processing program based on the above data arrangement will be described with reference to the operation timing chart of FIG. This transfer operation is
The command analysis unit 207 in the MCPU 101 shown in FIG.
2 of (b) and (c) in the figure generated from the original oscillation clock in (a)
It shall be executed in synchronization with the phase clocks CK2 and CK1.

【0131】まず、演奏者が図7の機能キー701で音
色設定の動作を行うと、コマンド解析部207は、図9
のステップS903 の機能キー処理において、図29(i)
のタイミングで音源処理プログラム転送命令の実行を開
始する。以下の動作は、全てコマンド解析部207が上
記転送命令を実行する動作として実現される。
First, when the performer performs a tone color setting operation using the function key 701 shown in FIG. 7, the command analysis section 207 causes the command analysis section 207 shown in FIG.
29 (i) in the function key processing of step S903 in FIG.
The execution of the sound source processing program transfer instruction is started at the timing of. The following operations are all realized as an operation in which the command analysis unit 207 executes the transfer instruction.

【0132】まず、コマンド解析部207は、設定され
た音色に対応する音源処理グループを判定し、それに対
応する8チャネル分の連続する音源処理プログラムが格
納されている外部メモリ116上の先頭アドレスを決定
する。
First, the command analysis unit 207 determines the sound source processing group corresponding to the set tone color, and determines the start address on the external memory 116 in which the continuous sound source processing programs for 8 channels corresponding thereto are stored. decide.

【0133】続いて、コマンド解析部207は、上記先
頭アドレスから図29(d) のように順次インクリメント
されるアドレス信号を、図2の外部メモリアクセス用ア
ドレスバスインタフェース215、アドレスバスMA等
を介して外部メモリ116に供給する。これによって、
図27の16ビット単位で割り振られた、設定された音
色に対応する8チャネル分の連続する音源処理プログラ
ムが格納されているアドレスが順次指定され、連続する
16ビット及び12ビットの有効データからなるプログ
ラムデータPRGが、図27のa,a´,b,b´,・
・・のように順次出力される。
Then, the command analysis section 207 sends an address signal sequentially incremented as shown in FIG. 29 (d) from the above start address via the external memory access address bus interface 215, the address bus MA, etc. of FIG. And supplies it to the external memory 116. by this,
Addresses in which continuous sound source processing programs for 8 channels corresponding to the set tone color, which are allocated in 16-bit units in FIG. 27, are sequentially designated, and consist of continuous 16-bit and 12-bit valid data. The program data PRG is a, a ', b, b', ...
.. are sequentially output.

【0134】これら16ビットの有効データ及び12ビ
ットの有効データともに、図1の16ビットのデータバ
スMDから図2のMCPU 101の外部メモリデータバス
インタフェース216に入力し、内部バスを介してプロ
グラムメモリ201に転送される。
Both the 16-bit valid data and the 12-bit valid data are input from the 16-bit data bus MD of FIG. 1 to the external memory data bus interface 216 of the MCPU 101 of FIG. 201 is transferred.

【0135】これと共に、コマンド解析部207は、図
29(h) のようにハイレベルに立ち上がったアドレス切
替信号Cを、図2のMCPU 101のメモリアドレス制御
部205及び図3のSCPU 102のRAMアドレス制御
部305とゲート回路314に出力する。メモリアドレ
ス制御部205は、アドレス切替信号Cがハイレベルの
場合には、楽音生成用のプログラムアドレスは生成せ
ず、図29(e) のように順次インクリメントされるA0
〜A12の13ビットからなるアドレス信号ADRを出力
する。このアドレス信号ADRは、プログラムアドレス
デコーダ202に入力される。
At the same time, the command analysis unit 207 sends the address switching signal C rising to a high level as shown in FIG. 29 (h) to the memory address control unit 205 of the MCPU 101 of FIG. 2 and the RAM of the SCPU 102 of FIG. It is output to the address control unit 305 and the gate circuit 314. When the address switching signal C is at the high level, the memory address control unit 205 does not generate the program address for tone generation, and is sequentially incremented A0 as shown in FIG. 29 (e).
An address signal ADR consisting of 13 bits from A12 to A12 is output. The address signal ADR is input to the program address decoder 202.

【0136】また、アドレス切替信号Cがハイレベルで
あることにより、図3のゲート回路314は、外部メモ
リ116から図2のMCPU 101を介して転送されてき
た音源処理のプログラムデータPRGを選択してプログ
ラムRAM301に入力すると共に、上述のアドレス信
号ADRを選択してRAMアドレス制御部305に送
る。そして、同制御部305は、それをそのままRAM
アドレスデコーダ302に入力する。これにより、図2
8の28ビット単位で割り振られたアドレス1BFF〜1FFF
が順次指定される。
Further, since the address switching signal C is at the high level, the gate circuit 314 in FIG. 3 selects the program data PRG for tone generator processing transferred from the external memory 116 via the MCPU 101 in FIG. The address signal ADR is selected and sent to the RAM address control unit 305. Then, the control unit 305 stores it as it is in the RAM.
Input to the address decoder 302. As a result, FIG.
Addresses 1BFF to 1FFF allocated in 28-bit units of 8
Are sequentially specified.

【0137】同時に、コマンド解析部207は、図29
(h) のようなアップダウン指示信号UDと、それに同期
した図29(i) のようなライト信号〜Wを、プログラム
メモリ201及びゲート回路314からプログラムRA
M301に供給する。
At the same time, the command analysis section 207 has the function shown in FIG.
An up / down instruction signal UD as shown in FIG. 29H and a write signal to W as shown in FIG.
Supply to M301.

【0138】以上の制御動作によって、外部メモリ11
6から出力される音源処理のプログラムデータPRGの
連続する16ビット及び12ビットの2データずつが、
プログラムメモリ201及びプログラムRAM301上
の各アドレス(13ビットのアドレス信号ADRで定ま
る)の下位16ビットと上位12ビット(アップダウン
指示信号UDで定まる)に順次格納されてゆく。
By the above control operation, the external memory 11
2 of continuous 16-bit and 12-bit data of the sound source processing program data PRG output from
The lower 16 bits and the upper 12 bits (determined by the up / down instruction signal UD) of each address (determined by the 13-bit address signal ADR) on the program memory 201 and the program RAM 301 are sequentially stored.

【0139】以上のようにして、メモリアドレス制御部
205がプログラムアドレスデコーダ202及びRAM
アドレスデコーダ302に対して指定する13ビットの
アドレス信号ADRが、図29(e) のように1FFFまでイ
ンクリメントされ、8チャネル分の連続する音源処理の
プログラムデータPRGの転送が終了したら、その旨が
同制御部205からコマンド解析部207に通知され
る。これにより、同解析部207は、図29(d) のよう
に外部メモリ116に対するアドレス信号の発生を終了
し、同時に図29(f),(g),(h) のようにアップダウン指
示信号UD、ライト信号〜W及びアドレス切替信号Cを
ローレベルに戻す。
As described above, the memory address control unit 205 controls the program address decoder 202 and the RAM.
When the 13-bit address signal ADR designated to the address decoder 302 is incremented to 1FFF as shown in FIG. 29 (e) and the transfer of the program data PRG of the continuous sound source processing for 8 channels is completed, this is notified. The control unit 205 notifies the command analysis unit 207. As a result, the analysis unit 207 ends the generation of the address signal for the external memory 116 as shown in FIG. 29 (d), and at the same time, as shown in FIG. 29 (f), (g), (h), the up / down instruction signal. The UD, the write signal to W, and the address switching signal C are returned to the low level.

【0140】以上の処理動作が、コマンド解析部207
が、図9のステップS903 の機能キー処理において図2
9(i) の音源処理プログラム転送命令を実行することに
より実現される。なお、上述の処理動作中は、図2のコ
マンド解析部207は、インタフェース制御部203に
対して、音源処理のためのインタラプト信号を発生しな
いように制御を行う。
The above-described processing operation is performed by the command analysis unit 207.
However, in the function key processing of step S903 of FIG.
This is realized by executing the sound source processing program transfer instruction of 9 (i). During the above-described processing operation, the command analysis unit 207 of FIG. 2 controls the interface control unit 203 so as not to generate an interrupt signal for sound source processing.

【0141】上述の動作以後、転送された音源処理プロ
グラムに基づいて各発音チャネル毎に任意の音源方式で
楽音生成が実行される。上述の動作において、選択され
る8チャネル分連続の音源処理プログラムによっては、
プログラム容量が異なるが、本実施例では、プログラム
メモリ201又はプログラムRAM301上には最大プ
ログラム容量分の領域が確保され、上述のプログラム転
送も無条件に最大プログラム容量分だけ実行される。従
って、選択されたプログラムによっては、余分なプログ
ラム部分が転送されることになるが、8チャネル分連続
の音源処理プログラムの最後には終了命令が格納されて
おり、それが実行されることにより、以後の余分なプロ
グラム部分は実行されないため問題は生じない。
After the above-described operation, tone generation is executed by an arbitrary sound source system for each sound generation channel based on the transferred sound source processing program. In the above operation, depending on the selected sound source processing program for 8 channels,
Although the program capacities are different, in the present embodiment, the area for the maximum program capacity is secured on the program memory 201 or the program RAM 301, and the above-mentioned program transfer is unconditionally executed for the maximum program capacity. Therefore, although an extra program part is transferred depending on the selected program, the end command is stored at the end of the sound source processing program for eight channels in succession, and by executing it, There is no problem because the subsequent extra program parts are not executed.

【0142】また、上述の音源処理プログラムには、図
10に対応するMCPU インタラプト処理のプログラム又
は図11に対応するSCPU インタラプト処理のプログラ
ムの部分まで含まれる。従って、プログラムメモリ20
1へのプログラム転送とプログラムRAM301へのプ
ログラム転送とでは、厳密には前者の方が、図10のス
テップS1012〜S1014’に対応する処理の分だけプログ
ラムステップ数が多いが、上述の転送動作では、プログ
ラムメモリ201及びプログラムRAM301の両者と
も図10に対応する同一のプログラムが転送される。そ
こで、同プログラムにおいて、ステップS1012にさしか
かる境界部分に特殊命令を挿入しておき、図3のSCPU
102のコマンド解析部307は、プログラムRAM3
01から上記特殊命令を読み出したら、その時点でSCP
U インタラプト処理を終了してMCPU 101に対してS
CPU 処理終了信号B(図1参照)を出力する。従って、
SCPU 102側では、上述の余分なプログラム部分は実
行されない。
Further, the sound source processing program described above includes a program part of the MCPU interrupt processing corresponding to FIG. 10 or a program part of the SCPU interrupt processing corresponding to FIG. Therefore, the program memory 20
Strictly speaking, in the program transfer to 1 and the program transfer to the program RAM 301, the former has a larger number of program steps by the processing corresponding to steps S1012 to S1014 ′ in FIG. The same program corresponding to FIG. 10 is transferred to both the program memory 201 and the program RAM 301. Therefore, in the same program, a special instruction is inserted in the boundary portion near step S1012, and the SCPU of FIG.
The command analysis unit 307 of the program RAM 3
When the above special command is read from 01, the SCP
U Ends the interrupt processing and sends S to MCPU 101
The CPU processing end signal B (see FIG. 1) is output. Therefore,
On the SCPU 102 side, the above-mentioned extra program part is not executed.

【0143】以上のようにして、音色設定時等に8チャ
ネル分の連続する音源処理プログラムを一括して外部メ
モリ116からプログラムメモリ201及びプログラム
RAM301にロードすることにより、各発音チャネル
毎にどの音源方式で楽音を生成するかという判別処理を
行うことが不要となり、図10又は図11のインタラプ
ト処理の実行時間を短縮化できる。これにより、演奏情
報を処理するための図9のメインフローのプログラムの
実行時間を多くとることができ、楽音生成の応答性能を
向上させることが可能となる。 <他の実施例の態様>上述の実施例では、演奏者が図7
の機能キー701で音色設定の動作を行ったときに、図
9のステップS903 の機能キー処理において音源処理プ
ログラム転送命令を実行するようにしたが、音色設定以
外の操作を行った場合に実行するようにしてもよい。ま
た、電源オン時等に自動的に実行される構成にすること
もできる。
As described above, when the tone color is set, the continuous tone generator processing programs for eight channels are collectively loaded from the external memory 116 to the program memory 201 and the program RAM 301, so that which tone generator is used for each tone generation channel. It is not necessary to perform the determination process of whether to generate a musical sound by the method, and the execution time of the interrupt process of FIG. 10 or 11 can be shortened. As a result, it is possible to increase the execution time of the program of the main flow of FIG. 9 for processing the performance information, and to improve the response performance of tone generation. <Aspects of Other Embodiments> In the above embodiment, the performer is shown in FIG.
When the tone color setting operation is performed using the function key 701 of FIG. 9, the sound source processing program transfer command is executed in the function key processing of step S903 of FIG. 9, but it is performed when an operation other than tone color setting is performed. You may do it. Further, it may be configured to be automatically executed when the power is turned on.

【0144】また、以上説明してきた本発明の一連の実
施例では、図1に示される如く、MCPU 101とSCPU
102という2つのCPUが異なる発音チャネルを分担
して処理するようにしたが、CPUの数は1つでも、ま
た、3つ以上でもよい。
Further, in the series of embodiments of the present invention described above, as shown in FIG. 1, the MCPU 101 and the SCPU are
Two CPUs, 102, share the different sounding channels and process them, but the number of CPUs may be one, or three or more.

【0145】更に、図2のMCPU 101の入力ポート2
10には、図7及び図8のような楽器操作部のほかに様
々な操作部を接続することが可能であり、これにより種
々の形態の電子楽器を実現できる。また、他の電子楽器
からの演奏情報を入力して音源処理のみを行う音源モジ
ュールとして実現することも容易である。
Further, the input port 2 of the MCPU 101 shown in FIG.
Various operation units can be connected to the instrument 10 in addition to the instrument operation units as shown in FIGS. 7 and 8, whereby various types of electronic musical instruments can be realized. Further, it is easy to realize as a sound source module that inputs performance information from another electronic musical instrument and performs only sound source processing.

【0146】[0146]

【発明の効果】本発明によれば、プログラム実行手段
は、所定時間間隔毎に各発音チャネルの楽音生成を行う
場合、音色設定時等に音源処理プログラム転送制御手段
により予め実行用プログラム記憶手段に転送された全発
音チャネル分連続した音源処理プログラムを一括して実
行することが可能となる。
According to the present invention, the program executing means stores the execution program storage means in advance by the sound source processing program transfer control means at the time of setting a tone color, etc., when the tone generation of each tone generation channel is performed at predetermined time intervals. It is possible to collectively execute the sound source processing programs that are continuous for all the transmitted sound generation channels.

【0147】これにより、各発音チャネル毎にどの音源
方式で楽音を生成するかという判別処理を行うことが不
要となり、分岐命令の数を削減することが可能となるた
め、同時に発音可能な発音チャネル数を増加させること
ができる等、楽器の性能を向上させることが可能とな
る。
As a result, it is not necessary to perform the discrimination process of which sound source method is used to generate a musical tone for each sounding channel, and the number of branch instructions can be reduced. It is possible to improve the performance of the musical instrument such as increasing the number.

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

【図1】本発明による実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment according to the present invention.

【図2】マスターCPUの内部構成図である。FIG. 2 is an internal configuration diagram of a master CPU.

【図3】スレーブCPUの内部構成図である。FIG. 3 is an internal configuration diagram of a slave CPU.

【図4】従来のD/A変換器部の構成図である。FIG. 4 is a configuration diagram of a conventional D / A converter unit.

【図5】本実施例によるD/A変換器部の構成図であ
る。
FIG. 5 is a configuration diagram of a D / A converter unit according to the present embodiment.

【図6】D/A変換におけるタイミングチャートであ
る。
FIG. 6 is a timing chart in D / A conversion.

【図7】機能キーと鍵盤キーの配置図である。FIG. 7 is a layout view of function keys and keyboard keys.

【図8】鍵盤キーの説明図である。FIG. 8 is an explanatory diagram of keyboard keys.

【図9】メイン動作フローチャートである。FIG. 9 is a main operation flowchart.

【図10】MCPU インタラプト処理の動作フローチャー
トである。
FIG. 10 is an operation flowchart of MCPU interrupt processing.

【図11】SCPU インタラプト処理の動作フローチャー
トである。
FIG. 11 is an operation flowchart of SCPU interrupt processing.

【図12】メイン動作フローチャートとインタラプト処
理の関係を示す概念図である。
FIG. 12 is a conceptual diagram showing a relationship between a main operation flowchart and interrupt processing.

【図13】音源処理の動作フローチャートである。FIG. 13 is an operation flowchart of sound source processing.

【図14】RAM上の発音チャネル別の記憶領域を示す
図である。
FIG. 14 is a diagram showing a storage area for each sound generation channel on a RAM.

【図15】RAM上の音源方式別のデータフォーマット
の構成図(その1)である。
FIG. 15 is a configuration diagram (part 1) of a data format for each sound source method on a RAM.

【図16】RAM上の音源方式別のデータフォーマット
の構成図(その2)である。
FIG. 16 is a configuration diagram (part 2) of a data format for each sound source method on the RAM.

【図17】RAM上のバッフア領域を示す図である。FIG. 17 is a diagram showing a buffer area on a RAM.

【図18】PCM方式による音源処理の動作フローチャ
ートである。
FIG. 18 is an operation flowchart of sound source processing according to the PCM method.

【図19】DPCM方式による音源処理の動作フローチ
ャート(その1)である。
FIG. 19 is an operation flowchart (No. 1) of sound source processing by the DPCM method.

【図20】DPCM方式による音源処理の動作フローチ
ャート(その2)である。
FIG. 20 is an operation flowchart (No. 2) of the sound source processing by the DPCM method.

【図21】PCM方式で差分値Dと現在アドレスAF を
用いて補間値XQ を求める場合の原理説明図である。
FIG. 21 is an explanatory diagram of the principle in the case of obtaining the interpolation value XQ using the difference value D and the current address AF in the PCM method.

【図22】DPCM方式で差分値Dと現在アドレスAF
を用いて補間値XQ を求める場合の原理説明図である。
FIG. 22 is a difference value D and a current address AF in the DPCM method.
It is a principle explanatory view in the case of calculating interpolation value XQ using.

【図23】FM方式による音源処理の動作フローチャー
トである。
FIG. 23 is an operation flowchart of sound source processing by the FM system.

【図24】FM方式による音源処理のアルゴリズムを示
す図である。
FIG. 24 is a diagram showing an algorithm of sound source processing by the FM system.

【図25】TM方式による音源処理の動作フローチャー
トである。
FIG. 25 is an operation flowchart of sound source processing by the TM method.

【図26】TM方式による音源処理のアルゴリズムを示
す図である。
FIG. 26 is a diagram showing an algorithm of a sound source processing by the TM method.

【図27】外部メモリ116のデータ配置図である。27 is a data layout diagram of the external memory 116. FIG.

【図28】プログラムメモリ201、プログラムRAM
301のデータ配置図である。
FIG. 28 is a program memory 201 and a program RAM
3 is a data layout diagram of 301. FIG.

【図29】音源処理プログラム転送の動作タイミングチ
ャートである。
FIG. 29 is an operation timing chart of the sound source processing program transfer.

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

101 マスターCPU 102 スレーブCPU 103 MCPU 外部メモリアクセス用アドレスラッ
チ部 104 SCPU 外部メモリアクセス用アドレスラッ
チ部 105 アクセス用アドレス競合回避回路 106 外部メモリセレクタ部 107 Left D/A変換器部 108 Right D/A変換器部 109 入力ポート 110 出力ポート 111、112 出力端子 113 レフト出力端子 114 ライト出力端子 115 外部メモリデータイン端子 116 外部メモリ 201 プログラムメモリ 202 メモリアドレスデコーダ 203 インタラプト制御部 204、205、304、305 RAMアドレス
制御部 206、306 RAM 207、307 コマンド解析部 208、308 ALU部 209、309 乗算器 210 入力ポート 211 出力ポート 212 SCPU 内部RAMアドレス指定バス・イン
タフェース 213 SCPU への書き込みデータバス・インタフ
ェース 214 SCPU からの読み込みデータバス・インタ
フェース 215 外部メモリアクセス用アドレスバス・イン
タフェース 216 外部メモリデータバス・インタフェース 217 D/Aデータ転送バス・インタフェース 218 プログラムROM 219 イニシャル転送制御部 301 プログラムRAM 302 RAMアドレス制御部 303 MCPU によるSCPU 内部RAMアドレス指
定バス・インタフェース 310 MCPU よりの書き込みデータバス・インタ
ーフェース 311 MCPU への読み出しデータバス・インタフ
ェース 312 外部メモリアクセス用アドレスバス・イン
タフェース 313 外部メモリデータバス・インタフェース 314 ゲート回路 401、501 ラッチ 402 D/A変換器 701 機能キー 702 鍵盤キー A SCPU リセット解除信号(処理開始信号) B SCPU 処理終了信号 C アドレス切替信号 Ma SCPU 内部RAMアドレス指定バス Dout MCPU がSCPU へ書き込むデータバス Din MCPU がSCPU へ読み込むデータバス MA MCPU が外部メモリを指定するアドレスバス SA SCPU が外部メモリを指定するアドレスバス MD MCPU が外部メモリから読み込むデータバス SD SCPU が外部メモリから読み込むデータバス PRG プログラムデータ ADR アドレス信号 UD アップダウン指示信号 〜W ライト信号
101 Master CPU 102 Slave CPU 103 MCPU External Memory Access Address Latch Unit 104 SCPU External Memory Access Address Latch Unit 105 Access Address Conflict Avoidance Circuit 106 External Memory Selector Unit 107 Left D / A Converter Unit 108 Right D / A Conversion Device section 109 Input port 110 Output port 111, 112 Output terminal 113 Left output terminal 114 Right output terminal 115 External memory data-in terminal 116 External memory 201 Program memory 202 Memory address decoder 203 Interrupt control section 204, 205, 304, 305 RAM address Control unit 206, 306 RAM 207, 307 Command analysis unit 208, 308 ALU unit 209, 309 Multiplier 210 Input port 211 Output port 21 SCPU Internal RAM addressing bus interface 213 Data bus interface for writing to SCPU 214 Data bus interface for reading from SCPU 215 Address bus interface for external memory access 216 External memory data bus interface 217 D / A data transfer bus Interface 218 Program ROM 219 Initial transfer control unit 301 Program RAM 302 RAM address control unit 303 SCPU by MCPU Internal RAM addressing bus interface 310 Write data bus interface by MCPU 311 Read data bus interface to MCPU 312 External memory access Address bus interface 313 External memory data bus interface 31 Gate circuit 401, 501 Latch 402 D / A converter 701 Function key 702 Keyboard key A SCPU Reset release signal (processing start signal) B SCPU processing end signal C Address switching signal Ma SCPU Internal RAM addressing bus Dout MCPU writes to SCPU Data bus Din MCPU reads to SCPU Data bus MA MCPU specifies external memory Address bus SAS CPU specifies external memory Address bus MD MCPU reads from external memory Data bus SD SCPU reads from external memory PRG program Data ADR address signal UD up / down instruction signal ~ W write signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 斯波 康祐 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (72)発明者 小倉 和夫 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (72)発明者 細田 潤 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (56)参考文献 特開 平2−179696(JP,A) 特開 昭59−168493(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kosuke Shiba 3-2-1 Sakaemachi, Hamura-cho, Nishitama-gun, Tokyo Inside Casio Computer Co., Ltd. Hamura Technical Center (72) Kazuo Ogura Sakae-cho, Hamura-cho, Nishitama-gun, Tokyo 3-2-1, Casio Computer Co., Ltd., Hamura Technology Center (72) Inventor Jun Hosoda 3-2-1, Sakaemachi, Hamura-cho, Nishitama-gun, Tokyo Casio Computer Co., Ltd., Hamura Technology Center (56) References Special Kaihei 2-179696 (JP, A) JP 59-168493 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 所定時間間隔で、複数の各発音チャネル
毎に、複数の音源方式のうち任意の音源方式の音源処理
プログラムを実行して楽音信号を生成するプログラム実
行手段を含む楽音波形発生装置において、 前記全発音チャネル分連続して実行される音源処理プロ
グラムを、前記全発音チャネルの音源方式の組合せ毎に
複数組保存する保存用プログラム記憶手段と、 前記所定時間間隔毎に、前記プログラム実行手段によ
り、前記全発音チャネル分連続して実行される音源処理
プログラムを記憶する実行用プログラム記憶手段と、 前記保存用プログラム記憶手段から前記全発音チャネル
分連続して実行される音源処理プログラムの任意の組を
読み出して前記実行用プログラム記憶手段に転送する音
源処理プログラム転送制御手段と、 を有することを特徴とする楽音波形発生装置。
1. A musical tone waveform generator including program executing means for executing a tone generator processing program of an arbitrary tone generator system among a plurality of tone generator systems at predetermined time intervals to generate a tone signal for each of a plurality of tone generator systems. In the above, a sound source processing program that is continuously executed for all sound generation channels, and a plurality of sets of storage program storage means for storing a plurality of sets for each combination of sound generation methods of all sound generation channels, and the program execution for each predetermined time interval. An execution program storage means for storing a sound source processing program continuously executed for all sound generation channels by means, and an arbitrary sound source processing program continuously executed for all sound generation channels from the storage program storage means. And a sound source processing program transfer control means for reading out the set and transferring the set to the execution program storage means. Tone waveform generation apparatus characterized by.
【請求項2】 所定時間間隔で、複数の各発音チャネル
毎に、複数の音源方式のうち任意の音源方式の音源処理
プログラムを実行して楽音信号を生成するプログラム実
行手段を含む複数のプロセッサで構成される楽音波形発
生装置において、 前記各プロセッサ毎に全発音チャネル分連続して実行さ
れる音源処理プログラムを、前記全発音チャネルの音源
方式の組合せ毎に複数組保存する保存用プログラム記憶
手段と、 前記各プロセッサ毎に設けられ、前記所定時間間隔毎
に、前記各プロセッサのプログラム実行手段により、前
記各プロセッサの全発音チャネル分連続して実行される
音源処理プログラムを記憶する実行用プログラム記憶手
段と、 前記保存用プログラム記憶手段から前記全発音チャネル
分連続して実行される音源処理プログラムの任意の組を
読み出して前記各プロセッサの実行用プログラム記憶手
段に転送する音源処理プログラム転送制御手段と、 を有することを特徴とする楽音波形発生装置。
2. A plurality of processors including a program executing means for executing a sound source processing program of an arbitrary sound source method among a plurality of sound source methods for a plurality of sound source channels at predetermined time intervals to generate a musical tone signal. In the musical tone waveform generating apparatus, a storage program storage means for storing a plurality of sound source processing programs continuously executed for all sound generation channels for each processor for each combination of sound source systems of all sound generation channels. An execution program storage means is provided for each processor, and stores a sound source processing program that is continuously executed for all sound generation channels of each processor by the program execution means of each processor at each predetermined time interval. And a sound source processing program continuously executed for all the sound generation channels from the storage program storage means A sound source processing program transfer control means for reading out any set of the above and transferring it to the execution program storage means of each processor.
JP6324458A 1994-12-27 1994-12-27 Musical sound wave generator Expired - Fee Related JP2678974B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6324458A JP2678974B2 (en) 1994-12-27 1994-12-27 Musical sound wave generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6324458A JP2678974B2 (en) 1994-12-27 1994-12-27 Musical sound wave generator

Publications (2)

Publication Number Publication Date
JPH07319471A JPH07319471A (en) 1995-12-08
JP2678974B2 true JP2678974B2 (en) 1997-11-19

Family

ID=18166043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6324458A Expired - Fee Related JP2678974B2 (en) 1994-12-27 1994-12-27 Musical sound wave generator

Country Status (1)

Country Link
JP (1) JP2678974B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2998612B2 (en) 1995-06-06 2000-01-11 ヤマハ株式会社 Music generator
SG67993A1 (en) 1996-08-30 1999-10-19 Yamaha Corp Sound source system based on computer software and method of generating acoustic waveform data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59168493A (en) * 1983-03-16 1984-09-22 ヤマハ株式会社 Musical tone waveform generator
JP2576617B2 (en) * 1988-12-29 1997-01-29 カシオ計算機株式会社 Processing equipment

Also Published As

Publication number Publication date
JPH07319471A (en) 1995-12-08

Similar Documents

Publication Publication Date Title
USRE31004E (en) Electronic musical instrument utilizing data processing system
US4373416A (en) Wave generator for electronic musical instrument
US5319151A (en) Data processing apparatus outputting waveform data in a certain interval
US4387617A (en) Assigner for electronic musical instrument
EP0463411B1 (en) Musical tone waveform generation apparatus
JPS62200399A (en) Parameter feeder for electronic musical apparatus
JP2678974B2 (en) Musical sound wave generator
JP3006094B2 (en) Musical sound wave generator
JP2869573B2 (en) Musical sound wave generator
JP2946762B2 (en) Musical sound wave generator
JP2797139B2 (en) Musical sound wave generator
JP3035991B2 (en) Musical sound wave generator
JP3010693B2 (en) Musical sound wave generator
US5687105A (en) Processing device performing plural operations for plural tones in response to readout of one program instruction
JP2797142B2 (en) Processing equipment for electronic musical instruments
JP3027831B2 (en) Musical sound wave generator
JPH07325581A (en) Musical sound generation device
US5403968A (en) Timbre control apparatus for an electronic musical instrument
JP3050779B2 (en) Signal processing device
JP2797137B2 (en) Processing equipment for electronic musical instruments
JP3027832B2 (en) Musical sound wave generator
JP3116447B2 (en) Digital signal processor
JPS6252317B2 (en)
JP3707908B2 (en) Electronic musical instrument effect adding device
JPS6252316B2 (en)

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970624

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

Free format text: PAYMENT UNTIL: 20080801

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080801

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090801

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees