JPH0734157B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0734157B2
JPH0734157B2 JP1152794A JP15279489A JPH0734157B2 JP H0734157 B2 JPH0734157 B2 JP H0734157B2 JP 1152794 A JP1152794 A JP 1152794A JP 15279489 A JP15279489 A JP 15279489A JP H0734157 B2 JPH0734157 B2 JP H0734157B2
Authority
JP
Japan
Prior art keywords
tone
sound
musical
level
additional
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.)
Expired - Fee Related
Application number
JP1152794A
Other languages
Japanese (ja)
Other versions
JPH0317699A (en
Inventor
公太郎 水野
富美雄 岩瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP1152794A priority Critical patent/JPH0734157B2/en
Publication of JPH0317699A publication Critical patent/JPH0317699A/en
Publication of JPH0734157B2 publication Critical patent/JPH0734157B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、指定された音高の楽音を発生する電子楽器
に関し、特にゆっくりしたテンポの楽音演奏中に付加音
を付加する電子楽器に関する。
TECHNICAL FIELD The present invention relates to an electronic musical instrument that generates a musical tone of a specified pitch, and more particularly to an electronic musical instrument that adds an additional tone during a musical tone of a slow tempo. .

(b)従来の技術 従来の自然楽器では、演奏者が指定した楽音のみが発音
されていたが、このような楽器では複雑な演奏するため
には、高度な演奏技能が必要となっていた。このため近
年では、基本的な旋律を演奏すれば自動的にそのメロデ
ィにあった種々の付加音や和音が付加される電子楽器が
実用化されてきている。例えば、特開昭59−192289号に
記載された「電子楽器の自動伴奏装置」では楽音のレベ
ルを指定するデータに基づいて伴奏用の和音のリズムパ
ターンが決定されるようになっている。
(B) Conventional Technique In conventional natural musical instruments, only musical tones designated by the performer are pronounced, but such musical instruments require a high level of performance skill in order to perform a complicated performance. For this reason, in recent years, electronic musical instruments have been put into practical use in which, when a basic melody is played, various additional tones and chords are automatically added to the melody. For example, in the "automatic accompaniment device for an electronic musical instrument" described in JP-A-59-192289, the rhythm pattern of the chord for accompaniment is determined based on the data designating the level of the musical tone.

(c)発明が解決しようとする課題 しかし、上記電子楽器の自動伴奏装置では、発音レベル
出力を参照して必ず対応する付加音パターンが読み出さ
れていたため、楽音の発音と同時に付加音のパターンが
付加され、速いテンポの楽音が演奏されているときに
は、付加音がかえって曲の流れを妨げるという欠点があ
った。また、付加音のパターンは、発音されている楽音
の発音レベルのみによって決定されるため、演奏者がそ
の音の構成を制御することができないという欠点もあっ
た。
(C) Problem to be Solved by the Invention However, in the above-mentioned automatic accompaniment device for an electronic musical instrument, since the corresponding additional tone pattern is always read out by referring to the tone level output, the additional tone pattern is generated at the same time when the musical tone is produced. Has been added, and when a musical sound with a fast tempo is being played, there is a disadvantage that the additional sound rather hinders the flow of music. Further, since the pattern of the additional sound is determined only by the sounding level of the musical sound being sounded, the player cannot control the structure of the sound.

この発明は、同じ音が一定時間以上継続して鳴っている
ときのみ付加音を付加するようにしたことにより、ゆっ
くりしたテンポの遅い楽音が演奏されているときのみに
付加音を付加して、曲の流れをよくし、また、演奏者が
指定した和音によって付加するパターンの構成音をも決
定することができることにより、演奏者の意図する楽音
を発生することのできる電子楽器を提供することを目的
とする。
According to the present invention, the additional sound is added only when the same sound is continuously emitted for a certain period of time or more, so that the additional sound is added only when a slow and slow tempo musical tone is played, It is possible to provide an electronic musical instrument that can generate a musical tone intended by a performer by improving the flow of music and determining the constituent sound of a pattern to be added by a chord designated by the performer. To aim.

この発明は、同じ音が一定時間以上継続して鳴っている
ときのみ楽音指定と同時に発音レベルの指定を受け付け
る発音レベル指定手段の指定値から関数によって決定さ
れるレベルの付加音を付加して、曲の流れをよくし、ま
た、演奏者が指定した和音によって付加するパターンの
構成音をも決定することができることにより、演奏者の
意図とする楽音を発生させることのできる電子楽器を提
供することを目的としている。
According to the present invention, an additional sound of a level determined by a function is added from a specified value of a sounding level designating means for accepting a musical sound specification and a sounding level specification only when the same sound is continuously produced for a certain period of time, (EN) An electronic musical instrument capable of generating a musical tone intended by a performer by improving the flow of music and also determining a constituent sound of a pattern to be added by a chord designated by the performer. It is an object.

(d)課題を解決するための手段 この第1の発明による電子楽器では、発音すべき楽音の
音高を指定する音高指定手段と、付加音のパターンを記
憶するパターン記憶手段と、楽音指定と同時に発音レベ
ルの指定を受け付ける楽音レベル指定手段とを有する電
子楽器において、付加音のパターンを記憶するパターン
記憶手段と、前記楽音指定手段によって楽音が指定され
る度に該指定したタイミングからの経過時間を測定し、
該経過時間が予め定められた所定値以上の場合には、指
定された楽音に加えて、前記パターン記憶手段から読み
出されたパターンで付加音を発音する付加音発音手段
と、前記楽音レベル指定手段の指定値から所定の関数に
基づいてこの付加音の発音レベルを決定する付加音レベ
ル決定手段とを設けたことを特徴とする。
(D) Means for Solving the Problem In the electronic musical instrument according to the first aspect of the invention, the pitch designating means for designating the pitch of the musical tone to be generated, the pattern storage means for storing the pattern of the additional tone, and the musical tone designating At the same time, in an electronic musical instrument having a musical tone level designating means for accepting designation of a sounding level, a pattern storage means for storing a pattern of an additional tone, and each time a musical tone is designated by the musical tone designating means, progress from the designated timing. Measure time,
If the elapsed time is equal to or greater than a predetermined value, a tone generation means for generating a tone in addition to the specified tone and a tone read out from the pattern storage means, and the tone level designation Additional sound level determining means for determining the sounding level of the additional sound based on a predetermined function from the designated value of the means is provided.

また、この第2の発明による電子楽器では、発音すべき
楽音の音高の指定を受け付ける楽音指定手段と、楽音指
定と同時に発音レベルの指定を受け付ける楽音レベル指
定手段とを有する電子楽器において、前記楽音と同時に
発音すべき和音を指定する和音指定手段と、付加音のパ
ターンを記憶するパターン記憶手段と、前記楽音指定手
段によって楽音が指定される度に該指定したタイミング
からの経過時間を測定し、該経過時間が予め定められた
所定値以上の場合には指定された楽音に加えて、前記パ
ターン記憶手段から読み出されたパターンに対応して前
記和音指定手段で指定された和音の構成音を発音する付
加音発音手段と、前記楽音レベル指定手段の指定値から
関数に基づいてこの付加音の発音レベルを決定する付加
音レベル決定手段とを設けたことを特徴とする。
The electronic musical instrument according to the second aspect of the present invention is an electronic musical instrument having a musical tone designating means for accepting designation of a pitch of a musical tone to be pronounced and a musical tone level designating means for accepting designation of a tone generation level at the same time as the musical tone designation. Each time a musical tone is designated by the musical tone designating unit, a time elapsed from the designated timing is measured every time the musical tone is designated by the musical tone designating unit, a chord designating unit for designating a chord to be sounded at the same time as the musical tone, a pattern storing unit for storing a pattern of an additional tone. , When the elapsed time is equal to or greater than a predetermined value, a tone of the chord specified by the chord designating means corresponding to the pattern read from the pattern storage means, in addition to the designated musical tone. And an additional sound level deciding means for deciding a sounding level of the additional sound based on a function from a designated value of the musical tone level designating means. The is characterized in that provided.

(e)発明の作用 この第1の発明による電子楽器では、楽音指定がされた
のち、所定時間以内に新たに押鍵がなされないときに
は、パターン記憶手段から読み出されたパターンで、楽
音指定と同時に発音レベルの指定を受け付ける発音レベ
ル指定手段の指定値から関数によって決定されるレベル
の楽音を付加音として発音する。この付加音は、たとえ
ばその指定された楽音が付属する和音の構成音やいわゆ
るアドリブフレーズにすればよい。
(E) Operation of the invention With the electronic musical instrument according to the first aspect of the present invention, after the musical tone is designated, if no new key is pressed within a predetermined time, the musical tone is designated by the pattern read from the pattern storage means. At the same time, a tone of a level determined by a function from the designated value of the tone level designating means for accepting the tone level designation is generated as an additional tone. This additional sound may be, for example, a constituent sound of a chord to which the specified musical sound is attached or a so-called ad lib phrase.

また、この第2の発明による電子楽器では、上記第1の
発明における付加音を和音の構成音とし、この和音の指
定を和音指定手段から入力するようにしている。この和
音指定手段は、例えば、伴奏用の鍵盤で構成すればよ
く、このようにすることにより、指定された楽音の音高
のみからでは得られない和音の構成音をも発音できるよ
うになり、複雑な和音構成の曲も演奏することができる
ようになる。
Further, in the electronic musical instrument according to the second aspect of the invention, the additional tone in the first aspect of the invention is a chord component sound, and the designation of the chord is input from the chord designating means. This chord designating means may be composed of, for example, a keyboard for accompaniment, and by doing so, it becomes possible to pronounce the constituent tones of the chord that cannot be obtained only from the pitch of the designated musical tone, You will also be able to play songs with complex chord structures.

(f)実施例 第1図はこの発明の実施例である電子楽器の制御部の構
成を示すブロック図である。この電子楽器はCPU10によ
って制御され、このCPU10はバス11を介して各動作部と
接続されている。バスにはプログラムメモリ12,レジス
タメモリ13,パターンメモリ14,テンポクロック15,鍵盤
回路16,スイッチ群17およびトーンジェネレータ18が接
続されている。プログラムメモリ12には後述するフロー
チャートで示されるプログラムが格納されている。また
レジスタメモリ13には第2図に示すレジスタ群が設定さ
れている。またパターンメモリ14には第3図(A)に示
す付加音パターンテーブルが記憶されている。テンポク
ロック15は一定周期のクロック信号を発生し、所定タイ
ミング毎にCPU10に対し割り込みをかける。鍵盤回路16
は61〜88キーの鍵盤を有し、オンされたキーを検出する
とともに、オンされたときの打鍵力(イニシャルタッチ
強度)を検出する機能をも有する。スイッチ群17は音色
設定スイッチや演奏モードを設定するスイッチを有し、
モード設定スイッチにはソロスタイルプレイモード設定
スイッチが含まれている。ソロスタイルプレイモードは
メロディー演奏中に付加音が付加されるモードである。
トーンジェネレータ18は複数チャンネルの音源回路を有
しており、そのうち2チャンネル(0ch、1ch)がメロデ
ィー用に使用され、他の音源回路は付加音や和音発音用
に用いられる。このトーンジェネレータ18はアンプ,ス
ピーカ等からなるサウンドシステムに接続されており、
トーンジェネレータ18が生成した楽音の電気信号はサウ
ンドシステムにより楽音として発音される。
(F) Embodiment FIG. 1 is a block diagram showing the configuration of a control unit of an electronic musical instrument which is an embodiment of the present invention. This electronic musical instrument is controlled by a CPU 10, and the CPU 10 is connected to each operating unit via a bus 11. A program memory 12, a register memory 13, a pattern memory 14, a tempo clock 15, a keyboard circuit 16, a switch group 17 and a tone generator 18 are connected to the bus. The program shown in the flowchart described later is stored in the program memory 12. Further, the register group shown in FIG. 2 is set in the register memory 13. The pattern memory 14 stores the additional sound pattern table shown in FIG. The tempo clock 15 generates a clock signal of a constant cycle and interrupts the CPU 10 at every predetermined timing. Keyboard circuit 16
Has a keyboard of 61 to 88 keys, and has a function of detecting a key that is turned on and a function of detecting a keystroke force (initial touch strength) when the key is turned on. The switch group 17 has a tone setting switch and a switch for setting the playing mode,
The mode setting switch includes a solo style play mode setting switch. The solo style play mode is a mode in which additional sounds are added during melody performance.
The tone generator 18 has a sound source circuit of a plurality of channels, of which two channels (0ch, 1ch) are used for melody, and the other sound source circuits are used for additional sound and chord sound generation. This tone generator 18 is connected to a sound system consisting of an amplifier and speakers,
The electric signal of the musical sound generated by the tone generator 18 is generated as a musical sound by the sound system.

第2図は前記レジスタメモリ13に設定されるレジスタ群
を示す図である。このレジスタメモリ13に設定されるレ
ジスタ,フラグは以下のとおりである。
FIG. 2 is a diagram showing a register group set in the register memory 13. The registers and flags set in the register memory 13 are as follows.

ADON:付加音として指定された音がキーオン中であるこ
とを記憶するフラグ。このフラグがセットされている間
はキーオフされても消音されない。
ADON: A flag that memorizes that the sound specified as the additional sound is being key-on. While this flag is set, the sound is not muted even if the key is turned off.

ADRS:パターンテーブルポインタ−パターンテーブルに
記憶されているシーケンスデータを順次読み出すための
ポインタ ADVL:付加音レベルレジスター付加音の発音レベルを記
憶するレジスタ。内容はイニシャル強度(TCH)に基づ
いて決定される。
ADRS: Pattern table pointer-Pointer for sequentially reading the sequence data stored in the pattern table ADVL: Additional sound level register A register for storing the sound level of the additional sound. The content is determined based on the initial strength (TCH).

ASS:割り当てチャンネルレジスタ−メロディー用の音源
回路(0チャンネル,1チャンネル)をメロディー音に交
互に割り当てるためのレジスタ。したがって、このレジ
スタには0,1が交互に記憶される。
ASS: Assigned channel register-Register for alternately assigning the tone generator circuit (0 channel, 1 channel) for the melody to the melody sound. Therefore, 0 and 1 are alternately stored in this register.

BGN:付加音演奏開始フラグ−付加音の演奏が開始された
ときセットされるフラグ CHK:キーオンタイミングレジスタ−テンポクロックCLK
に基づいて旋律用キーがオンされたタイミングを記憶す
る5ビットのレジスタ。このレジスタの内容に基づいて
スタンバイレジスタSTBYの値が決定される。
BGN: Additional sound performance start flag-Flag set when additional sound performance starts CHK: Key-on timing register-Tempo clock CLK
A 5-bit register that stores the timing when the melody key is turned on based on the. The value of the standby register STBY is determined based on the contents of this register.

CLK:テンポクロックレジスタ−1/32小節毎に1カウント
されるクロックパルスをカウントするレジスタ DT:パターンデータバッファ−パターンテーブルから読
みだされたシーケンスデータを一時記憶するレジスタ KC:キーコードレジスタ−現在キーオンされたキーのキ
ーコードが記憶されるレジスタ KC1〜KC4:付加音キーコードレジスタ−和音指定レジス
タROOT,TYPEから検出された和音の構成音(音高)を記
憶するレジスタ。記憶された構成音は付加音発音時に読
み出される。
CLK: Tempo clock register-A register that counts clock pulses counted once for every 1/32 bar DT: Pattern data buffer-A register that temporarily stores the sequence data read from the pattern table KC: Key code register-Current key-on Registers for storing key codes of selected keys KC1 to KC4: Additional tone key code register-chord specification register Registers for storing chord constituent tones (pitch) detected from ROOT and TYPE. The stored constituent tones are read when the additional tones are sounded.

KEYBUF(0),KEYBUF(1):キーコードバッファ−0
チャンネル,1チャンネルで発音中の楽音のキーコードが
記憶されるレジスタ KON(0),KON(1):キーオンフラグ−それぞれ0チ
ャンネル,1チャンネルに対応するキーの押鍵状態を記憶
する。
KEYBUF (0), KEYBUF (1): Key code buffer-0
Registers for storing key codes of musical tones being sounded in channels 1 and 1 KON (0), KON (1): Key-on flag-stores key depression states of keys corresponding to channels 0 and 1 respectively.

RUN:ソロスタイルプレイフラグ−ソロスタイルプレイが
設定されたときセットするフラグ STBY:スタンバイレジスタ−付加音をスタートさせる拍
が記憶されるレジスタ TCH:イニシャル強度レジスタ−キーオンされたキーの打
鍵の強さが記憶されるレジスタ ROOT,TYPE:和音指定レジスタ−このうちROOTには和音の
根音(C,D,……)が記憶され、TYPEには和音の種類(Ma
jor,minor等)が記憶される。
RUN: Solo style play flag-Flag that is set when solo style play is set STBY: Standby register-Register that stores the beat that starts the additional sound TCH: Initial strength register-The strength of keystrokes of the key-on key Registers to be stored ROOT, TYPE: Chord specification register-The root of the chord (C, D, ...) is stored in ROOT, and the type of chord (Ma
jor, minor, etc.) are stored.

また、第3図(A)にはパターンメモリに設定されるパ
ターンテーブルの記憶内容(シーケンスデータ)の例を
示す図であり、同図(B)はこのシーケンスデータによ
り発音される付加音のリズムパターンおよびキーコード
のレジスタ番号を示す図である。
Further, FIG. 3 (A) is a diagram showing an example of the stored contents (sequence data) of the pattern table set in the pattern memory, and FIG. 3 (B) is the rhythm of the additional sound produced by this sequence data. It is a figure which shows the register number of a pattern and a key code.

同図(A)において、0〜4および7の数値が順次記憶
されているが、1〜4は前記キーコードレジスタKC1〜K
C4に割り当て当られた楽音を発音すべきことを意味し、
0はそれまで発音されていた楽音を消音すべきことを意
味し、また7はこのタイミングには動作の変更がないこ
とを意味する。たとえば、1−7−0−7のシーケンス
では、KC1に記憶されている楽音を2拍発音し、2拍消
音することを意味している。同図(A)のデータをこの
ように解読することにより、同図(B)に示すようなパ
ターンの付加音が発音される。
In the figure (A), the numerical values 0 to 4 and 7 are sequentially stored, but 1 to 4 are the key code registers KC1 to KC.
It means that the tone assigned to C4 should be pronounced,
A value of 0 means that the musical sound that had been sounded up to that point should be silenced, and a value of 7 means that there is no change in operation at this timing. For example, in the sequence 1-7-0-7, it means that the musical tone stored in KC1 is sounded for two beats and muted for two beats. By decoding the data shown in FIG. 9A in this manner, the additional sound having the pattern shown in FIG.

第4図は前記CPU10の動作を示すフローチャートであ
る。
FIG. 4 is a flow chart showing the operation of the CPU 10.

同図(A)はメインルーチンを示す。この電子楽器の音
源がオンされるとまず各レジスタをクリアする等のイニ
シャライズ動作を行い(n1)、演奏可能状態に設定す
る。こののちn2,n11,n17の待機ルーチンを繰り返し実行
する。n2では鍵盤のキーのオン/オフイベントがあるか
否かを判断し、キーオン/オフイベントがあった場合に
はn3〜n10の動作に進む。n11ではスイッチ群17に含まれ
るソロスタイルプレイススイッチ(SSPSW)のオンイベ
ントがあるか否かを判断し、オンイベントがあった場合
にはn12〜n16の動作に進む。n17では発音中の楽音の音
量制御や他のキー・スイッチのオン/オフ検出動作等を
実行する。
FIG. 13A shows a main routine. When the sound source of this electronic musical instrument is turned on, first, an initializing operation such as clearing each register is performed (n1), and a playable state is set. After that, the standby routines of n2, n11, and n17 are repeatedly executed. At n2, it is determined whether or not there is an on / off event of a key on the keyboard, and if there is a key on / off event, the operation proceeds to n3 to n10. At n11, it is determined whether or not there is an on event of the solo style place switch (SSPSW) included in the switch group 17, and if there is an on event, the process proceeds to n12 to n16. In n17, the volume control of the sound being played and on / off detection of other key switches are executed.

n2でキーオン/オフイベントが検出され、動作がn3に進
むと、まずソロスタイルプレイモードが設定されている
か否か(RUNフラグがオンしているか否か)を判断す
る。ソロスタイルプレイモードが設定されていないとき
にはキーオンされた音高をトーンジェネレータ18の適当
なチャンネルに割り当てて発音制御動作を実行する(n
5)。一方ソロスタイルプレイモードが設定されている
場合には、オンされたキーの音域がメロディーの音域で
あるか否か(すなわち、キーボードはメロディー音域と
伴奏音域とに分割されている。)を判断する(n4)。メ
ロディー音域内であればキーオン/オフイベントに対応
して(n6)、メロディーキーオン動作(n8)またはメロ
ディーキーオフイベント(n9)を実行する。またキーオ
ンされたキーがメロディー音域外(伴奏音域内)であれ
ばn4→n7に進み、キーオンイベントの場合のみ伴奏キー
オン動作(n10)を実行する。
When a key on / off event is detected in n2 and the operation proceeds to n3, it is first determined whether or not the solo style play mode is set (whether or not the RUN flag is on). When the solo style play mode is not set, the keyed-on pitch is assigned to an appropriate channel of the tone generator 18 to execute the sound generation control operation (n
Five). On the other hand, when the solo style play mode is set, it is determined whether or not the key range of the turned-on key is the melody range (that is, the keyboard is divided into the melody range and the accompaniment range). (N4). If it is within the melody range, the melody key-on operation (n8) or the melody key-off event (n9) is executed in response to the key-on / off event (n6). If the key-on key is outside the melody tone range (within the accompaniment tone range), the process proceeds from n4 to n7, and the accompaniment key-on operation (n10) is executed only in the case of a key-on event.

n11でソロスタイルプレイスイッチがオンされたことを
判断した場合にはn12に進み、トーンジェネレータ18の
第2チャンネルをキーオフする。第2チャンネルは付加
音発音用のチャンネルである。つぎにRUNフラグを反転
する(n13)。すなわちソロスタイルプレイスイッチは
トグルスイッチであり、オンする毎にソロスタイルプレ
イモードがセット/リセットが反転する。n13のフラグ
反転動作によりRUNフラグがセットされれば少なくともC
LK,BGN,ADONをクリアしSTBYに−1をセットして(n15)
n17に進む。n13の動作でRUNフラグがリセットされれ
ば、和音伴奏等に割り当てられているチャンネルを全て
キーオフ処理して(n16)n17に進む。
When it is determined in n11 that the solo style play switch is turned on, the process proceeds to n12, and the second channel of the tone generator 18 is keyed off. The second channel is a channel for sounding an additional sound. Next, the RUN flag is inverted (n13). That is, the solo style play switch is a toggle switch, and the set / reset of the solo style play mode is inverted every time it is turned on. If the RUN flag is set by the flag inversion operation of n13, at least C
Clear LK, BGN, ADON and set STBY to -1 (n15)
Continue to n17. When the RUN flag is reset by the operation of n13, all the channels assigned to the chord accompaniment and the like are keyed off (n16) and the process proceeds to n17.

同図(B)はメロディーキーオンサブルーチンを示すフ
ローチャートである。この動作はメインルーチンのn8に
おいて、すなわちメロディー音域のキーオンが行われる
とこの動作が実行される。この実施例においては、メロ
ディ鍵盤における発音数を1と定めているため、まず前
回のキーオン時に割り当てられたチャンネルが楽音を発
音中か否か(KON(ASS)(このASSは前回の割当チャン
ネルを示している。)がセットしているか否か)を判断
する(n21)。発音中でなければ直接n24に進む。一方、
発音中であればKON(ASS)をリセットし(n22)、この
音を強制的にダンプして(n23)n24に進む。n24では割
当チャンネルレジスタASSを反転する。つぎに、入力さ
れたキーのキーコードをKCレジスタに読み込み、このキ
ーのイニシャルタッチ強度をTCHレジスタに読み込む(n
25)。この楽音が発音中であることをKON(ASS)に記憶
するとともにキーコードをKCBUF(ASS)に記憶し(n2
6)、トーンジェネレータ18のASSチャンネルにこれらの
データを送って発音処理を実行する(n27)。
FIG. 6B is a flowchart showing the melody key-on subroutine. This operation is executed in n8 of the main routine, that is, when the key is turned on in the melody range. In this embodiment, since the number of pronunciations on the melody keyboard is set to 1, it is first determined whether or not the channel assigned at the time of the previous key-on is producing a musical tone (KON (ASS) (this ASS indicates the previously assigned channel). (Shown.) Is set) (n21). If no pronunciation is being made, proceed directly to n24. on the other hand,
If sound is being generated, KON (ASS) is reset (n22), this sound is forcibly dumped, and (n23) and n24 proceed. In n24, the assigned channel register ASS is inverted. Next, the key code of the input key is read into the KC register, and the initial touch strength of this key is read into the TCH register (n
twenty five). The fact that this tone is being sounded is stored in KON (ASS) and the key code is stored in KCBUF (ASS) (n2
6), send these data to the ASS channel of the tone generator 18 and execute sound generation processing (n27).

次にCHKレジスタ(キーオンタイミングレジスタ)にCLK
の値を入力し(n28)、スタンバイレジスタSTBYにCHKレ
ジスタの上位2ビットをセットする。CHKレジスタは1
小節を32(1拍を8)に分割してタイミングを記憶する
ため上位2ビットが拍数に対応する。この動作によって
STBYには現在発音処理を行った楽音の発音拍タイミング
が記憶されたことになる。次にCHKレジスタの下位3ビ
ットが2以下であるか否かを判断し(n30)、2以下で
あればSTBYに1を加算して4で除した剰余をSTBYにセッ
トし(n31)、CHKレジスタの内容が2を超えていればST
BYに2を加算して4で除した剰余をSTBYにセットする
(n32)。これによってメロディキーオンイベント発生
後1拍以上さらなるメロディキーオンイベントがなけれ
ば付加音が付加されるようにSTBYカウンタがセットされ
る。なお拍頭に対するメロディキーオンの発音遅れが2
カウント以内(1/16音符以下)であれば現メロディキー
がオンされた拍を1拍とみなして次の拍タイミングから
付加音が付加されるようにしている(n30,n31)。なおn
31,n32でSTBYに4で除した剰余をセットしたのは拍を示
す数字が1−2−3−4−1−…の繰り返しだからであ
る。次にDGNフラグをリセットし(n33)、付加音の発音
レベルを設定する付加音レベルレジスタADVLにイニシャ
ルタッチ強度(TCH)から割り出したパラメータをセッ
トして(n34)リターンする。
Next, CLK to the CHK register (key-on timing register).
Input the value of (n28) and set the upper 2 bits of the CHK register to the standby register STBY. CHK register is 1
Since the bar is divided into 32 (1 beat is 8) and the timing is stored, the upper 2 bits correspond to the number of beats. By this action
In STBY, the sounding beat timing of the musical sound that has been currently sounded is stored. Next, it is judged whether the lower 3 bits of the CHK register are 2 or less (n30), and if 2 or less, 1 is added to STBY and the remainder divided by 4 is set in STBY (n31), and CHK If the register contents exceed 2, ST
Add 2 to BY and divide by 4 and set the remainder in STBY (n32). As a result, the STBY counter is set so that the additional sound is added if there is no further melody key-on event for one beat or more after the occurrence of the melody key-on event. The melody key-on pronunciation delay with respect to the beat is 2
If it is within the count (1/16 note or less), the beat at which the current melody key is turned on is regarded as one beat, and the additional sound is added from the next beat timing (n30, n31). Note that n
The reason why the remainder obtained by dividing STBY by 4 in 31n32 is set is that the number indicating the beat is a repetition of 1-2-3-4-1-. Next, the DGN flag is reset (n33), the parameter calculated from the initial touch intensity (TCH) is set in the additional sound level register ADVL that sets the sounding level of the additional sound (n34), and the process returns.

ここで付加音レベルADVLを決定する関数FUNC(TCH)は
第5図(A)〜(C)に示すように種々設定することが
できる。関数の特性(関数曲線の形状)によりADVLをTC
Hに基づいて種々に制御することができる。また第5図
に示す関数以外にも高次曲線や階段状関数等の関数が考
えられる。
Here, the function FUNC (TCH) for determining the additional sound level ADVL can be variously set as shown in FIGS. 5 (A) to (C). TC of ADVL according to the characteristics of the function (shape of function curve)
Various controls can be performed based on H. Besides the functions shown in FIG. 5, functions such as higher-order curves and step functions may be considered.

同図(C)はメロディーキーオフサブルーチンである。
メロディー音域のキーがオフされたときこの動作が実行
される。まずオフされたキーのキーコードをKCレジスタ
にセットする(n41)。このキーコードが0チャンネル
または1チャンネルに割り当てられているキーコードで
あるか否かをn42,n46で判断する。
FIG. 7C is a melody key-off subroutine.
This operation is executed when the key in the melody range is turned off. First, the key code of the turned off key is set in the KC register (n41). It is determined in n42 and n46 whether or not this key code is the key code assigned to channel 0 or channel 1.

このうち現在発音中のキーコードであればn42→n43に進
む。n43ではトーンジェネレータ18に対してその楽音の
キーオフ情報を送信してキーオフ処理を実行する(ただ
し、この音に対してADONフラグがセットされている場合
には消音しない。)。つぎにKON(ASS)をリセットし
(n44)、BGNフラグをリセット(付加音停止)するとと
もにSTPYに−1(付加音発音禁止)をセットして(n4
5)リターンする。
Of these, if the key code is currently sounding, proceed from n42 to n43. In n43, the key-off information of the musical tone is transmitted to the tone generator 18 to perform the key-off process (however, when the ADON flag is set for this tone, the tone is not muted). Next, KON (ASS) is reset (n44), the BGN flag is reset (additional sound is stopped), and STPY is set to -1 (additional sound is disabled) (n4
5) Return.

一方発音中でないチャンネルのキーコードであればn46
→n47に進み、KON(1−ASS)をリセットしてリターン
する。なお、このチャンネルの楽音はメロディーキーオ
ンサブルーチンのn23において既に消音されている。
On the other hand, if the key code is for a channel that is not sounding, n46
→ Proceed to n47, reset KON (1-ASS) and return. The tone of this channel is already muted at n23 of the melody key-on subroutine.

同図(D)は伴奏キーオン動作を示す。伴奏エリアのキ
ーがオンされると現在セットされている和音情報から今
回のキーオンで検出された和音情報にROOT,TYPEを書き
換えてリターンする。すなわち伴奏エリアのキーが一度
キーオンされると次の新たなキーオンがあるまでそのキ
ー情報が保持されるようになっている。
FIG. 6D shows the accompaniment key-on operation. When the key in the accompaniment area is turned on, ROOT and TYPE are rewritten from the currently set chord information to the chord information detected by this key-on, and the process returns. That is, once the key in the accompaniment area is keyed on, the key information is held until the next new keyon.

同図(E)はクロック割り込み動作である。この動作は
テンポクロック15が一定タイミング毎にCPU10に対して
かける割り込みによってスタートする動作である。同図
(E)はソロスタイルプレイを処理するためクロック割
り込みの動作を説明するものなので、まずn51でRUNフラ
グがセットしているか否かを判断する。セットしていれ
ばn52以下の動作を実行し、リセットしていればそのま
まリターンする。まず、CLKレジスタに基づいてそのタ
イミングのリズム音の発音処理を実行し(n52)、CLK,R
OOT,TYPEレジスタに基づいて自動伴奏音の発音処理を実
行する(n53)。次にCLKの上位2ビットの値とSTBYの記
憶内容とを比較し、同図(B)にて、所定拍以上メロデ
ィキーオンイベントがなくレジスタSTBYが更新されなけ
ればSTBYとCLK上位2ビットは一致し付加音をスタート
するためSTBYに−1(スタンバイ解除)をセット(n5
5)、付加音演奏開始フラグBGNオンをセット、さらに、
パターンテーブルポインタADRSをクリアして(n56)n57
に進む。n57ではBGNがセットしているかADONフラグがセ
ットしていれば付加音発音のためにn58以下に進み、そ
れ以外の場合にはn60に進む。ここでADONフラグは同図
(F)で説明するように付加音として割り当てられた音
が発音中であった場合にセットされるフラグである。n5
8では付加音処理サブルーチンを実行し、ADRSに1を加
算する(n59)。つぎにテンポクロックレジスタCLKを1
進めて(n60)リターンする。n59,n60においてレジスタ
(ポインタ)の内容を32で除してその剰余をセットして
いるのは1小節は0カウント〜31カウントで繰り返すか
らである。
FIG. 6E shows a clock interrupt operation. This operation is an operation started by an interrupt that the tempo clock 15 makes to the CPU 10 at regular intervals. Since (E) in the figure illustrates the operation of the clock interrupt for processing the solo style play, it is first determined at n51 whether or not the RUN flag is set. If it is set, the operation of n52 and below is executed, and if it is reset, it returns as it is. First, based on the CLK register, the rhythm sound generation process at that timing is executed (n52), and CLK, R
The auto accompaniment sound generation process is executed based on the OOT and TYPE registers (n53). Next, the value of the upper 2 bits of CLK and the stored content of STBY are compared, and in FIG. 7B, if there is no melody key-on event for a predetermined number of beats and the register STBY is not updated, STBY and the upper 2 bits of CLK are the same. Set STBY to -1 (standby release) to start additional sound (n5
5), set additional sound performance start flag BGN ON, and
Clear the pattern table pointer ADRS (n56) n57
Proceed to. At n57, if BGN is set or the ADON flag is set, the process proceeds to n58 or less for sounding an additional sound, and otherwise proceeds to n60. Here, the ADON flag is a flag that is set when the sound assigned as the additional sound is being sounded, as described in FIG. n5
In 8, the additional sound processing subroutine is executed and 1 is added to ADRS (n59). Next, set the tempo clock register CLK to 1
Advance (n60) and return. In n59 and n60, the content of the register (pointer) is divided by 32 and the remainder is set because one bar repeats from 0 count to 31 count.

同図(F)は付加音処理サブルーチンである。まず伴奏
キーで指定されている和音の構成音を付加音として発音
すべき音として付加音キーコードレジスタKC1〜KC4にセ
ットする(n71〜n74)。KC1にはキーオンされている音
高がセットされ、KC2にはKC1より単3度以上上にある和
音構成音がセットされ、KC3,KC4にはKC1よりも下側に二
個の和音構成音がセットされる。次にn75でパターンテ
ーブルの所定アドレス(PTN(ADRS)のパターンデータ
を読み出してDTにセットする。DTが7,0でなくBGNフラグ
がセットしていれば(n76〜n78)付加音の発音動作を実
行するためn79に進み該当するキーコード(KC(DT))
およびADVLをトーンジェネレータ18の2チャンネルに送
信する。こののちADONをセットしてリターンする。ま
た、ST=7であれば処理を何も実行しないためそのまま
リターンする(n76)。DT=0であればn77→n81で消音
動作を実行し、ADONをリセットして(n82)リターンす
る。
FIG. 6F is an additional sound processing subroutine. First, the constituent notes of the chord specified by the accompaniment key are set as additional notes in the additional note key code registers KC1 to KC4 (n71 to n74). KC1 is set to the keyed pitch, KC2 is set to the chord constituent tones that are higher than AA by KC1, and KC3 and KC4 are set to the two chord constituents below KC1. Set. Next, at n75, the pattern data of the specified address (PTN (ADRS) in the pattern table is read and set in DT. If DT is not 7,0 and the BGN flag is set (n76 to n78), the sounding operation of the additional sound is performed. Proceed to n79 to execute the corresponding key code (KC (DT))
And ADVL are transmitted to the two channels of the tone generator 18. After this, set ADON and return. If ST = 7, no processing is executed, and the process returns as it is (n76). If DT = 0, the mute operation is executed from n77 to n81, ADON is reset (n82), and the process returns.

本願発明と本実施例との対応関係に示すと以下のように
なる。
The correspondence relationship between the present invention and this embodiment is as follows.

(1)音高指定手段は鍵盤回路16に対応する。(1) The pitch designating means corresponds to the keyboard circuit 16.

(2)パターン記憶手段はパターンテーブル(第3図
(A))に対応する。
(2) The pattern storage means corresponds to the pattern table (FIG. 3 (A)).

(3)付加音発音手段は第4図(F)の動作に対応す
る。
(3) The additional sound producing means corresponds to the operation shown in FIG.

(4)和音指定手段は鍵盤回路16の伴奏音域に対応す
る。
(4) The chord designating means corresponds to the accompaniment tone range of the keyboard circuit 16.

なお、本実施例においては、キーオンイベント後、所定
時間キーオンイベントがない場合にメロディ付加音を発
生するという条件にしたが、メロディ押鍵テンポがゆっ
くりな場合に付加音を付加する例として「キーオンが所
定時間以上継続したらメロディ付加音発生」という方式
も考えられる。このような場合も本願の趣旨に反するも
のでなく、この場合は第4図(B)のステップn21にお
いて判断がYesとなったときのみ付加音を発生するよう
にすればよい。
In this embodiment, the condition is that the melody additional sound is generated when there is no key-on event for a predetermined time after the key-on event, but as an example of adding the additional sound when the melody key pressing tempo is slow, "key-on" It is also possible to consider a method in which "is added to a melody when a predetermined time or more continues." Even in such a case, it does not go against the gist of the present application, and in this case, the additional sound may be generated only when the determination is Yes in step n21 of FIG. 4 (B).

(g)発明の効果 以上のようにこの第1の発明の電子楽器によれば、音高
が指定されたのち、所定時間以内に新たな音高が指定さ
れないときには、パターン記憶手段から読み出されたパ
ターンで、楽音指定と同時に発音レベルの指定を受け付
ける発音レベル指定手段の指定値から関数によって決定
されるレベルの楽音を付加音として付加するようにした
ことにより、速いテンポで楽音が演奏されているときに
は、付加音を付加せずに指定された楽音の音高を生かす
ことができ、ゆっくりしたテンポの楽音が演奏されてい
るときには、所望の特性で決められるレベルの付加音を
付加して効果的な装飾を行うことができる。これによっ
て、従来のように通り一遍の付加音の付加による、速い
テンポで楽音が演奏されている際の付加音が邪魔になる
といったわずらわしさがなくなる。
(G) Effects of the Invention As described above, according to the electronic musical instrument of the first invention, when a new pitch is not specified within a predetermined time after the pitch is specified, it is read from the pattern storage means. In this pattern, a musical tone of a level determined by a function is added as an additional sound from the designated value of the pronunciation level designating means that accepts the designation of the musical tone level at the same time as the musical tone designation, so that the musical tone is played at a fast tempo. When playing, the pitch of the specified musical tone can be utilized without adding any additional tone, and when a musical tone with a slow tempo is being played, an additional tone with a level determined by the desired characteristics is added for effect. Decoration can be done. As a result, it is possible to eliminate the annoyance of the additional sound that is added when the musical sound is played at a fast tempo, which is caused by adding the additional sound as is conventionally done.

また、第2の発明の電子楽器によれば、さらに指定され
た和音の構成音を付加音として発音することができるた
め、音高指定手段によって指定された楽音の音高のみか
らでは得られない和音の構成音をも発音できるようにな
り、複雑な和音構成の曲も演奏することができ、自然で
多彩な演奏ができるようになる。
Further, according to the electronic musical instrument of the second invention, since the constituent tones of the designated chord can be generated as additional tones, it cannot be obtained only from the pitch of the musical tone designated by the pitch designating means. It becomes possible to pronounce the constituent tones of chords as well, and it is possible to play songs with complicated chord composition, which enables a natural and diverse performance.

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

第1図はこの発明の実施例である電子楽器の制御部のブ
ロック図、第2図は同制御部のレジスタメモリに設定さ
れるレジスタ群を示す図、第3図(A)は同制御部のパ
ターンメモリに設定されるパターンテーブルの例を示す
図、同図(B)はパターンテーブル設定されたパターン
に基づいて発音される付加音を示す図、第4図(A)〜
(F)は同制御部の動作を示すフローチャート、第5図
(A)〜(C)はキーのイニシャルタッチ強度に基づい
て付加音の発音レベルを求める関数の例を示す図であ
る。 14……パターンメモリ。
FIG. 1 is a block diagram of a control unit of an electronic musical instrument which is an embodiment of the present invention, FIG. 2 is a diagram showing a register group set in a register memory of the control unit, and FIG. 3 (A) is the control unit. Showing an example of a pattern table set in the pattern memory of FIG. 4B, FIG. 4B showing an additional sound generated based on the pattern set in the pattern table, and FIG.
FIG. 5F is a flowchart showing the operation of the control unit, and FIGS. 5A to 5C are diagrams showing an example of a function for obtaining the sounding level of the additional sound based on the initial touch strength of the key. 14 …… Pattern memory.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】発音すべき楽音の音高の指定を受け付ける
楽音指定手段と、 楽音指定と同時に発音レベルの指定を受け付ける楽音レ
ベル指定手段と を有する電子楽器において、 付加音のパターンを記憶するパターン記憶手段と、 前記楽音指定手段によって楽音が指定される度に該指定
したタイミングからの経過時間を測定し、該経過時間が
予め定められた所定値以上の場合には、指定された楽音
に加えて、前記パターン記憶手段から読み出されたパタ
ーンで付加音を発音する付加音発音手段と、 前記楽音レベル指定手段の指定値から所定の関数に基づ
いてこの付加音の発音レベルを決定する付加音レベル決
定手段と を設けたことを特徴とする電子楽器。
1. A pattern for storing a pattern of an additional tone in an electronic musical instrument having a tone designating means for accepting a tone pitch designation of a tone to be pronounced and a tone level designating means for simultaneously accepting a tone level designation. Each time a musical sound is designated by the storage means and the musical tone designating means, an elapsed time from the designated timing is measured. If the elapsed time is equal to or more than a predetermined value set in advance, the musical tone is added to the designated musical sound. And an additional sound for generating an additional sound by the pattern read out from the pattern storage means, and an additional sound for determining a sounding level of the additional sound based on a predetermined function from the designated value of the musical tone level designating means. An electronic musical instrument characterized by being provided with a level determining means.
【請求項2】発音すべき楽音の指定を受け付ける楽音指
定手段と、 楽音指定と同時に発音レベルの指定を受け付ける楽音レ
ベル指定手段と、 を有する電子楽器において、 前記楽音と同時に発音すべき和音を指定する和音指定手
段と、 付加音のパターンを記憶するパターン記憶手段と、 前記楽音指定手段によって楽音が指定される度に該指定
したタイミングからの経過時間を測定し、該経過時間が
予め定められた所定値以上の場合には指定された楽音に
加えて、前記パターン記憶手段から読み出されたパター
ンに対応して前記和音指定手段で指定された和音の構成
音を発音する付加音発音手段と、 前記楽音レベル指定手段の指定値から関数に基づいてこ
の付加音の発音レベルを決定する付加音レベル決定手段
と を設けたことを特徴とする電子楽器。
2. An electronic musical instrument having a musical tone designating means for receiving designation of a musical tone to be pronounced and a musical tone level designating means for receiving designation of a musical tone level at the same time as the musical tone designation, and designating a chord to be pronounced at the same time as the musical tone. Chord designating means, pattern storage means for storing patterns of additional sounds, and each time a musical tone is designated by the musical tone designating means, an elapsed time from the designated timing is measured, and the elapsed time is predetermined. In the case of being equal to or more than a predetermined value, in addition to the specified musical sound, an additional sound producing means for producing a constituent sound of the chord specified by the chord specifying means corresponding to the pattern read from the pattern storage means, Additional sound level determining means for determining the sounding level of the additional sound based on a function from the specified value of the musical sound level specifying means. Sub musical instrument.
JP1152794A 1989-06-15 1989-06-15 Electronic musical instrument Expired - Fee Related JPH0734157B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1152794A JPH0734157B2 (en) 1989-06-15 1989-06-15 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1152794A JPH0734157B2 (en) 1989-06-15 1989-06-15 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH0317699A JPH0317699A (en) 1991-01-25
JPH0734157B2 true JPH0734157B2 (en) 1995-04-12

Family

ID=15548292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1152794A Expired - Fee Related JPH0734157B2 (en) 1989-06-15 1989-06-15 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH0734157B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4619495B2 (en) * 2000-08-09 2011-01-26 株式会社河合楽器製作所 Automatic accompaniment apparatus and automatic accompaniment method
JP2009075527A (en) * 2007-09-18 2009-04-09 Faniiboon:Kk Method for multiple vibration generation interlocked with human action

Also Published As

Publication number Publication date
JPH0317699A (en) 1991-01-25

Similar Documents

Publication Publication Date Title
US5223655A (en) Electronic musical instrument generating chord data in response to repeated operation of pads
JP3099436B2 (en) Chord detection device and automatic accompaniment device
US5200566A (en) Electronic musical instrument with ad-lib melody playing device
JPH0717116Y2 (en) Electronic musical instrument
JPH0667653A (en) Electronic musical instrument
JPH0734157B2 (en) Electronic musical instrument
JP3517953B2 (en) Automatic performance device
JPH07111629B2 (en) Electronic musical instrument
JP2940449B2 (en) Automatic performance device
JP3192597B2 (en) Automatic musical instrument for electronic musical instruments
JP3379253B2 (en) Electronic musical instrument
JP7505196B2 (en) Automatic bass line sound generation device, electronic musical instrument, automatic bass line sound generation method and program
JP2692677B2 (en) Electronic percussion instrument
JP2636393B2 (en) Automatic performance device
JPH0464073B2 (en)
JP3038767B2 (en) Electronic musical instrument
JP2500490B2 (en) Automatic accompaniment device
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP3625913B2 (en) Arpeggiator
JP2646925B2 (en) Automatic accompaniment device for electronic musical instruments
JPH04186299A (en) Electronic musical instrument
JPH05188961A (en) Automatic accompaniment device
JP2555829B2 (en) Electronic musical instrument
JP2616072B2 (en) Music data processor
JPH0954580A (en) Automatic player and automatic playing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees