JPH027480B2 - - Google Patents

Info

Publication number
JPH027480B2
JPH027480B2 JP56210989A JP21098981A JPH027480B2 JP H027480 B2 JPH027480 B2 JP H027480B2 JP 56210989 A JP56210989 A JP 56210989A JP 21098981 A JP21098981 A JP 21098981A JP H027480 B2 JPH027480 B2 JP H027480B2
Authority
JP
Japan
Prior art keywords
chord
note
block
tonality
melody
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 - Lifetime
Application number
JP56210989A
Other languages
Japanese (ja)
Other versions
JPS58114097A (en
Inventor
Keiji Yuzawa
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 JP56210989A priority Critical patent/JPS58114097A/en
Priority to GB08236334A priority patent/GB2118756B/en
Priority to US06/451,816 priority patent/US4539882A/en
Priority to DE3248144A priority patent/DE3248144C2/en
Priority to FR8221839A priority patent/FR2519172B1/en
Priority to IT25009/82A priority patent/IT1153926B/en
Publication of JPS58114097A publication Critical patent/JPS58114097A/en
Publication of JPH027480B2 publication Critical patent/JPH027480B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 この発明は予めメモリーに記憶させた楽曲に自
動的に伴奏コードを付加することが可能な自動コ
ード付加装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an automatic chord adding device that is capable of automatically adding accompaniment chords to music pieces stored in a memory in advance.

近年の電子鍵盤楽器においては、初心者や演奏
技術の未熟な者の演奏の手助けのために、いわゆ
る“イージープレー機能”としての様々な自動伴
奏装置が考えられている。即ち演奏者が右手でメ
ロデイを弾くと同時に左手で少数の鍵やコード選
択ボタンを操作することによつて伴奏用のコード
音あるいはアルペジオ音を得る方式がある。ま
た、予めコード進行をメモリーに記憶させてお
き、このコード進行にもとづく伴奏音を自動演奏
によつて再生すると同時に演奏者がメロデイを演
奏可能にしたものも実現されており、これらは上
記の人々の演奏および練習に非常に多大な効果を
発揮しているものである。
2. Description of the Related Art In recent years, various automatic accompaniment devices with so-called "easy play" functions have been devised for electronic keyboard instruments to assist beginners and those with unskilled performance skills. That is, there is a method in which a performer plays a melody with his right hand and at the same time operates a small number of keys or chord selection buttons with his left hand, thereby obtaining chord tones or arpeggio tones for accompaniment. Furthermore, systems have been developed in which a chord progression is stored in memory in advance, and accompaniment sounds based on this chord progression are automatically played back, allowing the performer to play a melody at the same time. It has been extremely effective for playing and practicing.

しかしながら上記の自動伴奏機能のいずれかに
あつても、コードのパターンやコード理論が理解
できない初心者が、メロデイだけを頼りに演奏し
ようと思つても、いわゆる一本指だけの限られた
演奏になつてしまうものであつた。また幼い項か
ら音楽に親しんできた者や、一部のミユージヤン
あるいは音楽愛好家を除いた一般の人々にとつ
て、コードの理論体系は複雑でわかりにくいもの
であり、まして曲を聞いてすぐにコードをつけら
れるようになるためには大変習熟を要するもので
あつた。
However, even with any of the automatic accompaniment functions mentioned above, even if a beginner who does not understand chord patterns or chord theory tries to play based only on the melody, the performance will be limited to what is called a one-finger performance. It was something that would end up happening. In addition, for the general public, excluding those who have been familiar with music since childhood, some musicians or music lovers, the theoretical system of chords is complex and difficult to understand, and even more so, they cannot understand it immediately after listening to a song. It required a great deal of skill to be able to code.

また、実際にフオークギターなどを愛好して演
奏する人々の中にもコード進行が示された楽譜な
どを見ないと演奏できないという人も多数存在す
るものであり、実際に演奏できるレパートリーが
限られてしまうものであつた。
Furthermore, even among people who actually play folk guitars, there are many who cannot play unless they see sheet music with chord progressions, and the repertoire that can actually be played is limited. It was something that would end up happening.

以上の理由から、自動的にコードを付加する技
術を提供することの意義ははかり知れないもので
あるが、問題は自動コード付加装置によつて得ら
れるコードが音楽的な見地から妥当性をもつかど
うかの点にあり、単純に機械的にコードを付加す
るものであつてはならない。一般に、コードある
いはハーモニーは主旋律(メロデイ)の背景とし
ての特性を有しており、したがつて、メロデイに
適するコードはメロデイの状況に依存しながらメ
ロデイ自身から基本的に推定することができると
考えられる。本発明の自動コード付加装置はこの
ようなアプローチを実現することにより、メロデ
イに適するコードを自動的に付加するものであ
る。
For the above reasons, the significance of providing a technology that automatically adds chords is immeasurable, but the problem is whether the chords obtained by the automatic chord adding device are valid from a musical perspective. The problem is whether or not the code can be used, and it should not be something that simply adds code mechanically. In general, chords or harmonies have the characteristics of being the background of the main melody (melody), and therefore it is thought that the chords suitable for the melody can basically be estimated from the melody itself, depending on the melody situation. It will be done. By implementing such an approach, the automatic chord adding device of the present invention automatically adds chords suitable for a melody.

すなわち、本発明の目的は、いつたん楽曲の楽
音情報を入力すれば、後は自動的にメロデイに合
つたコードを上述のアプローチに従つて付加して
くれる自動コード付加装置を提供することであ
る。したがつて、本発明の自動コード付加装置の
使用者はコードに習熟している必要は全くなく、
コードを入手するのに必要な作業は楽曲の楽音情
報を入力することだけである。
That is, an object of the present invention is to provide an automatic chord addition device that, once the musical tone information of a piece of music is input, automatically adds chords that match the melody according to the above-described approach. . Therefore, the user of the automatic code addition device of the present invention does not need to be familiar with codes at all;
All you need to do to get the code is to enter the music information of the song.

以下、図面を参照して本発明の一実施例につき
詳細に説明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明による携帯式電子楽器の外観斜
視図であり、本体ケース1の上面前方には31鍵の
演奏キー群2が配列されており、この演奏キー群
2の傍にはコード指定キー群3が設けられてい
る。また演奏キー群2の上方には楽曲をメモリー
に入れて自動演奏を行なわせるための制御キー群
4、および楽音の音色を選択するための音色選択
キー群5が配列されている。そして前記音階演奏
キー群2をはさんで本体ケース1の両端前方に
は、メモリーに書き込んだ音階およびコードに任
意の音長を付加するためのワンキープレイ用のボ
タン6aおよび6bが設けられている。これらの
キーの操作によつて得られた音階、コードなどの
楽音情報を含むプログラム情報は液晶パネルを有
する表示部7にて表示される。8はパワーオフ
(OFF)、演奏モード(PLAY)、録音モード
(REC)などの各モードを指定するためのモード
切換スイツチであり、上記の各操作によつて得ら
れた楽音は音量制御スイツチ群9によつて音量が
適宜制御され、放音部10から発音される様にな
つている。そして本体ケース1中には本実施例の
自動コード付加を司る電子回路手段、スピーカ
(後述して図示)、電源用電池などが収納されてい
る。また、演奏キー群2は制御キー群4の操作に
より、部分的にメモリー指定、リズムパターン指
定、伴奏アルペジオパターン指定などの機能を果
すことが可能となつている。即ち、鍵盤状に配例
された演奏キー群2のうち黒鍵に相当するキーの
一部は自動演奏のメモリー編集機能を司つてい
る。即ち本実施例における自動演奏はメモリーを
8つに分割して使用することができ、くりかえし
部分は同じメモリーを使える様に各メモリーの演
奏順番をプログラムできる様になつている。
FIG. 1 is an external perspective view of a portable electronic musical instrument according to the present invention. A performance key group 2 of 31 keys is arranged at the front of the upper surface of a main body case 1, and a chord designation is placed next to the performance key group 2. A key group 3 is provided. Arranged above the performance key group 2 are a control key group 4 for storing musical pieces in memory for automatic performance, and a timbre selection key group 5 for selecting the timbre of musical tones. One-key play buttons 6a and 6b are provided at the front of both ends of the main body case 1 across the scale performance key group 2 to add an arbitrary note length to the scale and chord written in the memory. . Program information including musical tone information such as scales and chords obtained by operating these keys is displayed on a display section 7 having a liquid crystal panel. 8 is a mode changeover switch for specifying various modes such as power off (OFF), performance mode (PLAY), and recording mode (REC), and the musical tones obtained by each of the above operations are controlled by the volume control switch group. 9 controls the volume appropriately, and the sound is emitted from the sound emitting section 10. The main body case 1 houses electronic circuit means for automatically adding codes in this embodiment, a speaker (described later and illustrated), a battery for power supply, and the like. Further, the performance key group 2 can partially perform functions such as memory designation, rhythm pattern designation, and accompaniment arpeggio pattern designation by operating the control key group 4. That is, some of the keys corresponding to the black keys of the performance key group 2 arranged in the shape of a keyboard are responsible for the memory editing function of automatic performance. That is, in the automatic performance of this embodiment, the memory can be divided into eight parts, and the performance order of each memory can be programmed so that the same memory can be used for repeated parts.

そして演奏キー群2のうち白鍵にあたるキーは
各リズムパターンもしくはアルペジオパターンを
選択するものであり、ワルツ、バラード、スイン
グ、演歌、16ビート、ロツク1〜3、デイスコ1
〜2、ボサノバ、サンバなどの3音コード同時発
音による12のリズム、もしくは演奏キー群2の音
符のイラストで示した様なパターンで分散和音を
発音する6つのアルペジオのうちから、いずれか
1つを選択できる様になつている。
The keys corresponding to the white keys of performance key group 2 are used to select each rhythm pattern or arpeggio pattern, such as waltz, ballad, swing, enka, 16 beat, rock 1 to 3, and disco 1.
~2. Any one of 12 rhythms such as bossa nova, samba, etc. that are made by simultaneously pronouncing three-note chords, or 6 arpeggios that produce dispersed chords in the pattern shown in the illustration of notes in performance key group 2. It is now possible to select.

また前記音量制御スイツチ群9は、全体の音量
およびメロデイ、コード、リズムの各音量を夫々
別々に調節できる様になつている。
The volume control switch group 9 is adapted to separately adjust the overall volume and each volume of the melody, chord, and rhythm.

次に制御キー群4の個々のキーの名称および機
能について簡略に説明する。
Next, the names and functions of the individual keys in the control key group 4 will be briefly explained.

4a:メモリーキー……8コあるメモリーの番
号を演奏キー群2の一部の黒鍵によつて選
択可能にする。
4a: Memory key... 8 memory numbers can be selected using some of the black keys in performance key group 2.

4b:シンクロスタートキー……コード音とリ
ズム音とを同期して開始させるようにセツ
トする。
4b: Synchro start key...Set so that the chord sound and rhythm sound start in synchronization.

4c:リズムキー……リズムのパターンを演奏キ
ー群2の一部の白鍵により指定可能にす
る。
4c: Rhythm key... Rhythm pattern can be specified using some of the white keys of performance key group 2.

4d:コードキー……メモリーに入力した楽曲
への伴奏コードを付加するよう指令するキ
ーであり、本実施例において最も重要な役
割を果たす。
4d: Code key: This key instructs to add an accompaniment code to the music input into the memory, and plays the most important role in this embodiment.

4e:チエンジキー……自動コード付加によつて
得られたコードの変更を行う。
4e: Change key...Changes the code obtained by automatic code addition.

4f:テンポキー……リズムのテンポの上げ下げ
調節を行う。
4f: Tempo key... Adjust the rhythm tempo up or down.

4g:チユーニングキー……鍵全体の音域の上
げ下げを半音単位で行なう。
4g: Tuning key...Raises or lowers the overall range of the key in semitone steps.

4h:デリートキー……メモリーに書き込んだ
楽音情報を部分的に削除する。
4h: Delete key...Deletes part of the musical tone information written to memory.

4i:オートプレイキー……メモリーに書き込ん
だ楽曲を自動演奏させる。
4i: Auto play key...Automatically plays songs written to memory.

4j:バツクキー……メモリーに書き込んだ楽音
情報を1ステツプずつ後退させる。
4j: Back key...Moves back the musical tone information written to memory one step at a time.

4k:ネクストキー……メモリーに書き込んだ
楽音情報を1ステツプずつ前進させる。
4k: Next key... Advances musical tone information written to memory one step at a time.

4l:リセツトキー……自動演奏の停止および記
憶されている楽曲の頭出しを行なう。
4l: Reset key... Stops automatic performance and cues up stored songs.

4m:クリアキー……メモリーの内容をクリア
する。
4m: Clear key... Clears the contents of memory.

前記コード指定キー群3は鍵盤状に配列された
根音指定キー群3a、およびコード種類選択キー
群3bで構成されており、12種の根音に対して
夫々メジヤー(M)、マイナー(m)、セブンス
(7)、マイナーセブン(m7)、メジヤーセブン
(maj7)、シツクス(6)、マイナーシツクス(m6)、
サスフオー(sus4)、デイミニツシユ(dim)の
9種のコード種類が選択でき、合計108種類のコ
ードを出力できるようになつている。
The chord designation key group 3 is composed of a root note designation key group 3a arranged like a keyboard, and a chord type selection key group 3b. ), Seventh
(7), Minor Seven (m7), Major Seven (maj7), Sixth (6), Minor Sixth (m6),
Nine types of chords can be selected, including SUS4 and DIM, making it possible to output a total of 108 chords.

前記音色キー群5は8コのキーから成つてお
り、ピアノ、オルガン、バイオリン、フルート、
ギター、ホルン、フアニー、メロウの8種類の音
色選択が可能になつている。
The tone key group 5 consists of eight keys, including piano, organ, violin, flute,
Eight types of tones can be selected: guitar, horn, fannie, and mellow.

次に本実施例による携帯式電子楽器の回路構成
について説明するが、本発明に直接関係のある部
分だけを取り上げることにする。
Next, the circuit configuration of the portable electronic musical instrument according to this embodiment will be explained, but only the parts directly related to the present invention will be discussed.

第2図は本実施例の携帯式電子楽器の自動コー
ド付加装置の概略ブロツク図であり、発振回路
(P.G.)から発生された所定周期の信号はタイミ
ング発生回路12において適宜分周され、例えば
テンポクロツクパルスや楽音発生のための様々な
タイミング信号として制御回路(以下CPUと称
す)13へ送られる。このCPU13は例ば1チ
ツプのマイクロプロセツサで構成されており、こ
の携帯式電子楽器における発音、記録、自動コー
ド付加、自動演奏などの動作の全般を制御してい
る。14は前記演奏キー群2、コードキー4d、
ワンキープレイキー6aなどが含まれるキー入力
部であり、例えばマニユアル演奏を行う場合には
前記モード切換スイツチ8を演奏モードの位置に
合わせて演奏キー群2を操作することにより、
CPU13からの発音指令情報が楽音発生回路
(T.G.)15へ送られ、この楽音発生回路15か
らの楽音信号は増巾器16で増巾された後に、ス
ピーカ17から出力され前記放音部10から放音
される。
FIG. 2 is a schematic block diagram of the automatic chord adding device for a portable electronic musical instrument according to the present embodiment, in which a signal of a predetermined period generated from an oscillation circuit (PG) is appropriately frequency-divided in a timing generation circuit 12, and is divided into, for example, a tempo. The signals are sent to a control circuit (hereinafter referred to as CPU) 13 as clock pulses and various timing signals for generating musical tones. This CPU 13 is composed of, for example, a one-chip microprocessor, and controls all operations of this portable electronic musical instrument, such as sound production, recording, automatic chord addition, and automatic performance. 14 is the performance key group 2, code key 4d,
It is a key input section that includes a one-key play key 6a, etc., and when performing manual performance, for example, by operating the performance key group 2 with the mode changeover switch 8 set to the position of the performance mode,
Sound generation command information from the CPU 13 is sent to a musical tone generating circuit (TG) 15, and the musical tone signal from this musical tone generating circuit 15 is amplified by an amplifier 16, and then outputted from a speaker 17 and sent from the sound emitting section 10. A sound is emitted.

演奏メモリ18はRAM(ランダム・アクセ
ス・メモリ)によつて構成されており、メロデイ
およびコードが後述のフオーマツトで記録される
様になつている。演奏メモリ18にマニユアルで
記録されるメロデイ情報はCPU13から音階レ
ジスタ19に一度送られた後、アドレスカウンタ
20によつて指定されるエリアに順次記録され
る。
The performance memory 18 is composed of RAM (Random Access Memory), and is configured to record melodies and chords in a format to be described later. Melody information that is manually recorded in the performance memory 18 is once sent from the CPU 13 to the scale register 19, and then sequentially recorded in areas specified by the address counter 20.

21は本実施例の中枢部をなす自動コード付加
回路であるが、詳細な構成は追つて説明する。
Reference numeral 21 denotes an automatic code addition circuit which forms the central part of this embodiment, and its detailed configuration will be explained later.

第3図aは表示部7の主要部分である液晶表示
パネルを示したもので、液晶表示パネル7aは鍵
盤状に配列された音階表示部7bおよびその下部
に位置しコードその他の演奏情報を表示する文字
表示部7cから成つている。即ち液晶表示パネル
7aは第3図bに示す様な表示セグメント構造を
有しており、各表示セグメントの点灯/消灯によ
つてメロデイ音階、コード名、コードポジシヨ
ン、チユーニングレベル、テンポレベル、シンク
ロスタート、リズム設定状態、メモリーオーバー
などを表示できる様になつている。例えばコード
選択スイツチ群の中から組み合わせてBmを押し
た時には、第3図cに示すようにBmのコードが
ベース音およびコード音3音とともに発音される
と同時に、文字表示部7cにおいて「Bm」、音
階表示部7bではコードポジシヨンが表示され
る。
FIG. 3a shows the liquid crystal display panel which is the main part of the display section 7. The liquid crystal display panel 7a is arranged in the shape of a keyboard and is located below the scale display section 7b, which displays chords and other performance information. It consists of a character display section 7c. That is, the liquid crystal display panel 7a has a display segment structure as shown in FIG. 3b, and the melody scale, chord name, chord position, tuning level, tempo level, etc. are displayed by turning on/off each display segment. It is now possible to display synchronized start, rhythm setting status, memory over, etc. For example, when you press Bm in combination from the chord selection switch group, the Bm chord is sounded along with the bass note and three chord notes as shown in Figure 3c, and at the same time, "Bm" is displayed in the character display section 7c. , the chord position is displayed on the scale display section 7b.

次に自動コード付加回路21の詳細な構成につ
いて第4図を参照して説明する。コードキー4d
が操作されてコード付加指令がCPU13に伝え
られると、CPU13は演奏メモリ18から記録
されている最終音を読み出し、この最終音はデー
タセレクタ30を介して調性決定部31へ送られ
る。この調性決定部31は後述するフローチヤー
トに従つて曲の調性を決定し、ここで決定された
調性データは調性レジスタ32を介して第1変換
部33および第2変換部34に送られる。
Next, the detailed configuration of the automatic code addition circuit 21 will be explained with reference to FIG. code key 4d
is operated and a chord addition command is transmitted to the CPU 13, the CPU 13 reads out the final note recorded from the performance memory 18, and this final note is sent to the tonality determining section 31 via the data selector 30. The tonality determining section 31 determines the tonality of the piece of music according to a flowchart described later, and the tonality data determined here is sent to the first converting section 33 and the second converting section 34 via the tonality register 32. Sent.

本実施例においては四分音符2つ分の音長ごと
即ち、例えば1/2小節ごとにメロデイを区切つて
コードをつけている。即ち、前記演奏メモリ18
から読み出された音符は、データセレクタ30を
介して積算カウンタ35に送られる。この積算カ
ンタ35は送られてきた音符の音長を順次積算し
ていき、その積算時間値Aを比較部36および減
算回路37へ出力する。比較部36にはこの積算
時間値の他に、所定ブロツク長の時間値情報(本
実施例においては四分音符2つ分)がCPU13
によつてセツトされている所定時間メモリ38か
らの所定時間値Bが入力されており、この比較部
36はAとBの大小を比較してA≧Bになると指
令信号を出力する。この指令信号はコード挿入指
令信号cとしてCPU13へ送られるほか、積算
カウンタ35のリセツト端子へ送られて積算カウ
ンタ35をリセツトするとともにゲート回路39
へ送られてこのゲート回路39を開成可能状態に
する。また積算時間値Aおよび所定時間値Bは減
算回路37にも入力されており、この減算回路3
7はA―Bの減算を行なつてその減算結果をゲー
ト回路39へ出力する。即ち、ある1つの音符が
所定ブロツクの境目にまたがつている様な場合に
は、はみ出した音長分だけを再度積算カウンタ3
5に次回のブロツクの最初の音長として加算する
訳である。
In this embodiment, the melody is divided into chords every two quarter notes, that is, every 1/2 measure, for example. That is, the performance memory 18
The notes read out from the memory are sent to the integration counter 35 via the data selector 30. This integrating counter 35 sequentially integrates the lengths of the notes sent to it, and outputs the integrated time value A to the comparator 36 and the subtraction circuit 37. In addition to this accumulated time value, the comparator 36 also receives time value information of a predetermined block length (in this embodiment, two quarter notes) from the CPU 13.
A predetermined time value B from a predetermined time memory 38 set by the comparator 36 is inputted, and the comparator 36 compares the magnitudes of A and B and outputs a command signal when A≧B. This command signal is sent to the CPU 13 as the code insertion command signal c, and is also sent to the reset terminal of the integration counter 35 to reset the integration counter 35 and also to the gate circuit 39.
The signal is sent to the gate circuit 39 to enable the gate circuit 39 to open. The cumulative time value A and the predetermined time value B are also input to a subtraction circuit 37.
7 performs subtraction of AB and outputs the subtraction result to the gate circuit 39. In other words, if a certain note straddles a boundary between predetermined blocks, only the length of the note that straddles the border is counted again in the integration counter 3.
5 as the first note length of the next block.

そして比較部36からのコード挿入指令信号c
を受けたCPU13は、そのブロツク内の1つ又
は複数の音符をデータセレクタ30を介して第1
変換部33へ送る。本実施例においてはいかなる
調性の曲においてもハ長調(C)もしくはイ短長
(Am)が基準になる様に音符を変換して処理し
ている。即ち第1変換部33は、調性が長調の場
合には送られてきた音符を根音とドの音との半音
数差だけ、また調性が短調の場合には根音とラの
音との半音数差だけプラスシフトして主音決定部
40へ出力する。この主音決定部40は送られて
きた音符の中で最長の音府(N1と称する)を決
定して他の音符とともにコード選択制御部41へ
転送する。このコード選択制御部41には前回ブ
ロツクの結果コードが前回ブロツクコードレジス
タ42からフイードバツクして入力されている。
Then, a code insertion command signal c from the comparator 36
The CPU 13 that receives the note selects one or more notes in the block via the data selector 30 and selects the first note or notes in the block.
It is sent to the converter 33. In this embodiment, the notes are converted and processed so that C major (C) or A minor (Am) becomes the standard for any tonality of music. In other words, the first conversion unit 33 converts the sent note by the number of semitones between the root note and the C note when the tonality is a major key, and converts the sent note by the difference in number of semitones between the root note and the C note, and converts the sent note by the difference in number of semitones between the root note and the C note when the tonality is a minor key. The tonic tone is shifted positively by the number of semitones and output to the tonic determining section 40. This tonic determining section 40 determines the longest note (referred to as N1 ) among the sent notes, and transfers it to the chord selection control section 41 along with other notes. The code selection control section 41 receives the result code of the previous block as feedback from the previous block code register 42 .

コード選択制御部41は送られてきた楽音情
報、前回ブロツクのコード情報をもとにROMか
らなるコード選択テーブル43からそのブロツク
に付加すべき結果コードを読み出し、この結果コ
ードは前回ブロツクコードレジスタ42および第
2変換部34に送られる。コード選択テーブル4
3はブロツク内の音符の数(1つ、2つ、3つ以
上)によつて後に詳細図示する様に場合分けされ
た3種類のテーブルで構成されており、コード選
択制御部41は音符が2つの場合にはN1の次に
長い音符を、また3つ以上の場合にはテーブルに
よつて決定される2つの音符を決定して、それぞ
れの場合に応じてこれらの音符及び前回ブロツク
コードをもとに結果コードを読み出す様になつて
いる。
The chord selection control section 41 reads the result code to be added to the block from the code selection table 43 made up of ROM based on the received musical tone information and the code information of the previous block, and this result code is stored in the previous block code register 42. and sent to the second converter 34. Code selection table 4
3 consists of three types of tables divided into cases according to the number of notes in the block (1, 2, 3 or more) as shown in detail later. In the case of two, determine the next longest note after N 1 , and in the case of three or more, determine the two notes determined by the table, and use these notes and the previous block code according to each case. The result code is read out based on the .

そして第2変換部には前述した様に調性レジス
タ32から調性データが与えられており、第2変
換部34はコード選択制御部41から送られてき
た結果コードの根音を、第1変換部にてプラスシ
フトされた半音数だけマイナスシフトしてデータ
セレクタ30に出力する。即ち読みこまれた音符
は第1変換部でハ長調(C)又はイ短調(Am)に合
うように処理され、ハ長調又はイ短長として得ら
れた結果コードが第2変換部によつて本来の正し
いコードに直されて出力されるのである。この結
果コードはデータセレクタ30からCPU13へ
送られ、CPU13は演奏メモリ18内の所定ブ
ロツク長の音符群ごとに結果コードの挿入書込み
を行う。
The second conversion section is given tonality data from the tonality register 32 as described above, and the second conversion section 34 converts the root note of the resultant chord sent from the chord selection control section 41 into the first The converter performs a minus shift by the number of semitones shifted plus, and outputs the result to the data selector 30. That is, the read notes are processed in the first converter to match C major (C) or A minor (Am), and the resulting code obtained as C major or A minor is processed by the second converter. It is output after being corrected to the original correct code. This result code is sent from the data selector 30 to the CPU 13, and the CPU 13 inserts and writes the result code for each note group of a predetermined block length in the performance memory 18.

次に本実施例の自動コード付加装置を実際の曲
について作用させて、自動的に判奏コードを得る
場合について詳細に説明する。第5図はアメリカ
民謡ともいえる程有名なフオスター作曲の「草競
馬」のメロデイラインを示す楽譜である。本実施
例の携帯式電子楽器を用いてこの「草競馬」に自
動的に伴奏コードを付加する場合には、まずモー
ド切換スイツチ8を録音モードの位置(REC)
に合わせ、メモリーキー4aを操作した後に、左
側の8コの黒鍵を用いて8コのメモリの中から1
つを選択するが、いまメモリー1(M1)を指定
したとする。メモリー1に入つている内容をクリ
アする為にクリアキー4mを操作した後、メロデ
イ音階を音長に関係なく演奏キー群2によつて演
奏メモリ18に入力する。各メモリーM1〜M8
夫々254デイジツト(1デイジツトは4ビツト)
の容量を持つており、もしM1がオーバーフロー
した場合には自動的に引き続いてM2に記録がな
される。
Next, a detailed description will be given of a case in which the automatic chord adding device of this embodiment is operated on an actual song to automatically obtain a performance chord. Figure 5 is a sheet music showing the melody line of ``The Grass Horse Racing'' by Foster, which is so famous that it can be called an American folk song. When automatically adding accompaniment chords to this "Kusakei" using the portable electronic musical instrument of this embodiment, first move the mode selector switch 8 to the recording mode position (REC).
After operating memory key 4a according to the
Suppose you have selected memory 1 (M 1 ). After operating a clear key 4m to clear the contents stored in the memory 1, the melody scale is input into the performance memory 18 by the performance key group 2 regardless of the note length. Each memory M1 to M8 has 254 digits (1 digit is 4 bits).
If M1 overflows, recording will automatically continue to M2 .

この演奏メモリ18に記録されるメロデイおよ
びコードは第5図aおよびbに示す様なフオーマ
ツトで表わされる。即ちメロデイの場合には8ビ
ツトで音長、次の4ビツトで音階、次の2ビツト
でキーオン時間とキーオフ時間との比、即ち休符
長の近似を行なう為のサステインとリリースの時
間比(S/R)を、最後の1ビツトでメロデイと
コードとを区別するためのメロデイフラツグを
夫々表わし、合計16ビツトすなわち4デジツトを
使つている。一方コードは6デジツト(24ビツ
ト)で表わされ、最初の4ビツトでマイナー、セ
ブンスなどコードの種類を、次の11ビツトで音長
を、次の1ビツトおよび最終の1ビツトでコード
を表わすコードフラツグを、次の4ビツトでコー
ドの根音を、最終ビツトの手前の3ビツトで前述
のS/Rを表わしている。コードフラツグが2ケ
所存在する理由は、演奏メモリ18の内容を読み
出す際に先頭アドレス側あるいは終端アドレス側
のいずれの方向から読み出してもフラツグが同じ
位置に来るようにするためであり、読出し時の誤
動作を防ぐ為に設けられている。
The melody and chords recorded in the performance memory 18 are represented in the format shown in FIGS. 5a and 5b. In other words, in the case of a melody, 8 bits are the note length, the next 4 bits are the scale, and the next 2 bits are the ratio of key-on time to key-off time, or the ratio of sustain and release times to approximate the rest length ( The last bit represents a melody flag for distinguishing between a melody and a chord, using a total of 16 bits, or 4 digits. On the other hand, a chord is represented by 6 digits (24 bits), and the first 4 bits represent the type of chord such as minor or seventh, the next 11 bits represent the note length, and the next 1 bit and the last 1 bit represent the chord. The chord flag is represented by the next 4 bits representing the root note of the chord, and the 3 bits before the final bit represent the aforementioned S/R. The reason why there are two code flags is to ensure that when reading the contents of the performance memory 18, the flags will be at the same position regardless of whether the contents are read from the start address side or the end address side. It is set up to prevent.

次に各情報の記録形式について説明する。ピア
ノの音色を選択した場合、チユーニングレベルが
「0」の状態においてはキー群2の音域は第7図
に示す様にF4〜B6になつており、31種の各音階
は第8図に示す如く5ビツト情報で表わされる。
ここでダミーとは曲の初めを表すダミー音符のこ
とで音階の意味はもたない。音階およびコードの
フラツグは第9図で、音階のS/Rは第10図
で、またコードのS/Rは第10図で示す様な2
進コードで表わされる。そして第12図はコード
の根音の、第13図はコードの種類の2進コード
を表わしている。第14図は標準のテンポレベル
におけるメロデイおよびコードの最大記録長を示
しており、この場合タイミング発生部12から与
えられるリズム音発生のための基本テンポクロツ
クφは25ms(ミリセコンド)である。この基本テ
ンポクロツクφを8ビツト分(256回)、11ビツト
分(2048回)カウントするとメロデイおよびコー
ドの最大記録長は夫々6.4秒(2小節)、51.2秒
(16小節)となり、この場合譜面上でのテンポ表
示は♪=74で表わされる。第15図は2進コード
で音長の記録フオーマツトを示したもので、例え
ば八分音符は16φすなわち0.4秒で00010000で表わ
される。
Next, the recording format of each information will be explained. When a piano tone is selected, when the tuning level is "0", the range of key group 2 is F 4 to B 6 as shown in Figure 7, and each of the 31 scales is in the 8th range. As shown in the figure, it is represented by 5-bit information.
Here, the dummy is a dummy note that represents the beginning of the song and has no scale meaning. The scale and chord flags are shown in Figure 9, the scale S/R is in Figure 10, and the chord S/R is 2 as shown in Figure 10.
Represented in hexadecimal code. FIG. 12 shows the root note of the chord, and FIG. 13 shows the binary code of the chord type. FIG. 14 shows the maximum recording length of melodies and chords at a standard tempo level; in this case, the basic tempo clock φ for generating rhythm sounds given from the timing generator 12 is 25 ms (milliseconds). If you count this basic tempo clock φ by 8 bits (256 times) and 11 bits (2048 times), the maximum recording length of the melody and chord will be 6.4 seconds (2 bars) and 51.2 seconds (16 bars), respectively. The tempo display is expressed as ♪=74. FIG. 15 shows the recording format of note length in binary code. For example, an eighth note is 16φ, or 0.4 seconds, and is expressed as 00010000.

而して演奏キー群2によつて演奏メモリ18内
に書き込まれた「草競馬」のメロデイは、第16
図に模式的に示す様に配列されており、これを前
述した2進コードで表わし、曲の途中を省略した
ものが第17図である。この時点ではまだ音長が
セツトされていないので音長を表わす部分の2進
コードは全て0になつている。またメロデイだけ
81音記録されているので、使用メモリー数は324
デイジツトであり、自動的にM2の領域まで入つ
たことになる。
Therefore, the melody of "Kusakei" written in the performance memory 18 by the performance key group 2 is the 16th melody.
They are arranged as schematically shown in the figure, and are represented by the aforementioned binary code, with the middle of the song omitted in Figure 17. At this point, the tone length has not yet been set, so all binary codes representing the tone length are 0. Just melody again
Since 81 sounds are recorded, the number of memory used is 324.
Since it is a digit, it automatically enters the M2 area.

続いて、このメロデイに音長を付加する。モー
ド切換スイツチ8は録音モード(REC)の状態
にしておき、リセツトキー4lを操作して曲に頭
出しを行う。そして例えばマーチのリズムをバツ
クにワンキープレイキー6aを実際の音長に合わ
せて弾けば、各メロデイが読み出されて演奏され
ると同時に、演奏メモリ18内にある各メロデイ
の音長部分にワンキープレーキー6aによつて弾
いた通りの音長が付加される。この場合、曲の始
めが弱起の場合は第1小節の最初の休符長の分だ
けダミー音符の音長として記録される。而して曲
の終わりまで弾き終えた後コードキー4dを操作
すると、自動コード付加回路21によつて自動コ
ード付加が行われる。
Next, add a note length to this melody. The mode changeover switch 8 is set to the recording mode (REC), and the reset key 4l is operated to locate the beginning of the song. For example, if you play the one-key play key 6a in accordance with the actual note length with the rhythm of a march in the background, each melody will be read out and played, and at the same time the one-key play key 6a will play the note length part of each melody in the performance memory 18. The length of the note played by the play key 6a is added. In this case, if the beginning of the song is a soft note, the length of the first rest of the first measure is recorded as the length of the dummy note. When the chord key 4d is operated after playing the song to the end, the automatic chord addition circuit 21 automatically adds the chord.

以下に自動コード付加のフローチヤート及び諸
図を参照して詳細に説明する。第17図は本実施
例の自動コード付加のゼネラルフローを示したも
ので、大きくはステツプS1の調性決定と、ステツ
プS2のコード付加から成る。第19図は調性決定
のサブルーチンを示したものである。例えば記録
したある曲が“ド”で終わつた場合、その曲の調
性として“ド”の音を含む(C、Am、F、Cm、
G# 、Fm)の6つが考えられる。このうちCと
Cmの場合は完全終止、他の4つの調性において
は不完全終止であり、大部分の曲は前者の2つで
ある。同様に最後の音が“レ”であれば“レ”を
含む(D、Bm、G、Dm、A# 、Gm)の6つ
が、また最終音が“ソ”なら“ソ”を含んだ
(D、Em、C、Gm、D# 、Cm)が夫々調性と
して考えられる。この関係を表にする第20図の
様になる。即ちこの図からも理解される様に最終
音が違つても考えられる調性は“ド”の場合の調
性を半音の差の数だけシフトしたにすぎないもの
である。例えば“ソ”の最終音であてはまる6つ
の調性は、“ド”の場合考えられる6つの調性を
半音7つ分だけ夫々シフトしたものである。そこ
で本実施例においては最終音が、いかなる音の場
合でも“ド”で終わつた場合に即して処理できる
様、各音符をシフトして取扱つている。
The automatic code addition will be described in detail below with reference to a flowchart and figures. FIG. 17 shows the general flow of automatic chord addition in this embodiment, which mainly consists of tonality determination in step S1 and chord addition in step S2 . FIG. 19 shows a subroutine for determining tonality. For example, if a recorded song ends on "C", the tonality of the song includes "C" (C, Am, F, Cm, etc.).
There are six possibilities: G#, Fm). Of these, C and
In the case of Cm, it is a perfect stop, and in the other four tones it is an incomplete stop, and most songs are in the former two. Similarly, if the last note is “re”, there are six (D, Bm, G, Dm, A#, Gm) that include “re”, and if the last note is “g”, it includes “g” ( D, Em, C, Gm, D#, Cm) can be considered as tonality. This relationship is shown in a table as shown in Figure 20. That is, as can be understood from this figure, even if the final note is different, the possible tonality is simply the tonality for "do" shifted by the number of semitones. For example, the six tonalities that apply to the final note of "G" are the six possible tonalities of "C" shifted by seven semitones. Therefore, in this embodiment, each note is handled by shifting so that it can be processed in accordance with the case where the final note ends in "do" no matter what note it is.

今の場合、コードキー4dが操作されると、
CPU13は演奏メモリ18から最終音“レ”を
読み出して調性決定部31を送る。すると調性決
定部31は第19図ステツプS3およびステツプS4
に示す様に“レ”の音を半音づつ“ド”になるま
でプラスシフトしていき、そのシフト回数(10
回)を記録する(D→D# →E→F→F# →G→
G# →A→A# →B→C)。次にCPU13は演奏
メモリー18から全ての音符を読み出して調性決
定部31に送る。調性決定部31はステツプS5
動作を行ない各音符を先程シフトした分だけシフ
トして、それぞれの音符の音長を累算する。つま
り“ラ”は“ソ”として、また“フア# ”として
累算される訳である。
In this case, when code key 4d is operated,
The CPU 13 reads the final note "re" from the performance memory 18 and sends it to the tonality determining section 31. Then, the tonality determining section 31 performs steps S3 and S4 in FIG.
As shown in the figure, shift the "Re" sound semitone by semitone until it becomes "C", and then calculate the number of shifts (10
(D→D# →E→F→F# →G→
G# →A→A# →B→C). Next, the CPU 13 reads all the notes from the performance memory 18 and sends them to the tonality determining section 31. The tonality determining section 31 performs the operation of step S5 , shifts each note by the amount shifted earlier, and accumulates the length of each note. In other words, "la" is accumulated as "so" and as "hua#".

第21図は最終音“ド”の場合に選択される6
つの調性の音階が使用する音を示したものであ
る。図中、矢印及び点線で示した箇所は、場合に
よつては音階がその様に変化する場合が少なから
ずあるという意味である。調性決定にあたつての
各ステツプS6、S7、S8、S10、S13、S15は、累算
した各音を6つの調性の使用音階に近似させる働
きをする。例えば“C”と“F”では“シ”と
“ラ# ”の違いを除いては同じ音階を使用してい
る。また“C”と“Am”では原則的同じ音階を
使用しているものの、“Am”の曲には比較的
“ソ# ”の音が出てきやすい。といつても“C”
の曲における“ソ”ほど頻繁に出てくる訳ではな
いので“ソ# ”の総音長を2倍して“ソ”の音長
と比べているのである。
Figure 21 shows 6 selected in the case of the final note “C”.
This shows the notes used in the three tonal scales. In the figure, the locations indicated by arrows and dotted lines mean that in some cases, the scale may change in that way. Each of the steps S 6 , S 7 , S 8 , S 10 , S 13 and S 15 in determining the tonality serves to approximate each accumulated note to the scale used in the six tones. For example, "C" and "F" use the same scale except for the difference between "C" and "A#". Also, although "C" and "Am" basically use the same scale, "Am" songs tend to have the "G#" sound relatively easily. However, “C”
Since it does not appear as frequently as "G" in the song "G", the total note length of "G#" is doubled and compared with the note length of "G".

而して半音10コ分ずつプラスシフトされ累算さ
れた各音の総音長は第22図に示す様になる。こ
のデータを第19図のフローチヤートにあてはめ
ると、ステツプS6からステツプS7、ステツプS8
経てステツプS9の“C”という調性結果が得られ
る。尚、ステツプS6において“ラ”および“ソ
# ”の音長が等しいか又は両方存在しない場合に
はステツプS10へ進み“ミ”と“レ# ”の音長を
比較する。
Thus, the total tone length of each note, which has been positively shifted by 10 semitones and accumulated, becomes as shown in Fig. 22. When this data is applied to the flowchart of FIG. 19, a tonality result of "C" at step S9 is obtained from step S6 through step S7 and step S8 . Incidentally, if in step S6 the tone lengths of "A" and "G#" are equal or both do not exist, the process proceeds to Step S10 , where the tone lengths of "Mi" and "R#" are compared.

実施例以外の曲をあてはめた場合、図から明ら
かな様にステツプS7でNOであればステツプS11
の“F”、ステツプS8でNOであればステツプS12
の“Am”ステツプS13においてYESならステツ
プS14の“Cm”、ステツプS15でNOならばステツ
プS16の“Fm”、YESであればステツプ17の“G
# ”というように夫々調性が決定される。またス
テツプS2およびステツプS15においては前述した
ように片方の音長を2倍にして比較しており、も
しどちらかの音階も存在しない場合は、夫々
YESへ進むものとする。
If a song other than the example is applied, as is clear from the figure, if NO at step S7 , step S11 is applied.
"F", if NO at step S 8 , step S 12
“Am” in step S 13 , “Cm” in step S 14 if YES in step S 13, “Fm” in step S 16 if NO in step S 15 , “G” in step S 17 if YES
The tonality is determined for each scale, such as ``#''.In addition, in step S 2 and step S 15 , as mentioned above, the length of one note is doubled and compared, and if neither scale exists, are respectively
Proceed to YES.

このようにして決定された調性は、最終音を
“ド”とした場合の調性であり、本当の調性では
ない。そのためステツプS18においては最初にプ
ラスシフト操作した分だけ(半音10コ分)、結果
調性の根音を逆にマイナスシフトしている(C→
B→A# →A→G# →G→F# →F→E→D# →
D)。以上の様に調性決定部31により決定され
た調性データ“D”は調性レジスタ32に蓄えら
れ、さらに第1変換部33および第2変換部34
に送られる。
The tonality determined in this way is the tonality when the final note is "do", and is not the true tonality. Therefore, in step S 18 , by the amount of the initial positive shift operation (10 semitones), the root of the resulting tonality is negatively shifted (C→
B→A# →A→G# →G→F# →F→E→D# →
D). The tonality data "D" determined by the tonality determining section 31 as described above is stored in the tonality register 32, and is further stored in the first converting section 33 and the second converting section 34.
sent to.

ステツプS1で示される調性決定が終了すると、
ステツプS2によるコード付加が行なわれる。第2
3図はコード付加サブルーチンのフローチヤート
を示したものであり、調性決定後CPU13はス
テツプS19で示す如く積算カウンタ36にゼロデ
ータを書き込んでリセツトする。次にステツプ
S20の動作が行われ、曲の初めに記録されたダミ
ー音符の音長、すなわちこの場合は〓、(〓×
3:48φ)の長さが積算カウンタ35に加算され
る。そしてステツプS21により、演奏メモリー1
8にコードを書き込むのに必要な6デジツト以上
の余裕が残つていることを確認して、ステツプ
S22で示す様に演奏メモリー18内の音符全体を
6デジツト分だけ後ろへシフトしてコードを書き
込むエリアを確保する。ここでステツプS21にお
いて、演奏メモリ18内に6デジツト以上のエリ
アが残つていなければ、ステツプS28により、表
示部7の文字表示部7Cにおいて「M―OVER」
が表示される。なお演奏メモリ18内にはそれ以
上書き込まれず、コード付加の途中においてもそ
の作業は中断されENDとなる。
When the tonality determination shown in step S 1 is completed,
Code addition is performed in step S2 . Second
FIG. 3 shows a flowchart of the chord addition subroutine. After determining the tonality, the CPU 13 writes zero data to the integration counter 36 and resets it, as shown in step S19 . Next step
S 20 is performed and the duration of the dummy note recorded at the beginning of the song, in this case 〓, (〓×
3:48φ) is added to the integration counter 35. Then, by step S21 , performance memory 1
Make sure that there is enough room for at least the 6 digits required to write the code to 8, and then
As shown by S22 , all the notes in the performance memory 18 are shifted backward by 6 digits to secure an area for writing the chord. Here, in step S21 , if there is no area of 6 or more digits remaining in the performance memory 18, in step S28 , "M-OVER" is displayed in the character display section 7C of the display section 7.
is displayed. Note that no further data is written in the performance memory 18, and even in the middle of adding chords, the work is interrupted and ends.

次にステツプS24によつてCPU13は演奏メモ
リ18内にその音符(この場合は先頭の音符なの
でもちろん存在する)があることを確認した後、
ステツプS26で示す如く最初の音符即ち“ラ”の
音長“〓”(16φ)を積算カウンタ35に加算す
る。そして比較部36は積算カウンタ35の積算
時間値A、およびCPU13によつて所定時間記
憶部38にセツトされている4分音符2つ分
(64φ)の所定時間値Bの関係がA≧Bになつた
ことを検出すると、コード付加指令信号Cを
CPU13に出力する。ここで、所定ブロツク長
の境に音符がまたがる場合もあるので、比較部3
6の指令信号によつて積算カウンタ35をリセツ
トするとともにゲート回路39を開成して、減算
回路37で得られた減算結果A―Bを積算カウン
タ35に再度書き込む。従つてA=Bの場合には
積算カウンタ35は頂度リセツトされた状態にな
る。この作業はフローチヤート中ではステツプ
S27で示されている。
Next, in step S24 , the CPU 13 confirms that the note exists in the performance memory 18 (in this case, it is the first note, so of course it exists), and then
As shown in step S26 , the pitch length "〓" (16φ) of the first note, that is, "A" is added to the integration counter 35. The comparison unit 36 then determines that the relationship between the cumulative time value A of the cumulative counter 35 and the predetermined time value B for two quarter notes (64φ) set in the predetermined time storage unit 38 by the CPU 13 is such that A≧B. When it detects that it is too hot, it sends a code addition command signal C.
Output to CPU13. Here, since notes may straddle the boundaries of the predetermined block length, the comparing section 3
6, the integration counter 35 is reset, the gate circuit 39 is opened, and the subtraction result AB obtained by the subtraction circuit 37 is written into the integration counter 35 again. Therefore, when A=B, the integration counter 35 is reset to the top. This task is a step in the flowchart.
Shown in S 27 .

尚、ステツプS24において次の音符がない場合、
即ち曲の最後の音を読み込んだ後は、ステツプ
S26へ行きドミナントコード(調性と等しいコー
ド)が最終ブロツクの先頭に挿入されてENDと
なる。
Furthermore, if there is no next note at step S24 ,
In other words, after loading the last note of the song, the step
Go to S 26 , a dominant chord (chord equal to the tonality) is inserted at the beginning of the final block, and it becomes END.

比較部36からのコード付加指令信号Cを受け
たCPU13は、積算カウンタ35に加算された
分に相当する音符群(この先頭ブロツクの場合は
“ラ〓”の音符のみ)データを読み出し、データ
セレクタ30を介して第1変換部33に転送す
る。
Upon receiving the code addition command signal C from the comparator 36, the CPU 13 reads out the note group (in the case of this first block, only the note "La") corresponding to the amount added to the integration counter 35, and selects the data selector. 30 to the first conversion unit 33.

第18図ステツプS2におけるコード付加におい
ては、ステツプS1の調性決定時と同様に、曲中の
全ての音譜の処理をハ長調(もしくは平行短調で
あるイ短調)を基準に変換して行つているが、同
様な考えを用いると、どの様な調性に於いても、
調性を仮にCまたはAmと見れば、メロデイを絶
対音階で呼ぶ代わりに“ド”“レ”“ミ”“フア”
……とわかり易く考えることが可能である。例え
ば調性“F”においては“フア”を“ド”として
とらえ、“フア”“ソ”“ラ”という音階を“ド”
“レ”“ミ”として考えるのである。その関係を表
に示すと第25図の様になる。即ち、調性が
“Em”ならば“ソ”の音をドとして扱うのであ
る。
When adding chords in step S 2 of Figure 18, the processing of all notes in the song is converted based on C major (or A minor, which is a parallel minor key), just as in determining the tonality in step S 1 . However, using the same idea, no matter what tonality,
If we look at the tonality as C or Am, instead of calling the melody on an absolute scale, we would say “do”, “re”, “mi”, and “hua”.
It is possible to think of this in an easy-to-understand way. For example, in the tonality "F", "hua" is interpreted as "do", and the scales "hua", "so", and "a" are interpreted as "do".
Think of it as “re” and “mi”. The relationship is shown in a table as shown in FIG. In other words, if the tonality is "Em", the "G" sound is treated as "C".

第1変換部33は上述した様な音符の変換処理
を行つており、先程第1変換部33に送られた
“ラ”の音は“ソ”として主音決定部40に送ら
れる。以下ステツプS28にて示す如く、全ての音
階が“D“から“C”までの半音差数つまり10回
プラスシフトされて転送される(第20図の横上
段および横3段目参照)。
The first conversion unit 33 performs the note conversion process as described above, and the “A” sound sent to the first conversion unit 33 earlier is sent to the tonic determination unit 40 as “G”. As shown in step S28 below, all the scales are shifted by the number of semitones from "D" to "C", that is, 10 times, and transferred (see the upper horizontal row and the third horizontal row in FIG. 20).

次にステツプS29即ち各ブロツクごとの音譜群
に付加するコード選択の方法を、第24図のコー
ド選択サブルーチンのフローチヤートを参照しな
がら説明する。第1変換部33で“ソ”の音に変
換された第1音は主音決定部40へ送られる。実
施例のコード選択はそのブロツク中で積算音長の
最も長い音符を基準にして行われる。そこでステ
ツプS30の動作が行われ主音決定部40は送られ
てきた各音符の同じもの同志の積算音長を比較し
て、最長の音符を主音(N2と称する)として他
の音符情報と供にコード選択制御部41へ送る。
Next, step S29 , that is, the method of selecting chords to be added to the musical score group for each block, will be explained with reference to the flowchart of the chord selection subroutine shown in FIG. The first sound converted into the "G" sound by the first converting section 33 is sent to the tonic determining section 40. Chord selection in this embodiment is performed based on the note with the longest cumulative note length in the block. Therefore, the operation of step S30 is performed, and the tonic determining section 40 compares the cumulative note lengths of the same notes of each sent note, and determines the longest note as the tonic (referred to as N2 ) with other note information. It is also sent to the code selection control section 41.

コードの選択はブロツク内の音符の種類によつ
て場合分けがされており、コード選択テーブル4
3内には、第26図,第27図,第28図で夫々
示される如くブロツク内が1音の場合のテーブ
ル、2音のテーブル、3音以上のテーブルが用意
されている。即ちコード選択制御部41は送られ
てきた音符から上記の各場合を判断すると共にコ
ード選択テーブル43から必要なテーブルを指定
する。この除前ブロツクコードレジスタ42から
与えられる前回ブロツクコードも判断材料として
使われ、各ブロツクに付加されるべきコードが読
み出される。
Chord selection is divided into cases depending on the type of notes in the block, and chord selection table 4
3, as shown in FIGS. 26, 27, and 28, there are tables for when the block contains one note, tables for two notes, and tables for three or more notes. That is, the chord selection control section 41 determines each of the above cases from the sent notes, and also specifies a necessary table from the chord selection table 43. The previous block code given from this exclusion block code register 42 is also used as a criterion, and the code to be added to each block is read out.

第1音の処理に話を戻す。“ソ〓”が単独でコ
ード選択制御部41へ送られると、ステツプS31
ステツプS22を経てステツプS33により1音用テー
ブルによるコード選択が行われる。第26図の1
音用テーブルにおいて、上段横列の音階は主音
(N1)を示し、左右縦列のコードは前回に選択さ
れたコード(LCと称する)である。このマトリ
ツクスから必要なコードが読み出されるが、調性
が長調の場合にはテーブルの左半分が、短調の場
合には右半分が使用される。LCの最下段にある
OTHはその他のコードを表している。従つて第
1音においては、左側の長調のテーブルのソの列
を読むが、この場合先頭ブロツクにつきLCが存
在しない。そこでOTHの箇所で読み出しを行い、
先頭ブロツクのコードが“C”と選択される。
Let's go back to processing the first sound. When "SO" is sent alone to the code selection control section 41, steps S31 ,
After passing through step S22 , chord selection is performed using a one-note table at step S33 . Figure 26 1
In the tone table, the scale in the upper row indicates the tonic note (N 1 ), and the chords in the left and right columns are the chords selected last time (referred to as LC). The necessary chords are read from this matrix; if the tonality is a major key, the left half of the table is used, and if the tonality is a minor key, the right half of the table is used. At the bottom of the LC
OTH stands for other code. Therefore, for the first note, we read the G row of the major key table on the left, but in this case there is no LC for the first block. Therefore, read at the OTH location,
The code of the first block is selected as "C".

こうして得られたコードデータ“C”は、コー
ド選択制御部41から前回ブロツクコードレジス
タ42および第2変換部34へ送られる。第2変
換部34はステツプS49で示す様に、送られてき
たコードの根音を、第1変換部と同じ半音数だけ
逆にマイナスシフトして本来の調性に合つたコー
ドに直す働きをする。即ちこの場合には、“C”
は半音10コ分だけマイナスシフト(C→B→A#
→A→G# →G→F# →F→E→D# →D)され
て“D”となり、データセレクタ30を介して
CPU13へ転送される。この後ステツプS50の動
作が行われ、コードデータ“D”がステツプS22
にて演奏メモリ18内に予め確保しておいた6デ
ジツトのエリアに書き込まれ、これにて1ブロツ
ク分のコード付加が完了する。
The code data "C" thus obtained is sent from the code selection control section 41 to the previous block code register 42 and the second conversion section 34. As shown in step S49 , the second converter 34 has the function of negatively shifting the root note of the received chord by the same number of semitones as the first converter, converting it into a chord that matches the original tonality. do. That is, in this case, “C”
is a minus shift of 10 semitones (C→B→A#
→A→G# →G→F# →F→E→D# →D) and becomes “D”, and then it is passed through the data selector 30.
Transferred to CPU 13. After this, the operation of step S50 is performed, and the code data "D" is transferred to step S22 .
The code is written in a 6-digit area reserved in advance in the performance memory 18, and the addition of one block's worth of codes is thus completed.

以下同様にして、読み込まれた音符の総音長が
4分音符2つ分(64φ)になる毎にコードが付加
されて演奏メモリ18に書き込まれるが、第24
図のフロー中の他の部分について説明する。ブロ
ツク内に音が存在しない場合には、ステツプS32
からステツプS34へ行くが、先頭ブロツクでなけ
ればステツプS35により前回のコードと同じコー
ドが選択される。ここでステツプS34において
YES、即ち先頭ブロツクでありながら1音も存
在しないというのは次の様な理由による。音長を
カウントするにあたつては、“ドレミフアソラシ”
の音階音以外の派生音を存在しないものとして数
えていないので、0音とみなされ、そのような音
符ばかりが先頭ブロツクにあれば、ステツプS36
によつてドミナントコードが選択される。
Similarly, each time the total length of the read notes reaches two quarter notes (64φ), a code is added and written into the performance memory 18.
Other parts in the flow of the figure will be explained. If there is no sound in the block, proceed to step S32 .
Then, the process goes to step S34 , but if it is not the first block, the same code as the previous code is selected in step S35 . Now in step S34
The reason why it is YES, that is, there is no sound even though it is the first block, is as follows. When counting the note length, use the “do-re-mi-fa-asorashi” method.
Since derived notes other than scale notes are not counted as non-existent, they are considered to be 0 notes, and if only such notes are in the first block, step S36
The dominant chord is selected by .

ブロツク内に2種類の音符が存在する場合には
ステツプS37を経た後、ステツプS38においてYES
でなれば“E7”が選択され(ステツプS39)、NO
ならばステツプS40へ進む。ここでN1が“レ# ”
もしくは“フア# ”であれば(YES)、ステツプ
S42へ行きB7が選択される。前記ステツプS40にて
NOの場合、ステツプS42により2音のテーブル
によりコード選択が行なわれる。これを第27図
を参照して説明する。
If there are two types of notes in the block, after passing through step S37 , YES is returned at step S38 .
If not, “E 7 ” is selected (step S 39 ) and NO
If so, proceed to step S40 . Here N 1 is “Re#”
Or if “FA#” (YES), step
Go to S 42 and select B 7 . At step S 40 above
If NO, chord selection is performed using a two-tone table in step S42 . This will be explained with reference to FIG. 27.

即ち、ブロツク内に2種類の音符を検知したコ
ード選択制御部41はコード選択テーブル43か
ら2音用のテーブルを選択し、前記N1およびも
う1つの音符(N2と称する)をもとにして結果
コードを読み出す。第27図において、この2音
用のテーブルは前掲の1音用テーブル同様に調性
が長調(Major:C)か短調(Minor:Am)か
によつて左右に2種類用意されている。例えば調
性“Am”においてN1が“フア”、N2が“ラ”で
あれば、結果のコードは“Dm”と選択される。
表中“GT1”としてあるのは特殊な場合で、ス
テツプS43のYESで示す如く1音用のテーブルを
参照せよということである。従つてN2は無視さ
れ、N1と前回ブロツクのコードが決定要因とな
る。例えば第4小節において、変換後の音符は
(ミ〓、レ♪)であり、N1、N2は夫々“レ”
“ミ”である。表の左側より結果が“GT1”とな
るので、第26図の左側を参照する。ここで前の
小節には後述する3音の場合の方法に従つて
“C”のコードがつけられている。よつてN1
“レ”、LCが“C”により“G7”が結果として選
択される。
That is, when the chord selection control section 41 detects two types of notes in a block, it selects a table for two notes from the chord selection table 43, and selects a table for two notes from the chord selection table 43, based on the above-mentioned N 1 and another note (referred to as N 2 ). to read the result code. In FIG. 27, two types of two-tone tables are prepared on the left and right, depending on whether the tonality is major (C) or minor (Am), similar to the one-tone table described above. For example, if N 1 is "Fa" and N 2 is "A" in the tonality "Am", the resulting chord is selected as "Dm".
"GT1" in the table is a special case, and means to refer to the table for one note as indicated by YES in step S43 . Therefore, N2 is ignored, and N1 and the code of the previous block become the determining factors. For example, in the fourth measure, the converted notes are (Mi〓, Re♪), and N 1 and N 2 are each “Re”.
It is “mi”. Since the result is "GT1" from the left side of the table, refer to the left side of Fig. 26. Here, the previous measure is given a "C" chord in accordance with the method for the case of three notes, which will be described later. Therefore, since N 1 is "Re" and LC is "C", "G 7 " is selected as a result.

次にブロツク内に3種以上の音符が存在する場
合について説明する。ステツプS37でNOと判断
されるとステツプS44に進んで、ブロツク内に
“ソ# ”があるかどうかの判断が行われる。ここ
でYESの場合にはステツプS45において、ブロツ
ク内の“ソ# ”と“ラ”の音長を比較する。もし
NO即ち“ラ”が“ソ# ”より短ければ前記ステ
ツプS39により“E7”が選択される。またYESで
あればステツプS46において“レ# ”もしくは
“フア# ”が存在するかが判断される。このステ
ツプS46でYES、続いて次のステツプS47において
NO即ち“ミ”が“レ# ”もしくは“フア# ”よ
り短い場合には、前記ステツプS42によつて
“B7”のコードが選択される。そして前記ステツ
プS46においてNO、もしくは前記ステツプS47
おいてYESであれば、ステツプS48により3音用
のテーブルによつてコード選択が行われる。
Next, the case where three or more types of notes exist in a block will be explained. If it is determined NO in step S37 , the process advances to step S44 , where it is determined whether or not "SO#" is present in the block. If YES here, in step S45 , the note lengths of "G" and "A" in the block are compared. if
If NO, that is, "A" is shorter than "S#", " E7 " is selected in step S39 . Also, if YES, it is determined in step S46 whether "RE#" or "FA#" exists. YES in this step S 46 , then in the next step S 47
If NO, that is, "Mi" is shorter than "Re#" or "F#", the code "B 7 " is selected in step S42 . If NO in step S46 or YES in step S47 , chord selection is performed in step S48 using a three-note table.

第28図の3音用テーブルにおけるコード選択
は次の様な規則に基いている。即ち、N1が“ド”
であればコード選択制御部41は表中“ド”の縦
列を上段から順に走査して行き、ブロツク中の
N1以外の音符の中から付帯音(N3と称する)と
して2つの音符が見つかつた箇所でコードが選択
される。このN3の音長はこの場合問題とされず、
存在するかどうかだけで判断される。同じN3
記録されている2行乃至4行の箇所においては、
前のブロツクのコード(LC)が考慮される。LC
において“M”はメジヤー、“m”はマイナーな
ら何でもよいという意味である。また“any”は
1組のN3に対して何通りもの結果コードがある
場合最終段において“上記以外のコード”を示
し、また1組のN3に対して1通りの結果コード
しかない場合においては“いずれのコードでも”
の意味を表わしている。また例えば“ド”の列の
最終段にある“フアフア”とは上段の“フア”を
含む組み合わせ以外に“フア”を含む場合にはい
ずれもという意味である。さらに“N1L”とは
N1がブロツク内で半分以上の音長を占める場合
を意味している。従つて例えば第3小節において
は、各音符は変換後(ラ〓、ソ〓、ミ♪)となつ
ており、N1は“ミ”である。そこで“ミ”の列
の10段目において、LCの条件“M”(前小節は2
音用のテーブルにより“C”と決定されている)
より、この小節のコード(PCと称する)として、
“C”が読み取られる。
Chord selection in the three-note table shown in FIG. 28 is based on the following rules. In other words, N 1 is “do”
If so, the code selection control unit 41 sequentially scans the columns of "do" in the table from the top, and selects the code in the block.
A chord is selected at a point where two notes are found as incidental notes (referred to as N 3 ) among notes other than N 1 . This N3 note length is not a problem in this case,
It is judged only by whether it exists or not. In the 2nd to 4th lines where the same N 3 is recorded,
The code (LC) of the previous block is taken into account. L.C.
``M'' means major, and ``m'' means anything minor. Also, "any" indicates "a code other than the above" in the final stage when there are many result codes for one set of N 3 , and when there is only one result code for one set of N 3 . “Any code”
represents the meaning of Further, for example, "huahua" in the last stage of a row of "do" means any combination that includes "hua" in addition to the combination containing "hua" in the upper row. Furthermore, what is “N 1 L”?
This means that N 1 occupies more than half of the note length within the block. Therefore, for example, in the third bar, each note becomes after conversion (La, So, Mi♪), and N1 is "Mi". Therefore, in the 10th row of the “Mi” row, the LC condition “M” (the previous measure is 2
(Determined as “C” by the sound table)
Therefore, as the chord of this measure (referred to as PC),
“C” is read.

なお前記主音決定部40においてブロツク内の
音符が全て等しい長さの場合は、先頭の音符を
N1としており、しかも2音の場合はコード選択
制御部41で長さの等しいもう1つの音符をN2
としている。
Note that in the tonic determining section 40, if all the notes in the block are of the same length, the first note is
N 1 , and if there are two notes, the chord selection control section 41 selects another note of the same length as N 2.
It is said that

而して、各テーブルを用いて「草競馬」の曲全
体にコード付加を行うと、ハ長調基準において第
29図に示す様になる。図中“―”の部分は直前
の音符がのびていることを示す。この様にして得
られた伴奏コードは楽曲に非常に合つていること
が解かる。このようにして選択された伴奏コード
は順次第2変換部で本来の調性(ニ長調を基準に
変換され、データセレクタ30を介してCPU1
3に送られた後、演奏メモリ18内に各ブロツク
の先頭に書き込まれる。その記録状態を示したの
が第30図である。伴奏コードが付加挿入された
ことにより、25小節分のコード記録エリア分
(150デジツト)だけ内容がのびている。従つて、
最終音の最後の部分は通算して474デジツト目に
記録されている。そして伴奏コードが付加された
曲の初めと終わりの部分を2進コードで表すと第
31図の様になる。
When the chords are added to the entire song "Kusa Keiba" using each table, it becomes as shown in FIG. 29 based on the C major key. In the figure, the "-" part indicates that the previous note is extended. It can be seen that the accompaniment chords obtained in this way match the music very well. The accompaniment chords selected in this way are sequentially converted to the original tonality (D major key) in the second conversion section, and then sent to the CPU 1 through the data selector 30.
3, and then written into the performance memory 18 at the beginning of each block. FIG. 30 shows the recorded state. Due to the additional insertion of accompaniment chords, the content has been extended by the chord recording area for 25 measures (150 digits). Therefore,
The last part of the final note is recorded at the 474th digit in total. The beginning and end of the song to which accompaniment chords are added are expressed in binary code as shown in Figure 31.

この様にして記録した曲の自動演奏を行う場合
には、モード切換スイツチ8を演奏モード
(PLAY)に合わせ、リセツトキー4lを操作し
て曲の頭出しを行つた後、オートプレイキー4i
を操作すれば、演奏メモリー18内の楽曲情報が
順次読み出され、表示部7においてコード進行が
表示されると共に楽音発生回路15から発生され
る楽音が増巾器16およびスピーカ17を介して
放音部10から放音される。
When automatically playing a song recorded in this way, set the mode selector switch 8 to the play mode (PLAY), operate the reset key 4l to find the beginning of the song, and then press the autoplay key 4i.
When operated, the music information in the performance memory 18 is sequentially read out, the chord progression is displayed on the display section 7, and the musical tone generated from the musical tone generation circuit 15 is emitted via the amplifier 16 and the speaker 17. Sound is emitted from the sound part 10.

以上、フオスターの「草競馬」を例にして、本
実施例の動作を説明したが、この曲に限らず世界
の人々に親しまれている有名な曲や身近な曲な
ど、長調短調の如何を問わず楽曲に合つた伴奏コ
ードが付加されるものである。
The operation of this embodiment has been explained above using Foster's "Kusakei" as an example. However, it is not limited to this song, but can also be used for other famous songs that are familiar to people all over the world, familiar songs, etc. in a major or minor key. Regardless of the song, accompaniment chords that match the song are added.

尚、本実施例においては、メモリに楽曲情報を
入力する手段として種々のキー入力装置を用いた
が、これに限られることなく、バーコードリーダ
ー、磁気読取り装置、楽譜を直接読取る光学式読
取り装置、音声入力などその他様々な入力手段を
用いても良い。
In this embodiment, various key input devices were used as a means for inputting music information into the memory, but the present invention is not limited to these, and examples include a barcode reader, a magnetic reader, and an optical reader that directly reads musical scores. , voice input, and other various input means may be used.

また本実施例においては、メモリー内の楽曲に
コードを付加するにあたつて、所定ブロツクごと
の音階情報の前にコード情報の挿入書き込みを行
つたが、これに限られることなく、複数のメモリ
ーを設けてメロデイとコードとを別々に記憶させ
てから同期をとつて読み出す様にしてもよい。
Furthermore, in this embodiment, when adding chords to music pieces in the memory, chord information is inserted and written before the scale information for each predetermined block, but the present invention is not limited to this. Alternatively, the melody and chord may be stored separately and then read out in synchronization.

尚また、本発明による自動コード付加装置は実
施例に示した様な方法に限定されることなく、如
何なるフローチヤートに従つて実行してもよく、
その回路手段も上記実施例に限定されるものでは
ない。
Furthermore, the automatic code addition device according to the present invention is not limited to the method shown in the embodiments, and may be executed according to any flowchart.
The circuit means is also not limited to the above embodiment.

さらに、本実施例においては、自動コード付加
装置を携帯式小型電子楽器に塔載した場合を示し
たが、大型のコンソールタイプの電子鍵盤楽器や
その他ミユージツクシンセサイザーなどに組み込
みんでもよく、プログラム式小型電子計算機ある
いはバーソナルコンピユータの様な小型機器の機
能の一部として、あるいはそれ自体単体の機器と
して提供されることも可能である。
Furthermore, although this embodiment shows the case where the automatic chord addition device is mounted on a small portable electronic musical instrument, it may also be incorporated into a large console-type electronic keyboard instrument or other musical synthesizers. It can also be provided as part of the functions of a small device such as a small electronic computer or personal computer, or as a standalone device.

また、本実施例においては、自動的に付加され
た伴奏コードを出力する手段として自動演奏およ
びコードの表示を行つたが、これに限られること
なく、機器にCRTを装備して楽譜とともに曲全
体を表示したり、またプリンターによる印字出
力、普通紙への焼き付け出力、磁気テープへのロ
ーデイング、紙テープによる穿孔出力、音声出力
など様々な手段により行うことが可能である。
In addition, in this embodiment, automatic performance and display of chords were performed as a means of outputting automatically added accompaniment chords, but the present invention is not limited to this. It is also possible to display the information using a printer, print it out on plain paper, load it onto magnetic tape, punch output with paper tape, output audio, etc., and use various other means.

以上詳細に説明したように、本発明の自動コー
ド付加装置では、与えられた楽曲のメロデイを所
定長のブロツク毎に分割し、各ブロツク毎に含ま
れる各音符を与えられた調性情報によつてシフト
して所定の調にて表現した後、当該ブロツクを特
徴づける1乃至複数の音符を抽出し、この1乃至
複数の音符に少なくとも従つて各ブロツク毎にコ
ードを得、このコードを与えられた調性情報によ
つて逆シフトして調性情報で表現される調でのコ
ードを決定しているので、与えられたメロデイの
特徴に従つてメロデイに適したコードが生成され
るという特徴があり、初心者やコードを知らない
者、又はコードが聞きとれない者が簡単な入力を
行うだけで伴奏コードを得ることができ、その効
果は多大なものがある。
As explained in detail above, the automatic chord adding device of the present invention divides the melody of a given piece of music into blocks of a predetermined length, and each note included in each block is determined based on given tonality information. After the block is shifted and expressed in a predetermined key, one or more notes that characterize the block are extracted, a chord is obtained for each block at least according to the one or more notes, and this code is given. Since the chords in the key expressed by the tonality information are determined by inversely shifting the tonality information, the chords suitable for the given melody are generated according to the characteristics of the melody. With this, beginners, people who don't know chords, or people who can't hear chords can obtain accompaniment chords just by making a simple input, which has a great effect.

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

図は本発明を携帯式電子楽器に適用した場合の
一実施例を示し、第1図はその外観斜視図、第2
図はブロツク回路図、第3図aは表示パネルのパ
ワーオフ時の外観図、第3図bは表示パネルの表
示セグメント構成図、第3図cは表示パネルの表
示状態図、第4図は第2図の自動コード付加回路
の詳細なブロツク構成図、第5図は「草競馬」
(フオスター作)の楽譜、第6図aおよびbはメ
モリー内に記録されるメロデイおよびコードの記
録フオーマツト図、第7図は演奏キー群の音域
図、第8図乃至第13図は記録されるメロデイお
よびコードの諸情報に対する2進コードを示し、
第8図はメロデイの音階、第9図は音階及びコー
ドのフラツグ、第10図はメロデイのキーオンお
よびキーオフのS/R比、第11図はコードの
S/R比、第12図はコードの根音、第13図は
コードの種類を夫々示すものであり、第14図は
メロデイおよびコードの最大記録長およびテンポ
クロツクパルスとの関係図、第15図は記録され
る音長の2進コードフオーマツト図、第16図は
メモリーに記録された楽曲のメロデイ配列状態
図、第17図は第16図の最初と最後の部分の詳
細な2進コード記録状態図、第18図は自動コー
ド付加のゼネラルフローチヤート、第19図は調
性決定サブルーチンのフローチヤート、第20図
は楽曲の最終音と調性との関係図、第21図は
“ド”の最終音による6つの調性の使用音階図、
第22図は実施例曲の各音階の総音長一覧図、第
23図はコード付加サブルーチンのフローチヤー
ト、第24図はコード選択サブルーチンののフロ
ーチヤート、第25図は各調性における絶対音階
のハ長調式音階への転換早見図、第26図乃至第
28図はコード選択テーブルであり、第26図は
1音用、第27図は2音用、第28図は3音用の
テーブルを夫々示す図であり、第29図はハ長調
基準における各小節ごとのコード付加状態図、第
30図はメモリーに記録された曲のコードおよび
メロデイーの配列状態図、第31図は曲の初め及
び終わりの部分の2進コードによる記録フオーマ
ツトを示す図である。 2…演奏キー群、5…制御キー群、18…演奏
メモリー、21…自動コード付加回路、31…調
性決定部、41…コード選択制御部、43…コー
ド選択テーブル。
The figures show an embodiment in which the present invention is applied to a portable electronic musical instrument.
The figure is a block circuit diagram, Figure 3a is an external view of the display panel when powered off, Figure 3b is a display segment configuration diagram of the display panel, Figure 3c is a display state diagram of the display panel, and Figure 4 is Figure 2 is a detailed block diagram of the automatic code addition circuit, and Figure 5 is a "grass horse race".
(written by Foster), Figures 6a and b are recording format diagrams of the melody and chords recorded in memory, Figure 7 is a range diagram of the playing keys, and Figures 8 to 13 are recorded. Indicates binary codes for melody and chord information,
Figure 8 shows the scale of the melody, Figure 9 shows the scale and chord flags, Figure 10 shows the key-on and key-off S/R ratios of the melody, Figure 11 shows the chord S/R ratio, and Figure 12 shows the chords. Figure 13 shows the types of chords, Figure 14 shows the relationship between the maximum recording length of melody and chords and the tempo clock pulse, and Figure 15 shows the binary representation of the recorded note length. Chord format diagram, Figure 16 is a diagram of the melody arrangement of songs recorded in memory, Figure 17 is a detailed binary code recording diagram of the first and last parts of Figure 16, and Figure 18 is an automatic code. Figure 19 is a flowchart of the tonality determination subroutine, Figure 20 is a diagram of the relationship between the final note of a piece of music and tonality, and Figure 21 is a diagram of the six tonalities based on the final note of “C”. scale map used,
Figure 22 is a list of the total tone lengths of each scale of the example song, Figure 23 is a flowchart of the chord addition subroutine, Figure 24 is a flowchart of the chord selection subroutine, and Figure 25 is the absolute scale for each tonality. Figures 26 to 28 are chord selection tables; Figure 26 is for one note, Figure 27 is for two notes, and Figure 28 is for three notes. Figure 29 is a diagram showing the state of chord addition for each measure in C major standard, Figure 30 is a diagram showing the arrangement of chords and melodies of the song recorded in memory, and Figure 31 is the beginning of the song. FIG. 4 is a diagram showing a recording format in binary code for the first part and the last part. 2... performance key group, 5... control key group, 18... performance memory, 21... automatic chord addition circuit, 31... tonality determining section, 41... chord selection control section, 43... chord selection table.

Claims (1)

【特許請求の範囲】 1 メロデイ情報とメロデイの調性情報とを与え
るメロデイ情報付与手段と、 このメロデイ情報付与手段により与えられたメ
ロデイ情報を所定の時間長に対応するブロツク毎
に分割するブロツク分割手段と、 このブロツク分割手段により分割された各ブロ
ツクのメロデイ情報にて表現されるメロデイを構
成する音符のなかで、当該ブロツクを特徴づける
1乃至複数の音符を抽出する抽出手段と、 この抽出手段にて抽出される上記1乃至複数の
音符に少なくとも従つて、各ブロツク毎にコード
を決定するコード決定手段と、 を具備し、 上記抽出手段には上記メロデイ情報付与手段よ
り上記調性情報が与えられ、この調性情報によつ
て当該ブロツクの各音符をシフトして所定の調に
て表現した後、当該ブロツクを特徴づける1乃至
複数の音符を抽出するようにし、且つ上記コード
決定手段にも上記調性情報が与えられ、この調性
情報によつて、各ブロツク毎に得たコードを逆シ
フトすることによりこの調性情報にて表現される
調でのコードを決定するようにしたことを特徴と
する自動コード付加装置。
[Scope of Claims] 1. Melody information adding means for giving melody information and melody tonality information, and block division for dividing the melody information given by the melody information adding means into blocks corresponding to a predetermined time length. Extracting means for extracting one or more notes characterizing the block from among the notes constituting the melody expressed by the melody information of each block divided by the block dividing means; chord determination means for determining a chord for each block at least in accordance with the one or more notes extracted in the above, and the extraction means is provided with the tonality information from the melody information provision means After each note of the block is expressed in a predetermined key by shifting each note of the block based on the tonality information, one or more notes characterizing the block are extracted, and the chord determining means is also configured to The above tonality information is given, and by using this tonality information, the chords in the key expressed by this tonality information are determined by inversely shifting the chords obtained for each block. Features automatic code addition device.
JP56210989A 1981-12-28 1981-12-28 Automatic coder Granted JPS58114097A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP56210989A JPS58114097A (en) 1981-12-28 1981-12-28 Automatic coder
GB08236334A GB2118756B (en) 1981-12-28 1982-12-21 Automatic accompaniment generating apparatus
US06/451,816 US4539882A (en) 1981-12-28 1982-12-21 Automatic accompaniment generating apparatus
DE3248144A DE3248144C2 (en) 1981-12-28 1982-12-27 Device for the automatic generation of accompaniment in an electronic musical instrument
FR8221839A FR2519172B1 (en) 1981-12-28 1982-12-27 AUTOMATIC MUSICAL ACCOMPANIMENT GENERATING APPARATUS
IT25009/82A IT1153926B (en) 1981-12-28 1982-12-28 DEVICE FOR THE AUTOMATIC GENERATION OF THE ACCOMPANIMENT IN AN ELECTRONIC MUSICAL INSTRUMENT, PARTICULARLY A KEYBOARD INSTRUMENT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56210989A JPS58114097A (en) 1981-12-28 1981-12-28 Automatic coder

Publications (2)

Publication Number Publication Date
JPS58114097A JPS58114097A (en) 1983-07-07
JPH027480B2 true JPH027480B2 (en) 1990-02-19

Family

ID=16598469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56210989A Granted JPS58114097A (en) 1981-12-28 1981-12-28 Automatic coder

Country Status (1)

Country Link
JP (1) JPS58114097A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0636151B2 (en) * 1986-09-22 1994-05-11 日本電気株式会社 Automatic arrangement system and device
JP2564838B2 (en) * 1987-07-30 1996-12-18 カシオ計算機株式会社 Accompaniment line fundamental tone determination device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5356008A (en) * 1976-10-30 1978-05-22 Kawai Musical Instr Mfg Co Automatic rhythm accompaniment device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5356008A (en) * 1976-10-30 1978-05-22 Kawai Musical Instr Mfg Co Automatic rhythm accompaniment device

Also Published As

Publication number Publication date
JPS58114097A (en) 1983-07-07

Similar Documents

Publication Publication Date Title
US4539882A (en) Automatic accompaniment generating apparatus
JP3829439B2 (en) Arpeggio sound generator and computer-readable medium having recorded program for controlling arpeggio sound
JP2562370B2 (en) Automatic accompaniment device
JPS6230635B2 (en)
JPH0631980B2 (en) Automatic musical instrument accompaniment device
JPH0125994Y2 (en)
JPH027480B2 (en)
JPH0367276B2 (en)
JPH038559B2 (en)
JPH044599B2 (en)
JP2570068B2 (en) Automatic performance device
JP2572317B2 (en) Automatic performance device
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
JP2674331B2 (en) Automatic accompaniment device
JP2670944B2 (en) Electronic keyboard instrument
JPH058638Y2 (en)
JP2670946B2 (en) Automatic performance device
JPH0343638B2 (en)
JP3434403B2 (en) Automatic accompaniment device for electronic musical instruments
JP3022496B2 (en) Automatic accompaniment device
JPH0428119B2 (en)
JPH08314484A (en) Automatic playing device
JP2576728B2 (en) Automatic performance device
JP2639380B2 (en) Automatic performance device
JPH06274172A (en) Automatic music arranging device