JPH06186959A - Musical sound waveform generating device with lfo adding function - Google Patents

Musical sound waveform generating device with lfo adding function

Info

Publication number
JPH06186959A
JPH06186959A JP4341867A JP34186792A JPH06186959A JP H06186959 A JPH06186959 A JP H06186959A JP 4341867 A JP4341867 A JP 4341867A JP 34186792 A JP34186792 A JP 34186792A JP H06186959 A JPH06186959 A JP H06186959A
Authority
JP
Japan
Prior art keywords
pitch
lfo
waveform data
value
calculated
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.)
Pending
Application number
JP4341867A
Other languages
Japanese (ja)
Inventor
Takeshi Terao
健 寺尾
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 JP4341867A priority Critical patent/JPH06186959A/en
Publication of JPH06186959A publication Critical patent/JPH06186959A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To impose natural modulation on a musical sound waveform by calculating LFO waveform data as a ratio value to a specific reference pitch based on the pitch of an input sound signal which naturally varies. CONSTITUTION:A CPU 101, a pitch extracting circuit 105, a ROM 108, a RAM 109, a keyboard part 110, and a sound source 111 are mutually connected by a bus 104. The pitch is successively extracted from the inputted sound signal. Then a specific pitch is set as the reference pitch(center key). The respective ratio values of the respective extracted values of the pitch and the set reference pitch value are successively calculated as the LFO waveform data. Then a musical sound waveform is generated while executing modulation based on the calculated LFO waveform data. The LFO waveform data are calculated as data representing the respective ratio values in cent units and the pitch of the musical sound being generated may be varied based on the calculated LFO waveform data in cent units.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、LFO付加機能を内蔵
した楽音波形生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone waveform generator having an LFO addition function.

【0002】[0002]

【従来の技術】電子楽器や音源モジュールなどの楽音波
形生成装置において、生成される楽音波形の特性にLF
O(Low Frequencty Oscilator)変化を付加する機能が内
蔵されているものが多い。
2. Description of the Related Art In a musical tone waveform generating apparatus such as an electronic musical instrument or a sound source module, the LF is used as a characteristic of the musical tone waveform generated.
Many have built-in functions to add O (Low Frequency Oscilator) changes.

【0003】例えば、リバーブ効果付加機能において
は、楽音波形のピッチが、LFO波形に基づいてゆるや
かに変化される。また、トレモロ効果付加機能において
は、楽音波形の振幅が、LFO波形に基づいてゆるやか
に変化される。
For example, in the reverb effect adding function, the pitch of the musical tone waveform is gently changed based on the LFO waveform. Further, in the tremolo effect adding function, the amplitude of the musical tone waveform is gently changed based on the LFO waveform.

【0004】従来のLFO付加機能においては、ユーザ
は、ROMなどに予め記憶された、例えば図10に示さ
れるような複数種類の単純な波形データから1つを選択
し、それをLFO発振波形として使用することができ
る。
In the conventional LFO addition function, the user selects one from a plurality of types of simple waveform data stored in advance in a ROM or the like, for example, as shown in FIG. 10, and sets it as an LFO oscillation waveform. Can be used.

【0005】[0005]

【発明が解決しようとする課題】しかし、このような従
来のLFO付加機能においては、ユーザは予め設定され
たLFO波形データしか使用できないため、思い通りの
LFO変化を付加できないという問題点を有している。
However, in such a conventional LFO addition function, the user can use only the preset LFO waveform data, so that there is a problem that the desired LFO change cannot be added. There is.

【0006】また、従来のLFO付加機能で提供される
LFO波形は、簡単な関数で表現できるような規則的な
波形であるため、このような規則的な波形によってLF
O変調されて得られた楽音波形は、人間的でなく無機質
的なものになってしまうという問題点を有している。
Further, since the LFO waveform provided by the conventional LFO addition function is a regular waveform that can be expressed by a simple function, the LF is formed by such a regular waveform.
The tone waveform obtained by O-modulation has a problem that it becomes inorganic rather than human.

【0007】本発明の課題は、ユーザがLFOの特性を
自由に設定でき、自然なLFO変化を付加できるように
することにある。
An object of the present invention is to allow a user to freely set the characteristics of an LFO and add a natural LFO change.

【0008】[0008]

【課題を解決するための手段】本発明は、まず、入力さ
れる音響信号からその音高を順次抽出する音高抽出手段
を有する。
According to the present invention, firstly, there is a pitch extracting means for sequentially extracting the pitch of an input acoustic signal.

【0009】次に、所定の音高を参照音高(センターキ
ー)として設定する参照音高設定手段を有する。また、
音高抽出手段により抽出された各音高の値と参照音高設
定手段により設定された参照音高の値との各比率値を、
LFO波形データとして順次算出するLFO波形データ
算出手段を有する。
Next, there is provided reference pitch setting means for setting a predetermined pitch as a reference pitch (center key). Also,
Each ratio value of each pitch value extracted by the pitch extraction means and the reference pitch value set by the reference pitch setting means,
It has an LFO waveform data calculation means for sequentially calculating it as LFO waveform data.

【0010】そして、LFO波形データ算出手段によっ
て算出されるLFO波形データに基づいて変調を行いな
がら楽音波形を生成する楽音生成手段を有する。上述の
本発明の構成において、LFO波形データ算出手段は、
例えば、LFO波形データを、各比率値をセント単位で
表したデータとして算出し、楽音生成手段は、LFO波
形データ算出手段によって算出されるセント単位のLF
O波形データに基づいて、発音中の楽音のピッチを変更
するように構成される。
Further, there is provided a tone generation means for generating a tone waveform while performing modulation based on the LFO waveform data calculated by the LFO waveform data calculation means. In the above-mentioned configuration of the present invention, the LFO waveform data calculation means is
For example, the LFO waveform data is calculated as data in which each ratio value is expressed in units of cents, and the tone generation unit is configured to calculate the LF in cents calculated by the LFO waveform data calculation unit.
Based on the O waveform data, the pitch of the musical tone being sounded is changed.

【0011】なお、LFO波形データ算出手段は、比率
値に基づいて、発音中の楽音のピッチ以外の任意の特
性、例えば振幅を変更するように構成することもでき
る。また、音高抽出手段による音高抽出処理及びLFO
波形データ算出手段によるLFO波形データ算出処理
は、ユーザによる演奏操作の前に行うように構成するこ
ともでき、或いは、演奏操作と並行してリアルタイムに
行うように構成することもできる。
The LFO waveform data calculating means may be configured to change any characteristic other than the pitch of the musical tone being sounded, such as the amplitude, based on the ratio value. Also, the pitch extraction processing by the pitch extraction means and the LFO
The LFO waveform data calculation processing by the waveform data calculation means can be configured to be performed before the performance operation by the user, or can be configured to be performed in real time in parallel with the performance operation.

【0012】[0012]

【作用】LFO波形データ算出手段は、音高抽出手段に
より抽出された入力音響信号の自然に変化する音高に基
づいて、所定の参照音高との比率値としてLFO波形デ
ータを算出する。
The LFO waveform data calculating means calculates the LFO waveform data as a ratio value to a predetermined reference pitch based on the naturally changing pitch of the input acoustic signal extracted by the pitch extracting means.

【0013】この結果、楽音生成手段は、上述のLFO
波形データに基づいて、とても自然な変調を楽音波形に
付加することができる。
As a result, the musical sound generating means uses the above-mentioned LFO.
A very natural modulation can be added to the tone waveform based on the waveform data.

【0014】[0014]

【実施例】以下、図面を参照しながら本発明の実施例に
つき詳細に説明する。 <実施例の構成>図1は、本発明が電子鍵盤楽器に適用
される場合の一実施例の全体構成図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. <Structure of Embodiment> FIG. 1 is an overall structure diagram of an embodiment in which the present invention is applied to an electronic keyboard instrument.

【0015】まず、CPU101、ピッチ抽出回路10
5、ROM108、RAM109、鍵盤部110、及び
音源111が、バス104によって相互に接続される構
成を有する。
First, the CPU 101 and the pitch extraction circuit 10
5, the ROM 108, the RAM 109, the keyboard section 110, and the sound source 111 are connected to each other by the bus 104.

【0016】ピッチ抽出回路105は、CPU101か
らの指示に従って、マイク106又はライン入力端子1
07から入力される音声などの音響信号のピッチ周波数
を順次抽出する。
The pitch extraction circuit 105 is responsive to instructions from the CPU 101 to the microphone 106 or the line input terminal 1
Pitch frequencies of audio signals such as voices input from 07 are sequentially extracted.

【0017】鍵盤部110には、演奏者が入力するため
の複数の鍵が配置される。音源111は、CPU101
からの指示に基づいて、楽音波形を生成し、その楽音波
形は、アンプ112を介してスピーカ113から放音さ
れる。
The keyboard section 110 is provided with a plurality of keys for the player to input. The sound source 111 is the CPU 101
A musical tone waveform is generated based on an instruction from, and the musical tone waveform is emitted from the speaker 113 via the amplifier 112.

【0018】CPU101は、ROM108に記憶され
た制御プログラムに従ってRAM109をワークメモリ
として使用しながら、パネルスイッチ部102の操作状
態の検出、ピッチ抽出回路105の制御、鍵盤部110
の各鍵の操作状態の検出、音源111に対する発音又は
消音に関する指示、表示部103へのパネルスイッチ部
102の操作状態の表示などを行う。
The CPU 101 detects the operation state of the panel switch section 102, controls the pitch extraction circuit 105, and uses the keyboard section 110 while using the RAM 109 as a work memory in accordance with a control program stored in the ROM 108.
The operation state of each key is detected, an instruction regarding sounding or muffling of the sound source 111 is displayed, and the operation state of the panel switch unit 102 is displayed on the display unit 103.

【0019】次に、パネルスイッチ部102の構成のう
ち、本発明に特に関連するものを図2に示す。サンプリ
ングモードスイッチ201は、図1のマイク106又は
ライン入力端子107から入力される音響信号のピッチ
周波数を順次抽出しそれに基づいてLFO波形データを
作成する、サンプリングモードの指定を行うためのスイ
ッチである。
Next, among the configurations of the panel switch section 102, those particularly relevant to the present invention are shown in FIG. A sampling mode switch 201 is a switch for designating a sampling mode, which sequentially extracts pitch frequencies of acoustic signals input from the microphone 106 or the line input terminal 107 of FIG. 1 and creates LFO waveform data based on the pitch frequencies. .

【0020】ピッチ抽出ストップスイッチ202は、上
述のサンプリングモードの終了を指示するためのスイッ
チである。ビブラートスイッチ203は、上述の作成さ
れたLFO波形データに基づき、音源111に対して、
それが生成する楽音波形にビブラート効果を付加させる
ためのスイッチである。 <実施例の動作原理>上述の構成を有する本発明の実施
例の動作原理について説明する。
The pitch extraction stop switch 202 is a switch for instructing the end of the above sampling mode. The vibrato switch 203, based on the LFO waveform data created above, with respect to the sound source 111,
It is a switch for adding a vibrato effect to the generated tone waveform. <Principle of Operation of Embodiment> The principle of operation of the embodiment of the present invention having the above configuration will be described.

【0021】ユーザが、パネルスイッチ部102のサン
プリングモードスイッチ201をオンすることにより、
図1のマイク106又はライン入力端子107から入力
される例えば図3(a) に示されるような波形を有する音
響信号のピッチ周波数が順次抽出される。
When the user turns on the sampling mode switch 201 of the panel switch section 102,
For example, the pitch frequency of the acoustic signal input from the microphone 106 or the line input terminal 107 of FIG. 1 and having a waveform as shown in FIG. 3A is sequentially extracted.

【0022】次に、ユーザが、パネルスイッチ部102
のピッチ抽出ストップスイッチ202を押した後に、鍵
盤部110において、上述の音響信号の平均ピッチ周波
数附近の周波数を有する鍵をセンターキーとして押鍵す
ると、そのセンターキーの周波数と上述の順次抽出され
たピッチ周波数の比率値が順次計算され、その比率値
が、センターキーの位置を0セントとしてセント単位で
記憶される。このデータが、例えば図3(b) に示される
LFO波形データとされる。
Next, the user operates the panel switch section 102.
After pressing the pitch extraction stop switch 202, the key having a frequency close to the average pitch frequency of the acoustic signal is pressed as the center key in the keyboard 110, and the frequency of the center key and the above-described sequential extraction are performed. The pitch frequency ratio values are sequentially calculated, and the ratio values are stored in units of cents with the position of the center key as 0 cent. This data is, for example, the LFO waveform data shown in FIG.

【0023】その後、ユーザが、パネルスイッチ部10
2のビブラートスイッチ203によりビブラート機能を
オンし、鍵盤部110の鍵により演奏を開始すると、発
音される楽音に、上述のLFO波形データに基づきビブ
ラート効果が付加される。 <実施例の具体的動作>次に、本発明の実施例の動作に
つき以下に順次説明する。
After that, the user operates the panel switch unit 10
When the vibrato function is turned on by the vibrato switch 203 of No. 2 and the performance is started by the keys of the keyboard section 110, the vibrato effect is added to the generated musical sound based on the above LFO waveform data. <Specific Operation of Embodiment> Next, the operation of the embodiment of the present invention will be sequentially described below.

【0024】図4は、CPU101がROM108に記
憶された制御プログラムを実行する動作として実現され
るメインフローチャートを示した図である。まず、電源
がオンされると、ステップS401において、RAM1
09の内容などがイニシャライズされる。
FIG. 4 is a diagram showing a main flow chart realized as an operation in which the CPU 101 executes the control program stored in the ROM 108. First, when the power is turned on, in step S401, the RAM 1
The contents of 09 are initialized.

【0025】その後、ステップS402〜S406のル
ープ動作が繰り返し実行する。ステップS402では、
図1の鍵盤部110の各鍵の操作状態がスキャンされ
る。
After that, the loop operation of steps S402 to S406 is repeatedly executed. In step S402,
The operation state of each key of the keyboard 110 of FIG. 1 is scanned.

【0026】ステップS403では、上述のスキャン結
果に応じて、音源111に対する発音指示などの動作が
実行される。ステップS404では、図1のパネルスイ
ッチ部102の操作状態が操作される。
In step S403, operations such as a sounding instruction to the sound source 111 are executed according to the scan result. In step S404, the operation state of the panel switch unit 102 in FIG. 1 is operated.

【0027】ステップS405では、上述のスキャン結
果に応じて、本発明に特に関連するピッチ抽出処理、ビ
ブラート機能のオン処理、その他、音色の変更処理など
が実行される。
In step S405, pitch extraction processing, vibrato function on processing, and tone color change processing, which are particularly relevant to the present invention, are executed in accordance with the above-described scan result.

【0028】ステップS406では、上述の各処理以外
の、例えば自動演奏のためのタイマー処理などの種々の
処理が実行される。図5、図6は、図4のメインフロー
チャートのステップS405に関する処理のうち、本発
明に特に関連するLFO波形データの作成処理に関する
動作フローチャートである。
In step S406, various processes other than the above-described processes, such as a timer process for automatic performance, are executed. FIG. 5 and FIG. 6 are operation flowcharts relating to the LFO waveform data creation processing particularly relevant to the present invention among the processing related to step S405 of the main flowchart of FIG.

【0029】まず、ステップS501で、ステップS4
04のパネルスイッチ部102のスキャンの結果、図2
のサンプリングモードスイッチ201がオンされたか否
かが判定される。
First, in step S501, step S4
As a result of the scan of the panel switch unit 102 of FIG.
It is determined whether or not the sampling mode switch 201 is turned on.

【0030】サンプリングモードスイッチ201がオン
されておらずステップS501の判定がNOならば、L
FO波形データの作成処理は実行されないサンプリング
モードスイッチ201がオンされステップS501の判
定がYESならば、ステップS502で、図1のピッチ
抽出回路105に対してピッチ抽出が指示される。その
後、ステップS503が繰り返し実行される待機状態と
なる。
If the sampling mode switch 201 is not turned on and the determination in step S501 is NO, L
The FO waveform data creation process is not executed. If the sampling mode switch 201 is turned on and the determination in step S501 is YES, in step S502, pitch extraction is instructed to the pitch extraction circuit 105 in FIG. Then, the process enters a standby state in which step S503 is repeatedly executed.

【0031】ピッチ抽出回路105は、上述のピッチ抽
出指示に基づいて、マイク106又はライン入力端子1
07から入力される音響信号からのピッチ周波数の抽出
を開始し、例えば5kHzのサンプリング周期で、ピッ
チ周波数を順次抽出し、その抽出結果をバス104を介
してRAM109の所定の記憶領域に順次格納してゆ
く。
The pitch extraction circuit 105 receives the microphone 106 or the line input terminal 1 based on the above pitch extraction instruction.
The extraction of the pitch frequency from the acoustic signal input from 07 is started, the pitch frequency is sequentially extracted at a sampling period of 5 kHz, and the extraction result is sequentially stored in a predetermined storage area of the RAM 109 via the bus 104. Go on.

【0032】続いて、ユーザが、適当なタイミングで図
2のピッチ抽出ストップスイッチ202をオンすると、
図5のステップS503の判定がYESとなり、次のス
テップS504において、ピッチ抽出回路105に対し
てピッチ抽出動作の停止命令が出される。この結果、ピ
ッチ抽出回路は、RAM109の上述の所定の記憶領域
にENDデータを書き込んで、ピッチ抽出動作を停止す
る。なお、後述する処理のために、RAM109上の変
数STARTに上述の所定の記憶領域の先頭のアドレス
が格納される。
Subsequently, when the user turns on the pitch extraction stop switch 202 of FIG. 2 at an appropriate timing,
The determination in step S503 of FIG. 5 is YES, and in the next step S504, a pitch extraction operation stop command is issued to the pitch extraction circuit 105. As a result, the pitch extraction circuit writes the END data in the above-mentioned predetermined storage area of the RAM 109 and stops the pitch extraction operation. It should be noted that the head address of the above-described predetermined storage area is stored in the variable START on the RAM 109 for the processing described later.

【0033】続いて、ステップS505の繰り返しによ
り、ユーザが鍵盤110上の何れかの鍵を押鍵するのを
待機する状態になる。ユーザが鍵盤110上の何れかの
鍵を押鍵されると、その鍵の周波数が前述したセンター
キーの情報としてRAM109に記憶された後、ステッ
プS505の判定がYESとなる。その後、図6のステ
ップS506〜S513の処理が繰り返し実行されるこ
とにより、前述した、センターキーの周波数と順次抽出
されたピッチ周波数の比率値を順次計算しセント単位で
記憶する動作が実行される。
Then, by repeating step S505, the process waits for the user to press any key on the keyboard 110. When the user presses any key on the keyboard 110, the frequency of the key is stored in the RAM 109 as the information of the center key described above, and then the determination in step S505 is YES. After that, the processes of steps S506 to S513 of FIG. 6 are repeatedly executed, thereby performing the above-described operation of sequentially calculating the ratio value of the center key frequency and the sequentially extracted pitch frequency and storing the ratio value in cents. .

【0034】即ち、まず、ステップS506で、RAM
109上の前述した所定の記憶領域から1つのデータが
読み込まれる。なお、アドレスポインタAdrの値は、
前述した変数STARTによって示される、上述の所定
の記憶領域の先頭アドレスの値に設定される。また、ス
テップS506〜S513のループ処理の開始前に、変
数maxの値が“0”に設定される。
That is, first, in step S506, the RAM
One data is read from the above-mentioned predetermined storage area on 109. The value of the address pointer Adr is
It is set to the value of the start address of the above-mentioned predetermined storage area indicated by the variable START described above. The value of the variable max is set to "0" before the loop processing of steps S506 to S513 is started.

【0035】上述の所定の記憶領域から前述したEND
データが読み込まれなければ、ステップS507の判定
がNOとなった後、ステップS508で、その読み込ま
れたピッチ周波数データの値とセンターキーの周波数の
値との比率値が計算され、その比率値がセント単位に変
換される。
The above-mentioned END from the above-mentioned predetermined storage area
If the data is not read, after the determination in step S507 is NO, in step S508, the ratio value between the read pitch frequency data value and the center key frequency value is calculated, and the ratio value is calculated. Converted to cents.

【0036】次に、ステップS509で、上述のセント
単位の比率値がRAM109に記憶されている変数Pi
tchに代入される。続いて、ステップS510で、変
数Pitchの値の絶対値が変数maxの値より大きい
か否かが判定される。
Next, in step S509, the ratio value in cents described above is stored in the RAM 109 as a variable Pi.
Substituted in tch. Succeedingly, in a step S510, it is determined whether or not the absolute value of the value of the variable Pitch is larger than the value of the variable max.

【0037】ステップS510の判定がYESならステ
ップS511で変数maxの値が変数Pitchの絶対
値で置き換えられ、また、ステップS510の判定がN
Oなら何も実行されない。
If the determination in step S510 is YES, the value of the variable max is replaced with the absolute value of the variable Pitch in step S511, and the determination in step S510 is N.
If O, nothing is executed.

【0038】次のステップS512では、変数Pitc
hの値がアドレスポインタAdrで示されるアドレスに
上書きされる。その後、ステップS513でアドレスポ
インタAdrの値が+1された後、ステップS506か
らの処理が繰り返される。
In the next step S512, the variable Pitc
The value of h is overwritten on the address indicated by the address pointer Adr. Then, after the value of the address pointer Adr is incremented by 1 in step S513, the processing from step S506 is repeated.

【0039】以上の処理が繰り返される結果、ピッチ周
波数データの値とセンターキーの周波数の値との比率値
が計算され、その比率値がセント単位に変換され、その
セント値が、アドレスポインタAdrで示されるRAM
109上の記憶領域に順次得られる。また、変数max
にピッチ周波数の絶対値の最大値が得られる。
As a result of the above processing being repeated, the ratio value between the value of the pitch frequency data and the frequency value of the center key is calculated, the ratio value is converted into a cent unit, and the cent value is designated by the address pointer Adr. RAM shown
It is sequentially obtained in the storage area on 109. Also, the variable max
The maximum absolute pitch frequency is obtained.

【0040】RAM109から前述したENDデータが
読み出されると、ステップS507の判定がYESとな
って、上述の比率値の抽出処理を終了する。その後、ス
テップS514で、アドレスポインタAdrが指す最終
アドレスの値が変数ENDに格納される。
When the above-mentioned END data is read from the RAM 109, the determination in step S507 becomes YES, and the above-mentioned ratio value extraction processing ends. After that, in step S514, the value of the final address pointed to by the address pointer Adr is stored in the variable END.

【0041】次に、ステップS515で、アドレスポイ
ンタAdrの値が変数STARTが指すセント値の先頭
記憶アドレスに再設定された後、ステップS516〜S
518の繰り返しにより、上述のセント値のデータの大
きさが正規化される。
Next, in step S515, the value of the address pointer Adr is reset to the leading storage address of the cent value pointed to by the variable START, and then steps S516 to S516.
By repeating 518, the size of the cent value data is normalized.

【0042】即ち、まず、ステップS516で、アドレ
スポインタAdrで指示されるアドレスのセント値が変
数maxの値で除算され、その除算結果に最大波高値が
乗算され、その乗算結果で、アドレスポインタAdrで
指示されるアドレスの内容が置き換えられる。
That is, first, in step S516, the cent value of the address pointed to by the address pointer Adr is divided by the value of the variable max, the result of the division is multiplied by the maximum peak value, and the result of the multiplication results in the address pointer Adr. The contents of the address designated by are replaced.

【0043】ここで、例えばセント値を7ビットで表現
するならば、最大波高値は27 −1=127に設定され
る。これにより、アドレスポインタAdrによって指示
される記憶領域上の各セント値が、その絶対値の最大値
が最大波高値に等しくなるように正規化される。
Here, for example, if the cent value is expressed by 7 bits, the maximum peak value is set to 2 7 −1 = 127. As a result, each cent value in the storage area pointed to by the address pointer Adr is normalized so that the maximum absolute value is equal to the maximum peak value.

【0044】アドレスポインタAdrの値が変数END
の値に等しくなっていなければ、ステップS518でア
ドレスポインタAdrの値が+1され、ステップS51
6の動作が繰り返される。
The value of the address pointer Adr is the variable END.
If it is not equal to the value of, the value of the address pointer Adr is incremented by 1 in step S518, and step S51
The operation of 6 is repeated.

【0045】アドレスポインタAdrの値が変数END
の値に等しくなると、LFO波形データの作成処理を終
了する。以上のようにして、RAM109上の変数ST
ARTが示すアドレスから変数ENDが示すアドレス
に、センターキーの周波数に対するピッチ周波数の比率
値をセント単位で表したデータが、LFO波形データと
して得られる。
The value of the address pointer Adr is the variable END.
When it becomes equal to the value of, the LFO waveform data creation process is terminated. As described above, the variable ST on the RAM 109
From the address indicated by ART to the address indicated by the variable END, data representing the ratio value of the pitch frequency to the frequency of the center key in units of cents is obtained as LFO waveform data.

【0046】上述のようにして得られたLFO波形デー
タに基づく楽音へのビブラート効果の付加処理は、ユー
ザが、パネルスイッチ部102のビブラートスイッチ2
03によりビブラート機能をオンした後に演奏を開始す
ることにより実現される。
The user adds the vibrato effect to the tone based on the LFO waveform data obtained as described above by the vibrato switch 2 of the panel switch section 102.
It is realized by starting the performance after turning on the vibrato function by 03.

【0047】図7は、図4のメインフローチャートのス
テップS405に関する処理のうち、ビブラートスイッ
チ203に関する処理の動作フローチャートである。即
ち、ステップS701で、ビブラートスイッチ203が
オンされたか否かが判定される。
FIG. 7 is an operation flowchart of the process relating to the vibrato switch 203 among the processes relating to step S405 of the main flowchart of FIG. That is, in step S701, it is determined whether the vibrato switch 203 is turned on.

【0048】ビブラートスイッチ203がオンされずス
テップS701の判定がNOなら何も実行されず、ビブ
ラートスイッチ203に関する処理を終了する。ビブラ
ートスイッチ203がオンされてステップS701の判
定がYESとなると、RAM109上の変数Vの値が
“1”であるか否かが判定される。
If the vibrato switch 203 is not turned on and the determination in step S701 is NO, nothing is executed and the processing relating to the vibrato switch 203 is ended. When the vibrato switch 203 is turned on and the determination in step S701 is YES, it is determined whether or not the value of the variable V on the RAM 109 is "1".

【0049】変数Vの値が“1”でステップS702の
判定がYESなら、ステップS703で、変数Vに
“0”が代入され、ビブラートスイッチ203に関する
処理を終了する。
If the value of the variable V is "1" and the determination in step S702 is YES, "0" is assigned to the variable V in step S703, and the processing relating to the vibrato switch 203 ends.

【0050】変数Vの値が“0”でステップS702の
判定がNOなら、ステップS704で、変数Vに“1”
が代入され、ビブラートスイッチ203に関する処理を
終了する。
If the value of the variable V is "0" and the determination in step S702 is NO, the variable V is "1" in step S704.
Is substituted, and the processing relating to the vibrato switch 203 ends.

【0051】以上の処理の結果、変数Vの値が“0”な
らビブラート機能はオフで、変数Vの値が“1”ならビ
ブラート機能はオンであるということになる。以下に、
ユーザの演奏に基づく発音指示処理、続いて、ビブラー
ト効果付加処理について、順次説明する。
As a result of the above processing, if the value of the variable V is "0", the vibrato function is off, and if the value of the variable V is "1", the vibrato function is on. less than,
The pronunciation instruction process based on the user's performance, and then the vibrato effect adding process will be sequentially described.

【0052】図8は、図4のメインフローチャートのス
テップS403の処理のうち、発音指示処理の動作フロ
ーチャートである。まず、ステップS801において、
図4のステップS402での鍵盤部110の各鍵の操作
状態のスキャンの結果、新たなキーオンが発生したか否
かが判定される。
FIG. 8 is an operation flowchart of the sounding instruction process in the process of step S403 of the main flowchart of FIG. First, in step S801,
As a result of scanning the operation state of each key on the keyboard 110 in step S402 of FIG. 4, it is determined whether a new key-on has occurred.

【0053】新たなキーオンが発生していなければ、ス
テップS801の判定がNOとなって発音指示処理は実
行されない。新たなキーオンが発生していれば、ステッ
プS801の判定がYESとなり、音源111に対して
発音指示処理がなされる。これにより、音源111は対
応する楽音の発音処理を開始する。なお、鍵のキーオフ
時の消音処理については特には図示しないが、新たなキ
ーオフの発生によって音源111に消音指示がなされ
る。
If a new key-on has not occurred, the determination in step S801 becomes NO and the sounding instruction processing is not executed. If a new key-on has occurred, the determination in step S801 becomes YES, and sound generation instruction processing is performed on the sound source 111. As a result, the sound source 111 starts the sound generation processing of the corresponding musical sound. It should be noted that although the muffling process at the time of key-off of the key is not particularly shown, the sound source 111 is instructed to mute when a new key-off occurs.

【0054】図9は、発音中の楽音に実際にビブラート
効果を付加するためのピッチ変更処理の動作フローチャ
ートである。この処理は、図4のメインフローチャート
の処理に対して一定時間毎に割り込むインタラプト処理
として実行される。インタラプトの時間間隔は、前述し
たピッチ抽出回路105におけるピッチ抽出処理におけ
るサンプリング間隔に等しい。
FIG. 9 is an operation flowchart of the pitch changing process for actually adding the vibrato effect to the musical tone being sounded. This process is executed as an interrupt process that interrupts the process of the main flowchart of FIG. 4 at regular intervals. The time interval of the interrupt is equal to the sampling interval in the pitch extraction processing in the pitch extraction circuit 105 described above.

【0055】まず、ステップS901で、音源111が
発音中の楽音が存在するか否かが判定される。発音中の
楽音が存在せずステップS901の判定がNOなら、ピ
ッチ変更処理は実行されない。
First, in step S901, it is determined whether or not there is a musical tone being sounded by the sound source 111. If there is no musical sound being sounded and the determination in step S901 is NO, the pitch changing process is not executed.

【0056】発音中の楽音が存在しステップS901の
判定がYESなら、ステップS902で、RAM109
上の変数Vの値が“1”であるか否かが判定される。変
数Vの値が“1”でなくステップS902の判定がNO
なら、ビブラート機能はオフであるため、ピッチ変更処
理は実行されない。
If there is a musical tone being sounded and the determination in step S901 is YES, RAM 109 is determined in step S902.
It is determined whether or not the value of the upper variable V is "1". The value of the variable V is not "1" and the determination in step S902 is NO.
If so, the vibrato function is off, so the pitch changing process is not executed.

【0057】変数Vの値が“1”でステップS902の
判定がYESなら、ビブラート機能はオンである。この
場合、まず、前述した図4のステップS401で(変数
STARTの値−1)に設定されたアドレスポインタA
drの値が+1された後、ステップS904で、そのア
ドレスポインタAdrの値によって指示されるRAM1
09上のアドレスに記憶されているLFO波形データが
読み込まれる。
If the value of the variable V is "1" and the determination in step S902 is YES, the vibrato function is on. In this case, first, the address pointer A set to (value of variable START-1) in step S401 of FIG.
After the value of dr is incremented by 1, the RAM 1 pointed to by the value of the address pointer Adr in step S904.
The LFO waveform data stored at the address on 09 is read.

【0058】そのデータがENDデータでなければステ
ップS905の判定がNOとなり、ステップS907
で、音源111に対して、現在発音中の全ての楽音につ
いて、上述の読み込まれたLFO波形データに対応する
セント値の分のピッチ変更指示がなされる。
If the data is not END data, the determination in step S905 is NO, and step S907
Then, the sound source 111 is instructed to change the pitch of the cent value corresponding to the above-mentioned read LFO waveform data for all the musical tones currently being sounded.

【0059】ステップS904で読み込まれたデータが
ENDデータでステップS905の判定がYESなら、
アドレスポインタAdrの値が変数STARTが示すL
FO波形データの先頭の記憶アドレスに再設定された後
に、その先頭アドレスのLFO波形データが読み込ま
れ、上述のステップS908の処理が実行される。
If the data read in step S904 is END data and the determination in step S905 is YES,
The value of the address pointer Adr is L indicated by the variable START.
After being reset to the head storage address of the FO waveform data, the LFO waveform data of the head address is read, and the processing of step S908 described above is executed.

【0060】以上の処理が、一定のインタラプト間隔で
繰り返されることにより、前述したLFO波形データの
作成処理によって作成されたLFO波形データに基づい
て、発音中の楽音にビブラート効果が付加される。
By repeating the above-described processing at a constant interrupt interval, the vibrato effect is added to the musical tone being sounded based on the LFO waveform data created by the above-described LFO waveform data creation processing.

【0061】ここで、発音中の各楽音のピッチは、セン
ト単位で表されたデータに基づいて変更されることによ
り、各楽音のピッチに応じたLFO変化が付加される点
が特徴である。
Here, the characteristic feature is that the pitch of each musical tone being sounded is changed based on the data expressed in units of cents, so that an LFO change corresponding to the pitch of each musical tone is added.

【0062】以上説明した実施例では、LFO波形デー
タの作成処理によって作成されたLFO波形データに基
づいて、発音中の楽音にビブラート効果が付加される場
合の処理について説明したが、そのLFO波形データに
基づいて、発音中の楽音にトレモロ効果が付加されるよ
うにしてもよい。その他、LFO波形データを用いる楽
音特性の変化処理ならば、本発明はどのような処理にも
適用できる。
In the embodiment described above, the processing in the case where the vibrato effect is added to the musical tone being sounded based on the LFO waveform data created by the LFO waveform data creation processing has been described. Based on, the tremolo effect may be added to the musical tone being sounded. In addition, the present invention can be applied to any process as long as it is a process of changing the tone characteristics using the LFO waveform data.

【0063】また、上述の実施例では、一旦LFO波形
データを作成した後にビブラート効果を付加するように
構成されたが、音響信号からピッチ抽出を行いLFO波
形データを順次作成しながら、その順次作成されるLF
O波形データによってリアルタイムに楽音の特性を変調
するようにすれば、例えばボーカル音によってリアルタ
イムに楽音に変調をかけることも可能となる。
In the above-described embodiment, the LFO waveform data is once created and then the vibrato effect is added. However, the pitch is extracted from the acoustic signal and the LFO waveform data is sequentially created while the LFO waveform data is sequentially created. LF
If the characteristic of the musical sound is modulated in real time by the O waveform data, it is also possible to modulate the musical sound in real time with, for example, a vocal sound.

【0064】[0064]

【発明の効果】本発明によれば、ユーザは、好みの入力
音響信号の自然に変化する各音高と所定の参照音高との
各比率値として好みのLFO波形データを算出すること
が可能となる。
According to the present invention, the user can calculate his or her favorite LFO waveform data as each ratio value of each pitch that changes naturally of the input acoustic signal of interest and the predetermined reference pitch. Becomes

【0065】そして、そのようなLFO波形データに基
づいて、とても自然な変調を楽音波形に付加することが
可能となる。
Then, based on such LFO waveform data, a very natural modulation can be added to the tone waveform.

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

【図1】本発明の実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】パネルスイッチ部の構成図である。FIG. 2 is a configuration diagram of a panel switch unit.

【図3】入力された音響信号と抽出されたピッチ周波数
の関係図である。
FIG. 3 is a relationship diagram between an input acoustic signal and an extracted pitch frequency.

【図4】メインフローチャートである。FIG. 4 is a main flowchart.

【図5】LFO波形データの作成に関するメインフロー
チャートのステップS405の動作フローチャート(そ
の1)である。
FIG. 5 is an operation flowchart (No. 1) of step S405 of the main flowchart relating to creation of LFO waveform data.

【図6】LFO波形データの作成に関するメインフロー
チャートのステップS405の動作フローチャート(そ
の2)である。
FIG. 6 is an operation flowchart (No. 2) of step S405 of the main flowchart relating to creation of LFO waveform data.

【図7】ビブラートスイッチに関するメインフローチャ
ートのステップS405の動作フローチャートである。
FIG. 7 is an operation flowchart of step S405 of the main flowchart regarding the vibrato switch.

【図8】新たなキーオンに対するステップS403の発
音指示に関する動作フローチャートである。
FIG. 8 is an operation flowchart relating to a sounding instruction in step S403 for a new key-on.

【図9】ピッチ変更に関するインタラプト処理の動作フ
ローチャートである。
FIG. 9 is an operation flowchart of an interrupt process regarding pitch change.

【図10】従来のLFO発振波形の例を示した図であ
る。
FIG. 10 is a diagram showing an example of a conventional LFO oscillation waveform.

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

101 CPU 102 パネルスイッチ部 103 表示部 104 バス 105 ピッチ抽出回路 106 マイク 107 ライン入力端子 108 ROM 109 RAM 110 鍵盤部 111 音源 112 アンプ 113 スピーカ 201 サンプリングモードスイッチ 202 ピッチ抽出ストップスイッチ 203 ビブラートスイッチ 101 CPU 102 Panel switch section 103 Display section 104 Bus 105 Pitch extraction circuit 106 Microphone 107 Line input terminal 108 ROM 109 RAM 110 Keyboard section 111 Sound source 112 Amplifier 113 Speaker 201 Sampling mode switch 202 Pitch extraction stop switch 203 Vibrato switch

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年12月22日[Submission date] December 22, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図7[Name of item to be corrected] Figure 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図7】 [Figure 7]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図8[Correction target item name] Figure 8

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図8】 [Figure 8]

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図9[Correction target item name] Figure 9

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図9】 [Figure 9]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図10[Name of item to be corrected] Fig. 10

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図10】 [Figure 10]

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力される音響信号からその音高を順次
抽出する音高抽出手段と、 所定の音高を参照音高として設定する参照音高設定手段
と、 前記音高抽出手段により抽出された各音高の値と前記参
照音高設定手段により設定された前記参照音高の値との
各比率値を、LFO波形データとして順次算出するLF
O波形データ算出手段と、 該LFO波形データ算出手段によって算出されるLFO
波形データに基づいて変調を行いながら楽音波形を生成
する楽音生成手段と、 を有することを特徴とするLFO付加機能付楽音波形生
成装置。
1. A pitch extracting means for sequentially extracting pitches from an input acoustic signal, a reference pitch setting means for setting a predetermined pitch as a reference pitch, and the pitch extracting means. LF for sequentially calculating the respective ratio values of the respective pitch values and the reference pitch values set by the reference pitch setting means as LFO waveform data.
O waveform data calculation means and LFO calculated by the LFO waveform data calculation means
A musical tone waveform generating apparatus with an LFO addition function, comprising: a musical tone generating unit that generates a musical tone waveform while performing modulation based on waveform data.
【請求項2】 LFO波形データ算出手段は、前記LF
O波形データを、前記各比率値をセント単位で表したデ
ータとして算出し、前記楽音生成手段は、前記LFO波
形データ算出手段によって算出されるセント単位のLF
O波形データに基づいて、発音中の楽音のピッチを変更
する、 ことを特徴とする請求項1に記載のLFO付加機能付楽
音波形生成装置。
2. The LFO waveform data calculation means is the LF
The O waveform data is calculated as data in which each of the ratio values is expressed in units of cents, and the musical tone generating means is configured to calculate the LF in cents calculated by the LFO waveform data calculating means.
The musical tone waveform generating apparatus with an LFO additional function according to claim 1, wherein the pitch of the musical tone being sounded is changed based on the O waveform data.
JP4341867A 1992-12-22 1992-12-22 Musical sound waveform generating device with lfo adding function Pending JPH06186959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4341867A JPH06186959A (en) 1992-12-22 1992-12-22 Musical sound waveform generating device with lfo adding function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4341867A JPH06186959A (en) 1992-12-22 1992-12-22 Musical sound waveform generating device with lfo adding function

Publications (1)

Publication Number Publication Date
JPH06186959A true JPH06186959A (en) 1994-07-08

Family

ID=18349365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4341867A Pending JPH06186959A (en) 1992-12-22 1992-12-22 Musical sound waveform generating device with lfo adding function

Country Status (1)

Country Link
JP (1) JPH06186959A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10116088A (en) * 1996-10-14 1998-05-06 Roland Corp Effect giving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10116088A (en) * 1996-10-14 1998-05-06 Roland Corp Effect giving device

Similar Documents

Publication Publication Date Title
CN107430849B (en) Sound control device, sound control method, and computer-readable recording medium storing sound control program
JPH10268877A (en) Voice signal processing device and karaoke device
JPH027078B2 (en)
JP2022179645A (en) Electronic musical instrument, sounding method of electronic musical instrument, and program
JP4112268B2 (en) Music generator
US6750390B2 (en) Automatic performing apparatus and electronic instrument
JPH06186959A (en) Musical sound waveform generating device with lfo adding function
JP3267777B2 (en) Electronic musical instrument
JPH0627960A (en) Automatic accompaniment playing device
JPS5855986A (en) Electronic musical instrument
JPH0968980A (en) Timbre controller for electronic keyboard musical instrument
JP3439312B2 (en) Electronic musical instrument pitch controller
JP3347753B2 (en) Electronic musical instrument
JP5560574B2 (en) Electronic musical instruments and automatic performance programs
JPH0627946A (en) Electronic keyboard musical instrument
JPH05108068A (en) Phrase information input and output device
JPH10187156A (en) Electronic stringed instrument capable of tapping harmonics execution
JP4722443B2 (en) Electronic metronome
JPH038558B2 (en)
JP2004361528A (en) Musical tone signal generator and legato processing program
JP2570945B2 (en) Tone generator
JP2953937B2 (en) Electronic musical instrument volume control device
JPH10116079A (en) Electronic musical instrument
JP2001092450A (en) Method for generating/processing audio file
JPH06202642A (en) Electronic musical instrument

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020625