JPH0460596A - Processor for electronic musical instrument - Google Patents

Processor for electronic musical instrument

Info

Publication number
JPH0460596A
JPH0460596A JP2170169A JP17016990A JPH0460596A JP H0460596 A JPH0460596 A JP H0460596A JP 2170169 A JP2170169 A JP 2170169A JP 17016990 A JP17016990 A JP 17016990A JP H0460596 A JPH0460596 A JP H0460596A
Authority
JP
Japan
Prior art keywords
processing
scpu
address
data
mcpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2170169A
Other languages
Japanese (ja)
Other versions
JP2797138B2 (en
Inventor
Teruo Jinbo
輝雄 神保
Takashi Akutsu
隆 阿久津
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 JP2170169A priority Critical patent/JP2797138B2/en
Priority to US07/709,101 priority patent/US5200564A/en
Publication of JPH0460596A publication Critical patent/JPH0460596A/en
Priority to US08/001,184 priority patent/US5691493A/en
Priority to US08/486,606 priority patent/US5584034A/en
Application granted granted Critical
Publication of JP2797138B2 publication Critical patent/JP2797138B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve the ability as a sound source without depending upon sound source circuit hardware in exclusive structure by enabling plural CPUs to operate according to individual programs and to be put in partial charge of the generation processing of a musical sound signal. CONSTITUTION:This system has two central processing units, e.g. MCPU 10 and SCPU 20, which are stored with the programs respectively and operate according to the program. The MCPU 10 controls the whole system and controls the processing of input information besides part of sound source processing. The SCPU 20, on the other hand, it used exclusively for the remainder of sound source processing and DAC 100 which converts a digital musical sound signal into an analog musical sound signal. Thus, the CPUs include means having the CPUs which are so constituted to operate according to their programs and put in partial charge of respective parts of the generation processing of the musical sound signal according to the programs. Consequently, the processing unit for the electronic musical instrument which has the high musical sound generating ability corresponding to the number of CPUs is obtained without requiring the sound source circuit hardware.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は電子楽器用処理装置に関し、特に電子楽器用
処理装置の構造的なアーキテクチャに関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a processing device for an electronic musical instrument, and more particularly to the structural architecture of a processing device for an electronic musical instrument.

[発明の背景] 近年、電子楽器はコンピユータ化されている。[Background of the invention] In recent years, electronic musical instruments have been computerized.

しかし、大量で高速のデータ処理が必要な楽音の生成に
係る部分は音源回路と呼ばれる専用構造のハードウェア
で行われており、マイクロコンピュータは楽器への制御
人力帽1やコンソールパネルからの入力、MIDIその
他の外部制御入力、内部または外部の演奏メモリからの
入力等)を処理し、音源回路に適したコマンドを音源回
路に転送するに留まっている。
However, the part related to the generation of musical tones that requires large amounts of high-speed data processing is performed by dedicated hardware called a sound source circuit, and the microcomputer controls the musical instrument by inputting it from the control cap 1 or console panel. It merely processes MIDI and other external control inputs, inputs from internal or external performance memories, etc.) and transfers appropriate commands to the tone generator circuit.

楽音生成能力は音源回路ハードウェアで行い、楽器の制
御入力の処理をマイクロコンピュータで行うという電子
楽器のシステムアーキテクチャ−にはいくつかの問題が
ある。第1の音源回路ハードウェアは楽音パラメータを
処理する種々の処理段階の随所にデータを一時的に記憶
する記憶装置、演算を行う演算回路を必要とするので必
然的に回路規模が大きくなる。第2に音源回路ハードウ
ェアを設計変更する場合に、しばしば大規模な回路変更
が余儀なくなり、多大の開発時間、労力を要する。更に
マイクロコンピュータと音源回路ハードウェアとの間の
インターフェースについても、音源回路ハードウェアご
とに検討し直し、開発し直す必要がある。
There are several problems with the system architecture of electronic musical instruments, in which the musical tone generation capability is performed by sound source circuit hardware, and the processing of musical instrument control inputs is performed by a microcomputer. The first sound source circuit hardware requires a storage device for temporarily storing data and an arithmetic circuit for performing calculations at various stages of processing musical tone parameters, so the circuit size inevitably becomes large. Second, when changing the design of sound source circuit hardware, large-scale circuit changes are often necessary, requiring a great deal of development time and effort. Furthermore, the interface between the microcomputer and the sound source circuit hardware also needs to be reconsidered and redeveloped for each sound source circuit hardware.

以上の理由から、本件出願人は音源回路ハードウェアを
使用することなくマイクロコンピュータのプログラム制
御だけで楽音を生成することのできる電子楽器用処理装
置を提案した(特願昭63−334158号)。
For the above reasons, the present applicant proposed a processing device for an electronic musical instrument that can generate musical tones only by program control of a microcomputer without using sound source circuit hardware (Japanese Patent Application No. 334158/1982).

この出願の実施例は単一のCPUがプログラムを実行し
て楽音を生成する構成を示している。この場合、楽音生
成能力を上げるにはCPHの処理速度を上げる必要があ
る。残念ながら、CPUの処理速度は使用する半導体デ
バイスの動作速度限界等によって制限されるために、実
現できる楽音生成能力に限界があった。
The embodiment of this application shows a configuration in which a single CPU executes a program to generate musical tones. In this case, it is necessary to increase the processing speed of the CPH in order to increase the musical tone generation ability. Unfortunately, since the processing speed of the CPU is limited by the operating speed limit of the semiconductor device used, there is a limit to the musical tone generation ability that can be achieved.

[発明の目的] したがって、この発明の目的は音源回路ハードウェアを
使用することなく比較的高い楽音生成能力を有する電子
楽器用処理装置を提供することである。
[Object of the Invention] Therefore, an object of the present invention is to provide a processing device for an electronic musical instrument that has a relatively high musical tone generation ability without using sound source circuit hardware.

[発明の構成、作用] この発明によれば、各CPUが各々のプログラムで動作
するように構成した複数のCPUを有し、前記複数のC
PUが前記プログラムに従って夫々楽音信号の生成処理
の各部を分担して実行する手段を含むことを特徴とする
電子楽器用処理装置が提供される。
[Structure and operation of the invention] According to the present invention, there is provided a plurality of CPUs configured such that each CPU operates with each program, and the plurality of CPUs are
There is provided a processing device for an electronic musical instrument, characterized in that the PU includes means for dividing and executing each section of musical tone signal generation processing according to the program.

この構成によれば、従来のような音源回路ハードウェア
を必要とせずにCPUの数に応じて高い楽音生成能力を
有する電子楽器用処理装置を得ることができる。また、
個々のCPU自体のノ\−ドウエアは構造上、格別の差
異がない同一のものを使用でき、基本的には各CPUが
実行するプログラムについてのみ、各CPUの処理目的
に合わせたものを使用すればよく、電子楽器用処理装置
としてのシステム構築が容易となる。
According to this configuration, it is possible to obtain a processing device for an electronic musical instrument that has a high musical tone generation ability according to the number of CPUs without requiring conventional tone generator circuit hardware. Also,
The hardware of each CPU itself can be the same with no particular difference in structure, and basically only the programs executed by each CPU should be used that match the processing purpose of each CPU. This makes it easier to construct a system as a processing device for electronic musical instruments.

楽音信号の生成処理を並列に実行する手段は、種々の態
様を取り得る。1つの態様では、複数のCPUがパイプ
ライン結合されて楽音信号の生成の並列処理を実行する
0例えば、第1のCPUは楽音信号の生成の全過程のう
ち最初の部分過程を取り扱い、第2のCPUは第1のC
PUの処理結果を受けて楽音生成過程のうち2番目の部
分過程を取り扱う、各CPUは楽音出力データのサンプ
リング速度を維持するため所定の間隔で処理を実行する
。あるCPUがi番目の楽音データサンプルのための部
分過程jを実行している間に、このCPUの次のCPU
は(i−1) llj目の楽音データサンプルのための
部分過程N+1)を実行する。パイプライン結合システ
ムの場合、一般には、応答の遅れとしてパイプラインの
入口から出口までの処理時間がしばしば問題になる。し
かし、都合のよいことに電子楽器への応用の場合には、
数ミリ秒程度の応答の遅れは問題にならない、したがっ
て1例えば、楽音出力データのサンプリング周波数(各
CPUの部分過程処理の実行間隔に相当する)を20K
HzL、パイプラインでの応答遅れを1ミリ秒とすると
、最大20個のCPUをパイプライン結合可能である。
The means for executing musical tone signal generation processing in parallel can take various forms. In one embodiment, a plurality of CPUs are pipeline-coupled to perform parallel processing of musical tone signal generation. For example, the first CPU handles the first partial process of the entire process of musical tone signal generation, and the The CPU of
Each CPU handles the second partial process of the musical tone generation process in response to the processing results of the PU, and executes the process at predetermined intervals in order to maintain the sampling rate of musical tone output data. While a certain CPU is executing partial process j for the i-th musical tone data sample, the CPU next to this CPU
executes the partial process N+1) for the (i-1) lljth musical tone data sample. For pipeline coupled systems, processing time from pipeline inlet to outlet is often a problem, typically as a response delay. However, conveniently, when applied to electronic musical instruments,
A delay in response of several milliseconds is not a problem. Therefore, for example, if the sampling frequency of musical tone output data (corresponding to the execution interval of each CPU's partial processing) is set to 20K.
HzL, and assuming that the response delay in the pipeline is 1 millisecond, a maximum of 20 CPUs can be coupled in the pipeline.

したがって、複数のCPUをパイプライン結合して楽音
を生成する構成は楽音合成のアルゴリズムが複雑で、多
くの処理過程を必要する楽音合成方式を採用する場合に
有効である。さらにこの具体的態様としては、楽音信号
の生成処理がシステム全体の制御処理と音源処理から成
る場合、第1のCPUではこの制御処理と音源処理の最
初の一部を分担し、第2のCPUでは音源処理の残りの
部分を分担することが考えられる。ここにおいて音源処
理は2つのCPUにて分割して処理されるが、第2のC
PUで行う処理は乗算処理など比較的処理時間のかかる
部分を分担させ、全体の制御処理も行う第1のCPUは
比較的負担の少ない残りの処理を行なわせるのが望まし
い、さらに具体的には音源処理がエンベロープ処理とこ
のエンベロープを付加する波形処理から成る場合、第1
のCPUでは乗算処理の伴わないエンベロープ処理のみ
行い、第2のCPUではこのエンベロープ処理の処理結
果により得られたエンベロープデータを乗算する処理を
伴う波形処理を行なわせる。このようにすれば、各CP
Uにかかる処理の負担は著しく軽減されるため、処理速
度が上がり、楽音生成能力も大きくなる。
Therefore, a configuration in which musical tones are generated by connecting a plurality of CPUs in a pipeline is effective when employing a musical tone synthesis method that has a complex musical tone synthesis algorithm and requires many processing steps. Furthermore, in this specific embodiment, when the musical tone signal generation processing consists of control processing and sound source processing for the entire system, the first CPU shares the control processing and the first part of the sound source processing, and the second CPU Now, it might be possible to share the rest of the sound source processing. Here, the sound source processing is divided and processed by two CPUs, but the second CPU
It is desirable that the processing performed by the PU be divided into parts that take a relatively long processing time, such as multiplication processing, and the first CPU, which also performs overall control processing, should be made to perform the remaining processing, which is relatively light in burden.More specifically, When sound source processing consists of envelope processing and waveform processing that adds this envelope, the first
The second CPU performs only envelope processing without multiplication processing, and the second CPU performs waveform processing that involves multiplication of envelope data obtained from the processing results of this envelope processing. In this way, each CP
Since the processing load placed on U is significantly reduced, the processing speed is increased and the musical tone generation ability is also increased.

また別の態様として、第1のCPUは、全体の制御処理
のみ行い、第2のCPUは、音源処理専用とすることも
考えられる。このようにすれば、音源回路を変更するさ
いも、そのハードウェアを変更する必要がなく、簡単に
様々な電子楽器に対応できる。
Alternatively, the first CPU may perform only overall control processing, and the second CPU may be used exclusively for sound source processing. In this way, even when changing the sound source circuit, there is no need to change the hardware, and it is possible to easily support various electronic musical instruments.

この第1、第2のCPUの好ましい構成例として、前記
複数のCPUは1つのメインCPUとこのメインCPU
によって制御される少なくとも1つのサブCPUから成
り、前記メインCPUは、楽器への入力を処理するため
の入力装置プログラムと入力処理プログラムによる前記
楽器への入力の処理結果に基づいて楽音を生成するため
の楽音生成プログラムとを記憶するMCPUプログラム
記憶手段と、前記MCPUプログラム記憶手段のアドレ
スを制御するMCPUアドレス制御回路手段と、前記楽
器への入力処理と前記楽音の生成処理に必要なデータを
記憶するMCPUデータ記憶手段と、演算処理を行うM
CPU演算処理回路手段と、前記MCPUプログラム記
憶手段のプログラムの各命令を解読して前記MCPUア
ドレス制御回路手段、前記MCPUデータ記憶手段、前
記MCPU演算処理回路手段の動作を制御するMCPU
オペレーション制御回路手段と、を有し、前記サブCP
Uの各々は、前記MCPUプログラム記憶手段の前記入
力処理プログラムによる前記楽器への入力の処理結果に
基づいて楽音を生成するための楽音生成プログラムを記
憶するSCPUプログラム記憶手段と、前記SCPUプ
ログラム記憶手段のアドレスを制御するSCPUアドレ
ス制御回路手段と、前記楽音の生成処理に必要なデータ
を記憶するSCPUデ一タ記憶手段と、演算処理を行う
SCPU@算処理回路手段と、前記SCPUプログラム
記憶手段のプログラムの各命令を解読して前記SCPU
アドレス制御回路手段、前記SCPUデ一タ記憶手段、
前記SCPU演算回路手段の動作を制御するSCPUオ
ペレ一シヨン制御回路手段とを有する。
As a preferable configuration example of the first and second CPUs, the plurality of CPUs include one main CPU and one main CPU.
The main CPU is configured to generate musical tones based on a processing result of the input to the musical instrument by an input device program and an input processing program for processing input to the musical instrument. MCPU program storage means for storing a musical tone generation program; MCPU address control circuit means for controlling an address of the MCPU program storage means; and MCPU address control circuit means for storing data necessary for input processing to the musical instrument and generation processing of the musical tones. MCPU data storage means and M that performs arithmetic processing
a CPU arithmetic processing circuit means, and an MCPU that decodes each instruction of a program in the MCPU program storage means to control operations of the MCPU address control circuit means, the MCPU data storage means, and the MCPU arithmetic processing circuit means;
operation control circuit means, and the sub-CP
Each of U includes an SCPU program storage means for storing a musical tone generation program for generating a musical tone based on a processing result of the input to the musical instrument by the input processing program of the MCPU program storage means, and the SCPU program storage means. SCPU address control circuit means for controlling the address of the CPU, SCPU data storage means for storing data necessary for the musical tone generation process, SCPU@arithmetic processing circuit means for performing arithmetic processing, and SCPU program storage means for performing arithmetic processing. The SCPU decodes each instruction of the program.
address control circuit means, said SCPU data storage means;
and SCPU operation control circuit means for controlling the operation of the SCPU arithmetic circuit means.

[実施例1 以下、図面を参照してこの発明の詳細な説明する。[Example 1 Hereinafter, the present invention will be described in detail with reference to the drawings.

く概 要〉 本実施例はこの発明を電子楽器に適用したものである6
本実施例(第1〜第13図)は種々の特徴を含んでいる
。第1の特徴は、楽音信号を生成する音源としてプログ
ラムで動作する複数のマイクロコンピュータ処理装置(
CPU)を使用することであり、従来のような専用構造
のノ\−Fウェア音源は不要である。1つのCPUがメ
インCPUあるいはマスターCPU(10)として働き
、音源処理の一部のみでなくアプリケーション(この場
合、楽器)に従う入力装置(w1盤、機能キー等)を取
り扱う(第4図〜第6図)、他のCPUはマスターCP
Uに対してサブCPUないしスレーブCPU (20)
として働き、残りの音源処理、出力波a!1(DAC等
)を実行する(第8図、第9図)、シたがって、音源処
理について各CPUの負担が分担される構成である。
Summary> This embodiment applies this invention to an electronic musical instrument6.
This embodiment (FIGS. 1-13) includes various features. The first feature is that multiple microcomputer processing units (
CPU), and there is no need for a conventional hardware sound source with a dedicated structure. One CPU works as the main CPU or master CPU (10), and handles not only part of the sound source processing but also the input devices (W1 board, function keys, etc.) according to the application (in this case, a musical instrument) (Figures 4 to 6). ), other CPUs are master CPUs
Sub CPU or slave CPU for U (20)
Acts as the remaining sound source processing, output wave a! 1 (DAC, etc.) (FIGS. 8 and 9), therefore, the burden of sound source processing is shared between each CPU.

第2の特徴はサブCPUが動作を開始し、終了するメカ
ニズムに関係しており、本実施例によれば、サブCPU
の動作は、マスターCPUに対して音源処理を要求する
タイマインタラブドを合図としてマスターCPUから音
源処理用のデータを受は取った時から開始し、その結果
、マスターCPUとサブCPUにおいて音源処理が分担
して実行される。サブCPUの動作(音源処理)が終了
するとその終了信号によってサブCPUはリセット状態
(停止状態)に移行するとともにその終了信号がマスタ
ーCPUに伝えられる(第13図)、この特徴により、
マスターCPUはサブCPUの動作期間及びタイミング
を有効に管理、把握できる。更に、この特徴により、高
速処理が要求される音源処理タスク(楽音信号のデジタ
ルサンプルを生成する仕事)を効率よく実行できる。
The second feature is related to the mechanism by which the sub CPU starts and ends its operation, and according to this embodiment, the sub CPU
The operation starts when data for sound source processing is received from the master CPU using a timer interrupt that requests sound source processing from the master CPU, and as a result, sound source processing is performed in the master CPU and sub CPU. It is carried out in a divided manner. When the operation (sound source processing) of the sub CPU is completed, the sub CPU shifts to the reset state (stop state) according to the end signal, and the end signal is transmitted to the master CPU (Fig. 13).With this feature,
The master CPU can effectively manage and understand the operation periods and timings of the sub CPUs. Furthermore, this feature allows efficient execution of sound source processing tasks (generating digital samples of musical tone signals) that require high-speed processing.

本実施例の第3の特徴はデータ源としてのCPU外部メ
モリを複数のCPUで共用する場合における複数CPU
からのアクセスの競合(衝突)問題に関する0本実施例
によれば後述するメモリ装置競合回避回路(50)を設
けることにより、共用メモリに対するアクセスの競合を
解消し、一定の待ち時間の後、共用メモリからのデータ
を得られるようにしている。
The third feature of this embodiment is that the CPU external memory as a data source is shared by multiple CPUs.
According to this embodiment, by providing a memory device conflict avoidance circuit (50) to be described later, conflicts in access to the shared memory are resolved, and after a certain waiting time, the shared memory is Allows data to be retrieved from memory.

本実施例の第4の特徴はデータ変換処理(シフト、反転
、一部取り出し等)の高速化に関する。
The fourth feature of this embodiment relates to speeding up data conversion processing (shifting, inversion, partial extraction, etc.).

従来においては、上述したCPU外部メモリのようなデ
ータメモリ内のデータから、CPU内部メモリ(演算用
メモリ)上に変換されたデータを得るために、転送(リ
ードアクセス)命令により、データメモリのデータを演
算用メモリに移し、しかる後、変換命令により、演算用
メモリのデータをALUを介して変換する。所望のデー
タ変換を行うために複数の変換命令を実行する必要もし
ばしば生じる。このように、従来においてはデータ変換
の処理に時間がかかるという問題があり、特に音源処理
のように高速処理が要求されるアプリケーションにおい
ては大きな問題となる。これを解決するため、この実施
例によれば、データψアドレス変換ハードウェア(60
,70)を設け、特殊な転送命令(変換付転送命令)を
実行することにより、その命令に応答するデータ・アド
レス変換ハードウェアを介して所望のデータ変換が施さ
れたデータが演算用メモリ(106,206)に取り込
まれるようにしている。したがって、所望の変換データ
を得るのに、複数の命令を実行するのではなく単一の命
令を実行すればよく処理の高速化が図れる。
Conventionally, in order to obtain data converted from data in a data memory such as the above-mentioned CPU external memory onto the CPU internal memory (computation memory), a transfer (read access) command is used to transfer the data in the data memory. is transferred to the arithmetic memory, and then the data in the arithmetic memory is converted via the ALU by a conversion instruction. It is also often necessary to execute multiple conversion instructions to effect the desired data conversion. As described above, there has been a problem in the past that data conversion processing takes time, which is a particularly serious problem in applications that require high-speed processing, such as sound source processing. To solve this problem, according to this embodiment, data ψ address conversion hardware (60
, 70) and executes a special transfer instruction (transfer with conversion instruction), the data that has been subjected to the desired data conversion via the data/address conversion hardware that responds to the instruction is transferred to the calculation memory ( 106, 206). Therefore, in order to obtain desired conversion data, it is sufficient to execute a single instruction instead of a plurality of instructions, and the processing speed can be increased.

く全体構成(第1図)〉 第1図は電子楽器の処理装置として構成した本実施例の
全体構成を示すブロック図である0本システムは2つの
中央演算処理装置(一方をMCPUIO1他方をSCP
U20で示す)を有する。
Overall Configuration (Figure 1) Figure 1 is a block diagram showing the overall configuration of this embodiment configured as a processing device for an electronic musical instrument.
(denoted as U20).

各CPUl0120はプログラムを内蔵しており、それ
ぞれのプログラムに従って動作する1MCPUl0は音
源処理の一部(第5図、第6図)以外にシステム全体の
制御1例えば入カポ−)118、出力ボート120に接
続される入力装置(例えばII盤、機能キー等)からの
入力情報の処理の制御等を行う(第4図)、これに対し
、SCPU20は残りの音源処理と、デジタル楽音信号
をアナログ楽音信号に変換するDACI OOに専用さ
れる(第8図、第9図)。
Each CPU120 has a built-in program, and the 1MCPU10 that operates according to each program controls the entire system in addition to part of the sound source processing (Figs. 5 and 6). The SCPU 20 controls the processing of input information from connected input devices (for example, II board, function keys, etc.) (Fig. 4).In contrast, the SCPU 20 processes the remaining sound sources and converts digital musical tone signals into analog musical tone signals. (Figures 8 and 9).

90は音源制御データ、波形データ等のデータ源として
のメモリである。データメモリ90はここでは、LSI
チップ(第1図の残りのデバイスを搭載している)に外
付けされたROMで構成されている。集積度が高ければ
、単一のLSIチップ上にデータメモリ90を内部メモ
リとして形成可能である。外部メモリ90はMCPUI
OとSCPU20に共用される。MCPUIOからのア
ドレス情報はMCPUIOに結合するアドレスバスMA
、外部メモリアドレスラッチ30のMCPU外部メモリ
アドレスラッチ30M、アドレス切り換え回路40、ア
ドレス変換回路60を介して外部データメモリ90のア
ドレス入力に加えられる。一方、SCPU20からのア
ドレス情報はSCPU20に結合するアドレスへスSA
、SCPU外部メモリアドレスラッチ305、アドレス
切り換え回路40、アドレス変換回路60を通して外部
データメモリ90のアドレス入力に加えられる。外部デ
ータメモリ90からMCPUIOへのデータ伝送径路は
外部データメモリ90のデータ出力、データ変換回路7
0、外部メモリデータラッチ80のMCPU外部メモリ
データラッチ80M、MCPUloに結合するデータバ
スMDによって構成される。これに対し、外部データメ
モリ90からSCPU20へのデータ伝送径路は外部デ
ータメモリ90のデータ出力、データ変換回路70.S
CPU外部メモリデータラフチ80S、SCPU20に
結合するデータバスSDによって構成される。
A memory 90 serves as a data source for sound source control data, waveform data, and the like. The data memory 90 is an LSI
It consists of a ROM externally attached to a chip (which carries the remaining devices in Figure 1). If the degree of integration is high, data memory 90 can be formed as an internal memory on a single LSI chip. External memory 90 is MCPUI
It is shared by the CPU 20 and the SCPU 20. Address information from MCPUIO is transferred to address bus MA which couples to MCPUIO.
, the MCPU external memory address latch 30M of the external memory address latch 30, the address switching circuit 40, and the address conversion circuit 60 are applied to the address input of the external data memory 90. On the other hand, the address information from the SCPU 20 is sent to the address SA connected to the SCPU 20.
, the SCPU external memory address latch 305, the address switching circuit 40, and the address conversion circuit 60 to the address input of the external data memory 90. The data transmission path from the external data memory 90 to the MCPUIO is the data output of the external data memory 90 and the data conversion circuit 7.
0, external memory data latch 80, MCPU external memory data latch 80M, and data bus MD coupled to MCPUlo. On the other hand, the data transmission path from the external data memory 90 to the SCPU 20 includes the data output of the external data memory 90, the data conversion circuit 70. S
It is composed of a CPU external memory data raft 80S and a data bus SD coupled to the SCPU 20.

メモリ装置競合回避回路50はMCPUIOとSCPU
20の両CPUによる外部メモリ90のアクセスを制御
し、その競合を回避するものである。メモリ装M競合回
避回路5oはMCPUIOからの外部メモリアクセスを
要求する信号romaとSCPUからの外部メモリアク
セスを要求する信号r o m aの各々に応答してア
ドレス切り換え回路40を制御してアドレス切り換え回
路40にMCPUIOからのアドレスとSCPU20か
らのアドレスのいずれかを外部メモリ90へのアドレス
として選択させる。このためにメモリ装置競合回避回路
50からの選択信号MSELによりアドレス切り換え回
路40は選択動作を行う、外部メモリ90へのアドレス
が確定するとメモリ装置競合回避回路50は外部メモリ
90に対するチー7プ選択信号〜CEと出力イネーブル
信号〜OEをアクティブにする。これにより外部メモリ
90からデータが出力され、データ変換回路70を通し
てそのデータが外部メモリラッチ80の入力パスに現わ
れる。ここで、メモリ装置競合回避回路50はデータア
クセスを要求したCPUにデータを送るためにMCPU
外部メモリデータラッチ80M、SCPU外部メモリデ
ータラッチ80Sのいずれかを作動してデータをラッチ
させる。このためにMCPU外部メモリデータラッチ8
0Mはメモリ装置競合回避回路50からのラッチ信号M
DLによりチー2チ動作し、SCPU外部メモリデータ
ラッチ803はメモリ装置競合回避回路50からのラー
7チ信号SDLによりラッチ動作するようになっている
The memory device contention avoidance circuit 50 includes MCPUIO and SCPU.
This system controls access to the external memory 90 by both CPUs 20 and avoids conflicts. The memory device M contention avoidance circuit 5o controls the address switching circuit 40 to switch addresses in response to the signal roma requesting external memory access from the MCPUIO and the signal roma requesting external memory access from the SCPU. The circuit 40 is caused to select either the address from the MCPUIO or the address from the SCPU 20 as the address to the external memory 90. For this purpose, the address switching circuit 40 performs a selection operation in response to the selection signal MSEL from the memory device conflict avoidance circuit 50. When the address to the external memory 90 is determined, the memory device conflict avoidance circuit 50 sends a chip selection signal to the external memory 90. ~CE and output enable signal ~OE are activated. This causes data to be output from external memory 90 and appear on the input path of external memory latch 80 through data conversion circuit 70 . Here, the memory device contention avoidance circuit 50 sends data to the CPU that requested data access.
Either the external memory data latch 80M or the SCPU external memory data latch 80S is activated to latch data. For this purpose, MCPU external memory data latch 8
0M is the latch signal M from the memory device contention avoidance circuit 50
The SCPU external memory data latch 803 performs a latch operation based on the latch signal SDL from the memory device conflict avoidance circuit 50.

アドレス変換回路60とデータ変換回路70は外部デー
タメモリ90のデータを変換したデータがCPUl01
20に取り込まれるようにするための変換デバイスであ
る。アドレス変換回路60はアドレス切り換え回路40
を通ったアドレス、即ち、CPU (MCPUIOかS
CPU20)から出力されたアドレス(論理アドレス)
を選択的に変更して外部データメモリ90に実際に入力
されるアドレスを形成するものであり、データ変換回路
70は外部データメモリ90から出力されたデータを選
択的に変更してCPU (MCPUI 0かSCPU2
0)に実際に入力されるデータを形成するものである。
The address conversion circuit 60 and the data conversion circuit 70 convert the data of the external data memory 90 to the CPU101.
This is a conversion device for importing into 20. The address conversion circuit 60 is the address switching circuit 40.
The address passed through the CPU (MCPUIO or S
Address (logical address) output from CPU 20)
The data conversion circuit 70 selectively changes the data output from the external data memory 90 to form an address that is actually input to the external data memory 90. or SCPU2
0) forms the data that is actually input.

各変換回路60.70における変換の態様を指定するた
めに、制御信号が使用される。各CPUl0120にお
いて、外部データメモリ90に対するデータアクセスは
転送命令を実行することで行われる。転送命令に基づい
てCPUで生成される制御信号をMHl、MR2、MR
3(MCPUIOの場合)、SR1,SR2、SR3(
SCPU20の場合)で示しである。これらの信号は外
部メモリアドレスチッチ30、アドレス切り換え回路4
0を通った後、信号R1,R2、R3と呼ばれる(MR
i−LMRi→Riまたは5R5−+LSRi→Ri)
、変換の態様を指定するため、制御信号R1、R2がア
ドレス変換回路60に入力される。更に、データ変換回
路70における変換の態様を特定するため、制御信号R
1、R2、R3とアドレス変換回路60からのアドレス
ビット12の信号A12とアドレスビット15の信号A
15がデータ変換回路70に加えられる。アドレス変換
回路60とデータ変換回路70の詳細については後述す
る。
Control signals are used to specify the manner of conversion in each conversion circuit 60,70. In each CPU10120, data access to the external data memory 90 is performed by executing a transfer command. The control signals generated by the CPU based on the transfer command are transmitted to MHl, MR2, and MR.
3 (for MCPUIO), SR1, SR2, SR3 (
(in case of SCPU 20). These signals are sent to the external memory address switch 30 and the address switching circuit 4.
After passing through 0, the signals are called R1, R2, R3 (MR
i-LMRi→Ri or 5R5-+LSRi→Ri)
, control signals R1 and R2 are input to the address conversion circuit 60 in order to specify the manner of conversion. Furthermore, in order to specify the conversion mode in the data conversion circuit 70, a control signal R
1, R2, R3, address bit 12 signal A12 from address conversion circuit 60, and address bit 15 signal A
15 is added to the data conversion circuit 70. Details of the address conversion circuit 60 and data conversion circuit 70 will be described later.

MCPU l OとSCPU20との間のインタフェー
スを定めるため、両CPU間で複数の信号が伝送される
。信号AはMCPUIOからSCPU20に送られるS
CPU20の処理rMI始を表わす信号、信号BはSC
PU20からMCPUIOに送られるSCPU20の処
理終了を表わす信号、MaはMCPUIOからSCPU
20に送られるSCPU20の内部メモリ(第3図の2
06)のアドレス情報、信号CはMCPUIOからSC
PU20に送られるSCPU20の内部メモリの読み書
き制御信号、 DourはMCPUIOからSCPU2
0に送られるSCPU20の内部メモリへの書き込みデ
ータを表わす。
To define the interface between MCPU lO and SCPU 20, a plurality of signals are transmitted between the two CPUs. Signal A is S sent from MCPUIO to SCPU20.
A signal indicating the start of processing rMI of the CPU 20, signal B is SC
A signal indicating the end of processing of the SCPU 20 sent from the PU 20 to the MCPUIO, Ma is a signal sent from the MCPUIO to the SCPU
The internal memory of the SCPU 20 (2 in FIG.
06) address information, signal C is from MCPUIO to SC
The read/write control signal for the internal memory of the SCPU20 sent to the PU20, Dour is sent from the MCPUIO to the SCPU2
0 to the internal memory of the SCPU 20.

上述したようにSCPU20での音源処理によりデジタ
ル楽音信号が生成される。生成結果はSCPU20から
、右DAC100Kと左DAC100Lとから成るデジ
タルアナログ変換器(DAc)iooに送られ、アナロ
グ楽音信号に変換されて外部に出力される。
As described above, the digital musical tone signal is generated by the sound source processing in the SCPU 20. The generated result is sent from the SCPU 20 to a digital-to-analog converter (DAc) ioo consisting of a right DAC 100K and a left DAC 100L, where it is converted into an analog musical tone signal and output to the outside.

<MCPUとSCPUの構成(第2、第3図)〉第2図
にMCPUIOの内部構造を示し、第3図にSCPU2
0の内部構造を示す。
<Configuration of MCPU and SCPU (Figures 2 and 3)> Figure 2 shows the internal structure of MCPUIO, and Figure 3 shows the configuration of SCPU2.
The internal structure of 0 is shown.

第2図において制御用ROM102には楽器の各種制御
入力を処理するメインプログラムと楽音を生成するイン
タラブド処理プログラムが記憶されており、ROMアド
レス制御部114からROMアドレスデコーダ104を
介して指定されたアドレスにあるプログラム語(命令)
をインストラクション出力ラッチ102aを介して順次
出力していく、なお、具体的実施例では、プログラム語
長は28ビツトであり、プログラム語の一部が次に読み
出されるべきプログラム語を記憶するアドレスの下位部
(ページ内アドレス)としてROMアドレス制御部11
4に入力されるネクストアドレス方式となっているが、
代りにプログラムカウンタ方式を使用してもよい、RA
Mアドレス制御部105は制御用ROM102からの命
令のオペランドがレジスタを指定している場合に、RA
M106内の対応するレジスタのアドレスを指定する、
RAM106は演算用メモリを構成するレジスタ群であ
り、汎用演算、フラグ演算、楽音の演算等に使用される
。ALU部(加減算器及び論理演算部)108と乗算器
110は制御用ROMIO2からの命令が演算命令のと
きに用いられる。
In FIG. 2, the control ROM 102 stores a main program for processing various control inputs of the musical instrument and an interwoven processing program for generating musical tones. Program words (commands) in
In the specific embodiment, the program word length is 28 bits, and part of the program word is located at the lower address of the address storing the program word to be read next. ROM address control unit 11 as part (intra-page address)
The next address method is entered in 4, but
A program counter method may be used instead, RA
When the operand of the instruction from the control ROM 102 specifies a register, the M address control unit 105 controls the RA
specifying the address of the corresponding register in M106;
The RAM 106 is a group of registers constituting a calculation memory, and is used for general-purpose calculations, flag calculations, musical tone calculations, and the like. The ALU section (addition/subtractor and logic operation section) 108 and multiplier 110 are used when the instruction from the control ROMIO 2 is an operation instruction.

特に乗算器110は楽音波形の演算に使用しており、そ
のための最適化として第1と第2のデータ入力(例えば
16ビツトデータ)を乗算して入力と同じ長さ(16ビ
ツト)のデータを出力するようになっている。上記RA
M106、加減算器108、乗算器110により、演算
回路が構成される。オペレーション制御回路112は制
御用ROM102からの命令のオペコードを解読し、指
示されるオペレーションを実行するために、回路の各部
に制御信号(全体をCNTRで示す)を送る。また条件
付分岐命令の実行の際にオペレージ1ン制御回路112
はALU部108からのステータス信号S(例えばオー
バーフロー信号、ゼロフラグ信号等)により分岐条件成
立を検出してROMアドレス制御部114を介してアド
レスを分岐先のアドレスにジャンプさせる。
In particular, the multiplier 110 is used to calculate musical waveforms, and as an optimization for this purpose, it multiplies the first and second data inputs (for example, 16-bit data) to obtain data of the same length (16 bits) as the input. It is designed to be output. Above RA
M106, adder/subtractor 108, and multiplier 110 constitute an arithmetic circuit. The operation control circuit 112 decodes the operation code of the instruction from the control ROM 102 and sends control signals (indicated by CNTR) to each part of the circuit in order to execute the instructed operation. In addition, when executing a conditional branch instruction, the operation 1 control circuit 112
detects the establishment of a branch condition based on the status signal S (for example, an overflow signal, a zero flag signal, etc.) from the ALU unit 108 and jumps the address to the branch destination address via the ROM address control unit 114.

所定時間ごとに制御用ROM102の楽音生成プログラ
ムを実行するため、この実施例ではタイマインタラブド
を採用している。すなわち、タイマ(ハードウェアカウ
ンタ)を有するインタラブド発生部116により、一定
時間ごとにROMアドレス制御部114に制御信号IN
T(割込要求信号)を送り、この信号により、ROMア
ドレス制御部114は次に行うメインプログラムの命令
のアドレスを退避(保持)し、楽音の生成が行われるイ
ンタラブド処理プログラム(サブルーチン)の先頭アド
レスを代りにセットする。これにより、インタラブド処
理プログラムが開始される。インタラブド処理プログラ
ムの最後にはリターン命令があるので、このリターン命
令がオペレーション制御回路112で解読された時点で
、ROMアドレス制御部114は退避してあったアドレ
スを再度セットし、メインプログラムに復帰する。更に
、インタラブド発生部116からの制御信号INTはD
AC100における楽音信号のデジタル/アナログ変換
サンプリング速度を定めるためにDAC100に供給さ
れる。なお、インタラブド発生部116は図の上ではM
CPUIOの内部g?素として描いであるが、MCPU
IOに対して現在行っている仕事を停止させ特別の処理
を要求するものであり、論理的にはMCPU l Oの
外部要素(周辺装置I)である。
In order to execute the musical tone generation program in the control ROM 102 at predetermined intervals, this embodiment employs timer interaction. That is, the interwoven generation section 116 having a timer (hardware counter) sends the control signal IN to the ROM address control section 114 at regular intervals.
T (interrupt request signal) is sent, and in response to this signal, the ROM address control unit 114 saves (holds) the address of the next main program instruction, and returns the address to the beginning of the interwoven processing program (subroutine) in which musical tones are generated. Set the address instead. This starts the interwoven processing program. Since there is a return instruction at the end of the interwoven processing program, when this return instruction is decoded by the operation control circuit 112, the ROM address control section 114 sets the saved address again and returns to the main program. . Furthermore, the control signal INT from the interwoven generator 116 is D.
It is supplied to the DAC 100 in order to determine the digital/analog conversion sampling rate of the musical tone signal in the AC 100. Note that the interacted generation unit 116 is M in the diagram.
Internal CPUIO? Although this is a basic drawing, the MCPU
It requests special processing by stopping the work currently being performed on the IO, and is logically an external element (peripheral device I) of the MCPU lO.

クロック発生回路136はマスタークロック発生回路(
図示せず)からの2相のマスタークロックCKIとCK
2を受け、オペレーション制御回路112を初めとする
回路の各部に加える種々のタイミング信号(T1.T2
、T3、TlCK1、T2CK2、T3CK3等)を発
生する。
The clock generation circuit 136 is a master clock generation circuit (
2-phase master clocks CKI and CK from (not shown)
2, various timing signals (T1, T2) are applied to each part of the circuit including the operation control circuit 112.
, T3, TlCK1, T2CK2, T3CK3, etc.).

第2図の残りの要素はMCPU20の外部装置とのイン
タフェースに係っている。122は外部メモリアクセス
用アドレスへスMA(第1図)にMCPU内部バスを接
続するためのパスインタフェースとしてのゲートを表わ
し、124は外部メモリデータバスMDにMCPU内部
バスを接続するためのゲートを表わす、また、入カポ−
)118と出力ポートはMCPU内部パスを外部の人力
装置に結合するためのインタフェースである。128は
SCPU内部RAMアドレス指定パスにMCPU内部パ
スを接続するためのゲー)  130はSCPU内部R
AM書込データバスにMCPU内部パスを接続するため
のゲートを表わす。
The remaining elements in FIG. 2 relate to the MCPU 20's interface with external devices. 122 represents a gate as a path interface for connecting the MCPU internal bus to the external memory access address MA (FIG. 1), and 124 represents a gate for connecting the MCPU internal bus to the external memory data bus MD. Express, also enter capo
) 118 and the output port are interfaces for coupling the MCPU internal path to external human powered devices. 128 is a game for connecting the MCPU internal path to the SCPU internal RAM addressing path) 130 is the SCPU internal R
Represents a gate for connecting the MCPU internal path to the AM write data bus.

SCPUリセット制御部134はSCPU20の動作期
間を管理するためのデバイスである。この実施例に従い
SCPUリセット制御制御部4はインタラブド発生部1
16からのインタラブド信号INTに応答して、SCP
U20の処理開始を示す信号Aを発生する。この信号A
はSCPU20のROMアドレス制御部214(第3図
)に送られ、これによりROMアドレス制御部214の
アドレス更新動作が開始し、SCPU20の動作(音源
処理を含む)が開始する。SCPU20の動作が終了す
るとSCPU20のオペレーション制御回路212から
処理終了を示す信号Bが発生し、この信号BがSCPU
リセット制御部134に送られる。これに対し、SCP
Uリセット制御部134はSCPU20の動作を停止す
るために信号Aを反転し、これによりSCPU20のR
OMアドレス制御部214の動作を停止させる、ととも
に、SCPU20が停止中であることを表わすSCPU
状態フラグ信号をオペレーション制御回路112に送る
。オペレーション制御回路!12は制御用ROM102
からのSCPU状態の検査命令の実行時に、このSCP
U状態フラグ信号を読むことにより、SCPU20の状
態を検出できる。
The SCPU reset control unit 134 is a device for managing the operating period of the SCPU 20. According to this embodiment, the SCPU reset control control unit 4 is
In response to the interwoven signal INT from 16, the SCP
A signal A indicating the start of processing of U20 is generated. This signal A
is sent to the ROM address control section 214 (FIG. 3) of the SCPU 20, thereby starting the address updating operation of the ROM address control section 214, and the operation of the SCPU 20 (including sound source processing) starts. When the operation of the SCPU 20 is completed, a signal B indicating the completion of processing is generated from the operation control circuit 212 of the SCPU 20, and this signal B is sent to the SCPU 20.
It is sent to the reset control section 134. On the other hand, SCP
The U reset control unit 134 inverts the signal A to stop the operation of the SCPU 20, thereby causing the R of the SCPU 20 to stop.
An SCPU that stops the operation of the OM address control unit 214 and indicates that the SCPU 20 is stopped.
A status flag signal is sent to operation control circuit 112. Operation control circuit! 12 is a control ROM 102
When executing an instruction to check the SCPU state from
By reading the U status flag signal, the status of the SCPU 20 can be detected.

第3図のSCPU20のブロック図において、要素20
2.202a、204.205.206.208.21
2.214.222.224.236はそれぞれ、第2
図のMCPUIOのブロック図における要素102.1
02a、104.105.106.108.110.1
12.114.122.124.136に対応する要素
である。ただし、SCPU20の制御用ROM202に
は基本的に音源処理のためのプログラムのみが記憶され
ており、SCPU20を音源処理専用の処理装置として
機能させている。
In the block diagram of the SCPU 20 in FIG.
2.202a, 204.205.206.208.21
2.214.222.224.236 are the second
Element 102.1 in the block diagram of MCPUIO in FIG.
02a, 104.105.106.108.110.1
This is an element corresponding to 12.114.122.124.136. However, the control ROM 202 of the SCPU 20 basically stores only programs for sound source processing, making the SCPU 20 function as a processing device dedicated to sound source processing.

126はDACデータ転送パスにSCPU内部パスを接
続するためのゲートを表わす。
126 represents a gate for connecting the SCPU internal path to the DAC data transfer path.

240はSCPU20の演算用メモリとしてのRAM2
06へ入力するデータをMCPUloからのデータ(M
CPUlOからゲート130、データバスD our 
を通ったデータ)とSCPU20の生成(演算)したデ
ータ(ALU部208または乗算器210からのデータ
バスDB上のデータ)とから選択するRAMデータイン
切り換え部である。RAMデータイン切り換え部240
は信号Aによってその選択モードが制御され、信号Aが
“SCPU20動作中”を表わしているときにはSCP
U20で演算したデータを選択し、信号Aが“SCPU
20停止中”を表わしているときにはMCPUIOから
のデータを選択する。
240 is RAM 2 as a calculation memory for the SCPU 20
The data input to 06 is the data from MCPUlo (M
From CPUIO to gate 130, data bus D our
This is a RAM data-in switching unit that selects between data (data passed through the RAM) and data generated (computed) by the SCPU 20 (data on the data bus DB from the ALU unit 208 or the multiplier 210). RAM data-in switching section 240
Its selection mode is controlled by signal A, and when signal A indicates "SCPU 20 in operation", SCP
The data calculated by U20 is selected, and the signal A is “SCPU
20 "Stopping", data from MCPUIO is selected.

また、RAMアドレス制御部204も、信号Aによって
そのモードが制御され、信号Aが“SCPU20動作中
”を表わしているときには制御用ROMのインストラク
ション出力ラッチ202aからのパスSA上の情報をR
AM206のアドレスとして選択し、信号Aが“SCP
U20停止中”を表わしているときにはMCPUIOか
らパスゲート128(信号Aにより開いている)を経て
パスMa上にあるMCPUIOからの情報をRAM20
6のアドレスとして選択する。同様に、ライト信号切り
換え部242も信号Aによってそのモードが制御され、
信号Aが“SCPU20動作中”を表わしているときに
はSCPU20のオペレーション制御回路212からの
RAMリードライト信号を選択してRAM206のリー
ドライト人力R/Wに結合し、信号Aが“SCPU20
停止中”を表わしているときにはSCPU20ではなく
MCPUIOのオペレーション制御回路l12からのS
CPURAMリードライト信号を選択してRAM206
のリードライト人力R/Wに結合する。
The mode of the RAM address control unit 204 is also controlled by the signal A, and when the signal A indicates "SCPU 20 in operation", the RAM address control unit 204 inputs the information on the path SA from the instruction output latch 202a of the control ROM.
Selected as the address of AM206, signal A is “SCP
When "U20 is stopped" is displayed, information from the MCPUIO on the path Ma is transferred from the MCPUIO to the RAM 20 via the pass gate 128 (opened by signal A).
Select it as address 6. Similarly, the mode of the write signal switching unit 242 is controlled by the signal A,
When the signal A indicates "SCPU 20 is operating", the RAM read/write signal from the operation control circuit 212 of the SCPU 20 is selected and coupled to the read/write manual R/W of the RAM 206, and the signal A indicates "SCPU 20 is operating".
When "stopped" is displayed, S is sent from the operation control circuit l12 of the MCPUIO instead of the SCPU20.
Select CPURAM read/write signal and write to RAM206
Connects to read/write manual R/W.

以下、本実施例の諸特徴を更に詳細に説明する。Below, various features of this embodiment will be explained in more detail.

<CPU動作説明〉 第4図はMCPUIOのメインプログラム(パックグラ
ンドプログラム)によるMCPUIOの動作を示すフロ
ーチャート、第5図、第6図はタイマインタラブド信号
INTによって起動されるMCPU I Oのインタラ
ブド処理ルーチンによるMCPUIOの動作を示すフロ
ーチャート、第8図、第9図はMCPUIOからの動作
開始信号Aによって起動されるSCPU20のプログラ
ムによるSCPU20の動作を示すフローチャートであ
る。
<Explanation of CPU operation> Figure 4 is a flowchart showing the operation of MCPUIO by the main program (pack ground program) of MCPUIO, and Figures 5 and 6 are the interwoven processing routine of MCPUIO activated by the timer interwoven signal INT. FIGS. 8 and 9 are flowcharts showing the operation of the SCPU 20 according to the program of the SCPU 20 activated by the operation start signal A from the MCPUIO.

第1〜第3図に関して述べたように、本実施例の電子楽
器処理システムはMCPU 10とSCPU20とから
成る複数のCPUを備えており、両CPUが協働して電
子楽器のための処理を実行する。特にMCPUIOは、
本実施例では第5図。
As described with reference to FIGS. 1 to 3, the electronic musical instrument processing system of this embodiment includes a plurality of CPUs consisting of the MCPU 10 and the SCPU 20, and both CPUs cooperate to perform processing for the electronic musical instrument. Execute. Especially MCPUIO,
In this embodiment, FIG.

第6図に示すようなインタラブド処理ルーチンにより音
源処理の一部を行い、SCPU20は第8図及び第9図
に示すようなプログラムにより残りの音源処理を行う、
更にMCPUIOは第4図に示すメインプログラムによ
り、システム全体の制御のための種々のタスクを実行す
る。
A part of the sound source processing is performed by an interwoven processing routine as shown in FIG. 6, and the SCPU 20 performs the remaining sound source processing by a program shown in FIGS. 8 and 9.
Furthermore, the MCPUIO executes various tasks for controlling the entire system using the main program shown in FIG.

第4図のメインプログラムのフローにおいて、4−1は
電源投入時にシステムを初期化する処理であり、MC:
PUIOはRAMl06、RAM206のクリアや、リ
ズムテンポ等の初期値の設定等を行う、4−2でMCP
UIOは出力ポート120からキー走査のための信号を
出力し、鍵盤、機能スイッチ等の入力装置の状態を入力
ポート118から取り込むことにより、機能キー、鍵盤
キーの状態をRAM106のキーバッファエリアに記憶
する。4−3では4−2で得た機能キーの新しい状態と
前回の状態とから、状態の変化した機能キーを識別し、
指示される機能の実行を行う(例えば、楽音番号のセッ
ト、エンベロープ番号のセット、リズム番号のセット等
)、4−4では4−2で得た鍵盤の最新の状態と前回の
状態とから、変化したII(押鍵、離鍵)を識別する0
次の4−5で4−4の処理結果から、発音制御処理4−
9のためのキーアサイン処理を行う、4−6では機能キ
ーでデモ演奏キーが押鍵されたとき外部メモリ90から
、デモ演奏データ(シーケンサデータ)を順次読み出し
、処理することにより、発音制御処理4−9のためのキ
ーアサイン処理等を行う、4−7ではリズムスタートキ
ーが押鍵されたとき外部メモリ9oからリズムデータを
順次読み出し、発音制御処理4−9のためのキーアサイ
ン処理を行う、フロー−周タイマ処理4−8では、メイ
ンフローで必要なイベントのタイミングを知るために、
フロー−同時間(これは、フローを一周する間に実行さ
れたタイマインタラブドの回数を計数することで得られ
る。この計数処理は後述のインタラブドタイマ処理5−
2で行われる。)を基に演算を行い、エンベロープ用タ
イマ(エンベロープの演算周期)やリズム用の基準値を
得る0発音制御処理4−9では4−5.46.4−7で
セットされたデータから、実際に楽音を発音させるため
の各種演算を行い、結果をRAM106内の音源処理レ
ジスタ(第7図)から、RAM206内の音源処理レジ
スタ(第11図)にセットする。具体的には、第7図に
示すMCPUIOのRAM106内の音源処理レジスタ
に記憶されたアドレス加算イ1.ループアドレス、エン
ドアドレス及びスタートアドレスを第11図に示すSC
PU20の206内の音源処理レジスタにセットする動
作を行うものである。このMCPUIOは8チャンネル
分の楽音データを生成可能であり、これらデータは4−
5〜4−7でアサインされたデータに基づき1MCPU
l0.SCPU20の各レジスタ内の対応するチャンネ
ルに割り当てられる。このアドレス加算値、ループアド
レス、エンドアドレス及びスタートアドレスは外部メモ
リ90に置かれる基本波形に対するアドレス情報であり
、スタートアドレスは基本波形メモリ(外部メモリ90
内)のスタートアドレス、ループアドレスは基本波形を
繰り返し読み出す場合の戻り先のアドレス(第1O図で
はスタートアドレスと同一)、エンドアドレスは基本波
形のエンドアドレスを表わし、現在アドレスは基本波形
の現在の位相を表わすアドレスであり、その整数部が、
基本波形メモリに現実に存在する記憶場所を表わし、そ
の小数部が、この記憶場所からのずれを表わし、アドレ
ス加算値はタイマインタラブド処理ルーチンの時間間隔
ごとに現在アドレスに加算されるべご値であり、生成す
る楽音のピッチに正比例する。
In the flow of the main program shown in Figure 4, 4-1 is a process to initialize the system when the power is turned on, and MC:
PUIO clears RAM 106 and RAM 206, sets initial values such as rhythm tempo, etc., and MCP at 4-2.
The UIO outputs a signal for key scanning from the output port 120 and captures the states of input devices such as the keyboard and function switches from the input port 118, thereby storing the states of the function keys and keyboard keys in the key buffer area of the RAM 106. do. In 4-3, the function key whose state has changed is identified from the new state of the function key obtained in 4-2 and the previous state,
Execute the instructed functions (for example, set musical tone numbers, set envelope numbers, set rhythm numbers, etc.).In 4-4, based on the latest and previous states of the keyboard obtained in 4-2, 0 to identify changed II (key press, key release)
In the next 4-5, from the processing result of 4-4, sound generation control processing 4-
In 4-6, when a demo performance key is pressed using a function key, demo performance data (sequencer data) is sequentially read out from the external memory 90 and processed, thereby performing sound production control processing. In 4-7, when the rhythm start key is pressed, rhythm data is sequentially read from the external memory 9o, and key assignment processing for 4-9 is performed. , flow-period timer processing 4-8, in order to know the timing of events required in the main flow,
Flow-Identical Time (This is obtained by counting the number of timer interrelated operations executed during one cycle of the flow. This counting process is performed in Interrelated Timer Processing 5-5, which will be described later.
It is done in 2. ) to obtain reference values for the envelope timer (envelope calculation cycle) and rhythm. In the 0 sound control process 4-9, the actual value is calculated from the data set in 4-5.46.4-7. Various calculations are performed to generate musical tones, and the results are set from the sound source processing register in RAM 106 (FIG. 7) to the sound source processing register in RAM 206 (FIG. 11). Specifically, address addition I1. is stored in the sound source processing register in the RAM 106 of the MCPUIO shown in FIG. SC whose loop address, end address and start address are shown in Figure 11.
It performs the operation of setting the sound source processing register in 206 of the PU 20. This MCPUIO can generate musical tone data for 8 channels, and these data are 4-
1 MCPU based on the data assigned in steps 5 to 4-7
l0. It is assigned to a corresponding channel in each register of SCPU 20. The address addition value, loop address, end address, and start address are address information for the basic waveform stored in the external memory 90, and the start address is the basic waveform memory (external memory 90
The start address and loop address (in Figure 1O) are the return address when repeatedly reading out the basic waveform (same as the start address in Figure 1O), the end address is the end address of the basic waveform, and the current address is the current address of the basic waveform. It is an address that represents the phase, and its integer part is
It represents the storage location that actually exists in the basic waveform memory, its fractional part represents the deviation from this storage location, and the address addition value is the value that is added to the current address at each time interval of the timer-interrupted processing routine. and is directly proportional to the pitch of the musical tone being generated.

4−10は次のメインフローのパスのための準備処理で
あり、今回のパスで得た押鍵状態への変化を示すNEW
  ON状態をON中にしたり、離鍵状態への変化を示
すNEW  OFF状態をOFF中に変える等の処理を
行う。
4-10 is a preparation process for the next main flow pass, and NEW indicating the change to the key press state obtained in this pass.
Processes such as changing the ON state to ON or changing the NEW OFF state indicating a change to the key released state to OFF are performed.

インタラブド発生部116からインタラブド信号INT
が発生すると、MCPUIOは実行中のメインプログラ
ムを中断し、第5図に示すインタラブド処理ルーチンを
実行する。ここにMCPUlOは第5図、第6図のフロ
ーにおいて楽音信号のデータを生成し、SCPU20は
第8図、第9図のフローにおいてMCPUIOからのデ
ータに基づいて楽音信号を生成するようになっている。
The interwoven signal INT from the interwoven generation section 116
When this occurs, the MCPUIO interrupts the main program being executed and executes the interwoven processing routine shown in FIG. Here, the MCPUIO generates musical tone signal data in the flows shown in FIGS. 5 and 6, and the SCPU 20 generates musical tone signals based on the data from the MCPUIO in the flows shown in FIGS. 8 and 9. There is.

第5図のフローについて詳細に述ヘルド、MCPUIO
は8チャンネル分の楽音データが出力可能に構成され、
5−1でまずMCPUIOのRAM106の音源処理レ
ジスタ(第7図)内の各チャンネルの現在エンベロープ
値データをSCPU20のRAM206のレジスタ(第
11図)に転送する。このデータの転送のタイミングに
合わせてMCPUIOからSCPU20にパルス状のラ
イト信号Cが出力される。このデータ転送が終了すると
MCPUIOは、SCPU20の動作を開始させる動作
開始信号Aを出力する(5−2)。
Detailed explanation of the flow shown in Fig. 5. Held, MCPUIO
is configured to be able to output 8 channels of musical sound data,
5-1, first, the current envelope value data of each channel in the sound source processing register (FIG. 7) of the RAM 106 of the MCPUIO is transferred to the register of the RAM 206 of the SCPU 20 (FIG. 11). A pulsed write signal C is outputted from the MCPUIO to the SCPU 20 in accordance with the timing of this data transfer. When this data transfer is completed, the MCPUIO outputs an operation start signal A that starts the operation of the SCPU 20 (5-2).

このあと、ステップ5−3〜5−10で第1チヤンネル
から第8チヤンネルまでの各チャンネルの音源処理、つ
まりエンベロープデータを作成して、RAM106内の
音源処理レジスタ内にストアする処理を実行する。
Thereafter, in steps 5-3 to 5-10, sound source processing for each channel from the first channel to the eighth channel, that is, processing to create envelope data and store it in the sound source processing register in the RAM 106 is executed.

このあと再びメインルーチンに戻る。After this, return to the main routine again.

第6図は、第5図の5−1〜5−8のチャンネル記憶処
理の詳細なフローを示す0本実施例においては、波形読
み出し方式の楽音合成を採用しており(他の楽音合成方
式1例えばFM合成も、実現可能であり、この発明は特
定の楽音合成方式には制限されない)、この処理におい
ては、エンベローズデータを作成してRAM106の音
源処理レジスタ内にストアする処理を行っている。この
処理を実行するために、MCPUIOのRAMl06内
のレジスタ群は、第7図に示すように、エンベロープデ
ータイマ、目標エンベローフ、エンベローズΔX、加減
フラグ付エンベロープ、現在エンベロープが記憶され、
この所望のレジスタヲ演算し、更新する。エンベロープ
は振幅変調のために基本波形に付加すべきもので、全体
としていくつかのセグメント(ステップ)から成ってい
る。エンベロープΔXタイマと目標エンベローズとエン
ベローズΔXと加減フラク付エンベロープΔyは現在進
行中のエンベロープセグメントを定義するエンベロープ
パラメータであり、このエンベロープパラメータは、M
CPUIOのメインプログラム(第4図)の発音制御処
理4−9内において、エンベロープ値がセグメントの目
標値に到達の都度、更新される情報であり、インタラブ
ド処理ルーチン(第5図)ではこれらのエンベローズパ
ラメータはエンベロープΔXタイマを除いて単に参照さ
れるだけである。エンベロープΔXはエンベローズの演
算周期を表わし、目標エンベロープは現セグメントにお
けるエンベロープの目標値を表わし、加減フラグ付エン
ベロープΔyは演算周期ごとのエンベローズの変化分を
表わし、現在エンベローズは現在のエンベロープ値を表
わす、第6図のフローを詳細に述べると、6−1でエン
ベロープの演算周期ΔXと比較するためのタイマレジス
タをインタラブドごとにインクリメントし、6−2でΔ
Xと一致したとき6−3でエンベロープ変位分のデータ
Δyの加減算フラグ(符号ビット)をテストしてエンベ
ロープが上昇中か下降中かを判別し、6−4.6−5で
それぞれ現在エンベロープの減算または加算を行う、6
−6で現在エンベロープが目標エンベロープ値に達した
かどうかをチエツクし、達しておれば、6−7テ現在エ
ンベロープに目標レベルをセットする。
FIG. 6 shows a detailed flow of channel storage processing in steps 5-1 to 5-8 in FIG. (For example, FM synthesis is also possible, and the present invention is not limited to a specific musical tone synthesis method.) In this process, envelope data is created and stored in the sound source processing register of the RAM 106. There is. To execute this process, as shown in FIG. 7, a group of registers in the RAM 106 of the MCPUIO stores an envelope data timer, a target envelope, an envelope ΔX, an envelope with an addition/subtraction flag, and a current envelope.
This desired register is operated and updated. The envelope should be added to the basic waveform for amplitude modulation, and consists of several segments (steps) as a whole. Envelope ΔX timer, target envelope, envelope ΔX, and envelope Δy with addition/subtraction flux are envelope parameters that define the currently ongoing envelope segment, and this envelope parameter is M
In the sound generation control processing 4-9 of the CPUIO main program (Fig. 4), this information is updated each time the envelope value reaches the target value of the segment, and in the interconnected processing routine (Fig. 5), these envelops are updated. The bellows parameters are only referenced except for the envelope ΔX timer. The envelope ΔX represents the calculation cycle of the envelope, the target envelope represents the target value of the envelope in the current segment, the envelope Δy with addition/subtraction flag represents the change in the envelope for each calculation cycle, and the current envelope represents the current envelope value. To describe in detail the flow shown in FIG.
When it matches with perform subtraction or addition, 6
-6 checks whether the current envelope has reached the target envelope value, and if so, sets the current envelope to the target level in step 6-7.

これによりメインプログラムの出力J[4−9で次のエ
ンベロープステップのデータがセー2トされることにな
る。また出力処理4−9でゼロの現在エンベローズを読
んだときには発音の終了として処理される。このあと6
−8で生成された現在エンベローズ値をRAM106の
音源処理レジスタ内で対応するチャンネルの領域にスト
アする。
As a result, the data of the next envelope step is saved at the output J[4-9 of the main program. Further, when the current envelope of zero is read in output processing 4-9, it is processed as the end of the sound generation. 6 more after this
The current envelope value generated at -8 is stored in the corresponding channel area in the sound source processing register of the RAM 106.

第8図は、SCPU20のインタラブド処理ルーチンの
フローを示す、このルーチンは第5図のフローにおいて
出力する信号Aの発生に同期してスタートするものであ
る。
FIG. 8 shows the flow of the interwoven processing routine of the SCPU 20. This routine starts in synchronization with the generation of the signal A output in the flow of FIG.

7−1で波形加算用RAM領域(RAM106内、RA
M206内)をクリアし、7−2〜7−9で第1チヤン
ネルから第8チヤンネルまでの各チャンネル音源処理を
順次実行する。各チャンネル音源処理の最後で、チャン
ネルの楽音波形値が波形加算用RAM領域のデータに加
算される。このあと8−10において波形加算用RAM
のデータをDACに出力し、8−11においてオペレー
ション制御回路212は終了信号Bを出力する。
7-1 is the RAM area for waveform addition (inside RAM106, RAM
M206) is cleared, and sound source processing for each channel from the first channel to the eighth channel is sequentially executed in steps 7-2 to 7-9. At the end of each channel sound source processing, the tone waveform value of the channel is added to the data in the waveform addition RAM area. After this, in 8-10, the RAM for waveform addition
The operation control circuit 212 outputs the end signal B at 8-11.

この信号BはMCPUIOのSCPUリセツト制帽13
4に入力し、信号Aの出方を停止させる。この結果、S
CPU20の動作は停止する。
This signal B is the SCPU reset cap 13 of the MCPUIO.
4 and stop the output of signal A. As a result, S
The operation of the CPU 20 is stopped.

第9図は、第8図の各チャンネル音源処理の詳細なフロ
ーを示す、ここにおいては、各チャンネルの波形処理を
行うとともにMCPUIOのインタラブド処理ルーチン
(第5図、第6図)において生成されたエンベロープデ
ータに基づいてエンベロープ機能を付加するものである
。ここでの波形処理は、現在アドレスの整数部を使って
基本波形メモリから隣り合う2つアドレスの波形データ
を読み出し、(整数部子小数部)て示される現在アドレ
スに対して想定される波形値を補間で求めている8補間
が必要な理由は、タイマインタラブドによる波形サンプ
リング周期が一定であり、アドレスの加算値(ピッチデ
ータ)が楽器への応用上、ある音域にわたるためである
(音階音しか出力しない楽器で音階音ごとに波形データ
を用意すれば補間の必要はないが許容できない記憶容量
の増大となる)、補間による音色の劣化、歪みは高音域
の方が著しいため、原音の記録サンプリング周期より高
速の周期で原音を再生するのが好ましい、この実施例で
は原音(4−4)再生の周期を2倍にしている(第10
図)、シたがって、アドレス加X値が0.5のとき、A
4の音が得られるようになっている。この場合、A#4
ではアドレス加算値は0.529となり、A3のとき、
lとなる。
FIG. 9 shows a detailed flow of the sound source processing for each channel in FIG. It adds an envelope function based on envelope data. The waveform processing here uses the integer part of the current address to read the waveform data of two adjacent addresses from the basic waveform memory, and calculates the expected waveform value for the current address indicated by (integer part to decimal part). The reason why 8-interpolation is necessary is that the waveform sampling period by timer interpolation is constant, and the address addition value (pitch data) spans a certain range for application to musical instruments (scale tones). (If you prepare waveform data for each scale note on an instrument that only outputs the sound, there will be no need for interpolation, but it will increase the storage capacity into an unacceptable amount.) Since the deterioration and distortion of the timbre due to interpolation are more pronounced in the high range, it is necessary to record the original sound. It is preferable to reproduce the original sound at a cycle faster than the sampling cycle. In this embodiment, the cycle for playing the original sound (4-4) is doubled (10th
), Therefore, when the address addition X value is 0.5, A
4 sounds can be obtained. In this case, A#4
Then, the address addition value is 0.529, and when it is A3,
It becomes l.

これらのアドレス加算値はピッチデータとして制御デー
タ兼波形外部メモリ90内に記憶されており、押鍵時に
は前に述へたように出力処理4−9において、鍵に対応
するビーフ千データと選択されている音色の波形スター
トアドレス、波形エンドアドレス及び波形ループアドレ
スがRAM106へ、そしてRAM106からRAM2
06(7)対応するレジスタ、すなわち、アドレス加算
値レジスタ、スタートアドレス兼現在アドレスレジスタ
、エンドアドレスレジスタ、ループアドレスレジスタに
セットされる。
These address addition values are stored as pitch data in the control data/waveform external memory 90, and when a key is pressed, they are selected as beef thousand data corresponding to the key in the output process 4-9 as described above. The waveform start address, waveform end address, and waveform loop address of the selected tone are transferred to RAM 106, and from RAM 106 to RAM2.
06(7) Set in the corresponding registers, ie, address addition value register, start address/current address register, end address register, and loop address register.

参考までに、第10図に時間に対する補間波形データを
示す1図中、白丸は基本波形メモリの記憶場所にある波
形データ値、X印は補間値を含む出力サンプルを示して
いる。
For reference, in FIG. 10, which shows interpolated waveform data with respect to time, white circles indicate waveform data values stored at storage locations in the basic waveform memory, and X marks indicate output samples containing interpolated values.

補間の方式はいろいろあるが、ここでは直線補間を採用
している。詳細に述べると、まず、9Iで現在アドレス
にアドレス加算値を加算して新しい現在アドレスを得る
。9−2で現在アドレスとエンドアドレスを比較し、現
在アドレス〉エンドアドレスならば、9−3.9−4に
より、現在アドレスくエンドアドレスのときは9−5に
より、物理上(番地上)または論理上(動作上)の次の
アドレスを計算し、9−7でその整数部により基本波形
メモリをアクセスして次回波形データを得る。ループア
ドレスは動作上エンドアドレスの次のアドレスである。
There are various interpolation methods, but here we use linear interpolation. In detail, first, in 9I, an address addition value is added to the current address to obtain a new current address. Compare the current address and end address in 9-2, and if the current address > end address, use 9-3.9-4. If the current address is less than the end address, use 9-5 to determine whether the The next logical (operational) address is calculated, and the basic waveform memory is accessed using the integer part at 9-7 to obtain the next waveform data. The loop address is operationally the next address after the end address.

すなわち、第1011の場合、図示の波形は繰り返し読
み出される。したがって、現在アドレス=エンドアドレ
スのときは次のアドレスとしてループアドレスの波形デ
ータを読み出す(9−6)、9−8.9−9により、現
在アドレスの整数部で基本波形をアクセスして今回の波
形データを読み出す0次に、9−10で次回波形値から
今回波形値を減算し、9−11でその差に現在アドレス
の小数部を乗算し、その結果を9−12で今回の波形値
に加えることにより、波形の直線補F!Jff値を求め
る。この直線補間したデータに現在エンベロープ値を乗
算してチャンネルの楽音データ値を得(9−13)、そ
れを波形加算用レジスタの内容に加えて楽音データを累
算する(9−14)、このレジスタに累算されたデジタ
ル楽音データがSCPUインタラブド処理ルーチン(第
8図) の8−1O−cDAclooに送出ネれる。こ
れに関連し、!!1図ではDAClooはステレオ出力
を得るべく右DAC100Rと左DAC100Lから成
っている。この場合、SCPU20の処理する音源チャ
ンネルの夫々を左右のDACのいずれに割り当てるかを
決めるようにするとよい、具体的には、各チャンネル用
の音源データとして内部RAM206上に、選択DAC
指示データをもたせ、また、2つの波形加算用領域、即
ち、左DAC用波形加算用領域と左DAC用波形加算用
領域を設ける。また、8−1に対応するステップで左右
のDAC用の各波形加算用領域をクリアし、9−13の
処理の後、処理チャンネルに割り当てているDACを選
択DAC指示データから判別し、対応する波形加算用領
域に処理チャンネルの楽音波形データを加算する。そし
て、SCPU20のインタラブド処理ルーチン(第8図
)のステップ8−10に対応するステップで、加算結果
である左DAC用と右DAC用の楽音波形データを5−
5に相当するステップで、それぞれ左DAC100Lと
右DAC100Rに送出する。
That is, in the 1011th case, the illustrated waveform is repeatedly read out. Therefore, when the current address = end address, read the waveform data of the loop address as the next address (9-6), access the basic waveform with the integer part of the current address by 9-8.9-9, and read the waveform data of the loop address as the next address (9-6). Read the waveform data 0 Next, in steps 9-10, subtract the current waveform value from the next waveform value, in steps 9-11, multiply the difference by the decimal part of the current address, and use the result as the current waveform value in steps 9-12. The linear complement of the waveform is obtained by adding F! Find the Jff value. This linearly interpolated data is multiplied by the current envelope value to obtain the musical tone data value of the channel (9-13), and it is added to the contents of the waveform addition register to accumulate the musical tone data (9-14). The digital musical tone data accumulated in the register is sent to 8-1O-cDAcloo of the SCPU interwoven processing routine (FIG. 8). Related to this! ! In Figure 1, DACloo consists of a right DAC 100R and a left DAC 100L to obtain a stereo output. In this case, it is preferable to decide which of the left and right DACs to assign each of the sound source channels processed by the SCPU 20. Specifically, the sound source data for each channel is stored on the internal RAM 206 as the selected DAC.
In addition, two waveform addition areas are provided, namely, a left DAC waveform addition area and a left DAC waveform addition area. In addition, in the step corresponding to 8-1, each waveform addition area for the left and right DACs is cleared, and after the processing in 9-13, the DAC assigned to the processing channel is determined from the selected DAC instruction data, and the corresponding Add the musical waveform data of the processing channel to the waveform addition area. Then, in a step corresponding to step 8-10 of the interwoven processing routine of the SCPU 20 (FIG. 8), the musical waveform data for the left DAC and the right DAC, which are the addition results, are added to the 5-
In step 5, the signals are sent to the left DAC 100L and right DAC 100R, respectively.

第12図は、第1図に示されるDACの構成例を示す。FIG. 12 shows an example of the configuration of the DAC shown in FIG.

本実施例においてDAclooはSCPU20が生成し
たデジタル楽音信号をアナログ楽音信号に変換するもの
である。第8図の8〜10に示すように、SCPU20
はタイマインタラブド処理ルーチンのなかで、SCPU
20が生成したデジタル楽音信号のサンプルをDAC1
00にセットする。この処理8−10の実行間隔は平均
としてはタイマインタラブド発生部116の発生するイ
ンタラブド信号INTの発生間隔に等しいが、実際の実
行間隔はプログラム動作のために変動する。したがって
、処理8−10の実行間隔をD/A変換の変換周期とし
てD/A変換を行ったとするとアナログ楽音信号に大き
な歪みが生じてしまフ。
In this embodiment, DAcloo converts the digital musical tone signal generated by the SCPU 20 into an analog musical tone signal. As shown in 8 to 10 of FIG.
is executed by the SCPU in the timer-interrupted processing routine.
The sample of the digital musical tone signal generated by DAC 1
Set to 00. The execution interval of this process 8-10 is on average equal to the generation interval of the interwoven signal INT generated by the timer interwoven generation section 116, but the actual execution interval varies due to the program operation. Therefore, if D/A conversion is performed with the execution interval of process 8-10 as the conversion period of D/A conversion, a large distortion will occur in the analog tone signal.

この問題は第12図に示すような構成をとることにより
解決される。すなわち、オペレーション制御回路112
からのプログラム制御信号によって制御されるソフト制
御ラッチ1004と、デジタル楽音信号をアナログ楽音
信号に変換するD/A変換器1002との間に、インタ
ラブド発生部116からの正確なタイミング信号である
インタラブド信号INTで制御されるインタラブド制御
ラッチ1006を設ける。インタラブド信号の発生周期
はクロック発振器の安定度に従うので極めて安定である
。ラッチ1006の出力はインタラブド信号のタイミン
グに同期して切り換わる。すなわち、インタラブド信号
の発生周期がD/A変換器1002の変換(サンプリン
グ)周期となる。従って、ラー、チ1004り出力が切
り換わるタイミングはインタラブド処理のタイミングず
れに従って変動するがインタラブド信号で動作するラッ
チ1006があるのでD/A変換器1002のλカデー
タが切り換るタイミングはインタラブド信号と同期する
。これにより、前述の第13図は、時間の流れに沿う本
実施例の動作の流れを示すタイムチャートである。この
図かられかるように、インタラブド信号INTが発生す
ると、MCPUIOはメインフローの実行を中断し、イ
ンタラブド処理ルーチンを実行する。ここにおいて、始
めにSCPU20にデータを転送し、このデータ転送が
終了するとSCPU20に動作開始信号Aを出力する。
This problem can be solved by adopting a configuration as shown in FIG. That is, the operation control circuit 112
An interlaced signal, which is a precise timing signal from the interlaced generator 116, is connected between the soft control latch 1004 controlled by a program control signal from the interlaced generator 116 and the D/A converter 1002 that converts the digital musical tone signal to an analog musical tone signal. An interlaced control latch 1006 controlled by INT is provided. The generation period of the interwoven signal follows the stability of the clock oscillator, so it is extremely stable. The output of latch 1006 is switched in synchronization with the timing of the interlaced signal. That is, the generation period of the interwoven signal becomes the conversion (sampling) period of the D/A converter 1002. Therefore, the timing at which the error and chi 1004 outputs switch varies according to the timing deviation of the interwoven processing, but since there is a latch 1006 that operates with the interwoven signal, the timing at which the λ data of the D/A converter 1002 switches is the same as the interwoven signal. Synchronize. Accordingly, the above-mentioned FIG. 13 is a time chart showing the flow of the operation of this embodiment along the flow of time. As can be seen from this figure, when the interwoven signal INT is generated, the MCPUIO interrupts execution of the main flow and executes the interwoven processing routine. Here, data is first transferred to the SCPU 20, and when this data transfer is completed, an operation start signal A is output to the SCPU 20.

そしてそのあとエンベロープ処理を行う、SCPU20
は、信号Aを受けて波形データピッチ補間、エンベロー
プ乗算の処理を行う、そして処理が終了すると待機状態
となる。
After that, the SCPU 20 performs envelope processing.
receives the signal A and performs processing of waveform data pitch interpolation and envelope multiplication, and when the processing is completed, it enters a standby state.

このように1本実施例の電子楽器用処理装置はMCPU
I OとSCPU20とい5複数t7)CPUを有し、
内蔵されるプログラムに従ってひとつの音の音源処理を
各CPUで分割して実行することができる。なお実施例
では1つのSCPUを使用しているが、音源処理を行う
複数のSCPUを設けるようにしてもよい。
In this way, the electronic musical instrument processing device of this embodiment is an MCPU.
It has a plurality of IO and SCPU20 (5) CPUs,
Sound source processing for one sound can be divided and executed by each CPU according to a built-in program. Although one SCPU is used in the embodiment, a plurality of SCPUs that perform sound source processing may be provided.

[変形例] 以上で実施例の説明を終えるが、この発明の範囲内で種
々の変形、変更が可能である。
[Modifications] This concludes the description of the embodiments, but various modifications and changes are possible within the scope of the present invention.

例えば、前述の実施例ではひとつの音についての音源処
理を、MCPUIOではエンベロープ処理を、SCPU
20では波形処理をというように分担しているが、この
各CPUの分担を、MCPUIOではシステムの全体制
御のみを、SCPU20は音源処理すべてと、分担を変
更することも可能である。
For example, in the above embodiment, the sound source processing for one sound is performed by the MCPUIO, the envelope processing is performed by the SCPUIO, and the SCPU
20 is responsible for waveform processing, but it is also possible to change the responsibility of each CPU to MCPUIO, which handles only overall control of the system, and SCPU 20, which handles all sound source processing.

第14図〜第17図は、この変形例の動作を示すフロー
チャート及びタイムチャートを示す。
FIG. 14 to FIG. 17 show a flowchart and a time chart showing the operation of this modification.

ここにおいて特徴的なことは、SCPU20のみで音源
処理を行い、MCPUIOではキースキャン、伴奏パタ
ーン発生、チャンネル割当等の全体制御処理を行うこと
である。そしてMCPUIOはこれら全体制御処理をメ
インフローで行い、インタラブド信号発生にて行なわれ
るインタラブド処理ルーチンにおいて、MCPUIOか
らSCPU20のRAM206の音源処理レジスタ(第
18図)へのデータ転送を行うようになっている。さら
に、このデータ転送は1例えばデータの値が前に転送さ
れたデータと比べて変わった場合等、データ転送が必要
な場合のみ行なわれるようになっている。
What is characteristic here is that only the SCPU 20 performs sound source processing, and the MCPUIO performs overall control processing such as key scanning, accompaniment pattern generation, and channel assignment. The MCPUIO performs these overall control processes in the main flow, and in the interwoven processing routine performed when an interwoven signal is generated, data is transferred from the MCPUIO to the sound source processing register (Fig. 18) in the RAM 206 of the SCPU 20. . Furthermore, this data transfer is performed only when necessary, such as when the value of the data has changed compared to previously transferred data.

第14図は、MCPUIOのメインフローを示す0図に
おいて、第4図と同一のステップは、第4図と同一番号
を付して説明を省略する。
FIG. 14 is a diagram illustrating the main flow of MCPUIO, in which the same steps as in FIG. 4 are given the same numbers as in FIG. 4 and their explanations are omitted.

ステップ4−9の発音制御処理において、各チャンネル
に対応するRAM106の領域に必要なデータを記憶し
たあと、14−1において、これらのデータのうち、例
えば前に転送したデータと比べて変化したものがあるか
否か等、SCPU20に転送すべきデータがあるかどう
か判断する。
In the sound generation control process of step 4-9, after the necessary data is stored in the area of the RAM 106 corresponding to each channel, in step 14-1, among these data, for example, data that has changed compared to the previously transferred data is stored. It is determined whether there is data to be transferred to the SCPU 20.

ここで、有りと判断されると14−2において転送フラ
グをセットし、なしと判断されると14−3において転
送フラグをリセットして、4−1Oに移る。このフロー
の動作は、インタラブド信号INTが発生するまで続き
、信号INTが発生するとMCPUインタラブド処理ル
ーチンに移る。
Here, if it is determined that there is, a transfer flag is set in 14-2, and if it is determined that there is no transfer, the transfer flag is reset in 14-3, and the process moves to 4-1O. The operation of this flow continues until the interwoven signal INT is generated, and when the signal INT is generated, the process moves to the MCPU interwoven processing routine.

第15図は、MCPUインタラブド処理ルーチンのフロ
ーを示す。
FIG. 15 shows the flow of the MCPU interwoven processing routine.

まず15−1において、SCPU20の動作が完了して
いるかどうか判断する。具体的にはMCPUIOから動
作開始用信号Aが出力しているかどうかを判断するもの
であり、もし信号Aが発生しているならこのステップで
待機し、信号Aが発生していないなら、次のステップ1
5−2に進む、15−2においては、前述の転送フラグ
がセットされているか否か判断する。もしセットされて
いるなら、15−3においてSCPU20へ音源処理に
必要なデータ(例えば、モジュレーションホイール等か
らの変調データなど)を転送し、続いて転送フラグをリ
セットする(15−4)。
First, in step 15-1, it is determined whether the operation of the SCPU 20 has been completed. Specifically, it is determined whether the operation start signal A is output from the MCPUIO. If the signal A is generated, it waits at this step, and if the signal A is not generated, the next step is performed. Step 1
The process proceeds to 5-2. In 15-2, it is determined whether the above-mentioned transfer flag is set. If set, data necessary for sound source processing (for example, modulation data from a modulation wheel, etc.) is transferred to the SCPU 20 in step 15-3, and then the transfer flag is reset (step 15-4).

15−2で転送フラグがリセットされていると判断され
たなら、この15−3.15−4のステップの処理は行
なわない、そして次の15−5において、SCPU20
へ動作開始用の信号Aを出力してメインルーチンに戻る
If it is determined in 15-2 that the transfer flag has been reset, steps 15-3 and 15-4 are not performed, and in the next step 15-5, the SCPU 20
The signal A for starting the operation is output to , and the process returns to the main routine.

SCPU20は、MCPUIOからの動作開始信号を受
けて、動作を開始する。第16図はこのSCPU20の
動作を示すフローチャートである。まず、16−1にお
いて、MCPUIOから転送されたデータに基づき楽音
信号データを生成してDACI OOに出力する。これ
は例えば第6図及び第9図のフローチャートを合わせた
処理が為される。そしてこのあと、16−2において、
MCPUIOに動作終了信号Bを送出する。MCPUI
Oはこの信号Bを受けて信号Aを停止させ、SCPU2
0の動作を停止させる。
The SCPU 20 starts operating upon receiving an operation start signal from the MCPUIO. FIG. 16 is a flowchart showing the operation of this SCPU 20. First, at 16-1, musical tone signal data is generated based on the data transferred from the MCPUIO and output to the DACI OO. This is performed, for example, by combining the flowcharts of FIGS. 6 and 9. And after this, at 16-2,
Sends operation end signal B to MCPUIO. MCPUI
O receives this signal B, stops signal A, and sends SCPU2
Stop the operation of 0.

第17図は、この変形例の動作の流れを示すタイムチャ
ートである。この図かられかるように、MCPUIOは
、インタラブド信号INT発生によってインタラブドフ
ローを実行し、その動作中においてSCPU20にデー
タを転送するとともに動作開始を指示する。SCPU2
0は、この動作開始指示により動作を開始し、楽音デー
タを生成し、DAC100にデータを送出する。DAC
looは、このSCPU20からの楽音生成データをそ
の後のインタラブド信号発生時にD/A変換して出力す
るように構成されている。なお、この変形例ではMCP
UIOのインタラブド処理ルーチンにおいてMCPUか
らSCPUにデータを全て転送していたが、前述の実施
例のようにSCPUが動作していない間にMCPUのメ
インフロー動作期間にデータを転送してもよい。
FIG. 17 is a time chart showing the flow of operation of this modification. As can be seen from this figure, the MCPUIO executes the interwoven flow by generating the interwoven signal INT, and during the operation, transfers data to the SCPU 20 and instructs the SCPU 20 to start the operation. SCPU2
0 starts its operation in response to this operation start instruction, generates musical tone data, and sends the data to the DAC 100. DAC
loo is configured to D/A convert and output the musical tone generation data from the SCPU 20 when an interwoven signal is generated thereafter. In addition, in this modification, MCP
Although all data is transferred from the MCPU to the SCPU in the UIO interwoven processing routine, the data may be transferred during the main flow operation period of the MCPU while the SCPU is not operating, as in the above embodiment.

このように、この変形例においては、MCPUloでは
全体の制御処理を、SCPU20では音源の処理を、と
いうように分割して実行している。このため、今までハ
ードウェアで構成されていた音源を1つのCPUで構成
しているため、音源の特性の変更は非常に容易になり、
また他の楽器の音源用として用いる場合でも、ハード的
な構成を変更することなく容易にできる。また、ここに
おいてはSCPUは1個のみ用いているが、複数の音源
処理用としてSCPUを複数個設けることが可能である
ことは言うまでもない。
In this manner, in this modification, the MCPUlo performs the overall control processing, and the SCPU 20 performs the sound source processing, and so on. For this reason, the sound source that used to be made up of hardware is now made up of a single CPU, making it extremely easy to change the characteristics of the sound source.
Moreover, even when using it as a sound source for other musical instruments, it can be easily done without changing the hardware configuration. Further, although only one SCPU is used here, it goes without saying that it is possible to provide a plurality of SCPUs for processing a plurality of sound sources.

[発明の効果] 最後に特許請求の範囲に記載の発明の効果、利点につい
て述べる。
[Effects of the Invention] Finally, the effects and advantages of the invention described in the claims will be described.

請求項1の構成によれば複数のCPUが各々のプログラ
ムに従って夫々動作して楽音信号の生成処理の各部を分
担して行うので従来のような専用構造の音源回路ハード
ウェアに頼ることなく音源としての能力の高い電子楽器
用処理装置を提供することができる。また、装置の機能
の追加、変更は基本的に各CPUで実行するプログラム
を変更することによって達成し得、大幅なハードウェア
回路の変更を必要としない。
According to the structure of claim 1, since the plurality of CPUs operate according to respective programs and share each part of the musical tone signal generation processing, it is possible to use the CPU as a sound source without relying on the conventional dedicated sound source circuit hardware. It is possible to provide a processing device for an electronic musical instrument with high performance. Additionally, additions and changes to the functions of the device can be basically accomplished by changing the programs executed by each CPU, and do not require major changes to the hardware circuitry.

また、請求項2の構成によれば、上記の効果以外に複数
のCPU間のアクセス量(システムの動作効率の低下に
つながる)を最小にすることができる利点、単一のメイ
ンCPU使用によりシステム制御が容易になる利点、各
CPUのハードウェアを同様の回路で構成できるだけで
なく各CPUが内蔵するプログラムも可能なかぎり共通
なものが使用できる利点、結果として電子楽器用処理装
置のシステム構築が容易になる利点等がある。
According to the configuration of claim 2, in addition to the above-mentioned effects, there is also an advantage that the amount of access between multiple CPUs (which leads to a decrease in system operating efficiency) can be minimized, and the use of a single main CPU allows the system to The advantage is that control becomes easier, the hardware of each CPU can be configured with similar circuits, and the programs built into each CPU can be used as common as possible.As a result, the system construction of processing equipment for electronic musical instruments is easy There are advantages such as ease of use.

また、請求項3の構成によれば、メインのCPUで楽音
の生成処理の最初の部分である第1の処理を行い、サブ
のCPUで残りの処理である第2の処理を行うようにし
たので、楽音合成のアルゴリズムが複雑で、多くの処理
過程を必要とする場合において、各CPUの負担が軽く
なり、より多彩な楽音信号生成が可能となる。
Further, according to the configuration of claim 3, the main CPU performs the first process, which is the first part of the musical tone generation process, and the sub CPU performs the remaining process, the second process. Therefore, even if the tone synthesis algorithm is complex and requires many processing steps, the burden on each CPU is lightened, making it possible to generate a wider variety of tone signals.

また、請求項4の構成によれば、メインCPUは全体制
御処理と音源処理の一部を、サブCPUは残りの音源処
理を行うようにしたので、音源処理が極めて多くの処理
過程が必要な場合、サブCPUのみに過大な負担がかか
らず、処理時間が短くなって楽音生成能力が上がる。
Further, according to the configuration of claim 4, the main CPU performs the overall control processing and part of the sound source processing, and the sub CPU performs the remaining sound source processing, so that the sound source processing does not require an extremely large number of processing steps. In this case, an excessive burden is not placed only on the sub-CPU, the processing time is shortened, and the musical tone generation ability is improved.

また、請求項5の構成によれば、音源処理がエンベロー
プ処理及びエンベロープ付加(乗算処理)を伴う波形処
理から成る場合、メインCPUはエンベロープ処理を行
い、サブCPUが乗算処理を伴う波形処理を行うように
したので、乗算処理という処理時間のかかる処理を伴う
波形処理は専用のサブCPUで処理されるため、どちら
のCPHにも過大な負担がかからず、結果として楽音生
成処理の時間が短くなる。
According to the structure of claim 5, when the sound source processing consists of envelope processing and waveform processing with envelope addition (multiplication processing), the main CPU performs the envelope processing, and the sub CPU performs the waveform processing with multiplication processing. As a result, waveform processing that involves multiplication processing, which takes time, is processed by a dedicated sub-CPU, so neither CPU is overly burdened, and as a result, the time required for musical tone generation processing is shortened. Become.

さらに請求項6の構成によれば、サブCPUは音源処理
専用として用いられるため、音源の特性を変更しようと
する場合も、ハードウェア構成を変更することなく簡単
に楽音の発生態様を可変することができ、様々な電子楽
器に対応できる。
Furthermore, according to the configuration of claim 6, since the sub-CPU is used exclusively for sound source processing, even when trying to change the characteristics of the sound source, the manner in which musical sounds are generated can be easily varied without changing the hardware configuration. It can be used with a variety of electronic musical instruments.

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

第1図はこの発明を適用した電子楽器用処理装置の全体
構成図 第2図は第1図のMCPUのブロック図、第3図は第1
図のSCPUのブロック図、第4図はMCPUの実行す
るメインプログラムのフローチャート、 第5図はMCPUの実行するインタラブド処理ルーチン
のフローチャート、 第6図は第5図のチャンネル処理の詳細なフローチャー
ト、 第7図はMCPUの音源処理用RAMテーブルを示す図
、 第8図はSCPUの実行する処理ルーチンのフローチャ
ート、 第9図は第8図の各チャンネル処理の詳細なフローチャ
ート、 第10図は波形データを示す図。 第11図はSCPUの音源処理用RAMテーブルを示す
図、 第12図はDACの構成図。 第13図は、時間経過に沿う実施例の動作を示すタイム
チャート、 第14図は、本発明の変形例におけるMCPUのメイン
ルーチンのフローチャート、 第15図は、変形例におけるMCPUのインタラブド処
理ルーチンのフローチャート、第16図は、変形例にお
けるSCPUの処理ルーチンのフローチャート、 第17図は、時間経過に沿う変形例の動作を示すタイム
チャート 第18図は変形例におけるSCPUの音源処理用RAM
テーブルを示す図である。 lO・・・・・・MCPU(メインCPU)20・・・
・・・SCPU (サブCPU)102・・・・・・制
御用ROM(MCPUプログラム記憶手段) 106・・・・・・RAM(MCPUデータ記憶手段)
108・・・・・・ALU部(MCPU演算処理回路手
段) 110・・・・・・乗算器(MCPU演算処理回路手段
) 112・・・・・・オペレーション制御回路(MCPU
オペレーション制御回路手段) 114・・・・・・ROMアドレス制御部(MCPUア
ドレス制御回路手段) 202・・・・・・制御用ROM(SCPUプログラム
記憶手段) 206・・・・・・RAM (SCPUデータ記憶手段
)208・・・・・・ALU部(S CPU演算処理回
路手段) 210・・・・・・乗算器(SCPU演算処理回路手段
) 212・・・・・・オペレーション制御回路(SCPU
オペレーション制御回路手段) 214・・・・・・ROMアドレス制御部(SCPUア
ドレス制御回路手段)
FIG. 1 is an overall configuration diagram of an electronic musical instrument processing device to which the present invention is applied. FIG. 2 is a block diagram of the MCPU shown in FIG.
Figure 4 is a flowchart of the main program executed by the MCPU; Figure 5 is a flowchart of the interwoven processing routine executed by the MCPU; Figure 6 is a detailed flowchart of the channel processing in Figure 5; Figure 7 is a diagram showing the RAM table for sound source processing by the MCPU, Figure 8 is a flowchart of the processing routine executed by the SCPU, Figure 9 is a detailed flowchart of each channel processing in Figure 8, and Figure 10 is a diagram showing the waveform data. Figure shown. FIG. 11 is a diagram showing the RAM table for sound source processing of the SCPU, and FIG. 12 is a configuration diagram of the DAC. FIG. 13 is a time chart showing the operation of the embodiment over time; FIG. 14 is a flowchart of the main routine of the MCPU in a modification of the present invention; FIG. 15 is a flowchart of the MCPU's interactive processing routine in the modification Flowchart, FIG. 16 is a flowchart of the processing routine of the SCPU in the modified example, FIG. 17 is a time chart showing the operation of the modified example over time, and FIG. 18 is the RAM for sound source processing of the SCPU in the modified example.
It is a figure showing a table. lO...MCPU (main CPU) 20...
...SCPU (sub CPU) 102... Control ROM (MCPU program storage means) 106... RAM (MCPU data storage means)
108... ALU unit (MCPU arithmetic processing circuit means) 110... Multiplier (MCPU arithmetic processing circuit means) 112... Operation control circuit (MCPU
operation control circuit means) 114...ROM address control unit (MCPU address control circuit means) 202...control ROM (SCPU program storage means) 206...RAM (SCPU data Storage means) 208... ALU unit (S CPU arithmetic processing circuit means) 210... Multiplier (SCPU arithmetic processing circuit means) 212... Operation control circuit (SCPU
operation control circuit means) 214...ROM address control section (SCPU address control circuit means)

Claims (6)

【特許請求の範囲】[Claims] (1)各CPUが各々のプログラムで動作するように構
成した複数のCPUを有し、前記複数のCPUが前記プ
ログラムに従って夫々楽音信号の生成処理の各部を分担
して実行する手段を含むことを特徴とする電子楽器用処
理装置。
(1) It has a plurality of CPUs, each of which is configured to operate according to a respective program, and each of the plurality of CPUs includes means for dividing and executing each part of the musical tone signal generation process according to the program. Characteristic processing device for electronic musical instruments.
(2)請求項1記載の電子楽器用処理装置において、前
記複数のCPUは1つのメインCPUとこのメインCP
Uによって制御される少なくとも1つのサブCPUから
成り、 前記メインCPUは、 楽器への入力を処理するための入力装置プログラムと入
力処理プログラムによる前記楽器への入力の処理結果に
基づいて楽音を生成するための楽音生成プログラムとを
記憶するMCPUプログラム記憶手段と、 前記MCPUプログラム記憶手段のアドレスを制御する
MCPUアドレス制御回路手段と、前記楽器への入力処
理と前記楽音の生成処理に必要なデータを記憶するMC
PUデータ記憶手段と、 演算処理を行うMCPU演算処理回路手段と、前記MC
PUプログラム記憶手段のプログラムの各命令を解読し
て前記MCPUアドレス制御回路手段、前記MCPUデ
ータ記憶手段、前記MCPU演算処理回路手段の動作を
制御するMCPUオペレーション制御回路手段と、 を有し、 前記サブCPUの各々は、 前記MCPUプログラム記憶手段の前記入力処理プログ
ラムによる前記楽器への入力の処理結果に基づいて楽音
を生成するための楽音生成プログラムを記憶するSCP
Uプログラム記憶手段と、前記SCPUプログラム記憶
手段のアドレスを制御するSCPUアドレス制御回路手
段と、前記楽音の生成処理に必要なデータを記憶するS
CPUデータ記憶手段と、 演算処理を行うSCPU演算処理回路手段と、前記SC
PUプログラム記憶手段のプログラムの各命令を解読し
て前記SCPUアドレス制御回路手段、前記SCPUデ
ータ記憶手段、前記SCPU演算回路手段の動作を制御
するSCPUオペレーション制御回路手段と、 を有することを特徴とする電子楽器用処理装置。
(2) In the processing device for an electronic musical instrument according to claim 1, the plurality of CPUs include one main CPU and one main CPU.
It consists of at least one sub-CPU controlled by the main CPU, and the main CPU generates musical tones based on the processing results of the input to the musical instrument by an input device program for processing input to the musical instrument and an input processing program. MCPU program storage means for storing a musical tone generation program for the musical tones; MCPU address control circuit means for controlling the address of the MCPU program storage means; and MCPU address control circuit means for storing data necessary for input processing to the musical instrument and generation processing of the musical tones. MC to do
PU data storage means, MCPU arithmetic processing circuit means for performing arithmetic processing, and the MC
MCPU operation control circuit means for decoding each instruction of the program of the PU program storage means to control the operations of the MCPU address control circuit means, the MCPU data storage means, and the MCPU arithmetic processing circuit means; Each of the CPUs includes: an SCP that stores a musical tone generation program for generating musical tones based on processing results of inputs to the musical instrument by the input processing program of the MCPU program storage means;
U program storage means, SCPU address control circuit means for controlling the address of the SCPU program storage means, and S for storing data necessary for the musical tone generation process.
CPU data storage means, SCPU arithmetic processing circuit means for performing arithmetic processing, and the SC
SCPU operation control circuit means for decoding each instruction of the program of the PU program storage means and controlling the operations of the SCPU address control circuit means, the SCPU data storage means, and the SCPU arithmetic circuit means. Processing device for electronic musical instruments.
(3)請求項2記載の電子楽器用処理装置において、上
記メインCPUは楽音信号の生成処理のうち最初の部分
である第1の処理を行い、上記サブCPUは上記メイン
CPUの処理結果を受けて残りの部分である第2の処理
を行うことを特徴とする電子楽器用処理装置。
(3) In the processing device for an electronic musical instrument according to claim 2, the main CPU performs a first process that is the first part of the musical tone signal generation process, and the sub CPU receives the processing results of the main CPU. A processing device for an electronic musical instrument, characterized in that it performs second processing, which is the remaining part.
(4)請求項3記載の電子楽器用処理装置において、上
記第1の処理はシステム全体の制御処理及び音源処理の
一部を含む処理であり、上記第2の処理は上記最初の部
分の処理内の音源処理からの処理結果を受けた音源処理
であることを特徴とする電子楽器用処理装置。
(4) In the processing device for an electronic musical instrument according to claim 3, the first process is a process including control processing of the entire system and a part of sound source processing, and the second process is a process of the first part. 1. A processing device for an electronic musical instrument, characterized in that the processing device performs sound source processing that receives a processing result from the sound source processing in the above.
(5)請求項4記載の電子楽器用処理装置において、上
記音源処理は、エンベロープ処理及びエンベロープ付加
を伴う波形処理から成り、上記第1の処理はこのエンベ
ロープ処理を含み、上記第2の処理はこの波形処理を含
むことを特徴とする電子楽器用処理装置。
(5) In the electronic musical instrument processing device according to claim 4, the sound source processing includes envelope processing and waveform processing with envelope addition, the first processing includes the envelope processing, and the second processing includes the envelope processing. A processing device for an electronic musical instrument characterized by including this waveform processing.
(6)請求項3に記載の電子楽器用処理装置において、
上記第1の処理はシステム全体の制御処理であり、上記
第2の処理は音源処理であることを特徴とする電子楽器
用処理装置。
(6) In the electronic musical instrument processing device according to claim 3,
A processing device for an electronic musical instrument, wherein the first process is a control process for the entire system, and the second process is a sound source process.
JP2170169A 1990-06-29 1990-06-29 Processing equipment for electronic musical instruments Expired - Lifetime JP2797138B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2170169A JP2797138B2 (en) 1990-06-29 1990-06-29 Processing equipment for electronic musical instruments
US07/709,101 US5200564A (en) 1990-06-29 1991-05-29 Digital information processing apparatus with multiple CPUs
US08/001,184 US5691493A (en) 1990-06-29 1993-01-07 Multi-channel tone generation apparatus with multiple CPU's executing programs in parallel
US08/486,606 US5584034A (en) 1990-06-29 1995-06-07 Apparatus for executing respective portions of a process by main and sub CPUS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2170169A JP2797138B2 (en) 1990-06-29 1990-06-29 Processing equipment for electronic musical instruments

Publications (2)

Publication Number Publication Date
JPH0460596A true JPH0460596A (en) 1992-02-26
JP2797138B2 JP2797138B2 (en) 1998-09-17

Family

ID=15899968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2170169A Expired - Lifetime JP2797138B2 (en) 1990-06-29 1990-06-29 Processing equipment for electronic musical instruments

Country Status (1)

Country Link
JP (1) JP2797138B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5283386A (en) * 1991-08-30 1994-02-01 Casio Computer Co., Ltd. Musical-tone signal generating apparatus and musical-tone controlling apparatus including delay means and automatic reset means

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5283386A (en) * 1991-08-30 1994-02-01 Casio Computer Co., Ltd. Musical-tone signal generating apparatus and musical-tone controlling apparatus including delay means and automatic reset means

Also Published As

Publication number Publication date
JP2797138B2 (en) 1998-09-17

Similar Documents

Publication Publication Date Title
US5319151A (en) Data processing apparatus outputting waveform data in a certain interval
US5691493A (en) Multi-channel tone generation apparatus with multiple CPU&#39;s executing programs in parallel
JPH06195073A (en) Effect adding device
US5584034A (en) Apparatus for executing respective portions of a process by main and sub CPUS
JP2797142B2 (en) Processing equipment for electronic musical instruments
JPH0460596A (en) Processor for electronic musical instrument
EP0376342B1 (en) Data processing apparatus for electronic musical instruments
JP3087631B2 (en) Effect giving device
JPH0458291A (en) Musical sound waveform generator
JP2797137B2 (en) Processing equipment for electronic musical instruments
JP3230449B2 (en) Signal processing device
JPH0460698A (en) Musical sound waveform generator
JP2576613B2 (en) Processing equipment
JPH0460744A (en) Digital microcomputer
JP3116447B2 (en) Digital signal processor
JP3027831B2 (en) Musical sound wave generator
JP3011064B2 (en) Music processing unit
JP2797139B2 (en) Musical sound wave generator
JP3035991B2 (en) Musical sound wave generator
JPH0460724A (en) Digital microcomputer
JPH0460725A (en) Digital microcomputer
JPH0460746A (en) Digital microcomputer
JPH04140879A (en) Data transferring device for electronic musical instrument processor
JPH02179696A (en) Processor for electronic musical instrument
JPH0460723A (en) Digital microcomputer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070703

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080703

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090703

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090703

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100703

Year of fee payment: 12

EXPY Cancellation because of completion of term