JP2007047293A - Musical sound generating device and program - Google Patents

Musical sound generating device and program Download PDF

Info

Publication number
JP2007047293A
JP2007047293A JP2005229652A JP2005229652A JP2007047293A JP 2007047293 A JP2007047293 A JP 2007047293A JP 2005229652 A JP2005229652 A JP 2005229652A JP 2005229652 A JP2005229652 A JP 2005229652A JP 2007047293 A JP2007047293 A JP 2007047293A
Authority
JP
Japan
Prior art keywords
data
waveform data
musical sound
pitch
value
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
JP2005229652A
Other languages
Japanese (ja)
Other versions
JP4655812B2 (en
Inventor
Junichiro Soejima
淳一郎 副島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005229652A priority Critical patent/JP4655812B2/en
Publication of JP2007047293A publication Critical patent/JP2007047293A/en
Application granted granted Critical
Publication of JP4655812B2 publication Critical patent/JP4655812B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a musical sound generating device for generating musical sound using wave form data provided for each pitch, while suppressing an occupancy percentage of a semiconductor memory. <P>SOLUTION: The wave form data for indicating a time change of a wave peak value of the musical sound is stored in a ROM 13 for each pitch. The wave form data is divided into three parts of partial wave form data of a first wave form data, a middle wave form data and a last wave form data. A CPU 11 stores the first wave form data for each pitch in a RAM 12 beforehand and limits the other partial wave form data in data for generating the musical sound in which generation start is indicated by MIDI data input from an electronic musical instrument 20. Thereby, while suppressing the occupancy percentage of the wave form in the RAM 12, the musical sound is generated by using the wave form provided for each pitch. The sound is generated by outputting audio data (wave peak value) generated from the wave form data to a sound source system. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、楽音の波高値の時間変化を表す波形データを用いて発音させるべき楽音の波高値を順次、生成しその楽音を発音させる楽音発生装置に関する。   The present invention relates to a musical sound generating apparatus that sequentially generates a peak value of a musical sound to be generated using waveform data representing a temporal change in a peak value of a musical sound and generates the musical sound.

楽音の発音は通常、予め定めた時間間隔で楽音の波高値を生成することで行われる。生成された波高値をD/A変換し、それによって得られたアナログ信号(オーディオ信号)を音声に変換することにより、その楽音が発音される。   Musical sound is usually generated by generating a peak value of a musical sound at a predetermined time interval. The generated peak value is generated by D / A converting the generated peak value and converting an analog signal (audio signal) obtained thereby into sound.

そのような波高値の生成を行う方式として、楽音の波高値の時間変化を表す波形データを用いて行うPCM音源方式が知られている(特許文献1〜4)。そのPCM音源方式では一般的に、楽音(波形)を予め定めたサンプリング周期でサンプリングして得られた波形データが用いられる。人工的に作り出した、或いは作り出せる楽音では、その波形データは直接、生成することができる(特許文献1)。   As a method for generating such a peak value, there is known a PCM sound source method that uses waveform data representing a temporal change in the peak value of a musical sound (Patent Documents 1 to 4). In the PCM sound source system, generally, waveform data obtained by sampling a musical sound (waveform) at a predetermined sampling period is used. For musical sounds that are artificially created or that can be created, the waveform data can be directly generated (Patent Document 1).

大部分の楽音は、発音中に固有の時間変化をする。このため、波形データとしては、楽音の発音中の時間変化を再現できるものが用意されるのが普通である。そのような波形データは、多くのサンプリングデータ(波高値)から構成される。それにより、一部のサンプリングデータを繰り返し読み出すことで発音時間を制御することを想定した波形データ(特許文献3)であっても、そのデータ量は大きいのが実情である。   Most musical sounds have inherent time changes during pronunciation. For this reason, as the waveform data, it is common to prepare data that can reproduce the time change during the tone generation. Such waveform data is composed of a lot of sampling data (crest value). As a result, even in the case of waveform data (Patent Document 3) assuming that the sound generation time is controlled by repeatedly reading out a part of sampling data, the actual amount of data is large.

その波形データは通常、楽音のピッチによって変化する。しかし、波形データの大きさから、PCM音源方式を採用した従来の楽音発生装置は、複数の波形データのみを用意し、波形データ毎にそれぞれ異なるピッチ範囲を割り当てていた。それにより、ピッチ範囲内の各ピッチの楽音は同じ波形データを用いて発音させていた。その場合、ピッチの相違は、波形データからサンプリングデータを読み出す速さ(歩進幅)を変化させることで実現される。   The waveform data usually changes depending on the pitch of the musical sound. However, the conventional musical tone generator employing the PCM tone generator method has prepared only a plurality of waveform data and assigned a different pitch range for each waveform data because of the size of the waveform data. As a result, the musical tones of each pitch within the pitch range are pronounced using the same waveform data. In this case, the pitch difference is realized by changing the speed (step width) of reading the sampling data from the waveform data.

より高音質の楽音を発音できるようにするには、波形データはピッチ毎に用意すべきと言える。楽音の発音に用いる波形データは、高速な処理を行う必要から、アクセス速度の速い半導体メモリ(記憶装置)に用意しておかなければならない。このため、ピッチ毎に用意した波形データを単に半導体メモリにコピー(展開)すると、半導体メモリに占める波形データの割合(専有率)が高くなってしまうことが考えられる。その割合が高くなると、他の処理のために半導体メモリのなかで利用可能な部分が少なくなるから、その処理を高速に行えないといった不具合が発生しやすくなる。このことから、大容量の半導体メモリが搭載されることも多くはなっているが、ピッチ毎に波形データを用意する場合には、半導体メモリの専有率を抑えることも重要であると考えられる。
特許第2571559号 特許第2585519号 特開昭58−178395号公報 特開平11−296174号公報
It can be said that waveform data should be prepared for each pitch in order to be able to produce a higher-quality musical tone. Since the waveform data used for sound generation needs to be processed at high speed, it must be prepared in a semiconductor memory (storage device) having a high access speed. For this reason, if the waveform data prepared for each pitch is simply copied (developed) to the semiconductor memory, the ratio (exclusive ratio) of the waveform data in the semiconductor memory may increase. When the ratio increases, the portion that can be used in the semiconductor memory for other processing decreases, and thus a problem that the processing cannot be performed at high speed is likely to occur. For this reason, a large-capacity semiconductor memory is often mounted. However, when waveform data is prepared for each pitch, it is considered important to suppress the occupation ratio of the semiconductor memory.
Japanese Patent No. 2571559 Japanese Patent No. 2558519 JP 58-178395 A Japanese Patent Laid-Open No. 11-296174

本発明の課題は、半導体メモリの専有率を抑えつつ、ピッチ毎に用意された波形データを用いて楽音を発音できる楽音発生装置を提供することにある。   An object of the present invention is to provide a musical sound generating apparatus capable of generating musical sounds using waveform data prepared for each pitch while suppressing the occupation rate of semiconductor memory.

本発明の楽音発生装置は、楽音の波高値の時間変化を表す波形データを用いて発音させるべき楽音の波高値を順次、生成して該楽音を発音させることを前提とし、波形データを取得できるデータ取得手段と、データ取得手段が取得した波形データを記憶する記憶手段と、発音させるべき楽音の波高値の生成に該楽音のピッチ毎で異なる波形データを用いる場合に、該波形データを分割して得られる複数の部分波形データのなかで先頭に位置する第1の部分波形データを該波形データ毎にデータ取得手段に取得させて予め記憶手段に記憶させ、該第1の部分波形データに続く部分波形データである第2の部分波形データは随時、該データ取得手段に取得させて該記憶手段に記憶させるデータ管理手段と、を具備する。   The musical tone generator according to the present invention can acquire waveform data on the premise that the musical tone is generated by sequentially generating the peak values of the musical tone to be generated using the waveform data representing the temporal change of the peak value of the musical tone. When using waveform data different for each pitch of the tone for generating the peak value of the tone to be sounded, the data acquisition unit, the storage unit for storing the waveform data acquired by the data acquisition unit, and dividing the waveform data The first partial waveform data located at the head of the plurality of partial waveform data obtained in this manner is acquired by the data acquisition means for each waveform data and stored in advance in the storage means, and the first partial waveform data is continued. The second partial waveform data, which is partial waveform data, includes data management means for acquiring the data acquisition means and storing it in the storage means as needed.

なお、上記データ管理手段は、発音させるべき楽音の波高値の生成に必要な第2の部分波形データを随時、データ取得手段に取得させて記憶手段に記憶させる、ことが望ましい。また、発音させるべき楽音のピッチを基に、該ピッチ近傍のピッチに対応する波形データの第2の部分波形データをデータ取得手段に事前に取得させて記憶手段に記憶させる、ことが望ましい。更に、ピッチ毎で異なる波形データが楽音を発音させる強さを示すベロシティ値に応じて複数、用意されている場合、データ管理手段は、第1の部分波形データを該波形データ毎にデータ取得手段に取得させて予め記憶手段に記憶させ、第2の部分波形データは、発音させるべき楽音に対して指定されたベロシティ値に応じて該データ取得手段に随時、取得させて該記憶手段に記憶させる、ことが望ましい。   It is desirable that the data management means causes the data acquisition means to acquire the second partial waveform data necessary for generating the peak value of the musical tone to be generated and store it in the storage means as needed. Further, it is desirable that the second partial waveform data of the waveform data corresponding to the pitch in the vicinity of the pitch is acquired in advance by the data acquisition unit and stored in the storage unit based on the pitch of the musical sound to be generated. Further, when a plurality of waveform data different for each pitch is prepared in accordance with a velocity value indicating the intensity of generating a musical sound, the data management means obtains the first partial waveform data for each waveform data. The second partial waveform data is acquired by the data acquisition unit as needed according to the velocity value specified for the tone to be generated and stored in the storage unit. Is desirable.

本発明のプログラムは、楽音の波高値の時間変化を表す波形データを用いて発音させるべき楽音の波高値を順次、生成して該楽音を発音させる楽音発生装置に実行させることを前提とし、波形データを取得できる機能と、取得できる機能により取得した波形データを記憶装置に記憶できる機能と、発音させるべき楽音の波高値の生成に該楽音のピッチ毎で異なる波形データを用いる場合に、該波形データを分割して得られる複数の部分波形データのなかで先頭に位置する第1の部分波形データを該波形データ毎に取得できる機能により取得させて予め記憶できる機能により記憶装置に記憶させ、該第1の部分波形データに続く部分波形データである第2の部分波形データは随時、該取得できる機能により取得させて該記憶装置に該記憶できる機能により記憶させる機能と、を実現させる。   The program of the present invention is based on the premise that a musical tone generator for generating a musical tone by sequentially generating a peak value of a musical tone to be generated using waveform data representing a temporal change in a peak value of a musical tone is executed. A function that can acquire data, a function that can store waveform data acquired by the function that can be acquired in a storage device, and a waveform data that is different for each pitch of the musical sound to generate a peak value of the musical sound to be generated. The first partial waveform data located at the head of the plurality of partial waveform data obtained by dividing the data is acquired by a function that can be acquired for each waveform data and stored in a storage device by a function that can be stored in advance, Second partial waveform data, which is partial waveform data following the first partial waveform data, can be acquired by the function that can be acquired and stored in the storage device at any time. A function of storing the ability to realize.

本発明は、ピッチ毎に用意した楽音の波高値の時間変化を表す波形データを用いて、発音させるべき楽音の波高値を生成する場合に、その波形データを分割して得られる複数の部分波形データのなかで先頭に位置する第1の部分波形データを波形データ(ピッチ)毎に半導体メモリ等の記憶装置に記憶させ、その第1の部分波形データに続く部分波形データである第2の部分波形データは状況に応じて随時、動的にその記憶装置に記憶させる。そのため、波形データを全て記憶装置に記憶させる場合と比較して、波形データがその記憶装置に占める専有率を低く抑えることができる。それにより、記憶装置は多くの処理の実行用として、より適切な形で共有化することができる。楽音は、ピッチ毎に用意した波形データを用いて発音させるため、より高音質の楽音を発音できることとなる。   The present invention provides a plurality of partial waveforms obtained by dividing the waveform data when generating the peak value of the tone to be generated using the waveform data representing the temporal change of the peak value of the tone prepared for each pitch. First partial waveform data positioned at the head of the data is stored in a storage device such as a semiconductor memory for each waveform data (pitch), and a second portion which is partial waveform data following the first partial waveform data The waveform data is dynamically stored in the storage device at any time according to the situation. Therefore, compared with the case where all the waveform data is stored in the storage device, the occupation ratio of the waveform data in the storage device can be kept low. Thereby, the storage device can be shared in a more appropriate form for executing many processes. Since the musical sound is generated using the waveform data prepared for each pitch, a higher-quality musical sound can be generated.

以下、本発明の実施の形態について、図面を参照しながら詳細に説明する。
<第1の実施の形態>
図1は、第1の実施の形態による楽音発生装置の構成を説明する図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<First Embodiment>
FIG. 1 is a diagram for explaining the configuration of a musical sound generator according to the first embodiment.

その楽音発生装置10は、図1に示すように、装置10全体の制御を行うCPU11と、そのCPU11がワークに用いるRAM12と、CPU11が実行するプログラムや各種制御用データ、及び波形データ等を格納したROM103と、例えばキーボードやポインティングデバイス(マウス等)、CD−ROMやDVD等の記録媒体にアクセスする媒体駆動装置、及びそれらのインターフェース等からなる入力部14と、表示装置に画像を表示させる表示部15と、外部装置との間でMIDIデータを送受信するためのMIDIインターフェース(I/F)16と、発音させる楽音のデジタルデータ(波高値)を外部装置に出力するためのオーディオインターフェース(I/F)17と、を備えた構成となっている。   As shown in FIG. 1, the musical sound generator 10 stores a CPU 11 that controls the entire apparatus 10, a RAM 12 that the CPU 11 uses for work, a program executed by the CPU 11, various control data, waveform data, and the like. ROM 103, for example, a keyboard or pointing device (such as a mouse), a medium driving device for accessing a recording medium such as a CD-ROM or DVD, an input unit 14 including those interfaces, and a display for displaying an image on the display device A MIDI interface (I / F) 16 for transmitting and receiving MIDI data between the unit 15 and an external device, and an audio interface (I / F) for outputting digital data (peak value) of a musical tone to be generated to the external device F) 17.

上記MIDI I/F16には、キーボード21、及びそれに対する操作内容を示すMIDIデータを生成して出力するMIDIインターフェース(I/F)22を備えた電子楽器20が接続され、上記オーディオI/F17には、波高値を入力して音声に変換できる音源システム30が接続されている。それにより、本実施の形態による楽音発生装置10は、電子楽器20のMIDI I/F22からMIDIデータを入力して、そのMIDIデータにより発音が指示された楽音の波高値を生成し、それを音源システム30に出力することにより楽音を発音させるようになっている。音源システム30は、例えばD/A変換器、アンプ、及びスピーカを少なくとも備えたものである。   Connected to the MIDI I / F 16 is an electronic musical instrument 20 having a keyboard 21 and a MIDI interface (I / F) 22 for generating and outputting MIDI data indicating the operation contents for the keyboard 21, and the audio I / F 17. Is connected to a sound source system 30 that can input a peak value and convert it into sound. Thereby, the musical sound generating apparatus 10 according to the present embodiment inputs MIDI data from the MIDI I / F 22 of the electronic musical instrument 20, generates a peak value of a musical sound whose pronunciation is instructed by the MIDI data, and uses it as a sound source. By outputting to the system 30, the musical sound is generated. The sound source system 30 includes at least a D / A converter, an amplifier, and a speaker, for example.

その楽音発生装置10は、例えばパーソナルコンピューター(PC)に、楽音発生装置10として動作させるためのアプリケーション・プログラム(以下「アプリケーション」)を搭載させることにより実現させている。そのアプリケーションは、例えば入力部14を構成する媒体駆動装置がアクセス可能な記録媒体に記録して提供するものである。そのアプリケーションは、インターネット等のネットワークを介して配信するようにしても良い。   The musical sound generator 10 is realized by, for example, mounting an application program (hereinafter referred to as “application”) for operating as the musical sound generator 10 on a personal computer (PC). For example, the application is recorded on a recording medium accessible by the medium driving device constituting the input unit 14 and provided. The application may be distributed via a network such as the Internet.

アプリケーションを搭載(インストール)できるように、ROM13としては書き込み可能なメモリ(例えばフラッシュメモリ)が採用されている。そのアプリケーションが記録された記録媒体には、楽音の波高値を生成するための各種波形データが多数、記録されている。その波形データのなかには、ピッチ毎に用意したものが存在する。楽音発生装置10を実現させるPCは、ROM13の他に、或いはその代わりにハードディスク装置等の補助記憶装置を搭載したものであっても良い。そのアプリケーションについては以降「楽音発生アプリケーション」と呼ぶことにする。   A writable memory (for example, a flash memory) is employed as the ROM 13 so that an application can be installed (installed). On the recording medium on which the application is recorded, a large number of various waveform data for generating the peak value of the musical sound are recorded. Some of the waveform data are prepared for each pitch. The PC that implements the musical sound generation device 10 may be one in which an auxiliary storage device such as a hard disk device is mounted in addition to or instead of the ROM 13. The application is hereinafter referred to as “musical sound generation application”.

ピッチ毎に用意した波形データは、ROM13に保存させることができるようになっている。また、必要に応じて、記録媒体からコピーすることもできるようにしている。ここでは説明上、便宜的にROM13に保存されている場合のみを想定する。楽音の発音に用いる波形データとしては、同様にピッチ毎に用意した波形データのみを想定する。   Waveform data prepared for each pitch can be stored in the ROM 13. Further, it is possible to copy from a recording medium as required. Here, for the sake of explanation, it is assumed that the data is stored in the ROM 13 for convenience. Similarly, only waveform data prepared for each pitch is assumed as waveform data used for the sound generation.

ROM13に保存した波形データは、RAM12にコピーして使用している。これは、一般的にRAM12はROM13よりもアクセス速度が速いからである。それにより、より高速に、発音させるべき楽音の波高値を生成できるようにしている。   The waveform data stored in the ROM 13 is copied to the RAM 12 and used. This is because the RAM 12 generally has a higher access speed than the ROM 13. As a result, it is possible to generate a peak value of a musical tone to be generated at a higher speed.

波形データをピッチ毎に用意することにより、それを構成するサンプリングデータ(波高値)は単に順次、読み出せば良いようにしている。それにより、データを読み出す速さ(歩進幅)に応じた補間を行わなくとも良いようにしている。その補間演算を行う必要性を回避させたため、発音させるべき楽音の波高値はより簡単に生成することができる。   By preparing waveform data for each pitch, sampling data (crest value) constituting the waveform data is simply read out sequentially. Thus, it is not necessary to perform interpolation according to the speed of reading data (step width). Since the necessity of performing the interpolation operation is avoided, the peak value of the musical sound to be generated can be generated more easily.

本実施の形態では、各波形データは3つに分割して、つまり発音開始時に用いる部分の波形データ(第1の部分波形データ。以降「先頭波形データ」と呼ぶ)、その後の発音に用いる部分の波形データ(以降「中間波形データ」と呼ぶ)、及び更にその後の発音に用いる部分の波形データ(以降「最終波形データ」と呼ぶ)に分割して用意している(それらは共に第2の部分発音データに相当)。中間波形データ、及び最終波形データは、そのうちの一方による発音が終了した後、他方による発音を行うものとして用意している。それにより、先頭波形データによる発音が終了した後は、楽音の発音自体が終了するまでの間、中間波形データ→最終波形データ、最終波形データ→中間波形データ、のように交互に発音用の部分波形データの切り換えるようにしている。   In the present embodiment, each waveform data is divided into three, that is, the waveform data of the portion used at the start of sound generation (first partial waveform data; hereinafter referred to as “first waveform data”), and the portion used for subsequent sound generation Waveform data (hereinafter referred to as “intermediate waveform data”), and further divided into waveform data used for subsequent sound generation (hereinafter referred to as “final waveform data”). Equivalent to partial pronunciation data). The intermediate waveform data and the final waveform data are prepared so that sound generation by one of them is performed after sound generation by one of them is completed. As a result, after the end of the sound generation by the first waveform data, until the end of the tone sound itself, the parts for sound generation are alternately shown as intermediate waveform data → final waveform data, final waveform data → intermediate waveform data. Waveform data is switched.

本実施の形態では、上記先頭波形データは波形データ(ピッチ)毎にRAM12に予めロード(コピー)する。その後は、ユーザーの電子楽器20への演奏操作によって入力するMIDIデータで発音開始が指示された楽音のピッチに対応する中間波形データをロードする。その後は、その楽音の発音を終了させるまでの間、最終波形データ、中間波形データを交互にロードし、それらのうちの一方は不必要になった段階で消去する。このことから、RAM12に保存される先頭波形データ以外の部分波形データは、楽音の発音開始を指示するMIDIデータの入力、発音開始から経過した時間、その消音を指示するMIDIデータの入力等による消音、といった状況に応じて変化することとなる。   In the present embodiment, the top waveform data is loaded (copied) in advance into the RAM 12 for each waveform data (pitch). After that, the intermediate waveform data corresponding to the pitch of the musical tone instructed to start sounding by the MIDI data input by the user's performance operation on the electronic musical instrument 20 is loaded. Thereafter, the final waveform data and the intermediate waveform data are alternately loaded until the end of the tone generation, and one of them is erased when it becomes unnecessary. For this reason, partial waveform data other than the top waveform data stored in the RAM 12 is muted by inputting MIDI data for instructing the start of tone generation, the time elapsed from the start of tone generation, inputting MIDI data for instructing the muting, and the like. It will change depending on the situation.

そのようにして、先頭波形データ以外の部分波形データは、必要なもののみを必要な間だけRAM12に保存させている。このため、RAM12に保存させた波形データがそれに占める割合(専有率)は、各部分波形データを波形データ毎に全て保存させた場合と比較して大幅に小さくさせることができる。それにより、楽音の発音に係わらない処理(上記楽音発生アプリケーション以外のプログラムの実行による処理)における速度の低下はより回避、或いはより抑えることができる。ピッチ毎に用意した波形データを用いて楽音を発音させるため、より高音質の楽音を発音させることができる。   In this way, only the necessary partial waveform data other than the top waveform data is stored in the RAM 12 as long as necessary. For this reason, the ratio (exclusive ratio) of the waveform data stored in the RAM 12 can be significantly reduced as compared with the case where all the partial waveform data is stored for each waveform data. As a result, a decrease in speed in processing that is not related to tone generation (processing by executing a program other than the tone generation application) can be further avoided or suppressed. Since the musical sound is generated using the waveform data prepared for each pitch, it is possible to generate a higher quality musical sound.

上述したような先頭波形データ以外の部分波形データのRAM12への保存を実現するために、本実施の形態では、図2〜図5に示す各種データを管理している。図2〜図5を参照して、それらのデータについて具体的に説明する。   In this embodiment, various data shown in FIGS. 2 to 5 are managed in order to realize the storage of the partial waveform data other than the head waveform data as described above in the RAM 12. The data will be specifically described with reference to FIGS.

図2は、音色データの構成を説明する図である。その音色データは、波形データを音色単位で管理するために音色毎に用意されるデータである。図2に示すように、音色データは、対応するチャンネル番号を示すデータiID、発音中の楽音数を示すデータiNoteOnCnt、対応するピッチデータのなかで先頭ピッチ(例えば最低ピッチ)のピッチデータの格納場所を示すデータpTD、前の音色データの格納場所を示すデータpPrev、及び次の音色データの格納場所を示すデータpNext、を備えている。   FIG. 2 is a diagram for explaining the configuration of timbre data. The timbre data is data prepared for each timbre in order to manage the waveform data in timbre units. As shown in FIG. 2, the timbre data includes data iID indicating the corresponding channel number, data iNoteOnCnt indicating the number of tones being generated, and the storage location of the pitch data of the first pitch (for example, the lowest pitch) among the corresponding pitch data. Data pTD, data pPrev indicating the storage location of the previous tone color data, and data pNext indicating the storage location of the next tone color data.

図3は、ピッチデータの構成を説明する図である。そのピッチデータは、音色毎、ピッチ毎に用意されるデータであり、上記データpTDとしては、対応する音色での先頭ピッチのピッチデータの格納場所を示すデータがそれぞれの音色データに格納される。図3に示すように、ピッチデータは、対応するピッチを示すデータiPitch(ピッチ番号:ノートナンバー)、そのピッチの楽音の状態を示すデータiStatus(0の値は消音中、1の値は発音中、2の値は消音処理中、をそれぞれ表す)、対応するソースデータの格納場所を示すデータpSD、前のピッチデータの格納場所を示すデータpPrev、及び次のピッチデータの格納場所を示すデータpNext、を備えている。   FIG. 3 is a diagram for explaining the configuration of pitch data. The pitch data is data prepared for each tone color and for each pitch. As the data pTD, data indicating the storage location of the pitch data of the leading pitch in the corresponding tone color is stored in each tone color data. As shown in FIG. 3, the pitch data includes data iPitch (pitch number: note number) indicating the corresponding pitch, and data iStatus indicating the state of the musical tone of the pitch (0 is muted, 1 is sounding) 2 represents data being silenced), data pSD indicating the storage location of the corresponding source data, data pPrev indicating the storage location of the previous pitch data, and data pNext indicating the storage location of the next pitch data It is equipped with.

図4は、ソースチデータの構成を説明する図である。そのソースデータは、波形データ毎に用意されるデータである。図4に示すように、ソースデータは、対応する波形データのRAM12にコピーされた先頭波形データの先頭アドレスを示すデータpDAta[0]、RAM12にコピーされた中間波形データの先頭アドレスを示すデータpDAta[1]、RAM12にコピーされた最終波形データの先頭アドレスを示すデータpDAta[2]、波形データのファイル名(オリジナルの格納場所)を示すデータfileName、その波形データ全体の長さを示すデータfLength、波高値生成用に参照中の部分波形データ(図中「バッファ」と表記)を示すデータiIndex、波形データが対応するベロシティ範囲の下限値を示すデータminVel、その上限値を示すデータmaxVel、前のピッチデータの格納場所を示すデータpPrev、及び次のピッチデータの格納場所を示すデータpNext、を備えている。   FIG. 4 is a diagram for explaining the configuration of source log data. The source data is data prepared for each waveform data. As shown in FIG. 4, the source data includes data pDAta [0] indicating the start address of the start waveform data copied to the RAM 12 of the corresponding waveform data, and data pDAta indicating the start address of the intermediate waveform data copied to the RAM 12. [1], data pDAta [2] indicating the start address of the final waveform data copied to the RAM 12, data fileName indicating the file name (original storage location) of the waveform data, and data fLength indicating the length of the entire waveform data , Data iIndex indicating partial waveform data being referred to for generating a crest value (indicated as “buffer” in the figure), data minVel indicating the lower limit value of the velocity range corresponding to the waveform data, data maxVel indicating the upper limit value, PPre indicating the storage location of the pitch data of , And a data pNext, indicating the storage location of the next pitch data.

図5は、発音データの構成を説明する図である。その発音データは、発音中の波形データ毎に用意されるデータである。図5に示すように、発音データは、識別情報であるデータiID、対応する音色データ(チャンネル)を示すデータiTone(例えば対応する音色データ中のデータiID)、楽音のピッチを示すデータiPitch、そのベロシティを示すデータiOnVel、そのピッチの楽音の状態を示すデータiStatus(0の値は消音中、1の値は発音中、2の値は消音処理中、をそれぞれ表す)、対応するソースデータの格納場所を示すデータpSD、発音開始時刻を示すデータlOnStart、その消音開始時刻を示すデータlOffStart、消音処理中での減衰率を示すデータfRelease、前の発音データの格納場所を示すデータpPrev、及び次のピッチデータの格納場所を示すデータpNext、を備えている。上記データiOnVelは電子楽器20から入力するMIDIデータ中から抽出したベロシティ値である。そのベロシティ値は、周知のように、押鍵時の速さ、つまり楽音を発音させる強さを表している。   FIG. 5 is a diagram for explaining the structure of the pronunciation data. The sounding data is data prepared for each waveform data being sounded. As shown in FIG. 5, the sound generation data includes data iID as identification information, data iTone indicating the corresponding timbre data (channel) (for example, data iID in the corresponding timbre data), data iPitch indicating the pitch of the musical tone, Data iOnVel indicating the velocity, data iStatus indicating the state of the musical tone of the pitch (value of 0 indicates mute, value of 1 is sounding, value of 2 indicates mute processing), storage of corresponding source data The data pSD indicating the location, the data lOnStart indicating the sound generation start time, the data lOffStart indicating the mute start time, the data fRelease indicating the attenuation rate during the mute processing, the data pPrev indicating the storage location of the previous sound generation data, and the next Data pNext indicating the storage location of the pitch data is provided. The data iOnVel is a velocity value extracted from the MIDI data input from the electronic musical instrument 20. As is well known, the velocity value represents the speed at which a key is pressed, that is, the strength with which a musical sound is produced.

上記発音データ以外のデータ、つまり音色データ、ピッチデータ、及びソースデータは、例えば楽音発生アプリケーションの実行中、消去させないデータとしている。このことから、RAM12への先頭波形データ以外の部分波形データのロード(コピー)は、状況により、必要に応じて発音データの生成、或いは消去をしながら、存在する発音データを含む各種データを随時、更新していくことで行うようになっている。以降は図6〜図10に示す各種フローチャートを参照して、それらのデータを管理しながら必要な部分波形データをRAM12に保存させる楽音発生装置10の動作について詳細に説明する。   Data other than the sound generation data, that is, timbre data, pitch data, and source data, for example, is data that is not deleted during execution of the musical tone generating application. For this reason, loading (copying) of partial waveform data other than the top waveform data to the RAM 12 is performed as necessary, while generating or erasing the sound generation data as required, and various data including existing sound generation data. It is designed to be done by updating. Hereinafter, with reference to various flowcharts shown in FIGS. 6 to 10, the operation of the musical tone generator 10 that stores necessary partial waveform data in the RAM 12 while managing those data will be described in detail.

図6は、全体処理のフローチャートである。これは、上記楽音発生アプリケーションを起動させてから終了させるまでの間に実行する処理を抜粋してその流れを示したものである。それにより、CPU11が、その楽音発生アプリケーションをROM13からRAM12に読み出して実行することで実現される。始めに図6を参照して、その全体処理について詳細に説明する。   FIG. 6 is a flowchart of the entire process. This shows the flow of excerpts of the processing executed from when the musical tone generating application is started to when it is terminated. Accordingly, the CPU 11 is realized by reading the musical tone generating application from the ROM 13 to the RAM 12 and executing it. First, the entire process will be described in detail with reference to FIG.

先ず、ステップ101では、MIDI I/F16用のドライバをROM13からRAM12にロードして起動させる。続くステップ102では、同様にオーディオI/F17用のドライバをロードして起動させる。以降は、発音させるべき楽音の波高値(オーディオデータ)をオーディオI/F17から出力するためのオーディオデータ出力スレッドを起動させ(ステップ103)、音色定義ファイルとしてROM13に保存されている図2〜図4に示す各種データを読み込んでRAM12に展開し(ステップ104)、波形データ毎にその先頭波形データ(図中「音色データ」と表記)をROM13から読み出してRAM12にロードする(ステップ105)。そのロードにより初期化が終了し、ステップ106に移行して、入力部14、或いはMIDI I/F16によるデータの入力を待つ。ここでは、入力部14を操作してのデータ入力については、楽音発生アプリケーションの終了指示のみを想定する。   First, in step 101, a driver for the MIDI I / F 16 is loaded from the ROM 13 to the RAM 12 and activated. In the subsequent step 102, a driver for the audio I / F 17 is similarly loaded and activated. Thereafter, an audio data output thread for outputting the peak value (audio data) of the tone to be generated from the audio I / F 17 is activated (step 103), and stored in the ROM 13 as a tone definition file. 4 is read and expanded in the RAM 12 (step 104), and for each waveform data, the top waveform data (indicated as “tone data” in the figure) is read from the ROM 13 and loaded into the RAM 12 (step 105). The initialization is completed by the load, and the process proceeds to step 106 to wait for data input by the input unit 14 or the MIDI I / F 16. Here, for the data input by operating the input unit 14, only an instruction to end the musical sound generating application is assumed.

電子楽器20のキーボード21を構成するキー(鍵)をユーザーが押鍵、或いは離鍵すると、MIDI I/F22はその演奏操作の内容、及びその操作が行われたキーに応じたMIDIデータを生成して楽音発生装置10のMIDI I/F16に出力する。入力部14を構成するキーボード、或いはポインティングデバイスを操作すると、その操作内容が入力部14からCPU11に通知される。それにより、ステップ106からステップ107に移行し、入力が楽音発生アプリケーションの終了コマンドか否か判定する。そのアプリケーションを終了させるための操作をユーザーが入力部14に対して行った場合、判定はYESとなってステップ110に移行する。そうでない場合には、判定はNOとなってステップ108に移行する。   When a user presses or releases a key constituting the keyboard 21 of the electronic musical instrument 20, the MIDI I / F 22 generates the contents of the performance operation and MIDI data corresponding to the key on which the operation has been performed. Then, it is output to the MIDI I / F 16 of the musical tone generator 10. When a keyboard or a pointing device constituting the input unit 14 is operated, the operation content is notified from the input unit 14 to the CPU 11. Thereby, the process proceeds from step 106 to step 107, and it is determined whether or not the input is an end command of the musical tone generating application. If the user performs an operation for terminating the application on the input unit 14, the determination is yes and the process proceeds to step 110. Otherwise, the determination is no and the process moves to step 108.

ステップ108では、入力がMIDIデータか否か判定する。MIDI I/F16がMIDIデータを入力した場合、判定YESとなり、ステップ109に移行して、その入力に対応するためのMIDI IN処理を実行した後、上記ステップ106に戻る。一方、そうでない場合には、判定はNOとなり、そのステップ106に戻る。   In step 108, it is determined whether or not the input is MIDI data. If the MIDI I / F 16 has input MIDI data, the determination is YES, the process proceeds to step 109, the MIDI IN process corresponding to the input is executed, and then the process returns to step 106. On the other hand, if not, the determination is no and the process returns to step 106.

上記ステップ107の判定がYESとなって移行するステップ110では、オーディオデータ出力スレッドを終了させる。その終了は、例えばそのスレッド終了管理用の変数に、終了を指示する値を代入することで行う。以降は、RAM12に格納されている図2〜図5に示す各種データを消去し(ステップ111)、オーディオI/F17のドライバを終了(開放)させ(ステップ112)、MIDI I/F16のドライバを終了(開放)させる(ステップ113)。そのようにして各種ドライバやデータをRAM12から消去させた後、一連の処理を終了、つまり楽音発生アプリケーションを終了させる。   In step 110 where the determination in step 107 is YES and the process proceeds, the audio data output thread is terminated. The termination is performed, for example, by substituting a value for instructing termination into the thread termination management variable. Thereafter, various data shown in FIGS. 2 to 5 stored in the RAM 12 are deleted (step 111), the driver of the audio I / F 17 is terminated (released) (step 112), and the driver of the MIDI I / F 16 is turned on. End (open) (step 113). After erasing various drivers and data from the RAM 12 in this manner, a series of processing is terminated, that is, the musical tone generating application is terminated.

図7は、上記ステップ109として実行されるMIDI IN処理のフローチャートである。次にそのIN処理について、図7に示すそのフローチャートを参照して詳細に説明する。   FIG. 7 is a flowchart of the MIDI IN process executed as step 109 described above. Next, the IN process will be described in detail with reference to the flowchart shown in FIG.

このIN処理は、MIDI I/F17を介して入力したMIDIデータに対応するための処理である。そのMIDIデータの種類は多数、存在するが、ここでは本発明に特に係わるデータ、つまりノートオンメッセージ、ノートオフメッセージの2種類のMIDIデータのみにのみ注目して説明する。   This IN process is a process for dealing with MIDI data input via the MIDI I / F 17. There are many types of MIDI data, but here, only data related to the present invention, that is, only two types of MIDI data of note-on message and note-off message will be described.

先ず、ステップ201では、入力したMIDIデータが楽音の発音開始を指示するノートオンメッセージか否か判定する。そのMIDIデータがノートオンメッセージでなかった場合、判定はYESとなってステップ206に移行する。そうでない場合には、判定はYESとなってステップ202に移行する。   First, in step 201, it is determined whether or not the input MIDI data is a note-on message instructing the start of tone generation. If the MIDI data is not a note-on message, the determination is yes and the process moves to step 206. Otherwise, the determination is yes and the process moves to step 202.

ステップ202では、入力したMIDIデータから、チャンネル番号、ノートナンバー(ピッチ)、及びベロシティ値を抽出し、それぞれ変数ich、iPit、及びiVelに代入する。続くステップ203では、変数ich、iPitの各値で指定されるピッチデータ、つまり新たに楽音の発音開始が指示されたチャンネル、そのピッチから対応するピッチデータを特定してそのインデクス値を変数tdに代入し、その変数tdの値で指定されるピッチデータを更新する。具体的にはデータiStatusの値を1に変更する。対応する音色データ中のデータiNoteOnCntは、その値をインクリメントして更新する。その後、ステップ204に移行する。   In step 202, a channel number, a note number (pitch), and a velocity value are extracted from the input MIDI data, and substituted into variables ich, iPit, and iVel, respectively. In the next step 203, the pitch data designated by the values of the variables ich and iPit, that is, the channel that is newly instructed to start the tone generation, the corresponding pitch data is identified from the pitch, and the index value is set in the variable td. Substitute and update the pitch data specified by the value of the variable td. Specifically, the value of the data iStatus is changed to 1. Data iNoteOnCnt in the corresponding timbre data is updated by incrementing the value. Thereafter, the process proceeds to step 204.

ステップ204では、発音データの格納用にRAM12に確保した領域中から、発音データが格納されていない場所(位置)を特定し、その場所を示すインデクス値を変数ndに代入する。次に移行するステップ205では、変数ndの値で指定される場所に発音データを格納する。具体的には、データiTone(図中「nd.iTone」と表記)として変数ichの値、データiPitch(図中「nd.iPitch」と表記)として変数iPitの値、データiOnVel(図中「nd.iOnVel」と表記)として変数iVelの値、データiStatus(図中「nd.iStatus」と表記)として1、データpSD(図中「nd.pSD」と表記)として対応するピッチデータのデータpSD(図中「td.pSD」と表記)、データlOnStart(図中「nd.lOnStart」と表記)として現在時刻を示す値、をそれぞれ格納する。その後、一連の処理を終了する。   In step 204, a location (position) where the pronunciation data is not stored is specified from the area secured in the RAM 12 for storing the pronunciation data, and an index value indicating the location is substituted into the variable nd. In the next step 205, the pronunciation data is stored in a location specified by the value of the variable nd. Specifically, the value of variable ich is represented as data iTone (indicated as “nd.iTone” in the figure), the value of variable iPit as data iPitch (indicated as “nd.iPitch” in the figure), and data iOnVel (“nd. .IOnVel "), the value of the variable iVel, the data iStatus (indicated as" nd.iStatus "in the figure), 1 and the pitch data data pSD (indicated as" nd.pSD "in the figure) A value indicating the current time is stored as “td.pSD” in the figure) and data lOnStart (indicated as “nd.lOnStart” in the figure). Thereafter, the series of processing is terminated.

このようにして、ノートオンメッセージのMIDIデータの入力により、そのMIDIデータから特定される音色データ、ピッチデータが更新され、発音データが新たに生成される。   In this way, by inputting the MIDI data of the note-on message, the tone color data and pitch data specified from the MIDI data are updated, and new sound generation data is generated.

上記ステップ201の判定がNOとなって移行するステップ206では、入力したMIDIデータが楽音の発音終了を指示するノートオフメッセージか否か判定する。そのMIDIデータがノートオフメッセージだった場合、判定はYESとなってステップ207に移行する。そうでない場合には、判定はNOとなり、ここで一連の処理を終了する。   In step 206 where the determination in step 201 is NO and the process proceeds to step 206, it is determined whether or not the input MIDI data is a note-off message instructing the end of tone generation. If the MIDI data is a note-off message, the determination is yes and the process moves to step 207. Otherwise, the determination is no and the series of processing ends here.

ステップ207では、入力したMIDIデータから、チャンネル番号、及びノートナンバー(ピッチ)を抽出し、それぞれ変数ich、及びiPitに代入する。続くステップ208では、変数ich、iPitの各値で指定される発音データ(それら各値をデータiTone、iPitchとして格納している発音データ)を特定してそのインデクス値を変数tdに代入する。また、変数ich、iPitの各値で指定されるピッチデータを特定してそのインデクス値を変数tdに代入し、その変数tdの値で指定されるピッチデータのデータiStatusの値を2に変更する。その変更後は、ステップ209に移行して、変数ndの値で指定される発音データ中のデータiStatusとして2、データfRelease(図中「nd.fRelease」と表記)として1.0、データlOffStart(図中「nd.lOffStart」と表記)として現在時刻を示す値、をそれぞれ格納する。そのようにして、ノートオフメッセージのMIDIデータにより特定されるピッチデータ、及び発音データを更新した後、一連の処理を終了する。   In step 207, a channel number and a note number (pitch) are extracted from the input MIDI data, and are substituted into variables ich and iPit, respectively. In the next step 208, sounding data specified by the values of the variables ich and iPit (phonetic data storing these values as data iTone and iPitch) is specified, and the index value is substituted into the variable td. Further, the pitch data specified by each value of the variables ich and iPit is specified, the index value is substituted into the variable td, and the value of the pitch data data iStatus specified by the value of the variable td is changed to 2. . After the change, the process proceeds to step 209, where the data iStatus in the pronunciation data specified by the value of the variable nd is 2, the data fRelease (indicated as “nd.fRelease” in the figure) 1.0, the data lOffStart ( A value indicating the current time is stored as “nd.lOffStart” in the figure. In this way, after updating the pitch data and the sound generation data specified by the MIDI data of the note-off message, the series of processes is terminated.

図8は、図6に示す全体処理内のステップ103で起動されるオーディオデータ出力スレッドの実行により実現される処理のフローチャートである。次に図8を参照して、その処理について詳細に説明する。この出力スレッドは、サンプリング周期でオーディオI/F17を介して出力する、発音させるべき楽音の波高値(オーディオデータ)を生成するためのものである。   FIG. 8 is a flowchart of processing realized by executing the audio data output thread activated in step 103 in the overall processing shown in FIG. Next, the processing will be described in detail with reference to FIG. This output thread is used to generate a peak value (audio data) of a musical tone to be generated and output via the audio I / F 17 at a sampling period.

先ず、ステップ301では、各種変数に初期値を代入し、オーディオI/F17を介して出力するオーディオデータ一時格納用の領域(出力バッファ)をRAM12に確保するといった初期化を行う。次のステップ302では、終了が指示されたか否か判定する。上述したように、図6に示す全体処理のステップ110では、オーディオデータ出力スレッドの終了管理用の変数に、終了を指示する値を代入する。このことから、その変数にその値が代入されていた場合、判定はYESとなり、ここで一連の処理を終了する。そうでない場合には、判定はNOとなってステップ303に移行する。   First, in step 301, initialization is performed such that initial values are substituted into various variables, and an area (output buffer) for temporarily storing audio data to be output via the audio I / F 17 is secured in the RAM 12. In the next step 302, it is determined whether or not an end is instructed. As described above, in step 110 of the overall process shown in FIG. 6, a value for instructing termination is substituted into the termination management variable of the audio data output thread. For this reason, if the value is assigned to the variable, the determination is YES, and the series of processing ends here. Otherwise, the determination is no and the process moves to step 303.

ステップ303では、発音させるべき楽音のオーディオデータを作成(生成)して出力バッファに格納するための出力データ作成処理を実行する。次に移行するステップ304では、出力バッファに格納されたオーディオデータをサンプリング周期で順次、出力するための処理を実行する。その実行後は上記ステップ302に戻る。それにより、楽音発生アプリケーションの起動中は、ステップ302〜304で形成される処理ループを繰り返し実行する。   In step 303, output data creation processing for creating (generating) the audio data of the musical sound to be generated and storing it in the output buffer is executed. In the next step 304, a process for sequentially outputting the audio data stored in the output buffer at the sampling period is executed. After the execution, the process returns to step 302. Thereby, while the musical tone generating application is activated, the processing loop formed in steps 302 to 304 is repeatedly executed.

次に、上記ステップ303として実行される出力データ作成処理について、図9に示すそのフローチャートを参照して詳細に説明する。その作成処理では、複数のサンプリング周期分のオーディオデータを一度に作成し、出力バッファに保存するようにしている。図中の「lSamples」は一度に作成するオーディオデータ数を示す定数である。   Next, the output data creation process executed as step 303 will be described in detail with reference to the flowchart shown in FIG. In the creation process, audio data for a plurality of sampling periods is created at a time and stored in an output buffer. “LSamples” in the figure is a constant indicating the number of audio data created at one time.

先ず、ステップ401では、変数iに0を代入する。続くステップ402では、変数iの値が定数lSamples未満か否か判定する。変数iの値は、1サンプリング周期分のオーディオデータを作成する度にインクリメントするようになっている。このため、一度に作成すべきオーディオデータを全て作成していない場合、変数iの値は定数lSamples未満の関係を満たすから、判定はYESとなってステップ402に移行する。そうでない場合には、つまり作成すべきオーディオデータを全て作成した場合には、判定はNOとなり、ここで一連の処理を終了する。   First, in step 401, 0 is substituted for variable i. In the subsequent step 402, it is determined whether or not the value of the variable i is less than a constant lSamples. The value of the variable i is incremented every time audio data for one sampling period is created. For this reason, when all the audio data to be created at one time has not been created, the value of the variable i satisfies the relationship of less than the constant lSamples, so the determination is YES, and the routine goes to Step 402. If not, that is, if all the audio data to be created has been created, the determination is no, and the series of processing ends here.

ステップ403では、変数iの値を定数lSRで割った値を変数lTimeの値に加算して得られる値(=lTime+i/lSR)を変数lSTimeに代入する。変数lTimeに代入された値は、次のオーディオデータを出力すべき時刻を示す値であり、定数lSRは、出力バッファに格納したオーディオデータのサンプリングレートを示す値である。それにより、変数iの値を定数lSRで割った値は、変数iの値にサンプリング周期を掛けた値(時間を示す値)である。このことから、変数lSTimeには、対象とするオーディオデータを出力すべき時刻を示す値が代入される。その代入後はステップ404に移行する。   In step 403, a value (= lTime + i / lSR) obtained by adding the value obtained by dividing the value of the variable i by the constant lSR to the value of the variable lTime is substituted into the variable lSTime. The value assigned to the variable lTime is a value indicating the time when the next audio data is to be output, and the constant lSR is a value indicating the sampling rate of the audio data stored in the output buffer. Accordingly, the value obtained by dividing the value of the variable i by the constant lSR is a value (value indicating time) obtained by multiplying the value of the variable i by the sampling period. For this reason, a value indicating the time at which target audio data is to be output is substituted into the variable lSTTime. After the substitution, the process proceeds to step 404.

ステップ404では、1サンプリング周期分のオーディオデータ作成用の変数iValueに0を代入する。次のステップ405では、変数ndに、発音データ格納用領域の先頭に位置する発音データの格納場所を指定するインデクス値を代入する。その次に移行するステップ406では、変数ndの値で指定される格納場所に発音データが存在するか否か判定する。その発音データが存在しない場合、判定はNOとなってステップ416に移行する。そうでない場合には、判定はYESとなってステップ407に移行する。   In step 404, 0 is substituted into a variable iValue for creating audio data for one sampling period. In the next step 405, an index value for designating the storage location of the pronunciation data located at the head of the pronunciation data storage area is substituted for the variable nd. In the next step 406, it is determined whether or not pronunciation data exists in the storage location specified by the value of the variable nd. If the sound data does not exist, the determination is no and the process moves to step 416. Otherwise, the determination is yes and the process moves to step 407.

ステップ407では、変数ndの値で指定される格納場所のデータiStatusの値が消音中を示す0でないか否か判定する。その値が0であった場合、判定はNOとなってステップ410に移行する。そうでない場合には、判定はYESとなってステップ408に移行する。   In step 407, it is determined whether or not the value of the data iStatus at the storage location specified by the value of the variable nd is not 0 indicating that the sound is muted. If the value is 0, the determination is no and the process moves to step 410. Otherwise, the determination is yes and the process moves to step 408.

ステップ407でのYESの判定は、現在、注目している発音データに対応する楽音は発音すべきものであることを意味する。このことから、ステップ409では、その楽音を発音させるためのサンプリングデータをRAM12から読み出すためのサンプリングデータ読み取り処理を実行する。その実行によって変数iVtmpには、そのサンプリングデータが代入される。   A determination of YES in step 407 means that the musical sound corresponding to the pronunciation data currently being watched should be pronounced. Therefore, in step 409, sampling data reading processing for reading sampling data for generating the musical sound from the RAM 12 is executed. As a result, the sampling data is substituted into the variable iVtmp.

ステップ408に続くステップ409では、そのデータiStatusの値が2か否か判定する。現在、注目している発音データに対応する楽音が消音処理中であった場合、判定はYESとなってステップ412に移行する。そうでない場合には、判定はNOとなり、変数iValueに、それまでの値に変数iVtmpの値を加算した値(=iValue+iVtmp)を代入し(ステップ410)、変数ndに次の発音データの格納場所を示すインデクス値を代入する(ステップ411)。その代入後は上記ステップ406に戻る。   In step 409 following step 408, it is determined whether or not the value of the data iStatus is 2. If the musical sound corresponding to the current pronunciation data is currently being muted, the determination is yes and the process moves to step 412. Otherwise, the determination is no, and a value obtained by adding the value of the variable iVtmp to the previous value (= iValue + iVtmp) is substituted for the variable iValue (step 410), and the storage location of the next pronunciation data is stored in the variable nd. Is substituted (step 411). After the substitution, the process returns to step 406.

このように、消音処理中でない楽音では、ステップ408のサンプリングデータ読み取り処理の実行によって変数iVtmpに代入されたサンプリングデータは変数iValueのそれまでの値に加算される。それにより、消音処理を開始するまではサンプリングデータ(波形データ)に従って発音させている。   In this way, for musical sounds that are not being muted, the sampling data assigned to the variable iVtmp by executing the sampling data reading process in step 408 is added to the value of the variable iValue so far. Thus, the sound is generated according to the sampling data (waveform data) until the mute process is started.

上記ステップ409の判定のYESとなって移行するステップ412〜415では、消音したと見なせるまで、発音させる楽音の音量を徐々に小さくさせていくための処理が行われる。波形データを構成するサンプリングデータの値は大きく変化することから、消音したと見なせるか否かの判定は、消音処理中に更新していくデータfReleaseの値により行っている。図中の「RED_OFF」「RELEASE」はそれぞれ、その判定用に設定した定数、データfRelease更新用に設定した定数である。   In steps 412 to 415, where the determination of step 409 is YES and the process proceeds, processing for gradually decreasing the volume of the musical sound to be generated is performed until it can be considered that the sound has been muted. Since the value of the sampling data constituting the waveform data changes greatly, whether or not it can be regarded as silenced is determined based on the value of the data fRelease that is updated during the silencing process. “RED_OFF” and “RELEASE” in the figure are a constant set for the determination and a constant set for the data fRelease update, respectively.

先ず、ステップ412では、変数iVtmpに、注目している発音データ中のデータfReleaseの値をそれまでの値に掛けて得られる値(=iVtmp*fRelease)を代入する。続くステップ413では、そのデータfReleaseの値が定数RED_OFF未満か否か判定する。その値が定数RED_OFF以上であった場合、判定はNOとなり、ステップ414でデータfReleaseをそれまでの値に定数RELEASEを掛けた値に更新した後、上記ステップ410に移行する。そうでない場合には、判定はYESとなってステップ415に移行し、データiStatusの値を0に、その他のデータをリセットする操作を行うことで該当する発音データを消去すると共に、他の対応する各種データの更新、及び楽音の発音用にRAM12にロードした部分波形データの消去(開放)を行う。その開放により、発音データを消去した楽音の発音用の部分波形データは先頭波形データのみとなる。発音データ以外の各種データの更新は、音色データではデータiNoteOnCntの値をデクリメントする更新、ピッチデータではデータiStatusの値を0にする更新、ソースデータでは先頭波形データを示す値にデータiIndexを変更する更新、をそれぞれ行う。そのような更新を行った後、上記ステップ410に移行する。   First, in step 412, a value (= iVtmp * fRelease) obtained by multiplying the value of the data fRelease in the pronunciation data of interest by the previous value is substituted for the variable iVtmp. In the following step 413, it is determined whether or not the value of the data fRelease is less than a constant RED_OFF. If the value is equal to or greater than the constant RED_OFF, the determination is no, the data fRelease is updated to a value obtained by multiplying the previous value by the constant RELEASE in step 414, and then the process proceeds to step 410. Otherwise, the determination is yes and the process proceeds to step 415 where the value of the data iStatus is set to 0 and the other sound data is deleted by performing an operation of resetting other data. The partial waveform data loaded in the RAM 12 is deleted (released) for updating various data and for sound generation. As a result of the release, the partial waveform data for tone generation of the musical tone from which the tone generation data has been deleted is only the top waveform data. Various data other than the pronunciation data are updated by decrementing the value of the data iNoteOnCnt for the timbre data, updating the value of the data iStatus for the pitch data, and changing the data iIndex to a value indicating the first waveform data for the source data. Update each. After performing such an update, the process proceeds to step 410 described above.

上記ステップ415では、発音データの消去に併せて、その発音データの格納場所を示すインデクス値をデータpPrev、或いはpNextとして有する発音データはデータpPrev、或いはpNextを更新する。消去する発音データが最後に位置するもの、つまりその格納場所を示すインデクス値が最大のものでなければ、発音データを消去した格納場所に別の発音データを移動させて、発音データが先頭から連続するようにさせる。それにより、変数ndの値で指定される格納場所に発音データが存在しないことでステップ406の判定がNOとなった場合には、他に注目すべき発音データが存在しないようにさせている。他に注目すべき発音データが存在しないことは、1サンプリング周期分のオーディオデータの作成が終了したことを意味する。   In step 415, along with the deletion of the sound data, the sound data having an index value indicating the storage location of the sound data as the data pPrev or pNext is updated with the data pPrev or pNext. If the phonetic data to be erased is located at the end, that is, if the index value indicating the storage location is not the maximum, another phonetic data is moved to the storage location where the phonetic data has been deleted, and the phonetic data continues from the beginning. Let them do. As a result, if there is no sound data in the storage location specified by the value of the variable nd and the determination in step 406 is NO, no other sound data to be noted is present. The absence of other noteworthy pronunciation data means that the creation of audio data for one sampling period has been completed.

そのステップ406の判定がNOとなって移行するステップ416では、変数iValueの値を1サンプリング周期分のオーディオデータとして、変数lStimeの値と共に、出力バッファの変数iの値で指定される格納場所に格納する。その格納後は、ステップ417で変数iの値をインクリメントしてから上記ステップ402に戻る。   In step 416 where the determination in step 406 is NO and the process proceeds to step 416, the value of the variable iValue is set as audio data for one sampling period, and stored in the storage location specified by the value of the variable i in the output buffer together with the value of the variable lTime. Store. After the storage, the value of the variable i is incremented in step 417, and the process returns to step 402.

図10は、上記ステップ408として実行されるサンプリングデータ読み取り処理のフローチャートである。最後に図10を参照して、そのデータ読み取り処理について詳細に説明する。   FIG. 10 is a flowchart of the sampling data reading process executed as step 408 described above. Finally, the data reading process will be described in detail with reference to FIG.

上述したように、波形データはピッチ毎に用意しているから、波形データから抽出した(読み出した)サンプリングデータは基本的にそのまま楽音の発音に用いることができる。それにより、サンプリングデータ読み取り処理では、対象とする部分発音データ中のサンプリングデータを読み出すべきサンプリングデータの位置(アドレス)を特定し、その位置のサンプリングデータを読み出すようになっている。また、必要に応じて、次に参照すべき部分波形データのRAM12へのロード、及びロードした部分波形データの消去(開放)を行うようになっている。ここでは説明上、便宜的に全ての部分波形データは同じサイズ(同じサンプリングデータ数)として説明を行うこととする。図中に表記の「SIZE」はそのサイズを示す定数である。   As described above, since the waveform data is prepared for each pitch, the sampling data extracted (read) from the waveform data can be basically used as it is for sound generation. Thereby, in the sampling data reading process, the position (address) of the sampling data from which the sampling data in the target partial pronunciation data is to be read is specified, and the sampling data at that position is read. Further, as necessary, the partial waveform data to be referred to next is loaded into the RAM 12 and the loaded partial waveform data is erased (released). Here, for convenience of explanation, it is assumed that all partial waveform data have the same size (the same number of sampling data). “SIZE” shown in the figure is a constant indicating the size.

先ず、ステップ501では、変数lStimeの値から変数ndの値で指定された格納場所に格納されている発音データ中のデータlOnStartの値を引いた値、つまりその発音データにより発音中の楽音の発音を開始させてから経過した時間を示す値を変数lTに代入する。続くステップ502では、変数lPosに、変数lTの値に定数lSRを掛けた乗算結果を定数SIZEで割ったときに得られる余り(=(lT*lSR)%SIZE)を代入する。その後は、注目する発音データ中のデータpSDをステップ503で変数sdに代入し、ステップ504に移行する。   First, in step 501, a value obtained by subtracting the value of the data lOnStart in the sound generation data stored in the storage location specified by the value of the variable nd from the value of the variable lStim, that is, the sound of the musical sound being sounded by the sound data. A value indicating the time elapsed since the start of the process is substituted into a variable lT. In the next step 502, a remainder (= (lT * 1SR)% SIZE) obtained by dividing the multiplication result obtained by multiplying the value of the variable lT by the constant lSR by the constant SIZE is substituted for the variable lPos. Thereafter, the data pSD in the pronunciation data of interest is substituted into the variable sd in step 503, and the process proceeds to step 504.

ステップ504では、変数lPosの値が0か、つまりそれまで参照していた部分波形データからのサンプリングデータの読み出しが一通り終了したか否か判定する。その読み出しが一通り終了していない場合、判定はNOとなってステップ509に移行する。そうでない場合には、判定はYESとなってステップ505に移行する。   In step 504, it is determined whether or not the value of the variable lPos is 0, that is, whether or not the reading of the sampling data from the partial waveform data referred to so far has been completed. If the reading is not completed, the determination is no and the process moves to step 509. Otherwise, the determination is yes and the process moves to step 505.

ステップ505〜508では、サンプリングデータの一通りの読み出しが終了したことにより、次に読み出しを行うべき部分波形データを別のものに切り換えるための処理が行われる。   In steps 505 to 508, processing for switching the partial waveform data to be read next to another data is performed when the sampling data is completely read.

先ず、ステップ505では、変数sdの値で指定されるソースデータ中のデータiIndexの値が0でないか否か、つまりそれまで参照していた部分波形データは先頭波形データでないか否か判定する。その部分波形データが先頭波形データであった場合、判定はNOとなり、ステップ506でそのデータiIndexの値を1に更新した後、ステップ509に移行する。そうでない場合には、判定はYESとなってステップ507に移行する。   First, in step 505, it is determined whether or not the value of the data iIndex in the source data specified by the value of the variable sd is not 0, that is, whether or not the partial waveform data referred to so far is not the top waveform data. If the partial waveform data is the top waveform data, the determination is no, the value of the data iIndex is updated to 1 in step 506, and the process proceeds to step 509. Otherwise, the determination is yes and the process moves to step 507.

ステップ507では、データiIndexの値が示す部分波形データをRAM12から開放(消去)する。その次のステップ508では、そのデータiIndexの値を、それまでの値を2で割って得られる余りに1を加算した値(=(sd.iIndex)%2+1)に更新する。ステップ509には、その更新を行った後に移行する。   In step 507, the partial waveform data indicated by the value of the data iIndex is released (erased) from the RAM 12. In the next step 508, the value of the data iIndex is updated to a value obtained by adding 1 to the value obtained by dividing the previous value by 2 (= (sd.iIndex)% 2 + 1). The process proceeds to step 509 after the update.

データiIndexの値は0、1、或いは2である。ステップ507に移行する場合、その値は1、或いは2である。このため、その値が1であれば2、その値が2であれば1に更新されることになる。それにより、先頭波形データを参照した後は、楽音の発音を消音させるまでの間、中間波形データと最終波形データは交互に参照される。   The value of the data iIndex is 0, 1, or 2. When the process proceeds to step 507, the value is 1 or 2. Therefore, if the value is 1, it is updated to 2, and if the value is 2, it is updated to 1. Thus, after the head waveform data is referred to, the intermediate waveform data and the final waveform data are alternately referred to until the musical sound is muted.

ステップ509では、データiIndexの値に対応する部分波形データを参照の対象に設定する。次のステップ510では、対象とする部分波形データ中の変数lPosの値で指定されるサンプリングデータ(先頭から変数lPosの値番目のデータ)を読み出して変数iVtmpに代入する。その次のステップ511では、変数iVtmpの値、即ち読み出したサンプリングデータに発音データ中のデータiOnVelの値(ベロシティ値)を反映させるために、そのサンプリングデータの値に対し、データiOnVelの値を対応するソースデータ中のデータmaxVelの値で割った値を乗算して得られる値を変数iVtmpに代入する。それにより、変数iVtmpに代入したサンプリングデータを、ユーザーが実際に押鍵したときのベロシティ値と波形データのベロシティ範囲の上限値の比に応じて更新してからステップ512に移行する。   In step 509, partial waveform data corresponding to the value of the data iIndex is set as a reference target. In the next step 510, sampling data designated by the value of the variable lPos in the target partial waveform data (data of the value of the variable lPos from the head) is read and substituted into the variable iVtmp. In the next step 511, in order to reflect the value of the variable iVtmp, that is, the value of the data iOnVel (velocity value) in the pronunciation data in the read sampling data, the value of the data iOnVel is associated with the value of the sampling data. A value obtained by multiplying the value divided by the value of the data maxVel in the source data to be substituted is substituted into the variable iVtmp. As a result, the sampling data assigned to the variable iVtmp is updated in accordance with the ratio between the velocity value when the user actually presses the key and the upper limit value of the velocity range of the waveform data, and the process proceeds to step 512.

ステップ512では、変数lPosの値が定数SIZEに0.8を掛けた値以上か否か判定する。その大小関係が満たされている場合、判定はYESとなってステップ513に移行し、データiIndexの値を2で割って得られる余りに1を加算した値に対応する部分波形データをROM13から読み出してRAM12にロードした後、一連の処理を終了する。そうでない場合には、判定はNOとなり、ここで一連の処理を終了する。   In step 512, it is determined whether or not the value of the variable lPos is equal to or greater than a value obtained by multiplying the constant SIZE by 0.8. If the magnitude relationship is satisfied, the determination is yes, the process proceeds to step 513, and partial waveform data corresponding to a value obtained by adding 1 to the value obtained by dividing the value of the data iIndex by 2 is read from the ROM 13. After loading into the RAM 12, the series of processing ends. Otherwise, the determination is no and the series of processing ends here.

上記ステップ513でロードされる部分波形データは、データiIndexの値が0、或いは2であれば中間波形データであり、その値が1であれば最終波形データである。そのような部分波形データを、現在、対象としている部分波形データの80%以上、サンプリングデータを読み出した状況、つまりその部分波形データで読み出すべきサンプリングデータが残り20%以下となった状況となると事前にRAM12にロードさせている。それにより、参照すべき部分波形データを切り換えるタイミングでは次に参照すべき部分波形データをRAM12に確実に用意するようにしている。   The partial waveform data loaded in step 513 is intermediate waveform data when the value of the data iIndex is 0 or 2, and is final waveform data when the value is 1. When such partial waveform data is in a situation where 80% or more of the target partial waveform data is currently sampled, the sampling data to be read in the partial waveform data is less than 20% in advance. Are loaded into the RAM 12. Thereby, the partial waveform data to be referred to next is surely prepared in the RAM 12 at the timing of switching the partial waveform data to be referred to.

なお、本実施の形態では、発音させる楽音はユーザーが電子楽器20を操作して指定するようになっているが、その指定はスタンダードMIDIファイルといった再生データにより自動的に行わせても良い。波形データについては、それを3つの部分波形データに分割しているが、その分割数はそれより多くとも少なくとも良い。そのサンプリングデータは、圧縮処理を施したものであっても良い。
<第2の実施の形態>
上記第1の実施の形態では、先頭波形データ以外の部分波形データは、発音させるべき楽音のオーディオデータ作成に用いる部分波形データのみをRAM12にロードしている。これに対し、第2の実施の形態は、発音させるべき楽音とピッチが近い楽音の発音に用いられる部分波形データを事前にRAM12にロードするようにしたものである。これは、楽曲では、或るピッチの楽音を発音させた後、それと近いピッチの楽音を発音させることが比較的に多いためである。第2の実施の形態では、そのことに着目し、次に用いる可能性が高いと考えられる部分波形データを投機的にロードしておくことにより、発音させるべき楽音は常に確実にスムーズに発音できるようにさせている。投機的にロードする部分波形データは発音させる楽音とピッチの近い楽音用のものに限定しているため、波形データによるRAM12の専有率の上昇は僅かなものに抑えることができる。
In the present embodiment, the musical sound to be generated is designated by the user operating the electronic musical instrument 20, but the designation may be automatically made by reproduction data such as a standard MIDI file. The waveform data is divided into three partial waveform data, but the number of divisions is at least better than that. The sampling data may be subjected to compression processing.
<Second Embodiment>
In the first embodiment, partial waveform data other than the top waveform data is loaded into the RAM 12 only with partial waveform data used for creating audio data of musical sounds to be generated. On the other hand, in the second embodiment, partial waveform data used for sound generation of a musical sound having a pitch close to that of the musical sound to be generated is loaded in the RAM 12 in advance. This is because, in music, it is relatively common that after a musical tone having a certain pitch is generated, a musical tone having a pitch close to that is generated. In the second embodiment, paying attention to that, and by speculatively loading partial waveform data that is considered to be likely to be used next, the musical sound to be generated can always be sounded smoothly and reliably. I'm letting Since the partial waveform data to be speculatively loaded is limited to the musical sound to be generated and the musical sound having a similar pitch, the increase in the occupation rate of the RAM 12 due to the waveform data can be suppressed to a slight level.

第2の実施の形態における楽音発生装置の構成は、基本的に第1の実施の形態におけるそれと同じである。動作も大部分は同じか、或いは基本的に同じである。このことから、第1の実施の形態で付した符号をそのまま用いて、第1の実施の形態から異なる部分についてのみ説明する。   The configuration of the musical sound generating device in the second embodiment is basically the same as that in the first embodiment. The operation is largely the same or basically the same. For this reason, only the parts different from the first embodiment will be described using the reference numerals given in the first embodiment as they are.

第2の実施の形態では、図6に示す全体処理内でステップ109として実行されるMIDI IN処理が第1の実施の形態から異なっている。このことから、その異なる部分について、図11、及び図12に示す各フローチャートを参照して詳細に説明する。   In the second embodiment, the MIDI IN process executed as step 109 in the overall process shown in FIG. 6 is different from that of the first embodiment. Therefore, the different parts will be described in detail with reference to the flowcharts shown in FIG. 11 and FIG.

図11は、第2の実施の形態におけるMIDI IN処理のフローチャートである。図11に示すように、第2の実施の形態では、ステップ205の処理を実行した後、ステップ601に移行して、そのステップ205で生成・格納した発音データが示す楽音とピッチが近い周辺ピッチの楽音発音用の部分波形データをROM13から読み込んでRAM12にロードするための周辺ピッチのデータ読み込み処理を実行する。一連の処理はその実行後に終了するようになっている。   FIG. 11 is a flowchart of the MIDI IN process in the second embodiment. As shown in FIG. 11, in the second embodiment, after the processing of step 205 is executed, the processing shifts to step 601 and the peripheral pitch whose pitch is close to the musical sound indicated by the sound generation data generated and stored in step 205. The peripheral waveform data reading process for reading the partial waveform data for tone generation from the ROM 13 and loading it into the RAM 12 is executed. A series of processing ends after the execution.

図12は、そのステップ601として実行される周辺ピッチのデータ読み込み処理のフローチャートである。次に図12を参照して、そのデータ読み込み処理について詳細に説明する。   FIG. 12 is a flowchart of the peripheral pitch data reading process executed as step 601. Next, the data reading process will be described in detail with reference to FIG.

キーボード21への演奏操作は、両手を使って行うことがある。このことから、本実施の形態では、キーボード21を右手による演奏操作が行われると想定する高音域、その高音域以外の部分を左手による演奏操作が行われると想定する低音域に分け、音域毎に部分波形データの投機的なロードを行っている。図中に表記の「DIVPIT」は、それらの音域の境界となる鍵のピッチ(ノートナンバー)として設定した定数である。「RNGHIGH」「RNGLOW」はそれぞれ、部分波形データを投機的にロードする周辺ピッチ範囲として高音域、低音域で設定した定数である。   A performance operation on the keyboard 21 may be performed using both hands. For this reason, in this embodiment, the keyboard 21 is divided into a high frequency range that is assumed to be performed with the right hand and a portion other than the high frequency range is divided into low frequencies that are assumed to be performed with the left hand. In addition, speculative loading of partial waveform data is performed. “DIVPIT” shown in the figure is a constant set as the pitch (note number) of the key that becomes the boundary of these sound ranges. “RNGHIGH” and “RNGLOW” are constants set in the high sound range and the low sound range as the peripheral pitch range in which the partial waveform data is speculatively loaded.

先ず、ステップ701では、変数iRngに定数RNGHIGHを代入する。次のステップ702では、変数ndの値で指定される格納場所に新たに格納した発音データが示す楽音発音用の部分波形データとして、中間波形データをROM13か読み込んでRAM12にロードする。それにより、入力したMIDIデータにより発音開始が指示された楽音発音用の中間波形データを第1の実施の形態よりも早い段階でロードする。そのロード後はステップ703に移行する。   First, in step 701, the constant RNHIGH is substituted for the variable iRng. In the next step 702, intermediate waveform data is read from the ROM 13 and loaded into the RAM 12 as partial waveform data for musical tone generation indicated by the sound generation data newly stored in the storage location specified by the value of the variable nd. Thereby, the intermediate waveform data for tone generation instructed to start the sound generation by the input MIDI data is loaded at an earlier stage than in the first embodiment. After the loading, the process proceeds to step 703.

ステップ703では、そのMIDIデータから抽出されたピッチ(ノートナンバー)を示すデータiPitの値が定数DVPIT未満か否か、つまりそのMIDIデータが発音開始を指示する楽音が低音域に属するピッチの楽音か否か判定する。その低音域に属するピッチの楽音であった場合、判定はYESとなり、ステップ704で変数iRngに定数RNGLOWを代入した後、ステップ705に移行する。そうでない場合には、判定はNOとなり、次にその0ステップ705の処理を実行する。   In step 703, whether or not the value of the data iPit indicating the pitch (note number) extracted from the MIDI data is less than the constant DVPIT, that is, whether the musical sound instructing the start of sounding of the MIDI data belongs to the low pitch range. Judge whether or not. If the musical sound has a pitch belonging to the low frequency range, the determination is yes, and after the constant RNGLOW is substituted for the variable iRng in step 704, the process proceeds to step 705. Otherwise, the determination is no, and the process of step 0705 is then executed.

ステップ705以降では、変数iの値を順次、インクリメントしながら、入力したMIDIデータが発音開始を指示する楽音より変数iの値分だけ高音、低音となっている楽音発音用の中間波形データを必要に応じてRAM12にロードするための処理が行われる。それにより、本実施の形態では、発音開始が指示された楽音より変数iRngの値分、ピッチが離れた高音、低音の楽音を対象にして、対象とする楽音(周辺ピッチの楽音)のなかで発音中でない楽音発音用の中間波形データをロードしている。   In step 705 and subsequent steps, intermediate waveform data for tone generation in which the input MIDI data is higher and lower by the value of the variable i than the tone instructing the start of sound generation is necessary while the value of the variable i is sequentially incremented. In response to this, processing for loading into the RAM 12 is performed. As a result, in the present embodiment, among the target musical sounds (musical sounds of peripheral pitches), the high and low-pitched musical sounds are separated from the musical sound instructed to start sounding by the value of the variable iRng. Loads intermediate waveform data for musical sound generation that is not sounding.

先ず、ステップ705では、変数iに0を代入する。続くステップ706では、変数th、tlにそれぞれ、新たに格納した発音データに対応するピッチデータ中のデータpNext、pPrevを代入する。その次に移行するステップ707では、変数iの値が変数iRngの値未満か否か判定する。変数iの値が変数iRngの値以上であった場合、判定はNOとなり、投機的にロードすべき中間波形データは全てロードしたとして、ここで一連の処理を終了する。そうでない場合には、判定はYESとなってステップ708に移行する。   First, in step 705, 0 is substituted for variable i. In the subsequent step 706, the data pNext and pPrev in the pitch data corresponding to the newly stored pronunciation data are substituted for the variables th and tl, respectively. In the next step 707, it is determined whether or not the value of the variable i is less than the value of the variable iRng. If the value of the variable i is equal to or greater than the value of the variable iRng, the determination is NO, and all the intermediate waveform data to be speculatively loaded has been loaded, and the series of processing ends here. Otherwise, the determination is yes and the process moves to step 708.

ステップ708では、変数thの値で指定されるピッチデータ中のデータiStatusの値が0か否か、つまりそのピッチデータによって特定される楽音が消音中か否か判定する。その楽音が発音中であった場合、判定はNOとなってステップ710に移行する。そうでない場合には、判定はYESとなり、ステップ709でその楽音発音用の中間波形データをROM13から読み込んでRAM12にロードした後、そのステップ710に移行する。   In step 708, it is determined whether the value of the data iStatus in the pitch data designated by the value of the variable th is 0, that is, whether the musical sound specified by the pitch data is muted. If the tone is being produced, the determination is no and the process moves to step 710. Otherwise, the determination is yes, and in step 709, the intermediate waveform data for tone generation is read from the ROM 13 and loaded into the RAM 12, and then the process proceeds to step 710.

ステップ710では同様に、変数tlの値で指定されるピッチデータ中のデータiStatusの値が0か否か判定する。そのピッチデータによって特定される楽音が発音中であった場合、判定はNOとなってステップ712に移行する。そうでない場合には、判定はYESとなり、ステップ711でその楽音発音用の中間波形データをROM13から読み込んでRAM12にロードした後、そのステップ712に移行する。   Similarly, in step 710, it is determined whether or not the value of data iStatus in the pitch data designated by the value of variable tl is zero. If the musical sound specified by the pitch data is being sounded, the determination is no and the process moves to step 712. Otherwise, the determination is yes, and in step 711, the intermediate waveform data for tone generation is read from the ROM 13 and loaded into the RAM 12, and then the process proceeds to step 712.

ステップ712では、変数th、tlにそれぞれ、それまでの値で指定される各ピッチデータ中のデータpNect、pPrevを代入する。それにより、着目するピッチデータを高音側ではノートナンバーで1だけ大きいピッチデータに、低音側ではノートナンバーで1だけ小さいピッチデータにそれぞれ変更する。次のステップ713では、変数iの値をインクリメントする。その後は上記ステップ707に戻る。   In step 712, the data pNect and pPrev in the pitch data designated by the values so far are substituted for the variables th and tl, respectively. As a result, the pitch data of interest is changed to pitch data that is larger by 1 in the note number on the high pitch side, and is changed to pitch data that is smaller in the note number by 1 on the lower pitch side. In the next step 713, the value of the variable i is incremented. Thereafter, the process returns to step 707.

このようにして、発音させるべきとなっていない楽音の発音用の中間波形データを事前に、つまり発音させるべきとなる前の段階でロードする。このため、特に詳細な説明は省略するが、図10に示すサンプリングデータ読み取り処理内のステップ512において、データiIndexの値を2で割って得られる余りに1を加算した値に対応する部分波形データが既にロードされているか否かを併せて判定するようになっている。それにより、変数lPosの値が定数SIZEに0.8を掛けた値以上であり、且つ次にロードすべき部分波形データがロードされていない場合に、その判定がYESとなるようにさせている。そのようにして、部分波形データの不必要なロードを行うことを回避させている。   In this way, the intermediate waveform data for generating a musical sound that should not be generated is loaded in advance, that is, at a stage before it should be generated. Therefore, although detailed description is omitted, partial waveform data corresponding to a value obtained by adding 1 to the value obtained by dividing the value of the data iIndex by 2 in step 512 in the sampling data reading process shown in FIG. Whether it has already been loaded or not is determined together. As a result, when the value of the variable lPos is equal to or greater than the value obtained by multiplying the constant SIZE by 0.8 and the partial waveform data to be loaded next is not loaded, the determination is made to be YES. . In this way, unnecessary loading of partial waveform data is avoided.

なお、本実施の形態(第1および第2の実施の形態)では、ピッチ毎に1種類の波形データ(3つの部分波形データから構成されている)を用意しているが(ここでは音色毎に用意していることは便宜的に無視している)、波形データはベロシティによっても異なるから、ピッチ毎に対象となるベロシティ範囲が異なる複数の波形データを用意しても良い。そのように対象となるベロシティ範囲が異なる複数の波形データを用意した場合には、例えばベロシティ範囲が異なる先頭波形データを事前に全てロードしておき、部分波形データは、発音させるべき楽音のベロシティ値に応じたものを必要に応じてロードするようにすれば良い。そのようにすることにより、ピッチ毎にベロシティ値に応じた波形データを用いて楽音を発音できるようになる。   In the present embodiment (first and second embodiments), one type of waveform data (consisting of three partial waveform data) is prepared for each pitch (here, each tone color). Since the waveform data differs depending on the velocity, a plurality of waveform data having different target velocity ranges for each pitch may be prepared. When multiple waveform data with different velocity ranges are prepared in this way, for example, the first waveform data with different velocity ranges is loaded in advance, and the partial waveform data is the velocity value of the tone to be generated. You can load the one that meets your needs as needed. By doing so, it becomes possible to produce a musical tone using waveform data corresponding to the velocity value for each pitch.

第1の実施の形態による楽音発生装置の構成を説明する図である。It is a figure explaining the structure of the musical tone generator by 1st Embodiment. 音色データの構成を説明する図である。It is a figure explaining the structure of timbre data. ピッチデータの構成を説明する図である。It is a figure explaining the structure of pitch data. ソースデータの構成を説明する図である。It is a figure explaining the structure of source data. 発音データの構成を説明する図である。It is a figure explaining the structure of pronunciation data. 全体処理のフローチャートである。It is a flowchart of the whole process. MIDI IN処理のフローチャートである。It is a flowchart of a MIDI IN process. オーディオデータ出力スレッドの実行によって実現される処理のフローチャートである。It is a flowchart of the process implement | achieved by execution of an audio data output thread | sled. 出力データ作成処理のフローチャートである。It is a flowchart of an output data creation process. サンプリングデータ読み取り処理のフローチャートである。It is a flowchart of a sampling data reading process. MIDI IN処理のフローチャートである(第2の実施の形態)。It is a flowchart of a MIDI IN process (2nd Embodiment). 周辺ピッチのデータ読み取り処理のフローチャートである。It is a flowchart of a peripheral pitch data reading process.

符号の説明Explanation of symbols

10 楽音発生装置
11 CPU
12 RAM
13 ROM
14 入力部
15 表示部
16、22 MIDIインターフェース(I/F)
17 オーディオインクリメント(I/F)
20 電子楽器
21 キーボード
30 音源システム
10 Musical sound generator 11 CPU
12 RAM
13 ROM
14 Input unit 15 Display unit 16, 22 MIDI interface (I / F)
17 Audio increment (I / F)
20 Electronic musical instrument 21 Keyboard 30 Sound source system

Claims (5)

楽音の波高値の時間変化を表す波形データを用いて発音させるべき楽音の波高値を順次、生成して該楽音を発音させる楽音発生装置において、
前記波形データを取得できるデータ取得手段と、
前記データ取得手段が取得した波形データを記憶する記憶手段と、
前記発音させるべき楽音の波高値の生成に該楽音のピッチ毎で異なる波形データを用いる場合に、該波形データを分割して得られる複数の部分波形データのなかで先頭に位置する第1の部分波形データを該波形データ毎に前記データ取得手段に取得させて予め前記記憶手段に記憶させ、該第1の部分波形データに続く部分波形データである第2の部分波形データは随時、該データ取得手段に取得させて該記憶手段に記憶させるデータ管理手段と、
を具備することを特徴とする楽音発生装置。
In a musical sound generator for generating the musical sound by sequentially generating the peak value of the musical sound to be generated using the waveform data representing the temporal change of the peak value of the musical sound,
Data acquisition means capable of acquiring the waveform data;
Storage means for storing the waveform data acquired by the data acquisition means;
In the case where waveform data different for each pitch of the musical sound is used to generate the peak value of the musical sound to be generated, the first portion located at the head of the plurality of partial waveform data obtained by dividing the waveform data Waveform data is acquired by the data acquisition means for each waveform data and stored in the storage means in advance, and second partial waveform data that is partial waveform data following the first partial waveform data is obtained at any time. Data management means to be acquired by the means and stored in the storage means;
A musical sound generating device comprising:
前記データ管理手段は、前記発音させるべき楽音の波高値の生成に必要な前記第2の部分波形データを随時、前記データ取得手段に取得させて前記記憶手段に記憶させる、
ことを特徴とする請求項1記載の楽音発生装置。
The data management means causes the data acquisition means to acquire the second partial waveform data necessary for generating the peak value of the musical tone to be sounded, and store it in the storage means.
The musical tone generator according to claim 1.
前記データ管理手段は、前記発音させるべき楽音のピッチを基に、該ピッチ近傍のピッチに対応する波形データの第2の部分波形データを前記データ取得手段に事前に取得させて前記記憶手段に記憶させる、
ことを特徴とする請求項2記載の楽音発生装置。
The data management means causes the data acquisition means to acquire in advance the second partial waveform data of the waveform data corresponding to the pitch in the vicinity of the pitch based on the pitch of the musical sound to be generated and store it in the storage means. Let
The musical sound generator according to claim 2, wherein
前記ピッチ毎で異なる波形データが前記楽音を発音させる強さを示すベロシティ値に応じて複数、用意されている場合、前記データ管理手段は、前記第1の部分波形データを該波形データ毎に前記データ取得手段に取得させて予め前記記憶手段に記憶させ、前記第2の部分波形データは、前記発音させるべき楽音に対して指定されたベロシティ値に応じて該データ取得手段に随時、取得させて該記憶手段に記憶させる、
ことを特徴とする請求項1記載の楽音発生装置。
In the case where a plurality of waveform data different for each pitch is prepared in accordance with a velocity value indicating the strength of sounding the musical sound, the data management unit is configured to store the first partial waveform data for each waveform data. The second partial waveform data is acquired by the data acquisition means at any time according to the velocity value designated for the musical tone to be generated, and is acquired by the data acquisition means and stored in advance in the storage means. Storing in the storage means;
The musical tone generator according to claim 1.
楽音の波高値の時間変化を表す波形データを用いて発音させるべき楽音の波高値を順次、生成して該楽音を発音させる楽音発生装置に実行させるプログラムであって、
前記波形データを取得できる機能と、
前記取得できる機能により取得した波形データを記憶装置に記憶できる機能と、
前記発音させるべき楽音の波高値の生成に該楽音のピッチ毎で異なる波形データを用いる場合に、該波形データを分割して得られる複数の部分波形データのなかで先頭に位置する第1の部分波形データを該波形データ毎に前記取得できる機能により取得させて予め前記記憶できる機能により前記記憶装置に記憶させ、該第1の部分波形データに続く部分波形データである第2の部分波形データは随時、該取得できる機能により取得させて該記憶装置に該記憶できる機能により記憶させる機能と、
を実現させるためのプログラム。
A program for causing a musical sound generator to sequentially generate a peak value of a musical sound to be generated using waveform data representing a temporal change in a peak value of a musical sound and to generate the musical sound,
A function capable of acquiring the waveform data;
A function of storing waveform data acquired by the function that can be acquired in a storage device;
In the case where waveform data different for each pitch of the musical sound is used to generate the peak value of the musical sound to be generated, the first portion located at the head of the plurality of partial waveform data obtained by dividing the waveform data The waveform data is acquired for each waveform data by the function that can be acquired and stored in the storage device by the function that can be stored in advance, and the second partial waveform data that is the partial waveform data following the first partial waveform data is A function to be acquired by the function that can be acquired at any time, and to be stored by the function that can be stored in the storage device;
A program to realize
JP2005229652A 2005-08-08 2005-08-08 Musical sound generator and program Expired - Fee Related JP4655812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005229652A JP4655812B2 (en) 2005-08-08 2005-08-08 Musical sound generator and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005229652A JP4655812B2 (en) 2005-08-08 2005-08-08 Musical sound generator and program

Publications (2)

Publication Number Publication Date
JP2007047293A true JP2007047293A (en) 2007-02-22
JP4655812B2 JP4655812B2 (en) 2011-03-23

Family

ID=37850187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005229652A Expired - Fee Related JP4655812B2 (en) 2005-08-08 2005-08-08 Musical sound generator and program

Country Status (1)

Country Link
JP (1) JP4655812B2 (en)

Cited By (63)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8137466B2 (en) 2009-08-24 2012-03-20 Samsung Mobile Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8486737B2 (en) 2009-08-25 2013-07-16 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8536057B2 (en) 2009-06-25 2013-09-17 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light emitting device by using the same
US8707889B2 (en) 2011-05-25 2014-04-29 Samsung Display Co., Ltd. Patterning slit sheet assembly, organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus, and the organic light-emitting display apparatus
US8709161B2 (en) 2009-08-05 2014-04-29 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8802200B2 (en) 2009-06-09 2014-08-12 Samsung Display Co., Ltd. Method and apparatus for cleaning organic deposition materials
US8833294B2 (en) 2010-07-30 2014-09-16 Samsung Display Co., Ltd. Thin film deposition apparatus including patterning slit sheet and method of manufacturing organic light-emitting display device with the same
US8846547B2 (en) 2010-09-16 2014-09-30 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the thin film deposition apparatus, and organic light-emitting display device manufactured by using the method
US8852687B2 (en) 2010-12-13 2014-10-07 Samsung Display Co., Ltd. Organic layer deposition apparatus
US8859325B2 (en) 2010-01-14 2014-10-14 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8859043B2 (en) 2011-05-25 2014-10-14 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8865252B2 (en) 2010-04-06 2014-10-21 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8871542B2 (en) 2010-10-22 2014-10-28 Samsung Display Co., Ltd. Method of manufacturing organic light emitting display apparatus, and organic light emitting display apparatus manufactured by using the method
US8876975B2 (en) 2009-10-19 2014-11-04 Samsung Display Co., Ltd. Thin film deposition apparatus
US8882922B2 (en) 2010-11-01 2014-11-11 Samsung Display Co., Ltd. Organic layer deposition apparatus
US8882556B2 (en) 2010-02-01 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8882920B2 (en) 2009-06-05 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus
US8882921B2 (en) 2009-06-08 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus
US8894458B2 (en) 2010-04-28 2014-11-25 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8906731B2 (en) 2011-05-27 2014-12-09 Samsung Display Co., Ltd. Patterning slit sheet assembly, organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus, and the organic light-emitting display apparatus
US8907326B2 (en) 2009-06-24 2014-12-09 Samsung Display Co., Ltd. Organic light-emitting display device and thin film deposition apparatus for manufacturing the same
US8916237B2 (en) 2009-05-22 2014-12-23 Samsung Display Co., Ltd. Thin film deposition apparatus and method of depositing thin film
US8921831B2 (en) 2009-08-24 2014-12-30 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8945974B2 (en) 2012-09-20 2015-02-03 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display device using an organic layer deposition apparatus
US8945979B2 (en) 2012-11-09 2015-02-03 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus by using the same, and organic light-emitting display apparatus manufactured by the method
US8951610B2 (en) 2011-07-04 2015-02-10 Samsung Display Co., Ltd. Organic layer deposition apparatus
US8951349B2 (en) 2009-11-20 2015-02-10 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8956697B2 (en) 2012-07-10 2015-02-17 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus and organic light-emitting display apparatus manufactured by using the method
US8962360B2 (en) 2013-06-17 2015-02-24 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the organic layer deposition apparatus
US8968829B2 (en) 2009-08-25 2015-03-03 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8973525B2 (en) 2010-03-11 2015-03-10 Samsung Display Co., Ltd. Thin film deposition apparatus
US8993360B2 (en) 2013-03-29 2015-03-31 Samsung Display Co., Ltd. Deposition apparatus, method of manufacturing organic light emitting display apparatus, and organic light emitting display apparatus
US9012258B2 (en) 2012-09-24 2015-04-21 Samsung Display Co., Ltd. Method of manufacturing an organic light-emitting display apparatus using at least two deposition units
US9018647B2 (en) 2010-09-16 2015-04-28 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US9040330B2 (en) 2013-04-18 2015-05-26 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus
US9051636B2 (en) 2011-12-16 2015-06-09 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus
US9121095B2 (en) 2009-05-22 2015-09-01 Samsung Display Co., Ltd. Thin film deposition apparatus
US9136476B2 (en) 2013-03-20 2015-09-15 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus, and organic light-emitting display apparatus manufactured by the method
US9150952B2 (en) 2011-07-19 2015-10-06 Samsung Display Co., Ltd. Deposition source and deposition apparatus including the same
US9174250B2 (en) 2009-06-09 2015-11-03 Samsung Display Co., Ltd. Method and apparatus for cleaning organic deposition materials
US9206501B2 (en) 2011-08-02 2015-12-08 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus by using an organic layer deposition apparatus having stacked deposition sources
US9234270B2 (en) 2011-05-11 2016-01-12 Samsung Display Co., Ltd. Electrostatic chuck, thin film deposition apparatus including the electrostatic chuck, and method of manufacturing organic light emitting display apparatus by using the thin film deposition apparatus
US9249493B2 (en) 2011-05-25 2016-02-02 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display apparatus by using the same
US9257649B2 (en) 2012-07-10 2016-02-09 Samsung Display Co., Ltd. Method of manufacturing organic layer on a substrate while fixed to electrostatic chuck and charging carrier using contactless power supply module
US9260778B2 (en) 2012-06-22 2016-02-16 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus manufactured using the method
US9279177B2 (en) 2010-07-07 2016-03-08 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US9306191B2 (en) 2012-10-22 2016-04-05 Samsung Display Co., Ltd. Organic light-emitting display apparatus and method of manufacturing the same
US9347886B2 (en) 2013-06-24 2016-05-24 Samsung Display Co., Ltd. Apparatus for monitoring deposition rate, apparatus provided with the same for depositing organic layer, method of monitoring deposition rate, and method of manufacturing organic light emitting display apparatus using the same
US9388488B2 (en) 2010-10-22 2016-07-12 Samsung Display Co., Ltd. Organic film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9450140B2 (en) 2009-08-27 2016-09-20 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display apparatus using the same
US9461277B2 (en) 2012-07-10 2016-10-04 Samsung Display Co., Ltd. Organic light emitting display apparatus
US9466647B2 (en) 2012-07-16 2016-10-11 Samsung Display Co., Ltd. Flat panel display device and method of manufacturing the same
US9496317B2 (en) 2013-12-23 2016-11-15 Samsung Display Co., Ltd. Method of manufacturing organic light emitting display apparatus
US9496524B2 (en) 2012-07-10 2016-11-15 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus manufactured using the method
US9512515B2 (en) 2011-07-04 2016-12-06 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9534288B2 (en) 2013-04-18 2017-01-03 Samsung Display Co., Ltd. Deposition apparatus, method of manufacturing organic light-emitting display apparatus by using same, and organic light-emitting display apparatus manufactured by using deposition apparatus
US9593408B2 (en) 2009-08-10 2017-03-14 Samsung Display Co., Ltd. Thin film deposition apparatus including deposition blade
US9624580B2 (en) 2009-09-01 2017-04-18 Samsung Display Co., Ltd. Thin film deposition apparatus
US9748483B2 (en) 2011-01-12 2017-08-29 Samsung Display Co., Ltd. Deposition source and organic layer deposition apparatus including the same
CN108630187A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 Note generating device, musical sound generation method, record have the recording medium and electronic musical instrument that musical sound generates program
JP2018159870A (en) * 2017-03-23 2018-10-11 カシオ計算機株式会社 Musical sound creation device, musical sound creation method, musical sound creation program, and electronic musical instrument
JP2018159871A (en) * 2017-03-23 2018-10-11 カシオ計算機株式会社 Musical sound creation device, musical sound creation method, musical sound creation program, and electronic musical instrument
US10246769B2 (en) 2010-01-11 2019-04-02 Samsung Display Co., Ltd. Thin film deposition apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573063A (en) * 1991-06-25 1993-03-26 Yamaha Corp Electronic musical instrument
JPH06308964A (en) * 1993-04-27 1994-11-04 Yamaha Corp Musical tone forming device
JPH07199949A (en) * 1993-12-27 1995-08-04 Yamaha Corp Musical sound signal reproducing device
JPH117281A (en) * 1997-06-18 1999-01-12 Matsushita Electric Ind Co Ltd Sound source device for electronic musical instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573063A (en) * 1991-06-25 1993-03-26 Yamaha Corp Electronic musical instrument
JPH06308964A (en) * 1993-04-27 1994-11-04 Yamaha Corp Musical tone forming device
JPH07199949A (en) * 1993-12-27 1995-08-04 Yamaha Corp Musical sound signal reproducing device
JPH117281A (en) * 1997-06-18 1999-01-12 Matsushita Electric Ind Co Ltd Sound source device for electronic musical instrument

Cited By (80)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11920233B2 (en) 2009-05-22 2024-03-05 Samsung Display Co., Ltd. Thin film deposition apparatus
US9121095B2 (en) 2009-05-22 2015-09-01 Samsung Display Co., Ltd. Thin film deposition apparatus
US11624107B2 (en) 2009-05-22 2023-04-11 Samsung Display Co., Ltd. Thin film deposition apparatus
US10689746B2 (en) 2009-05-22 2020-06-23 Samsung Display Co., Ltd. Thin film deposition apparatus
US9873937B2 (en) 2009-05-22 2018-01-23 Samsung Display Co., Ltd. Thin film deposition apparatus
US8916237B2 (en) 2009-05-22 2014-12-23 Samsung Display Co., Ltd. Thin film deposition apparatus and method of depositing thin film
US8882920B2 (en) 2009-06-05 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus
US8882921B2 (en) 2009-06-08 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus
US8802200B2 (en) 2009-06-09 2014-08-12 Samsung Display Co., Ltd. Method and apparatus for cleaning organic deposition materials
US9174250B2 (en) 2009-06-09 2015-11-03 Samsung Display Co., Ltd. Method and apparatus for cleaning organic deposition materials
US8907326B2 (en) 2009-06-24 2014-12-09 Samsung Display Co., Ltd. Organic light-emitting display device and thin film deposition apparatus for manufacturing the same
US8536057B2 (en) 2009-06-25 2013-09-17 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light emitting device by using the same
US8709161B2 (en) 2009-08-05 2014-04-29 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9593408B2 (en) 2009-08-10 2017-03-14 Samsung Display Co., Ltd. Thin film deposition apparatus including deposition blade
US8193011B2 (en) 2009-08-24 2012-06-05 Samsung Mobile Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8921831B2 (en) 2009-08-24 2014-12-30 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8137466B2 (en) 2009-08-24 2012-03-20 Samsung Mobile Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8968829B2 (en) 2009-08-25 2015-03-03 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8486737B2 (en) 2009-08-25 2013-07-16 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9450140B2 (en) 2009-08-27 2016-09-20 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display apparatus using the same
US9624580B2 (en) 2009-09-01 2017-04-18 Samsung Display Co., Ltd. Thin film deposition apparatus
US8876975B2 (en) 2009-10-19 2014-11-04 Samsung Display Co., Ltd. Thin film deposition apparatus
US9224591B2 (en) 2009-10-19 2015-12-29 Samsung Display Co., Ltd. Method of depositing a thin film
US9660191B2 (en) 2009-11-20 2017-05-23 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8951349B2 (en) 2009-11-20 2015-02-10 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US10287671B2 (en) 2010-01-11 2019-05-14 Samsung Display Co., Ltd. Thin film deposition apparatus
US10246769B2 (en) 2010-01-11 2019-04-02 Samsung Display Co., Ltd. Thin film deposition apparatus
US8859325B2 (en) 2010-01-14 2014-10-14 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8882556B2 (en) 2010-02-01 2014-11-11 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US9453282B2 (en) 2010-03-11 2016-09-27 Samsung Display Co., Ltd. Thin film deposition apparatus
US8973525B2 (en) 2010-03-11 2015-03-10 Samsung Display Co., Ltd. Thin film deposition apparatus
US8865252B2 (en) 2010-04-06 2014-10-21 Samsung Display Co., Ltd. Thin film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8894458B2 (en) 2010-04-28 2014-11-25 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US9136310B2 (en) 2010-04-28 2015-09-15 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US9279177B2 (en) 2010-07-07 2016-03-08 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8833294B2 (en) 2010-07-30 2014-09-16 Samsung Display Co., Ltd. Thin film deposition apparatus including patterning slit sheet and method of manufacturing organic light-emitting display device with the same
US8846547B2 (en) 2010-09-16 2014-09-30 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the thin film deposition apparatus, and organic light-emitting display device manufactured by using the method
US9018647B2 (en) 2010-09-16 2015-04-28 Samsung Display Co., Ltd. Thin film deposition apparatus, method of manufacturing organic light-emitting display device by using the apparatus, and organic light-emitting display device manufactured by using the method
US8871542B2 (en) 2010-10-22 2014-10-28 Samsung Display Co., Ltd. Method of manufacturing organic light emitting display apparatus, and organic light emitting display apparatus manufactured by using the method
US9388488B2 (en) 2010-10-22 2016-07-12 Samsung Display Co., Ltd. Organic film deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8882922B2 (en) 2010-11-01 2014-11-11 Samsung Display Co., Ltd. Organic layer deposition apparatus
US8852687B2 (en) 2010-12-13 2014-10-07 Samsung Display Co., Ltd. Organic layer deposition apparatus
US9748483B2 (en) 2011-01-12 2017-08-29 Samsung Display Co., Ltd. Deposition source and organic layer deposition apparatus including the same
US9234270B2 (en) 2011-05-11 2016-01-12 Samsung Display Co., Ltd. Electrostatic chuck, thin film deposition apparatus including the electrostatic chuck, and method of manufacturing organic light emitting display apparatus by using the thin film deposition apparatus
US8859043B2 (en) 2011-05-25 2014-10-14 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9249493B2 (en) 2011-05-25 2016-02-02 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display apparatus by using the same
US8707889B2 (en) 2011-05-25 2014-04-29 Samsung Display Co., Ltd. Patterning slit sheet assembly, organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus, and the organic light-emitting display apparatus
US9076982B2 (en) 2011-05-25 2015-07-07 Samsung Display Co., Ltd. Patterning slit sheet assembly, organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus, and the organic light-emitting display apparatus
US8906731B2 (en) 2011-05-27 2014-12-09 Samsung Display Co., Ltd. Patterning slit sheet assembly, organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus, and the organic light-emitting display apparatus
US9512515B2 (en) 2011-07-04 2016-12-06 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US8951610B2 (en) 2011-07-04 2015-02-10 Samsung Display Co., Ltd. Organic layer deposition apparatus
US9777364B2 (en) 2011-07-04 2017-10-03 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the same
US9150952B2 (en) 2011-07-19 2015-10-06 Samsung Display Co., Ltd. Deposition source and deposition apparatus including the same
US9206501B2 (en) 2011-08-02 2015-12-08 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus by using an organic layer deposition apparatus having stacked deposition sources
US9051636B2 (en) 2011-12-16 2015-06-09 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus
US9260778B2 (en) 2012-06-22 2016-02-16 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus manufactured using the method
US9461277B2 (en) 2012-07-10 2016-10-04 Samsung Display Co., Ltd. Organic light emitting display apparatus
US10431779B2 (en) 2012-07-10 2019-10-01 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus manufactured using the method
US9496524B2 (en) 2012-07-10 2016-11-15 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus using the same, and organic light-emitting display apparatus manufactured using the method
US8956697B2 (en) 2012-07-10 2015-02-17 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus and organic light-emitting display apparatus manufactured by using the method
US9257649B2 (en) 2012-07-10 2016-02-09 Samsung Display Co., Ltd. Method of manufacturing organic layer on a substrate while fixed to electrostatic chuck and charging carrier using contactless power supply module
US9466647B2 (en) 2012-07-16 2016-10-11 Samsung Display Co., Ltd. Flat panel display device and method of manufacturing the same
US8945974B2 (en) 2012-09-20 2015-02-03 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display device using an organic layer deposition apparatus
US9012258B2 (en) 2012-09-24 2015-04-21 Samsung Display Co., Ltd. Method of manufacturing an organic light-emitting display apparatus using at least two deposition units
US9306191B2 (en) 2012-10-22 2016-04-05 Samsung Display Co., Ltd. Organic light-emitting display apparatus and method of manufacturing the same
US8945979B2 (en) 2012-11-09 2015-02-03 Samsung Display Co., Ltd. Organic layer deposition apparatus, method of manufacturing organic light-emitting display apparatus by using the same, and organic light-emitting display apparatus manufactured by the method
US9136476B2 (en) 2013-03-20 2015-09-15 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus, and organic light-emitting display apparatus manufactured by the method
US8993360B2 (en) 2013-03-29 2015-03-31 Samsung Display Co., Ltd. Deposition apparatus, method of manufacturing organic light emitting display apparatus, and organic light emitting display apparatus
US9534288B2 (en) 2013-04-18 2017-01-03 Samsung Display Co., Ltd. Deposition apparatus, method of manufacturing organic light-emitting display apparatus by using same, and organic light-emitting display apparatus manufactured by using deposition apparatus
US9040330B2 (en) 2013-04-18 2015-05-26 Samsung Display Co., Ltd. Method of manufacturing organic light-emitting display apparatus
US8962360B2 (en) 2013-06-17 2015-02-24 Samsung Display Co., Ltd. Organic layer deposition apparatus and method of manufacturing organic light-emitting display device by using the organic layer deposition apparatus
US9347886B2 (en) 2013-06-24 2016-05-24 Samsung Display Co., Ltd. Apparatus for monitoring deposition rate, apparatus provided with the same for depositing organic layer, method of monitoring deposition rate, and method of manufacturing organic light emitting display apparatus using the same
US9496317B2 (en) 2013-12-23 2016-11-15 Samsung Display Co., Ltd. Method of manufacturing organic light emitting display apparatus
JP2018159871A (en) * 2017-03-23 2018-10-11 カシオ計算機株式会社 Musical sound creation device, musical sound creation method, musical sound creation program, and electronic musical instrument
JP2018159869A (en) * 2017-03-23 2018-10-11 カシオ計算機株式会社 Musical sound creation device, musical sound creation method, musical sound creation program, and electronic musical instrument
US10373595B2 (en) 2017-03-23 2019-08-06 Casio Computer Co., Ltd. Musical sound generation device
JP2018159870A (en) * 2017-03-23 2018-10-11 カシオ計算機株式会社 Musical sound creation device, musical sound creation method, musical sound creation program, and electronic musical instrument
US10475425B2 (en) 2017-03-23 2019-11-12 Casio Computer Co., Ltd. Musical sound generation device
CN108630187A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 Note generating device, musical sound generation method, record have the recording medium and electronic musical instrument that musical sound generates program
CN108630187B (en) * 2017-03-23 2023-03-10 卡西欧计算机株式会社 Musical sound generation device, musical sound generation method, recording medium having musical sound generation program recorded thereon, and electronic musical instrument

Also Published As

Publication number Publication date
JP4655812B2 (en) 2011-03-23

Similar Documents

Publication Publication Date Title
JP4655812B2 (en) Musical sound generator and program
US9613635B2 (en) Automated performance technology using audio waveform data
US10373595B2 (en) Musical sound generation device
JP2001092453A (en) Re-mixing device and storage medium
US10475425B2 (en) Musical sound generation device
US9396715B2 (en) Technique for generating audio data for loop reproduction on the basis of performance data
JP4770419B2 (en) Musical sound generator and program
US9040800B2 (en) Musical tone signal generating apparatus
JP4438766B2 (en) Musical sound generator and program
JP6904141B2 (en) Music generators, methods, programs, and electronic musical instruments
US6762358B2 (en) Waveform reproduction apparatus
US20130125734A1 (en) Musical sound generator and method for generating musical sound based on element data
JP3918817B2 (en) Music generator
EP3373289A1 (en) Electronic musical instrument, musical sound generating method, and storage medium
JP7131668B2 (en) SOUND GENERATING DEVICE, ELECTRONIC INSTRUMENT, SOUND GENERATING METHOD, AND PROGRAM
JP5176981B2 (en) Speech synthesizer and program
JP6452234B2 (en) Musical sound generator and program
JP2008090202A (en) Tuning device and computer program for tuning
JP3649398B2 (en) Waveform processing method and apparatus
JP3141789B2 (en) Sound source system using computer software
JP3982388B2 (en) Performance information processing method, performance information processing apparatus and program
JP3666346B2 (en) Musical sound generator and storage medium
JP4106798B2 (en) Sound generator
JP4236570B2 (en) Waveform playback device and waveform playback program
JP2006267173A (en) Device and program to edit performance data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080410

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090609

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100527

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101130

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101213

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4655812

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees