JPH0997084A - Method and device for musical sound production - Google Patents

Method and device for musical sound production

Info

Publication number
JPH0997084A
JPH0997084A JP7275092A JP27509295A JPH0997084A JP H0997084 A JPH0997084 A JP H0997084A JP 7275092 A JP7275092 A JP 7275092A JP 27509295 A JP27509295 A JP 27509295A JP H0997084 A JPH0997084 A JP H0997084A
Authority
JP
Japan
Prior art keywords
musical tone
waveform
generating
musical
generated
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
JP7275092A
Other languages
Japanese (ja)
Other versions
JP2956552B2 (en
Inventor
Genichi Tamura
元一 田邑
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
Priority to JP7275092A priority Critical patent/JP2956552B2/en
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to US08/722,633 priority patent/US6326537B1/en
Priority to EP96115597A priority patent/EP0766226B1/en
Priority to EP00103423A priority patent/EP1011091B1/en
Priority to DE69611874T priority patent/DE69611874T2/en
Priority to DE69632351T priority patent/DE69632351T2/en
Priority to EP00103422A priority patent/EP1011090B1/en
Priority to DE69632695T priority patent/DE69632695T2/en
Priority to SG1996010764A priority patent/SG50769A1/en
Priority to SG1999001107A priority patent/SG75928A1/en
Priority to KR1019960043063A priority patent/KR100416932B1/en
Publication of JPH0997084A publication Critical patent/JPH0997084A/en
Application granted granted Critical
Publication of JP2956552B2 publication Critical patent/JP2956552B2/en
Priority to US09/954,307 priority patent/US6509519B2/en
Priority to KR1020030033319A priority patent/KR100402364B1/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 employ either of a polyphonic-number valued mode and a quality valued mode according to the user's purpose of use. SOLUTION: In note event data stored in a sound source register, 128 waveform samples generated by a sound generation channel to which an arithmetic mode 0 is assigned are accumulated by a buffer 0, 64 waveform samples generated by a sound generation channel to which an arithmetic mode 1 is assigned are accumulated by a buffer 1, and 32 waveform samples generated by a sound generation channel to which an arithmetic mode 2 is assigned are accumulated in a buffer 2. The 64 and 32 waveform samples accumulated by the buffers 1 and 2 are interpolated respectively and stored as 128 waveform samples in buffers 1' and 2'. Then the 128 waveform samples in the buffer 0 and the 128 waveform samples in the buffers 1' and 2' are accumulated by samples SDn (n=1..., 128) and stored in the buffer 0, and the waveform samples stored in this buffer 0 have their reproduction reserved to a DMA(Direct Memory Access) control part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数チャンネルの
楽音を同時に発音する楽音発生方法および装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone generating method and apparatus for simultaneously producing musical tones of a plurality of channels.

【0002】[0002]

【従来の技術】複数チャンネルの楽音を同時に発音する
音源は従来より知られている。かかる従来の音源は、各
発音チャンネル毎に独立に楽音を生成するとともに、単
位時間当たり演算生成する波形サンプルの数を、各発音
チャンネル毎に一定にしていた。
2. Description of the Related Art Sound sources for simultaneously producing musical tones of a plurality of channels have been known. In such a conventional sound source, a tone is independently generated for each sound generation channel, and the number of waveform samples calculated and generated per unit time is made constant for each sound generation channel.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の音源では、各発音チャンネル毎に独立に楽音が生成
されるためにチャンネル毎に生成される楽音の特性は異
なり、また各発音チャンネルで生成される楽音に応じて
必要とされる楽音のクオリティは異なるにも拘わらず、
全発音チャンネルに対して同一のサンプル数で波形サン
プルを生成していたので、楽音生成の演算処理に無駄が
生じる場合があった。
However, in the above-mentioned conventional sound source, since the musical tone is independently generated for each sound generation channel, the characteristic of the musical sound generated for each channel is different, and the musical sound is generated for each sound generation channel. Although the quality of the required musical tone differs depending on the musical tone
Since the waveform samples are generated with the same number of samples for all the tone generation channels, there may be a waste of calculation processing for tone generation.

【0004】たとえば、広い周波数帯域に亘る周波数成
分を有する楽音(すなわちクオリティの高い楽音)を生
成したい場合には、高い(すなわちサンプル数が多くな
るような)サンプリング周波数で楽音波形生成演算を行
う必要がある一方、低い周波数帯域の周波数成分のみを
有する楽音を生成する場合には、低い(すなわちサンプ
ル数が少なくなるような)サンプリング周波数で楽音波
形生成演算を行えば十分である。また、演奏曲によって
は、1音毎のクオリティは低くてもよいから発音数を多
く確保したい場合や、発音数は少なくてよいから楽音の
クオリティを上げたい場合がある。さらに、演奏曲の中
でリードパート等の目立つパートの楽音を生成している
発音チャンネルについては、高いクオリティの楽音生成
が望まれる一方で、バッキング等の比較的目立たないパ
ートでは、多少クオリティが低下した楽音生成を行って
も聴感上余り問題がない。
For example, when it is desired to generate a musical tone having a frequency component over a wide frequency band (that is, a high quality musical tone), it is necessary to perform a musical tone waveform generation calculation at a high sampling frequency (that is, a large number of samples). On the other hand, when generating a musical tone having only frequency components in the low frequency band, it is sufficient to perform the musical tone waveform generating operation at a low sampling frequency (that is, the number of samples is small). In addition, depending on the musical composition, the quality of each note may be low so that a large number of pronunciations may be secured, or the number of pronunciations may be small and the tone quality may be improved. In addition, it is desirable to generate high-quality musical tones for sound channels that generate conspicuous parts such as the lead part in a performance song, while the quality is slightly degraded in parts that are relatively unnoticeable such as backing. Even if the generated musical sound is generated, there is no problem in hearing.

【0005】一般に、音源は演算回路での楽音生成演算
により楽音を生成し、演算回路には単位時間当たりの演
算能力に限界があるので、同時に生成できる楽音数(同
時発音数)に制限が生じる。上記従来の音源は、各発音
チャンネルの演算クオリティを均一にしていたために、
チャンネルによっては必要以上のクオリティで楽音の生
成演算を行っている場合があり、これにより同時に発音
できる楽音数(発音チャンネル数)が減少する等の問題
が生じた。
In general, a sound source generates a musical sound by a musical sound generation calculation in an arithmetic circuit, and the arithmetic circuit has a limit in arithmetic capacity per unit time. Therefore, the number of musical tones that can be simultaneously generated (the number of simultaneous sounds) is limited. . In the above conventional sound source, since the calculation quality of each sound generation channel is made uniform,
Depending on the channel, there is a case where a tone is generated and calculated with a quality higher than necessary, which causes a problem that the number of tones that can be simultaneously pronounced (the number of sounding channels) is reduced.

【0006】本発明は、上記問題に鑑みてなされたもの
で、ユーザの利用目的に応じて、発音数重視またはクオ
リティ重視のいずれの形態をも採ることが可能な楽音発
生方法および装置を提供することを目的とする。
The present invention has been made in view of the above problems, and provides a tone generation method and apparatus capable of adopting either the number of pronunciations emphasis or the quality emphasis according to the purpose of use of the user. The purpose is to

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
請求項1記載の楽音発生方法は、複数のチャンネルで生
成された楽音波形サンプルに基づいて楽音を発生するス
テップを備えた楽音発生方法において、演奏情報を入力
するステップと、ユーザが操作した操作子の操作量に応
じた制御情報を入力するステップと、所定期間毎に、該
所定期間内に前記入力された演奏情報に応じたチャンネ
ルの楽音波形サンプルを、前記入力された制御情報に応
じたサンプル数で、当該各チャンネル毎に生成するステ
ップとを有し、該生成された楽音波形サンプルに基づい
て楽音を発生することを特徴とする。
In order to achieve the above object, the musical tone generating method according to claim 1 comprises a step of generating a musical tone based on musical tone waveform samples generated by a plurality of channels. , A step of inputting performance information, a step of inputting control information according to an operation amount of a manipulator operated by a user, and a step of inputting a channel corresponding to the input performance information within the predetermined period every predetermined period. Generating a tone waveform sample for each channel with the number of samples according to the input control information, and generating a tone based on the tone waveform sample thus generated. .

【0008】請求項2記載の楽音発生方法は、複数のチ
ャンネルで生成された楽音波形サンプルに基づいて楽音
を発生するステップを備えた楽音発生方法において、複
数パートの演奏情報を入力するステップと、該各パート
の制御情報を設定するステップと、前記入力された演奏
情報を前記複数のチャンネルのうちのいずれかに割当
て、該割当てられたチャンネルにおいて、当該演奏情報
が属する楽音波形サンプルを、当該演奏情報が属するパ
ートの前記設定された制御情報に応じた時間密度で生成
するステップとを有し、該生成された楽音波形サンプル
に基づいて楽音を発生することを特徴とする。
According to a second aspect of the present invention, there is provided a musical tone generating method including a step of generating a musical tone based on musical tone waveform samples generated by a plurality of channels, and inputting performance information of a plurality of parts. Setting the control information of each part, assigning the input performance information to any one of the plurality of channels, and assigning the musical tone waveform sample to which the performance information belongs to the assigned channel to the performance. Generating a musical tone based on the generated musical tone waveform sample, and generating the musical tone waveform at a time density according to the set control information of the part to which the information belongs.

【0009】請求項3記載の楽音発生方法は、楽音波形
サンプルに基づいて楽音を発生するステップを備えた楽
音発生方法において、演奏情報を入力するステップと、
制御情報を発生するステップと、前記入力した演奏情報
に応じて、波形メモリに記憶された波形データに基づく
楽音生成演算を実行し、前記発生した制御情報に応じた
時間密度で楽音波形サンプルを生成するステップとを有
し、該楽音波形サンプルを生成するステップでは、前記
発生した制御情報に応じて前記波形メモリ中の異なる波
形データを選択的に用いて楽音生成演算を行い、前記楽
音を発生するステップでは、該楽音生成演算により生成
された楽音波形サンプルに基づいて楽音を発生すること
を特徴とする。
A musical tone generating method according to a third aspect of the present invention is a musical tone generating method including a step of generating a musical tone based on a musical tone waveform sample, and inputting performance information.
A step of generating control information and a musical tone generation operation based on the waveform data stored in the waveform memory are executed according to the input performance information, and musical tone waveform samples are generated at a time density according to the generated control information. In the step of generating the tone waveform sample, the tone generation operation is performed by selectively using different waveform data in the waveform memory according to the generated control information to generate the tone. The step is characterized in that a musical tone is generated based on the musical tone waveform sample generated by the musical tone generating calculation.

【0010】請求項4記載の楽音波形発生方法は、所定
のサンプリング周波数で楽音を生成するための第1の波
形データを記憶手段に記憶するステップと、該記憶され
た第1の波形データを当該所定のサンプリング周波数と
異なったサンプリング周波数の波形データに変換し、第
2の波形データとして前記記憶手段に記憶するステップ
と、前記記憶手段に記憶された波形データに基づいて楽
音波形サンプルを生成するステップとを有し、該楽音波
形サンプルを生成するステップでは、複数の異なる時間
密度で前記楽音波形サンプルを生成可能であり、該時間
密度に応じて前記第1の波形データおよび前記第2の波
形データのうちいずれか一方を選択して、該選択された
波形データに基づいて楽音波形サンプルを生成すること
を特徴とする。
According to a fourth aspect of the present invention, there is provided a method of generating a musical tone waveform, wherein the first waveform data for generating a musical tone at a predetermined sampling frequency is stored in a storage means, and the stored first waveform data is stored. Converting to waveform data having a sampling frequency different from a predetermined sampling frequency and storing the waveform data in the storage means as second waveform data; and generating a tone waveform sample based on the waveform data stored in the storage means. In the step of generating the tone waveform sample, the tone waveform samples can be generated at a plurality of different time densities, and the first waveform data and the second waveform data are generated according to the time densities. One of these is selected, and a musical tone waveform sample is generated based on the selected waveform data.

【0011】請求項5記載の楽音発生装置は、複数のチ
ャンネルで生成された楽音波形サンプルに基づいて楽音
を発生する楽音発生手段を備えた楽音発生装置におい
て、演奏情報を入力する演奏情報入力手段と、操作子の
操作量に応じて制御情報を入力する制御情報入力手段
と、所定期間毎に、該所定期間内に前記入力された演奏
情報に応じたチャンネルの楽音波形サンプルを、前記入
力された制御情報に応じたサンプル数で、当該各チャン
ネル毎に生成する楽音波形サンプル生成手段とを有し、
前楽音発生手段は、該生成された楽音波形サンプルに基
づいて楽音を発生することを特徴とする。
According to a fifth aspect of the present invention, there is provided a musical tone generating apparatus having musical tone generating means for generating musical tones based on musical tone waveform samples generated by a plurality of channels. A control information input means for inputting control information in accordance with an operation amount of an operator; and, for each predetermined period, the musical tone waveform sample of the channel corresponding to the input performance information within the predetermined period. The number of samples according to the control information, and has a musical tone waveform sample generating means for generating for each channel,
The pre-musical tone generating means is characterized by generating a musical tone based on the generated musical tone waveform sample.

【0012】請求項6記載の楽音発生装置は、複数のチ
ャンネルで生成された楽音波形サンプルに基づいて楽音
を発生する楽音発生手段を備えた楽音発生装置におい
て、複数パートの演奏情報を入力する演奏情報入力手段
と、該各パートの制御情報を設定する制御情報設定手段
と、前記入力された演奏情報を前記複数のチャンネルの
うちのいずれかに割当て、該割当てられたチャンネルに
おいて、当該演奏情報が属する楽音波形サンプルを、当
該演奏情報が属するパートの前記設定された制御情報に
応じた時間密度で生成する楽音波形サンプル生成手段と
を有し、楽音発生手段は、該生成された楽音波形サンプ
ルに基づいて楽音を発生することを特徴とする。
According to a sixth aspect of the present invention, there is provided a musical tone generating apparatus having a musical tone generating means for generating a musical tone based on musical tone waveform samples generated by a plurality of channels. Information input means, control information setting means for setting control information of each part, and the input performance information is assigned to any one of the plurality of channels, and the performance information is assigned to the assigned channel. And a musical tone waveform sample generating means for generating a musical tone waveform sample to which the musical tone waveform sample belongs at a time density according to the set control information of the part to which the musical performance information belongs. It is characterized in that a musical sound is generated based on it.

【0013】請求項7記載の楽音発生装置は、楽音波形
サンプルに基づいて楽音を発生する楽音発生手段を備え
た楽音発生装置において、演奏情報を入力する演奏情報
入力手段と、制御情報を発生する制御情報発生手段と、
前記入力した演奏情報に応じて、波形メモリに記憶され
た波形データに基づく楽音生成演算を実行し、前記発生
した制御情報に応じた時間密度で楽音波形サンプルを生
成する楽音波形サンプル生成手段とを有し、該楽音波形
サンプル生成手段は、前記発生した制御情報に応じて前
記波形メモリ中の異なる波形データを選択的に用いて楽
音生成演算を行い、前記楽音発生手段は、該楽音生成演
算により生成された楽音波形サンプルに基づいて楽音を
発生することを特徴とする。
According to a seventh aspect of the present invention, there is provided a musical tone generating apparatus having musical tone generating means for generating musical tones based on musical tone waveform samples, wherein musical performance information input means for inputting musical performance information and control information are generated. Control information generating means,
Music tone waveform sample generation means for performing a tone generation operation based on the waveform data stored in the waveform memory in accordance with the input performance information, and generating a tone waveform sample at a time density according to the generated control information. The musical tone waveform sample generating means selectively performs musical tone generating calculation by selectively using different waveform data in the waveform memory according to the generated control information, and the musical tone generating means performs the musical tone generating calculation by the musical tone generating calculation. A feature is that a musical tone is generated based on the generated musical tone waveform sample.

【0014】請求項1および5記載の発明の構成に依れ
ば、所定期間毎に、該所定期間内に入力された演奏情報
に応じたチャンネルの楽音波形サンプルが、入力された
制御情報に応じたサンプル数で当該チャンネル毎に生成
され、この生成された楽音波形サンプルに基づいて楽音
が発生されるので、ユーザの利用目的に応じて、発音数
重視またはクオリティ重視のいずれの形態をも採ること
ができる。
According to the configuration of the first and fifth aspects of the invention, the musical tone waveform sample of the channel corresponding to the performance information input within the predetermined period corresponds to the control information input every predetermined period. The number of samples is generated for each channel, and the musical tone is generated based on the generated musical tone waveform sample. Therefore, either the number of pronunciations or the quality is important depending on the purpose of use of the user. You can

【0015】また、請求項2および6記載の発明の構成
に依れば、入力された演奏情報に応じたチャンネルの楽
音波形サンプルが、当該演奏情報が属するパートの、設
定された制御情報に応じた時間密度で生成され、この生
成された楽音波形サンプルに基づいて楽音が発生される
ので、聴感上効果の大きいパートの楽音を高いクオリテ
ィで生成でき、限られた演算能力を最大限に活用するこ
とができる。
According to the present invention, the musical tone waveform sample of the channel corresponding to the input performance information corresponds to the set control information of the part to which the performance information belongs. Are generated at different time densities, and musical tones are generated based on the generated musical tone waveform samples, so that musical tones of a part that have a great auditory effect can be generated with high quality, and the limited computing power is utilized to the maximum. be able to.

【0016】さらに、請求項3および7記載の発明の構
成に依れば、入力された演奏情報に応じて、波形メモリ
に記憶された波形データに基づく楽音生成演算が実行さ
れ、発生された制御情報に応じた時間密度で楽音波形サ
ンプルが生成され、前記楽音生成演算では、前記発生し
た制御情報に応じて前記波形メモリ中の異なる波形デー
タを選択的に用いて楽音生成演算が行われ、このように
して生成された楽音波形サンプルに基づいて楽音が発生
されるので、高い等価サンプリング周波数のチャンネル
では、広い帯域に亘る周波数成分を有する(すなわち、
高い録音サンプリング周波数の)波形データを使用し、
低い等価サンプリング周波数のチャンネルでは狭い帯域
の周波数成分を有する(すなわち、低い録音サンプリン
グ周波数の)波形データを使用でき、これにより音色デ
ータ中の波形の指定を変更しなくてもよい。
According to the third and seventh aspects of the present invention, the tone generation operation based on the waveform data stored in the waveform memory is executed according to the input performance information, and the generated control is executed. Musical tone waveform samples are generated at a time density according to information, and in the musical tone generation calculation, musical tone generation calculation is performed by selectively using different waveform data in the waveform memory according to the generated control information. Since a musical tone is generated based on the musical tone waveform sample thus generated, a channel having a high equivalent sampling frequency has a frequency component over a wide band (that is,
Waveform data (of high recording sampling frequency)
Waveform data having a narrow band of frequency components (that is, low recording sampling frequency) can be used in a channel having a low equivalent sampling frequency, which allows the waveform designation in the timbre data to be unchanged.

【0017】もし、生成する楽音波形サンプルの時間密
度に対応して、選択する波形データを変更しなかった場
合には、以下に述べる理由により、生成する楽音波形サ
ンプル中に折り返しノイズが発生したり、時間密度に応
じた品質の楽音が生成できない可能性がある。ここで、
時間密度は、楽音波形サンプルを生成する際のサンプリ
ング周波数のことであり、本明細書では、等価サンプリ
ング周波数と呼んでいる。サンプリングの定理による
と、楽音波形サンプルにはそれをサンプリングしたサン
プリング周波数の半分の周波数(以下、「上限周波数」
と呼ぶ)以下の帯域の周波数成分を再現することができ
る。
If the waveform data to be selected is not changed in accordance with the time density of the musical tone waveform sample to be generated, folding noise may occur in the musical tone waveform sample to be generated for the following reason. , It may not be possible to generate musical tones with quality according to the time density. here,
The time density is a sampling frequency at which a musical tone waveform sample is generated, and is referred to as an equivalent sampling frequency in this specification. According to the sampling theorem, a tone waveform sample has a frequency half the sampling frequency at which it is sampled (hereinafter referred to as the “upper limit frequency”
It is possible to reproduce frequency components in the following bands.

【0018】波形メモリに記憶された波形データを使用
して楽音を生成する場合には、その記憶された波形デー
タを、等価サンプリング周波数の下で、発生したい楽音
のピッチを有する波形サンプルに変換(以下、「ピッチ
変換」と呼ぶ)し、ピッチ変換後の波形データに基づい
て楽音波形の生成を行う。このとき、もし、波形データ
をピッチ変換した結果得られた波形データが、等価サン
プリング周波数に対応した上限周波数より高い周波数成
分を含む場合には、該周波数成分は折り返しノイズとし
てピッチ変換後の波形データに混入してしまう。一方、
ピッチ変換後の波形データが上限周波数に比べてかなり
低い、たとえば3分の1以下の周波数成分しか含まない
場合には、折角高い等価サンプリング周波数で波形生成
を行っているのに、高域成分が欠如した楽音しか生成さ
れず、楽音の質はあまり良くならない。
When a musical tone is generated using the waveform data stored in the waveform memory, the stored waveform data is converted into a waveform sample having the pitch of the musical tone to be generated under the equivalent sampling frequency ( Hereinafter, it will be referred to as “pitch conversion”), and a musical tone waveform is generated based on the waveform data after the pitch conversion. At this time, if the waveform data obtained as a result of the pitch conversion of the waveform data includes a frequency component higher than the upper limit frequency corresponding to the equivalent sampling frequency, the frequency component is a folding noise and the waveform data after the pitch conversion. Will be mixed in. on the other hand,
When the waveform data after the pitch conversion is considerably lower than the upper limit frequency, for example, includes only a frequency component equal to or lower than one-third, the high-frequency component is generated even though the waveform is generated at an equivalent sampling frequency which is actually high. Only the missing musical tones are produced and the quality of the musical tones is not very good.

【0019】本発明では、楽音生成の素材となる波形デ
ータとして、楽音波形サンプルの生成時間密度に適した
波形データをそれぞれ用意し、その時間密度に応じて選
択使用するようにした。
In the present invention, waveform data suitable for the generation time density of a musical tone waveform sample is prepared as waveform data used as a material for musical sound generation, and the waveform data is selected and used according to the time density.

【0020】また、さらに、請求項4記載の発明の構成
に依れば、請求項3の発明と同様に、楽音波形サンプル
の生成時間密度に応じた波形データを使用するので、折
り返しノイズを削減できる。さらに、2つの異なる時間
密度で楽音波形サンプルを生成する場合に、片方の時間
密度に適した波形データを変換した波形データを、もう
一方の時間密度の波形生成に使用するので、異なる時間
密度でも同じ音色に聞こえる楽音波形サンプルを生成で
きる。
Further, according to the configuration of the invention described in claim 4, as in the invention of claim 3, since the waveform data corresponding to the generation time density of the musical tone waveform sample is used, the aliasing noise is reduced. it can. Furthermore, when a musical tone waveform sample is generated at two different time densities, the waveform data obtained by converting the waveform data suitable for one of the time densities is used for the waveform generation of the other time density, so that even if the time densities are different, It is possible to generate musical tone waveform samples that sound the same timbre.

【0021】[0021]

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

【0022】図1は、本発明の実施の一形態に係る楽音
発生装置の構成を示すブロック図である。本ブロック図
の構成は、まさに、Windows等のオペレーティン
グシステム(OS)が走る汎用コンピュータそのもので
ある。したがって、本発明は汎用コンピュータ上のソフ
トウェアとして実施することができる。また、本ブロッ
ク図と同様の構成を有する電子楽器上でも実施可能であ
る。
FIG. 1 is a block diagram showing the configuration of a musical tone generating apparatus according to an embodiment of the present invention. The configuration of this block diagram is exactly a general-purpose computer itself on which an operating system (OS) such as Windows runs. Therefore, the present invention can be implemented as software on a general-purpose computer. It can also be implemented on an electronic musical instrument having the same configuration as this block diagram.

【0023】同図において、本実施の形態の楽音発生装
置は、種々のデータ処理を行うCPU1と、使用者がプ
ログラムの実行指示やデータの入力を行うためのキーボ
ード2と、種々の画像情報および文字情報を表示するデ
ィスプレイ3と、CPU1で実行されるプログラムやデ
ータを記憶するハードディスク装置4と、キーボード
2、ディスプレイ3、ハードディスク4等とのデータの
入出力制御プログラム等を格納したROM5と、実行中
のプログラムや波形データおよび演算中のデータを格納
するRAM6と、時間計測用のタイマ7と、たとえばキ
ーボード等の演奏装置と接続され、演奏データが入力さ
れるMIDIインターフェース8と、CPU1の指示に
応じてRAM6に直接アクセスし、たとえばサンプリン
グ周波数48kHzに対応した頻度で楽音波形データを
読み出して1サンプルずつDAコンバータ10に入力
(以下、「読出再生処理」と呼ぶ)するDMA(Direct M
emoryAccess)制御部9と、DMA制御部9から供給さ
れるディジタル信号の楽音波形データをアナログの楽音
信号に変換するDAコンバータ(DAC)10と、楽音
信号を増幅してスピーカから出力するサウンドシステム
11と、上記構成要素1〜9を相互に接続するバス12
とを備えている。
In the figure, the musical tone generating apparatus of this embodiment has a CPU 1 for performing various data processing, a keyboard 2 for a user to input a program execution instruction and data, various image information and A display 3 for displaying character information, a hard disk device 4 for storing programs and data executed by the CPU 1, a ROM 5 for storing data input / output control programs for the keyboard 2, the display 3, the hard disk 4, etc., and execution RAM 6 for storing programs, waveform data, and data being calculated, a timer 7 for measuring time, a MIDI interface 8 connected to a performance device such as a keyboard for inputting performance data, and an instruction from the CPU 1. According to this, the RAM 6 is directly accessed, and the sampling frequency is 48 kHz, for example. Input to the DA converter 10, sample by sample reads musical tone waveform data at the corresponding frequency (hereinafter, referred to as "read reproduction process") to DMA (Direct M
emoryAccess) controller 9, a DA converter (DAC) 10 for converting musical tone waveform data of a digital signal supplied from the DMA controller 9 into an analog tone signal, and a sound system 11 for amplifying the tone signal and outputting it from a speaker. And a bus 12 for interconnecting the above-mentioned components 1 to 9
And

【0024】以下、本実施の形態において、「波形サン
プル」または「サンプル」とは、サンプリングされた個
々の波形サンプルデータのことを云い、「波形データ」
とは、個々の波形サンプルデータをまとめたデータのう
ち、楽音生成処理の元になるデータのことを云い、「楽
音波形データ」とは、同まとめたデータのうち、楽音生
成処理の結果生成されたデータのことを云うことにす
る。
Hereinafter, in the present embodiment, “waveform sample” or “sample” means individual sampled waveform sample data, and “waveform data”.
Of the data collected from the individual waveform sample data, it means the data that is the basis of the tone generation processing, and the "tone waveform data" is the data generated as a result of the tone generation processing of the same data. I will refer to the data that I obtained.

【0025】図2は、RAM6に記憶される音色データ
および波形データの構成とRAM6上に設定される入力
バッファおよび音源レジスタの構成を示す図である。
FIG. 2 is a diagram showing a structure of tone color data and waveform data stored in the RAM 6 and a structure of an input buffer and a tone generator register set in the RAM 6.

【0026】まず、同図(a)の音色データPDp(p
=1,…,16)は、それぞれ各音域の波形を指定する
波形指定データWN(p)と、LFO(Low Frequency
Oscillator)制御オリジナルデータ(OD)と、フィル
タエンベロープジェネレータ(FEG)制御オリジナル
データと、振幅エンベロープジェネレータ(AEG)制
御オリジナルデータと、その他のオリジナルデータと、
演算モードCM(p)とから構成されている。ここで、
pはパート番号を示し、本実施の形態の楽音発生装置で
は、16パートの音色データを設定することができるよ
うに構成されている。また本実施の形態では、波形指定
データWN(p)は波形名で設定され、その波形名はユ
ーザにより設定される(図9参照)。さらに、演算モー
ドCM(p)は、楽音波形を生成する際に、1秒当たり
何個のサンプルを生成するかを間接的に指定するデータ
(等価サンプリング周波数相当)を示している。本実施
の形態では、演算モードCM(p)は、0〜2のうちい
ずれか1つの整数値を採るように構成されている。ここ
で、演算モードCM(p)と等価サンプリング周波数
は、CM=0が48kHz、CM=1が24kHz、C
M=2が12kHzの対応関係にある。
First, the tone color data PDp (p
= 1, ..., 16) are waveform designating data WN (p) for designating waveforms in the respective musical ranges, and LFO (Low Frequency).
Oscillator) control original data (OD), filter envelope generator (FEG) control original data, amplitude envelope generator (AEG) control original data, and other original data,
Computation mode CM (p). here,
p indicates a part number, and the musical tone generating apparatus according to the present embodiment is configured so that 16 parts of tone color data can be set. Further, in this embodiment, the waveform designation data WN (p) is set by the waveform name, and the waveform name is set by the user (see FIG. 9). Further, the calculation mode CM (p) indicates data (equivalent to the equivalent sampling frequency) that indirectly specifies how many samples are to be generated per second when a musical tone waveform is generated. In the present embodiment, the operation mode CM (p) is configured to take any one integer value from 0 to 2. Here, the sampling frequency equivalent to the operation mode CM (p) is 48 kHz for CM = 0, 24 kHz for CM = 1, and C
M = 2 has a correspondence relationship of 12 kHz.

【0027】次に、同図(b)の波形データWD1,W
D2,…は、楽音生成処理で生成する楽音波形データの
元となる波形データを示し、これらの波形データのう
ち、波形データWD1,WD2は、それぞれ所定時間長
分のサンプルからなる波形データであり、一発読み波形
またはアタック部とループ部を有する波形で構成され
る。各波形データWD1,WD2は、それぞれ、所定の
録音サンプリング周波数でサンプリングされて前記ハー
ドディスク4に記憶された複数の波形データを必要に応
じて読み出し、RAM6の波形データ領域に格納したも
のである。波形データWD1′,WD2′は、それぞ
れ、波形データWD1,WD2に所定の帯域制限を施
し、元の録音サンプリング周波数の1/2でダウンサン
プリング(1サンプルずつ飛ばし読み)して、波形デー
タ領域に格納したものである。波形データWD2″は、
波形データWD2′に所定の帯域制限を施し、波形デー
タWD2′のサンプリング周波数の1/2、すなわち元
の録音サンプリング周波数の1/4でダウンサンプリン
グして、波形データ領域に格納したものである。なお、
波形データWD1′,WD2′,WD2″を生成する処
理(波形LPF処理)の詳細は、図11を用いて後述す
る。
Next, the waveform data WD1 and W of FIG.
D2, ... Denote waveform data as a source of the tone waveform data generated by the tone generation processing. Of these waveform data, the waveform data WD1 and WD2 are waveform data each including a sample of a predetermined time length. , A one-shot read waveform or a waveform having an attack part and a loop part. Each of the waveform data WD1 and WD2 is a plurality of waveform data that are sampled at a predetermined recording sampling frequency and stored in the hard disk 4, and are read out as needed and stored in the waveform data area of the RAM 6. The waveform data WD1 'and WD2' are respectively subjected to a predetermined band limitation on the waveform data WD1 and WD2, down-sampled (skipping one sample at a time) at half of the original recording sampling frequency, and placed in the waveform data area. It is stored. The waveform data WD2 ″ is
The waveform data WD2 'is subjected to predetermined band limitation, down-sampled at half the sampling frequency of the waveform data WD2', that is, at 1/4 of the original recording sampling frequency, and stored in the waveform data area. In addition,
Details of the process (waveform LPF process) for generating the waveform data WD1 ′, WD2 ′, WD2 ″ will be described later with reference to FIG.

【0028】同図(c)の入力バッファは、MIDIイ
ンターフェース8を介して入力される演奏データが格納
されるバッファであり、処理待ちのイベント数を示すデ
ータが格納される領域と、各イベントに対応したイベン
トデータID1,ID2,ID3,…が格納される領域
とからなる。各イベントデータは、イベントの内容を示
すデータとイベント発生時刻を示すデータとからなる。
発生時刻を示すデータは、CPU1が複数のイベントを
まとめて処理するために必要となるものである。
The input buffer shown in FIG. 3C is a buffer for storing performance data input via the MIDI interface 8, and an area for storing data indicating the number of events waiting to be processed and an event buffer for each event. The area for storing corresponding event data ID1, ID2, ID3 ,. Each event data consists of data indicating the content of the event and data indicating the event occurrence time.
The data indicating the time of occurrence is necessary for the CPU 1 to collectively process a plurality of events.

【0029】同図(d)の音源レジスタは、楽音生成処
理における各発音チャンネル毎の制御データを記憶する
ものであり、本実施の形態では32チャンネル分のレジ
スタが設けられている。この各発音チャンネルの制御デ
ータは、それぞれ前記音色データPDpの各種オリジナ
ルデータ(前記(a)参照)をタッチ等の演奏データに
応じて加工して生成したものであり、生成すべき楽音の
ピッチを示すピッチSPと、波形データを読み出す際の
1サンプル当たりのアドレスの進み量を示すFナンバF
Nと、読み出すべき波形データを指定する波形指定デー
タと、前記LFO制御オリジナルデータを加工して生成
したLFO制御データと、前記FEG制御オリジナルデ
ータを加工して生成したFEG制御データと、前記AE
G制御オリジナルデータを加工して生成したAEG制御
データと、発音中か否かを示すノートオンデータと、そ
の他のデータと、演算モードCM(i)(i=1,…,
32)とからなる。
The tone generator register shown in FIG. 3D stores control data for each tone generation channel in the tone generation processing, and in this embodiment, registers for 32 channels are provided. The control data for each tone generation channel is generated by processing various original data (see (a) above) of the tone color data PDp according to performance data such as touch, and determines the pitch of the musical tone to be generated. The indicated pitch SP and F number F indicating the amount of advance of the address per sample when reading the waveform data
N, waveform designation data for designating waveform data to be read, LFO control data generated by processing the LFO control original data, FEG control data generated by processing the FEG control original data, and the AE
AEG control data generated by processing the G control original data, note-on data indicating whether or not sound is being generated, other data, and operation mode CM (i) (i = 1, ...,
32) and.

【0030】ここで、FナンバFNは、前述のように1
サンプル当たりの読み出しアドレスの進み量を示す数値
であり、具体的には、次式により算出されて設定され
る。
Here, the F number FN is 1 as described above.
It is a numerical value indicating the amount of advance of the read address per sample, and is specifically calculated and set by the following equation.

【0031】FN = 2(SP-OP)/1200×2(CM-WM) ただし、SPは、生成すべき楽音のピッチSPを示し、
OPは、波形指定データで指定される波形データをサン
プリング周波数48kHzで1サンプルずつ読み出した
ときに、その波形データが有する固有のピッチ(オリジ
ナルピッチ)を示し、CMは、前記演算モードCM
(i)を示し、WMは、波形モード、すなわち各波形デ
ータに1つずつ付与され、波形データの録音サンプリン
グ周波数を間接的に示す数値(本実施の形態では、波形
モードWMも、演算モードCM(i)と同様に、0〜2
のうちいずれか1つの整数値を採るように構成されてい
る)を示している。たとえば、波形モードWM=0を、
40k〜48kHzの録音サンプリング周波数に対応さ
せ、波形モードWM=1は20k〜24kHz、波形モ
ードWM=2は10k〜12kHzに対応させる。各波
形モードの波形データは、それぞれ録音サンプリング周
波数の半分の周波数を上限とする高周波数成分を有する
ことが可能である。なお、値SP,OPは、それぞれセ
ント値で与えられるため、“1200”で除算されてい
る。
FN = 2 (SP-OP) / 1200 × 2 (CM-WM) where SP represents the pitch SP of the musical sound to be generated,
OP indicates a unique pitch (original pitch) of the waveform data when the waveform data designated by the waveform designation data is read out one sample at a sampling frequency of 48 kHz, and CM is the operation mode CM.
(I), WM is a waveform mode, that is, a number that is given to each waveform data one by one and indirectly indicates the recording sampling frequency of the waveform data (in the present embodiment, the waveform mode WM is also the calculation mode CM). 0-2 as in (i)
Is configured to take any one of the integer values). For example, the waveform mode WM = 0,
Corresponding to the recording sampling frequency of 40 kHz to 48 kHz, the waveform mode WM = 1 corresponds to 20 kHz to 24 kHz, and the waveform mode WM = 2 corresponds to 10 kHz to 12 kHz. The waveform data in each waveform mode can have a high frequency component with an upper limit of half the recording sampling frequency. Since the values SP and OP are given as cent values, they are divided by "1200".

【0032】ここで、前述したピッチ変換の態様を制御
するのが、このFナンバFNである。
Here, it is this F number FN that controls the aspect of the pitch conversion described above.

【0033】さらに、音源レジスタには発音処理用のワ
ークエリアが確保されており、このワークエリアは、た
とえばLFO制御データ等によりFナンバFNを修正す
る必要がある場合等のために使用される。
Further, a work area for sound generation processing is secured in the sound source register, and this work area is used, for example, when it is necessary to correct the F number FN by LFO control data or the like.

【0034】図3は、RAM6上に設定される出力バッ
ファの構成を示す図である。
FIG. 3 is a diagram showing the structure of the output buffer set on the RAM 6.

【0035】同図において、バッファ0は、前記音源レ
ジスタに格納された制御データ中、演算モード0(CM
(i)=0)が割り当てられた発音チャンネルで生成さ
れた128個の楽音波形サンプルを累算するためのバッ
ファであり、バッファ1は、同様に演算モード1(CM
(i)=1)が割り当てられた発音チャンネルで生成さ
れた64個の楽音波形サンプルを累算するためのバッフ
ァであり、バッファ2は、同様に演算モード2(CM
(i)=2)が割り当てられた発音チャンネルで生成さ
れた32個の楽音波形サンプルを累算するためのバッフ
ァである。
In the figure, the buffer 0 is a calculation mode 0 (CM) in the control data stored in the tone generator register.
(I) = 0) is a buffer for accumulating 128 musical tone waveform samples generated in the assigned tone generation channel.
(I) = 1) is a buffer for accumulating 64 musical tone waveform samples generated in the assigned tone generation channel.
(I) = 2) is a buffer for accumulating 32 musical tone waveform samples generated in the assigned sounding channels.

【0036】また、バッファ1′は、バッファ1の64
個の楽音波形サンプルを補間して128個の楽音波形サ
ンプルを生成するためのバッファであり、バッファ2′
は、バッファ2の32個の楽音波形サンプルを補間して
128個の楽音波形サンプルを生成するためのバッファ
である。このようにして生成されたバッファ1′および
2′の128個の楽音波形サンプルは、バッファ0の1
28個の楽音波形サンプルと累算され、再生用の128
個の波形サンプルとしてバッファ0に記憶される。すな
わちバッファ0は、前記DMA制御部9が読み出す、再
生用の128個の楽音波形サンプルデータを記憶するバ
ッファとしても機能する。
The buffer 1'is the same as the buffer 1 64.
Buffer 2 ', which is a buffer for interpolating 128 musical tone waveform samples to generate 128 musical tone waveform samples.
Is a buffer for interpolating 32 musical tone waveform samples of the buffer 2 to generate 128 musical tone waveform samples. The 128 tone waveform samples of buffers 1'and 2'generated in this way are
128 musical sound samples are accumulated for reproduction and 128 for reproduction.
It is stored in buffer 0 as individual waveform samples. That is, the buffer 0 also functions as a buffer for storing the 128 musical tone waveform sample data for reproduction read by the DMA control unit 9.

【0037】このように低いサンプルレートで生成され
た楽音波形サンプル(本実施の形態ではバッファ1およ
び2の楽音波形サンプルデータ)を補間して128個の
楽音波形サンプルにするのは、バッファ0に生成された
128個の楽音波形サンプルとバッファ1および2にそ
れぞれ生成された64個および32個の楽音波形サンプ
ルとを折り返しノイズを発生させずに累算して最終的な
再生用の128個の楽音波形サンプルを生成するためで
ある。この補間の方法としては、たとえば線形補間等の
周知の方法を用いればよい。
Buffer 0 is used to interpolate the musical tone waveform samples (the musical tone waveform sample data of buffers 1 and 2 in this embodiment) generated at such a low sample rate into 128 musical tone waveform samples. The 128 generated musical tone waveform samples and the 64 and 32 musical tone waveform samples generated in the buffers 1 and 2, respectively, are accumulated without generating aliasing noise, and the 128 reproduced musical tone samples are finally reproduced. This is to generate a musical tone waveform sample. As this interpolation method, a well-known method such as linear interpolation may be used.

【0038】なお、本実施の形態では、上述のように3
種類のバッファ0〜2を設け、各バッファのバッファサ
イズは、バッファ0:バッファ1:バッファ2=4:
2:1となるように構成したが、バッファの個数および
各バッファのバッファサイズはこれに限らないことは云
うまでもない。たとえば、2種類のバッファ0,1を設
け、バッファ0:バッファ1=3:1となるように各バ
ッファのバッファサイズを設定するようにしてもよい。
In this embodiment, as described above, 3
Different types of buffers 0 to 2 are provided, and the buffer size of each buffer is as follows: buffer 0: buffer 1: buffer 2 = 4:
Although the ratio is set to 2: 1, it goes without saying that the number of buffers and the buffer size of each buffer are not limited to this. For example, two types of buffers 0 and 1 may be provided, and the buffer size of each buffer may be set so that buffer 0: buffer 1 = 3: 1.

【0039】次に、図4を参照して本実施の形態の楽音
生成装置が行う楽音生成処理の概要を説明する。
Next, the outline of the tone generation processing performed by the tone generation device of the present embodiment will be described with reference to FIG.

【0040】前記図2(c)の入力バッファに、たとえ
ばパートpのノートオンイベントが入力されると、この
イベントにより音色データPDpが指定され、この音色
データPDpにより波形名WN(p)および演算モード
CM(p)が指定されて、CPU1は、演算モードCM
(p)に応じた楽音発生装置の時間密度(等価サンプリ
ング周波数)で入力したイベントに対応する楽音の波形
サンプルを演算モードに対応したバッファ上に生成し、
この波形サンプルに対して補間演算等の生成演算を実行
し、演算したデータをRAM6のバッファ0に記憶する
とともに演算終了をDMA制御部9に通知する(図4
(b))。DMA制御部9は、そのデータを順次読み出
して再生処理を行う(同図(c))。したがって、MI
DIインターフェース8を介して入力される演奏データ
のうち、前回のクロックBCの発生時刻tBCから今回
の発生時刻tBCまでの間の演奏入力(同図(a))に
対応する演奏データが今回の生成演算の対象となる。そ
して、時刻tCEに演算が終了した生成データに基づい
た波形データの読出再生処理が、次の時刻tBCからD
MA制御部9で実行され、楽音が出力される。なお、同
図中に示した矢印Pは、単に生成演算されたデータと読
出再生処理との対応関係を示すものであり、時刻tCE
に終了した演算結果が時刻tBCに転送されることを示
すものではない。
When, for example, a note-on event of part p is input to the input buffer shown in FIG. 2C, the tone color data PDp is designated by this event, and the waveform name WN (p) and the operation are calculated by this tone color data PDp. When the mode CM (p) is designated, the CPU 1 executes the operation mode CM
A waveform sample of a musical tone corresponding to an event input at the time density (equivalent sampling frequency) of the musical tone generating device corresponding to (p) is generated on a buffer corresponding to the operation mode,
A generation operation such as an interpolation operation is executed on this waveform sample, the calculated data is stored in the buffer 0 of the RAM 6, and the completion of the operation is notified to the DMA control unit 9 (FIG. 4).
(B)). The DMA control unit 9 sequentially reads out the data and performs a reproduction process ((c) in the figure). Therefore, MI
Of the performance data input via the DI interface 8, the performance data corresponding to the performance input ((a) in the same figure) between the time tBC at which the clock BC was generated last time and the time tBC at which this clock was generated this time is generated. It is the target of calculation. Then, the waveform data read / reproduction processing based on the generated data that has been calculated at time tCE is performed from the next time tBC to D.
This is executed by the MA control unit 9 and a musical sound is output. The arrow P shown in the figure simply indicates the correspondence between the data that has been generated and calculated and the read / reproduction processing.
It does not indicate that the operation result finished at is transferred at time tBC.

【0041】本実施の形態の楽音発生装置のDAC10
におけるサンプリング周波数は48kHzであるので、
クロックBCの発生周期は2.7msec(128/4
8k)となり、演奏入力から実際の楽音発生までの最大
遅れ時間は5msec程度であって、人間の聴感上は問
題とならない。もちろん自動演奏の場合にはこの遅れ時
間はもっと長くても問題はないので、バッファ0のサイ
ズをより大きくしてもよい。また、読出再生処理はクロ
ックBCのタイミングに限る必要はなく、たとえばクロ
ックBCの時刻tBCから所定時間後等、聴感上問題と
ならなければどのようなタイミングであってもよい。
The DAC 10 of the musical tone generating apparatus of this embodiment
Since the sampling frequency at is 48 kHz,
The generation cycle of the clock BC is 2.7 msec (128/4).
8k), and the maximum delay time from the performance input to the actual tone generation is about 5 msec, which is not a problem for human hearing. Of course, in the case of automatic performance, there is no problem even if this delay time is longer, so the size of the buffer 0 may be increased. Further, the read / reproduction processing is not limited to the timing of the clock BC, and may be any timing, for example, after a predetermined time from the time tBC of the clock BC, as long as it does not cause a hearing problem.

【0042】以上のように構成された楽音発生装置のC
PU1が実行する制御処理を、以下、図5〜13を参照
して説明する。
C of the musical tone generating apparatus configured as described above
The control process executed by the PU 1 will be described below with reference to FIGS.

【0043】図5は、メインルーチンのフローチャート
であり、たとえばユーザが楽音発生装置の電源をオンに
する(汎用パソコンの場合には、ソフトウェア音源のプ
ログラムを起動したとき)と、処理が開始される。ま
た、図6は、MIDI受信割り込み処理のフローチャー
トであり、この割り込み処理は、MIDIインターフェ
ース8を介して演奏データが入力されると最優先で実行
される。
FIG. 5 is a flowchart of the main routine. For example, when the user turns on the power of the musical tone generating device (in the case of a general-purpose personal computer, when the program of the software tone generator is started), the process is started. . FIG. 6 is a flowchart of MIDI reception interrupt processing. This interrupt processing is executed with the highest priority when performance data is input via the MIDI interface 8.

【0044】まず図6の処理について説明すると、ステ
ップS11では受信データを取り込み、ステップS12
ではその受信データを受信時刻を示す時刻データととも
に前記RAM6の入力バッファに書き込む。
First, the processing of FIG. 6 will be described. In step S11, received data is fetched, and in step S12.
Then, the received data is written in the input buffer of the RAM 6 together with the time data indicating the reception time.

【0045】図5のメインルーチンでは、まずすべての
発音チャンネルをオフし、レジスタをクリアし、さらに
DMA制御部9の読出再生処理を初期化してスタートさ
せる等の初期設定処理を行い(ステップS1)、次いで
入力バッファに受信データが有るか否かを判別する(ス
テップS2)。その結果、受信データがなければ直ちに
ステップS4に進み、受信データがあれば受信データに
応じた処理、たとえばノートオンイベント処理、ノート
オフイベント処理、ペダル処理等を行い、ステップS4
に進む。
In the main routine of FIG. 5, first, all tone generation channels are turned off, registers are cleared, and further initialization processing such as initializing and starting the reading and reproducing processing of the DMA control unit 9 is performed (step S1). Then, it is determined whether or not there is received data in the input buffer (step S2). As a result, if there is no received data, the process immediately proceeds to step S4. If there is received data, a process corresponding to the received data, for example, note-on event process, note-off event process, pedal process, etc. is performed, and then step S4.
Proceed to.

【0046】ステップS4では、音色の選択などのスイ
ッチイベントが発生したか否かを判別し、発生していな
ければ直ちにステップS6に進む一方、発生していれば
音色選択スイッチの設定に応じて、各MIDIチャンネ
ル毎に音色を選択する等のパネルスイッチイベント処理
を行った(ステップS5)後にステップS6に進む。
In step S4, it is determined whether or not a switch event such as selection of a tone color has occurred. If not, the process immediately proceeds to step S6. If so, the tone color selection switch is set according to the setting. After performing a panel switch event process such as selecting a tone color for each MIDI channel (step S5), the process proceeds to step S6.

【0047】ステップS6では図13を用いて後述する
音源処理サブルーチンを実行し、ステップS7ではその
他の処理を行ってステップS2に戻る。以後、ステップ
S2〜S7を繰り返し実行する。
In step S6, a sound source processing subroutine which will be described later with reference to FIG. 13 is executed, and in step S7, other processing is performed and the process returns to step S2. After that, steps S2 to S7 are repeatedly executed.

【0048】図7は、図5のステップS3で実行される
受信データ処理の1つであるノートオンイベント処理の
手順を示すフローチャートである。
FIG. 7 is a flow chart showing the procedure of note-on event processing which is one of the received data processing executed in step S3 of FIG.

【0049】まずステップS21では、受信したノート
オンイベントデータが示すピッチおよびパート番号を、
それぞれ前記RAM6に確保された領域SP(以下、こ
の内容を「ピッチSP」という)およびp(以下、この
内容を「パートp」という)に格納するとするととも
に、その発生時刻(受信時刻)をRAM6に確保された
領域TM(以下、この内容を「発生時刻TM」という)
に格納する。
First, in step S21, the pitch and part number indicated by the received note-on event data are
The areas SP (hereinafter, the content is referred to as “pitch SP”) and p (hereinafter, the content is referred to as “part p”) secured in the RAM 6 are stored, and the time of occurrence (reception time) is stored in the RAM 6. Area TM (hereinafter, this content is called "occurrence time TM")
To be stored.

【0050】次いで、音源レジスタ(図2(d))のど
のチャンネルに書き込むかを決める発音割当処理を行
い、割り当てたチャンネル番号をRAM6に確保された
領域i(以下、この内容を「割当チャンネルi」とい
う)に格納する(ステップS22)。
Next, a tone generation assignment process is performed to determine which channel of the tone generator register (FIG. 2 (d)) is to be written, and the assigned channel number is reserved in the RAM i in the area i (hereinafter, this content is referred to as "assigned channel i"). “”) (Step S22).

【0051】続くステップS23では、パートpの音色
データPDp(図2(a))を検索して波形名(波形指
定データ)WN(p)および演算モードCM(p)を取
得し、この波形名WN(p)を有する波形データの中か
ら演算モードCM(p)に応じた波形データを選択し、
そのRAM6上の読出アドレス(図2(b)参照)を割
当チャンネルiの波形指定データ(図2(d))として
設定する。
In a succeeding step S23, the tone color data PDp (FIG. 2A) of the part p is searched to obtain the waveform name (waveform designation data) WN (p) and the operation mode CM (p). The waveform data corresponding to the operation mode CM (p) is selected from the waveform data having WN (p),
The read address on the RAM 6 (see FIG. 2B) is set as the waveform designation data (FIG. 2D) of the assigned channel i.

【0052】このとき、同一波形名WN(p)を有する
波形データが複数個存在する場合がある。たとえば波形
データWD2′およびWD2″は、前述したように波形
データWD2をダウンサンプリングしたものであり、そ
の波形名は、波形データWD2の波形名と同一である。
このように同一波形名を有する波形データが複数個存在
する場合には、その中から、演算モードCM(p)に応
じて1つの波形データを選択する。
At this time, there may be a plurality of waveform data having the same waveform name WN (p). For example, the waveform data WD2 'and WD2 "are obtained by down-sampling the waveform data WD2 as described above, and the waveform name is the same as the waveform name of the waveform data WD2.
When there are a plurality of waveform data having the same waveform name as described above, one waveform data is selected from the waveform data according to the operation mode CM (p).

【0053】しかし、同一波形名を有する波形データが
複数個存在する場合でも、演算モードCM(p)に対応
する波形データが存在しない場合がある。たとえば図2
(b)において、演算モードCM(p)=2に対応する
波形データWD1″は存在しない。これは、ユーザが、
たとえば波形LPF処理(図11を用いて後述)等によ
り波形データWD1″を作成しなかったからである。こ
のような場合には、演算モードCM(p)に対応する波
形データを選択することはできないので、同一波形名W
N(p)で波形モードWMの異なる波形データを選択
し、その波形データの読み出し速度を変更する(すなわ
ちピッチを変更する、具体的にはFナンバFNを調整す
る)ことにより所望の楽音信号を生成する。
However, even when a plurality of waveform data having the same waveform name exist, the waveform data corresponding to the operation mode CM (p) may not exist. Figure 2
In (b), the waveform data WD1 ″ corresponding to the calculation mode CM (p) = 2 does not exist.
This is because, for example, the waveform data WD1 ″ was not created by the waveform LPF processing (described later with reference to FIG. 11) or the like. In such a case, the waveform data corresponding to the calculation mode CM (p) cannot be selected. Therefore, the same waveform name W
By selecting waveform data of different waveform modes WM with N (p) and changing the read speed of the waveform data (that is, changing the pitch, specifically, adjusting the F number FN), a desired musical tone signal is obtained. To generate.

【0054】なお、本実施の形態では、演算モードCM
(p)とその演算モードの楽音生成に適した波形の波形
モードWMとを1対1に対応させている。すなわち、た
とえば演算モードCM(p)=0のときには、波形モー
ドWMが“0”である波形データを選択するようにして
いる。しかし、演算モードCM(p)と波形モードWM
とは別々の概念であり、常に一致するものではなく、本
実施の形態においては、単に演算モードCM(p)と波
形モードWMとが一致するように、波形データを生成し
たに過ぎない。
In this embodiment, the calculation mode CM
There is a one-to-one correspondence between (p) and the waveform mode WM of the waveform suitable for the tone generation of the calculation mode. That is, for example, when the calculation mode CM (p) = 0, the waveform data whose waveform mode WM is “0” is selected. However, the calculation mode CM (p) and the waveform mode WM
Is a different concept, and does not always match. In the present embodiment, the waveform data is simply generated so that the calculation mode CM (p) and the waveform mode WM match.

【0055】続くステップS24では、パートpの音色
データPDp(すなわち音色番号TC(p)が示す音色
データ)を、ピッチSPおよび演算モードCM(p)に
応じて加工し、イベント発生時刻TMとともに、割当チ
ャンネルiの音源レジスタの所定領域に設定する(ステ
ップS24)。ここで、音色データPDpを加工する1
つの目的は、音量エンベロープジェネレータ(図示せ
ず)を制御する音量EG制御データの時変形状や音色フ
ィルタ(図示せず)のカットオフ周波数等が演算モード
CM(p)に応じて変化しないようにするためである。
そして、もう1つの目的は、通常の電子楽器で行われて
いるとの同様に、ピッチSP等の演奏情報に応じてエン
ベロープの形状等、楽音特性に変化を付けるためであ
る。なお、音色番号TC(p)は、図8を用いて後述す
るようにユーザにより設定される。
In a succeeding step S24, the tone color data PDp of the part p (that is, the tone color data indicated by the tone color number TC (p)) is processed according to the pitch SP and the operation mode CM (p), and together with the event occurrence time TM, The sound source register of the assigned channel i is set in a predetermined area (step S24). Here, the tone color data PDp is processed 1
One purpose is to prevent the time-deformed state of the volume EG control data for controlling the volume envelope generator (not shown) and the cutoff frequency of the tone color filter (not shown) from changing in accordance with the operation mode CM (p). This is because
Another purpose is to change the musical tone characteristics such as the envelope shape in accordance with the performance information such as the pitch SP, as is the case with ordinary electronic musical instruments. The tone color number TC (p) is set by the user as described later with reference to FIG.

【0056】次いで、割当チャンネルiの音源レジスタ
にノートオンデータを書き込み(ステップS25)、本
処理を終了する。
Next, note-on data is written in the sound source register of the assigned channel i (step S25), and this processing ends.

【0057】図8〜11は、ユーザがパネルスイッチを
押すことにより発生する各種イベントの処理の手順を示
すフローチャートであり、各処理は、前記ステップS5
(図5)のパネルスイッチイベント処理の一処理であ
る。ここで、パネルスイッチは、前記キーボード2に予
め割り当てられたものであってもよいし、前記ディスプ
レイ3上に表示されたものであってもよい。パネルスイ
ッチがディスプレイ3上に表示されたものである場合に
は、キーボード2のアップ/ダウンキーや図示しないマ
ウス等によりカーソルを移動させ、所望のパネルスイッ
チを押すようにすればよい。
FIGS. 8 to 11 are flowcharts showing the procedure of processing various events that occur when the user presses the panel switch.
This is a process of the panel switch event process of FIG. Here, the panel switch may be one assigned in advance to the keyboard 2 or one displayed on the display 3. When the panel switch is the one displayed on the display 3, the cursor may be moved by the up / down key of the keyboard 2 or a mouse (not shown) and the desired panel switch may be pressed.

【0058】図8は、パート音色選択スイッチ(図示せ
ず)が押されたときのパート音色選択処理の手順を示す
フローチャートである。
FIG. 8 is a flow chart showing the procedure of part tone color selection processing when a part tone color selection switch (not shown) is pressed.

【0059】同図において、まずユーザがパート番号を
入力すると、そのパート番号を前記領域pに格納し、次
にユーザが音色番号を入力すると、その音色番号を前記
RAM6に確保された領域TC(p)に格納する(ステ
ップS31)。領域TC(p)に格納された音色番号
が、前記音色番号TC(p)である。
In the figure, when the user inputs a part number, the part number is stored in the area p, and when the user inputs a tone color number, the tone color number is stored in the area TC (reserved in the RAM 6). p) (step S31). The tone color number stored in the area TC (p) is the tone color number TC (p).

【0060】次に、音色データを準備する(ステップS
32)。具体的には、前記ハードディスク4の所定領域
に予め記憶された音色データ群から、音色番号TC
(p)で示される音色データを検索して、パートpで示
される音色データ領域(図2(a)参照)にロードす
る。また、ロードした音色データ中の波形指定データW
N(p)を参照し、該データWN(p)及びデータCM
(p)によって指定された波形データが図2(b)の波
形データ記憶領域内に有るか否かを判定し、存在しない
場合には、ハードディスク4から波形データ記憶領域に
その波形データを自動的にロードする。その際、もとも
とパートpに設定されていた音色データはハードディス
ク4の対応する記憶領域にセーブされる。
Next, timbre data is prepared (step S
32). Specifically, the tone color number TC is selected from the tone color data group stored in advance in a predetermined area of the hard disk 4.
The tone color data indicated by (p) is searched and loaded into the tone color data area indicated by part p (see FIG. 2A). Also, the waveform designation data W in the loaded tone color data
Referring to N (p), the data WN (p) and data CM
It is determined whether or not the waveform data designated by (p) exists in the waveform data storage area of FIG. 2 (b), and if it does not exist, the waveform data is automatically stored in the waveform data storage area from the hard disk 4. To load. At that time, the tone color data originally set in the part p is saved in the corresponding storage area of the hard disk 4.

【0061】図9は、パートモード選択スイッチ(図示
せず)が押されたときのパートモード選択処理の手順を
示すフローチャートである。
FIG. 9 is a flow chart showing the procedure of the part mode selection process when the part mode selection switch (not shown) is pressed.

【0062】まず、前記ステップS31と同様にしてユ
ーザが入力したパート番号を前記領域pに格納し、次に
ユーザが演算モードを入力すると、その演算モード(0
〜2のうち、いずれか1つの整数値)を、パートpで示
される音色データ領域中の前記領域CM(p)に格納す
る(ステップS41)。
First, as in step S31, the part number input by the user is stored in the area p, and when the user inputs the operation mode, the operation mode (0
2 to 2 are stored in the area CM (p) in the tone color data area indicated by part p (step S41).

【0063】図10は、パート波形選択スイッチ(図示
せず)が押されたときのパート波形選択処理の手順を示
すフローチャートである。
FIG. 10 is a flow chart showing the procedure of part waveform selection processing when a part waveform selection switch (not shown) is pressed.

【0064】まず、前記ステップS31と同様にしてユ
ーザが入力したパート番号を前記領域pに格納し、次に
ユーザが波形名を入力すると、その波形名を、パートp
で示される音色データ領域中の前記領域WN(p)に格
納する(ステップS51)。
First, as in step S31, the part number input by the user is stored in the area p. Then, when the user inputs a waveform name, the waveform name is stored in the part p.
It is stored in the area WN (p) in the tone color data area indicated by (step S51).

【0065】次に、演算モードCM(p)に対応した波
形データを準備する(ステップS52)。具体的には、
前記ハードディスク4の所定領域に記憶された波形デー
タ群から、演算モードCM(p)を考慮した波形名WN
(p)で示される波形データを検索して、前記RAM6
の波形データ領域(図2(b)参照)にロードする。
Next, the waveform data corresponding to the operation mode CM (p) is prepared (step S52). In particular,
From the waveform data group stored in the predetermined area of the hard disk 4, the waveform name WN considering the operation mode CM (p)
The waveform data shown in FIG.
Waveform data area (see FIG. 2B).

【0066】ここで、「演算モードCM(p)を考慮し
た」とは、波形名WN(p)が同一の波形データが複数
個存在し、演算モードCM(p)に対応する波形モード
WMの波形データがある場合には、その波形モードWM
の波形データのみを波形データ領域にロードするという
意味であり、このようにするとRAM6を効率的に使用
することができる。しかし、これに限らず、演算モード
CM(p)を考慮せずに、同一波形名WN(p)の波形
データが複数個あるか否かに拘わらず、波形名WN
(p)で示される全ての波形データを波形データ領域に
ロードするようにしてもよい。
Here, "in consideration of the calculation mode CM (p)" means that there is a plurality of waveform data having the same waveform name WN (p) and the waveform mode WM corresponding to the calculation mode CM (p). If there is waveform data, the waveform mode WM
This means that only the waveform data of is loaded into the waveform data area, and by doing so, the RAM 6 can be used efficiently. However, the present invention is not limited to this, and regardless of whether or not there are a plurality of waveform data having the same waveform name WN (p) without considering the operation mode CM (p), the waveform name WN
You may make it load all the waveform data shown by (p) in a waveform data area.

【0067】なお、すでに同じ波形名でRAM6の波形
データ領域に記憶されている場合には、本処理は必要な
いが、再ロードしても問題は生じない。
If the same waveform name is already stored in the waveform data area of the RAM 6, this processing is not necessary, but reloading does not cause any problem.

【0068】図11は、波形LPFスイッチ(図示せ
ず)が押されたときの波形LPF処理の手順を示すフロ
ーチャートである。
FIG. 11 is a flowchart showing the procedure of the waveform LPF process when the waveform LPF switch (not shown) is pressed.

【0069】まず、ユーザが処理する波形およびその処
理内容を入力すると、その処理すべき波形をRAM6の
波形データ領域から検索する(ステップS61)。この
とき、処理すべき波形が検索されない場合には、ハード
ディスク4の波形データ群を検索する。また、処理内容
とは、ダウンサンプリングの種類や制限する帯域等をい
う。
First, when the user inputs a waveform to be processed and its processing contents, the waveform to be processed is retrieved from the waveform data area of the RAM 6 (step S61). At this time, if the waveform to be processed is not searched, the waveform data group of the hard disk 4 is searched. Further, the processing content refers to the type of downsampling, the band to be limited, and the like.

【0070】次に、このようにして検索された波形が、
繰り返して読み出されるループ部を有するか否かを判別
し(ステップS62)、ループ部を有しない場合には、
まず帯域制限を行い(ステップS63)、次にダウンサ
ンプリングし(ステップS64)、波形を完成して、R
AM6の波形データ領域に記憶する(ステップS6
5)。このステップS63で帯域制限するのは、帯域制
限せずにダウンサンプリングした波形データをそのまま
記憶すると、記憶された波形データに折り返しノイズが
混入するからである。したがって、ダウンサンプリング
で折り返しノイズが発生しない程度の帯域制限を施す必
要があり、この制限すべき周波数帯域は、前記ステップ
S61でユーザが設定する。
Next, the waveform retrieved in this way is
It is determined whether or not the loop portion that is repeatedly read is included (step S62). If the loop portion is not included,
First, band limitation is performed (step S63), then down-sampling is performed (step S64), the waveform is completed, and R
Store in the waveform data area of AM6 (step S6)
5). The reason why the band is limited in step S63 is that if the down-sampled waveform data is stored without being band-limited, aliasing noise is mixed into the stored waveform data. Therefore, it is necessary to limit the band so that aliasing noise does not occur in the downsampling, and the frequency band to be limited is set by the user in step S61.

【0071】図12は、上記ステップS63およびS6
4の処理を説明するための図であり、図中、横軸は周波
数を示し、縦軸はレベルを示している。そして、(a)
は、波形LPF処理を行う前、すなわち等価サンプリン
グ周波数48kHzの楽音生成演算用に所定録音サンプ
リング周波数Fsでサンプリングされた(すなわち波形
モードWM=0の)オリジナル波形(波形名:PIAN
O.0)の周波数スペクトルの一例を示し、(b)は、
(a)の波形に帯域制限処理を施した後の周波数スペク
トルを示し、(c)は、(b)の波形を元の録音サンプ
リング周波数の1/2の周波数でダウンサンプリングし
た、等価サンプリング周波数24kHzの楽音生成演算
用の波形データ(波形モードWM=1)の周波数スペク
トルを示し、(d)は、(c)の波形に対してさらにL
PF処理、すなわち帯域制限処理を施し、録音サンプリ
ング周波数の1/2の周波数でダウンサンプリングし
た、等価サンプリング周波数12kHzの楽音生成演算
用の波形データ(波形モードWM=2)の周波数スペク
トルを示している。ここで、(c)のダウンサンプリン
グは、図2(b)を用いて前述したように、(b)の波
形データを1つずつ飛ばし読みすることにより行ってい
る。これと同様に、(d)のダウンサンプリングも、
(c)の波形データを帯域制限したものを1つずつ飛ば
し読みすることにより行っている。このため、本実施の
形態では、オリジナル波形の2-n(nは正の整数)倍の
録音サンプリング周波数でダウンサンプリングできるの
みであるが、前記ステップS63およびS64の処理を
同時に行うことにより、オリジナル波形のサンプリング
周波数に対して任意の倍数の周波数でダウンサンプリン
グすることも可能である。
FIG. 12 shows steps S63 and S6.
4 is a diagram for explaining the process of No. 4, in which the horizontal axis represents frequency and the vertical axis represents level. And (a)
Is an original waveform (waveform name: PIAN) that is sampled at a predetermined recording sampling frequency Fs (that is, in waveform mode WM = 0) before performing the waveform LPF processing, that is, for the tone generation calculation of the equivalent sampling frequency of 48 kHz.
O. 0) shows an example of the frequency spectrum of (0), and (b) is
(A) shows a frequency spectrum after band limitation processing is applied to the waveform of (a), and (c) shows an equivalent sampling frequency of 24 kHz obtained by down-sampling the waveform of (b) at half the original recording sampling frequency. Shows the frequency spectrum of the waveform data (waveform mode WM = 1) for the tone generation calculation of FIG.
9 shows a frequency spectrum of waveform data (waveform mode WM = 2) for tone generation calculation with an equivalent sampling frequency of 12 kHz, which is subjected to PF processing, that is, band limiting processing, and is down-sampled at a frequency half the recording sampling frequency. . Here, the downsampling of (c) is performed by skipping the waveform data of (b) one by one as described above with reference to FIG. Similarly, the downsampling of (d)
The waveform data of (c) is read by skipping the band-limited data one by one. Therefore, in the present embodiment, it is only possible to down-sample at a recording sampling frequency that is 2 −n (n is a positive integer) times the original waveform, but by performing the processing of steps S63 and S64 at the same time, It is also possible to downsample at a frequency that is an arbitrary multiple of the sampling frequency of the waveform.

【0072】図11に戻り、ステップS62の判別で、
検索された波形データがループ部を有する場合には、ま
ず波形を、アタック部に複数回繰り返すループ部を接続
した波形データに展開し(ステップS66)、次に帯域
制限した(ステップS67)後にダウンサンプリングし
(ステップS68)、このようにして生成された波形デ
ータから新しいアタック部およびループ部を切り出し
(ステップS69)、前記ステップS65と同様にして
波形を完成して記憶する(ステップS70)。このステ
ップS67およびS68の処理は、それぞれ前記ステッ
プS63およびS64と同様の処理である。ここで、ル
ープ部を有する波形に対し上記のような処理を施したの
は、アタック部とループ部から成る波形データの場合、
ループ部は波形データのサンプル数が少ないために、オ
リジナル波形に対してそのまま帯域制限をするときに、
高い次数のローパスフィルタが使えないので、十分な帯
域減衰特性が得られないためである。上記方法によれ
ば、ループ部を有する波形データであっても、高い次数
のローパスフィルタを使えるので、不要ノイズの少ない
LPF処理が可能である。
Returning to FIG. 11, in the determination of step S62,
If the retrieved waveform data has a loop portion, the waveform is first developed into waveform data in which a loop portion that repeats a plurality of times is connected to the attack portion (step S66), and then the bandwidth is limited (step S67), and then down. Sampling is performed (step S68), new attack parts and loop parts are cut out from the waveform data thus generated (step S69), and the waveform is completed and stored in the same manner as in step S65 (step S70). The processing of steps S67 and S68 is the same as the processing of steps S63 and S64, respectively. Here, the above processing is applied to a waveform having a loop portion in the case of waveform data including an attack portion and a loop portion,
Since the loop part has a small number of waveform data samples, when limiting the band as it is for the original waveform,
This is because a high-order low-pass filter cannot be used and a sufficient band attenuation characteristic cannot be obtained. According to the above method, since even a waveform data having a loop portion can use a high-order low-pass filter, LPF processing with less unnecessary noise can be performed.

【0073】続くステップS71では、前記ステップS
65またはS70で記憶された波形データを、前記RA
M6または前記ハードディスク4の所定領域に格納(登
録)した後に、本波形LPF処理を終了する。
In the following step S71, the above-mentioned step S
65 or the waveform data stored in S70 is used as the RA
After the M6 or the predetermined area of the hard disk 4 is stored (registered), the waveform LPF processing is ended.

【0074】図13は、前記図5のステップS6の音源
処理サブルーチンの詳細な手順を示すフローチャートで
ある。
FIG. 13 is a flow chart showing the detailed procedure of the sound source processing subroutine of step S6 of FIG.

【0075】まずステップS81で音源レジスタ(図2
(d))をチェックし、続くステップS82で新規書込
が有ったか否かを判別する。新規書込がなければ直ちに
ステップS84に進む一方、新規書込があったときは該
書込が有った発音チャンネルの音源制御準備処理を行う
(ステップS83)。音源制御準備処理とは、具体的に
は、チャンネルi(新規書込があった発音チャンネル)
のデータを実際に波形演算を行うための各種制御データ
に変換したり、チャンネルiのデータに対応する波形デ
ータの最初の読み出しアドレスを設定したりする処理を
いう。
First, in step S81, the sound source register (see FIG.
(D)) is checked, and it is determined in the subsequent step S82 whether or not there is new writing. If there is no new writing, the process immediately proceeds to step S84, while if there is new writing, a sound source control preparation process for the tone generation channel for which the writing has been performed is performed (step S83). The sound source control preparation process is, specifically, channel i (sound channel that has been newly written).
Is a process of converting the data of 1 to various control data for actually performing the waveform calculation, and setting the first read address of the waveform data corresponding to the data of the channel i.

【0076】続くステップS84では、演算時刻の管理
を行う。すなわち、再生部(DMA制御部9)における
再生波形データの読み出しが途切れないように、現在再
生中の波形データの読み出しを開始する時刻を次の波形
データの演算開始時刻tBC(図4参照)として指定す
る。さらにステップS85では、演算開始時刻tBCと
なったか否かを判別し、なっていなければ直ちに本処理
を終了する。
In the following step S84, the calculation time is managed. In other words, the time at which the reading of the waveform data currently being reproduced is started is set as the calculation start time tBC (see FIG. 4) of the next waveform data so that the reading of the reproduced waveform data by the reproducing unit (DMA control unit 9) is not interrupted. specify. Further, in step S85, it is determined whether or not the calculation start time tBC has come, and if not, the present process is immediately ended.

【0077】演算開始時刻となったときは、まず各発音
チャンネルが生成すべき楽音に応じて演算順序および消
音するチャンネルを決定するチャンネル制御を行う(ス
テップS86)。演算順序を決定するのは、演算を終了
すべき時刻までに演算が終了しない(このとき、演算が
打ち切りとなる)場合を考慮して、重要度の高い演算か
ら先に処理するためである。次いでステップS83で準
備したデータを時間軸上で展開することにより、波形演
算の準備を行い(ステップS87)、演算順序1番の発
音チャンネル番号をパラメータiとする(ステップS8
8)。
When the calculation start time comes, first, channel control is performed to determine the calculation order and the channels to be muted according to the musical sound to be generated by each sound generation channel (step S86). The calculation order is determined in consideration of the case where the calculation is not finished by the time when the calculation should be finished (the calculation is discontinued at this time), and the calculation with the higher importance is processed first. Next, the data prepared in step S83 is expanded on the time axis to prepare for waveform calculation (step S87), and the tone generation channel number in the calculation order 1 is set as the parameter i (step S8).
8).

【0078】次に、ステップS89では演算モードCM
(i)の値を判別し、CM(i)=0のときにはチャン
ネルiの128サンプル分の楽音波形データを生成して
バッファ0に足し込み(ステップS90)、CM(i)
=1のときにはチャンネルiの64サンプル分の楽音波
形データを生成してバッファ1に足し込み(ステップS
91)、CM(i)=2のときにはチャンネルiの32
サンプル分の楽音波形データを生成してバッファ2に足
し込む(ステップS92)。ここで、各ステップS90
〜92の処理は、それぞれ対応するバッファにおける楽
音データ(波形サンプルデータ)の単純な足し込みでは
なく、各チャンネルiのFナンバFN(図2(d)参
照)に応じた読出しアドレスの更新制御、図2(b)に
示される波形データ記憶領域からの該読み出しアドレス
に応じた波形サンプルデータの読み出しと補間、およ
び、補間で得られた波形サンプルに対し、さらに音色お
よび音量エンベロープ等の加工を施して楽音波形サンプ
ルとする加工処理等を行った上での足し込みである。以
上の処理が、一度の生成処理で生成する楽音波形データ
の各サンプルについて、繰り返し行われる。たとえば、
演算モードCM(i)=0のチャンネルiでは128サ
ンプルの楽音波形サンプルが出来上がるまで繰り返され
る。ここで、読み出される波形データは、前述した波形
指定データで指定された波形データである。該波形デー
タは、発音チャンネルiで生成中の楽音が属するパート
pの波形名WN(p)と、演算モードCM(i)に対応
して選択指定される。もし、現在生成中の楽音信号に使
用している波形データの録音サンプリング周波数と、チ
ャンネルiに設定された演算モード(等価サンプリング
周波数)とが適応していない場合には、前述したFナン
バFNの計算式の後半部の項によりFナンバFNの値の
補正が行われるが、これは、このようなときにも指示さ
れたピッチの楽音を生成するようにするためである。な
お、ステップS90〜92の処理の詳細は、特願平7−
197923号の図面の図13及び明細書の同図に関連
する記載を参照。
Next, in step S89, a calculation mode CM
The value of (i) is discriminated. When CM (i) = 0, 128 samples of tone waveform data of channel i are generated and added to the buffer 0 (step S90), and CM (i)
When = 1, musical tone waveform data for 64 samples of channel i is generated and added to the buffer 1 (step S
91), and when CM (i) = 2, 32 of channel i
The musical tone waveform data for the sample is generated and added to the buffer 2 (step S92). Here, each step S90
The processing of 92 to 92 is not a simple addition of the musical tone data (waveform sample data) in the corresponding buffers, but an update control of the read address according to the F number FN (see FIG. 2D) of each channel i, The waveform sample data is read out from the waveform data storage area shown in FIG. 2B and interpolated according to the read address, and the waveform sample obtained by the interpolation is further processed such as tone color and volume envelope. It is the addition after performing the processing such as making a musical tone waveform sample. The above process is repeated for each sample of the musical tone waveform data generated in one generation process. For example,
In the channel i of the operation mode CM (i) = 0, 128 musical tone waveform samples are repeated until they are completed. Here, the waveform data read out is the waveform data designated by the above-mentioned waveform designation data. The waveform data is selected and designated in correspondence with the waveform name WN (p) of the part p to which the musical sound being generated in the tone generation channel i belongs and the calculation mode CM (i). If the recording sampling frequency of the waveform data used for the tone signal currently being generated and the calculation mode (equivalent sampling frequency) set for channel i are not compatible, the above-mentioned F number FN The value of the F number FN is corrected by the term in the latter half of the calculation formula, in order to generate the musical sound of the instructed pitch even in such a case. For details of the processing in steps S90 to S92, refer to Japanese Patent Application No. 7-
See FIG. 13 of the drawings of 197923 and the description relating to that drawing of the specification.

【0079】以上のように、各演算モードに最適の波形
モードの波形が選択されなかった場合でも、FナンバF
Nを補正することにより、いずれの演算モードでも指定
されたピッチSPの楽音波形サンプルが生成できるが、
該補正等によりFナンバFNの数値が基準値「1」から
大きく離れた場合には、生成する楽音のクオリティに問
題が生ずる。たとえば、補正によりそのチャンネルのF
ナンバFNが非常に大きくなった場合(たとえば、FN
>2)、波形データ記憶領域から読み出した波形データ
の高域成分が、等価サンプリング周波数の半分以上の周
波数を超え、補間で得られる波形サンプルにその折り返
しノイズが発生する。逆に、補正によりFナンバFNが
非常に小さくなった場合(たとえば、FN<0.5)、
補間で得られる波形サンプルには、等価サンプリング周
波数の4分の1以下の高調波成分しか含まれず、そのチ
ャンネルに設定された楽音波形サンプル生成の時間密度
分のクオリティが得られないことになる。したがって、
波形指定データの示す波形データ、すなわち各チャンネ
ルiの楽音生成で読み出す波形データとしては、各チャ
ンネルの演算モードCM(i)に適した波形モードの波
形データ(たとえばCM=1ならWM=1の波形デー
タ)を選択設定することが望ましい。
As described above, even if the optimum waveform mode waveform is not selected for each operation mode, the F number F
By correcting N, a musical tone waveform sample with a specified pitch SP can be generated in any of the calculation modes.
If the numerical value of the F number FN greatly deviates from the reference value "1" due to the correction or the like, there arises a problem in the quality of the generated musical sound. For example, the F
If the number FN becomes very large (for example, FN
> 2), the high frequency component of the waveform data read from the waveform data storage area exceeds a frequency equal to or more than half the equivalent sampling frequency, and the aliasing noise occurs in the waveform sample obtained by interpolation. Conversely, if the correction causes the F number FN to be very small (eg, FN <0.5),
The waveform sample obtained by the interpolation contains only a harmonic component equal to or less than a quarter of the equivalent sampling frequency, and the quality corresponding to the time density of the musical tone waveform sample generation set for that channel cannot be obtained. Therefore,
The waveform data indicated by the waveform designation data, that is, the waveform data read in the tone generation of each channel i, is the waveform data of the waveform mode suitable for the calculation mode CM (i) of each channel (for example, if CM = 1, the waveform of WM = 1). It is desirable to select and set (data).

【0080】次に、チャンネルiは最終チャンネルか否
か、すなわち波形演算すべきチャンネルの演算を全て終
了したか否かを判別し(ステップS93)、まだ波形演
算すべきチャンネルが残っているときには次の演算順序
のチャンネル番号をチャンネルiにした(ステップS9
4)後に、前記ステップS89に戻って前述の処理を繰
り返す。一方、ステップS93の判別で、演算すべきチ
ャンネルを全て終了したときにはステップS95に進
む。
Next, it is judged whether or not the channel i is the final channel, that is, whether or not the calculation of all the waveform calculation channels is completed (step S93). The channel number in the calculation order of is set to channel i (step S9
4) After that, it returns to step S89 and repeats the above-mentioned processing. On the other hand, if it is determined in step S93 that all the channels to be calculated are completed, the process proceeds to step S95.

【0081】ステップS95では、前記図3で説明した
ように、バッファ1に生成された64サンプル、およ
び、バッファ2に生成された32サンプルの楽音波形デ
ータを補間(オーバーサンプリング)して、それぞれ、
128サンプルの楽音波形データとしてバッファ1′お
よびバッファ2′に格納し、ステップS96では、バッ
ファ0,1′,2′の各128個の楽音波形データを加
算して得られた128サンプルの楽音波形データをバッ
ファ0に格納する。
In step S95, as described with reference to FIG. 3, the musical tone waveform data of 64 samples generated in the buffer 1 and 32 samples generated in the buffer 2 are interpolated (oversampled), respectively.
The musical tone waveform data of 128 samples is stored in the buffer 1'and the buffer 2 ', and in step S96, the musical tone waveform of 128 samples obtained by adding the 128 musical tone waveform data of each of the buffers 0, 1', and 2 '. Store the data in buffer 0.

【0082】続くステップS97では、このようにして
バッファ0に格納された楽音波形データにリバーブ処理
を施して残響効果を付与し、ステップS98では、バッ
ファ0の128サンプルを再生部に再生予約した後に、
本音源処理を終了する。
In a succeeding step S97, the musical tone waveform data thus stored in the buffer 0 is subjected to reverb processing to give a reverberation effect, and in a step S98, 128 samples of the buffer 0 are reserved for reproduction in the reproducing section. ,
This sound source processing ends.

【0083】以上説明したように本実施の形態では、楽
音を生成する演算処理の演算モードを複数個設け、この
中からユーザが任意に選択するように構成したので、ユ
ーザの利用目的に応じて、発音数重視またはクオリティ
重視のいずれの形態をも採ることができる。
As described above, in the present embodiment, a plurality of calculation modes of the calculation process for generating a musical sound are provided, and the user can arbitrarily select from among them, so that the user can select the desired mode according to the purpose of use of the user. It is possible to take either form of emphasis on the number of pronunciations or quality.

【0084】また、各パート毎に演算モードを設定する
ようにしたので、聴感上効果の大きいパートの楽音を高
いクオリティで生成でき、限られた演算能力を最大限に
活用することができる。
Further, since the calculation mode is set for each part, it is possible to generate a high-quality musical sound of a part having a great auditory effect, and to make maximum use of the limited calculation ability.

【0085】さらに、生成楽音のクオリティの高い演算
モード(モード0)用の高い録音サンプリング周波数の
波形データから生成楽音のクオリティの低い演算モード
(モード1または2)に応じた低い録音サンプリング周
波数の波形データをLPF処理により作成し、このよう
にして作成された波形データから、ユーザにより選択さ
れた演算モードに応じて波形データを選択して楽音を生
成するように構成したので、低い等価サンプリング周波
数で演算を行うチャンネルにおいて、クオリティは落ち
るものの折り返しノイズを発生させずに、高い等価サン
プリング周波数で演算された楽音と同じ音色の波形を生
成することができる。
Furthermore, from the waveform data of the high recording sampling frequency for the calculation mode (mode 0) having a high quality of the generated tone, the waveform of the low recording sampling frequency corresponding to the calculation mode (mode 1 or 2) having a low quality of the generated tone is generated. The data is created by the LPF process, and the waveform data is created from the waveform data created in this way according to the operation mode selected by the user to generate a musical sound. It is possible to generate a waveform having the same tone color as a musical tone calculated at a high equivalent sampling frequency without causing aliasing noise in the channel for which the calculation is performed, although the quality is deteriorated.

【0086】また、ユーザが選択した演算モードに応じ
て波形データを自動選択するように構成したので、高い
等価サンプリング周波数のチャンネルでは、録音サンプ
リング周波数の高い広い帯域に亘る周波数成分を有する
波形データを使用し、低い等価サンプリング周波数のチ
ャンネルでは録音サンプリング周波数の低い狭い帯域の
周波数成分を有する波形データを使用でき、これにより
音色データ中の波形の指定を変更しなくてもよい。
Further, since the waveform data is automatically selected according to the calculation mode selected by the user, the waveform data having the frequency component over a wide band of the high recording sampling frequency can be obtained in the channel of the high equivalent sampling frequency. Waveform data having a narrow band frequency component with a low recording sampling frequency can be used in a channel with a low equivalent sampling frequency, and thus the waveform designation in the tone color data does not have to be changed.

【0087】なお、本実施の形態では、より低いサンプ
ル数の演算モードCM(p)を選択したときに、その演
算モードCM(p)に対応する波形モードWMを有する
波形データが存在しない場合には、その演算モードCM
(p)と異なった波形モードWMの波形データを選択
し、この波形データに基づいて楽音信号を生成するよう
に構成したが、これに限らず、選択した演算モードCM
(p)に対応する波形モードWMの波形データが存在す
るか否かを自動検出し、存在しない場合には、前記図1
1の波形LPF処理に自動的に移行して、その演算モー
ドCM(p)の波形データを作成し、この作成した波形
データに基づいて楽音信号を生成するようにしてもよ
い。
In this embodiment, when the operation mode CM (p) having a smaller number of samples is selected and there is no waveform data having the waveform mode WM corresponding to the operation mode CM (p), Is the calculation mode CM
Although the waveform data of the waveform mode WM different from (p) is selected and the musical tone signal is generated based on this waveform data, the configuration is not limited to this, and the selected operation mode CM is used.
It is automatically detected whether or not the waveform data of the waveform mode WM corresponding to (p) is present.
It is also possible to automatically shift to the waveform LPF processing of No. 1 to create the waveform data of the operation mode CM (p), and to generate the tone signal based on the created waveform data.

【0088】また、本実施の形態では、波形データWD
n(n=1、2……)に波形LPF処理を行い、それよ
り低い録音サンプリング周波数の波形データWDn′,
WDn″を得るようにしたが、この波形データWD
n′,WDn″は波形LPF処理以外の方法で用意して
もよい。たとえば、最初から低い録音サンプリング周波
数で録音すれば、直接波形データWDn′,WDn″を
得ることができる。そして、ハードディスク4には、波
形データWDnが記憶されるだけでなく、波形データW
Dn′やWDn″も記憶される。ハードディスク4にそ
れらの波形が記憶されている場合には、波形データWD
nに波形LPF処理をせずとも、波形データWDn′、
WDn″をハードディスクからRAM6に読み出すこと
ができる。
Further, in this embodiment, the waveform data WD
Waveform LPF processing is performed for n (n = 1, 2 ...) And waveform data WDn ′, which has a recording sampling frequency lower than that,
WDn ″ was obtained, but this waveform data WD
n ′ and WDn ″ may be prepared by a method other than the waveform LPF processing. For example, if the recording is performed at a low recording sampling frequency from the beginning, the waveform data WDn ′ and WDn ″ can be directly obtained. The hard disk 4 stores not only the waveform data WDn but also the waveform data W
Dn ′ and WDn ″ are also stored. When the waveforms are stored in the hard disk 4, the waveform data WD
Even if the waveform LPF process is not performed on n, the waveform data WDn ′,
WDn ″ can be read from the hard disk to the RAM 6.

【0089】なお、本実施の形態では、演算モードCM
(p)は各パート毎に1つ選択できるのみであったが、
これに限らず、同一パートの発音を行う複数チャンネル
内においても、たとえば各チャンネルの音量やピッチ等
に応じて演算モードを自動的に変更できるようにしても
よい。
In this embodiment, the calculation mode CM
Only one (p) can be selected for each part,
The present invention is not limited to this, and even within a plurality of channels that sound the same part, the calculation mode may be automatically changed according to the volume or pitch of each channel.

【0090】また、本実施の形態では、CPUの実行す
るソフトウェアとして発明を実現したが、これに限らず
たとえばDSP(ディジタル・シグナル・プロセッサ)
等のプログラムで動作する演算装置一般で実現すること
が可能である。さらに、本実施の形態の楽音発生装置
は、汎用のパーソナルコンピュータで実現するようにし
てもよいし、専用機器で実現するようにしてもよい。
Further, in the present embodiment, the invention is realized as software executed by the CPU, but the invention is not limited to this. For example, a DSP (digital signal processor)
It can be realized by a general arithmetic device that operates with a program such as. Further, the musical tone generating apparatus according to the present embodiment may be realized by a general-purpose personal computer or a dedicated device.

【0091】[0091]

【発明の効果】以上説明したように、請求項1および5
記載の本発明に依れば、所定期間毎に、該所定期間内に
入力された演奏情報に応じたチャンネルの楽音波形サン
プルが、入力された制御情報に応じたサンプル数で当該
チャンネル毎に生成され、この生成された楽音波形サン
プルに基づいて楽音が発生されるので、ユーザの利用目
的に応じて、発音数重視またはクオリティ重視のいずれ
の形態をも採ることが可能となる効果を奏する。
As described above, claims 1 and 5
According to the present invention described above, a musical tone waveform sample of a channel corresponding to performance information input within the predetermined period is generated for each predetermined period at a number of samples corresponding to the input control information. Since a musical tone is generated based on the generated musical tone waveform sample, there is an effect that it is possible to adopt either the number of pronunciations emphasis or the quality emphasis according to the purpose of use of the user.

【0092】また、請求項2および6記載の発明の構成
に依れば、入力された演奏情報に応じたチャンネルの楽
音波形サンプルが、当該演奏情報が属するパートの、設
定された制御情報に応じた時間密度で生成され、この生
成された楽音波形サンプルに基づいて楽音が発生される
ので、聴感上効果の大きいパートの楽音を高いクオリテ
ィで生成でき、限られた演算能力を最大限に活用するこ
とができる。
According to the inventions of claims 2 and 6, the musical tone waveform sample of the channel corresponding to the input performance information corresponds to the set control information of the part to which the performance information belongs. Are generated at different time densities, and musical tones are generated based on the generated musical tone waveform samples, so that musical tones of a part that have a great auditory effect can be generated with high quality, and the limited computing power is utilized to the maximum. be able to.

【0093】さらに、請求項3および7記載の発明の構
成に依れば、入力された演奏情報に応じて、波形メモリ
に記憶された波形データに基づく楽音生成演算が実行さ
れ、発生された制御情報に応じた時間密度で楽音波形サ
ンプルが生成され、前記楽音生成演算では、前記発生し
た制御情報に応じて前記波形メモリ中の異なる波形デー
タを選択的に用いて楽音生成演算が行われ、このように
して生成された楽音波形サンプルに基づいて楽音が発生
されるので、高いサンプリング周波数のチャンネルで
は、広い帯域に亘る周波数成分を有する波形データを使
用し、低いサンプリング周波数のチャンネルでは狭い帯
域の周波数成分を有する波形データを使用でき、これに
より音色データ中の波形の指定を変更しなくてもよい。
According to the third and seventh aspects of the invention, the musical tone generation operation based on the waveform data stored in the waveform memory is executed according to the input performance information, and the generated control is executed. Musical tone waveform samples are generated at a time density according to information, and in the musical tone generation calculation, musical tone generation calculation is performed by selectively using different waveform data in the waveform memory according to the generated control information. Since a musical tone is generated based on the musical tone waveform sample thus generated, waveform data having a frequency component over a wide band is used for a channel with a high sampling frequency, and a narrow band frequency is used for a channel with a low sampling frequency. Waveform data having components can be used so that the designation of the waveform in the timbre data does not have to be changed.

【0094】また、さらに、請求項4記載の発明の構成
に依れば、楽音波形サンプルの生成時間密度に応じた波
形データを使用するので、折り返しノイズを削減でき
る。さらに、2つの異なる時間密度で楽音波形サンプル
を生成する場合に、片方の時間密度に適した波形データ
を変換した波形データを、もう一方の時間密度の波形生
成に使用するので、異なる時間密度でも同じ音色に聞こ
える楽音波形サンプルを生成できる。
Further, according to the configuration of the invention described in claim 4, since the waveform data corresponding to the generation time density of the musical tone waveform sample is used, the aliasing noise can be reduced. Furthermore, when a musical tone waveform sample is generated at two different time densities, the waveform data obtained by converting the waveform data suitable for one of the time densities is used for the waveform generation of the other time density, so that even if the time densities are different, It is possible to generate musical tone waveform samples that sound the same timbre.

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

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

【図2】図1のRAMに記憶される音色データおよび波
形データの構成とRAM上に設定される入力バッファお
よび音源レジスタの構成を示す図である。
FIG. 2 is a diagram showing a configuration of tone color data and waveform data stored in a RAM of FIG. 1 and configurations of an input buffer and a tone generator register set on the RAM.

【図3】図1のRAM上に設定される出力バッファの構
成を示す図である。
FIG. 3 is a diagram showing a configuration of an output buffer set on the RAM of FIG.

【図4】図1の楽音生成装置が行う楽音生成処理の概要
を説明するための図である。
FIG. 4 is a diagram for explaining an outline of a musical sound generation process performed by the musical sound generation device of FIG.

【図5】図1のCPUで実行されるメインルーチンのフ
ローチャートである。
5 is a flowchart of a main routine executed by the CPU of FIG.

【図6】MIDI受信割り込み処理のフローチャートで
ある。
FIG. 6 is a flowchart of MIDI reception interrupt processing.

【図7】図1のMIDIインターフェースを介してデー
タを受信したときのノートオンイベント処理のフローチ
ャートである。
7 is a flowchart of note-on event processing when data is received via the MIDI interface of FIG. 1. FIG.

【図8】パート音色選択スイッチが押されたときのパー
ト音色選択処理の手順を示すフローチャートである。
FIG. 8 is a flowchart showing a procedure of part tone color selection processing when a part tone color selection switch is pressed.

【図9】パートモード選択スイッチが押されたときのパ
ートモード選択処理の手順を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a procedure of part mode selection processing when a part mode selection switch is pressed.

【図10】パート波形選択スイッチが押されたときのパ
ート波形選択処理の手順を示すフローチャートである。
FIG. 10 is a flowchart showing a procedure of part waveform selection processing when a part waveform selection switch is pressed.

【図11】波形LPFスイッチが押されたときの波形L
PF処理の手順を示すフローチャートである。
FIG. 11 is a waveform L when the waveform LPF switch is pressed.
It is a flow chart which shows the procedure of PF processing.

【図12】図11の波形LPF処理により生成される波
形データの周波数特性の一例を示す図である。
12 is a diagram showing an example of frequency characteristics of waveform data generated by the waveform LPF processing of FIG.

【図13】図5のステップS6の音源処理サブルーチン
の詳細な手順を示すフローチャートである。
FIG. 13 is a flowchart showing a detailed procedure of a sound source processing subroutine of step S6 of FIG.

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

1 CPU(制御情報入力手段、楽音波形サンプル生成
手段、制御情報発生手段) 2 キーボード(演奏情報入力手段、操作子、制御情報
設定手段) 5 ROM 6 RAM(波形メモリ、記憶手段) 8 MIDIインターフェース(演奏情報入力手段) 9 ダイレクトメモリアクセス制御部(楽音発生手段) 10 DAコンバータ(楽音発生手段)
1 CPU (control information input means, musical tone waveform sample generation means, control information generation means) 2 Keyboard (performance information input means, operator, control information setting means) 5 ROM 6 RAM (waveform memory, storage means) 8 MIDI interface ( Performance information input means) 9 Direct memory access control section (musical sound generation means) 10 DA converter (musical sound generation means)

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数のチャンネルで生成された楽音波形
サンプルに基づいて楽音を発生するステップを備えた楽
音発生方法において、 演奏情報を入力するステップと、 ユーザが操作した操作子の操作量に応じた制御情報を入
力するステップと、 所定期間毎に、該所定期間内に前記入力された演奏情報
に応じたチャンネルの楽音波形サンプルを、前記入力さ
れた制御情報に応じたサンプル数で、当該各チャンネル
毎に生成するステップとを有し、 該生成された楽音波形サンプルに基づいて楽音を発生す
ることを特徴とする楽音発生方法。
1. A musical tone generating method including a step of generating a musical tone based on a musical tone waveform sample generated by a plurality of channels, the method comprising inputting performance information and an operation amount of an operator operated by a user. The step of inputting control information, and for each predetermined period, the musical tone waveform samples of the channels corresponding to the input performance information within the predetermined period are sampled according to the number of samples according to the input control information. And a step of generating for each channel, wherein a musical sound is generated based on the generated musical tone waveform sample.
【請求項2】 複数のチャンネルで生成された楽音波形
サンプルに基づいて楽音を発生するステップを備えた楽
音発生方法において、 複数パートの演奏情報を入力するステップと、 該各パートの制御情報を設定するステップと、 前記入力された演奏情報を前記複数のチャンネルのうち
のいずれかに割当て、該割当てられたチャンネルにおい
て、当該演奏情報が属する楽音波形サンプルを、当該演
奏情報が属するパートの前記設定された制御情報に応じ
た時間密度で生成するステップとを有し、 該生成された楽音波形サンプルに基づいて楽音を発生す
ることを特徴とする楽音発生方法。
2. A musical tone generating method including a step of generating a musical tone based on musical tone waveform samples generated by a plurality of channels, wherein the performance information of a plurality of parts is input, and the control information of each part is set. Assigning the input performance information to any one of the plurality of channels, and setting a musical tone waveform sample to which the performance information belongs to the assigned channel to the part to which the performance information belongs. Generating a musical tone based on the generated musical tone waveform sample, the musical tone generating method comprising: generating a musical tone based on the generated musical tone waveform sample.
【請求項3】 楽音波形サンプルに基づいて楽音を発生
するステップを備えた楽音発生方法において、 演奏情報を入力するステップと、 制御情報を発生するステップと、 前記入力した演奏情報に応じて、波形メモリに記憶され
た波形データに基づく楽音生成演算を実行し、前記発生
した制御情報に応じた時間密度で楽音波形サンプルを生
成するステップとを有し、 該楽音波形サンプルを生成するステップでは、前記発生
した制御情報に応じて前記波形メモリ中の異なる波形デ
ータを選択的に用いて楽音生成演算を行い、前記楽音を
発生するステップでは、該楽音生成演算により生成され
た楽音波形サンプルに基づいて楽音を発生することを特
徴とする楽音生成方法。
3. A musical tone generating method comprising a step of generating a musical tone based on a musical tone waveform sample, a step of inputting performance information, a step of generating control information, and a waveform according to the input performance information. Performing a tone generation calculation based on the waveform data stored in the memory, and generating tone waveform samples at a time density according to the generated control information. According to the generated control information, different waveform data in the waveform memory is selectively used to perform a musical tone generation operation, and in the step of generating the musical tone, a musical tone is generated based on the musical tone waveform sample generated by the musical tone generation operation. A method for generating a musical sound characterized by generating a.
【請求項4】 所定のサンプリング周波数で楽音を生成
するための第1の波形データを記憶手段に記憶するステ
ップと、 該記憶された第1の波形データを当該所定のサンプリン
グ周波数と異なったサンプリング周波数の波形データに
変換し、第2の波形データとして前記記憶手段に記憶す
るステップと、 前記記憶手段に記憶された波形データに基づいて楽音波
形サンプルを生成するステップとを有し、 該楽音波形サンプルを生成するステップでは、複数の異
なる時間密度で前記楽音波形サンプルを生成可能であ
り、該時間密度に応じて前記第1の波形データおよび前
記第2の波形データのうちいずれか一方を選択して、該
選択された波形データに基づいて楽音波形サンプルを生
成することを特徴とする楽音波形発生方法。
4. A step of storing, in a storage means, first waveform data for generating a musical sound at a predetermined sampling frequency, and a sampling frequency different from the predetermined sampling frequency of the stored first waveform data. Of the waveform data stored in the storage means and the step of generating a musical tone waveform sample based on the waveform data stored in the storage means. In the step of generating, the musical tone waveform sample can be generated at a plurality of different time densities, and one of the first waveform data and the second waveform data is selected according to the time density. A method for generating a musical tone waveform, which comprises generating a musical tone waveform sample based on the selected waveform data.
【請求項5】 複数のチャンネルで生成された楽音波形
サンプルに基づいて楽音を発生する楽音発生手段を備え
た楽音発生装置において、 演奏情報を入力する演奏情報入力手段と、 操作子の操作量に応じて制御情報を入力する制御情報入
力手段と、 所定期間毎に、該所定期間内に前記入力された演奏情報
に応じたチャンネルの楽音波形サンプルを、前記入力さ
れた制御情報に応じたサンプル数で、当該各チャンネル
毎に生成する楽音波形サンプル生成手段とを有し、 前楽音発生手段は、該生成された楽音波形サンプルに基
づいて楽音を発生することを特徴とする楽音発生装置。
5. A musical tone generating apparatus having musical tone generating means for generating musical tones based on musical tone waveform samples generated by a plurality of channels, wherein the musical performance information input means for inputting musical performance information and the operation amount of the manipulator are used. Control information input means for inputting control information in accordance with the number of samples of the musical tone waveform sample of the channel corresponding to the input performance information within the predetermined period for each predetermined period. And a musical tone waveform sample generating means for generating each channel, wherein the pre-musical tone generating means generates a musical tone based on the generated musical tone waveform sample.
【請求項6】 複数のチャンネルで生成された楽音波形
サンプルに基づいて楽音を発生する楽音発生手段を備え
た楽音発生装置において、 複数パートの演奏情報を入力する演奏情報入力手段と、 該各パートの制御情報を設定する制御情報設定手段と、 前記入力された演奏情報を前記複数のチャンネルのうち
のいずれかに割当て、該割当てられたチャンネルにおい
て、当該演奏情報が属する楽音波形サンプルを、当該演
奏情報が属するパートの前記設定された制御情報に応じ
た時間密度で生成する楽音波形サンプル生成手段とを有
し、 楽音発生手段は、該生成された楽音波形サンプルに基づ
いて楽音を発生することを特徴とする楽音発生装置。
6. A musical tone generating apparatus comprising musical tone generating means for generating musical tones based on musical tone waveform samples generated by a plurality of channels, and musical performance information input means for inputting musical performance information of a plurality of parts, and each of said parts. Control information setting means for setting the control information, and assigning the input performance information to any one of the plurality of channels, and assigning the musical tone waveform sample to which the performance information belongs to the assigned channel to the performance. And a musical tone waveform sample generating means for generating at a time density according to the set control information of the part to which the information belongs, and the musical tone generating means generates a musical tone based on the generated musical tone waveform sample. Characteristic tone generator.
【請求項7】 楽音波形サンプルに基づいて楽音を発生
する楽音発生手段を備えた楽音発生装置において、 演奏情報を入力する演奏情報入力手段と、 制御情報を発生する制御情報発生手段と、 前記入力した演奏情報に応じて、波形メモリに記憶され
た波形データに基づく楽音生成演算を実行し、前記発生
した制御情報に応じた時間密度で楽音波形サンプルを生
成する楽音波形サンプル生成手段とを有し、 該楽音波形サンプル生成手段は、前記発生した制御情報
に応じて前記波形メモリ中の異なる波形データを選択的
に用いて楽音生成演算を行い、前記楽音発生手段は、該
楽音生成演算により生成された楽音波形サンプルに基づ
いて楽音を発生することを特徴とする楽音生成装置。
7. A musical tone generating apparatus having musical tone generating means for generating musical tones based on musical tone waveform samples, performance information inputting means for inputting performance information, control information generating means for generating control information, and said inputting. A musical tone waveform sample generation means for performing musical tone generation calculation based on the waveform data stored in the waveform memory according to the performance information, and generating musical tone waveform samples at a time density according to the generated control information. The musical tone waveform sample generating means selectively uses different waveform data in the waveform memory in accordance with the generated control information to perform a musical tone generating operation, and the musical tone generating means generates the musical tone generating operation. A musical tone generating apparatus which generates a musical tone based on a musical tone waveform sample.
JP7275092A 1995-09-29 1995-09-29 Musical sound generating method and apparatus Expired - Fee Related JP2956552B2 (en)

Priority Applications (13)

Application Number Priority Date Filing Date Title
JP7275092A JP2956552B2 (en) 1995-09-29 1995-09-29 Musical sound generating method and apparatus
DE69632695T DE69632695T2 (en) 1995-09-29 1996-09-27 Method and apparatus for generating musical music
EP00103423A EP1011091B1 (en) 1995-09-29 1996-09-27 Musical tone-generating method and musical tone-generating apparatus
DE69611874T DE69611874T2 (en) 1995-09-29 1996-09-27 Method and device for generating musical tones
DE69632351T DE69632351T2 (en) 1995-09-29 1996-09-27 Method and apparatus for generating musical music
EP00103422A EP1011090B1 (en) 1995-09-29 1996-09-27 Musical tone-generating method and musical tone-generating apparatus
US08/722,633 US6326537B1 (en) 1995-09-29 1996-09-27 Method and apparatus for generating musical tone waveforms by user input of sample waveform frequency
EP96115597A EP0766226B1 (en) 1995-09-29 1996-09-27 Musical tone-generating method and musical tone-generating apparatus
SG1999001107A SG75928A1 (en) 1995-09-29 1996-09-28 Musical tone-generating method and musical tone-generating apparatus
SG1996010764A SG50769A1 (en) 1995-09-29 1996-09-28 Musical tone-generating method and musical tone-generating apparatus
KR1019960043063A KR100416932B1 (en) 1995-09-29 1996-09-30 A musical tone generating apparatus, a musical tone generating method, and a storage medium
US09/954,307 US6509519B2 (en) 1995-09-29 2001-09-14 Method and apparatus for generating musical tone waveforms by user input of sample waveform frequency
KR1020030033319A KR100402364B1 (en) 1995-09-29 2003-05-26 Apparatus and method for generating musical tones, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7275092A JP2956552B2 (en) 1995-09-29 1995-09-29 Musical sound generating method and apparatus

Publications (2)

Publication Number Publication Date
JPH0997084A true JPH0997084A (en) 1997-04-08
JP2956552B2 JP2956552B2 (en) 1999-10-04

Family

ID=17550684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7275092A Expired - Fee Related JP2956552B2 (en) 1995-09-29 1995-09-29 Musical sound generating method and apparatus

Country Status (1)

Country Link
JP (1) JP2956552B2 (en)

Also Published As

Publication number Publication date
JP2956552B2 (en) 1999-10-04

Similar Documents

Publication Publication Date Title
KR100319481B1 (en) Method and device for forming a tone waveform by combined use of different waveform sample forming resolutions
KR100402364B1 (en) Apparatus and method for generating musical tones, and storage medium
JP3008922B2 (en) Music sound generating apparatus and music sound generating method
JP4274152B2 (en) Music synthesizer
WO2007139034A1 (en) Music sound combining device and method
JP2000047663A (en) Musical tone data processor and computer system
JP4561636B2 (en) Musical sound synthesizer and program
JP2956552B2 (en) Musical sound generating method and apparatus
JP3000894B2 (en) Musical tone generation method
JP3649398B2 (en) Waveform processing method and apparatus
JP3223757B2 (en) Musical sound wave generation method
JP3603638B2 (en) Musical tone generation method
JPH07325581A (en) Musical sound generator
JP3603849B2 (en) Musical tone generation method
JPH10124060A (en) Method and device for musical sound generation and recording medium where program for sound generation is recorded
JP2000276149A (en) Method and device for generating music sound and recording medium
JP3148803B2 (en) Sound source device
JP5732769B2 (en) Music generator
JP3659002B2 (en) Musical sound data processing apparatus and computer system
JP5573465B2 (en) Music generator
JPH08211873A (en) Effect imparting device
JP2939098B2 (en) Electronic musical instrument
JP4306138B2 (en) Musical sound generator and musical sound generation processing program
JPS6335994B2 (en)
JP2001092450A (en) Audio file generation processing method

Legal Events

Date Code Title Description
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: 20090723

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090723

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100723

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100723

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120723

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees