JPH04166895A - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JPH04166895A JPH04166895A JP2291874A JP29187490A JPH04166895A JP H04166895 A JPH04166895 A JP H04166895A JP 2291874 A JP2291874 A JP 2291874A JP 29187490 A JP29187490 A JP 29187490A JP H04166895 A JPH04166895 A JP H04166895A
- Authority
- JP
- Japan
- Prior art keywords
- pitch
- key
- overtone
- key code
- sound
- 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
Links
- 239000011295 pitch Substances 0.000 claims abstract description 93
- 239000000872 buffer Substances 0.000 abstract description 19
- 230000005236 sound signal Effects 0.000 abstract 1
- 238000001514 detection method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 239000012528 membrane Substances 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、自然楽器に近いよりリアルな音を得ること
のできる電子楽器に関し、特に自然楽器と同様の共鳴効
果を得ることのできる電子楽器に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an electronic musical instrument that can obtain a more realistic sound that is closer to that of a natural musical instrument, and particularly to an electronic musical instrument that can obtain a resonance effect similar to that of a natural musical instrument. Regarding.
[従来技術]
従来、よりリアルな自然楽器に近い楽音を得るために、
例えば発音する楽音の音高に対応した所定の音高の共鳴
音を同時に発生させるような電子楽器があった。例えば
、特開昭60−91393号公報には押鍵により発生さ
れる音の音高に対応した共鳴音を低い音量レベルでかつ
長いリリース時間で発音させる電子楽器が開示されてい
る。このような電子楽器では、例えば本来の指定音高(
押圧鍵)が鍵C4ならば、その1/4.1/3゜1/2
. 2. 3.4. 5.6.8倍の周波数の共鳴音高
データとして、C2,F2. C3,C5゜G5.C6
,E6.G6.C7の各音高を示すデ−夕を発生しこれ
らの音高の共鳴音が発生されるようになっている。[Prior art] Conventionally, in order to obtain musical sounds closer to realistic natural instruments,
For example, there has been an electronic musical instrument that simultaneously generates a resonance tone of a predetermined pitch corresponding to the pitch of a musical tone being produced. For example, Japanese Patent Application Laid-Open No. 60-91393 discloses an electronic musical instrument that produces a resonance sound corresponding to the pitch of a sound generated by pressing a key at a low volume level and with a long release time. With such electronic musical instruments, for example, the original specified pitch (
If the pressed key) is key C4, then its 1/4.1/3°1/2
.. 2. 3.4. As resonance pitch data of 5.6.8 times the frequency, C2, F2. C3, C5°G5. C6
, E6. G6. Data indicating each pitch of C7 is generated, and resonance sounds of these pitches are generated.
[発明が解決しようとする課題]
ところで、上述のような電子楽器では、押鍵ごとにその
押鍵に対応した所定の音高の共鳴音を単純に発生させて
いくため、複数の鍵が押鍵された場合は各押鍵ごとに独
立別個に複数のチャンネルを割り当て共鳴音を独立に発
生することとなる。[Problems to be Solved by the Invention] Incidentally, in the electronic musical instrument as described above, each key press simply generates a resonant sound of a predetermined pitch corresponding to that key press. When a key is pressed, a plurality of channels are assigned to each key pressed independently, and resonance sounds are generated independently.
したがって、必要な発音チャンネル数が多くなる。Therefore, the number of required sound generation channels increases.
また、複数の鍵を押鍵した場合、チャンネルが空いてい
る限りその押鍵に応じた共鳴音が発生され、これらの共
鳴音は独立に無制限に発生するため、和音が濁りやすい
という問題点があった。In addition, when multiple keys are pressed, as long as the channel is empty, resonances corresponding to the keys pressed will be generated, and these resonances will be generated independently and without limit, resulting in the problem that chords tend to become muddy. there were.
この発明は、上述の従来例における問題点に鑑み、必要
なチャンネル数を抑え、かつ和音に濁りを与えることの
少ない電子楽器を提供することを目的とする。SUMMARY OF THE INVENTION In view of the above-mentioned problems in the prior art, it is an object of the present invention to provide an electronic musical instrument that reduces the number of required channels and that does not muddy chords.
[課題を解決するための手段]
この目的を達成するため、この発明は、楽音の音高を指
定するための音高指定手段と、この音高指定手段により
指定可能な音高ごとにその音高に応じた一連の音高情報
を記憶する記憶手段と、上記音高指定手段により複数の
音高が指定された場合に、その指定された音高ごとに記
憶されている一連の音高情報のうち共通する音高情報を
検出する検出手段と、上記音高指定手段で指定された音
高の楽音信号を出力するとともに、上記検出手段で検出
した共通する音高情報の音高の楽音信号を出力する楽音
信号出力手段とを具備することを特徴とする。[Means for Solving the Problem] In order to achieve this object, the present invention provides a pitch specifying means for specifying the pitch of a musical tone, and a pitch specifying means for specifying the pitch of each pitch that can be specified by the pitch specifying means. a storage means for storing a series of pitch information according to pitch, and a series of pitch information stored for each designated pitch when a plurality of pitches are designated by the pitch designation means; a detection means for detecting common pitch information among the above, and a musical tone signal having a pitch specified by the pitch specifying means, and a musical tone signal having a pitch of the common pitch information detected by the detection means; and musical tone signal output means for outputting.
また、検出手段は複数の指定された音高ごとの一連の音
高情報のうち共通する度数をも検出し、楽音信号出力手
段は共通する音高情報の音高の楽音信号にその共通する
度数に応じた特性(例えば音量など)を付与して出力す
るようにしてもよい。The detection means also detects a common frequency among a series of pitch information for each of a plurality of specified pitches, and the musical tone signal output means outputs the common frequency from the musical tone signal of the pitch of the common pitch information. The output may be provided with characteristics (for example, volume, etc.) depending on the situation.
[作 用]
このような構成によれば、操作者は音高指定手段により
例えば鍵盤などを用いて発生すべき楽音の音高を指定す
る。指定された音高の楽音信号は楽音信号出力手段によ
り出力され発音される。−方、音高指定手段により指定
可能な音高ごとにその音高に応じた一連の音高情報が記
憶手段に記憶されている。そして、複数の音高が指定さ
れた場合は、検出手段によりその指定された音高ごとに
記憶されている一連の音高情報を参照し共通するものを
見付は出す。共通する音高情報の音高を有する楽音は楽
音信号出力手段により発音される。[Function] According to such a configuration, the operator specifies the pitch of the musical tone to be generated by the pitch specifying means using, for example, a keyboard. A musical tone signal of the specified pitch is outputted by the musical tone signal output means and is sounded. On the other hand, for each pitch that can be specified by the pitch specifying means, a series of pitch information corresponding to the pitch is stored in the storage means. If a plurality of pitches are specified, the detecting means refers to a series of pitch information stored for each of the specified pitches and finds a common pitch. Musical tones having pitches of common pitch information are produced by the musical tone signal output means.
これにより、各音高に対して共鳴音となりうる一連の音
高情報を記憶しておき複数の音高の指定が有った場合に
これらの共鳴音のうち共通する音高情報の共鳴音を実際
に発音するようにできる。As a result, a series of pitch information that can be a resonance sound is stored for each pitch, and when multiple pitches are specified, a resonance sound with common pitch information among these resonance sounds is stored. You can actually pronounce it.
さらに、一連の音高情報のうち共通するものを検出する
際に共通する度数をも検出し、その度数に応じて共通す
る音高情報の音高を有する楽音を所定の特性で例えば所
定の音量で発音するようにしてもよい。Furthermore, when detecting common pitch information among a series of pitch information, a common frequency is also detected, and according to the frequency, a musical tone having a pitch of common pitch information is assigned a predetermined characteristic, for example, a predetermined volume. You may also choose to pronounce it as
[実施例] 以下、図面を用いてこの発明の詳細な説明する。[Example] Hereinafter, the present invention will be explained in detail using the drawings.
第1図は、この発明の一実施例に係る電子楽器のブロッ
ク構成を示す。この図に示す電子楽器は、鍵盤1および
音色指定設定部2を有する。これらは制御部3に接続さ
れており、鍵盤1からは押鍵に応じたキーコードKCお
よびタッチ情報TOUCHが制御部3に入力する。制御
部3はMIDIインターフェースを有している。制御部
3は内部に倍音テーブル0VTBLおよびデータバッフ
ァ0VBUFを有する。制御部3は具体的には中央処理
装置(CPU)およびランダムアクセスメモリ(RAM
)などを有し、後に説明するようなフローチャートにし
たがって動作する。制御部3は鍵盤1の押鍵により指定
されたキーコードK Cの楽音信号および共鳴音の楽音
信号を出力する。この出力は押鍵音用の音源システム6
および共鳴音用の音源システム7に入力する。押鍵音用
の音源システム6は内部にn個の発音チャンネル6−1
゜6−2.・・・86−nを有する。また、共鳴音用の
音源システム7は内部にm個の発音チャンネル7−1.
・・・、7−mを有する。これらの音源システム6.7
からの出力信号はミキサ8に入力し、さらにサウンドシ
ステムなどを介して楽音として発音される。FIG. 1 shows a block configuration of an electronic musical instrument according to an embodiment of the present invention. The electronic musical instrument shown in this figure has a keyboard 1 and a tone color designation setting section 2. These are connected to the control section 3 , and key codes KC and touch information TOUCH corresponding to key presses are input from the keyboard 1 to the control section 3 . The control section 3 has a MIDI interface. The control section 3 has an internal overtone table 0VTBL and a data buffer 0VBUF. Specifically, the control unit 3 includes a central processing unit (CPU) and a random access memory (RAM).
), etc., and operates according to a flowchart as explained later. The control section 3 outputs a musical tone signal of the key code KC specified by the pressed keys on the keyboard 1 and a musical tone signal of the resonance tone. This output is the sound source system 6 for the key press sound.
and is input to a sound source system 7 for resonance sound. The sound source system 6 for key pressed sounds has n sound generation channels 6-1 internally.
゜6-2. ...86-n. Further, the sound source system 7 for resonance sound has m sound generation channels 7-1.
..., has 7-m. These sound source systems 6.7
The output signal from the mixer 8 is input to the mixer 8, and is further outputted as a musical tone via a sound system or the like.
次に、第2図を参照して音源システム内の1つの発音チ
ャンネルの基本構成を説明する。Next, the basic configuration of one sound generation channel in the sound source system will be explained with reference to FIG.
音源システム内の各チャンネル6−1.・・・、6−n
、 7−1.・・・、7−mのそれぞれは第2図のチ
ャンネル10のように構成されている。1つのチャンネ
ル10は楽音信号の波形を発生する波形発生部11、楽
音信号の振幅を制御するための振幅制御信号を発生する
振幅制御信号発生部12および波形発生部11からの出
力波形を振幅制御信号発生部12からの振幅制御信号で
整形する積算器13などを有する。波形発生部11は音
高情報(キーコード)PITCHおよび音色情報TON
Eを入力し、これらに基づいて波形発生を行う。Each channel in the sound source system 6-1. ..., 6-n
, 7-1. . . , 7-m are each configured like the channel 10 in FIG. One channel 10 includes a waveform generating section 11 that generates a waveform of a musical tone signal, an amplitude control signal generating section 12 that generates an amplitude control signal for controlling the amplitude of the musical tone signal, and an amplitude control of the output waveform from the waveform generating section 11. It includes an integrator 13 that shapes with the amplitude control signal from the signal generator 12, and the like. The waveform generator 11 generates pitch information (key code) PITCH and tone information TON.
E is input and waveform generation is performed based on these.
キーオン信号KONは波形発生部11および振幅制御信
号発生部12に入力する。さらに、タッチ情報TOUC
H,音量情報VOLおよびエンベロープジェネレータの
パラメータEGPARはそれぞれ振幅制御信号発生部1
2に入力し、振幅制御信号発生部12は、これらの入力
信号に基づいて振幅制御信号を発生する。The key-on signal KON is input to a waveform generating section 11 and an amplitude control signal generating section 12. Furthermore, touch information TOUC
H, volume information VOL and envelope generator parameter EGPAR are each output from the amplitude control signal generator 1.
2, and the amplitude control signal generating section 12 generates an amplitude control signal based on these input signals.
次に、制御部3の内部にある倍音テーブルおよびデータ
バッファにつき説明する。Next, the overtone table and data buffer inside the control section 3 will be explained.
第3図は、倍音テーブル0VTBLの概念図である。倍
音テーブル0VTBLは、この電子楽器の鍵盤1から指
定することのできる音高(すなわちキーコード)のそれ
ぞれに対応する128個の記憶領域を有する。各記憶領
域は順に0VTBLO,0VTBL]、−,0VTBL
127と呼ぶ。FIG. 3 is a conceptual diagram of the overtone table 0VTBL. The overtone table 0VTBL has 128 storage areas corresponding to each pitch (ie, key code) that can be specified from the keyboard 1 of this electronic musical instrument. Each storage area is sequentially 0VTBLO, 0VTBL], -, 0VTBL
It's called 127.
1つのキーコードに対応する1つの記憶領域0vTBL
i (i=0〜127)は8つの記憶域を有する。ここ
では音名CI(キーコードKC−36)および音名El
(キーコードKC−40)に対応する8つの記憶域を図
示している。音名C1に対応する8つの記憶域は、0V
TCI−1,・・・、0VTC1−8と呼ぶ。同様に、
音名E1に対応する8つの記憶域は、0VTEI−1,
−=、0VTE1−8と呼ぶ。−膜内に、キーコードK
Cに対応する8つの記憶域は、0VTKC−1,・・・
、OV T K C−8と呼ぶものとする。One storage area 0vTBL corresponding to one key code
i (i=0-127) has eight storage areas. Here, note name CI (key code KC-36) and note name El
Eight storage areas corresponding to (key code KC-40) are illustrated. The eight storage areas corresponding to pitch name C1 are 0V.
They are called TCI-1, . . . , 0VTC1-8. Similarly,
The eight storage areas corresponding to pitch name E1 are 0VTEI-1,
-=, called 0VTE1-8. -Key code K inside the membrane
The eight storage areas corresponding to C are 0VTKC-1,...
, OVTKC-8.
これらの記憶域0VTKC−1,−,0VTKC−8に
は、キーコードKCと倍音関係である倍音キーコードを
8つ選んで設定しである。例えば、音名C1に対応する
0VTCI−1,・、0VTC1−8には、以下の第1
表に示すような音名C1と倍音関係であるキーコードが
設定されている。In these storage areas 0VTKC-1, -, 0VTKC-8, eight overtone key codes having overtone relationships with the key code KC are selected and set. For example, 0VTCI-1, ., 0VTC1-8 corresponding to pitch name C1 contains the following first
A key code is set that has a harmonic relationship with the pitch name C1 as shown in the table.
同様に、音名E1に対応するQVTEI−1,・・・。Similarly, QVTEI-1, . . . corresponding to pitch name E1.
0VTEI−8には、以下の第2表に示すような音名E
1と倍音関係であるキーコードが設定されている。これ
らの8つのキーコードは、キーコードKCの発音が指定
された場合に、共鳴音となる可能性のある一連の楽音の
キーコードである。0VTEI-8 has the pitch name E as shown in Table 2 below.
A key code is set that has an overtone relationship with 1. These eight key codes are key codes of a series of musical tones that may become resonance tones when the sound generation of key code KC is specified.
第1表 第2表 第4図は、データバッファ0VBUFの概念図である。Table 1 Table 2 FIG. 4 is a conceptual diagram of the data buffer 0VBUF.
データバッファ0VBUFは、この電子楽器で発音可能
な音高のそれぞれに対応する128個の要素を有する。The data buffer 0VBUF has 128 elements corresponding to each pitch that can be produced by this electronic musical instrument.
各要素は順に0VBUFO。Each element is 0VBUFO in turn.
0VBUFI、−,0VBUF127と呼ぶ。初期値は
すべて「0」である。あるキーコードの鍵が押鍵された
ときには、そのキーコードに対応する倍音テーブル0V
TBLを参照し、設定されている8つの倍音キーコード
を得る。そして、その倍音キーコードに対応するデータ
バッファ0VBUFの要素の値をインクリメントする。It is called 0VBUFI, -, 0VBUF127. The initial values are all "0". When a key with a certain key code is pressed, the overtone table corresponding to that key code is 0V.
Refer to the TBL and obtain the 8 set overtone key codes. Then, the value of the element of the data buffer 0VBUF corresponding to the overtone key code is incremented.
逆に、離鍵の場合はデクリメントする。Conversely, when the key is released, it is decremented.
次に、第5,6図のフローチャートを参照して、この電
子楽器の制御部3の動作を説明する。Next, the operation of the control section 3 of this electronic musical instrument will be explained with reference to the flowcharts shown in FIGS.
第5図は、この電子楽器の制御部3のメインルーチンを
示す。制御部3の動作が開始すると、まずステップS1
でレジスタやテーブルなどのイニシャライズを行う。倍
音テーブル0VTBLには上述したような各キーコード
に対応する倍音関係のキーコードが設定される。データ
バッファ0VBUFの128個の要素はすべてゼロクリ
アされる。ステップS1の後、ステップS2で押鍵検出
発音処理を行い、この処理が終了したら再びステップS
2に戻りこれを繰り返す。FIG. 5 shows the main routine of the control section 3 of this electronic musical instrument. When the operation of the control unit 3 starts, first step S1
Initialize registers, tables, etc. with . Key codes related to overtones corresponding to each key code as described above are set in the overtone table 0VTBL. All 128 elements of data buffer 0VBUF are cleared to zero. After step S1, key press detection sound generation processing is performed in step S2, and once this processing is completed, step S2 is performed again.
Return to step 2 and repeat.
次に、第6図のフローチャートを参照して、押鍵検出発
音処理につき説明する。押鍵検出発音処理においては、
まずステップSllで押鍵(キーオン)または離鍵(キ
ーオフ)の鍵イベントを検出する。次に、ステップS1
2で鍵イベントがあるか否か判別する。鍵イベント無し
ならリターンし、鍵イベント有りならステップ813に
進む。Next, key press detection sound generation processing will be explained with reference to the flowchart of FIG. In key press detection pronunciation processing,
First, in step Sll, a key event of key depression (key on) or key release (key off) is detected. Next, step S1
In step 2, it is determined whether or not there is a key event. If there is no key event, return; if there is a key event, proceed to step 813.
ステップ813で鍵イベントが有ったキーコードKCに
対応する倍音テーブル0VTBLの8つの倍音キーコー
ド0VTKC−1〜0VTKC−8を読み出す。次に、
ステップ514で鍵イベントがキーオンイベントである
か否かを判別し、キーオンイベントのときはステップS
15に、そうでないときはステップS21に、それぞれ
進む。In step 813, eight overtone key codes 0VTKC-1 to 0VTKC-8 of the overtone table 0VTBL corresponding to the key code KC with a key event are read out. next,
In step 514, it is determined whether the key event is a key-on event, and if it is a key-on event, step S
If not, the process proceeds to step S21.
キーオンイベントのときは、ステップS15で8つの倍
音キーコード0VTKC−1〜0VTKC−8に対応す
るデータバッファ0VBUFの8つの要素をインクリメ
ント(+1)する。そして、ステップS16でキーオン
のあったキーコードKC(押鍵音)を発音する。また、
ステップS17でデータバッファ0VBUFを参照して
新たに「2」以上となった0VBUFの要素を検出し、
対応するキーコードの音を共鳴音として発音する。In the case of a key-on event, eight elements of the data buffer 0VBUF corresponding to the eight overtone key codes 0VTKC-1 to 0VTKC-8 are incremented (+1) in step S15. Then, in step S16, the key code KC (key press sound) corresponding to the key-on is generated. Also,
In step S17, the data buffer 0VBUF is referred to, and an element of 0VBUF that newly becomes "2" or more is detected,
Produces the sound of the corresponding key code as a resonance sound.
さらに、0VBUFの要素が「3」以上になったものは
対応するキーコードの音の音量のみを変化させる。その
後、リターンする。Further, when the 0VBUF element is "3" or more, only the volume of the sound of the corresponding key code is changed. Then return.
ステップS14でキーオンイベントでない場合は、ステ
ップS21でキーオフイベントであるか否かを判別する
。キーオフイベントである場合はステップS22に進み
、そうでない場合はリターンする。If it is determined in step S14 that it is not a key-on event, it is determined in step S21 whether or not it is a key-off event. If it is a key-off event, the process advances to step S22; otherwise, the process returns.
キーオフイベントのときは、ステップS22でキーオフ
されたキーコードKCの音のキーオフ処理を行う。次に
、ステップ823でキーオフ後ほかに押鍵があるか否か
を判別する。まだ押鍵されている鍵がある場合は、ステ
ップS24で8つの倍音キーコード0VTKC−1〜0
VTKC−8に対応するデータバッファ0VBUFの8
つの要素をデクリメント(−1)する。In the case of a key-off event, key-off processing is performed on the sound of the key code KC that was keyed off in step S22. Next, in step 823, it is determined whether there are any other keys pressed after the key is turned off. If there is a key that is still pressed, eight harmonic key codes 0VTKC-1 to 0 are input in step S24.
8 of data buffer 0VBUF corresponding to VTKC-8
Decrement (-1) one element.
そして、ステップS26でデータバッファ0vBUFを
参照して新たに「1」以下となった0vBUFの要素を
検出し、対応するキーコード(共鳴音として発音されて
いる)の共鳴音をキーオフする。さらに、0VBUFの
要素が「2」以上であるものは、その値に応じて対応す
るキーコードの音の音量のみを変化させる。その後、リ
ターンする。Then, in step S26, the data buffer 0vBUF is referred to, and an element of 0vBUF that has newly become "1" or less is detected, and the resonance tone of the corresponding key code (sounded as a resonance tone) is keyed off. Further, when the 0VBUF element is "2" or more, only the volume of the sound of the corresponding key code is changed according to the value. Then return.
ステップ823でほかに押鍵が無い場合は、全鍵で押鍵
が1つもないということであるから、ステップS25で
データバッファ0VBUFをすべてゼロクリアし、ステ
ップS26に進む。If there is no other key pressed in step 823, this means that there is no pressed key among all the keys, so in step S25 the data buffer 0VBUF is cleared to zero, and the process proceeds to step S26.
以上の処理を第3図に示した例を用いて説明する。まず
、すべての鍵がオフされている状態から音名C1の鍵が
押鍵されたとする。このとき制御部3は、音名C1のキ
ーコードKC=36に基づき0VTBL36の8つの倍
音キーコード0VTC1−1〜0VTC1−8を読み出
す(ステップ813)。この値は第3図(第1表)に示
したキーコードの値であるから、倍音キーコード0VT
C1−1〜0VTCI−8に対応するデータバッファの
8つの要素0VBUF60,0VBUF64、・・・、
0VBUF82はインクリメントされる(ステップ51
5)。結果として、これらのデータバッファの8つの要
素0VBUF60,0VBUF64.・・・、0VBU
F82の値は「1」となる。この状態では、データバッ
ファの要素で「2」以上のものはないので共鳴音は発生
されない(ステップ517)。The above processing will be explained using the example shown in FIG. First, assume that the key with pitch name C1 is pressed while all keys are turned off. At this time, the control unit 3 reads out eight overtone key codes 0VTC1-1 to 0VTC1-8 of the 0VTBL36 based on the key code KC=36 of the pitch name C1 (step 813). Since this value is the value of the key code shown in Figure 3 (Table 1), the overtone key code 0VT
Eight elements of data buffer corresponding to C1-1 to 0VTCI-8 0VBUF60, 0VBUF64,...
0VBUF82 is incremented (step 51
5). As a result, the eight elements of these data buffers 0VBUF60, 0VBUF64 . ..., 0VBU
The value of F82 is "1". In this state, there are no elements of the data buffer that are equal to or greater than "2", so no resonance is generated (step 517).
次に、音名C1の鍵の押鍵は継続したまま、音名E1の
鍵が押鍵されたとする。このとき制御部3は、音名E1
のキーコードKC=40に基づき0VTBL40の8つ
の倍音キーコード0VTE1−1〜0VTE 1−8を
読み出す(ステップ813)。この値は第3図(第2表
)に示したキーコードの値であるから、倍音キーコード
0VTE1−1〜0VTEI−8に対応するデータバッ
ファの8つの要素0VBUF64,0VBUF68゜・
・・、0VBUF86はインクリメントされる(ステッ
プ515)。結果として、0VTCI−1〜0VTCI
−8のキーコードと0VTEI−1〜0VTEI−8の
キーコードとで共通するものすなわち音名E3(キーコ
ード=64) 、音名D4(キーコード=74)および
音名A#4(キーコード−82)に対応するデータバッ
ファの要素0VBUF64,0VBUF74および0V
BUF82の値は「2」となる。そして、これらのキー
コードの音がステップS17にて共鳴音として発音され
る。Next, suppose that the key with the pitch name E1 is pressed while the key with the pitch name C1 continues to be pressed. At this time, the control section 3 controls the pitch name E1.
The eight overtone key codes 0VTE1-1 to 0VTE1-8 of 0VTBL40 are read out based on the key code KC=40 (step 813). Since these values are the key code values shown in Figure 3 (Table 2), the eight elements of the data buffer corresponding to the overtone key codes 0VTE1-1 to 0VTEI-8 are 0VBUF64, 0VBUF68°.
..., 0VBUF86 is incremented (step 515). As a result, 0VTCI-1 to 0VTCI
What is common between the -8 key code and the 0VTEI-1 to 0VTEI-8 key codes: pitch name E3 (key code = 64), pitch name D4 (key code = 74), and pitch name A#4 (key code -82) elements of the data buffer corresponding to 0VBUF64, 0VBUF74 and 0V
The value of BUF82 becomes "2". The sounds of these key codes are then produced as resonance sounds in step S17.
上記の実施例によれば、押鍵のあったキーコードに対応
する倍音テーブルの倍音キーコード(共鳴音として発音
する可能性のあるキーコード)を参照し、複数の押鍵に
対し共通する倍音キーコードを検出して共鳴音として発
音させているので、少ないチャンネル数で共鳴音を発音
させることができ和音の濁りも少ない。また、共通する
数に応じて、共鳴音の音量を変化させているので(共通
数が大きいほど音量を大きくしている)、より自然な共
鳴音が得られる。According to the above embodiment, by referring to the overtone key code (key code that may be pronounced as a resonance tone) in the overtone table corresponding to the key code where the key was pressed, Since the key code is detected and generated as a resonance tone, the resonance tone can be generated with a small number of channels, and the chords are less muddy. Furthermore, since the volume of the resonance sound is changed according to the common number (the volume is increased as the common number is larger), a more natural resonance sound can be obtained.
なお、倍音テーブル0VTBLに共鳴音の音高情報だけ
でなく発生する際の音量や音色などの指定情報を設定し
ておき、これらの情報を用いて共鳴音の特性を変化させ
るようにしてもよい。また、キーオフ処理において、共
通する数が「1」以下の共鳴音をキーオフするようにし
ているが(ステップ526)、rOJとなるまで共鳴音
の発音を継続させるようにしてもよい。特に、パイプオ
ルガンの音を模する電子楽器では、共通する数が「0」
となるまで共鳴音の発音を継続させることが好ましい。Note that in addition to the pitch information of the resonance sound, specification information such as the volume and timbre at the time of generation may be set in the overtone table 0VTBL, and this information may be used to change the characteristics of the resonance sound. . Further, in the key-off processing, resonance tones having a common number of "1" or less are keyed off (step 526), but the resonance tones may continue to be produced until rOJ is reached. In particular, in electronic instruments that imitate the sound of a pipe organ, the common number is "0".
It is preferable to continue producing the resonance sound until .
その際、共通数の減少に応じて共鳴音の音量を下げるよ
うな制御をしてもよい。At this time, control may be performed to lower the volume of the resonance sound in accordance with the decrease in the common number.
さらに、上記の実施例では押鍵音発音用の音源と共鳴音
発音用の音源とを別々としているが、押鍵音と共鳴音の
チャンネル割り当て処理を適宜行うこととし一体化され
た音源を用いて構成するようにしてもよい。Furthermore, in the above embodiment, the sound source for producing the key-press sound and the sound source for producing the resonance sound are separate, but channel assignment processing for the key-press sound and the resonance sound is performed appropriately, and an integrated sound source is used. It may be configured as follows.
[発明の効果]
以上説明したように、この発明によれば、指定可能な音
高ごとに一連の音高情報(例えば共鳴音となり得る音高
)を記憶しておき、複数の音高が指定された場合にそれ
らに対応する一連の音高情報のうち共通する音高情報を
検出して楽音信号を出力するようにしているので、チャ
ンネルの必要数を少なくすることができ、和音に濁りを
与えることが少ない。また、共通する度数に応じて音量
や音色などの特性を変更するようにすれば、より自然な
楽音の発音が可能である。[Effects of the Invention] As explained above, according to the present invention, a series of pitch information (for example, pitches that can become resonance sounds) is stored for each pitch that can be specified, and a plurality of pitches can be specified. Since the system detects common pitch information among a series of corresponding pitch information and outputs musical tone signals when I have little to give. Further, by changing characteristics such as volume and timbre according to the common frequency, it is possible to produce more natural musical tones.
第1図は、この発明の一実施例に係る電子楽器のブロッ
ク構成図、
第2図は、第1図の電子楽器の音源システム内の1つの
発音チャンネルの基本構成図、第3図は、倍音テーブル
0VTBLの概念図、第4図は、データバッファ0VB
UFの概念図、第5図は、この電子楽器の制御部のメイ
ンルーチンのフローチャート、
第6図は、この電子楽器の制御部の押鍵検出発音処理ル
ーチンのフローチャートである。
1・・・鍵盤、2・・・音色指定設定部、3・・・制御
部、6・・・押鍵音用音源システム6.7・・・共鳴音
用音源システム、6−1.・・・、6−n、7−1.・
・・、7−m、10・・・発音チャンネル、8・・・ミ
キサ、11・・・波形発生部、12・・・振幅制御信号
発生部、13・・・積算器、0VTBL・・・倍音テー
ブル、0VBUF・・・データバッファ。FIG. 1 is a block configuration diagram of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a basic configuration diagram of one sound generation channel in the sound source system of the electronic musical instrument of FIG. 1, and FIG. The conceptual diagram of the overtone table 0VTBL, Figure 4, is the data buffer 0VB.
A conceptual diagram of the UF, FIG. 5 is a flowchart of the main routine of the control section of this electronic musical instrument, and FIG. 6 is a flowchart of the key press detection sound generation processing routine of the control section of this electronic musical instrument. DESCRIPTION OF SYMBOLS 1...Keyboard, 2...Tone color specification setting section, 3...Control section, 6...Sound source system for pressed key sound 6.7...Sound source system for resonance sound, 6-1. ..., 6-n, 7-1.・
..., 7-m, 10... Sound generation channel, 8... Mixer, 11... Waveform generator, 12... Amplitude control signal generator, 13... Integrator, 0VTBL... Overtone Table, 0VBUF...data buffer.
Claims (1)
に応じた一連の音高情報を記憶する記憶手段と、 上記音高指定手段により複数の音高が指定された場合に
、その指定された音高ごとに記憶されている一連の音高
情報のうち共通する音高情報を検出する検出手段と、 上記音高指定手段で指定された音高の楽音信号を出力す
るとともに、上記検出手段で検出した共通する音高情報
の音高の楽音信号を出力する楽音信号出力手段と を具備することを特徴とする電子楽器。(1) a pitch specifying means for specifying the pitch of a musical tone; a storage means for storing a series of pitch information corresponding to each pitch that can be specified by the pitch specifying means; detecting means for detecting common pitch information from a series of pitch information stored for each of the specified pitches when a plurality of pitches are specified by the pitch specification means; An electronic device characterized by comprising musical tone signal output means for outputting a musical tone signal having a pitch specified by the specifying means and a musical tone signal having a pitch of common pitch information detected by the detecting means. musical instrument.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2291874A JP2961867B2 (en) | 1990-10-31 | 1990-10-31 | Music signal generator |
| US07/785,510 US5252774A (en) | 1990-10-31 | 1991-10-30 | Electronic musical instrument having resonance tone generation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2291874A JP2961867B2 (en) | 1990-10-31 | 1990-10-31 | Music signal generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04166895A true JPH04166895A (en) | 1992-06-12 |
| JP2961867B2 JP2961867B2 (en) | 1999-10-12 |
Family
ID=17774557
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2291874A Expired - Fee Related JP2961867B2 (en) | 1990-10-31 | 1990-10-31 | Music signal generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2961867B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001093245A1 (en) * | 2000-05-29 | 2001-12-06 | Yamaha Corporation | Musical composition reproducing apparatus, portable terminal, musical composition reproducing method, and storage medium |
| WO2006013683A1 (en) * | 2004-08-02 | 2006-02-09 | Kabushiki Kaisha Kawai Gakki Seisakusho | Electronic musical instrument |
| JP2016075798A (en) * | 2014-10-07 | 2016-05-12 | 株式会社コルグ | Resonant sound generator and program |
-
1990
- 1990-10-31 JP JP2291874A patent/JP2961867B2/en not_active Expired - Fee Related
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001093245A1 (en) * | 2000-05-29 | 2001-12-06 | Yamaha Corporation | Musical composition reproducing apparatus, portable terminal, musical composition reproducing method, and storage medium |
| WO2006013683A1 (en) * | 2004-08-02 | 2006-02-09 | Kabushiki Kaisha Kawai Gakki Seisakusho | Electronic musical instrument |
| US7767899B2 (en) | 2004-08-02 | 2010-08-03 | Kabushiki Kaisha Kawai Gakki Seisakusho | Electronic musical instrument |
| JP2016075798A (en) * | 2014-10-07 | 2016-05-12 | 株式会社コルグ | Resonant sound generator and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2961867B2 (en) | 1999-10-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5521322A (en) | Tone information processing device for an electronic musical instrument for generating sounds | |
| US5612501A (en) | Automatic accompaniment information producing apparatus | |
| US5262581A (en) | Method and apparatus for reading selected waveform segments from memory | |
| JP2629891B2 (en) | Music signal generator | |
| JPH04166895A (en) | Electronic musical instrument | |
| JPH075878A (en) | Automatic accompaniment device | |
| JP2611467B2 (en) | Electronic keyboard instrument | |
| JPH0429078B2 (en) | ||
| JP2623955B2 (en) | Electronic musical instrument | |
| JPS62208099A (en) | Musical sound generator | |
| JP2570045B2 (en) | Electronic musical instrument | |
| JPH04319999A (en) | Pronunciation instruction device and pronunciation instruction method for electronic musical instruments | |
| JPH02173698A (en) | Electronic musical instrument | |
| JP2001051681A (en) | Automatic accompaniment information generator | |
| JP2957842B2 (en) | Electronic musical instrument | |
| JPH01179091A (en) | Automatic accompaniment device | |
| JP3625913B2 (en) | Arpeggiator | |
| KR910004420B1 (en) | Duet sound generating method of electronic musical instrument | |
| WO2022054517A1 (en) | Electronic musical instrument, method, and program | |
| JP3015226B2 (en) | Electronic musical instrument | |
| JPS6217756B2 (en) | ||
| JPH07104753A (en) | Electronic musical instrument automatic tuning device | |
| JPH0736114B2 (en) | Automatic accompaniment device | |
| JPS6115199A (en) | Sound pitch controller | |
| JP2814479B2 (en) | Electronic musical instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070806 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080806 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090806 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |