JP3334483B2 - Waveform memory type tone generator that can input external waveform - Google Patents
Waveform memory type tone generator that can input external waveformInfo
- Publication number
- JP3334483B2 JP3334483B2 JP08442596A JP8442596A JP3334483B2 JP 3334483 B2 JP3334483 B2 JP 3334483B2 JP 08442596 A JP08442596 A JP 08442596A JP 8442596 A JP8442596 A JP 8442596A JP 3334483 B2 JP3334483 B2 JP 3334483B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- waveform
- input
- sound
- external
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、電子楽器等におい
て、演奏情報等に基づいて楽音波形データを波形メモリ
から読み出して音源の複数のチャンネルで楽音信号を発
生するとともに、外部から波形データを入力して入力音
を発生できるようにした外部波形を入力可能な波形メモ
リ型楽音発生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument and the like, which reads musical tone waveform data from a waveform memory based on performance information and the like, generates musical tone signals on a plurality of channels of a sound source, and inputs waveform data from outside. The present invention relates to a waveform memory type tone generator capable of inputting an external waveform capable of generating an input sound.
【0002】[0002]
【従来の技術】従来、電子楽器等において、例えば楽音
音波形の時系列なサンプリングデータを楽音波形データ
として波形メモリに記憶しておき、鍵盤やMIDIイン
タフェースあるいはメモリに記憶された演奏情報に基づ
いて、指定された音色の楽音波形データを波形メモリか
ら読み出して音源で楽音信号を発生して楽音を発生する
波形メモリ型楽音発生装置がある。2. Description of the Related Art Conventionally, in an electronic musical instrument or the like, for example, time-series sampling data of a musical tone waveform is stored in a waveform memory as musical tone waveform data, and based on performance information stored in a keyboard, a MIDI interface or a memory. There is a waveform memory type tone generator which reads out tone waveform data of a designated tone color from a waveform memory and generates a tone signal by a sound source to generate a tone.
【0003】この種の装置に用いられる音源はLSIで
構成されており、例えば16チャンネル等の複数チャン
ネルにより時分割多重処理を行うことで、複数の音につ
いて実質的に同時発音が可能となっている。また、音源
は、波形データに対して、ピッチ変換、デジタルフィル
タ処理、音量制御処理、振幅、ピッチ、音色等の変調処
理をチャンネル毎に独立に行う。さらに、上記処理を行
った複数チャンネルをミキシング処理で混合した後、こ
の混合された波形データに対して、リバーブ処理、ノン
リニア変換処理等の各種効果制御の処理機能を備えてい
る。A sound source used in this type of device is composed of an LSI. For example, by performing time-division multiplexing processing on a plurality of channels such as 16 channels, a plurality of sounds can be generated substantially simultaneously. I have. Further, the sound source performs pitch conversion, digital filter processing, volume control processing, modulation processing such as amplitude, pitch, and timbre on the waveform data independently for each channel. Further, after mixing the plurality of channels subjected to the above processing by mixing processing, the apparatus is provided with various effect control processing functions such as reverb processing and non-linear conversion processing for the mixed waveform data.
【0004】[0004]
【発明が解決しようとする課題】ところで、マイク等に
よって外部から波形を入力して上記音源で発生する楽音
と合奏させる場合、この外部入力波形の音質や音量を制
御したり、さらに残響等を付加することが考えられる
が、これらの処理を行うために外部入力波形用に別系統
の新たな回路を追加すると、回路が複雑化、大規模化し
てしまう。そこで、音源の効果制御の処理機能を利用す
るために、音源の途中に外部波形を入力可能なインタフ
ェースを備えたものもあるが、外部波形を入力するため
には専用のデータ変換回路が必要になる。By the way, when a waveform is input from the outside by a microphone or the like to be played with a musical tone generated by the sound source, the sound quality and volume of the external input waveform are controlled, and reverberation is added. However, if a new circuit of another system is added for an external input waveform in order to perform these processes, the circuit becomes complicated and large-scale. In order to use the processing function of sound source effect control, some models have an interface that can input an external waveform in the middle of the sound source, but a dedicated data conversion circuit is required to input the external waveform. Become.
【0005】本発明は、電子楽器等の波形メモリ型楽音
発生装置において、簡単な回路構成によって、外部入力
波形に音源の効果制御の処理を施せるようにすることを
課題とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a waveform memory type tone generator for an electronic musical instrument or the like, which can control the effect of a sound source on an external input waveform with a simple circuit configuration.
【0006】[0006]
【課題を解決するための手段】上記の課題を解決するた
めになした請求項1の外部波形を入力可能な波形メモリ
型楽音発生装置は、演奏情報を入力する演奏情報入力手
段と、デジタルの楽音波形データを記憶している波形メ
モリと、デジタルの外部波形データを供給する外部波形
供給手段と、複数チャンネルで時分割処理を行って、各
チャンネルの処理時にはそれぞれ独立してアドレス信号
を発生して波形データを入力し、入力した波形データに
ついて割り当てられたチャンネルで該波形データに所定
の演算処理を施して楽音を発生する音源と、前記外部波
形供給手段から供給される外部波形データによる入力音
を発生するためのチャンネルとして、所定の条件に従っ
て前記音源のチャンネルを割り当てる外部波形チャンネ
ル割当手段と、前記演奏情報入力手段から入力される演
奏情報に対応する楽音を発生するためのチャンネルとし
て、前記音源のチャンネルを割り当てる楽音波形チャン
ネル割当手段であって、前記入力音のチャンネルが割り
当てられていないときは全てのチャンネルから上記演奏
情報にチャンネルを割り当て、前記入力音のチャンネル
が割り当てられているときはその他のチャンネルから上
記演奏情報にチャンネルを割り当てる音源波形チャンネ
ル割当手段と、前記音源で発生されるアドレス信号が前
記外部波形供給手段に割り当てられたアドレスであった
ときには、該外部波形供給手段から供給される外部波形
データを前記音源に入力し、前記波形メモリに割り当て
られたアドレスであったときには、該波形メモリから読
み出した楽音波形データを前記音源に入力するように制
御するデコード手段とを備え、前記音源の少なくとも1
つのチャンネルを、前記外部波形データの入力と、前記
波形メモリからの楽音波形データの読み出しとの何れか
に割り当て可能にするとともに、前記外部波形データの
入力を検出したときに、該外部波形データの入力音のチ
ャンネルを割り当て、各チャンネルの処理時に、前記楽
音波形データに割り当てたチャンネルのときは前記波形
メモリに割り当てられたアドレスを出力し、前記外部波
形データに割り当てたチャンネルのときは前記外部波形
供給手段に割り当てられたアドレスを出力することによ
り、前記演奏情報と前記楽音波形データとによる楽音発
生と、前記外部波形データによる入力音発生とについ
て、前記音源のチャンネルを割り当てて該音源を共用す
るようにしたことを特徴とする。また、請求項2の外部
波形を入力可能な波形メモリ型楽音発生装置は、演奏情
報を入力する演奏情報入力手段と、デジタルの楽音波形
データを記憶している波形メモリと、デジタルの外部波
形データを供給する外部波形供給手段と、複数チャンネ
ルで時分割処理を行って、入力した波形データについて
割り当てられたチャンネルで該波形データに所定の演算
処理を施して楽音を発生する音源と、前記外部波形供給
手段から供給される外部波形データによる入力音を発生
するためのチャンネルとして、所定の条件に従って前記
音源のチャンネルを割り当てる外部波形チャンネル割当
手段と、前記演奏情報入力手段から入力される演奏情報
に対応する楽音を発生するためのチャンネルとして、前
記音源のチャンネルを割り当てる楽音波形チャンネル割
当手段であって、前記入力音のチャンネルが割り当てら
れていないときは全てのチャンネルから上記演奏情報に
チャンネルを割り当て、前記入力音のチャンネルが割り
当てられているときはその他のチャンネルから上記演奏
情報にチャンネルを割り当てる音源波形チャンネル割当
手段とを備え、前記音源のチャンネルを、前記外部波形
データの入力と、前記波形メモリからの楽音波形データ
の読み出しとの何れかに割り当て可能にするとともに、
前記外部波形データの入力を検出したときに、前記音源
の空きチャンネルまたはトランケートにより確保したチ
ャンネルを該外部波形データの入力音のチャンネルとし
て割り当てることにより、前記演奏情報と前記楽音波形
データとによる楽音発生と、前記外部波形データによる
入力音発生とについて、前記音源のチャンネルを割り当
てて該音源を共用するようにしたことを特徴とする。 According to a first aspect of the present invention, there is provided a waveform memory type tone generator capable of inputting an external waveform, comprising: performance information input means for inputting performance information; performing a waveform memory for storing tone waveform data, and the external waveform supply means for supplying a digital external waveform data, a time-division processing in a plurality of channels, each
When processing channels, the address signals are independent of each other.
And a sound source for generating a musical tone by performing predetermined arithmetic processing on the input waveform data in a channel assigned to the input waveform data, and an external waveform data supplied from the external waveform supply means. An external waveform channel allocating means for allocating a channel of the sound source in accordance with a predetermined condition as a channel for generating an input sound according to a predetermined condition; and a channel for generating a musical tone corresponding to performance information inputted from the performance information input means. Musical tone waveform channel allocating means for allocating a channel of the sound source, wherein when the channel of the input sound is not allocated, a channel is allocated to the performance information from all the channels, and the channel of the input sound is allocated. When the performance information is A sound source waveform channel assignment means for assigning a channel, address signal generated by the sound source before
The address was assigned to the external waveform supply means.
Sometimes, the external waveform supplied from the external waveform supply means
Input data to the sound source and assign to the waveform memory
If the address is a read address, read from the waveform memory.
It is controlled so that the detected tone waveform data is input to the sound source.
Decoding means for controlling at least one of the sound sources.
One channel can be assigned to one of the input of the external waveform data and the reading of the tone waveform data from the waveform memory, and when the input of the external waveform data is detected, Input sound channels are assigned , and when processing each channel,
For the channel assigned to the sound waveform data, the waveform
Outputs the address assigned to the memory,
For channels assigned to shape data, use the external waveform
By outputting the address assigned to the supply means, the sound source is allocated to the sound source by sharing the sound source channel for the generation of the sound by the performance information and the sound waveform data and the input sound by the external waveform data. It is characterized by doing so. In addition, outside of claim 2
The waveform memory type tone generator that can input waveforms
Information input means for inputting information and digital musical sound waveforms
Waveform memory for storing data and digital external waves
External waveform supply means for supplying shape data, and multiple channels
Performs time-division processing on the input waveform data
Perform predetermined calculations on the waveform data in the assigned channel
A sound source that performs processing and generates a musical tone, and supplies the external waveform
Generates input sound by external waveform data supplied from the means
Channel according to the predetermined conditions
External waveform channel assignment to assign sound source channels
Means and performance information input from the performance information input means
As a channel for generating musical tones corresponding to
Tone channel assignment for assigning sound source channels
The input sound channel is assigned.
If not, the performance information from all channels
Assign the channel and assign the channel of the input sound.
If it is assigned, play the above from other channels
Sound source waveform channel assignment for assigning channels to information
Means for controlling the channel of the sound source by the external waveform
Data input and tone waveform data from the waveform memory
And can be assigned to any of
When detecting the input of the external waveform data, the sound source
Available channels or channels secured by truncation
Channel as the input sound channel of the external waveform data.
By assigning the performance information and the musical sound waveform.
The tone generation by the data and the external waveform data
Assign the sound source channel for the input sound generation
The sound source is shared.
【0007】[0007]
【作用】請求項1の外部波形を入力可能な波形メモリ型
楽音発生装置において、外部波形供給手段からデジタル
の外部波形データが供給されると、この外部波形データ
は音源に入力され、演奏情報入力手段から演奏情報が入
力されると、波形メモリから楽音波形データが読み出さ
れて音源に入力される。このとき、デコード手段によ
り、音源で発生されるアドレス信号が外部波形供給手段
に割り当てられたアドレスであったときには、外部波形
供給手段から供給される外部波形データを音源に入力
し、波形メモリに割り当てられたアドレスであったとき
には、波形メモリから読み出した楽音波形データを音源
に入力するように制御する。また、外部波形チャンネル
割当手段と楽音波形チャンネル割当手段により、それぞ
れ外部波形データによる入力音用のチャンネルと、演奏
情報による楽音用のチャンネルが割り当てられ、外部波
形データについても楽音波形データと同様に音源で処理
される。すなわち、音源では外部入力波形データが演奏
情報と同じように扱われ、入力音についても演奏情報の
楽音と同等に発音される。したがって、音源の処理機能
を外部波形データに共用できる。According to the first aspect of the present invention, when digital external waveform data is supplied from an external waveform supply means, the external waveform data is input to a sound source, and the performance information is input. When the performance information is input from the means, the musical tone waveform data is read from the waveform memory and input to the sound source. At this time, the decoding means
Address signal generated by the sound source is supplied to external waveform supply means.
If the address was assigned to
External waveform data supplied from the supply means is input to the sound source
And the address is assigned to the waveform memory
The tone waveform data read from the waveform memory
Control to input to The input channel for the input sound based on the external waveform data and the channel for the tone based on the performance information are allocated by the external waveform channel allocating means and the musical tone waveform channel allocating means, respectively. Is processed. That is, in the sound source, the external input waveform data is handled in the same manner as the performance information, and the input sound is generated in the same manner as the musical tone of the performance information. Therefore, the processing function of the sound source can be shared with the external waveform data.
【0008】なお、外部波形チャンネル割当手段で外部
波形データ用のチャンネルを割り当てるときの条件とし
ては、予め決められたチャンネルを外部波形データ用に
割り当てるという条件、予め決められた複数のチャンネ
ルからチャンネルを選択して割り当てるという条件、任
意の現在空いているチャンネル(空いていないときは重
要度の低い楽音波形データに割り当てられたチャンネ
ル)から割り当てるという条件などがある。なお、楽音
波形データ用にチャンネルを割り当てるときは、現在外
部波形データ用に割り当てられているチャンネル以外の
チャンネルを割り当てる。請求項2の外部波形を入力可
能な波形メモリ型楽音発生装置においては、請求項1と
同様に音源の処理機能を外部波形データに共用できると
ともに、外部波形データの入力音のチャンネルは音源の
空きチャンネルまたはトランケートにより確保したチャ
ンネルが割り当てられるので、外部波形データの入力音
の発音時に、演奏情報による楽音への影響を極力抑える
ことができる。 The conditions for allocating a channel for external waveform data by the external waveform channel allocating means include a condition that a predetermined channel is allocated for external waveform data, and a condition that a channel is determined from a plurality of predetermined channels. There is a condition of selecting and allocating, and a condition of allocating from any currently vacant channel (when not vacant, a channel allocated to less important musical tone waveform data). When assigning channels for musical tone waveform data, assign channels other than the channels currently assigned for external waveform data. External waveform of claim 2 can be input
Claims 1 and 2 provide an efficient waveform memory type tone generator.
Similarly, if the processing function of the sound source can be shared with external waveform data
In both cases, the input sound channel of the external waveform data is
Empty channel or channel secured by truncation
Channels are assigned, so that the input sound
Minimize the effect of performance information on musical sounds when pronounced
be able to.
【0009】[0009]
【発明の実施の形態】図1は本発明の一実施の形態を示
す電子楽器のブロック図であり、CPU1はROM2に
格納されている制御プログラムに基づいてRAM3のワ
ーキングエリアを使用して電子楽器全体の制御を行い、
MIDIインタフェース4から入力される演奏情報を取
り込む。また、パラレルI/O6を介して、パネル7の
操作スイッチと、マイク5の入力レベルを検出するピー
ク検出器8の出力をスキャンする。さらに、パラレルI
/O6を介してパネル7の表示器に対して表示を制御す
る信号を送り出す。FIG. 1 is a block diagram of an electronic musical instrument showing an embodiment of the present invention. A CPU 1 uses a working area of a RAM 3 based on a control program stored in a ROM 2 to control the electronic musical instrument. Perform overall control,
The performance information input from the MIDI interface 4 is fetched. Further, via the parallel I / O 6, the operation switch of the panel 7 and the output of the peak detector 8 for detecting the input level of the microphone 5 are scanned. Furthermore, the parallel I
A signal for controlling display is sent to the display of panel 7 via / O6.
【0010】ピーク検出器8は、マイク5への音声の入
力レベルを、音声入力と判定できる予め設定されたピー
クレベルと比較して音声入力の有無を判定する。なお、
このピーク検出器8はマイク5への音声入力の有無を検
出する方法の一例であり、音声入力の有無を検出する方
法はどのようなものでもよい。[0010] The peak detector 8 compares the input level of the sound to the microphone 5 with a preset peak level that can be determined as a sound input to determine the presence or absence of a sound input. In addition,
The peak detector 8 is an example of a method for detecting the presence or absence of a voice input to the microphone 5, and any method for detecting the presence or absence of a voice input may be used.
【0011】音源9は、16チャンネルで時分割多重処
理を行って複数音を実質的に同時発音可能としたもので
あり、発音すべき楽音について、波形メモリ10の楽音
波形データの先頭アドレスや、音高情報、その他各種効
果制御用のデータなどをCPU1が設定するための各種
レジスタを各チャンネル毎に備えている。一方、CPU
1は、音源9の16チャンネルの内の何れか1つ(ない
し数個)を、前記演奏情報に対応する楽音を発生する楽
音発生用のチャンネル(以後、「演奏チャンネル」とい
う。)として割り当て、割り当てた演奏チャンネルの前
記各種レジスタに該楽音を発生するためのデータ(発生
する楽音を制御するデータ)を設定する。The sound source 9 performs time-division multiplexing processing on 16 channels so that a plurality of sounds can be produced substantially simultaneously. For the tones to be produced, the head address of the tone waveform data in the waveform memory 10 and The CPU 1 is provided with various registers for setting pitch information and other data for controlling various effects for each channel. On the other hand, CPU
1 assigns any one (or several) of the 16 channels of the sound source 9 as a tone generation channel (hereinafter referred to as a "performance channel") for generating a tone corresponding to the performance information, Data for generating the musical tone (data for controlling the generated musical tone) is set in the various registers of the assigned performance channel.
【0012】すなわち、音源9のレジスタには、前記先
頭アドレス、前記音高情報、前記各種効果制御用のデー
タ、それに、(前記先頭アドレスに加えて)波形データ
のエンドアドレス、ループアドレス、楽音の特性を制御
するデジタルフィルタ係数、楽音特性の時間変化を制御
するエンベロープ制御データ、リバーブ等のエフェクト
の深さを制御するデータ等の、各チャンネルの楽音を制
御するデータが設定される。また、それに加えて、全体
に付与するリバーブ等のエフェクタの種類や特性を制御
するデータ(アルゴリズム制御データ、係数データ)が
設定される。That is, in the register of the sound source 9, the start address, the pitch information, the data for controlling the various effects, the end address of the waveform data (in addition to the start address), the loop address, the tone Data for controlling the tone of each channel, such as a digital filter coefficient for controlling the characteristic, envelope control data for controlling the time change of the tone characteristic, and data for controlling the depth of an effect such as reverb, are set. In addition, data (algorithm control data, coefficient data) for controlling the type and characteristics of the effector such as reverb applied to the whole is set.
【0013】また、CPUIは、音源9の16チャンネ
ルの内の何れか1つ(複数でもよい)を、前記音声を入
力するための音声入力用のチャンネル(以後、「マイク
チャンネル」という。)として割り当て、割り当てたマ
イクチャンネルの前記各種レジスタに該音声を入力する
ためのアドレス(後述説明するように、波形メモリの空
き領域のアドレス)および入力した音声に対する各種処
理を制御するためのデータを設定する。The CPUI sets any one (or more) of the 16 channels of the sound source 9 as an audio input channel for inputting the audio (hereinafter, referred to as a “microphone channel”). The address for inputting the audio (the address of an empty area of the waveform memory as described later) and the data for controlling various processes for the input audio are set in the various registers of the assigned microphone channel. .
【0014】波形メモリ10は、この電子楽器で指定可
能な音色に応じた楽音波形データ(楽音の振幅の時系列
なサンプリングデータ)を各音色に対応する先頭アドレ
スから順に記憶したメモリであり、音源9は、波形メモ
リ10にアドレスデータを出力して、CPU1が、音源
9のレジスタに設定した楽音波形データの各種アドレス
に応じた楽音波形データを読み出す。The waveform memory 10 is a memory that stores tone waveform data (time-series sampling data of tone amplitude) corresponding to a tone that can be designated by the electronic musical instrument in order from the top address corresponding to each tone. 9 outputs the address data to the waveform memory 10 and the CPU 1 reads out the tone waveform data corresponding to various addresses of the tone waveform data set in the register of the sound source 9.
【0015】また、音源9は、図5(a)に示されるよ
うな発音チャンネルに同期した同期信号をA/D変換回
路11に出力し、A/D変換回路11はこの同期信号に
同期してマイク5から入力されるアナログ信号をデジタ
ル信号に変換してドライバ回路12に出力する。なお、
後述の実施例で説明するように、マイクチャンネルのタ
イミングに同期した同期信号でもよい。The sound source 9 outputs a synchronizing signal synchronized with the tone generation channel as shown in FIG. 5A to the A / D conversion circuit 11, and the A / D conversion circuit 11 synchronizes with the synchronizing signal. Then, an analog signal input from the microphone 5 is converted into a digital signal and output to the driver circuit 12. In addition,
As will be described in an embodiment described later, a synchronization signal synchronized with the timing of the microphone channel may be used.
【0016】一方、音源9のアドレス線は波形メモリ1
0と共にデコーダ13にも入力されており、このデコー
ダ13は音源9から出力されるアドレスデータをデコー
ドして波形メモリ10とドライバ回路12にそれぞれ相
反するイネーブル信号/ディセーブル信号を出力して、
波形メモリ10からの楽音波形データとドライバ回路1
2からの外部波形データとを切り換えて取り込む。On the other hand, the address line of the sound source 9 is
The decoder 13 decodes the address data output from the sound source 9 and outputs opposing enable / disable signals to the waveform memory 10 and the driver circuit 12, respectively.
Musical tone waveform data from waveform memory 10 and driver circuit 1
2 to switch and capture the external waveform data.
【0017】すなわち、音源9は、演奏チャンネルのチ
ャンネルタイミングで、そのチャンネルのレジスタに設
定された波形データの各アドレスと音高情報に基づい
て、各サンプリング周期毎にアドレスデータを発生し出
力する。その発生すべき楽音の波形データのアドレスデ
ータを出力し、このときデコーダ13は、アドレスデー
タをデコードしてドライバ回路12にディセーブル信号
を出力するとともに、波形メモリ10にイネーブル信号
を出力する。また、音源9は、マイクチャンネルのとき
は、そのチャンネルのレジスタに設定されたアドレスに
従って、波形メモリ10の空き領域のアドレスデータを
出力し、このときデコーダ13は、この空き領域のアド
レスデータをデコードして波形メモリ10にディセーブ
ル信号を出力するとともに、ドライバ回路12にイネー
ブル信号を出力する。That is, the tone generator 9 generates and outputs address data at each sampling cycle at the channel timing of the performance channel based on each address of the waveform data and pitch information set in the register of the channel. At this time, the decoder 13 decodes the address data, outputs a disable signal to the driver circuit 12, and outputs an enable signal to the waveform memory 10. In the case of the microphone channel, the sound source 9 outputs the address data of the empty area of the waveform memory 10 in accordance with the address set in the register of the channel. At this time, the decoder 13 decodes the address data of the empty area. Then, a disable signal is output to the waveform memory 10 and an enable signal is output to the driver circuit 12.
【0018】以上の構成により、音源9の16チャンネ
ルの内、演奏チャンネルに割り当てられたチャンネル
で、音源9は波形メモリ10からそのチャンネルの楽音
発生に必要な楽音波形データを読み出し、マイクチャン
ネルに割り当てられたチャンネルで、音源9はドライバ
回路12を介してA/D変換回路11から外部波形デー
タを読み出す。なお、波形メモリ10とドライバ回路1
2は、ディセーブル信号により各出力端子をハイインピ
ーダンスにするので、ドライバ回路12の入力レベルと
波形メモリ10の出力データとは干渉することがなく、
また、波形メモリ10のアクセス状態がドライバ回路1
2の出力データに干渉することはない。With the above configuration, the sound source 9 reads out the sound waveform data necessary for generating the tone from the waveform memory 10 and assigns it to the microphone channel in the channel assigned to the performance channel among the 16 channels of the sound source 9. The sound source 9 reads the external waveform data from the A / D conversion circuit 11 via the driver circuit 12 on the selected channel. The waveform memory 10 and the driver circuit 1
2 sets each output terminal to high impedance by the disable signal, so that the input level of the driver circuit 12 and the output data of the waveform memory 10 do not interfere with each other.
Further, the access state of the waveform memory 10 is
2 does not interfere with the output data.
【0019】以上のように、音源9において割り当てら
れた各チャンネルに波形メモリ10から楽音波形データ
が、また、ドライバ回路12から外部波形データが入力
されると、音源9は、演奏チャンネルでは、そのチャン
ネルのレジスタの設定に従って、波形メモリ10から読
み出された楽音波形データに対し各種効果の付与やデジ
タルフィルタ、エンベロープ制御等の処理を行って楽音
信号を合成し、一方、マイクチャンネルでは、同レジス
タの設定に従って、入力した外部波形データに各種効果
の付与やデジタルフィルタ、音量制御等の処理が施され
た外部楽音信号を合成する。合成された複数の楽音信
号、および、外部楽音信号は、各チャンネルのレジスタ
の設定に従ってエフェクト入力用と直接出力用の2つの
ミキシング処理が施され、累算結果としてエフェクト入
力信号、直接信号が形成される。さらに、エフェクト入
力信号に対してはレジスタの設定に従ってリバーブ等の
エフェクト処理が施され、エフェクト出力信号が形成さ
れる。さらに、直接信号とエフェクト出力信号をミキシ
ング形成された最終楽音信号がデジタル楽音信号としD
/A変換回路14に出力される。そして、D/A変換回
路14はデジタル楽音信号をアナログ信号に変換し、加
算回路15でマイク5からの直接入力信号とを混合して
サウンドシステム16で楽音と音声を発生する。As described above, when tone waveform data is input from the waveform memory 10 and external waveform data is input from the driver circuit 12 to each channel assigned to the sound source 9, the sound source 9 In accordance with the setting of the channel register, the tone waveform data read from the waveform memory 10 is subjected to various effects, digital filters, envelope control, and other processing to synthesize a tone signal. According to the setting of the above, an external tone signal which has been subjected to processes such as adding various effects, digital filtering, and volume control to the input external waveform data is synthesized. A plurality of synthesized tone signals and an external tone signal are subjected to two mixing processes for effect input and direct output in accordance with register settings of each channel, and an effect input signal and a direct signal are formed as an accumulation result. Is done. Further, the effect input signal is subjected to effect processing such as reverb according to the setting of the register, and an effect output signal is formed. Further, the final tone signal formed by mixing the direct signal and the effect output signal is a digital tone signal,
/ A conversion circuit 14. Then, the D / A conversion circuit 14 converts the digital musical sound signal into an analog signal, and mixes the direct input signal from the microphone 5 with the adding circuit 15 to generate a musical sound and a sound with the sound system 16.
【0020】図2はCPU1が実行する制御プログラム
のメインルーチンのフローチャート、図3は演奏情報に
応じたノートオンイベント処理ルーチンのフローチャー
ト、図4はマイク入力についての処理を行うマイク処理
ルーチンのフローチャートであり、各フローチャートに
基づいてCPU1の制御動作について説明する。なお、
以下の説明およびフローチャートにおいて、制御に用い
られる各レジスタおよびフラグを下記のラベルで表記
し、それらの記憶内容は特に断らない限り同一のラベル
で表す。FIG. 2 is a flowchart of a main routine of a control program executed by the CPU 1, FIG. 3 is a flowchart of a note-on event processing routine according to performance information, and FIG. 4 is a flowchart of a microphone processing routine for performing processing regarding microphone input. Yes, the control operation of the CPU 1 will be described based on each flowchart. In addition,
In the following description and flowcharts, the registers and flags used for control are denoted by the following labels, and their storage contents are denoted by the same labels unless otherwise specified.
【0021】ST:マイク入力が有る状態(ST=1)
とマイク入力が無い状態(ST=0)を示すフラグ NN:演奏情報によるノートオンイベントのノートナン
バのレジスタ i:演奏チャンネルとして割り当てられたチャンネルの
チャンネル番号のレジスタ Mch:マイクチャンネルとして割り当てられたチャン
ネルのチャンネル番号のレジスタ CNT:マイクチャンネルの消音タイミングを遅延させ
るカウンタレジスタ n:マイクチャンネルの消音タイミングの遅延量を決め
る定数のレジスタST: State with microphone input (ST = 1)
And a flag indicating the absence of microphone input (ST = 0) NN: Register of note number of note-on event based on performance information i: Register of channel number of channel assigned as performance channel Mch: Channel assigned as microphone channel CNT: Counter register that delays the mute timing of the microphone channel n: Register of a constant that determines the delay amount of the mute timing of the microphone channel
【0022】図2のメインルーチンの処理を開始する
と、ステップS1で各レジスタやフラグのリセット等の
初期設定を行い、ステップS2でMIDIインタフェー
ス4から入力する演奏情報(MIDI情報)をチェック
し、入力した演奏情報があればそれに応じた処理を実行
する。例えば、ノートオンを入力した場合、図3のノー
トオンイベント処理を行う。このMIDI処理を終える
と、ステップS3で、パネル7の操作スイッチのイベン
ト検出や表示制御などのパネル処理を行い、ステップS
4で図4のマイク処理を行ってステップS2に戻る。When the processing of the main routine of FIG. 2 is started, initialization such as resetting of registers and flags is performed in step S1, and performance information (MIDI information) input from the MIDI interface 4 is checked in step S2. If there is the performed performance information, a process corresponding to the performance information is executed. For example, when a note-on is input, the note-on event processing of FIG. 3 is performed. When the MIDI processing is completed, in step S3, panel processing such as event detection of an operation switch of the panel 7 and display control is performed.
At 4, the microphone processing of FIG. 4 is performed, and the process returns to step S2.
【0023】図3のノートオンイベント処理では、ステ
ップS21で、ノートオンイベントの有ったノートナン
バをレジスタNNにセットし、ステップS22でフラグ
ST=1であるか否かを判定し、ST=1であればステ
ップS23に進み、ST=1でなければステップS24
に進む。In the note-on event processing of FIG. 3, in step S21, the note number having the note-on event is set in the register NN, and in step S22, it is determined whether or not the flag ST = 1, and ST = If it is 1, the process proceeds to step S23, and if ST is not 1, step S24.
Proceed to.
【0024】すなわち、ST=1であればマイク入力が
有る状態であるので、ステップS23でマイクチャンネ
ルとして割り当てられているチャンネル以外のチャンネ
ルからから演奏チャンネルの割り当てを行い、その割当
チャンネル番号をレジスタiにセットしてステップS2
5に進む。また、ST=1でなければマイク入力が無い
状態であるので、ステップS24でチャンネル番号1〜
16の全チャンネルから演奏チャンネルの割り当てを行
い、その割当チャンネル番号をレジスタiにセットして
ステップS25に進む。なお、ステップS23,24の
処理で、チャンネル割当ての対象となるチャンネルが発
音中の場合には、例えば最も先に発音した音などのよう
に優先度の低い音のチャンネルを決定するトランケート
処理を行う。That is, if ST = 1, it means that there is a microphone input. Therefore, in step S23, performance channels are assigned from channels other than the channel assigned as the microphone channel, and the assigned channel number is stored in the register i. To step S2
Go to 5. If ST = 1 is not set, there is no microphone input.
Performance channels are allocated from all 16 channels, the allocated channel numbers are set in the register i, and the flow advances to step S25. In the processing of steps S23 and S24, if the channel to be assigned a channel is sounding, a truncation process is performed to determine the channel of a sound having a lower priority, for example, the sound that is sounded first. .
【0025】上記のように割り当てた演奏チャンネルの
チャンネル番号をレジスタiにセットすると、ステップ
S25で、音源9のiチャンネルの各種レジスタにノー
トナンバNNや効果制御用などの各種データを設定し、
ステップS26でiチャンネルにノートオンを出力して
処理を終了する。なお、このノートオンイベント処理
は、自動演奏データの再生時に、ノートオンイベントの
タイミングでも実行される。この処理が終了すると、こ
の処理を呼び出したメインルーチンのステップS2に復
帰し、引き続いてメインルーチンの処理を実行する。以
上の処理により、演奏情報に基づく楽音が発生される。When the channel numbers of the performance channels assigned as described above are set in the register i, various data such as note number NN and effect control are set in various registers of the i channel of the sound source 9 in step S25.
In step S26, note-on is output to the i channel, and the process ends. This note-on event process is also executed at the timing of the note-on event when the automatic performance data is reproduced. When this process ends, the process returns to step S2 of the main routine that called this process, and subsequently executes the process of the main routine. Through the above processing, a musical tone based on the performance information is generated.
【0026】図4のマイク処理では、先ず、ステップS
31でパラレルI/O6を介してピーク検出器8の状態
を取り込み、ステップS32でマイク入力が有るか否か
を判定し、マイク入力が有ればステップS33に進み、
マイク入力が無ければステップS39に進む。In the microphone processing of FIG.
At step 31, the state of the peak detector 8 is fetched via the parallel I / O 6, and it is determined at step S32 whether or not there is a microphone input. If there is a microphone input, the process proceeds to step S33,
If there is no microphone input, the process proceeds to step S39.
【0027】マイク入力が有る場合は、ステップS33
でカウンタレジスタCNTをリセットし、ステップS3
4でST=1であるか否かを判定する。ここで、ステツ
プS34の時点で、このフラグSTは、前回マイク処理
を実行したときのマイク入力の状態を保持している。ス
テップS34でST=0であれば、今までマイク入力が
無かった状態であったのが、今回マイク入力有りの状態
に変化したことを示しており、そこで、ステップS35
〜ステップS38でマイクチャンネルの割り当てとマイ
ク入力開始(発音)処理を行う。If there is a microphone input, step S33
Resets the counter register CNT at step S3
At 4, it is determined whether or not ST = 1. Here, at the time of step S34, this flag ST holds the state of the microphone input at the time of executing the microphone processing last time. If ST = 0 in step S34, it indicates that the state where there was no microphone input has now been changed to the state where microphone input is present, and therefore, step S35
In step S38, microphone channel assignment and microphone input start (sound generation) processing are performed.
【0028】すなわち、ステップS35でフラグSTを
“1”にセットし、ステップS36で、後述説明する所
定の条件に従ってマイクチャンネルを割り当ててそのチ
ャンネル番号をレジスタMchにセットし、そのチャン
ネルの消音処理を行ってステップS37に進む。ステッ
プS37では、音源9のMchチャンネルの各種レジス
タに、先に詳しく説明したような方法でマイクチャンネ
ルへの設定を行い、ステップS38でMchチャンネル
にノートオンを出力して処理を終了する。一方、ステッ
プS34でST=1であった場合はそのまま何も実行せ
ず、マイク処理を終了する。That is, in step S35, the flag ST is set to "1". In step S36, a microphone channel is allocated according to predetermined conditions described later, and the channel number is set in the register Mch. Go to step S37. In step S37, the setting for the microphone channel is performed in the various registers of the Mch channel of the sound source 9 by the method described in detail above, and in step S38, note-on is output to the Mch channel, and the process ends. On the other hand, if ST = 1 in step S34, nothing is executed and the microphone processing ends.
【0029】ステップS32でマイク入力が無い場合に
は、ステップS39でST=0であるか否かを判定し、
ST=0であればマイク入力が無い状態が継続されてい
るときであるので、そのまま処理を終了してメインルー
チンのステップS2に戻る。一方、ST=0でなければ
(ST=1)、マイク入力が無くなった直後であるの
で、ステップS301〜ステップS304で、発音して
いたマイク入力音声を消音する。If there is no microphone input in step S32, it is determined in step S39 whether or not ST = 0.
If ST = 0, it means that the state where there is no microphone input is continued, so that the process is terminated and the process returns to step S2 of the main routine. On the other hand, if ST = 0 is not satisfied (ST = 1), it is immediately after the microphone input is lost, so that the microphone input voice that is sounding is muted in steps S301 to S304.
【0030】すなわち、ステップS301で、カウンタ
レジスタCNTをインクリメントし、ステップS302
でCNT≧nであるか否かを判定し、CNT≧nでなけ
ればマイク入力がなくなってから所定時間が経過してい
ないので、そのまま処理を終了してメインルーチンのス
テップS2に戻る。また、CNT≧nであれば所定時間
が経過したことになるので、ステップS303でフラグ
STを“0”にリセットし、ステップS304でMch
チャンネルの消音処理を行い、メインルーチンのステッ
プS2に戻る。以上の処理により、マイク入力による音
声の発生と消音が行われる。ここでは、マイク入力が無
くなった後、所定時間経過するのを待ってから、マイク
チャンネルの終了を実行するようになっている。これ
は、外部入力が短時間途絶えたときでも、そのチャンネ
ルを解放せず継続的にマイクチャンネルとして使用する
ようにする為である。That is, in step S301, the counter register CNT is incremented, and in step S302
It is determined whether or not CNT ≧ n. If CNT ≧ n, since the predetermined time has not elapsed since the microphone input disappeared, the process is terminated as it is, and the process returns to step S2 of the main routine. If CNT ≧ n, it means that the predetermined time has elapsed, so that the flag ST is reset to “0” in step S303, and the Mch is reset in step S304.
The channel is muted, and the process returns to step S2 of the main routine. Through the above processing, sound generation and mute are performed by the microphone input. Here, after a predetermined time elapses after the microphone input is lost, the microphone channel is terminated. This is so that even when the external input is interrupted for a short time, the channel is not released and is continuously used as a microphone channel.
【0031】図5はマイクチャンネルの割り当ての仕方
を示す図であり、同図に基づいて第1実施例〜第3実施
例について説明する。図5において、(a)は同期信
号、(b)はA/D変換回路11における変換完了信
号、(c)は音源9におけるチャンネルのタイミングを
示している。また、(d)、(e)、(f)は第1実施
例〜第3実施例においてマイクチャンネルとして割り当
てられる候補チャンネルを示している。FIG. 5 is a diagram showing how microphone channels are allocated. The first to third embodiments will be described with reference to FIG. 5A shows a synchronization signal, FIG. 5B shows a conversion completion signal in the A / D conversion circuit 11, and FIG. 5C shows a timing of a channel in the sound source 9. (D), (e), and (f) show candidate channels assigned as microphone channels in the first to third embodiments.
【0032】第1実施例は、予め決められた一つのチャ
ンネルすなわち第16チャンネルを固定的にマイクチャ
ンネル用の割り当てチャンネルとするものである。この
第1実施例の場合は、マイクチャンネルを割り当てると
きは、第16チャンネルが空きチャンネルとなっていれ
ばそのままマイクチャンネルとして割り当て、第16チ
ャンネルが空きチャンネルでなければ消音処理を行って
チャンネルを確保し、マイクチャンネルとして割り当て
る。In the first embodiment, one predetermined channel, that is, the sixteenth channel is fixedly assigned as a channel for the microphone channel. In the case of the first embodiment, when allocating a microphone channel, if the 16th channel is an empty channel, it is allocated as it is as a microphone channel, and if the 16th channel is not an empty channel, mute processing is performed to secure a channel. And assign it as a microphone channel.
【0033】一方、演奏チャンネルを割り当てるとき
は、マイク入力が無い状態では第1〜第16チャンネル
の全チャンネルから演奏チャンネルを割り当て、マイク
入力が有る状態では第1〜第15チャンネルから演奏チ
ャンネルを割り当てる。このように、マイクチャンネル
を予め決めておくと、制御が簡単になる。On the other hand, when a performance channel is allocated, a performance channel is allocated from all of the first to sixteenth channels when there is no microphone input, and a performance channel is allocated from the first to fifteenth channels when there is a microphone input. . If the microphone channel is determined in advance, control is simplified.
【0034】第2実施例の場合は、図1に波線で示した
ように、A/D変換回路11の出力側に同期信号でA/
D変化回路11の出力をラッチするラッチ回路Lを設
け、第1〜第16の全チャンネルをマイクチャンネル用
の候補チャンネルとするものである。すなわち、A/D
変換回路11でA/D変換が完了するまでにはある程度
のタイムラグがあるが、A/D変換された前回の外部波
形データを同期信号によりラッチ回路Lにラッチし、こ
のラッチされた外部波形データについて次のようにチャ
ンネルを割り当てる。In the case of the second embodiment, as shown by the dashed line in FIG.
A latch circuit L for latching the output of the D change circuit 11 is provided, and all of the first to sixteenth channels are used as microphone channel candidate channels. That is, A / D
Although there is a certain time lag until the A / D conversion is completed in the conversion circuit 11, the previous external waveform data subjected to the A / D conversion is latched in the latch circuit L by the synchronization signal, and the latched external waveform data is latched. Assign channels as follows.
【0035】マイクチャンネルを割り当てるときは、第
1〜第16の全チャンネルのうち、空きチャンネルが有
ればその空きチャンネルから、また、空きチャンネルが
無ければ発音中の楽音の優先順位等によりトランケート
を行ってチャンネルを確保し、そのチャンネルをマイク
チャンネルとして割り当てる。When allocating a microphone channel, of all the first to sixteenth channels, the truncation is performed from an empty channel if there is an empty channel, or from the priority of the tone being sounded if there is no empty channel. Go to secure a channel and assign that channel as a microphone channel.
【0036】一方、演奏チャンネルを割り当てるとき
は、マイク入力が無い状態では第1〜第16チャンネル
の全チャンネルから演奏チャンネルを割り当て、マイク
入力が有る状態ではマイクチャンネルとして割り当てら
れていないチャンネルから演奏チャンネルを割り当て
る。このように、全チャンネルをマイクチャンネル用の
候補チャンネルとすると、マイク入力により楽音が消音
される場合に優先順位が低いものから消音するようにで
き、演奏情報による楽音への影響を極力抑えることがで
きる。On the other hand, when a performance channel is allocated, the performance channels are allocated from all of the first to sixteenth channels when there is no microphone input, and the performance channels are allocated from channels not allocated as microphone channels when there is a microphone input. Assign. As described above, when all channels are set as candidate channels for the microphone channel, when a musical tone is muted by a microphone input, the musical tone can be muted from a low priority order, thereby minimizing the influence of the performance information on the musical tone. it can.
【0037】なお、音源9の回路を変更して、前記同期
信号が発音チャンネルのかわりにマイクチャンネルのタ
イミングに同期して発生するようにしてもよい。この様
にすれば、ラッチ回路Lを設けなくても、全チャンネル
をマイク入力用に使用することができるようになる。The circuit of the sound source 9 may be changed so that the synchronizing signal is generated in synchronization with the timing of the microphone channel instead of the sound channel. In this way, all channels can be used for microphone input without providing the latch circuit L.
【0038】第3実施例は、A/D変換回路11のA/
D完了信号より後の第11〜第16をマイクチャンネル
用の候補チャンネルとするものである。すなわち、A/
D変換回路11は、A/D完了信号のタイミングでその
変換された外部波形データをラッチ出力しており、この
ラッチされた変換完了後の外部波形データについて、次
のようにチャンネルを割り当てる。In the third embodiment, the A / D conversion circuit 11
The first to sixteenth bits after the D completion signal are set as candidate channels for the microphone channel. That is, A /
The D conversion circuit 11 latches and outputs the converted external waveform data at the timing of the A / D completion signal, and allocates channels to the latched external waveform data after the conversion as follows.
【0039】すなわち、マイクチャンネルを割り当てる
ときは、第11〜第16のチャンネルのうち、空きチャ
ンネルまたはトランケートにより確保したチャンネルを
マイクチャンネルとして割り当て、演奏チャンネルを割
り当てるときは、マイク入力が無い状態では第1〜第1
6チャンネルの全チャンネルから、また、マイク入力が
有る状態ではマイクチャンネルとして割り当てられてい
ないチャンネルから演奏チャンネルを割り当てる。この
ように、A/D変換回路11の変換完了後のチャンネル
からマイクチャンネルを割り当てると、マイク入力で消
音される楽音への影響もある程度抑えられるとともに、
第2実施例のように1サンプルタイム分遅れることもな
い。なお、この第2実施例のように1サンプルタイム遅
れても、実質的に問題はない。That is, when allocating a microphone channel, of the first to sixteenth channels, an empty channel or a channel secured by truncation is allocated as a microphone channel. 1st to 1st
Performance channels are allocated from all six channels and from channels not allocated as microphone channels when there is a microphone input. As described above, when the microphone channel is allocated from the channel after the completion of the conversion by the A / D conversion circuit 11, the influence on the musical tone muted by the microphone input can be suppressed to some extent.
There is no delay of one sample time as in the second embodiment. It should be noted that there is substantially no problem even if one sample time is delayed as in the second embodiment.
【0040】以上のように、音源9で波形メモリ10か
ら読み出された楽音波形データに対して付与される効果
は、ピッチ変換、デジタルフィルタ処理、音量制御処
理、振幅、ピッチ、音色等の変調処理、ミキシング処
理、リバーブ処理、ノンリニア変換処理等による効果で
あるが、上記実施例のように、音源9自体は、マイク入
力による外部波形データを波形メモリ10の楽音波形デ
ータと同様に扱うように構成されているので、この音源
9の各種効果制御をマイク入力される音声に対しても容
易に付与することができる。As described above, the effects imparted to the tone waveform data read from the waveform memory 10 by the sound source 9 include pitch conversion, digital filter processing, volume control processing, modulation of amplitude, pitch, timbre, etc. Although the effects of processing, mixing, reverb processing, non-linear conversion processing, and the like are obtained, as in the above embodiment, the sound source 9 itself handles external waveform data input from the microphone in the same manner as tone waveform data in the waveform memory 10. With this configuration, various effect controls of the sound source 9 can be easily given to the sound input to the microphone.
【0041】また、以上の実施の形態では、マイク5の
アナログ入力信号を加算回路15でアナログ出力信号に
混合するようにしているが、これは、音源9に設定した
マイクチャンネルでは、主にマイクから入力した波形の
残響音成分を生成し、直接音成分は直接加算回路15に
行くラインから供給しようというものである。このアナ
ログ入力信号を直接混合することで、マイク入力による
音声等の立ち上がりの遅れ等も生じず、直接入力音によ
る鮮明な音声再生も行うことができる。また、直接音成
分がマイクチャンネルを通過しないということは、その
分マイクチャンネルの外部楽音信号のレベルを小さくで
きるということであり、その分、音源9の最終楽音信号
のダイナミックレンジを拡大できる。Further, in the above embodiment, the analog input signal of the microphone 5 is mixed with the analog output signal by the adding circuit 15. The reverberation sound component of the waveform input from is generated, and the direct sound component is to be supplied from a line directly going to the addition circuit 15. By directly mixing the analog input signals, there is no delay in the rise of the sound or the like due to the microphone input, and clear sound reproduction by the direct input sound can be performed. In addition, the fact that the direct sound component does not pass through the microphone channel means that the level of the external tone signal of the microphone channel can be reduced accordingly, and the dynamic range of the final tone signal of the sound source 9 can be expanded accordingly.
【0042】なお、マイク入力されるアナログ入力信号
について発生される音に効果だけを付与するものであれ
ば、直接混合をしなくてもよい。It should be noted that if only an effect is given to the sound generated from the analog input signal input to the microphone, it is not necessary to directly mix the sound.
【0043】また、演奏情報による楽音にチャンネルを
割り当てる場合、同時演奏されている音の最高音、自動
伴奏のベース音等の重要な音については、外部波形デー
タ用のチャンネルとして割り当てられる可能性のあるチ
ャンネルになるべく割り当てないように制御してもよ
い。When channels are assigned to musical tones according to performance information, important sounds such as the highest sound of simultaneously played sounds and the base sound of automatic accompaniment may be assigned as channels for external waveform data. Control may be performed so that a certain channel is not allocated as much as possible.
【0044】さらに、本発明を適用するに際しては、外
部波形データを音源に入力するかしないかを、スイッチ
等で設定できるようにしてもよい。さらに、付与する残
響成分の混合比が微小であることを検出して、その場
合、マイク入力のレベルが上昇しても外部波形データが
音源のチャンネルを使用しないように制御してもよい。
すなわち、マイクチャンネルから出力される外部楽音信
号のレベルに応じて、該レベルが小さいときはマイクチ
ャンネルを解放する(設定しない)ようにしてもよい。Further, when the present invention is applied, whether or not external waveform data is input to the sound source may be set by a switch or the like. Further, it may be detected that the mixing ratio of the reverberation component to be applied is very small, and in that case, even if the level of the microphone input rises, the external waveform data may be controlled so as not to use the channel of the sound source.
That is, according to the level of the external tone signal output from the microphone channel, the microphone channel may be released (not set) when the level is low.
【0045】また、上記の実施の形態では、外部波形デ
ータをマイクから入力するようにした場合について説明
したが、それに限らず、外部からデジタル波形データを
入力するものでもよい。その場合は、ピーク検出器8の
かわりに、デジタル波形データの入力の有無を検出する
検出回路を設ければよい。つまり、本発明は、音源の外
部から波形メモリのデータバスを用いて外部波形データ
を供給する場合一般に適用できる。In the above embodiment, the case where external waveform data is input from a microphone has been described. However, the present invention is not limited to this, and external digital data may be input. In that case, a detection circuit for detecting the presence or absence of input of digital waveform data may be provided instead of the peak detector 8. That is, the present invention can be generally applied to a case where external waveform data is supplied from outside the sound source using the data bus of the waveform memory.
【0046】なお、上記の実施の形態ではMIDIイン
タフェースから入力される演奏情報に基づいて楽音を発
生する場合について説明したが、このMIDIインタフ
ェースには、シーケンサ、電子鍵盤楽器、コンピュータ
等を接続することができ、各種の入力装置から演奏情報
が入力されるものである。また、演奏情報は、鍵盤から
直に入力されるものでもよく、また、メモリ等に一端記
憶したものを読み出すようなものでもよい。Although the above embodiment has been described with reference to the case where a musical tone is generated based on performance information input from a MIDI interface, it is necessary to connect a sequencer, an electronic keyboard instrument, a computer, and the like to the MIDI interface. The performance information is input from various input devices. The performance information may be input directly from the keyboard, or may be information that is stored in a memory or the like and read out.
【0047】[0047]
【発明の効果】以上説明したように請求項1の外部波形
を入力可能な波形メモリ型楽音発生装置によれば、外部
波形供給手段からデジタルの外部波形データを供給して
音源に入力するとともに、演奏情報入力手段から入力さ
れる演奏情報に基づいて波形メモリから楽音波形データ
を読み出して音源に入力し、外部波形チャンネル割当手
段と楽音波形チャンネル割当手段により、音源の少なく
とも1つのチャンネルを。外部波形データの入力と、波
形メモリからの楽音波形データの読みだしとの何れかに
割り当て可能にするとともに、外部波形データの入力を
検出したときに、該外部波形データの入力音のチャンネ
ルを割り当て、デコード手段により、音源で発生される
アドレス信号が外部波形供給手段に割り当てられたアド
レスであったときには、外部波形供給手段から供給され
る外部波形データを音源に入力し、波形メモリに割り当
てられたアドレスであったときには、波形メモリから読
み出した楽音波形データを音源に入力するように制御す
ることにより、演奏情報による楽音発生と外部波形デー
タによる楽音発生とについて、音源を共用するようにし
たので、電子楽器等の波形メモリ型楽音波形装置におい
て、簡単な回路構成によって、外部入力波形に音源の効
果制御の処理を施すことができる。また、本発明では、
外部から波形入力がある場合だけ、マイクチャンネルを
設定するようにしたので、外部波形の入力が無ければ、
その分、多い同時発音数で演奏情報による演奏ができる
し、一方、外部から波形が入力したら直ちにそれに対応
してマイクチャンネルの処理ができる。つまり、限られ
た数のチャンネルをより有効に活用できる。According to fillable waveform memory type musical tone generating apparatus external waveform of claim 1, as described above, according to the present invention, as well as input to the sound source to supply a digital external waveform data from an external waveform supply means, Based on the performance information input from the performance information input means, the tone waveform data is read from the waveform memory and input to the sound source. At least one channel of the tone source is assigned by the external waveform channel assignment means and the tone waveform channel assignment means. Assignment can be made to either input of external waveform data or reading of tone waveform data from the waveform memory, and when the input of external waveform data is detected, the channel of the input sound of the external waveform data is assigned. Generated by the sound source by the decoding means
Address signal assigned to the external waveform supply means
Is supplied from the external waveform supply means.
Input external waveform data to the sound source and assign it to the waveform memory.
If the address is
Control so that the detected tone waveform data is input to the sound source.
By that, the musical tone generation by tone generator and an external waveform data by the performance information. Thus share sound source, the waveform memory type tone waveform apparatus such as an electronic musical instrument, a simple circuit structure, the external input waveform Processing for effect control of a sound source can be performed. In addition, in the present invention,
The microphone channel is set only when there is an external waveform input, so if there is no external waveform input,
Accordingly, the performance can be performed by the performance information with a large number of simultaneous sounds. On the other hand, when a waveform is input from the outside, the microphone channel can be processed correspondingly immediately. That is, a limited number of channels can be used more effectively.
【0048】さらに、請求項2の外部波形を入力可能な
波形メモリ型楽音発生装置によれば、請求項1と同様に
音源の処理機能を外部波形データに共用して、簡単な回
路構成によって、外部入力波形に音源の効果制御の処理
を施すことができるとともに、外部波形データの入力音
のチャンネルは音源の空きチャンネルまたはトランケー
トにより確保したチャンネルが割り当てられるので、外
部波形データの入力音の発音時に、演奏情報による楽音
への影響を極力抑えることができる。 Further, the external waveform of claim 2 can be inputted.
According to the waveform memory type tone generator , as in the first aspect,
By sharing the processing function of the sound source with external waveform data,
Processing of sound source effect control on external input waveform depending on path configuration
And input sound of external waveform data.
Channel is a free channel or truncation
Channel allocated by the
When the input sound of the partial waveform data is sounded,
The effect on the environment can be minimized.
【図1】本発明の一実施の形態を示す電子楽器のブロッ
ク図である。FIG. 1 is a block diagram of an electronic musical instrument showing an embodiment of the present invention.
【図2】同実施の形態における制御プログラムのメイン
ルーチンのフローチャートである。FIG. 2 is a flowchart of a main routine of a control program according to the embodiment.
【図3】同実施の形態におけるノートオンイベント処理
ルーチンのフローチャートである。FIG. 3 is a flowchart of a note-on event processing routine in the embodiment.
【図4】同実施の形態におけるマイク処理ルーチンのフ
ローチャートである。FIG. 4 is a flowchart of a microphone processing routine according to the embodiment.
【図5】同実施の形態におけるマイクチャンネルの割り
当ての仕方の第1実施例〜第3実施例を示す図である。FIG. 5 is a diagram showing first to third examples of how to allocate microphone channels in the embodiment.
1…CPU、4…MIDIインタフェース、5…マイ
ク、8…ピーク検出器、9…音源、10…波形メモリ、
11…A/D変換回路、12…ドライバ回路、13…デ
コーダ、14…D/A変換回路、15…加算回路。1 CPU, 4 MIDI interface, 5 microphone, 8 peak detector, 9 sound source, 10 waveform memory,
11 A / D conversion circuit, 12 driver circuit, 13 decoder, 14 D / A conversion circuit, 15 addition circuit.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−346782(JP,A) 特開 昭63−278426(JP,A) 特開 平2−235260(JP,A) 特開 平6−274188(JP,A) 実開 平3−81998(JP,U) 実開 平5−55200(JP,U) 特許3060920(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/12 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-5-346782 (JP, A) JP-A-63-278426 (JP, A) JP-A-2-235260 (JP, A) JP-A-6-278260 274188 (JP, A) Japanese Utility Model 3-81998 (JP, U) Japanese Utility Model 5-55200 (JP, U) Patent 3060920 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) ) G10H 1/00-7/12
Claims (2)
と、 デジタルの楽音波形データを記憶している波形メモリ
と、 デジタルの外部波形データを供給する外部波形供給手段
と、 複数チャンネルで時分割処理を行って、各チャンネルの
処理時にはそれぞれ独立してアドレス信号を発生して波
形データを入力し、入力した波形データについて割り当
てられたチャンネルで該波形データに所定の演算処理を
施して楽音を発生する音源と、 前記外部波形供給手段から供給される外部波形データに
よる入力音を発生するためのチャンネルとして、所定の
条件に従って前記音源のチャンネルを割り当てる外部波
形チャンネル割当手段と、 前記演奏情報入力手段から入力される演奏情報に対応す
る楽音を発生するためのチャンネルとして、前記音源の
チャンネルを割り当てる楽音波形チャンネル割当手段で
あって、前記入力音のチャンネルが割り当てられていな
いときは全てのチャンネルから上記演奏情報にチャンネ
ルを割り当て、前記入力音のチャンネルが割り当てられ
ているときはその他のチャンネルから上記演奏情報にチ
ャンネルを割り当てる音源波形チャンネル割当手段と、 前記音源で発生されるアドレス信号が前記外部波形供給
手段に割り当てられたアドレスであったときには、該外
部波形供給手段から供給される外部波形データを前記音
源に入力し、前記波形メモリに割り当てられたアドレス
であったときには、該波形メモリから読み出した楽音波
形データを前記音源に入力するように制御するデコード
手段と を備え、 前記音源の少なくとも1つのチャンネルを、前記外部波
形データの入力と、前記波形メモリからの楽音波形デー
タの読み出しとの何れかに割り当て可能にするととも
に、前記外部波形データの入力を検出したときに、該外
部波形データの入力音のチャンネルを割り当て、各チャ
ンネルの処理時に、前記楽音波形データに割り当てたチ
ャンネルのときは前記波形メモリに割り当てられたアド
レスを出力し、前記外部波形データに割り当てたチャン
ネルのときは前記外部波形供給手段に割り当てられたア
ドレスを出力することにより、前記演奏情報と前記楽音
波形データとによる楽音発生と、前記外部波形データに
よる入力音発生とについて、前記音源のチャンネルを割
り当てて該音源を共用するようにしたことを特徴とする
外部波形を入力可能な波形メモリ型楽音発生装置。1. A performance information input means for inputting performance information; a waveform memory storing digital musical sound waveform data; an external waveform supply means for supplying digital external waveform data; Go to each channel
During processing, address signals are generated independently and
A sound source that inputs shape data, performs predetermined arithmetic processing on the waveform data in a channel assigned to the input waveform data to generate a musical tone, and an input sound based on external waveform data supplied from the external waveform supply unit. External waveform channel allocating means for allocating a channel of the sound source in accordance with a predetermined condition as a channel for generating; and a channel for generating a musical tone corresponding to performance information input from the performance information input means. Musical tone waveform channel allocating means for allocating channels, wherein channels are allocated to the performance information from all channels when the channel of the input sound is not allocated, and other channels are allocated when the channel of the input sound is allocated. Assign a channel from the channel to the above performance information A sound source waveform channel assigning means for applying the address signal generated by the sound source is the external waveform supplied
If the address is assigned to the means,
The external waveform data supplied from the
Source and the address assigned to the waveform memory
, The tone wave read from the waveform memory
Decode for controlling shape data to be input to the sound source
Means for assigning at least one channel of the sound source to one of the input of the external waveform data and the reading of tone waveform data from the waveform memory, and the input of the external waveform data upon detecting allocates channels of the input sound of the external waveform data, each channel
The channel assigned to the tone waveform data during channel processing
In the case of a channel, the address assigned to the waveform memory
Output to the external waveform data.
Channel, the channel assigned to the external waveform supply means
By outputting the dress, the sound source is assigned to the sound source by sharing the sound source for the generation of the sound by the performance information and the sound waveform data and the generation of the input sound by the external waveform data. A waveform memory type tone generator capable of inputting an external waveform.
と、 デジタルの楽音波形データを記憶している波形メモリ
と、 デジタルの外部波形データを供給する外部波形供給手段
と、 複数チャンネルで時分割処理を行って、入力した波形デ
ータについて割り当てられたチャンネルで該波形データ
に所定の演算処理を施して楽音を発生する音源と、 前記外部波形供給手段から供給される外部波形データに
よる入力音を発生するためのチャンネルとして、所定の
条件に従って前記音源のチャンネルを割り当てる外部波
形チャンネル割当手段と、 前記演奏情報入力手段から入力される演奏情報に対応す
る楽音を発生するためのチャンネルとして、前記音源の
チャンネルを割り当てる楽音波形チャンネル割当手段で
あって、前記入力音のチャンネルが割り当てられていな
いときは全てのチャンネルから上記演奏情報にチャンネ
ルを割り当て、前記入力音のチャンネルが割り当てられ
ているときはその他のチャンネルから上記演奏情報にチ
ャンネルを割り当てる音源波形チャンネル割当手段とを
備え、 前記音源のチャンネルを、前記外部波形データの入力
と、前記波形メモリからの楽音波形データの読み出しと
の何れかに割り当て可能にするとともに、前記外部波形
データの入力を検出したときに、前記音源の空きチャン
ネルまたはトランケートにより確保したチャンネルを該
外部波形データの入力音のチャンネルとして割り当てる
ことにより、前記演奏情報と前記楽音波形データとによ
る楽音発生と、前記外部波形データによる入力音発生と
について、前記音源のチャンネルを割り当てて該音源を
共用するようにしたことを特徴とする 外部波形を入力可
能な波形メモリ型楽音発生装置。2. Performance information input means for inputting performance information.
And a waveform memory that stores digital musical sound waveform data
And external waveform supply means for supplying digital external waveform data
And time-division processing on multiple channels to
The waveform data in the channel assigned to the
To a sound source that generates a musical tone by performing predetermined arithmetic processing on the external waveform data supplied from the external waveform supply unit.
As a channel for generating input sound
An external wave that assigns the sound source channel according to conditions
Channel assignment means and performance information input from the performance information input means.
As a channel for generating musical tones
With sound waveform channel assignment means to assign channels
And the channel of the input sound is not assigned
Channel from all channels to the above performance information
Assigned to the input sound channel.
The performance information above from other channels.
Sound source waveform channel allocating means for allocating channels
And inputting the external waveform data to the channel of the sound source.
Reading the tone waveform data from the waveform memory;
And the external waveform
When data input is detected, an empty channel
Channel or channel secured by truncation.
Assign as the channel for the input sound of the external waveform data
Thus, the performance information and the musical tone waveform data
Sound generation, and input sound generation by the external waveform data.
, The channel of the sound source is assigned and the sound source is
A waveform memory type tone generator capable of inputting an external waveform, characterized by being shared .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08442596A JP3334483B2 (en) | 1996-03-03 | 1996-03-03 | Waveform memory type tone generator that can input external waveform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08442596A JP3334483B2 (en) | 1996-03-03 | 1996-03-03 | Waveform memory type tone generator that can input external waveform |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09244653A JPH09244653A (en) | 1997-09-19 |
| JP3334483B2 true JP3334483B2 (en) | 2002-10-15 |
Family
ID=13830238
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP08442596A Expired - Fee Related JP3334483B2 (en) | 1996-03-03 | 1996-03-03 | Waveform memory type tone generator that can input external waveform |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3334483B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5707673B2 (en) * | 2009-04-16 | 2015-04-30 | カシオ計算機株式会社 | Resonance sound adding device and electronic musical instrument |
| JP2012073592A (en) * | 2010-08-30 | 2012-04-12 | Panasonic Corp | Musical sound generating device, musical sound generating system and musical sound generating method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3060920B2 (en) | 1995-10-25 | 2000-07-10 | ヤマハ株式会社 | Digital signal processor |
-
1996
- 1996-03-03 JP JP08442596A patent/JP3334483B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3060920B2 (en) | 1995-10-25 | 2000-07-10 | ヤマハ株式会社 | Digital signal processor |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09244653A (en) | 1997-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2812222B2 (en) | Electronic musical instrument and method of replacing sound source means | |
| JP3334483B2 (en) | Waveform memory type tone generator that can input external waveform | |
| JPH07121181A (en) | Voice information processing device | |
| JPH08314450A (en) | Music system and electronic musical instrument | |
| JPS6231358B2 (en) | ||
| US6351475B1 (en) | Mixing apparatus with compatible multiplexing of internal and external voice signals | |
| JPS6326398B2 (en) | ||
| JP3552265B2 (en) | Sound source device and audio signal forming method | |
| JP2876984B2 (en) | Sound source device | |
| JP3092588B2 (en) | Music generator | |
| JP2000293169A (en) | Musical sound generating device | |
| JP2894448B2 (en) | Sound generator | |
| JP3603750B2 (en) | Tone generator | |
| JP2817521B2 (en) | Electronic musical instrument | |
| JPS58137898A (en) | Electronic musical instrument | |
| JP3094759B2 (en) | Music signal distribution processor | |
| JP2763535B2 (en) | Electronic musical instrument | |
| JP4306138B2 (en) | Musical sound generator and musical sound generation processing program | |
| JPH1185155A (en) | Mixing device and integrated circuit for musical instrument | |
| JP3190103B2 (en) | Music synthesizer | |
| JP2570945B2 (en) | Tone generator | |
| JP2853805B2 (en) | Waveform data storage device for sound generator | |
| JPH073639B2 (en) | Autorhythm device | |
| JP2001092450A (en) | Audio file generation processing method | |
| JPS63172195A (en) | electronic musical instruments |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020702 |
|
| 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: 20070802 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080802 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090802 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100802 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100802 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110802 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |