JPH0573059A - Chord dictionary device - Google Patents

Chord dictionary device

Info

Publication number
JPH0573059A
JPH0573059A JP3232043A JP23204391A JPH0573059A JP H0573059 A JPH0573059 A JP H0573059A JP 3232043 A JP3232043 A JP 3232043A JP 23204391 A JP23204391 A JP 23204391A JP H0573059 A JPH0573059 A JP H0573059A
Authority
JP
Japan
Prior art keywords
chord
code
type
route
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3232043A
Other languages
Japanese (ja)
Other versions
JP3123138B2 (en
Inventor
Shigeru Matsuyama
茂 松山
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 JP03232043A priority Critical patent/JP3123138B2/en
Publication of JPH0573059A publication Critical patent/JPH0573059A/en
Application granted granted Critical
Publication of JP3123138B2 publication Critical patent/JP3123138B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】 【目的】 本発明は、ユーザが所望するコードに関する
コード名、コード構成音、コード発音などのコード参照
を簡単に行えるようにすることを目的とする。 【構成】 ユーザは、コード名を知っていてその構成音
を知りたい場合、鍵盤部101上で1鍵のみの鍵を押鍵
することによりルートを指定する。また、スイッチ部1
04のテンキーによってコード種を指定する。これによ
り、現在確定しているコード種とテンキーで指定された
コード種とによって新たなコード種が確定される。そし
て、この確定されたコード種とコード鍵域で指定された
ルートとから確定されるコードの構成音が、鍵盤部10
1上の対応する鍵のLED部103が発光させられるこ
とにより表示される。このほか、ユーザは、鍵盤部10
1で複数の鍵を押鍵することにより、それに対応するコ
ードのルートとコード種をLCD表示部115に表示さ
せることもできる。更に、コード音を楽音発生回路11
0から発音させることもできる。
(57) [Summary] [Object] An object of the present invention is to enable a user to easily refer to a chord such as a chord name, chord constituent sound, or chord pronunciation regarding a chord desired. [Structure] When the user knows the chord name and wants to know the constituent sound, the user specifies a route by pressing only one key on the keyboard unit 101. Also, the switch unit 1
The code type is designated by the ten key 04. As a result, a new code type is determined by the code type currently determined and the code type designated by the ten keys. Then, the constituent sound of the chord decided from the decided chord type and the root designated in the chord range is reproduced on the keyboard section 10.
This is displayed by causing the LED section 103 of the corresponding key on 1 to emit light. In addition, the user can use the keyboard 10
By pressing a plurality of keys with 1, it is possible to display the route and the code type of the corresponding code on the LCD display unit 115. Further, the chord sound is generated by the tone generation circuit 11
You can also pronounce from 0.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ユーザが所望のコード
の参照を行うためのコード辞書装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code dictionary device for a user to refer to a desired code.

【0002】[0002]

【従来の技術】従来、ユーザが、所望のコードに関する
コード名やコード発音などのコード参照を行うことので
きる電子楽器がある。
2. Description of the Related Art Conventionally, there is an electronic musical instrument that allows a user to refer to a chord such as a chord name or chord pronunciation relating to a desired chord.

【0003】このような電子楽器において、ユーザは、
例えば図17に示されるような鍵盤上の所定のコード鍵
域の複数の鍵を押鍵することによりコードの構成音を指
定する。この指定動作に対応して、電子楽器は、ユーザ
が押鍵した鍵からコードを判別し、特には図示しない表
示部にコード名を表示すると共に、そのコードに対応す
る和音を発音する。
In such an electronic musical instrument, the user
For example, by pressing a plurality of keys in a predetermined chord key range on the keyboard as shown in FIG. 17, the chord constituent tones are designated. In response to this designated operation, the electronic musical instrument discriminates the chord from the key pressed by the user, displays the chord name on a display section (not shown), and pronounces the chord corresponding to the chord.

【0004】また、ユーザによる上述のコード指定動作
を補助するために、ROMパック等に記憶された制御デ
ータに従って、ユーザがコードの構成音として押鍵すべ
き鍵を例えば図17の各鍵の上方に設けられるガイド用
のLED(図17の黒丸)によって指示する機能を有す
る電子楽器もある。
Further, in order to assist the chord designating operation by the user, the key to be depressed by the user as a chord constituting sound is, for example, above each key shown in FIG. 17, according to the control data stored in the ROM pack or the like. There is also an electronic musical instrument having a function of instructing by means of a guide LED (black circle in FIG. 17) provided in the.

【0005】[0005]

【発明が解決しようとする課題】しかし、コードの参照
時には、ユーザがコードの構成音を確実に覚えていると
は限らないため、ユーザは、コード鍵域の鍵をやみくも
に押鍵してコードの指定をする結果になってしまう。
However, when referring to the chord, the user does not always remember the constituent sounds of the chord, so the user blindly presses the key in the chord range. Will result in the specification of.

【0006】また、ROMパック等によってコードの構
成音が指示されるような場合においても、ユーザが所望
するコードがROMパックによって指定されるとは限ら
ないため、使い勝手は決してよいとはいえなかった。
Even when the chord sound of the chord is designated by the ROM pack or the like, the chord desired by the user is not always designated by the ROM pack, so that the usability is not good. ..

【0007】本発明の課題は、ユーザが所望するコード
に関するコード名、コード構成音、コード発音などのコ
ード参照を簡単に行えるようにすることにある。
An object of the present invention is to make it possible for a user to easily refer to a chord such as a chord name, chord constituent tone, chord pronunciation, etc., relating to a chord desired.

【0008】[0008]

【課題を解決するための手段】本発明は、まず、ユーザ
にルート又はコードの構成音の指定を行わせるための鍵
盤手段を有する。
The present invention firstly has a keyboard means for allowing a user to specify a constituent sound of a root or a chord.

【0009】次に、ユーザにコード種を指定させるコー
ド種指定手段を有する。同手段は、例えばテンキーであ
る。また、鍵盤手段で2鍵以上の鍵が押鍵された場合
に、押鍵された各鍵に対応する各音階音を各構成音とす
るコードを判別するコード判別手段を有する。
Next, it has a code type designating means for allowing the user to designate a code type. The means is, for example, a numeric keypad. In addition, when two or more keys are pressed by the keyboard means, there is a chord judging means for judging a chord having each scale note corresponding to each depressed key as each constituent note.

【0010】更に、コード判別手段で判別されるコード
のルートとコード種を表示するLCD表示装置等のコー
ド表示手段を有する。一方、鍵盤手段において1鍵のみ
の鍵が押鍵された場合に、押鍵された鍵に対応するルー
トを決定するルート決定手段を有する。同手段は、更
に、コード判別手段による判別結果が未確定となった場
合に、鍵盤手段において押鍵された各鍵に対応する各音
階音のうち音階が最も低い音階音をルートとして決定す
るように構成できる。
Further, it has a code display means such as an LCD display device for displaying the route and the code type of the code determined by the code determination means. On the other hand, when only one key is pressed on the keyboard means, it has route determination means for determining the route corresponding to the depressed key. The means further determines, when the discrimination result by the chord discriminating means is unconfirmed, the scale note having the lowest scale among the scale notes corresponding to each key pressed by the keyboard means as the root. Can be configured to.

【0011】続いて、コード種指定手段で指定されたコ
ード種と現在確定しているコード種とから新たなコード
種を確定するコード種確定手段を有する。同手段は、例
えばコード種指定手段で指定され得る全てのコード種と
現在確定しているものとして存在し得る全てのコード種
とから確定され得る全ての新たなコード種をコード推移
テーブルとして記憶する。そして、コード種指定手段で
指定されたコード種と現在確定しているコード種とによ
ってコード推移テーブルを参照することにより、それら
に対応する新たなコード種を確定する。
Next, there is provided code type determining means for determining a new code type from the code type designated by the code type designating means and the code type currently determined. The means stores, as a code transition table, all new code types that can be determined from, for example, all code types that can be specified by the code type specifying means and all code types that can be presently determined. .. Then, by referring to the code transition table by the code type designated by the code type designating means and the currently determined code type, a new code type corresponding to them is determined.

【0012】更に、コード種確定手段で確定されたコー
ド種とルート決定手段で決定されたルートとから確定さ
れるコードの構成音を表示するコード構成音表示手段を
有する。同手段は、例えば鍵盤上の各鍵毎に設けられる
ランプ表示手段である。同手段は、また、表示されるべ
きコードのルートに対応する鍵をルート以外の構成音に
対応する鍵とは区別して表示するように構成できる。
Further, it has chord constituent sound display means for displaying the constituent sound of the chord decided by the chord type decided by the chord type decision means and the route decided by the route decision means. This means is, for example, a lamp display means provided for each key on the keyboard. The means can also be configured to display the key corresponding to the root of the chord to be displayed separately from the keys corresponding to the constituent sounds other than the root.

【0013】以上の本発明の構成に加えて、コード種確
定手段で確定されたコード種とルート指定手段で指定さ
れたルートとから確定されるコードの構成音、又はコー
ド判別手段で判別されるコードの構成音を発音するコー
ド発音手段を更に有するように構成することもできる。
In addition to the above-mentioned configuration of the present invention, the constituent sound of the chord determined by the chord type decided by the chord type decision means and the route designated by the route designation means or the chord discrimination means discriminates. It may be configured to further include a chord producing means for producing chord constituting tones.

【0014】[0014]

【作用】ユーザは、コード名を知っていてその構成音を
知りたい場合、鍵盤手段において1鍵のみの鍵を押鍵す
ることによりルートを指定することができ、コード種指
定手段によってコード種を指定することにより、それら
から確定されるコードの構成音をコード構成音表示手段
に表示させることができる。
When the user knows the chord name and wants to know the constituent sounds of the chord, the user can designate the root by pressing only one key on the keyboard means, and the chord species can be designated by the chord species designating means. By designating, the constituent sounds of the chord determined from them can be displayed on the chord constituent sound display means.

【0015】この場合、コード種確定手段が、現在確定
しているコード種とコード種指定手段で指定されたコー
ド種とによって新たなコード種が確定されるため、ユー
ザは、現在確定しているコード種と関連させて、新たな
コード種を次々と指定してゆくことができる。例えば、
ユーザは、コード種としてマイナーコードを指定した
後、更に、セブンスコードを指定することにより、マイ
ナーセブンスコードを指定することができる。
In this case, the code type determining means determines a new code type by the code type currently determined and the code type designated by the code type designating means, so that the user is currently determining. New code types can be specified one after another in association with code types. For example,
The user can specify the minor sevens code by further specifying the sevens code after specifying the minor code as the code type.

【0016】また、確定されたコードの構成音がコード
構成音表示手段に表示される場合、そのコードのルート
に対応する構成音についてはLEDが点滅等させられる
ことにより、例えば転回形によってコードの構成音が指
示されるような場合でも、ユーザはどの構成音がルート
に対応するかを簡単に識別することができる。
Further, when the determined constituent sound of the chord is displayed on the constituent chord sound display means, the LED of the constituent sound corresponding to the root of the chord is made to blink so that the chord constituent sound of the chord is displayed. Even when the constituent sounds are indicated, the user can easily identify which constituent sound corresponds to the route.

【0017】次に、ユーザは、自分が押鍵した鍵がどの
ようなコードを構成するか知りたい場合には、鍵盤手段
で2鍵以上の鍵を押鍵することにより、押鍵された各鍵
に対応する各音階音を各構成音とするコードのルートと
コード種をコード表示手段に表示させることができる。
Next, when the user wants to know what kind of code the key he / she presses constitutes, he / she presses two or more keys by the keyboard means, thereby pressing each key. The chord display means can display the chord root and the chord type of chords, each of which is a constituent note corresponding to the key.

【0018】更に、ユーザは、上述のようにして確定さ
れたコードをコード発音手段で発音させることもでき
る。
Further, the user can cause the chord sounding means to sound the chord decided as described above.

【0019】[0019]

【実施例】以下、図面を参照しながら本発明の実施例に
つき詳細に説明する。実施例の構成 図1は、本発明の実施例の構成図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. Configuration of Embodiment FIG. 1 is a configuration diagram of an embodiment of the present invention.

【0020】まず、鍵盤部101とLED部103は、
前述した図17と同様の外観を有する。押鍵検出回路1
02は、鍵盤部101での押鍵又は離鍵の状態を検出す
る。
First, the keyboard section 101 and the LED section 103 are
It has an appearance similar to that of FIG. 17 described above. Key press detection circuit 1
Reference numeral 02 detects the state of key depression or key release on the keyboard unit 101.

【0021】スイッチ部104には、ユーザがコード参
照を行うことのできるコード辞書モードの設定又は解除
を行うためのコードスイッチCHORDと、コード種の
指定を行うための図2に示されるようなテンキーが設け
られている。なお、コード指定時のルートの指定は、鍵
盤部101のコード鍵域の鍵を用いて行われる。
The switch section 104 includes a code switch CHORD for setting or canceling a code dictionary mode in which a user can refer to a code, and a numeric keypad as shown in FIG. 2 for designating a code type. Is provided. It should be noted that the designation of the route at the time of chord designation is performed using the keys in the chord key range of the keyboard unit 101.

【0022】スイッチ(SW)検出回路105は、スイ
ッチ部104におけるスイッチ設定状態を検出する。L
CD表示部115は、図3に示されるように、ユーザに
よって指定されたコードのルートをその音名に対応する
アルファベットとして表示するルート表示部と、コード
種をそのコード種を示す文字部分を発光させることによ
って表示するコード種表示部とから構成される。
The switch (SW) detection circuit 105 detects the switch setting state in the switch section 104. L
As shown in FIG. 3, the CD display unit 115 emits a root display unit that displays the root of the chord designated by the user as an alphabet corresponding to the note name, and a chord type that emits a character portion indicating the chord type. And a code type display section for displaying the code type.

【0023】各種テーブル部109には、後述するコー
ド鍵処理において使用される押鍵コード判定テーブル及
びコードLCDテーブル、また、後述するコード変化対
応処理において使用されるコードLEDテーブル等が記
憶される。
The various table sections 109 store a key-depression code determination table and a code LCD table used in the code key processing described later, and a code LED table used in the code change handling processing described later.

【0024】CPU106は、プログラムROM107
に記憶された制御プログラムに従って、ワーキングRA
M108を随時使用しながら、コード判定及び楽音発音
のための各種制御を行う。
The CPU 106 is a program ROM 107.
Working RA according to the control program stored in
While using M108 as needed, various controls for chord determination and tone generation are performed.

【0025】タイマ部114は、後述するルート点滅イ
ンタラプト処理等において使用される。楽音発生回路1
10は、CPU106からの指示に従って楽音データを
発生する。この回路においては、PCM方式、DPCM
方式、ADPCM方式、周波数変調方式、位相変調方
式、倍音加算方式等、様々な楽音発生方式が採用可能で
ある。
The timer section 114 is used in the route blinking interrupt processing and the like which will be described later. Musical tone generation circuit 1
10 generates musical sound data according to an instruction from the CPU 106. In this circuit, PCM system, DPCM
It is possible to adopt various musical tone generation methods such as a method, an ADPCM method, a frequency modulation method, a phase modulation method, and a harmonic overtone addition method.

【0026】D/A変換器111は、楽音発生回路11
0が発生した楽音データをアナログ楽音信号に変換す
る。このアナログ楽音信号は、アンプ112を介してス
ピーカ113から放音される。実施例の全体動作の説明 上述の構成を有する本発明の実施例の全体的な動作につ
いて、図4のメインフローの動作フローチャートに沿っ
て説明する。なお、このメインフローは、図1のCPU
106が、プログラムROM107に記憶された制御プ
ログラムを実行する動作として実現される。
The D / A converter 111 is a tone generation circuit 11
The tone data generated by 0 is converted into an analog tone signal. The analog tone signal is emitted from the speaker 113 via the amplifier 112. Description of Overall Operation of Embodiment The overall operation of the embodiment of the present invention having the above-described configuration will be described with reference to the operation flowchart of the main flow of FIG. The main flow is based on the CPU of FIG.
106 is realized as an operation for executing the control program stored in the program ROM 107.

【0027】始めに、電源がオンされると、CPU10
6内の各種レジスタやワーキングRAM108内の各種
変数等を初期化するイニシャル処理が実行される(ステ
ップS401)。
First, when the power is turned on, the CPU 10
An initial process for initializing various registers in 6 and various variables in the working RAM 108 is executed (step S401).

【0028】それ以後、電源がオフされるまで、図4の
ステップS402〜S406等のループ処理が繰り返し
実行される。ステップS402のSWスキャン処理にお
いては、図1のスイッチ検出回路105が検出している
スイッチ部104の状態が走査される。
After that, the loop processing such as steps S402 to S406 in FIG. 4 is repeatedly executed until the power is turned off. In the SW scan process of step S402, the state of the switch unit 104 detected by the switch detection circuit 105 in FIG. 1 is scanned.

【0029】ステップS403の鍵盤処理では、図1の
スイッチ部104のコードスイッチCHORDによって
コード辞書モードになっていなければ、図1の押鍵検出
回路102が検出している鍵盤部101の状態に基づい
て、発音又は消音の処理が行われる。コード辞書モード
時には、後述するコード鍵処理が実行される。
In the keyboard processing of step S403, if the chord switch CHORD of the switch unit 104 of FIG. 1 is not in the chord dictionary mode, based on the state of the keyboard unit 101 detected by the key depression detection circuit 102 of FIG. Then, the process of sounding or muting is performed. In the code dictionary mode, code key processing described later is executed.

【0030】ステップS404のファンクション処理に
おいては、ステップS402のスイッチスキャン処理に
よる図1のスイッチ部104のスイッチ状態の走査結果
に基づいて、後述するコードスイッチ処理及びテンキー
処理が実行される。
In the function process of step S404, the code switch process and the numeric keypad process, which will be described later, are executed based on the scanning result of the switch state of the switch section 104 of FIG. 1 by the switch scan process of step S402.

【0031】ステップS405の判定は、コード辞書モ
ード時に、ユーザが指定したコードに変化が生じた場合
にYESとなり、その判定の結果、コード鍵域(図17
参照)でのLEDの点灯を制御するためのステップS4
06のコード変化対応処理が実行される。
The determination in step S405 is YES when the code specified by the user has changed in the code dictionary mode, and as a result of the determination, the code key range (see FIG. 17).
Step S4 for controlling the lighting of the LED in
The code change handling process of 06 is executed.

【0032】以上の処理を含むループ処理が繰り返し実
行される。上述した各処理のうち本発明に特に関連する
コード辞書モード時の処理について詳細に説明する。コード辞書モードの概要説明 まず、コード辞書モードの概要について説明する。
Loop processing including the above processing is repeatedly executed. Among the processes described above, the process in the code dictionary mode particularly relevant to the present invention will be described in detail. Outline of Code Dictionary Mode First, an outline of the code dictionary mode will be described.

【0033】ユーザは、図1のスイッチ部104のコー
ドスイッチCHORDを1回ずつ押すことにより、コー
ド辞書モードと通常の自動伴奏つき演奏モードとを交互
に切り替えることができる。
The user can alternately switch between the chord dictionary mode and the normal performance mode with automatic accompaniment by pressing the chord switch CHORD of the switch section 104 shown in FIG. 1 once.

【0034】コード辞書モードにおいて、ユーザは、コ
ード名を知っていてその構成音を知りたい場合、まず、
鍵盤部101(図1)のコード鍵域(図17参照)にお
いていずれかの鍵を押鍵することによりコードのルート
を指定し、同時に、図1のスイッチ部104のテンキー
(図2参照)によりコード種を指定する。この結果、図
4のステップS403の鍵盤処理において実行される後
述するコード鍵処理と、同じくステップS404のファ
ンクション処理において実行される後述するテンキー処
理によって、指定されたコードの判別が行われる。そし
て、その判別結果に基づいて、ステップS406のコー
ド変化対応処理が実行され、図1の鍵盤部101のコー
ド鍵域において、指定されたコードの構成音に対応する
鍵のLEDが点灯される。
In the chord dictionary mode, when the user knows the chord name and wants to know its constituent sounds, first,
The chord root is specified by pressing any key in the chord key range (see FIG. 17) of the keyboard section 101 (FIG. 1), and at the same time, the ten keys (see FIG. 2) of the switch section 104 in FIG. 1 are used. Specify the code type. As a result, the specified chord is discriminated by the chord key processing which will be described later executed in the keyboard processing of step S403 of FIG. 4 and the ten key processing which will be described later which is also executed in the function processing of step S404. Then, based on the determination result, the chord change handling process of step S406 is executed, and the LED of the key corresponding to the constituent sound of the designated chord is turned on in the chord range of the keyboard unit 101 of FIG.

【0035】また、ユーザは、自分が押鍵した鍵がどの
ようなコードを構成するか知りたい場合、鍵盤部101
(図1)のコード鍵域(図17参照)において3音乃至
4音の鍵を押鍵する。この結果、押鍵された鍵に基づい
てコード判別が行われ、図1のLCD表示部115(図
3参照)に、判別されたコードのルートとコード種が表
示される。
When the user wants to know what kind of code the key he / she pressed constitutes, the keyboard section 101
In the chord key range (see FIG. 17) (see FIG. 1), keys with three to four tones are depressed. As a result, code discrimination is performed based on the depressed key, and the LCD display unit 115 (see FIG. 3) in FIG. 1 displays the route and the type of the discriminated code.

【0036】ここで、鍵盤部101のコード鍵域でLE
Dが点灯されるコード鍵(コードを構成する鍵)のう
ち、ルートに対応する鍵を示すLEDが点滅される。こ
れにより、ユーザは、どの鍵がルートに対応するかを容
易に判断できる。この点滅処理は、図1のタイマ部11
4からの一定時間毎の割り込みに応答してCPU106
が図4のメインフローのプログラムからは独立して実行
する後述するルート点滅インタラプト処理によって実現
される。コード辞書モード時に使用されるレジスタの説明 以下、コード辞書モード時の本発明の実施例の具体的な
処理動作について説明する前に、このモードにおいて使
用されるCPU106内のレジスタについて説明する。
これらのレジスタは図5に示される。
Here, in the chord range of the keyboard section 101, LE
Among the code keys whose D is turned on (keys forming the code), the LED indicating the key corresponding to the route is blinked. This allows the user to easily determine which key corresponds to the root. This blinking process is performed by the timer unit 11 of FIG.
CPU 106 in response to interrupts from the CPU 4 at regular intervals.
Is realized by a route blinking interrupt process which will be described later and is executed independently of the program of the main flow of FIG. Description of Registers Used in Code Dictionary Mode Before describing specific processing operations of the embodiment of the present invention in the code dictionary mode, registers in the CPU 106 used in this mode will be described below.
These registers are shown in FIG.

【0037】図5において、レジスタCJFには、コー
ド辞書モード時に“1”が、通常の演奏モード時には
“0”がセットされる。レジスタCFには、未確定解除
状態で“0”、コード未確定状態で“1”、ルート未確
定状態で“2”がセットされる。
In FIG. 5, "1" is set in the register CJF in the chord dictionary mode, and "0" is set in the normal performance mode. In the register CF, "0" is set in the undefined state, "1" is set in the code undefined state, and "2" is set in the route undefined state.

【0038】レジスタCH及びRTには、後述するテン
キー処理又はコード鍵処理により最終的に確定されるコ
ード種とルートが格納される。この場合、レジスタCH
には、各コード種に対応して16進表現で“0”〜“1
0”(H)のいずれかの値が格納され、コード未確定時
にはノンコードを表わす値“ff”が格納される。ま
た、レジスタRTには、1オクターブ内の音名C〜Bの
12音のうちのいずれかの音名に対応して16進表現で
“0”〜“B”のいずれかの値が格納され、ルート未確
定時にはノンコードを表わす値“ff”が格納される。
In the registers CH and RT, the code type and the route finally decided by the ten-key process or the code key process described later are stored. In this case, register CH
Is a hexadecimal representation corresponding to each code type from "0" to "1".
Any value of 0 ”(H) is stored, and a value“ ff ”representing a non-code is stored when the chord is undetermined. Further, the register RT stores 12 notes of note names C to B in one octave. One of the values of "0" to "B" is stored in hexadecimal notation corresponding to any of the note names, and a value "ff" representing a non-chord is stored when the route is undetermined.

【0039】レジスタFTは、その内容がタイマ部11
4により後述するLED点滅インタラプト処理のための
割り込みが発生する毎にインクリメントされるLEDフ
ロー用タイマーである。
The contents of the register FT are the contents of the timer section 11
4 is an LED flow timer that is incremented each time an interrupt for LED blinking interrupt processing described later by 4 occurs.

【0040】レジスタFKには、コード鍵域のLEDを
点灯させるためのキーコードが格納される。コードスイッチ処理の説明 ユーザが、図1のスイッチ部104において、コードス
イッチCHORDを1回ずつ押すことにより、コード辞
書モードの設定又は解除を交互に行うことができる。こ
の制御は、図4のステップS404のファンクション処
理において実行されるコードスイッチ処理として実現さ
れる。
The register FK stores a key code for turning on the LED in the code key area. Description of Code Switch Process The user can alternately set or cancel the code dictionary mode by pressing the code switch CHORD once in the switch unit 104 of FIG. This control is realized as a code switch process executed in the function process of step S404 in FIG.

【0041】以下、このコードスイッチ処理について、
図6の動作フローチャートに沿って詳細に説明する。な
お、この動作フローチャートは、図1のCPU106
が、プログラムROM107に記憶された制御プログラ
ムを実行する動作として実現される。
The code switching process will be described below.
Details will be described with reference to the operation flowchart of FIG. It should be noted that this operation flowchart is based on the CPU 106 of FIG.
Is realized as an operation for executing the control program stored in the program ROM 107.

【0042】また、図6のコードスイッチ処理は、ユー
ザがコードスイッチCHORDを押した直後に実行され
る図4のステップS404のファンクション処理におい
て起動される。
The code switch process of FIG. 6 is started in the function process of step S404 of FIG. 4, which is executed immediately after the user presses the code switch CHORD.

【0043】まず、ステップS601において、コード
種及びルートを格納するレジスタCH及びRTに、ノン
コードに対応する値“ff”が格納される。次に、ステ
ップS602において、図1のLCD表示部115に対
して、ノンコードを示す表示「−」が行わせられる。
First, in step S601, the value "ff" corresponding to the non-code is stored in the registers CH and RT which store the code type and the route. Next, in step S602, the LCD display unit 115 of FIG. 1 is caused to display a non-code display "-".

【0044】続いて、ステップS603において、図1
の鍵盤部101のコード鍵域(図17)で表示されてい
るLEDが消灯させられる。更に、ステップS604に
おいて、図1の楽音発生回路110において現在発音中
のコード(和音)があれば、それらがリリースされる。
Then, in step S603, as shown in FIG.
The LED displayed in the chord key range (FIG. 17) of the keyboard section 101 is turned off. Further, in step S604, if there are any chords (chords) that are currently sounding in the musical tone generating circuit 110 of FIG. 1, those are released.

【0045】次に、ステップS605において、レジス
タCJFの内容が“1”か否か、即ち、今までコード辞
書モードであったか否かが判別される。今まで、コード
辞書モードでなかったならステップS605の判定がN
Oとなって、コードスイッチCHORDが押されること
に対応してコード辞書モードへの移行処理(モードIN
処理)が行われる。このモードIN処理は、ステップS
606〜S610の処理として実現される。
Next, in step S605, it is determined whether or not the content of the register CJF is "1", that is, whether or not it has been the code dictionary mode until now. Until now, if the mode is not the code dictionary mode, the determination in step S605 is N.
When the code switch CHORD becomes O and the code switch CHORD is pressed, a transition process to the code dictionary mode (mode IN
Processing) is performed. This mode IN process is performed in step S
This is realized as the processing of 606 to S610.

【0046】まず、ステップS606において、レジス
タFKに、図1の鍵盤部101のコード鍵域においてL
EDが設けられた鍵のうちの最低音F2 (図17参照)
を示す値“5”が格納される。そして、ステップS60
7において、そのレジスタFKに対応するコード鍵域の
音名F2 の鍵のLEDが点灯される。
First, in step S606, the register FK is set to L in the chord range of the keyboard section 101 of FIG.
The lowest note F 2 of the keys provided with the ED (see FIG. 17)
The value “5” indicating the is stored. Then, step S60
7, the LED of the key of the note name F 2 in the chord range corresponding to the register FK is turned on.

【0047】続いて、ステップS608において、LE
Dフロー用タイマーであるレジスタFTの内容が“0”
にリセットされる。また、ステップS609において、
レジスタCFに、コード未確定状態を示す値“1”がセ
ットされる。
Subsequently, in step S608, LE
The content of the register FT, which is the D flow timer, is "0".
Is reset to. Also, in step S609,
The value "1" indicating the code undetermined state is set in the register CF.

【0048】更に、ステップS610において、レジス
タCJFに、コード辞書モードを示す値“1”がセット
される。以上のステップS606〜S610のモードI
N処理に対して、今まで、コード辞書モードであったな
らステップS605の判定がYESとなって、コードス
イッチCHORDが押されることに対応してコード辞書
モードから通常の演奏モードへの移行処理(モードOU
T処理)が行われる。このモードOUT処理は、ステッ
プS611とS612の処理として実現される。
Further, in step S610, the value "1" indicating the code dictionary mode is set in the register CJF. Mode I in steps S606 to S610 above
In contrast to the N process, if the chord dictionary mode has been used so far, the determination in step S605 becomes YES, and in response to the chord switch CHORD being pressed, transition processing from the chord dictionary mode to the normal performance mode ( Mode OU
T processing) is performed. The mode OUT processing is realized as the processing of steps S611 and S612.

【0049】まず、ステップS611において、レジス
タCFに、未確定解除状態を示す値“0”がセットされ
る。更に、ステップS613において、レジスタCJF
に、通常の演奏モードを示す値“1”がセットされる。LED点滅インタラプト処理の説明 上述のコードスイッチ処理によってコード辞書モードに
移行した場合、電子楽器としての視覚的効果を高めるた
めに、図1の鍵盤部101のコード鍵域のLEDが次々
に点滅される。この制御は、図7の動作フローチャート
で示されるLED点滅インタラプト処理として実現され
る。この動作フローチャートは、CPU106が、図1
のタイマ部114からの一定時間毎の割り込みに応答し
て、図4のメインフローのプログラムからは独立して、
プログラムROM107に記憶された制御プログラムを
実行する動作として実現される。タイマ部114からの
割り込みの時間間隔は、本実施例の場合、50μsec
である。
First, in step S611, the register CF is set to the value "0" indicating the unconfirmed cancellation state. Further, in step S613, the register CJF
Is set to the value "1" indicating the normal performance mode. Description of the LED blinking interrupt process When the chord switch mode is entered and the chord dictionary mode is entered, the LEDs in the chord key range of the keyboard section 101 of FIG. 1 are blinked one after another in order to enhance the visual effect of the electronic musical instrument. .. This control is realized as an LED blinking interrupt process shown in the operation flowchart of FIG. This operation flow chart is shown in FIG.
In response to interrupts from the timer unit 114 of the above, at regular intervals, independently of the main flow program of FIG.
It is realized as an operation for executing the control program stored in the program ROM 107. The time interval of the interrupt from the timer unit 114 is 50 μsec in this embodiment.
Is.

【0050】まず、ステップS701において、レジス
タCFの内容がコード未確定解除状態を示す値“0”以
外の値であるか否かが判定される。この判定がNOな
ら、通常の演奏状態であるか、又はコード辞書モードに
おいてコードが確定しておりそのコードに対応したLE
Dの点灯制御が行われるべき状態であるため、視覚的効
果を高めるためのLED点滅のためのインタラプト処理
は実質的に行われない。
First, in step S701, it is determined whether or not the content of the register CF is a value other than the value "0" indicating the code undecided cancellation state. If this judgment is NO, it means that it is in a normal playing state, or the chord is fixed in the chord dictionary mode and the LE corresponding to the chord is set.
Since the lighting control of D should be performed, the interrupt process for blinking the LED for enhancing the visual effect is not substantially performed.

【0051】レジスタCFの内容がコード未確定状態を
示す値“1”又はルート未確定状態を示す値“2”で、
ステップS701の判定がYESとなる場合、ステップ
S702以降の処理が実行される。
When the content of the register CF is a value "1" indicating a code indeterminate state or a value "2" indicating a route indeterminate state,
When the determination in step S701 is YES, the processes in and after step S702 are executed.

【0052】まず、ステップS702では、LEDフロ
ー用タイマーであるであるレジスタFTの値がインクリ
メントされる。そして、このレジスタFTの値が100
0にならなければ、ステップS703の判定がNOとな
って、そのままLED点滅インタラプト処理を終了す
る。前述したように、LED点滅インタラプト処理の割
り込みは50μsec毎に発生し、その都度レジスタF
Tの値がインクリメントされる。従って、レジスタFT
の値が1000になるまでの50msecの間は、ステ
ップS704以降の処理は実行されない。この50ms
ecがLEDの点滅間隔になる。
First, in step S702, the value of the register FT, which is the LED flow timer, is incremented. The value of this register FT is 100
If it does not become 0, the determination in step S703 becomes NO, and the LED blinking interrupt processing is ended as it is. As described above, the LED blink interrupt processing interrupt occurs every 50 μsec, and the register F
The value of T is incremented. Therefore, the register FT
During the period of 50 msec until the value of becomes 1000, the processing after step S704 is not executed. This 50ms
ec becomes the blinking interval of the LED.

【0053】レジスタFTの値が1000になると、ス
テップS703の判定がYESとなって、ステップS7
04の処理が実行される。ステップS704では、次の
50msecのカウント動作のために、上記レジスタF
Tの値が再び“0”にリセットされる。
When the value of the register FT reaches 1000, the determination in step S703 becomes YES and step S7
The processing of 04 is executed. In step S704, the register F is used for the next counting operation of 50 msec.
The value of T is reset to "0" again.

【0054】次のステップS705、S706及びS7
07の処理は、図1の鍵盤部101のコード鍵域の音名
2 〜E3 (図17参照)の各鍵のLEDを50mse
c間隔で次々に循環的に点灯してゆくための処理であ
る。
Next steps S705, S706 and S7
In the processing of 07, the LED of each key of the note names F 2 to E 3 (see FIG. 17) in the chord range of the keyboard section 101 of FIG. 1 is set to 50 mse.
This is a process for cyclically lighting up one after another at intervals of c.

【0055】即ち、ステップS705で、レジスタFK
の値がコード鍵域の最高音E3 の鍵に対応する値“1
0”(H)になったか否かが判定され、この判定がNO
なら、ステップS707において、レジスタFKの値が
+1インクリメントされる。また、ステップS705の
判定がYESならば、ステップS706において、レジ
スタFKの値がコード鍵域の最低音F2 の鍵に対応する
値“5”(H)に戻される。
That is, in step S705, the register FK
The value of "1" corresponds to the key of the highest note E 3 in the chord range "1"
It is determined whether or not it has become 0 "(H), and this determination is NO.
Then, in step S707, the value of the register FK is incremented by +1. Also, if YES is determined in step S705, the in step S706, the value of the register FK is returned to the value corresponding to the key of the lowest note F 2 code key range "5" (H).

【0056】そして、ステップS708において、上述
のようにその値が制御されるレジスタFKの値に対応す
るコード鍵域の鍵のLEDが点灯される。コード鍵処理の説明 次に、図4のステップS403の鍵盤処理において実行
されるコード鍵処理について、図8の動作フローチャー
トに沿って詳細に説明する。この動作フローチャート
は、図1のCPU106がプログラムROM107に記
憶された制御プログラムを実行する動作として実現され
る。
Then, in step S708, the LED of the key in the code key range corresponding to the value of the register FK whose value is controlled as described above is turned on. Description of Code Key Process Next, the code key process executed in the keyboard process of step S403 of FIG. 4 will be described in detail with reference to the operation flowchart of FIG. This operation flowchart is realized as an operation in which the CPU 106 in FIG. 1 executes the control program stored in the program ROM 107.

【0057】まず、ステップS801において、レジス
タCJFの内容が“1”であるか否か、即ち、現在のモ
ードがコード辞書モードであるか否かが判定される。現
在が通常の演奏モードでステップS801の判定がNO
なら、図8で示されるコード鍵処理は実質的に実行され
ない。この場合には、図2の鍵盤処理S403内の特に
は図示しない通常の押鍵/離鍵処理が実行されることに
なる。
First, in step S801, it is determined whether the content of the register CJF is "1", that is, whether the current mode is the code dictionary mode. The current performance mode is normal and the determination in step S801 is NO.
Then, the code key processing shown in FIG. 8 is not substantially executed. In this case, a normal key depression / key release process (not shown) in the keyboard process S403 of FIG. 2 is executed.

【0058】現在がコード辞書モードでステップS80
1の判定がYESの場合、ステップS802以降の処理
が実行される。まず、ステップS802において、ユー
ザがコード鍵域(図17参照)において押鍵を行ったか
否かがサーチされ、ステップS803において、押鍵が
発生したか否かが判定される。
In the current code dictionary mode, step S80
If the result of the determination in step 1 is YES, the processes in and after step S802 are executed. First, in step S802, it is searched whether or not the user has depressed the key in the chord key range (see FIG. 17), and in step S803, it is determined whether or not the key has been depressed.

【0059】ステップS803の判定がNOならば、即
座にコード鍵処理を終了し、図4のメインフローのルー
プ処理に戻る。ステップS803の判定がYESなら、
次のステップS804において、押鍵数が1鍵であるか
否かが判定される。
If the determination in step S803 is NO, the code key process is immediately terminated and the process returns to the loop process of the main flow of FIG. If the determination in step S803 is yes,
In the next step S804, it is determined whether or not the number of pressed keys is one.

【0060】押鍵数が1鍵であれば、ユーザは、コード
のルートを指定するために鍵盤部101(図1)のコー
ド鍵域(図17参照)のいずれかの鍵を押鍵したことに
なるため、ステップS807において、その押鍵された
音名がルート格納用のレジスタRTに格納される。
If the number of keys pressed is one, the user has pressed any key in the chord key range (see FIG. 17) of the keyboard section 101 (FIG. 1) to specify the chord root. Therefore, in step S807, the key name of the depressed key is stored in the route storing register RT.

【0061】続いて、ステップS808において、レジ
スタCFの内容が、現在コード未確定状態であることを
示す値“1”であるか否かが判定される。この判定がY
ESなら、ステップS809において、コード種格納用
のレジスタCHに、メジャーコード(Maj)を示す値
“0”が強制的に格納される。これにより、ユーザがコ
ード未確定状態でコード鍵域のいずれかの鍵を押鍵する
と、その押鍵によってルートが決定されると共に、コー
ド種がとりあえずメジャーコードに設定される。
Subsequently, in step S808, it is determined whether or not the content of the register CF is a value "1" indicating that the code is currently undecided. This judgment is Y
If it is ES, the value "0" indicating the major code (Maj) is forcibly stored in the register CH for storing the code type in step S809. As a result, when the user presses any key in the chord key range while the chord is undetermined, the root is determined by the key depression and the chord type is set to the major chord for the time being.

【0062】一方、ステップS808の判定がNOな
ら、ユーザは既にコード種を指定しており、その状態で
押鍵によってルートのみを指定したことになるため、コ
ード種については操作されずに、ステップS812に進
む。
On the other hand, if the decision in step S808 is NO, it means that the user has already specified the chord type and, in that state, designated only the root by pressing the key. It proceeds to S812.

【0063】上述のようにしてルートとコード種が確定
したため、続くステップS812において、レジスタC
Fに、未確定状態解除を示す値“0”が格納される。次
に、ステップS813において、レジスタCHとRTの
各内容として確定したコード種とルートにより、図1の
各種テーブル部109内のコードLCDテーブルが参照
され、その結果得られるLCD駆動信号に基づき、図1
のLCD表示部115(図3参照)に、確定したコード
のルートとコード種が表示される。
Since the root and the code type have been determined as described above, in the subsequent step S812, the register C
The value “0” indicating the release of the undetermined state is stored in F. Next, in step S813, the code type and route determined as the contents of the registers CH and RT are used to refer to the code LCD table in the various table unit 109 of FIG. 1
The LCD display unit 115 (see FIG. 3) displays the confirmed code route and code type.

【0064】なお、LCD表示と共に、図1の鍵盤部1
01のコード鍵域において、確定したコードの構成音に
対応する鍵のLEDも点灯されるが、この点灯処理は、
図2のメインフローにおいて、ステップS405の判定
がYESとなり、ステップS406のコード変化対応処
理が実行されることにより実現される。これについて
は、後に詳述する。
It should be noted that the keyboard section 1 shown in FIG.
In the chord key range of 01, the LED of the key corresponding to the confirmed constituent sound of the chord is also turned on.
In the main flow of FIG. 2, the determination in step S405 is YES, and the code change handling process of step S406 is executed to realize the operation. This will be described in detail later.

【0065】続いて、ステップS814において、レジ
スタCHとRTの各内容として確定したコードに対応す
る各構成音の楽音の発音指示が図1の楽音発生回路11
0に対してなされ、コード(和音)が発音される。これ
により、ユーザは、自分が指定したコードを聴覚的に確
認できる。
Subsequently, in step S814, the tone generation instruction of the tone generation circuit 11 of FIG. 1 is issued to instruct the generation of the tone of each constituent tone corresponding to the code determined as the contents of the registers CH and RT.
This is done for 0 and a chord (chord) is pronounced. This allows the user to auditorily confirm the code specified by the user.

【0066】ステップS814の処理の後、コード鍵処
理を終了する。上述したステップS807〜S809〜
S814の処理は、ユーザが、コードのルートを指定す
るために鍵盤部101(図1)のコード鍵域(図17参
照)の鍵を1鍵だけ押鍵した場合である。これに対し
て、ユーザが、1鍵以上の鍵を押鍵した場合には、前述
したステップS804の判定はNOとなる。
After the processing of step S814, the code key processing ends. Steps S807 to S809 described above
The process of S814 is performed when the user presses only one key in the chord key range (see FIG. 17) of the keyboard unit 101 (FIG. 1) to specify the chord root. On the other hand, when the user presses one or more keys, the determination in step S804 described above is NO.

【0067】この場合には、ユーザは、コードの構成音
を直接指定するためにコード鍵域の複数の鍵を押鍵した
ことになるため、ステップS805において、ユーザが
コード鍵域で押鍵した複数の鍵に基づいてコード判定が
行われる。この判定処理は、従来からあるコード判定処
理と同様であり、例えば図1の各種テーブル部109に
記憶されている押鍵コード判定テーブルが参照されなが
ら、コード種及びルートの判定が行われる。
In this case, since the user has pressed a plurality of keys in the chord key area in order to directly specify the chord constituent tones, the user depresses in the chord key area in step S805. Code determination is performed based on a plurality of keys. This determination process is similar to the conventional code determination process, and the code type and the route are determined while referring to the key depression code determination table stored in the various table unit 109 of FIG. 1, for example.

【0068】次のステップS806では、上述のコード
判定処理の結果、コードが確定できたか否かが判別され
る。コードが確定できず、ステップS806の判別がN
Oとなった場合には、ユーザによって押鍵された複数の
鍵のうち最も音名が低い鍵の音名がルート格納用のレジ
スタRTに格納される。これ以降の動作は、ユーザによ
って押鍵された鍵が1鍵の場合の前述したステップS8
08以降の処理と同様である。
In the next step S806, it is judged whether or not the code can be confirmed as a result of the above-mentioned code judgment processing. The code cannot be confirmed and the determination in step S806 is N.
When it becomes O, the note name of the key having the lowest note name among the plurality of keys pressed by the user is stored in the route storing register RT. The operation thereafter is the above-described step S8 when the number of keys pressed by the user is one.
This is the same as the processing after 08.

【0069】ステップS805でのコード判定処理の結
果、コードが確定でき、ステップS806の判別がYE
Sとなった場合には、その判別結果に基づいて、コード
種とルートを示すレジスタCHとRTの内容がセットさ
れる。
As a result of the code judgment processing in step S805, the code can be confirmed, and the judgment in step S806 is YES.
When S is reached, the contents of the registers CH and RT indicating the code type and the route are set based on the determination result.

【0070】上述のようにしてルートとコード種が確定
したため、続くステップS812において、レジスタC
Fに、未確定状態解除を示す値“0”が格納される。次
に、ステップS813において、図1のLCD表示部1
15(図3参照)に、確定したコードのルートとコード
種が表示される。これ2 より、ユーザは、自分が押鍵し
た鍵を構成音とするコードを視覚的に確認することがで
きる。
Since the root and the code type have been determined as described above, in the subsequent step S812, the register C
The value “0” indicating the release of the undetermined state is stored in F. Next, in step S813, the LCD display unit 1 of FIG.
In 15 (see FIG. 3), the confirmed code root and code type are displayed. Than this 2, the user is able to visually confirm the code to configure sound the keys that you have to key depression.

【0071】続いて、ステップS814において、レジ
スタCHとRTの各内容として確定したコードに対応す
る各構成音の楽音の発音指示が図1の楽音発生回路11
0に対してなされ、コード(和音)が発音される。これ
により、ユーザは、自分が指定したコードを聴覚的に確
認できる。
Subsequently, in step S814, the tone generation instruction of the tone generation circuit 11 of FIG. 1 is issued to instruct the generation of the tone of each constituent tone corresponding to the code determined as the contents of the registers CH and RT.
This is done for 0 and a chord (chord) is pronounced. This allows the user to auditorily confirm the code specified by the user.

【0072】ステップS814の処理の後、コード鍵処
理を終了する。テンキー処理の説明 ユーザは、コード辞書モード時に、図1のスイッチ部1
04において、いずれかのテンキーを押すことによっ
て、コード種を直接指定することができる(図2参
照)。この制御は、図4のステップS404のファンク
ション処理において実行されるテンキー処理として実現
される。なお、ルートの指定は、鍵盤部101(図1)
のコード鍵域でいずれかの鍵を押鍵することにより行う
ことができ、前述したように、指定されたルート音は、
図8のステップS807の処理などにおいて、レジスタ
RTにセットされる。
After the processing of step S814, the code key processing ends. Description of numeric keypad process When the user selects the switch unit 1 in FIG.
In 04, by pressing any of the ten keys, the code type can be directly specified (see FIG. 2). This control is realized as a ten-key process executed in the function process of step S404 in FIG. The route is specified on the keyboard 101 (Fig. 1).
It can be done by pressing any key in the chord range of, and as mentioned above, the specified root tone is
It is set in the register RT in the processing of step S807 in FIG.

【0073】以下、テンキー処理について、図9の動作
フローチャートに沿って詳細に説明する。なお、この動
作フローチャートは、図1のCPU106が、プログラ
ムROM107に記憶された制御プログラムを実行する
動作として実現される。
The ten-key processing will be described in detail below with reference to the operation flowchart of FIG. Note that this operation flowchart is realized as an operation in which the CPU 106 in FIG. 1 executes the control program stored in the program ROM 107.

【0074】また、図9のテンキー処理は、ユーザがテ
ンキーを押した直後に実行される図4のステップS40
4のファンクション処理において起動される。まず、ス
テップS901において、押されたテンキーが0〜8番
のいずれかであるか否かが判別される。今、0〜8番の
テンキーには、いずれかのコード種を指定する操作が割
り当てられている。また、9番のテンキーには、コード
種の指定を解除する操作が割り当てられている。
The ten-key processing of FIG. 9 is executed immediately after the user presses the ten-key, and the step S40 of FIG. 4 is executed.
It is started in the function processing of No. 4. First, in step S901, it is determined whether the pressed numeric keypad is any one of numbers 0 to 8. Now, the operation of designating one of the code types is assigned to the ten keys of numbers 0 to 8. An operation for canceling the designation of the chord type is assigned to the ten-key pad.

【0075】従って、9番のテンキーが押された場合に
は、ステップS901の判定はNOとなり、ステップS
908〜S913の処理として、コード種の指定を解除
する処理が実行される。
Therefore, when the ten-key pad is pressed, the determination in step S901 is NO and step S901
As the processing of 908 to S913, processing for canceling the designation of the code type is executed.

【0076】即ち、ステップS908において、レジス
タCFにコード未確定状態を示す値“1”が格納され
る。次に、ステップS909において、図1の楽音発生
回路110において現在発音中のコード(和音)があれ
ば、それらがリリースされる。
That is, in step S908, the value "1" indicating the code undetermined state is stored in the register CF. Next, in step S909, if there are any chords (chords) currently being sounded by the tone generation circuit 110 of FIG. 1, those are released.

【0077】次に、ステップS910において、図1の
LCD表示部115に対して、ノンコードを示す表示
「−」が行わせられる。また、ステップS911で、レ
ジスタFKの値がコード鍵域の最低音F2 の鍵に対応す
る値“5”(H)にセットされる。そして、ステップS
912で、レジスタFKの値に対応するコード鍵域の最
低音F2 の鍵のLEDが点灯される。
Next, in step S910, the LCD display unit 115 shown in FIG. 1 is caused to display a non-code display "-". Further, in step S911, the value of the register FK is set to the value "5" (H) corresponding to the key of the lowest note F 2 in the chord key range. And step S
At 912, the LED of the key of the lowest tone F 2 in the chord range corresponding to the value of the register FK is turned on.

【0078】更に、ステップS913において、LED
フロー用タイマーであるであるレジスタFTの値が
“0”にリセットされる。このステップS913の処理
の後、テンキー処理を終了する。
Further, in step S913, the LED
The value of the register FT, which is a flow timer, is reset to "0". After the processing of step S913, the ten key processing is ended.

【0079】上述のコード種の指定を解除する処理が実
行された後は、前述した図7のLED点滅インタラプト
処理により、図1の鍵盤部101のコード鍵域のLED
が次々に点滅される動作が繰り返される。
After the above-mentioned processing for canceling the designation of the chord type is executed, the LED in the chord key area of the keyboard section 101 of FIG. 1 is subjected to the above-described LED blinking interrupt processing of FIG.
The operation of blinking one after another is repeated.

【0080】次に、ユーザが、0〜8番のいずれかのテ
ンキーを押すことによりステップS901の判定がYE
Sとなった場合には、そのテンキーに割り当てられてい
るコード種を指定する操作が実行される。
Next, when the user presses any one of the ten keys 0 to 8, the determination in step S901 becomes YES.
When the result is S, the operation of designating the code type assigned to the ten key is executed.

【0081】まず、ステップS902において、現在の
レジスタCFの内容が、コード未確定状態を示す値
“1”であるか否かが判定される。今、ユーザによるコ
ード鍵域のいずれかの鍵の押鍵によって既にルートが指
定されており、レジスタCFが未確定解除状態を示す値
“0”にされている(図8のステップS812参照)場
合には、ステップS902の判定がNOとなって、ルー
トが確定している状態で、次のステップS904のコー
ド種の指定処理が実行される。
First, in step S902, it is determined whether or not the current content of the register CF is the value "1" indicating the code undetermined state. Now, when the root has already been designated by the user pressing any key in the code key range and the register CF is set to the value "0" indicating the unconfirmed release state (see step S812 in FIG. 8). In step S902, the determination result in step S902 is NO, and the code type designation process in step S904 is executed while the route is fixed.

【0082】また、レジスタCFがコード未確定状態を
示す値“1”である場合には、ステップS902の判定
がYESとなって、ステップS903でレジスタCFが
ルート未確定状態を示す値“2”に変更された後に、ス
テップS904のコード種の指定処理が実行される。
If the register CF has the value "1" indicating the code undetermined state, the determination in step S902 is YES, and the register CF indicates the route undetermined state "2" in step S903. After being changed to, the code type designation process of step S904 is executed.

【0083】更に、レジスタCFがルート未確定状態を
示す値“2”である場合には、ステップS902の判定
がNOとなって、ルートが未確定の状態のまま、次のス
テップS904のコード種の指定処理が実行される。
Further, when the value of the register CF is "2" indicating the route undetermined state, the determination in step S902 is NO, the route remains undetermined, and the code type in the next step S904. The specified processing of is executed.

【0084】ステップS904では、ユーザによってテ
ンキーで指定されたコード種と、レジスタCHの値とし
て示されている現在のコード種とによって、図1の各種
テーブル部109に記憶されているコード推移テーブル
が参照されることにより、新たなコード種が確定され、
そのコード種に対応する値がレジスタCHに新たに設定
される。
In step S904, the code transition table stored in the various table units 109 of FIG. 1 is set by the code type designated by the user with the ten keys and the current code type indicated as the value of the register CH. By referring, the new code type is confirmed,
A value corresponding to the code type is newly set in the register CH.

【0085】図10にコード推移テーブルの例を示す。
現在のコード種を示すレジスタCHの値と最左列に示さ
れる値とが一致した行と、テンキーの番号と最上行に示
される値とが一致した列との交差部分に示されるコード
種が、新たに確定するコード種となる。例えば、現在確
定しているコード種がマイナーコード(min )であっ
て、セブンスコード(7th )を指示するための1番のテ
ンキーが押された場合には、新たに確定するコード種は
マイナーセブンスコード(min7th)となる。また、例え
ば現在のコード種が未確定であって、ディミニッシュコ
ード(dim )を指示するための4番のテンキーが押され
た場合には、新たに確定するコード種はその指示通りの
ディミニッシュコード(dim )となる。
FIG. 10 shows an example of the code transition table.
The code type shown at the intersection of the row where the value of the register CH indicating the current code type matches the value shown in the leftmost column and the column where the number on the numeric keypad and the value shown in the top row match , Becomes the code type that is newly confirmed. For example, if the currently confirmed chord type is a minor chord (min) and the number 10 key for instructing the 7th chord (7th) is pressed, the chord type to be decided newly will be the minor 7th chord. It will be a code (min7th). Also, for example, if the current chord type is undetermined and the ten-key pad for instructing the diminished code (dim) is pressed, the newly decided chord type is the diminished code ( dim).

【0086】このように、ステップS903におけるコ
ード推移テーブルの参照動作によって、ユーザは、テン
キーにより、現在確定しているコード種と関連させて、
新たなコード種を次々と指定してゆくことができる。そ
して、ユーザは、テンキーを最高3回押せば、コード推
移テーブルに示されているあらゆる種類のコード種を指
定することができる。例えば、ユーザは、マイナーセブ
ンスフラットファイブコード(min7-5)を指定するため
に、テンキーを、0番(min )、1番(7th )、8番
(-5th)の順に押せばよい。
In this way, by the reference operation of the code transition table in step S903, the user associates with the currently confirmed code type with the ten keys,
You can specify new code types one after another. Then, the user can specify all kinds of chord types shown in the chord transition table by pressing the ten keys up to three times. For example, the user may press the ten keys in the order of 0 (min), 1 (7th) and 8 (-5th) in order to specify the minor sevens flat five code (min7-5).

【0087】以上のようにして、コード種がレジスタC
Hの値として確定した後、ステップS905において、
そのレジスタCHの内容として確定したコード種によ
り、図1の各種テーブル部109内のコードLCDテー
ブルが参照され、その結果得られるLCD駆動信号に基
づき、図1のLCD表示部115(図3参照)に、確定
したコード種が表示される。
As described above, the code type is register C
After being determined as the value of H, in step S905,
The code LCD table in each table unit 109 of FIG. 1 is referred to by the code type determined as the content of the register CH, and the LCD display unit 115 of FIG. 1 (see FIG. 3) is based on the LCD drive signal obtained as a result. The confirmed code type is displayed on.

【0088】このステップS905の処理の後に、テン
キー処理を終了する。コード変化対応処理及びルート点滅インタラプト処理の
説明 最後に、図4のステップS406のコード変化対応処理
及びルート点滅インタラプト処理について説明する。
After the processing of step S905, the ten key processing is ended. For code change response processing and route blinking interrupt processing
Description Finally, the code change handling process and the route blinking interrupt process of step S406 of FIG. 4 will be described.

【0089】前述したように、ユーザが指定したコード
に変化が生じた場合、図2のメインフローのステップS
405の判定がYESとなる。この結果、ステップS4
06のコード変化対応処理が実行され、コードの変化に
対応するコード鍵域の鍵のLEDの点灯制御処理が実行
される。
As described above, when there is a change in the code specified by the user, step S in the main flow of FIG.
The determination of 405 is YES. As a result, step S4
The code change handling process of 06 is executed, and the lighting control process of the LED of the key in the code key area corresponding to the code change is executed.

【0090】ここで、LEDの点灯によって表示される
コードを構成する鍵のうち、ルートに対応する鍵を示す
LEDが点滅させられる。これにより、ユーザは、どの
鍵がルートに対応するかを容易に判断できる。この点滅
処理は、ルート点滅インタラプト処理によって実現され
る。
Here, among the keys constituting the code displayed by the lighting of the LED, the LED indicating the key corresponding to the root is blinked. This allows the user to easily determine which key corresponds to the root. This blinking process is realized by the route blinking interrupt process.

【0091】まず、これらの処理の動作について詳述す
る前に、その処理に関連する図1のLED部103の構
成について説明する。図11は、コード変化対応処理に
係るLED部103の構成図である。
First, before describing the operations of these processes in detail, the configuration of the LED section 103 of FIG. 1 related to the processes will be described. FIG. 11 is a configuration diagram of the LED unit 103 related to the code change handling process.

【0092】図11において、図17の黒丸として示さ
れるガイド用のLED1101は、抵抗1102及びダ
イオード1103を介してラッチ1104に接続され
る。そして、音名F2 〜E3 の鍵に対応する各LED1
101の点灯動作は、以下のようにして実現される。
In FIG. 11, the guiding LED 1101 shown as a black circle in FIG. 17 is connected to the latch 1104 via the resistor 1102 and the diode 1103. Then, each LED 1 corresponding to the key of the note name F 2 to E 3
The lighting operation of 101 is realized as follows.

【0093】即ち、図1のCPU106は、点灯すべき
LEDに対応するビットを“1”に設定したデータI0
〜I11をPortAに入力し、PortBにラッチイネーブル信
号LEをセットする。これによって、ラッチ1104か
らLED駆動出力信号Q0 〜Q11が出力され、所望のL
ED1101が点灯される。
That is, the CPU 106 of FIG. 1 sets the data I 0 in which the bit corresponding to the LED to be turned on is set to “1”.
~ I 11 is input to Port A, and the latch enable signal LE is set to Port B. As a result, the LED drive output signals Q 0 to Q 11 are output from the latch 1104, and the desired L
The ED 1101 is turned on.

【0094】次に、コード変化対応処理及びルート点滅
インタラプト処理で使用されるCPU106内のレジス
タにつき説明する。これらレジスタは図14に示され
る。図14において、レジスタCLには、ユーザの指示
に基づくコードの構成音を示すコードLED出力データ
が格納される。このデータは、12ビットのデータであ
り、各ビットは1オクターブ内の12音の各々に対応し
ている。そして、これらビットのうちいずれか3ビット
又は4ビットが“1”に設定されることにより、コード
の構成音が表現される。レジスタRLは、12ビットの
データのうちルートに対応するビットが“1”に設定さ
れたデータを格納するレジスタである。レジスタLFに
は、現在、ルートに対応するLED1101(図11)
が点灯中なら“1”、消灯中なら“0”がセットされ
る。レジスタCLTの内容は、タイマ部114によりル
ート点滅インタラプト処理のための割り込みが発生する
毎にインクリメントされるコードLEDタイマーであ
る。この他、汎用のレジスタS、T、X等が用意され
る。
Next, the registers in the CPU 106 used in the code change handling process and the route blinking interrupt process will be described. These registers are shown in FIG. In FIG. 14, the register CL stores the code LED output data indicating the constituent sounds of the code based on the user's instruction. This data is 12-bit data, and each bit corresponds to each of 12 sounds in one octave. Then, by configuring any one of these bits, 3 bits or 4 bits, to "1", the constituent sound of the chord is expressed. The register RL is a register for storing data in which the bit corresponding to the root of the 12-bit data is set to "1". The register LF currently has an LED 1101 (FIG. 11) corresponding to the route.
If is on, "1" is set; if it is off, "0" is set. The content of the register CLT is a code LED timer that is incremented each time the timer unit 114 generates an interrupt for route blinking interrupt processing. In addition, general-purpose registers S, T, X, etc. are prepared.

【0095】次に、図4のステップS406のコード変
化対応処理につき、図12の動作フローチャートに沿っ
て詳細に説明する。この動作フローチャートは、図1の
CPU106がプログラムROM107に記憶された制
御プログラムを実行する動作として実現される。
Next, the code change handling process of step S406 of FIG. 4 will be described in detail with reference to the operation flowchart of FIG. This operation flowchart is realized as an operation in which the CPU 106 in FIG. 1 executes the control program stored in the program ROM 107.

【0096】まず、ステップS1201において、コー
ド変化の結果、指定されたコードがノンコード、即ち未
確定となったか否かが判定される。この判定処理は、レ
ジスタCFがコード未確定解除状態を示す値“0”でな
いか否かを判定する処理として実現される。
First, in step S1201, as a result of the code change, it is determined whether or not the designated code is non-code, that is, undetermined. This determination process is realized as a process of determining whether or not the register CF is not the value “0” indicating the code indeterminate release state.

【0097】レジスタCFがコード未確定状態を示す値
“1”又はルート未確定状態を示す値“2”である場合
は、ステップS1201の判定はYESとなり、ステッ
プS1208及びS1209でレジスタS及びTに
“0”が代入される。そして、ステップS1210及び
S1211でレジスタCL及びRLに上記レジスタS及
びTの値“0”が代入される。
If the register CF has the value "1" indicating the code undetermined state or the value "2" indicating the route undetermined state, the determination in step S1201 is YES and the registers S and T are registered in steps S1208 and S1209. "0" is substituted. Then, in steps S1210 and S1211, the values "0" of the registers S and T are substituted into the registers CL and RL.

【0098】ここで、レジスタCL及びRLの内容は、
LED部103(図1)内の図11の各LED1101
の点灯制御を行うためにラッチ1104のPortAに与え
られるデータI0 〜I11の内容を決定するが、上述のよ
うにレジスタCL及びRLの内容が“0”となることに
より、図11の各LED1101は全て消灯されること
になる。
Here, the contents of the registers CL and RL are
Each LED 1101 of FIG. 11 in the LED unit 103 (FIG. 1)
The contents of the data I 0 to I 11 given to the port A of the latch 1104 are determined in order to perform the lighting control of the latch 1104. However, since the contents of the registers CL and RL become “0” as described above, All the LEDs 1101 will be turned off.

【0099】但し、前述した図7のLED点滅インタラ
プト処理においては、ステップS701の判定はYES
となるため、図1の鍵盤部101のコード鍵域のLED
が次々に点滅される視覚効果的な動作が繰り返される。
However, in the LED blinking interrupt processing of FIG. 7 described above, the determination in step S701 is YES.
Therefore, the LED in the code key area of the keyboard unit 101 of FIG.
The action of visual effect, in which is blinking one after another, is repeated.

【0100】一方、図8のコード鍵処理又は図9のテン
キー処理によってルート及びコード種が確定することに
よって1つのコードが確定し、レジスタCFがコード未
確定解除状態を示す値“0”となっている場合は、ステ
ップS1201の判定はNOとなり、ステップS120
2が実行される。
On the other hand, one code is determined by the determination of the root and the code type by the code key processing of FIG. 8 or the ten key processing of FIG. 9, and the register CF becomes the value “0” indicating the code undetermined release state. If so, the determination in step S1201 is NO and step S120
2 is executed.

【0101】ステップS1202では、前述した図8の
コード鍵処理によってレジスタRTに格納されているル
ート(図8のステップS807、S810、S811参
照)の値がレジスタXに格納される。この値は、ルート
が1オクターブ内の音名C〜Bのいずれであるかによっ
て、16進表現で“0”〜“B”のいずれかの値とな
る。
In step S1202, the value of the route (see steps S807, S810, and S811 in FIG. 8) stored in the register RT by the code key processing in FIG. 8 is stored in the register X. This value is any one of "0" to "B" in hexadecimal notation depending on which one of the pitch names C to B in one octave the root is.

【0102】次のステップS1203では、図8のコー
ド鍵処理又は図9のテンキー処理によって確定されレジ
スタCHに格納されたコード種(図8のステップS80
9、S810、図9のS904参照)の内容によって、
図1の各種テーブル部109に記憶されているコードL
EDテーブルが参照され、コードLEDデータがレジス
タSに代入される。
In the next step S1203, the code type determined by the code key process of FIG. 8 or the ten key process of FIG. 9 and stored in the register CH (step S80 of FIG. 8).
9, S810, refer to S904 in FIG. 9)
Code L stored in various table units 109 in FIG.
The ED table is referred to and the code LED data is assigned to the register S.

【0103】コードLEDテーブルでは、例えば図15
に示されるように、音名Cをルートとする各種コード毎
に、1オクターブ内のどの音階音が構成音であるかを示
すコードLEDデータが対応付けられている。従って、
レジスタSには、変化したコード種に対応するコードL
EDデータが格納されることになる。
In the code LED table, for example, FIG.
As shown in, the chord LED data indicating which scale note in one octave is the constituent note is associated with each chord whose root is the note name C. Therefore,
The register S has a code L corresponding to the changed code type.
ED data will be stored.

【0104】次に、ステップS1204では、レジスタ
Tに、16進表現で“080”となる12ビットのデー
タが格納される。このレジスタの内容は、初期状態では
音名Cに対応するビットのみが“1”となっており、上
記レジスタSのコードLEDデータによって示されてい
るコードのルート音の音名がCであることを示してい
る。
Next, in step S1204, 12-bit data which is "080" in hexadecimal representation is stored in the register T. In the contents of this register, only the bit corresponding to the note name C is "1" in the initial state, and the note name of the root note of the chord indicated by the chord LED data of the register S is C. Is shown.

【0105】続いて、ステップS1205→S1206
→S1207→S1205のループ処理によって、レジ
スタSの12ビットのコードLEDデータと、レジスタ
Tのルートを示す12ビットのデータが、それぞれ、変
化したルートを示すレジスタXの値の分だけ左にローテ
イト(ビット回転)される。
Subsequently, steps S1205 → S1206.
By the loop processing of S1207 and S1205, the 12-bit code LED data of the register S and the 12-bit data indicating the route of the register T are rotated to the left by the value of the register X indicating the changed route ( Bit rotation).

【0106】この結果、レジスタSの12ビットのコー
ドLEDデータにおいては、変化したコードの構成音に
対応するビットが“1”となり、また、レジスタTの1
2ビットのデータにおいては、変化したコードのルート
に対応するビットが“1”となる。ステップS1210
及びS1211においては、これらレジスタS及びTの
各内容がコードLED出力データ及びルートデータとし
て、レジスタCL及びRLに格納される。図16に、上
述のローテイト処理によって得られる、コード種がメジ
ャーコードでルート音の音名がC〜Bである場合の、各
コードLED出力データの例を示す。
As a result, in the 12-bit code LED data of the register S, the bit corresponding to the constituent sound of the changed code becomes "1", and the register T of 1
In the 2-bit data, the bit corresponding to the changed code root is "1". Step S1210
And S1211, the contents of these registers S and T are stored in the registers CL and RL as code LED output data and route data. FIG. 16 shows an example of each chord LED output data obtained by the above-described rotation processing when the chord type is the major chord and the pitch name of the root note is C to B.

【0107】続いて、ステップS1212でレジスタC
LTの内容が“0”にクリアされ、ステップS1213
でレジスタLFの内容が、ルートに対応するLED11
01(図11)が点灯中であることを示す値“1”にさ
れる。これらについては、後述する。
Subsequently, in step S1212, the register C
The content of LT is cleared to "0", and step S1213
Then, the contents of the register LF is the LED 11 corresponding to the route.
01 (FIG. 11) is set to a value “1” indicating that the light is on. These will be described later.

【0108】そして、ステップS1214において、変
化したコードの構成音を示すコードLEDデータが格納
されてレジスタCLの内容が、LED部103(図1)
内の図11のラッチ1104のPortAにデータI0 〜I
11として出力され、PortBにラッチイネーブル信号LE
がセットされる。これにより、ラッチ1104からLE
D駆動出力信号Q0〜Q11が出力され、変化したコード
の構成音に対応するコード鍵のLED1101が点灯さ
れる。
Then, in step S1214, the code LED data indicating the constituent sound of the changed chord is stored and the content of the register CL is changed to the LED section 103 (FIG. 1).
Data I 0 to I to the port A of the latch 1104 of FIG.
11 is output, and the latch enable signal LE is output to Port B.
Is set. This causes the latch 1104 to LE
The D drive output signals Q 0 to Q 11 are output, and the LED 1101 of the chord key corresponding to the changed constituent sound of the chord is turned on.

【0109】以上により、図4のステップS406のコ
ード変化対応処理を終了する。次に、ルート点滅処理に
つき、図13の動作フローチャートに沿って詳細に説明
する。この動作フローチャートは、CPU106が、図
1のタイマ部114からの一定時間毎の割り込みに応答
して、図4のメインフローのプログラムからは独立し
て、プログラムROM107に記憶された制御プログラ
ムを実行する動作として実現される。タイマ部114か
らの割り込みの時間間隔は、本実施例の場合、前述した
図7のLED点滅インタラプト処理の場合と同様、50
μsecである。
With the above, the code change handling process of step S406 of FIG. 4 is completed. Next, the route blinking process will be described in detail with reference to the operation flowchart of FIG. In this operation flowchart, the CPU 106 executes the control program stored in the program ROM 107, independently of the program of the main flow of FIG. 4, in response to the interrupt from the timer unit 114 of FIG. It is realized as an action. In the case of the present embodiment, the time interval of the interrupt from the timer unit 114 is 50 as in the case of the LED blinking interrupt processing of FIG. 7 described above.
μsec.

【0110】まず、ステップS1301では、コードL
EDタイマーであるレジスタCLTの値がインクリメン
トされる。そして、このレジスタCLTの値が2000
にならなければ、ステップS1302の判定がNOとな
って、そのままルート点滅インタラプト処理を終了す
る。前述したように、ルート点滅インタラプト処理の割
り込みは50μsec毎に発生し、その都度レジスタC
LTの値がインクリメントされる。従って、レジスタC
LTの値が2000になるまでの100msecの間
は、ステップS1303以降の処理は実行されない。こ
の100msecがルートを示すLED1101(図1
1)の点滅間隔になる。
First, in step S1301, the code L
The value of the register CLT which is the ED timer is incremented. The value of this register CLT is 2000
If not, the determination in step S1302 becomes NO, and the route blinking interrupt process is terminated. As described above, the interrupt for the route blinking interrupt processing occurs every 50 μsec, and the register C
The value of LT is incremented. Therefore, register C
During the period of 100 msec until the LT value reaches 2000, the processes of step S1303 and thereafter are not executed. The LED 1101 (see FIG.
It becomes the blinking interval of 1).

【0111】レジスタCLTの値が2000になると、
ステップS1302の判定がYESとなって、ステップ
S1303の処理が実行される。ステップS1303で
は、次の100msecのカウント動作のために、上記
レジスタCLTの値が再び“0”にリセットされる。
When the value of the register CLT becomes 2000,
The determination in step S1302 is YES, and the process of step S1303 is executed. In step S1303, the value of the register CLT is reset to "0" again for the next counting operation of 100 msec.

【0112】次に、ステップS1304において、レジ
スタLFの内容が“1”であるか否か、即ち、ルートに
対応するLED1101(図11)が点灯中であるか否
かが判定される。
Next, in step S1304, it is determined whether the content of the register LF is "1", that is, whether the LED 1101 (FIG. 11) corresponding to the route is lighting.

【0113】ルートに対応するLEDが点灯中で、ステ
ップS1304の判定がYESとなったら、次のステッ
プS1305において、レジスタLFの内容が、ルート
に対応するLED1101が消灯中であることを示す値
“0”にセットされる。そして、ステップS1306に
おいて、レジスタCLの内容からレジスタRLの内容を
減算した内容が、LED部103(図1)の図11のラ
ッチ1104のPortAにデータI0 〜I11として与えら
れる。この場合、上記減算処理により、ルート音に対応
するビットが“0”となるため、ルートに対応するLE
D1101は消灯させられる。
When the LED corresponding to the route is lit and the determination in step S1304 is YES, in the next step S1305, the content of the register LF is a value "" indicating that the LED 1101 corresponding to the route is off. It is set to 0 ". Then, in step S1306, the content obtained by subtracting the content of the register RL from the content of the register CL is given to Port A of the latch 1104 of FIG. 11 of the LED unit 103 (FIG. 1) as data I 0 to I 11 . In this case, since the bit corresponding to the root sound becomes "0" by the above subtraction processing, the LE corresponding to the root is
D1101 is turned off.

【0114】逆に、ルートに対応するLEDが消灯中
で、ステップS1304の判定がNOとなったら、次の
ステップS1307において、レジスタLFの内容が、
ルートに対応するLED1101が点灯中であることを
示す値“1”にセットされる。そして、ステップS13
08において、レジスタCLの内容が、LED部103
(図1)の図11のラッチ1104のPortAにデータI
0 〜I11として与えられる。この場合、ルート音に対応
するビットは“1”であるため、ルートに対応するLE
D1101は点灯させられる。
On the contrary, if the LED corresponding to the route is off and the determination in step S1304 is NO, in the next step S1307, the contents of the register LF are changed to
The LED 1101 corresponding to the route is set to the value "1" indicating that the LED 1101 is lighting. Then, step S13
At 08, the contents of the register CL are
Data I is input to Port A of the latch 1104 of FIG. 11 (FIG. 1).
Given as 0- I 11 . In this case, since the bit corresponding to the root sound is “1”, the LE corresponding to the root is
D1101 is turned on.

【0115】以上の2通りの動作が、100msec毎
に交互に繰り返されることにより、ルートを示すLED
1101が点滅され、これにより、ユーザは、どの鍵が
ルートに対応するかを容易に判断できることになる。
By repeating the above two operations alternately every 100 msec, the LED indicating the route is displayed.
1101 is flashed, which allows the user to easily determine which key corresponds to the root.

【0116】[0116]

【発明の効果】本発明によれば、ユーザは、コード名を
知っていてその構成音を知りたい場合に、鍵盤手段にお
いて1鍵のみの鍵を押鍵することにより又は所定のルー
ト指定手段によってルートを指定し、コード種指定手段
によってコード種を指定することにより、それらから確
定されるコードの構成音をコード構成音表示手段に表示
させることが可能となる。
According to the present invention, when the user knows the chord name and wants to know its constituent sounds, the user can press only one key on the keyboard means or by a predetermined route designating means. By designating the root and designating the chord type by the chord type designating means, it becomes possible to display the chord constituting sound determined from them on the chord constituting sound display means.

【0117】この場合、コード種確定手段が、現在確定
しているコード種とコード種指定手段で指定されたコー
ド種とによって新たなコード種が確定されるため、ユー
ザは、現在確定しているコード種と関連させて、新たな
コード種を次々と指定してゆくことが可能となる。
In this case, since the code type determining means determines a new code type by the code type currently determined and the code type designated by the code type designating means, the user is currently determining. It becomes possible to successively specify new code types in association with the code types.

【0118】また、確定されたコードの構成音がコード
構成音表示手段に表示される場合、そのコードのルート
に対応する構成音についてはLEDが点滅等させられる
ことにより、例えば転回形によってコードの構成音が指
示されるような場合でも、ユーザはどの構成音がルート
に対応するかを簡単に識別することが可能となる。
When the confirmed constituent sound of the chord is displayed on the chord constituent sound display means, the LED of the constituent sound corresponding to the root of the chord is made to blink so that the chord constituent sound of the chord is displayed. Even when the constituent sounds are indicated, the user can easily identify which constituent sound corresponds to the route.

【0119】上述の機能と併せて、ユーザは、自分が押
鍵した鍵がどのようなコードを構成するか知りたい場合
には、鍵盤手段で2鍵以上の鍵を押鍵することにより、
押鍵された各鍵に対応する各音階音を各構成音とするコ
ードのルートとコード種をコード表示手段に表示させる
ことができる。
In addition to the above-mentioned functions, when the user wants to know what kind of code the key pressed by him / herself, he / she presses two or more keys by the keyboard means.
It is possible to display the chord display means on the chord display means the chord root and the chord type of which each scale note corresponds to each depressed key.

【0120】更に、ユーザは、上述のようにして確定さ
れたコードをコード発音手段で発音させることもでき
る。以上のように、本発明によれば、コードの参照を自
由な形式で行うことが可能となる。
Further, the user can also cause the chord sounding means to sound the chord determined as described above. As described above, according to the present invention, it is possible to refer to a code in a free format.

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

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

【図2】テンキーの構成図である。FIG. 2 is a configuration diagram of a numeric keypad.

【図3】LCD表示部の構成図である。FIG. 3 is a configuration diagram of an LCD display unit.

【図4】メインフローの動作フローチャートである。FIG. 4 is an operation flowchart of a main flow.

【図5】本実施例で使用されるレジスタを示した図であ
る。
FIG. 5 is a diagram showing a register used in this embodiment.

【図6】コードスイッチ処理の動作フローチャートであ
る。
FIG. 6 is an operation flowchart of a code switch process.

【図7】LED点滅インタラプト処理の動作フローチャ
ートである。
FIG. 7 is an operation flowchart of LED blinking interrupt processing.

【図8】コード鍵処理の動作フローチャートである。FIG. 8 is an operation flowchart of code key processing.

【図9】テンキー処理の動作フローチャートである。FIG. 9 is an operation flowchart of ten-key processing.

【図10】コード推移テーブルを示した図である。FIG. 10 is a diagram showing a code transition table.

【図11】コード変化対応処理に係るLED部の構成図
である。
FIG. 11 is a configuration diagram of an LED unit related to code change handling processing.

【図12】コード変化対応処理の動作フローチャートで
ある。
FIG. 12 is an operation flowchart of chord change handling processing.

【図13】ルート点滅インタラプト処理の動作フローチ
ャートである。
FIG. 13 is an operation flowchart of route blinking interrupt processing.

【図14】コード変化対応処理とルート点滅インタラプ
ト処理に係るレジスタを示した図である。
FIG. 14 is a diagram showing registers related to code change handling processing and route blinking interrupt processing.

【図15】コードLEDテーブルを示した図である。FIG. 15 is a diagram showing a code LED table.

【図16】コード変化対応処理の動作説明図である。FIG. 16 is an operation explanatory diagram of chord change handling processing.

【図17】コード鍵域とメロディ鍵域の説明図である。FIG. 17 is an explanatory diagram of a chord key range and a melody key range.

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

101 鍵盤部 102 押鍵検出回路 103 LED部 104 スイッチ部 105 スイッチ検出回路 106 CPU 107 プログラムROM 108 ワーキングRAM 109 各種テーブル部 110 楽音発生回路 111 D/A変換器 112 アンプ 113 スピーカ 114 タイマ部 115 LCD表示部 101 Keyboard 102 Key Press Detection Circuit 103 LED Section 104 Switch Section 105 Switch Detection Circuit 106 CPU 107 Program ROM 108 Working RAM 109 Various Table Section 110 Musical Sound Generation Circuit 111 D / A Converter 112 Amplifier 113 Speaker 114 Timer Section 115 LCD Display Department

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ユーザにルートを指定させるルート指定
手段と、 ユーザにコード種を指定させるコード種指定手段と、 該コード種指定手段で指定されたコード種と現在確定し
ているコード種とから新たなコード種を確定するコード
種確定手段と、 該コード種確定手段で確定されたコード種と前記ルート
指定手段で指定されたルートとから確定されるコードの
構成音を表示するコード構成音表示手段と、 を有することを特徴とするコード辞書装置。
1. A route specifying unit for allowing a user to specify a route, a code type specifying unit for allowing a user to specify a code type, and a code type specified by the code type specifying unit and a code type currently determined. A chord type deciding means for deciding a new chord type, and a chord component sound display for displaying a chord singing tone decided by the chord type decided by the chord type deciding means and the route designated by the route designating means. A code dictionary device comprising:
【請求項2】 前記コード種確定手段で確定されたコー
ド種と前記ルート指定手段で指定されたルートとから確
定されるコードの構成音を発音するコード発音手段を更
に有する、 ことを特徴とする請求項1に記載のコード辞書装置。
2. The apparatus further comprises chord sound producing means for producing a constituent sound of a chord decided by the chord species decided by the chord species deciding means and a route designated by the route designating means. The code dictionary device according to claim 1.
【請求項3】 ユーザにルート又はコードの構成音の指
定を行わせるための鍵盤手段と、 ユーザにコード種を指定させるコード種指定手段と、 前記鍵盤手段において2鍵以上の鍵が押鍵された場合
に、該押鍵された各鍵に対応する各音階音を各構成音と
するコードを判別するコード判別手段と、 該コード判別手段で判別されるコードのルートとコード
種を表示するコード表示手段と、 前記鍵盤手段において1鍵のみの鍵が押鍵された場合
に、該押鍵された鍵に対応するルートを決定するルート
決定手段と、 前記コード種指定手段で指定されたコード種と現在確定
しているコード種とから新たなコード種を確定するコー
ド種確定手段と、 該コード種確定手段で確定されたコード種と前記ルート
決定手段で決定されたルートとから確定されるコードの
構成音を表示するコード構成音表示手段と、 を有することを特徴とするコード辞書装置。
3. A keyboard means for allowing a user to specify a constituent sound of a root or a chord, a chord type designating means for designating a chord type for a user, and two or more keys are depressed by the keyboard means. In the case of playing, a chord discriminating means for discriminating a chord having each musical note corresponding to each depressed key as a constituent note, and a chord for displaying a chord root and a chord discriminated by the chord discriminating means. Display means, route determination means for determining a route corresponding to the depressed key when only one key is depressed on the keyboard means, and chord type designated by the chord type designating means And a code type currently determined, and a code type determining means for determining a new code type, and a code type determined by the code type determining means and the route determined by the route determining means. A chord dictionary sound display means for displaying a chord constituent sound, and a chord dictionary device.
【請求項4】 前記ルート決定手段は、更に、前記コー
ド判別手段による判別結果が未確定となった場合に、前
記鍵盤手段において押鍵された各鍵に対応する各音階音
のうち音階が最も低い音階音をルートとして決定する、 ことを特徴とする請求項3に記載のコード辞書装置。
4. The route determining means is further arranged such that, when the discrimination result by the chord discriminating means is unconfirmed, the scale of the scale notes corresponding to each key pressed by the keyboard means is the highest. The chord dictionary device according to claim 3, wherein a low scale note is determined as a root.
【請求項5】 前記コード種確定手段は、 前記コード種指定手段で指定され得る全てのコード種と
現在確定しているものとして存在し得る全てのコード種
とから確定され得る全ての新たなコード種をコード推移
テーブルとして記憶し、 前記コード種指定手段で指定されたコード種と現在確定
しているコード種とによって前記コード推移テーブルを
参照することにより、それらに対応する新たなコード種
を確定する、 ことを特徴とする請求項1乃至4のいずれか1項に記載
のコード辞書装置。
5. The new code that can be determined from all the code types that can be designated by the code type designating unit and all the code types that can be presently determined as the code type determining unit. By storing the species as a code transition table, and referring to the code transition table by the code species specified by the code species specifying means and the currently confirmed code species, a new code species corresponding to them is determined. The code dictionary device according to any one of claims 1 to 4, wherein:
【請求項6】前記コード構成音表示手段は、鍵盤上の各
鍵毎に設けられるランプ表示手段である、 ことを特徴とする請求項1乃至5のいずれか1項に記載
のコード辞書装置。
6. The chord dictionary device according to claim 1, wherein the chord component sound display means is a lamp display means provided for each key on the keyboard.
【請求項7】 前記コード種確定手段で確定されたコー
ド種と前記ルート指定手段で指定されたルートとから確
定されるコードの構成音、又は前記コード判別手段で判
別されるコードの構成音を発音するコード発音手段を更
に有する、 ことを特徴とする請求項3乃至6のいずれか1項に記載
のコード辞書装置。
7. A constituent sound of a chord determined by the chord species determined by the chord species determining means and a route designated by the route designating means, or a constituent sound of the chord discriminated by the chord discriminating means. 7. The chord dictionary device according to claim 3, further comprising a chord pronouncing unit.
【請求項8】 前記コード構成音表示手段は、表示され
るべきコードのルートに対応する構成音を該ルート以外
の構成音とは区別して表示する、 ことを特徴とする請求項1乃至7のいずれか1項に記載
のコード辞書装置。
8. The chord component sound display means displays the component sound corresponding to the root of the chord to be displayed separately from the constituent sounds other than the root. The code dictionary device according to claim 1.
JP03232043A 1991-09-11 1991-09-11 Code dictionary device Expired - Fee Related JP3123138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03232043A JP3123138B2 (en) 1991-09-11 1991-09-11 Code dictionary device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03232043A JP3123138B2 (en) 1991-09-11 1991-09-11 Code dictionary device

Publications (2)

Publication Number Publication Date
JPH0573059A true JPH0573059A (en) 1993-03-26
JP3123138B2 JP3123138B2 (en) 2001-01-09

Family

ID=16933072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03232043A Expired - Fee Related JP3123138B2 (en) 1991-09-11 1991-09-11 Code dictionary device

Country Status (1)

Country Link
JP (1) JP3123138B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05323969A (en) * 1992-05-21 1993-12-07 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2014186228A (en) * 2013-03-25 2014-10-02 Casio Comput Co Ltd Chord playing guide device, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05323969A (en) * 1992-05-21 1993-12-07 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2014186228A (en) * 2013-03-25 2014-10-02 Casio Comput Co Ltd Chord playing guide device, method, and program

Also Published As

Publication number Publication date
JP3123138B2 (en) 2001-01-09

Similar Documents

Publication Publication Date Title
EP1302927B1 (en) Chord presenting apparatus and method
JPH05224668A (en) Musical composition and arrangement assist device
CN115909999A (en) Electronic device, pronunciation instruction method and storage medium of electronic device
US5399800A (en) Electronic musical instrument including an apparatus for aurally and visually displaying specification explanations and states of the electronic musical instrument
JP3123138B2 (en) Code dictionary device
JP2681570B2 (en) Electronic musical instrument explanation device
JP2590725B2 (en) Music data input device
US6080926A (en) Automatic accompanying apparatus and automatic accompanying method capable of simply setting automatic accompaniment parameters
JP2879273B2 (en) Electronic musical instrument explanation device
JPH0990953A (en) Arpeggiator
JP2623174B2 (en) Automatic performance device
JP3245611B2 (en) Code identification device
JPH0527762A (en) Electronic musical instrument
JP3356326B2 (en) Electronic musical instrument
JPH07146681A (en) Electronic musical instrument
JP2007240558A (en) Chord detection area setting device, chord display device with same device, and program thereof
JPH10116081A (en) Electronic musical instrument editing device
JPH09319372A (en) Electronic musical instrument automatic accompaniment apparatus and automatic accompaniment method
JPH07160255A (en) Automatic musical instrument accompaniment device
JPH08234738A (en) Electronic musical instrument
JP2002215153A (en) Electronic musical instrument function selection device
JPH10293586A (en) Automatic accompaniment device
JPH06161438A (en) Data input device for electronic musical instruments
JPH10171456A (en) Automatic accompaniment device
JPS6262359B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000926

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

Free format text: PAYMENT UNTIL: 20081027

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091027

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091027

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees