[go: up one dir, main page]

JPH11202868A - Musical sound generating device - Google Patents

Musical sound generating device

Info

Publication number
JPH11202868A
JPH11202868A JP10011970A JP1197098A JPH11202868A JP H11202868 A JPH11202868 A JP H11202868A JP 10011970 A JP10011970 A JP 10011970A JP 1197098 A JP1197098 A JP 1197098A JP H11202868 A JPH11202868 A JP H11202868A
Authority
JP
Japan
Prior art keywords
waveform
mode
tone
sound source
control
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
JP10011970A
Other languages
Japanese (ja)
Other versions
JP3521724B2 (en
Inventor
Tokio Shirakawa
登喜男 白川
Masaki Kudo
政樹 工藤
Shizuhiko Kawai
静彦 川合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP01197098A priority Critical patent/JP3521724B2/en
Publication of JPH11202868A publication Critical patent/JPH11202868A/en
Application granted granted Critical
Publication of JP3521724B2 publication Critical patent/JP3521724B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To secure the processing speed of an arithmetic control processing part irrelevantly to specified control contents and to enables quick-response musical sound generation by the musical sound generating device wherein a waveform memory sound source part and the arithmetic control processing part share a waveform program memory. SOLUTION: The musical sound generating device 1 is so constituted that an externally connected waveform program ROM 100 is shared by an internal sound source part 20 and a CPU 30. The musical sound generating device 1 is provided with five kinds of operation mode and two kinds of sound source mode, i.e., 32-phonic and 16-phonic sounding modes, and the sound source modes are made to correspond to the operation modes. When an operation mode is selected, the corresponding sound source mode is set in a mode register 23a. When the set value indicates the 32-phonic simultaneous sounding mode, an access management part 10 sets the right to access the waveform program ROM 100 twice for every sounding channel to the sound source part 20 and when the set value indicates the 16-phonic simultaneous sounding mode, the access management part 10 sets the right to access the waveform program ROM 100 twice for every odd-numbered sounding channel to the sound source part 20.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、波形・プログラム
メモリを波形メモリ音源部および演算制御処理部で共用
する楽音発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone generator which shares a waveform / program memory with a waveform memory tone generator and an arithmetic control processor.

【0002】[0002]

【従来の技術】従来、波形・プログラムメモリを波形メ
モリ音源部および演算制御処理部で共用する楽音発生装
置として、たとえば、PCM(Pulse Code Modulatio
n)音源部およびCPU(Central Processing Unit)を
1チップ内に設けたLSI(Large Scale Integrate ci
rcuit)であって、その外部に、PCM音源部により読
み出されるPCM方式で録音されたデジタル波形データ
およびCPUにより実行される制御プログラムを記憶し
た波形・プログラムメモリを接続するように構成された
ものが知られている。
2. Description of the Related Art Conventionally, as a tone generator which commonly uses a waveform / program memory for a waveform memory tone generator and an arithmetic control processor, for example, a PCM (Pulse Code Modulatio)
n) LSI (Large Scale Integrate cipher) in which a sound source section and a CPU (Central Processing Unit) are provided in one chip
rcuit) configured to connect externally a waveform / program memory storing digital waveform data recorded in the PCM format read by the PCM tone generator and a control program executed by the CPU. Are known.

【0003】このような1チップLSIでは、PCM音
源部およびCPUは、たとえば、時分割された各タイム
スロット(time slot)、すなわち波形・プログラムメ
モリをアクセスするためのタイムスロットルを交互に使
用することにより、波形・プログラムメモリを共用して
いた。そして、発音数(発音チャンネル数)は通常固定
であるため、PCM音源部は各発音チャンネル毎に所定
回数だけ波形・プログラムメモリにアクセスしていた。
In such a one-chip LSI, the PCM tone generator and the CPU alternately use, for example, time slots obtained by time division, that is, time throttles for accessing a waveform / program memory. Shared the waveform and program memory. Since the number of sounds (number of sounding channels) is usually fixed, the PCM tone generator accesses the waveform / program memory a predetermined number of times for each sounding channel.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の楽音発生装置、すなわち1チップLSIでは、PC
M音源部が波形・プログラムメモリへアクセスする回数
だけ、CPUが波形・プログラムメモリへアクセスする
回数は制限を受けるため、CPUの処理速度が不足状態
になって楽音の発音が遅れる等の問題が生ずることがあ
った。
However, in the above-described conventional tone generator, that is, in a one-chip LSI, a PC
Since the number of times the CPU accesses the waveform / program memory is limited by the number of times the M tone generator accesses the waveform / program memory, the processing speed of the CPU becomes insufficient and the sounding of musical tones is delayed. There was something.

【0005】すなわち、通常の制御内容の処理が指定さ
れたときには楽音の発生処理に遅れが生じないような能
力のCPUを使用しているが、特異な制御内容の処理、
たとえばより細かな楽音制御、高度な伴奏処理や画像処
理等のCPUに重い負荷を与える処理が指定されたとき
には、上記CPUの波形・プログラムメモリに対するア
クセス制限により、CPUの処理速度が不足状態になる
場合があり、楽音発生処理を例に挙げると、この処理に
費やすことができるCPU能力が不足し、発音に遅れが
生じていた。
[0005] That is, although the CPU is used with such a capability that there is no delay in the tone generation processing when the normal control processing is designated,
For example, when a process that gives a heavy load to the CPU, such as finer tone control, advanced accompaniment processing, and image processing, is specified, the CPU processing speed becomes insufficient due to the restriction on the waveform and program memory of the CPU. In some cases, for example, in the case of the musical sound generation processing, the CPU capacity that can be spent on this processing is insufficient, and the sound generation is delayed.

【0006】本発明は、この点に着目してなされたもの
であり、波形・プログラムメモリを波形メモリ音源部お
よび演算制御処理部で共用する楽音発生装置において、
指定された制御内容に拘わらず演算制御処理部の処理速
度を確保し、レスポンスの高い楽音発生を行うことが可
能な楽音発生装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of this point. In a musical sound generating apparatus in which a waveform / program memory is shared by a waveform memory tone generator and an arithmetic control processor,
It is an object of the present invention to provide a musical sound generating device capable of securing a processing speed of an arithmetic control processing unit irrespective of designated control contents and generating a musical sound with high response.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、波形データおよび制御プログラムを記憶
する波形・プログラムメモリから読み出された波形デー
タに基づいて複数チャンネルの楽音波形を発生させる波
形メモリ音源部と、前記波形・プログラムメモリから読
み出された制御プログラムに基づいて演算制御を行う演
算制御処理部とを備え、前記波形・プログラムメモリを
前記波形メモリ音源部および演算制御処理部で共用する
楽音発生装置であって、前記演算制御処理部が実行する
複数の制御内容をそれぞれ示す複数の制御モードからい
ずれかの制御モードを指定するための制御モード指定手
段と、該指定された制御モードに応じて、前記波形・プ
ログラムメモリから波形データを読み出すことにより楽
音波形を生成するチャンネルのチャンネル数を切り替え
るとともに前記演算制御処理部が前記波形・プログラム
メモリから制御プログラムを読み出す時間と前記波形メ
モリ音源部が前記波形・プログラムメモリからを波形デ
ータ読み出す時間との時間割合を切り替えるように制御
する制御手段とを有することを特徴とする。
In order to achieve the above object, according to the present invention, a plurality of channels of tone waveforms are generated based on waveform data read from a waveform / program memory for storing waveform data and a control program. A waveform memory sound source unit, and an arithmetic control processing unit that performs arithmetic control based on a control program read from the waveform / program memory, wherein the waveform / program memory is processed by the waveform memory sound source unit and the arithmetic control processing unit. A shared tone generating device, comprising: a control mode designating means for designating any one of a plurality of control modes respectively indicating a plurality of control contents executed by the arithmetic and control processing unit; A tone generator for generating a tone waveform by reading waveform data from the waveform / program memory according to the mode. The number of channels of the channels is switched, and the time ratio between the time when the arithmetic control processing unit reads the control program from the waveform / program memory and the time when the waveform memory sound source unit reads the waveform data from the waveform / program memory is switched. And control means for controlling.

【0008】ここで、制御内容は、演算制御処理部にか
かる処理の負荷の大きさを間接的に示している。したが
って、選択された制御モードが演算制御処理部にかかる
負荷の大きなものに対応する場合には、制御手段は、楽
音波形のチャンネル数が小さくなるように切り替えると
ともに、演算制御処理部が波形・プログラムメモリから
制御プログラムを読み出す時間がより長くなるように前
記時間割合を切り替える。一方、選択された制御モード
が演算制御処理部にかかる負荷の小さなものに対応する
場合には、制御手段は、楽音波形のチャンネル数が大き
くなるように切り替えるとともに、波形メモリ音源部が
波形・プログラムメモリから波形データを読み出す時間
がより長くなるように前記時間割合を切り替える。
Here, the control contents indirectly indicate the magnitude of the processing load applied to the arithmetic and control unit. Therefore, when the selected control mode corresponds to a mode that places a large load on the arithmetic control processing unit, the control means switches the number of channels of the musical tone waveform to be small, and the arithmetic control processing unit The time ratio is switched so that the time for reading the control program from the memory becomes longer. On the other hand, when the selected control mode corresponds to a mode in which the load on the arithmetic and control processing unit is small, the control unit switches so as to increase the number of channels of the musical tone waveform and sets the waveform memory sound source unit to the waveform / program. The time ratio is switched so that the time for reading the waveform data from the memory becomes longer.

【0009】また、好ましくは、前記切り替えによって
前記波形・プログラムメモリの読み出しを行わなくなっ
たチャンネルは、該チャンネル以外のチャンネルにおい
て前記波形・プログラムメモリから波形データを読み出
すことにより生成された楽音波形に対し、新たな音色制
御を付加するために使用されることを特徴とする。
Preferably, the channel from which the reading of the waveform / program memory is not performed due to the switching is performed with respect to a tone waveform generated by reading waveform data from the waveform / program memory on a channel other than the channel. , For adding a new tone color control.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の第1の実施の形態に係る
楽音発生装置1の概略構成を示すブロック図であり、楽
音発生装置1は、音源部20およびCPU30を内蔵し
た1チップの音源LSIによって構成され、楽音発生装
置1の外部に接続された波形・プログラムROM100
を、音源部20およびCPU30が共用するように構成
されている。
FIG. 1 is a block diagram showing a schematic configuration of a tone generator 1 according to a first embodiment of the present invention. The tone generator 1 is a one-chip tone generator incorporating a tone generator 20 and a CPU 30. A waveform / program ROM 100 constituted by an LSI and connected to the outside of the tone generator 1
Are shared by the sound source unit 20 and the CPU 30.

【0012】楽音発生装置1の詳細な構成を説明する前
に、楽音発生装置1の主な機能、およびその機能を実現
する制御処理の概要を説明する。まず、楽音発生装置1
は、主として次の機能を備えている。
Before describing the detailed configuration of the tone generator 1, the main functions of the tone generator 1 and an outline of a control process for realizing the functions will be described. First, the tone generator 1
Has mainly the following functions.

【0013】すなわち、 1)下記の5種類の動作モードを備え、ユーザはいずれ
かの動作モードを選択できる 動作モード=0;ノーマルモード 動作モード=1;2系列フィルタ使用モード 動作モード=2;通常自動伴奏モード 動作モード=3;特殊自動伴奏モード 動作モード=4;ゲームモード 2)下記の2種類の音源モードを備え、この音源モード
は上記動作モードに応じて一意的に選択されて決定され
る 音源モード=0;32音同時発音モード(動作モード=
0,2のとき選択される) 音源モード=1;16音同時発音モード(動作モード=
1,3,4のとき選択される) この2種類の機能のうち、前者1)の機能は、ユーザが
パネル表示器&パネル操作子104の図示しない動作モ
ード設定操作子を操作すると、その操作に応じた動作モ
ードに対応する数値データをRAM40の所定領域に格
納することによって実現される。また、後者2)の機能
は、次のようにして実現される。
That is, 1) The following five operation modes are provided, and the user can select any one of the operation modes. Operation mode = 0; Normal mode Operation mode = 1; Two-sequence filter use mode Operation mode = 2; Normal Automatic accompaniment mode Operation mode = 3; Special automatic accompaniment mode Operation mode = 4; Game mode 2) The following two types of sound source modes are provided, and this sound source mode is uniquely selected and determined according to the above operation mode. Sound source mode = 0; 32-tone simultaneous sound generation mode (operation mode =
(Selected when 0, 2) Sound source mode = 1; 16 sound simultaneous sounding mode (operation mode =
Of the two types of functions, the former 1) function is operated when the user operates an operation mode setting operator (not shown) of the panel display & panel operator 104. Is stored in a predetermined area of the RAM 40. The function of the latter 2) is realized as follows.

【0014】すなわち、楽音発生装置1は、上述のよう
に、音源部20およびCPU30が波形・プログラムR
OM100を共用するように構成されている、換言する
と、音源部20およびCPU30のいずれからでも波形
・プログラムROM100をアクセスでき、その内容を
読み出すことができるように構成されている。そして、
1サンプル周期(ステレオ2系列のパラレルの波形デー
タを1サンプル生成するために必要な周期)内に、最大
32チャンネル(最小16チャンネル)分の波形データ
(後述するように、この波形データによってステレオ2
系列のパラレルの波形データが1サンプル生成される)
を生成するために、1サンプル周期を256個のタイム
スロットに時分割し、各タイムスロット毎に音源部20
またはCPU30のいずれが波形・プログラムROM1
00をアクセスするかを決定する。
That is, in the tone generator 1, as described above, the tone generator 20 and the CPU 30 have the waveform / program R
The OM 100 is configured to be shared, in other words, the waveform / program ROM 100 can be accessed from any of the tone generator 20 and the CPU 30 and the contents thereof can be read. And
Within one sample period (period required to generate one sample of two sets of parallel waveform data of stereo), waveform data of up to 32 channels (minimum of 16 channels) (as will be described later, stereo 2
One sample of parallel waveform data of the series is generated)
, One sample period is time-divided into 256 time slots, and the sound source unit 20 is generated for each time slot.
Or which of the CPU 30 is the waveform / program ROM 1
00 is accessed.

【0015】図3は、波形・プログラムROM100へ
のアクセスタイミングの一例を示す図であり、サンプル
周期n−1の時分割チャンネル(CH)31の途中から
サンプル周期nの時分割チャンネル(CH)1の途中ま
でのアクセスタイミングを示している。ただし、nは、
サンプル同期の番号であり、任意の整数値である。
FIG. 3 is a diagram showing an example of the access timing to the waveform / program ROM 100. The time division channel (CH) 1 of the sample period n starts from the middle of the time division channel (CH) 31 of the sample period n-1. Shows the access timing up to the middle. Where n is
Sample synchronization number, which is an arbitrary integer value.

【0016】同図において、システムカウンタとは、音
源部20に設けられたカウンタ(図示せず)をいい、シ
ステムクロックに同期して0〜255のカウントを行
う。このシステムカウンタのカウント値に応じてタイム
スロットが定義され、このカウント値および上記音源モ
ードに応じて、当該タイムスロットルにでの波形・プロ
グラムROM100に対するアクセス権が決定される。
In FIG. 1, a system counter refers to a counter (not shown) provided in the tone generator 20 and counts from 0 to 255 in synchronization with a system clock. A time slot is defined according to the count value of the system counter, and the right to access the waveform / program ROM 100 in the time throttle is determined according to the count value and the tone generator mode.

【0017】モード0とは、音源モードが32音同時発
音モードであることを意味し、このときには、同図に示
されるように、音源部20はシステムクロックの4周期
(タイムスロットル4つ分に相当する時間)に1回波形
・プログラムROM100にアクセスする。モード1と
は、音源モードが16音同時発音モードであることを意
味し、このときには、同図に示されるように、音源部2
0は、奇数チャンネルの期間についてのみ、システムク
ロックの4周期に1回波形・プログラムROM100に
アクセスする。
Mode 0 means that the sound source mode is a 32-tone simultaneous sounding mode. At this time, as shown in FIG. 2, the sound source unit 20 is controlled by four periods of the system clock (for four time throttles). (Corresponding time) once to access the waveform / program ROM 100. Mode 1 means that the sound source mode is the 16-note simultaneous sounding mode. At this time, as shown in FIG.
0 accesses the waveform / program ROM 100 once every four periods of the system clock only during the period of the odd-numbered channel.

【0018】なお、波形・プログラムROM100をア
クセスするときに、発音チャンネル1chに対して2回
アクセスするようにしているのは、本実施の形態の楽音
発生装置1では、読み出すべき波形データが波形・プロ
グラムROM100に記憶された隣接する2つの波形デ
ータ間内に位置するものであることを許容するように構
成されているため、当該中間の波形データが読み出し指
定された場合には、当該波形データに近接する2つの波
形データ、すなわち波形・プログラムROM100に記
憶された隣接する2つの波形データを読み出し、これら
2つの波形データを補間することによって、当該中間の
波形データ(目的の波形データ)を算出するようにして
いるからである。
When the waveform / program ROM 100 is accessed, the tone channel 1ch is accessed twice. In the tone generator 1 according to the present embodiment, the waveform data to be read is a waveform / channel. Since it is configured to allow the data to be located between two adjacent waveform data stored in the program ROM 100, when the intermediate waveform data is designated to be read, the waveform data is Two adjacent waveform data, that is, two adjacent waveform data stored in the waveform / program ROM 100 are read, and the intermediate waveform data (target waveform data) is calculated by interpolating the two waveform data. This is because they do so.

【0019】このようにして、音源モードに応じて波形
・プログラムROM100へのアクセス権を制御し、こ
れに応じて32チャンネル分の楽音生成と16チャンネ
ル分の楽音生成とを切り替えるようにしている。
In this way, the access right to the waveform / program ROM 100 is controlled in accordance with the tone generator mode, and in accordance with this, switching between the tone generation for 32 channels and the tone generation for 16 channels is performed.

【0020】図1に戻り、楽音発生装置1は、1チップ
の音源LSI(以下、楽音発生装置1を音源LSIと明
確に区別する必要がないときには、「音源LSI」で代
表させる)によって構成されており、説明の都合上、R
OMによって構成された波形・プログラムメモリ(RO
M)100、デジタル楽音信号をアナログ楽音信号に変
換するDAC(Digital-to-Analog Converter)10
1、このアナログ楽音信号を音響に変換する、たとえば
アンプやスピーカ等のサウンドシステム102、音高情
報を入力するための鍵盤103、たとえば液晶ディスプ
レイ(LCD)および各種操作子(スイッチ)が設けら
れたパネル表示器&パネル操作子104、およびMID
I(Musical Instrument Digital Interface)信号(コ
ード)を入力するためのMIDI端子105も図示され
ている。
Returning to FIG. 1, the tone generator 1 is constituted by a one-chip sound source LSI (hereinafter, when the tone generator 1 does not need to be clearly distinguished from the tone generator LSI, it is represented by "sound source LSI"). For convenience of explanation, R
OM-configured waveform / program memory (RO
M) 100, DAC (Digital-to-Analog Converter) 10 for converting a digital tone signal into an analog tone signal
1. A sound system 102 such as an amplifier or a speaker for converting the analog tone signal into sound, a keyboard 103 for inputting pitch information, for example, a liquid crystal display (LCD) and various controls (switches) are provided. Panel display & panel operator 104 and MID
A MIDI terminal 105 for inputting an I (Musical Instrument Digital Interface) signal (code) is also shown.

【0021】音源LSI1は、波形・プログラムROM
100へのアクセス権の管理を行うアクセス管理部10
と、波形・プログラムROM100から読み出した波形
データに基づいてデジタル楽音信号を生成する音源部2
0と、音源LSI1全体の制御を司るCPU30と、演
奏データ、各種入力情報および演算結果等を一時的に記
憶するRAM40と、タイマ割込み処理における割込み
時間や各種時間を計時するタイマ50と、鍵盤103が
接続されるシリアルI/O60と、パネル表示器&パネ
ル操作子104が接続されるパラレルI/O70と、M
IDI端子105から入出力されるMIDI信号を送受
信するMIDIインターフェース105とにより、主と
して構成されている。そして、各構成要素10〜80
は、バス90を介して相互に接続されている。
The tone generator LSI 1 has a waveform / program ROM.
Access management unit 10 that manages the access right to 100
And a tone generator 2 for generating a digital tone signal based on the waveform data read from the waveform / program ROM 100.
0, a CPU 30 for controlling the entire sound source LSI 1, a RAM 40 for temporarily storing performance data, various input information, a calculation result, and the like; a timer 50 for measuring an interrupt time and various times in a timer interrupt process; , A parallel I / O 70 to which the panel display & panel operator 104 is connected,
It mainly comprises a MIDI interface 105 for transmitting and receiving MIDI signals input / output from the IDI terminal 105. And each component 10-80
Are connected to each other via a bus 90.

【0022】CPU30は、MIDI端子105および
MIDIインターフェース105を介して受信したMI
DI信号に応じて音源部20を制御し、楽音信号を発生
させる。
The CPU 30 receives the MIDI data received via the MIDI terminal 105 and the MIDI interface 105.
The tone generator 20 is controlled according to the DI signal to generate a tone signal.

【0023】鍵盤103は、本実施の形態では、図示し
ない押鍵検出回路を内蔵しており、該押鍵検出回路は、
演奏者(ユーザ)の押鍵/離鍵を検出して、当該検出結
果に応じてノートオン、ノートオフ、ベロシティおよび
アフタタッチ等のMIDI信号と同様のフォーマットの
検出信号をシリアルデータとしてシリアルI/O60に
供給する。CPU30は、この検出信号に応じて音源部
20を制御し、楽音信号を発生させるとともに、この検
出信号をMIDI端子105から出力する。
In this embodiment, the keyboard 103 has a built-in key-press detection circuit (not shown).
A key pressed / released by a player (user) is detected, and a detection signal of a format similar to the MIDI signal such as note-on, note-off, velocity, and after-touch is serialized as serial data according to the detection result. Supply to O60. The CPU 30 controls the tone generator 20 in accordance with the detection signal to generate a tone signal, and outputs the detection signal from the MIDI terminal 105.

【0024】パネル表示器&パネル操作子104は、た
とえば1つのパネル面に表示器および操作子を設けたも
のであり、該パネル表示器およびパネル操作子の各入出
力端子(ともに図示せず)はともにパラレルI/O70
に接続されている。パネル表示器に表示される表示デー
タは、パラレルI/O70を介してCPU30により制
御される。パネル操作子には、パラレルI/O70を介
してCPU30が出力したスキャン信号が供給され、C
PU30は、パラレルI/O70を介してそのスキャン
結果を受信して、各操作子の操作状態を検出し、その検
出結果に応じて音源LSI1全体の制御を行う。
The panel display & panel operator 104 has, for example, a display and an operator provided on one panel surface, and each input / output terminal (both not shown) of the panel display and the panel operator. Are parallel I / O70
It is connected to the. Display data displayed on the panel display is controlled by the CPU 30 via the parallel I / O 70. A scan signal output by the CPU 30 is supplied to the panel operator via the parallel I / O 70,
The PU 30 receives the scan result via the parallel I / O 70, detects the operation state of each operation element, and controls the entire sound source LSI 1 according to the detection result.

【0025】パネル操作子としては、図示しないが、た
とえば、音色を選択するための音色スイッチ(SW)、
動作モードを選択するための動作モードスイッチ、自動
伴奏をスタート/ストップさせるためのスタート/スト
ップスイッチ、テンポやピッチを制御するためのホイー
ル等が設けられている。
Although not shown, the panel controls include, for example, a tone switch (SW) for selecting a tone,
An operation mode switch for selecting an operation mode, a start / stop switch for starting / stopping automatic accompaniment, a wheel for controlling tempo and pitch, and the like are provided.

【0026】音源部20は、波形・プログラムROM1
00に記憶されている複数の波形データから波形データ
を1つ読み出すために、当該波形データが記憶されてい
るアドレスのアドレスデータを時分割で発生させる読出
回路21と、該読出回路21によって発生されたアドレ
スデータに従って読み出された波形データに、後述する
各種処理を施してデジタル楽音信号を時分割で発生させ
る波形演算部22と、楽音信号を発生させるための各種
情報を記憶する各種レジスタからなる音源レジスタ23
とにより、主として構成されている。
The sound source section 20 has a waveform / program ROM 1
In order to read out one waveform data from a plurality of waveform data stored in 00, a read circuit 21 for generating address data of an address in which the waveform data is stored in a time-division manner, and a read circuit 21 generated by the read circuit 21 The waveform data read out in accordance with the received address data is subjected to various processes described below to generate a digital tone signal in a time-division manner, and a register for storing various information for generating a tone signal. Sound source register 23
, And is mainly configured.

【0027】前述したように、本実施の形態では、目的
の波形データは必ず波形・プログラムROM100に記
憶されているものではないため、読出回路21は、整数
部および小数部を有する実数値アドレスデータ(AD)
を発生する。この実数値アドレスデータのうち、整数部
は、波形・プログラムROM100のアドレスに相当す
るため、アクセス管理部10を介して波形・プログラム
ROM100のアドレス入力端子に供給され、小数部
は、整数部に応じて読み出された波形データを補間して
目的の波形データを生成するため、波形演算部22に供
給される。また、読出回路21は音源レジスタ23と相
互に接続され、音源レジスタ23に設定された設定値に
基づいて、そのアドレス生成が制御される。
As described above, in the present embodiment, the target waveform data is not always stored in the waveform / program ROM 100. Therefore, the read circuit 21 stores the real-valued address data having an integer part and a decimal part. (AD)
Occurs. Since the integer part of the real-valued address data corresponds to the address of the waveform / program ROM 100, the integer part is supplied to the address input terminal of the waveform / program ROM 100 via the access management unit 10, and the decimal part corresponds to the integer part. In order to generate the target waveform data by interpolating the read and read waveform data, the waveform data is supplied to the waveform calculation unit 22. The readout circuit 21 is interconnected with the tone generator register 23, and its address generation is controlled based on the set value set in the tone generator register 23.

【0028】波形演算部22は、アクセス管理部10を
介して波形・プログラムROM100のデータ出力端子
に接続され、上述のように、読出回路21によって生成
されたアドレスデータのうち整数部が指定するアドレス
の波形データが上記データ出力端子から読み出されて、
波形演算部22のデータ入力端子に供給される。波形演
算部22は、この波形データを、上記アドレスデータの
小数部に応じて、所定の方法で補間する。
The waveform calculation section 22 is connected to the data output terminal of the waveform / program ROM 100 via the access management section 10, and as described above, the address specified by the integer part of the address data generated by the read circuit 21. Is read from the data output terminal,
It is supplied to the data input terminal of the waveform calculation section 22. The waveform calculator 22 interpolates the waveform data by a predetermined method according to the decimal part of the address data.

【0029】音源レジスタ23は、前記音源モードに対
応する数値データを記憶するモードレジスタ23aを備
え、その他に、時分割チャンネル(発音チャンネル)の
最大値(本実施の形態では、上記32チャンネル)分の
ピッチ、フィルタ、音量等をそれぞれ独立に制御するチ
ャンネル制御データを記憶する32個のチャンネルレジ
スタや生成された楽音信号に付与する効果(エフェク
ト)を制御するエフェクト制御データを記憶するエフェ
クトレジスタ(ともに図示せず)等を備えている。モー
ドレジスタ23aは波形演算部22に接続され、波形演
算部22は、モードレジスタ23aに設定されたモード
の値に応じて、その波形演算処理の態様を切り替える。
The tone generator register 23 has a mode register 23a for storing numerical data corresponding to the tone generator mode. In addition, the tone generator register 23 has a maximum value of the time division channels (sound generation channels) (the above-mentioned 32 channels in this embodiment). 32 channel registers for storing channel control data for independently controlling the pitch, filter, volume, etc. of each other, and an effect register for storing effect control data for controlling an effect to be applied to a generated tone signal (both of them). (Not shown). The mode register 23a is connected to the waveform calculation unit 22, and the waveform calculation unit 22 switches the mode of the waveform calculation process according to the mode value set in the mode register 23a.

【0030】図2は、波形演算部22の詳細な構成を説
明するための図である。波形演算部22は、本実施の形
態では、DSP(Digital Signal Processor)により構
成されているため、同図の各ブロックは、主として、ハ
ードウェアを意味するのではなく、ソフトウェアにより
実行される機能を意味している。
FIG. 2 is a diagram for explaining a detailed configuration of the waveform calculator 22. In the present embodiment, the waveform calculation unit 22 is configured by a DSP (Digital Signal Processor). Therefore, each block in the figure mainly has a function executed by software instead of hardware. Means.

【0031】図2において、波形演算部22は、前記読
み出された波形データを補間して目的の波形データを生
成する波形補間部(ITP)21aと、該補間生成され
た波形データをフィルタリングする周波数成分制御部
(DCF)21bと、該フィルタリングされた波形デー
タに、エンベロープジェネレータ(EG)21dによっ
て生成されたエンベロープを乗算する音量変化制御部
(EGM)21cと、時分割チャンネルの各チャンネル
毎に生成された波形データ、すなわち音量変化制御部2
1cから出力された各チャンネル毎の波形データを全チ
ャンネル(32ch)分加算(累算)してステレオ2系
列の波形データを生成する加算制御部(ACC)21e
と、該生成されたステレオ2系列の波形データにエフェ
クトを施す音響効果制御部(DSP)21fと、該エフ
ェクトの施されたステレオ2系列のパラレルの波形デー
タをシリアルデータに変換して、前記DAC101に出
力する出力制御部(PSO)21gとによって構成され
ている。
In FIG. 2, a waveform calculator 22 interpolates the read waveform data to generate target waveform data, and filters the interpolated waveform data. A frequency component control unit (DCF) 21b, a volume change control unit (EGM) 21c that multiplies the filtered waveform data by an envelope generated by an envelope generator (EG) 21d, and a time division channel. Generated waveform data, that is, volume change control unit 2
An addition control unit (ACC) 21e that adds (accumulates) the waveform data of each channel output from 1c for all channels (32 ch) to generate stereo two-series waveform data.
A sound effect control unit (DSP) 21f for applying an effect to the generated stereo two-series waveform data; and converting the stereo two-parallel parallel waveform data to which the effect has been applied into serial data, And an output control unit (PSO) 21g for outputting the data to the control unit.

【0032】波形補間部21aには、読出回路21によ
って生成されたアドレスデータのうち小数部が供給され
るとともに、波形・プログラムROM100から読み出
された波形データが供給され、波形補間部21aは、こ
の波形データをアドレスデータの小数部の値に応じて所
定の補間方法(たとえば直線補間)によって補間する。
さらに、波形補間部21aは、前チャンネルでの補間結
果を記憶する出力レジスタ21a1を備え、該出力レジ
スタ21a1は、前記モードレジスタ23aに設定され
た値が“1”のとき、すなわち音源モードが16音同時
発音モードのときに、直前のチャンネルでの補間結果を
記憶し、現チャンネル、すなわち波形データの読み出し
を行わないチャンネルでは、出力レジスタ21a1に記
憶された前チャンネルの補間波形データに基づいて波形
演算を行う。すなわち、16音同時発音モードでは、奇
数チャンネルとその次の偶数チャンネルにおいて、補間
された同一の波形データに、周波数成分制御部21b、
音量変化制御部21cおよびエンベロープジェネレータ
21dによって、各チャンネル毎に種類の異なった波形
演算処理が施される。すなわち、本実施の形態では、3
2音同時発音モード時に、発生する32音の波形データ
に対しそれぞれ1系統のフィルタリングとエンベロープ
の付与が行われるとともに、16音同時発音モード時に
は発生する16音の波形データに対し、それぞれ2系統
のフィルタリングのエンベロープの付与が行われる。こ
れにより、16音同時発音モードでは、発音数が減少す
るものの、生成する各チャンネルの波形データに対して
より複雑な音色制御を行うことができる。
The waveform interpolator 21a is supplied with the decimal part of the address data generated by the readout circuit 21, and is supplied with the waveform data read from the waveform / program ROM 100. This waveform data is interpolated by a predetermined interpolation method (for example, linear interpolation) according to the value of the decimal part of the address data.
Further, the waveform interpolation unit 21a includes an output register 21a1 for storing the interpolation result of the previous channel, and the output register 21a1 is set when the value set in the mode register 23a is "1", that is, when the sound source mode is 16 In the simultaneous sound generation mode, the interpolation result of the immediately preceding channel is stored. In the current channel, that is, the channel for which the reading of the waveform data is not performed, the waveform is calculated based on the interpolation waveform data of the previous channel stored in the output register 21a1. Perform the operation. That is, in the 16-note simultaneous sound generation mode, the same interpolated waveform data is added to the frequency component control unit 21b in the odd-numbered channel and the next even-numbered channel.
Different types of waveform calculation processing are performed for each channel by the volume change control unit 21c and the envelope generator 21d. That is, in the present embodiment, 3
In the two-tone simultaneous sounding mode, one-system filtering and envelope addition are performed on the generated 32 sound waveform data, and in the 16-note simultaneous sounding mode, the two-line waveform data of the 16 sound generated are respectively applied. An envelope for filtering is provided. Thus, in the 16-note simultaneous sound generation mode, although the number of sounds is reduced, more complex tone color control can be performed on the waveform data of each channel to be generated.

【0033】なお、楽音発生装置1のより詳細な構成お
よび作用についは、特開平8−23470号公報に開示
されている。
A more detailed configuration and operation of the tone generator 1 are disclosed in Japanese Patent Application Laid-Open No. 8-23470.

【0034】以上のように構成された楽音発生装置1が
実行する制御処理を、以下、図4〜図7を参照して説明
する。
The control process executed by the tone generator 1 having the above-described configuration will be described below with reference to FIGS.

【0035】図4は、楽音発生装置1、特にCPU30
が実行するメインプログラムの手順を示すフローチャー
トである。
FIG. 4 shows the tone generator 1, in particular, the CPU 30.
5 is a flowchart showing a procedure of a main program executed by the computer.

【0036】同図において、まず、RAM40のクリア
等の初期設定を行う(ステップS1)。
In the figure, first, initialization such as clearing of the RAM 40 is performed (step S1).

【0037】次に、下記の各起動要因の発生をチェック
する(ステップS2)。
Next, the occurrence of the following activation factors is checked (step S2).

【0038】起動要因1:MIDIイベントが発生した
こと 起動要因2:ユーザが前記パネル表示器&パネル操作子
104のいずれかの操作子を操作し、その操作イベント
が検出されたこと 起動要因3:起動要因1,2以外の起動要因が検出され
たこと 続くステップS3では、上記起動要因1〜3のうちいず
れかが発生したか否かを判別し、起動要因1〜3のいず
れも発生していないときには前記ステップS2に戻る一
方、起動要因1〜3のいずれかが発生したときにはステ
ップS4に進み、どの起動要因が発生したかを判別す
る。
Activating factor 1: A MIDI event has occurred Activating factor 2: The user has operated one of the panel display & panel operators 104, and that operational event has been detected. Activating factor 3: In the following step S3, it is determined whether any of the above-mentioned activation factors 1 to 3 has occurred, and it is determined whether any of the activation factors 1 to 3 has occurred. If not, the process returns to step S2. If any of the activation factors 1 to 3 occur, the process proceeds to step S4 to determine which activation factor has occurred.

【0039】ステップS4の判別の結果、「起動要因
1」が発生したときにはステップS5に進み、発生した
MIDIイベントに応じたMIDI処理を実行し、「起
動要因2」が発生したときにはステップS6に進み、発
生したスイッチイベントに応じたスイッチ(SW)処理
を実行し、「起動要因3」が発生したときにはステップ
S7に進み、発生したイベントに対応するその他処理を
実行する。
As a result of the determination in step S4, when "activation factor 1" occurs, the process proceeds to step S5, and a MIDI process corresponding to the generated MIDI event is executed. When "activation factor 2" occurs, the process proceeds to step S6. Then, a switch (SW) process corresponding to the generated switch event is executed, and when "activation factor 3" occurs, the process proceeds to step S7, and other processes corresponding to the generated event are executed.

【0040】そして、上記ステップS5〜S7のいずれ
かを終了した後は、前記ステップS2に戻り、上述の処
理を繰り返す。
After completing any of steps S5 to S7, the process returns to step S2 to repeat the above-described processing.

【0041】図5は、ユーザがパネル表示器&パネル操
作子104の前記動作モード設定操作子を操作したとき
に起動される動作モード設定操作子処理の手順を示すフ
ローチャートであり、本処理は、前記ステップS6のス
イッチ処理中の一処理である。
FIG. 5 is a flowchart showing a procedure of an operation mode setting operation process which is started when the user operates the operation mode setting operator of the panel display & panel operation device 104. This is one process during the switch process in step S6.

【0042】同図において、まず、ユーザが動作モード
設定操作子を操作して入力したデータに基づいて動作モ
ードを設定する(ステップS11)。ここで、動作モー
ドとは、前述した5種類のモードを示し、入力データと
は、各動作モードに対応する整数値データを示してい
る。
In the figure, first, the operation mode is set based on the data input by the user operating the operation mode setting operator (step S11). Here, the operation mode indicates the five types of modes described above, and the input data indicates integer value data corresponding to each operation mode.

【0043】次に、設定された動作モードに基づいて音
源モードを設定した(ステップS12)後に、本動作モ
ード設定操作子処理を終了する。動作モードと音源モー
ドとは、前述したように対応付けられているため、この
対応付けに応じた音源モードが前記モードレジスタ23
aに設定される。
Next, after the sound source mode is set based on the set operation mode (step S12), the operation mode setting operator processing ends. Since the operation mode and the tone generator mode are associated with each other as described above, the tone generator mode corresponding to this association is stored in the mode register 23.
is set to a.

【0044】図6は、音源モードとして32音同時発音
モードが設定されているとき(音源モード=0)のノー
トオンイベント処理の手順を示すフローチャートであ
り、前記図4のMIDI処理中の一処理である。本処理
は、前記MIDI端子105から、MIDIデータのノ
ートオンイベントが入力されたときに、起動される。
FIG. 6 is a flowchart showing the procedure of the note-on event processing when the 32-tone simultaneous sound generation mode is set as the sound source mode (sound source mode = 0). It is. This processing is started when a note-on event of MIDI data is input from the MIDI terminal 105.

【0045】同図において、まず、そのノートオンイベ
ントのノートナンバNNおよびベロシティVELを、た
とえばRAM40のワークエリアに取り込む(ステップ
S21)。
In the figure, first, the note number NN and velocity VEL of the note-on event are taken into, for example, a work area of the RAM 40 (step S21).

【0046】次に、32チャンネルの発音チャンネルの
うち空きチャンネルをサーチし、そのチャンネルに発音
割当を行う(ステップS22)。ここで、空きチャンネ
ルのサーチは、本実施の形態では、1チャンネルから3
2チャンネルまで順次各チャンネルの現在の音量エンベ
ロープを検出し、そのうち最小値をサーチすることによ
って行う。すなわち、音量エンベロープが最小であるチ
ャンネルを空きチャンネルとして決定する。
Next, a search is made for an empty channel among the 32 sound channels, and sound is assigned to the channel (step S22). Here, in this embodiment, the search for an empty channel is performed from channel 1 to channel 3.
This is performed by sequentially detecting the current volume envelope of each channel up to two channels, and searching for the minimum value. That is, the channel having the smallest volume envelope is determined as an empty channel.

【0047】次に、当該発音割り当てされたチャンネル
のレジスタに、現在設定されている音色におけるノート
ナンバNNおよびベロシティVELに応じた楽音制御デ
ータを設定する(ステップS23)。
Next, tone control data corresponding to the note number NN and the velocity VEL of the currently set tone color is set in the register of the channel to which the tone is assigned (step S23).

【0048】そして、このチャンネルにノートオンを送
出して、楽音信号を生成させた(ステップS24)後
に、本ノートオンイベント処理を終了する。
Then, a note-on is transmitted to this channel to generate a tone signal (step S24), and thereafter, the present note-on event processing is terminated.

【0049】図7は、音源モードとして16音同時発音
モードが設定されているとき(音源モード=1)のノー
トオンイベント処理の手順を示すフローチャートであ
る。
FIG. 7 is a flowchart showing the procedure of the note-on event processing when the 16-tone simultaneous sound generation mode is set as the sound source mode (sound source mode = 1).

【0050】同図において、まず、前記ステップS21
と同様にして、そのノートオンイベントのノートナンバ
NNおよびベロシティVELを、RAM40のワークエ
リアに取り込む(ステップS31)。
In the figure, first, at step S21
Similarly, the note number NN and velocity VEL of the note-on event are taken into the work area of the RAM 40 (step S31).

【0051】次に、16チャンネル(奇数チャンネル)
の発音チャンネルのうち空きチャンネルをサーチし、そ
のチャンネルに発音割当を行う(ステップS32)。こ
こで、空きチャンネルのサーチは、前記ステップS22
と同様に、1チャンネルから順次各チャンネルの現在の
音量エンベロープを検出し、そのうち最小値をサーチす
ることによって行う。ただし、ステップS22と異なる
のは、奇数チャンネルの音量エンベロープを検出・サー
チの対象にし、偶数チャンネルの音量エンベロープに対
しては検出動作を行わないことである。この音量エンベ
ロープを検出・サーチする処理は、CPU30にとって
かなりの負荷になるため、音源モード=1では、音源モ
ード=0に対して、この点でもCPU30の負荷を大幅
に低減させている。
Next, 16 channels (odd channels)
A search is made for an empty channel among the sound channels, and sound is assigned to the channel (step S32). Here, the search for an empty channel is performed in the step S22.
Similarly to the above, the detection is performed by sequentially detecting the current volume envelope of each channel from channel 1 and searching for the minimum value. However, the difference from step S22 is that the volume envelope of the odd-numbered channel is to be detected and searched, and the detection operation is not performed for the volume envelope of the even-numbered channel. Since the process of detecting and searching for the volume envelope imposes a considerable load on the CPU 30, the load on the CPU 30 is significantly reduced in the sound source mode = 1 compared to the sound source mode = 0 in the sound source mode = 1.

【0052】次に、当該発音割り当てされたチャンネル
のレジスタに、前記ステップS23と同様の全楽音制御
データを設定するとともに、その次のチャンネル(偶数
チャンネル)に全楽音制御データのうち所定の一部の楽
音制御データ、すなわち直前の奇数チャンネルと種類の
異なった波形演算処理を行うためのデータを設定する
(ステップS33)。
Next, the same tone control data as in step S23 is set in the register of the channel to which the tone is assigned, and a predetermined part of the entire tone control data is set in the next channel (even channel). , That is, data for performing a waveform calculation process of a different type from that of the immediately preceding odd-numbered channel (step S33).

【0053】そして、当該奇数チャンネルおよび偶数チ
ャンネルにノートオンを送出して、楽音信号を生成させ
た(ステップS34)後に、本ノートオンイベント処理
を終了する。
Then, note-on is transmitted to the odd-numbered channel and the even-numbered channel to generate a tone signal (step S34), and thereafter, the present note-on event process ends.

【0054】次に、本発明の第2の実施の形態に係る楽
音発生装置を説明する。
Next, a tone generator according to a second embodiment of the present invention will be described.

【0055】音源モードが16音同時発音モードである
ときに、上記第1の実施の形態の楽音発生装置が、波形
・プログラムROM100にアクセスしないチャンネル
において、その直前のチャンネルで生成された補間波形
データを使用して目的の波形データを生成したのに対し
て、本実施の形態の楽音発生装置は、波形・プログラム
ROM100にアクセスしないチャンネルにおいて、F
M変調を行うための変調波(アドレスデータ)を生成
し、この変調波を用いて、当該チャンネルより後のチャ
ンネルであって、波形・プログラムROM100にアク
セスするチャンネルにおいて生成されるアドレスデータ
を変調させる点が異なっている。そして、その構成は、
上記第1の実施の形態の楽音発生装置に対して、音源部
の一部が異なるのみであるので、本実施の形態の楽音発
生装置を、図1の楽音発生装置1と同様の装置(ただ
し、図1の音源部20に代えて図8の音源部20′を用
いる)によって構成する。このため、図8中、図1と対
応する構成要素には同一符号を付し、その説明を省略す
る。
When the tone generator mode is the 16-note simultaneous sound generation mode, the tone generator according to the first embodiment uses the interpolated waveform data generated in the immediately preceding channel for the channel that does not access the waveform / program ROM 100. Is used to generate the desired waveform data, whereas the tone generator according to the present embodiment uses the F
A modulated wave (address data) for performing the M modulation is generated, and the modulated wave is used to modulate the address data generated in a channel subsequent to the channel and accessing the waveform / program ROM 100. The points are different. And the configuration is
Since the tone generator of the first embodiment is only partially different from the tone generator of the first embodiment, the tone generator of the present embodiment is similar to the tone generator 1 of FIG. , And a sound source section 20 ′ of FIG. 8 is used in place of the sound source section 20 of FIG. 1). Therefore, in FIG. 8, the same reference numerals are given to the components corresponding to those in FIG. 1, and the description thereof will be omitted.

【0056】図8は、本実施の形態の楽音発生装置の音
源部20′の構成を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of the tone generator 20 'of the tone generator according to the present embodiment.

【0057】同図において、音源部20′は、波形演算
部21′と、実数値のアドレスデータを発生するアドレ
ス発生器24と、該アドレス発生器24が発生したアド
レスデータの整数部が供給され、この整数部の値に応じ
て正弦波を発生させる正弦波発生器25と、波形・プロ
グラムROM100から読み出された波形データおよび
正弦波発生器25によって生成された正弦波データが供
給され、モードレジスタ23aに設定された値に応じ
て、このうちいずれかのデータを選択して出力するセレ
クタ26とにより、主として構成されている。
In the figure, a tone generator 20 'is supplied with a waveform calculator 21', an address generator 24 for generating real-valued address data, and an integer part of the address data generated by the address generator 24. A sine wave generator 25 for generating a sine wave in accordance with the value of the integer part, and waveform data read from the waveform / program ROM 100 and sine wave data generated by the sine wave generator 25 are supplied. It mainly comprises a selector 26 for selecting and outputting any of the data according to the value set in the register 23a.

【0058】音源部20′は、前記図2の音源部20に
対して、周波数成分制御部21bを省略し、波形補間部
21aの出力レジスタ21a1を省略した点のみが異な
っている。そして、音量変化制御部21cからの出力
は、加算制御部21eに供給されるとともにアドレス発
生器24にフィードバックされ、波形補間部21a′に
は、アドレスデータの小数部とともにセレクタ26から
の出力が供給される。
The sound source section 20 'is different from the sound source section 20 of FIG. 2 only in that the frequency component control section 21b is omitted and the output register 21a1 of the waveform interpolation section 21a is omitted. The output from the volume change control unit 21c is supplied to the addition control unit 21e and fed back to the address generator 24. The output from the selector 26 is supplied to the waveform interpolation unit 21a 'together with the decimal part of the address data. Is done.

【0059】このようにして、波形・プログラムROM
100にアクセスしないチャンネル(偶数チャンネル)
においては、アドレス発生器24から発生されたアドレ
スデータの整数部に基づいて、正弦波発生器25により
正弦波が発生され、該正弦波は、セレクタ26を介して
波形補間部21a′に供給されて補間され、音量変化制
御部21cによってエンベロープジェネレータ21dか
らのエンベロープが付与され、アドレス発生器24にフ
ィードバックされる。そして、フィードバック値が、ア
ドレス発生器24によって発生されたアドレスデータと
加算され、波形・プログラムROM100のアドレスデ
ータ、すなわちFM変調されたアドレスデータが生成さ
れる。ここで、前記偶数チャンネルは、それぞれ何れか
の奇数チャンネルの1つと対応づけられている。本実施
の形態では、前記偶数チャンネルで生成された前記フィ
ードバック値で、対応する奇数チャンネルのアドレスデ
ータを変調し、奇数チャンネルで生成している波形デー
タに対してFM変調をかけることができる。これによ
り、16音同時発音モードでは、発音数が減少するもの
の、生成する各チャンネルの波形データに対して、32
音同時発音モードとは異なる方法による音色制御を追加
することができる。
Thus, the waveform / program ROM
Channel that does not access 100 (even channel)
In the above, a sine wave is generated by a sine wave generator 25 based on the integer part of the address data generated from the address generator 24, and the sine wave is supplied to the waveform interpolation unit 21a 'via the selector 26. Then, the envelope is given from the envelope generator 21 d by the volume change control unit 21 c and fed back to the address generator 24. Then, the feedback value is added to the address data generated by the address generator 24 to generate the address data of the waveform / program ROM 100, that is, the FM-modulated address data. Here, each of the even-numbered channels is associated with one of the odd-numbered channels. In the present embodiment, it is possible to modulate the address data of the corresponding odd-numbered channel with the feedback value generated in the even-numbered channel, and apply FM modulation to the waveform data generated in the odd-numbered channel. As a result, in the 16-note simultaneous sound generation mode, although the number of sounds is reduced, the generated waveform data of each channel has 32
It is possible to add timbre control by a method different from the simultaneous sound generation mode.

【0060】図9は、音源モードとして16音同時発音
モードが設定されているとき(音源モード=1)のノー
トオンイベント処理の手順を示すフローチャートであ
る。
FIG. 9 is a flowchart showing the procedure of the note-on event process when the 16-note simultaneous sound generation mode is set as the sound source mode (sound source mode = 1).

【0061】同図において、まず、そのノートオンイベ
ントのノートナンバNNおよびベロシティVELを、R
AM40のワークエリアに取り込む(ステップS4
1)。
In the figure, first, the note number NN and velocity VEL of the note-on event are set to R
Take it into the work area of AM40 (step S4
1).

【0062】次に、16チャンネル(奇数チャンネル)
の発音チャンネルのうち空きチャンネルをサーチし、そ
のチャンネルに発音割当を行い(ステップS42)、当
該発音割り当てされたチャンネルのレジスタに、前記ス
テップS23と同様の全楽音制御データを設定するとと
もに、対応するモジュレータチャンネルに全楽音制御デ
ータのうち所定の一部の楽音制御データを設定する(ス
テップS43)。
Next, 16 channels (odd channels)
A search is made for an empty channel among the sounding channels of, and tone generation is assigned to that channel (step S42). The same tone control data as in step S23 is set in the register of the channel to which the sound is assigned, and the corresponding tone control data is set. A predetermined part of the tone control data among all tone control data is set in the modulator channel (step S43).

【0063】そして、当該割当チャンネルおよびモジュ
レータチャンネルにノートオンを送出して、楽音信号を
生成させた(ステップS44)後に、本ノートオンイベ
ント処理を終了する。
Then, note-on is transmitted to the assigned channel and the modulator channel to generate a tone signal (step S44), and thereafter, the present note-on event process is terminated.

【0064】このように、上記第1および第2の実施の
形態では、32音同時発音モードと16音同時発音モー
ドの2種類の音源モードを設け、CPU30に対する負
荷が通常またはより軽い状況下では、音源モードとして
32音同時発音モードが選択決定される一方、CPU3
0に対する負荷が通常より重くなる状況下では、音源モ
ードとして16音同時発音モードが選択決定されて、音
源部20が波形・プログラムROM100へアクセスで
きる頻度を制限し、この分だけCPU30が波形・プロ
グラムROM100へアクセスできる頻度を増大させる
ように構成したので、CPU30の音源部20への制御
処理に遅れが生ずることはなくなり、レスポンスの高い
楽音発生を行うことができる。また、16音同時発音モ
ードを選択したときには、発音割当て処理に対するCP
U30への負荷が、32音同時発音モードを選択したと
きに比べて1/2に低減するので、さらにCPU30の
負荷を低下させることができる。
As described above, in the above-described first and second embodiments, two types of sound source modes, ie, a 32-tone simultaneous sounding mode and a 16-tone simultaneous sounding mode, are provided, and under a situation where the load on the CPU 30 is normal or lighter. While the 32-tone simultaneous sound generation mode is selected and determined as the sound source mode, the CPU 3
In a situation where the load on 0 is heavier than usual, the 16-note simultaneous sounding mode is selected and determined as the sound source mode, and the frequency at which the sound source unit 20 can access the waveform / program ROM 100 is limited. Since the frequency with which the ROM 100 can be accessed is increased, there is no delay in the control process of the CPU 30 for the sound source section 20, and a high-response musical tone can be generated. When the 16-note simultaneous sound generation mode is selected, the CP for the sound generation assignment process is selected.
Since the load on the U30 is reduced to half of that when the 32-tone simultaneous sound generation mode is selected, the load on the CPU 30 can be further reduced.

【0065】なお、両実施の形態では、音源モードとし
て32音同時発音モードおよび16音同時発音モードの
2種類のモードを設けるようにしたが、同時発音数は例
示に過ぎず、16音同時発音に代えて24音同時発音に
してもよいし、他の同時発音数であってもよい。さら
に、音源モードも、2種類に限る必要はなく、3種類以
上であってもよい。
In both embodiments, two types of sound source modes, ie, a 32-tone simultaneous sounding mode and a 16-tone simultaneous sounding mode, are provided. May be replaced by 24 tones, or another number of simultaneous tones. Further, the number of sound source modes need not be limited to two, but may be three or more.

【0066】また、両実施の形態では、音量エンベロー
プの比較により発音割り当てを行う方法を示した(ステ
ップS22、S32、S42)が、後着優先、先着優先
等のその他の方法による発音割り当てを採用してもよ
い。その場合でも、発音チャンネル数が多くなると割当
処理の負担が急激に大きくなる状況は同じであり、本発
明を有効に利用することができる。
In both embodiments, the method of assigning sounds by comparing the volume envelopes has been shown (steps S22, S32, S42), but the sound assignment by other methods such as last-come first-served or first-come first-served is adopted. May be. Even in such a case, the situation in which the load of the allocation process increases rapidly as the number of sounding channels increases is the same, and the present invention can be effectively used.

【0067】[0067]

【発明の効果】以上説明したように、本発明に依れば、
制御モード指定手段によって指定された制御モードに応
じて、波形・プログラムメモリから波形データを読み出
すことにより楽音波形を生成するチャンネルのチャンネ
ル数が切り替えられるとともに前記演算制御処理部が前
記波形・プログラムメモリから制御プログラムを読み出
す時間と前記波形メモリ音源部が前記波形・プログラム
メモリから波形データを読み出す時間との時間割合が切
り替えられるので、楽音発生装置における動作処理状態
に拘わらず演算制御処理部の処理速度を確保し、レスポ
ンスの高い楽音発生を行うことが可能となる効果を奏す
る。
As described above, according to the present invention,
According to the control mode designated by the control mode designating means, the number of channels for generating musical tone waveforms is switched by reading waveform data from the waveform / program memory, and the arithmetic control processing unit Since the time ratio between the time for reading the control program and the time for the waveform memory sound source to read the waveform data from the waveform / program memory can be switched, the processing speed of the arithmetic control processing unit can be reduced irrespective of the operation processing state in the musical tone generator. As a result, it is possible to generate a musical tone with high response.

【0068】また、好ましくは、前記切り替えによって
前記波形・プログラムメモリの読み出しを行わなくなっ
たチャンネルは、該チャンネル以外のチャンネルにおい
て前記波形・プログラムメモリから波形データを読み出
すことにより生成された楽音波形に対し、新たな音色制
御を付加するために使用されるので、チャンネル数を減
少させたときの各チャンネルの楽音品質を、チャンネル
数が多いときの楽音品質よりも高めることができる。
Preferably, the channel from which reading of the waveform / program memory is not performed due to the switching is performed with respect to a tone waveform generated by reading waveform data from the waveform / program memory in a channel other than the channel. Since it is used for adding a new tone color control, the tone quality of each channel when the number of channels is reduced can be higher than the tone quality when the number of channels is large.

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

【図1】本発明の第1の実施の形態に係る楽音発生装置
の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a musical sound generating device according to a first embodiment of the present invention.

【図2】図1の波形演算部の詳細な構成を説明するため
の図である。
FIG. 2 is a diagram for explaining a detailed configuration of a waveform calculation unit in FIG. 1;

【図3】図1の波形・プログラムROMへのアクセスタ
イミングの一例を示す図である。
FIG. 3 is a diagram showing an example of an access timing to the waveform / program ROM of FIG. 1;

【図4】図1の楽音発生装置、特にCPUが実行するメ
インプログラムの手順を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure of a main program executed by the musical sound generating device of FIG. 1, in particular, a CPU;

【図5】ユーザが図1のパネル表示器&パネル操作子の
動作モード設定操作子を操作したときに発生する動作モ
ード設定操作子処理の手順を示すフローチャートであ
る。
FIG. 5 is a flowchart showing a procedure of an operation mode setting operator process that occurs when a user operates the operation mode setting operator of the panel display & panel operator of FIG. 1;

【図6】音源モードとして32音同時発音モードが設定
されているときのノートオンイベント処理の手順を示す
フローチャートである。
FIG. 6 is a flowchart illustrating a procedure of note-on event processing when a 32-tone simultaneous sound generation mode is set as a sound source mode.

【図7】音源モードとして16音同時発音モードが設定
されているときのノートオンイベント処理の手順を示す
フローチャートである。
FIG. 7 is a flowchart illustrating a procedure of a note-on event process when a 16-note simultaneous sound generation mode is set as a sound source mode.

【図8】本発明の第2の実施の形態の楽音発生装置の音
源部の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a sound source unit of a musical sound generating device according to a second embodiment of the present invention.

【図9】本発明の第2の実施の形態の楽音発生装置にお
いて、音源モードとして16音同時発音モードが設定さ
れているときのノートオンイベント処理の手順を示すフ
ローチャートである。
FIG. 9 is a flowchart illustrating a procedure of note-on event processing when a 16-note simultaneous sound generation mode is set as a sound source mode in the tone generator according to the second embodiment of the present invention.

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

10 アクセス管理部(制御手段) 20 音源部(波形メモリ音源部) 23a モードレジスタ(制御モード指定手段) 30 CPU(演算制御処理部、制御モード指定手段) 100 波形・プログラムROM(波形・プログラムメ
モリ)
Reference Signs List 10 access management unit (control unit) 20 sound source unit (waveform sound source unit) 23a mode register (control mode specifying unit) 30 CPU (calculation control processing unit, control mode specifying unit) 100 waveform / program ROM (waveform / program memory)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 波形データおよび制御プログラムを記憶
する波形・プログラムメモリから読み出された波形デー
タに基づいて複数チャンネルの楽音波形を発生させる波
形メモリ音源部と、前記波形・プログラムメモリから読
み出された制御プログラムに基づいて演算制御を行う演
算制御処理部とを備え、前記波形・プログラムメモリを
前記波形メモリ音源部および演算制御処理部で共用する
楽音発生装置であって、 前記演算制御処理部が実行する複数の制御内容をそれぞ
れ示す複数の制御モードからいずれかの制御モードを指
定するための制御モード指定手段と、 該指定された制御モードに応じて、前記波形・プログラ
ムメモリから波形データを読み出すことにより楽音波形
を生成するチャンネルのチャンネル数を切り替えるとと
もに前記演算制御処理部が前記波形・プログラムメモリ
から制御プログラムを読み出す時間と前記波形メモリ音
源部が前記波形・プログラムメモリから波形データを読
み出す時間との時間割合を切り替えるように制御する制
御手段とを有することを特徴とする楽音発生装置。
1. A waveform memory tone generator for generating a musical tone waveform of a plurality of channels based on waveform data read from a waveform / program memory for storing waveform data and a control program, and a waveform memory read from the waveform / program memory. An arithmetic control processing unit that performs arithmetic control based on the control program, wherein the waveform / program memory is shared by the waveform memory sound source unit and the arithmetic control processing unit, wherein the arithmetic control processing unit Control mode designating means for designating any one of a plurality of control modes indicating a plurality of control contents to be executed; and reading out waveform data from the waveform / program memory according to the designated control mode. By switching the number of channels for generating musical tone waveforms, Control means for controlling so as to switch a time ratio between a time when the control processing unit reads the control program from the waveform / program memory and a time when the waveform memory sound source unit reads the waveform data from the waveform / program memory. Characteristic musical sound generator.
【請求項2】 前記切り替えによって前記波形・プログ
ラムメモリの読み出しを行わなくなったチャンネルは、
該チャンネル以外のチャンネルにおいて前記波形・プロ
グラムメモリから波形データを読み出すことにより生成
された楽音波形に対し、新たな音色制御を付加するため
に使用されることを特徴とする請求項1記載の楽音発生
装置。
2. The channel from which reading of the waveform / program memory is not performed due to the switching,
2. A tone generator according to claim 1, wherein the tone generator is used to add new tone color control to a tone waveform generated by reading waveform data from the waveform / program memory in a channel other than the channel. apparatus.
JP01197098A 1998-01-07 1998-01-07 Tone generator Expired - Fee Related JP3521724B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01197098A JP3521724B2 (en) 1998-01-07 1998-01-07 Tone generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01197098A JP3521724B2 (en) 1998-01-07 1998-01-07 Tone generator

Publications (2)

Publication Number Publication Date
JPH11202868A true JPH11202868A (en) 1999-07-30
JP3521724B2 JP3521724B2 (en) 2004-04-19

Family

ID=11792484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01197098A Expired - Fee Related JP3521724B2 (en) 1998-01-07 1998-01-07 Tone generator

Country Status (1)

Country Link
JP (1) JP3521724B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7220908B2 (en) 2002-09-12 2007-05-22 Yamaha Corporation Waveform processing apparatus with versatile data bus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3182801B2 (en) 1991-07-19 2001-07-03 カシオ計算機株式会社 Electronic musical instrument
JP3019755B2 (en) 1995-10-02 2000-03-13 ヤマハ株式会社 Music sound generation method and music sound generation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7220908B2 (en) 2002-09-12 2007-05-22 Yamaha Corporation Waveform processing apparatus with versatile data bus
US7459625B2 (en) 2002-09-12 2008-12-02 Yamaha Corporation Waveform processing apparatus with versatile data bus
USRE43076E1 (en) 2002-09-12 2012-01-10 Yamaha Corporation Waveform processing apparatus with versatile data bus

Also Published As

Publication number Publication date
JP3521724B2 (en) 2004-04-19

Similar Documents

Publication Publication Date Title
JPH0370236B2 (en)
KR100366721B1 (en) Electronic Music Devices and Effectors
JP3293434B2 (en) Tone generation method
US5340938A (en) Tone generation apparatus with selective assignment of one of tone generation processing modes to tone generation channels
US6091012A (en) Tone effect imparting apparatus
JPH04306697A (en) stereo system
JPH06195075A (en) Musical tone generating device
JPH11202868A (en) Musical sound generating device
US5864081A (en) Musical tone generating apparatus, musical tone generating method and storage medium
JP3341777B2 (en) Effect giving device
JP2932841B2 (en) Electronic musical instrument
JPH0458291A (en) Musical sound waveform generator
JP3334165B2 (en) Music synthesizer
JPH0683338A (en) Electronic musical instrument
JP3164096B2 (en) Musical sound generating method and apparatus
JP2888712B2 (en) Music generator
JP2970438B2 (en) Waveform memory type tone generator
JP2947525B2 (en) Envelope generator
JPH10124050A (en) Electronic musical instrument
JP3221987B2 (en) Delay time modulation effect device
JP2972364B2 (en) Musical information processing apparatus and musical information processing method
JPH0460698A (en) Musical sound waveform generator
JPS6352399B2 (en)
JPH0926787A (en) Timbre control device
JP3106051B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031219

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040202

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees