JP2023067673A - musical tone generator - Google Patents

musical tone generator Download PDF

Info

Publication number
JP2023067673A
JP2023067673A JP2021191583A JP2021191583A JP2023067673A JP 2023067673 A JP2023067673 A JP 2023067673A JP 2021191583 A JP2021191583 A JP 2021191583A JP 2021191583 A JP2021191583 A JP 2021191583A JP 2023067673 A JP2023067673 A JP 2023067673A
Authority
JP
Japan
Prior art keywords
filter
waveform
harmonic components
musical tone
timbre
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
JP2021191583A
Other languages
Japanese (ja)
Inventor
隆 猿橋
Takashi Saruhashi
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2021191583A priority Critical patent/JP2023067673A/en
Publication of JP2023067673A publication Critical patent/JP2023067673A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

To solve the problem that, in a musical tone generator having sound source waveform storage means, a timbre can be changed by providing filter means when reproducing data from a waveform memory, but simply controlling a cut-off frequency of a low-pass filter or a high-pass filter in a conventional manner results in monotonous timbre changes.SOLUTION: Timbre-changing means arranged in a musical tone generator uses reproduction frequency information selected by pressing a key on a keyboard to control a filter which is means for controlling the volume of harmonic components and inter-harmonic components and extracts the harmonic components and the inter-harmonic components.SELECTED DRAWING: Figure 1

Description

倍音成分や倍音間成分の音量を制御する事で、多彩な音色変化を生成する事を特徴とする楽音発生装置。 A musical tone generator characterized by generating a variety of timbre changes by controlling the volume of overtone components and interharmonic components.

一般に電子ピアノは、アコースティックピアノの88個の鍵盤の楽音を録音した波形データを対応する各々88個の波形メモリに記憶しておき、押鍵時は押された鍵盤に対応した波形メモリの音を再生している。しかし、録音波形を再生しているが故に音色は録音時の音色から大幅な変更は出来ない。 In general, an electronic piano stores waveform data obtained by recording musical tones of 88 keys of an acoustic piano in corresponding 88 waveform memories. is playing. However, since the recorded waveform is reproduced, the timbre cannot be greatly changed from the timbre at the time of recording.

音源波形記憶手段を持つ楽音発生装置で、波形メモリのデータを再生する際の音色変化はフィルター手段を設ける事で可能だが、従来の様にローパスフィルターやハイパスフィルターのカットオフ周波数を制御するだけでは音色変化が単調になる。 With a musical tone generator having sound source waveform storage means, it is possible to change the timbre when playing back the data in the waveform memory by providing a filter means. Tone changes become monotonous.

音源波形記憶手段を持つ楽音発生装置で、波形メモリのデータを再生する際の音色変化に、倍音成分や倍音間成分を抽出するフィルターを導入し、抽出した倍音成分や倍音間成分の音量を変化させる事で、多彩な音色変化を生成する。
なお、倍音成分や倍音間成分を抽出するためのフィルターの制御には、キーボードの押鍵によって選択された再生周波数情報を利用する。
A musical tone generator with sound source waveform storage means. A filter that extracts overtone components and inter-harmonic components is introduced to change the tone color when reproducing data in the waveform memory, and the volume of the extracted overtone components and inter-harmonic components is changed. A variety of timbre changes are generated by
For control of the filter for extracting overtone components and interharmonic components, reproduction frequency information selected by pressing a key on the keyboard is used.

例えばピアノ音ではアタック時にハンマーが弦に当たる打撃音が特徴的である。そこで、収録された波形データからこの打撃音をフィルターで取り出し、例えばアタック時は打撃音の音量を大きくして元音に加える事で、アタック感を強調した音色に変化させる事が出来る。 For example, a piano sound is characterized by the striking sound of a hammer striking a string at the time of attack. Therefore, by extracting this striking sound from the recorded waveform data with a filter, for example, by increasing the volume of the striking sound at the time of attack and adding it to the original sound, it is possible to change the tone color to emphasize the feeling of attack.

一般に、ピアノの打撃音やバイオリンの擦弦音は倍音と倍音の間に存在し、その成分を取出すにはピッチ情報が必要である。
一方、音源波形記憶手段を持つ楽音発生装置では、キーボードの押鍵によって選択された波形データの再生周波数は、キーボードの押鍵によって選択された再生周波数と同じである。言い換えれば、キーボードの押鍵によって選択された波形データのピッチ周期は、キーボードの押鍵によって選択された再生周波数情報のピッチ周期と同じである。
In general, the struck sound of a piano and the bowed sound of a violin exist between overtones, and pitch information is necessary to extract the component.
On the other hand, in a musical tone generating apparatus having sound source waveform storage means, the reproduction frequency of waveform data selected by pressing a key on the keyboard is the same as the reproduction frequency selected by pressing a key on the keyboard. In other words, the pitch period of the waveform data selected by pressing a key on the keyboard is the same as the pitch period of the reproduction frequency information selected by pressing a key on the keyboard.

本発明は、楽音の打撃音や擦弦音を強調または減衰させる事で、多彩な音色変化が得られる事を特徴とする楽音発生装置である。 The present invention is a musical sound generator characterized in that various timbre changes can be obtained by emphasizing or attenuating striking sounds and bowing sounds of musical sounds.

本発明実施例の構成図を示す。1 shows a block diagram of an embodiment of the present invention; FIG. 実施例[図1]の点線で示すDSPの具体的な処理を示す。The concrete processing of the DSP indicated by the dotted line in the embodiment [FIG. 1] is shown. 実施例[図1]の点線で示すDSPの動作説明のための波形図を示す。FIG. 2 shows a waveform diagram for explaining the operation of the DSP indicated by the dotted line in the embodiment [FIG. 1].

図1は本発明実施例の構成図であり、キーボード101、音源波形記憶部102、音源読出部203、フィルター部204、Direct信号用ボリウム105、Effect信号用ボリウム106、加算部107、DAC108からなる。 FIG. 1 is a block diagram of an embodiment of the present invention, comprising a keyboard 101, a sound source waveform storage unit 102, a sound source readout unit 203, a filter unit 204, a direct signal volume 105, an effect signal volume 106, an addition unit 107, and a DAC 108. .

キーボード101は88個のピアノ鍵盤であり、押鍵時に押された鍵盤番号Note Numberと鍵盤の押鍵/離鍵情報Note On/Offが出力される。これらの情報は音源読出部203、フィルター部204に送られる。
音源波形記憶部102は88個のピアノ鍵盤の各々に対応した領域にピアノ音の録音データが記憶されている。
音源読出部203では、Note Number情報に応じて音源波形記憶部102から録音データが読み出される。音源読出部203から読み出された録音データはDirect信号としてDirect信号用ボリウム105に送られると共にフィルター部204にも送られる。
フィルター部204は、ここではコムフィルターで説明するが、他の様々なフィルターを用いる事が出来る。
フィルター部204では、キーボード101からのNote Number情報からピッチ周期を求め、それによって制御されたコムフィルターによって倍音間成分を抽出しEffect信号としてEffect信号用ボリウム106に送られる。
Direct信号とEffect信号は、加算部107で加算後、DAC108でアナログ信号が生成される。
The keyboard 101 is a piano keyboard having 88 pieces, and outputs the pressed key number Note Number and the key pressing/key release information Note On/Off of the keyboard. These pieces of information are sent to the sound source reading section 203 and the filter section 204 .
The sound source waveform storage unit 102 stores recorded data of piano sounds in areas corresponding to each of 88 piano keyboards.
The sound source reading unit 203 reads the recorded data from the sound source waveform storage unit 102 according to the Note Number information. The recorded data read from the sound source reading section 203 is sent as a Direct signal to the Direct signal volume 105 and also to the filter section 204 .
The filter unit 204 is described here as a comb filter, but various other filters can be used.
The filter unit 204 obtains the pitch period from the note number information from the keyboard 101 , extracts interharmonic components by means of a comb filter controlled by the pitch period, and sends the extracted interharmonic components as an effect signal to the effect signal volume 106 .
After the Direct signal and the Effect signal are added by the adding section 107, the DAC 108 generates an analog signal.

なお加算部107で加算されるDirect信号とEffect信号の混合比は、操作パネルから制御しても良いが、図で示していない押鍵時のベロシティ情報や押鍵時からの時間的変化で自動的に与えても良い。 The mixing ratio of the Direct signal and the Effect signal added by the adder 107 may be controlled from the operation panel. You can give it purposefully.

図2は実施例[図1]の点線で示すDSPの具体的な処理をフローチャートで示してあり、このルーチンは本システムのサンプリング周期毎に呼ばれる。なお、以下説明はキーボードで”Middle-C”が押鍵された場合を例にしている。 FIG. 2 is a flow chart showing specific processing of the DSP indicated by the dotted line in the embodiment [FIG. 1], and this routine is called every sampling period of this system. In the following explanation, it is assumed that "Middle-C" is pressed on the keyboard.

キーボード101で押鍵されると、Note On情報が”Y”となり、音源読出部203では、Note Number情報に応じて音源波形記憶部102から録音データが読み出される。例では”Middle-C”が押鍵された場合でありNote Number=60なので、波形メモリ60が読み出される領域として選択される。 When a key is pressed on the keyboard 101, the Note On information becomes "Y", and the sound source reading section 203 reads the recorded data from the sound source waveform storage section 102 according to the Note Number information. In the example, "Middle-C" is pressed and Note Number=60, so the waveform memory 60 is selected as the area to be read.

次にフィルター部204では、Note Number情報からピッチ周期(sample)を求める。ピッチ周期とは波形1周期のサンプル数の事である。なお、ピッチ周期は本システムのサンプリング周波数をfs(Hz)とすると次の式で求める事が出来る。

Figure 2023067673000002
この計算式は音階の周波数が平均律で定義され、Note Number=69の鍵盤の再生周波数が440.0Hzである事を利用している。例では”Middle-C”が押鍵された場合でありNote Number=60なので、本システムのサンプリング周波数が32kHzの場合のピッチ周期は122.3120サンプルとなる。
なお、この計算を行わずに予め求めた値をテーブルとして用意して置き、これを参照する様にしても良い。Next, filter section 204 obtains a pitch period (sample) from the Note Number information. A pitch period is the number of samples in one period of a waveform. The pitch period can be obtained by the following formula, where fs (Hz) is the sampling frequency of this system.
Figure 2023067673000002
This calculation formula utilizes the fact that the frequency of the scale is defined by equal temperament, and the reproduction frequency of the note number=69 keyboard is 440.0 Hz. In the example, when "Middle-C" is pressed and Note Number=60, the pitch period is 122.3120 samples when the sampling frequency of this system is 32 kHz.
Instead of performing this calculation, it is also possible to prepare a table of values obtained in advance and refer to this table.

ここ以降のルーチンはNote Onの期間中かつ波形メモリの読み出しが最終アドレスになるまで繰り返す。
コムフィルターは波形メモリの2つの場所から読み出したデータを使うので、ReadAddress1は”0”、ReadAddress2は先程求めたピッチ周期値”122.3120”を初期値として代入する。
次のステップでは、波形メモリ60をReadAddress1をアドレスとして読み出した波形データをWaveData1に格納し、ReadAddress2をアドレスとして読み出した波形データをWaveData2に格納する。
そして、WaveData1からWaveData2を減算した値をコムフィルターの出力EffectDataとして格納する。
WaveData1はDirect成分として[図1]のDirect信号用ボリウム105に、EffectDataはEffect成分としてEffect信号用ボリウム106に送られる。
なお、ReadAddress1とReadAddress2は、本プログラムルーチンが呼ばれる度にインクリメントされる。
The subsequent routine is repeated during the Note On period until the waveform memory is read out to the final address.
Since the comb filter uses data read out from two locations in the waveform memory, ReadAddress1 is set to "0" and ReadAddress2 is set to the pitch cycle value "122.3120" obtained earlier as an initial value.
In the next step, the waveform data read from the waveform memory 60 using ReadAddress1 as an address is stored in WaveData1, and the waveform data read using ReadAddress2 as an address is stored in WaveData2.
Then, the value obtained by subtracting WaveData2 from WaveData1 is stored as the output EffectData of the comb filter.
WaveData1 is sent as a Direct component to the Direct signal volume 105 in FIG. 1, and EffectData is sent to the Effect signal volume 106 as an Effect component.
ReadAddress1 and ReadAddress2 are incremented each time this program routine is called.

図3では実施例[図1]の点線で示すDSPの動作波形を示す。
図3(3-1)は波形メモリ60をReadAddress1で読み出した波形でWaveData1に相当する。
図3(3-2)は波形メモリ60をReadAddress2で読み出した波形で、WaveData2に相当する。WaveData1波形とWaveData2波形は1周期分ずれている事が分かる。
図3(3-3)はWaveData1からWaveData2を減算した波形で、EffectDataに相当する。
図3(3-4)はWaveData1の周波数特性で、倍音が確認できる。
図3(3-5)はEffectDataの周波数特性で、倍音成分が除去されている。
FIG. 3 shows the operating waveforms of the DSP indicated by the dotted line in the embodiment [FIG. 1].
FIG. 3(3-1) is a waveform read from the waveform memory 60 at ReadAddress1 and corresponds to WaveData1.
FIG. 3(3-2) shows a waveform read from the waveform memory 60 at ReadAddress2, which corresponds to WaveData2. It can be seen that the WaveData1 waveform and the WaveData2 waveform are shifted by one cycle.
FIG. 3(3-3) shows a waveform obtained by subtracting WaveData2 from WaveData1, which corresponds to EffectData.
FIG. 3(3-4) shows the frequency characteristics of WaveData1, and overtones can be confirmed.
FIG. 3(3-5) shows the frequency characteristics of EffectData from which overtone components have been removed.

なお、本発明はピアノ音のみならず様々な楽音に応用できる。例えばバイオリン音は擦弦音が特徴で、この擦弦音をフィルター部で取り出し、アタック時は擦弦音を大きくする事でハードな音色にしたり、逆にアタック時は擦弦音を小さく徐々に大きくする事で柔らかい音色を得る事が出来る。 The present invention can be applied not only to piano sounds but also to various musical sounds. For example, the sound of a violin is characterized by a bowed string sound, and this bowed string sound is taken out in the filter section. A soft tone can be obtained.

また、実施例ではフィルター部は倍音間ノイズ成分を抽出するコムフィルターで説明したが、例えば倍音成分を抽出するコムフィルターを追加すれば打撃音成分や擦弦音成分が少ない楽音を生成できる。(倍音成分を抽出するコムフィルターは実施例の記号で説明するとWaveData1とWaveData2を加算する事で実現できる。) Also, in the embodiment, the comb filter for extracting interharmonic noise components is used as the filter unit, but if a comb filter for extracting overtone components is added, for example, musical tones with few percussive sound components and bowing sound components can be generated. (The comb filter for extracting overtone components can be realized by adding WaveData1 and WaveData2, as explained using symbols in the embodiment.)

101・・・キーボード、102・・・音源波形記憶部、203・・・音源読出部、204・・・フィルター部、105・・・Direct信号用ボリウム、106・・・Effect信号用ボリウム、107・・・加算部、108・・・DAC101... keyboard, 102... sound source waveform storage section, 203... sound source reading section, 204... filter section, 105... direct signal volume, 106... effect signal volume, 107. addition unit 108 DAC

Claims (1)

装置内に設けられた音色変更手段が倍音成分や倍音間成分の音量を制御する手段であり、倍音成分や倍音間成分を抽出するためのフィルターの制御にキーボードの押鍵によって選択された再生周波数情報を利用する楽音発生装置。 The timbre changing means provided in the device is means for controlling the volume of overtone components and inter-harmonic components, and the reproduction frequency selected by pressing a key on the keyboard is used to control the filter for extracting the overtone components and inter-harmonic components. A musical tone generator that uses information.
JP2021191583A 2021-11-01 2021-11-01 musical tone generator Pending JP2023067673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021191583A JP2023067673A (en) 2021-11-01 2021-11-01 musical tone generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021191583A JP2023067673A (en) 2021-11-01 2021-11-01 musical tone generator

Publications (1)

Publication Number Publication Date
JP2023067673A true JP2023067673A (en) 2023-05-16

Family

ID=86326521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021191583A Pending JP2023067673A (en) 2021-11-01 2021-11-01 musical tone generator

Country Status (1)

Country Link
JP (1) JP2023067673A (en)

Similar Documents

Publication Publication Date Title
US11094307B2 (en) Electronic musical instrument and method of causing electronic musical instrument to perform processing
JP4978993B2 (en) Music generator
Välimäki et al. Commuted waveguide synthesis of the clavichord
JP3838353B2 (en) Musical sound generation apparatus and computer program for musical sound generation
US11893968B2 (en) Electronic musical instrument, electronic keyboard musical instrument, and method of generating musical sound
JPS616689A (en) Electronic musical instrument
JP2023067673A (en) musical tone generator
JP2020056976A (en) Electronic music instrument, tone generation method, and program
Rauhala et al. Toward next-generation digital keyboard instruments
JP4239706B2 (en) Automatic performance device and program
JP4785052B2 (en) Music generator
JP2670306B2 (en) Musical tone synthesizing apparatus and musical tone synthesizing method
JPH0883067A (en) Musical tone controller of electronic musical instrument
JP4094441B2 (en) Electronic musical instruments
JP4303023B2 (en) Tone control method, waveform memory creation method, electronic musical tone generation method, timbre control system, waveform memory, and electronic musical tone generator
JP5493408B2 (en) Waveform data generation method
JP3666346B2 (en) Musical sound generator and storage medium
Rauhala Physics-Based Parametric Synthesis of Inharmonic Piano Tones
JP5151523B2 (en) Electronic musical instruments
JPH0934465A (en) Method and device for generating musical sound signal
JP5655273B2 (en) Waveform data generation method
JP3862839B2 (en) Waveform compression / decompression device
JPH09325777A (en) Device and method for musical sound signal generation
JP2003323177A (en) Waveform reproducing device
JPS6118996A (en) Electronic musical instrument