JPH0782324B2 - Scale information processing device - Google Patents

Scale information processing device

Info

Publication number
JPH0782324B2
JPH0782324B2 JP58183119A JP18311983A JPH0782324B2 JP H0782324 B2 JPH0782324 B2 JP H0782324B2 JP 58183119 A JP58183119 A JP 58183119A JP 18311983 A JP18311983 A JP 18311983A JP H0782324 B2 JPH0782324 B2 JP H0782324B2
Authority
JP
Japan
Prior art keywords
scale
information
tone
data
address
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
JP58183119A
Other languages
Japanese (ja)
Other versions
JPS6075886A (en
Inventor
実 臼井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP58183119A priority Critical patent/JPH0782324B2/en
Publication of JPS6075886A publication Critical patent/JPS6075886A/en
Publication of JPH0782324B2 publication Critical patent/JPH0782324B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は予めメモリに入力しておいた複数の音階情報
を特定キーの操作により読出して再生放音する音階情報
処理装置に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a scale information processing apparatus for reading out a plurality of scale information, which has been input in a memory in advance, by operating a specific key and reproducing and outputting the sound.

〔従来の技術〕[Conventional technology]

従来、音階状態の簡便な再生処理方法としてメモリに音
階情報を予め入力しておき、特定キーの操作ごとに1音
づつ読出して演奏者が音長を付加しながら曲を演奏す
る、所謂ワンキープレイと称される音階の読出し方式が
考えられている。この場合、メモリへの音階情報のプリ
セツトは、演奏者が鍵盤の鍵を操作して曲をマニユアル
演奏する等の方法で行われているおり、更に、和音等の
複数の楽音情報を記憶させて、上記のワンキープレイに
より和音を読出し演奏することも考えられている。
Conventionally, so-called one-key play, in which scale information is input in advance in a memory as a simple reproduction processing method of a scale state, and one tone is read for each operation of a specific key, and a performer plays a song while adding a note length. A method of reading out a musical scale called "A" is considered. In this case, the presetting of the scale information to the memory is performed by a method in which the performer operates the keys on the keyboard to manually play the song, and further, a plurality of musical tone information such as chords is stored. It is also considered to read out and play chords by the above one-key play.

〔従来の技術の問題点〕[Problems of conventional technology]

しかしながら、上述した従来の方式にあつては、音長の
異なる複数の楽音を1つのキーで読出して演奏すること
ができないので、少し複雑な楽譜になるとワンキープレ
イによる演奏再生が不可能であつた。
However, in the above-mentioned conventional method, it is not possible to read and play a plurality of musical tones having different tone lengths with a single key. Therefore, when the score becomes a little complicated, it is impossible to perform the one-key play. .

〔発明の目的〕[Object of the Invention]

音長の異なる複数の音階を有するような曲についてもが
楽譜どうりに特定のキーで再生演奏が行えるようにした
電子楽器の音階情報処理装置を提供することを目的とす
る。
It is an object of the present invention to provide a scale information processing device for an electronic musical instrument, which allows a musical piece having a plurality of scales having different tone lengths to be reproduced and played with a specific key for each musical score.

〔発明の要点〕[Main points of the invention]

メモリにプリセツトされた音階情報を特定キーの操作な
どによつて読出し再生する際に、複数の音階のON情報ま
たはOFF情報を連続して読出されたか否かを判断すると
共に、連続して読み出されていない場合は最初の音階の
楽音を再生処理し、連続していた場合には複数音階の楽
音の同時再生処理を行うようにした手段を設けたことで
ある。
When the scale information preset in the memory is read out and played back by operating a specific key, etc., it is judged whether ON information or OFF information of multiple scales has been read continuously, and it is read continuously. If not, the means for reproducing the musical tones of the first scale and the processing for simultaneous reproduction of the musical tones of a plurality of scales if they are continuous are provided.

〔実施例〕〔Example〕

以下、図面を参照してこの発明の一実施例を説明する。
第1図において、図中1は電子楽器のケース本体上手前
側に設けられた鍵盤で、複数の鍵を備えている。また2
A、2Bは共にワンキープレイキーで、後述するメモリ
(データ記憶部)に鍵操作によつてプリセツトされた所
定曲の楽音情報を1づつ読出して再生放音させることが
できる。更に3、4、5は夫々、リセツトキー、オート
プレイキー、クリアキーであり、上記データ記憶部への
楽音情報のブリセツト時や、このデータ記憶部ないの楽
音情報によるオートプレイ時に用いられる。また6はリ
ズム、音色の指定やその他のキー群を示す。モードスイ
ツチ7はOFF(オフモード)、REC(記録モード)、PLAY
(プレイモード)の切換え接点を有し、而して記録モー
ドは上記データ記憶部への楽音情報のプリセツトが行
え、またプレイモードはワンキープレイやオートプレイ
が行える。また図中8は放音部である。なお、ケース本
体内にはLSI(大規模集積回路)部品、スピーカ、電池
等が収納されている。
An embodiment of the present invention will be described below with reference to the drawings.
In FIG. 1, reference numeral 1 in FIG. 1 denotes a keyboard provided on the front side of the case body of the electronic musical instrument and provided with a plurality of keys. Again 2
Both A and 2B are one-key play keys, and the tone information of a predetermined music preset by a key operation can be read out one by one to a memory (data storage section) described later and reproduced and emitted. Further, reference numerals 3, 4 and 5 are a reset key, an auto play key and a clear key, respectively, which are used when the musical tone information is set in the data storage unit and when the automatic play is performed by the musical tone information in the data storage unit. Reference numeral 6 indicates a rhythm, tone color designation and other key groups. Mode switch 7 is OFF (off mode), REC (recording mode), PLAY
It has a switching contact for (play mode), so that the recording mode can preset the musical tone information to the data storage section, and the play mode can perform one-key play or auto play. Reference numeral 8 in the figure is a sound emitting unit. It should be noted that LSI (Large Scale Integrated Circuit) parts, speakers, batteries, etc. are housed in the case body.

第2図において、9は上記鍵盤1、ワンキープレイキー
2A、2B、キー3、4、5、6、モードスイツチ7を備え
たキー入力部であり、このキー入力部9の各キー、スイ
ツチからの出力は制御部10に入力する。制御部10はこの
電子楽器のすべての動作を制御プログラム等から成り、
上記キー入力部9からの入力信号に応じて各種マイクロ
命令を出力する。そして演算部11を制御して各種の演算
を実行せしめる。またデータ記憶部13に対し制御部10は
リード/ライト制御信号R/W及びアドレスデータADRを出
力してデータの読出し、書込みを行う。このデータ記憶
部13には、鍵操作による所定曲の楽音情報が入力され、
またワンキープレイ時にはその楽音情報がデータ記憶部
13から読出される。この場合、上記入力時には、バツフ
ア14の音階データバツフア14−aには制御部10が鍵出力
に応じて出力する音階データが入力し、データ記憶部13
へ与えられる。また音長バツフア14−bには音長カウン
タ17のカウント値が音長データとして入力し、データ記
憶部13へ与えられる。他方、オートプレイ時にはデータ
記憶部13から読出される音長データが音長バツフア16に
入力し、比較回路15において、この音長データと音長カ
ウンタ17のカウント値と比較される。そして両者が一致
すると比較回路15は一致信号Cを出力して制御部10へ与
え、而してこれに応じて制御部10はデータ記憶部13のイ
ンクリメント処理を行う。なお、音長カウンタ17は制御
部10が適宜出力するリセツト信号Rによつてリセツトさ
れる。
In FIG. 2, 9 is the above-mentioned keyboard 1, one-key play key
2A, 2B, keys 3, 4, 5, 6, and a mode switch 7 are provided, and the output from each key and switch of this key input unit 9 is input to the control unit 10. The control unit 10 consists of a control program etc. for all the operations of this electronic musical instrument,
Various micro-commands are output according to the input signal from the key input unit 9. Then, the arithmetic unit 11 is controlled to execute various arithmetic operations. Further, the control unit 10 outputs a read / write control signal R / W and address data ADR to the data storage unit 13 to read and write data. To this data storage unit 13, musical tone information of a predetermined song by key operation is input,
When playing one key, the musical tone information is stored in the data storage section.
Read from 13. In this case, at the time of the above input, the scale data buffer 14-a of the buffer 14 receives the scale data output by the control unit 10 in response to the key output, and the data storage unit 13
Given to. Further, the count value of the sound length counter 17 is input to the sound length buffer 14-b as sound length data and given to the data storage unit 13. On the other hand, at the time of auto play, the tone length data read from the data storage unit 13 is input to the tone length buffer 16, and the comparison circuit 15 compares this tone length data with the count value of the tone length counter 17. When the two match, the comparison circuit 15 outputs a match signal C and supplies it to the control unit 10, and accordingly, the control unit 10 increments the data storage unit 13. The tone length counter 17 is reset by a reset signal R output from the control unit 10 as appropriate.

ワンキープレイキ時及びオートプレイ時において上記音
長データと共にデータ記憶部13から読出される音階デー
タは、コード変換部1(18−a)、コード変換部2(18
−b)、コード変換部3(18−c)の何れかに入力し、
楽音生成情報に変換されて対応する楽音発生部1(19−
a)、楽音発生部2(19−b)、楽音発生部3(19−
c)に与えられる。楽音発生部1、2、3は夫々、入力
した楽音生成情報に基づく楽音信号を作成し、それをア
ンプ20に与え、更にスピーカ21、放音部8を介し楽音と
して放音する。したがつてこの実施例における電子楽器
は、3つの楽音発生部1、2、3が用意されているた
め、3つの楽音まで同時生成できる3音ポリフオニツク
である。
The scale data read out from the data storage unit 13 together with the above-mentioned tone length data at the time of one-key play and auto play are the chord conversion unit 1 (18-a) and the chord conversion unit 2 (18
-B), input to any of the code conversion unit 3 (18-c),
The musical tone generation unit 1 (19-
a), the musical tone generating section 2 (19-b), the musical tone generating section 3 (19-
given to c). The tone generating units 1, 2 and 3 respectively generate a tone signal based on the inputted tone generating information, give it to the amplifier 20, and further emit it as a tone through the speaker 21 and the tone emitting unit 8. Therefore, the electronic musical instrument according to this embodiment is a three-tone polyphonic sound that can simultaneously generate up to three musical tones because three musical tone generating units 1, 2, and 3 are prepared.

次にワンキープレイに関する動作を説明する。いま、第
3図に示す楽譜の曲をデータ記憶部13にプリセツトし、
次いでその曲をワンキープレイによつて再生放音する場
合を例とする。
Next, the operation related to one-key play will be described. Now, preset the music of the score shown in FIG. 3 in the data storage unit 13,
Next, an example is given in which the music is reproduced and emitted by one-key play.

先ず、第3図ないし第6図を参照して曲の音階の入力動
作を説明する。而して第4図はフローチヤート及び鍵操
作状態、楽音の発生状態を示し、また、第5図はデータ
記憶部13の記憶状態、更に第6図は鍵操作状態を示す。
First, the input operation of the musical scale of a music piece will be described with reference to FIGS. Thus, FIG. 4 shows the flow chart, the key operation state, and the tone generation state, FIG. 5 shows the storage state of the data storage unit 13, and FIG. 6 shows the key operation state.

いま、モードスイツチ7をREC(記録モード)に設定し
たのち、鍵盤1の音階ドの鍵を先ずオンしてその音階を
入力すると音長カウンタ17内の音長データが音長バツフ
ア14−bに先ず転送される(第4図のフローチヤートの
ステツプS1の処理)。この場合、初回の音長データは演
奏に関係しないダミー音長データであるので、その値は
いくらでも構わない。次に音長カウンタ17に対し制御部
10がリセツト信号Rを出力しリセツトする(ステツプ
S2)。次に、音長バツフア14−bに入力したダミー音長
データt0がデータ記憶部13の0番地へ書込まれ(ステツ
プS3)、次いで制御部10は内部のアドレスカウンタをイ
ンクリメント(+1)して1番地を設定する(ステツプ
S4)。次に制御部10は判別した音階データド(ON情報)
を、例えばコード変換部1に送り、楽音発生部1に対し
その楽音生成情報を与える。そのため楽音発生部1は音
階ドの楽音信号を生成し、アンプ20、スピーカ21、放音
部8を介して放音させる(ステツプS5)。また制御部10
は上記音階データを音階データバツフア14−aにも与
え、それをデータ記憶部13の1番地に書込む(ステツプ
S6、S7)。次いでアドレスカウンタを+1して2番地を
設定する(ステツプS8)。
Now, after setting the mode switch 7 to REC (recording mode), when the key of the scale of the keyboard 1 is first turned on and the scale is input, the tone length data in the tone length counter 17 becomes the tone length buffer 14-b. First, it is transferred (process of step S 1 of the flow chart in FIG. 4). In this case, the initial tone length data is dummy tone length data that is not related to the performance, so any value may be used. Next, for the sound length counter 17, the control unit
10 outputs the reset signal R and resets (step
S 2 ). Next, the dummy tone length data t 0 input to the tone length buffer 14-b is written to address 0 of the data storage unit 13 (step S 3 ), and then the control unit 10 increments the internal address counter (+1). And set No. 1 (Step
S 4 ). Next, the control unit 10 discriminates the scale data (ON information).
Is sent to, for example, the chord conversion section 1, and the musical sound generation information is given to the musical sound generation section 1. Therefore musical tone generating unit 1 generates a musical tone signal of the scale-de, amplifier 20, speaker 21 to sound through the sound emitting portion 8 (step S 5). In addition, the control unit 10
Gives the above scale data to the scale data buffer 14-a, and writes it to the address 1 of the data storage unit 13 (step
S 6 , S 7 ). Then setting the second address by +1 address counter (step S 8).

次に音階ドの鍵をオフすると、再びステツプS1以下の処
理が実行される。先ず、ステツプS1により、音長カウン
タ17のカウント値t1が音長バツフア14−bへ転送され
る。次いで音長カウンタ17がリセツトされ、次のカウン
ト動作に備えられる。(ステツプS2)。そして上記音長
データt1がデータ記憶部13の2番地に書込まれる(ステ
ツプS3)。次にアドレスカウンタが+1されて3番地が
設定され(ステツプS4)、次に制御部10は音階データ
ド(OFF情報)を上記コード変換部1に与え、このため
音階ドの上記楽音が消音される(ステツプS5)。次に上
記音階データが音階データバツフア14−aに転送され、
データ記憶部13の3番地に書込まれる(ステツプS6
S7)。そしてインクリメント処理により4番地が設定さ
れる。
Next, when the key of the scale is turned off, the processing of step S 1 and below is executed again. First, the step S 1, the count value t 1 of the sound length counter 17 is transferred to the tone length buffer 14-b. Next, the tone length counter 17 is reset and prepared for the next counting operation. (Step S 2 ). Then, the tone length data t 1 is written in the address 2 of the data storage unit 13 (step S 3 ). Next, the address counter is incremented by 1 and the address 3 is set (step S 4 ), and then the control unit 10 sets the scale data.
Mode (OFF information) is given to the chord conversion section 1, so that the musical tone of the scale de is muted (step S 5 ). Next, the scale data is transferred to the scale data buffer 14-a,
It is written in the address 3 of the data storage unit 13 (step S 6 ,
S 7 ). Then, the address 4 is set by the increment processing.

第2楽音レ、第3楽音ミのプリセツト処理は第1楽音ド
と同一であり、その説明は省略するが、この間、アドレ
スカウンタは12番地までインクリメントされる。
The preset processing of the second and third tone sounds is the same as that of the first tone sound, and the explanation thereof is omitted, but during this period, the address counter is incremented up to the 12th address.

次に同時発音の3つの楽音、音階ド、ミ、ソの3つの鍵
を順次オンすると、制御部10の入力処理によつて、例え
ば音階ド、ミ、ソの順に各音階データ(ON情報)が入力
したものとする。この場合、ステツプS1〜S8の処理が3
回繰返され、先ず、1回目の処理で第4図に示すよう
に、データ記憶部13の12番地に音長データt6がセツトさ
れ、例えばコード変換部1に音階データ ド(ON情報)
が転送されてその楽音が放音され、更に上記音階データ
がデータ記憶部13の13番地に書込まれる。同様にして2
回目、3回目の処理では同時発音の音階ミ、ソのプリセ
ツト処理が行われ、14番地に音階データ ミ(ON情報)
の音長データt7、15番地に該音階データが入力し、また
16番地に音階データ ソ(ON情報)の音長データt8、17
番地に該音階データが入力する。同時にコード変換部2
に音階データ ミ(ON情報)が転送され、またコード変
換部3に音階データ ソ(ON情報)が転送される。その
結果、音階ド、ミ、ソの3つの楽音が順次発音を開始し
た後同時に放音される。
Next, when three keys of simultaneous tone generation, three keys of scale, do, mi, and so are turned on in sequence, according to the input process of the control unit 10, for example, each scale data (ON information) in the order of scale do, mi, and so. Is entered. In this case, the processing of steps S 1 to S 8 is 3
Repeatedly, first, as shown in FIG. 4 in the first processing, the tone length data t 6 is set at the address 12 of the data storage unit 13, and the scale data (ON information) is set in the chord conversion unit 1, for example.
Is transferred, the musical sound is emitted, and the scale data is written in the address 13 of the data storage unit 13. Similarly 2
In the 3rd and 3rd processing, the simultaneous sounding of the scale and the preset processing of the sound are performed, and the scale data is recorded at the 14th address (ON information).
Of sound length data t 7, entered the sound floor data to the number 15, also
Scale data at address 16 (ON information) scale length data t 8 , 17
The scale data is input to the address. At the same time the code conversion unit 2
The scale data (ON information) is transferred to, and the scale data (ON information) is transferred to the chord converter 3. As a result, the three musical tones, M, M, and S, are emitted at the same time after starting to sound in sequence.

次に、音階ドの鍵はオンしたまま、音階ミ、ソ、の鍵を
順次オフすると、そのオフ操作に対しステツプS1〜S8
処理が2回実行される。即ち、音階ミの鍵のオフ操作の
処理が先に実行され、第4図に示すように、18番地に音
階データ ミ(OFF情報)の音長データt9が書込まれ、
また19番地にその音階データが書込まれる。そして音階
ミの楽音が消音する。また20番地に音階データ ソ(OF
F情報)の音長データt10が書込まれ、21番地にその音階
データが書込まれ、そして音階ソの楽音が消音する。
Next, when the keys of the scales M, S, and S are sequentially turned off while the keys of the scale D are kept on, the processing of steps S 1 to S 8 is executed twice for the off operation. That is, the process of turning off the key of the scale M is executed first, and as shown in FIG. 4, the tone length data t 9 of the scale data M (OFF information) is written at the address 18,
The scale data is written at address 19. And the musical sound of the scale M is muted. The scale data source (OF
F information) note length data t 10 is written, the scale data is written at address 21, and the tone of the scale S is muted.

次に音階ドの鍵を押したままで、次の音階フア、ラの各
鍵を順次オンすると、第4図に示すように、既に述べた
処理にしたがつて22〜25番地に音階データフア(ON情
報)の音長データt11とその音階データ、音階データラ
(ON情報)の音長データt12とその音階データが夫々書
込まれ、これに応じて音階フア、ラの楽音が順次発音さ
れ音階ドの楽音と共に3つの楽音が同時に放音される。
そして、音階フア、ラ、ドの3個の鍵を順次オフする
と、既に述べたオフ処理が実行され、指定される番地に
各音階データ(OFF情報)と音長データとが書込まれ、
また各楽音が同時に消音する。また音階ソ以下のプリセ
ツト処理も上述同様である。
Next, while holding down the key of scale D, turn on each key of the next scale Hua and La in sequence, as shown in FIG. 4, according to the processing already described, the scale data data (ON Information) note length data t 11 and its scale data, and scale data LA (ON information) tone length data t 12 and its scale data are written respectively, and according to this, the musical notes of scales Hua and La are sequentially pronounced. Three musical tones are emitted at the same time as the musical tones.
Then, when the three keys of scales Hua, La, and Do are sequentially turned off, the above-mentioned off processing is executed, and each scale data (OFF information) and the length data are written in the designated address.
Also, each tone is muted at the same time. Further, the preset processing after the scale is the same as above.

次に上述のようにしてデータ記憶部13に曲の音階データ
だけがプリセツトされたものに対し、ワンキープレイに
よる演奏を行いながら正確な音長を入力する動作を説明
する。この場合、モードスイツチ7はREC(記録モー
ド)のままとし、リセツトキー3を操作して記憶部13を
リセツトしておく、なお、第7図はフローチヤート及び
楽音の発生状態を示し、また第8図は正確な音長データ
に書き直されたデータ記憶部13の記憶状態図、第9図は
ワンキープレイキー2A、2Bの操作状態し発音される楽音
を示す。
Next, an operation of inputting an accurate tone length while performing a one-key play for the tone scale data of the song which is preset in the data storage unit 13 as described above will be described. In this case, the mode switch 7 is kept in REC (recording mode), and the reset key 3 is operated to reset the storage unit 13. FIG. FIG. 9 is a storage state diagram of the data storage unit 13 rewritten into accurate tone length data, and FIG. 9 shows musical tones produced by operating the one-key play keys 2A and 2B.

ワンキープレイキー2A、2Bのうち、例えば2Aをオンする
とそのときの音長バツフア14−bの音長データが先ず、
データ記憶部13の0番地に書込まれる(ステツプT1)。
なお、この0番地の音長データは、前述の如く、無意味
なダミー音長データとして使用されない。
Of the one-key play keys 2A and 2B, for example, when 2A is turned on, the tone length data of the tone length buffer 14-b at that time is
It is written to address 0 of the data storage unit 13 (step T 1 ).
The tone length data at address 0 is not used as meaningless dummy tone length data as described above.

次に音長カウンタ17がリセツトされたのちカウント動作
を開始し(ステツプT2)、またアドレスカウンタ+1さ
れて1番地を指定する(ステツプT3)。次に1番地の音
階データ“ドON"(H1とする)が読出され、例えばコー
ド変換部1に送られて音階ドの楽音が発音開始される
(ステツプT4、T5)。そしてアドレスカウンタが+2さ
れて3番地を指定し(ステツプT6)、そこから音階デー
タ“ドOFF"(H2とする)が読出される(ステツプT7)。
次にH1とH2の各音階データが比較され、H1、H2共にON
(又はOFF)情報が否かが判断される(ステツプT8)。
いま“ドON"と“ドOFF"が比べられているので「NO」で
あり、ステツプT9に進んでアドレスカウンタが−1さ
れ、2番地が指定される。
Next, after the tone length counter 17 is reset, the count operation is started (step T 2 ), and the address counter is incremented by 1 to specify the first address (step T 3 ). Then address 1 of the scale data "de ON" (the H 1) is read, the tone of the scale de starts sound is sent for example to the code conversion unit 1 (step T 4, T 5). And specifies the address 3 address counter is +2 (step T 6), (a H 2) scale data "de OFF" from which is read (step T 7).
Next, the scale data of H 1 and H 2 are compared, and both H 1 and H 2 are turned on.
(Or OFF) It is judged whether or not the information is present (step T 8 ).
Since now "de ON" and "de OFF" is compared is "NO", the address counter is -1 proceeds to step T 9, 2 address is specified.

次に、正確に第1楽音ドの4分音符の音長の経過後、ワ
ンキープレイキー2Aをオフすると、そのときの音長カウ
ンタ17のカウント値が2番地に正確な4分音符の音長と
して書込まれ(ステツプT1)、次いで音長カウンタ17が
リセツトされ、再びカウント動作が開始される(ステツ
プT2)。次に、ステツプT3、T4、T5の処理により3番地
から音階データ“ドOFF"(H1)が読出されてコード変換
部1に送られ、第1楽音ドの発音がワンキープレイキー
2Aのオフ操作に伴つて停止する。そしてステツプT6
T7、T8の各処理により5番地から音階データ“レON"(H
2)が読出され、H1とH2が比較される。而してこの場合
も「NO」であり、ステツプT9に進んでアドレスを1つ戻
し、4番地が指定される。
Next, when the one key play key 2A is turned off after the passage of the quarter note of the first tone de, exactly, the count value of the note length counter 17 at that time is the exact quarter note length at the second address. Is written (step T 1 ), then the tone length counter 17 is reset and the counting operation is started again (step T 2 ). Next, step T 3, T 4, T scale data from the third address by treatment 5 "de OFF" (H 1) is sent is read in the code conversion unit 1, the one-key play key pronounce first tone de
Stops when 2A is turned off. And step T 6 ,
By each processing of T 7 and T 8, the scale data “LE ON” (H
2 ) is read and H 1 and H 2 are compared. In this case it Thus is also "NO", return one address proceeds to step T 9, 4 address is specified.

次に、第1楽音“ド”に対しワンキープレイキー2Aをオ
フしたのち極く短い時間をおいてワンキープレイキー2A
を再びオンし、第2楽音レの発音処理に入るとステツプ
T2の処理により、そのときの音長カウンタ17のカウント
値Δt(極めて短い音長であることを示す)が4番地に
書込まれたのち、第1楽音ドの発音処理同様にしてステ
ツプT1〜T8、T9が実行され、第2楽音レの発音、消音が
行われ、その正確な音長データ(4分音符)が6番地に
書込まれる(第8図参照)。また第3楽音“ミ”につい
ても同様であり、その説明は省略する。
Next, after turning off the one-key play key 2A for the first musical note “do”, leave a very short time and then press the one-key play key 2A.
Is turned on again, and the step is started when the second tone reproduction process is started.
By the process of T 2 , the count value Δt (indicating that the tone length is extremely short) of the tone length counter 17 at that time is written in the address 4, and then the step T 1 through T 8, T 9 is executed, sound of the second musical sound les, mute is performed, the accurate sound length data (quarter note) is written to address 6 (see FIG. 8). The same applies to the third tone "mi", and the description thereof will be omitted.

次に同時に発音される楽音“ド”、“ミ”、“ソ”の処
理に入り、ワンキープレイキー2Aがオンされると、第3
楽音のオフ時間として音長データΔtが12番地に書込ま
れ(ステツプT1)、音長カウンタ17がリセツトされる
(ステツプT2)。そして13番地から音階データ“ドON"
(H1)が読出されコード変換部1に送られて発音開始さ
れる(ステツプT3〜T5)。次に15番地から音階データ
“ミON"(H2)が読出され、両者が共にON情報であるこ
とを判断されてステツプT10に進行する(ステツプT6〜T
8)。そのため音階データ“ミON"(H2)がコード変換部
2に送られて音階ドと共に発音される。次いでアドレス
が14番地に戻されそこに音長データt7に替えて音長デー
タ“0"が書込まれる(ステツプT11、T12)。これにより
音階“ド”と“ミ”が同時発音の楽音であることがセツ
トされたことになる。そして音長カウンタ17がリセツト
され(ステツプT13)、またアドレスカウンタが+3さ
れて17番地をセツトされ、そこから音階データ“ソON"
(H3とする)が読出される(ステツプT14、T15)。即
ち、同時発音の3番目の楽音が読出されたことになる。
次にH1、H2、H3が共にON(又はOFF)情報か否かが判断
され(ステツプT16)、而して「YES」であり、ステツプ
T17に進む。
Next, when the processing of the musical tones “do”, “mi” and “so” which are sounded at the same time is started and the one key play key 2A is turned on, the third key
Tone duration data Δt is written in 12 address as an off-time of the tone (step T 1), tone length counter 17 is reset (step T 2). And the scale data “DO ON” from the 13th address
(H 1 ) is read and sent to the code conversion unit 1 to start sound generation (steps T 3 to T 5 ). Next, the scale data “Mi ON” (H 2 ) is read from the address 15, and it is judged that both are ON information, and the process proceeds to step T 10 (steps T 6 to T
8 ). Therefore, the scale data “MI ON” (H 2 ) is sent to the chord converter 2 and is sounded together with the scale D. Then address the sound length data "0" in place of the sound length data t 7 there are the returned to the address 14 is written (step T 11, T 12). As a result, it is set that the scales "do" and "mi" are tones that are produced simultaneously. Then, the tone length counter 17 is reset (step T 13 ), the address counter is incremented by 3 and the 17th address is set, and from there, the scale data “SO ON” is set.
(Denoted as H 3 ) is read (steps T 14 , T 15 ). That is, this means that the third tone of the simultaneous sound is read.
Next, it is judged whether or not H 1 , H 2 , and H 3 are all ON (or OFF) information (step T 16 ), and thus “YES”, and the step is
Continue to T 17 .

ステツプT17では音階データソONがコード変換部3に送
られて音階“ソ”の楽音が音階“ド”、“ミ”の楽音と
共に同時に発音される。そしてアドレスが16番地に1だ
け戻され、そこに音長データ“0"が音長データt8に替つ
てセツトさける(ステツプT18、T19)。即ち、音階
“ド”、“ミ”、“ソ”がこれにより同時発音の楽音で
あることがセツトされたことになる。次に音長カウンタ
17が再びリセツトされ、またアドレスカウンタが+2さ
れて18番地がセツトされる(ステツプT19、T20)。
Step T 17 in scale Detaso ON is sent to the code converter 3 scale tone of "Soviet" is scale "de" is played simultaneously with the tone of "Mi". The address is only one returned to the address 16, there to sound length data "0" avoid Kawatsute excisional to sound length data t 8 (step T 18, T 19). That is, it means that the scales "do", "mi", and "so" are set to be musical tones produced simultaneously. Next note length counter
17 is reset again, and the address counter is incremented by 2 to set address 18 (steps T 19 , T 20 ).

音階“ド”、“ミ”、“ソ”の3つの楽音が同時に発音
開始されたのち、4分音符の音長経過後、ワンキープレ
イキー2Aをオフすると、そのときの音長カウンタ17のカ
ウント値(4分音符の音長データ)が18番地に、音長デ
ータt9に替つてセツトされる(ステツプT1)。次に、音
長カウンタ17のリセツト後19番地から音階データ“ミOF
F"(H1)が読出されて対応するコード変換部2に送ら
れ、そのため音階ミの楽音が消音する(ステツプT2
T5)。また21番地から音階データ“ソOFF"(H2)が読出
され、H1、H2共にOFF情報であることが判断されてステ
ツプT10に進む(ステツプT6〜T8)。そのため音階ソの
楽音が消音する。そして20番地に音長データ“0"が音長
データt10に替つて書込まれ、音長データ“ミ”、
“ソ”が同時消音の楽音であることを示すための処理が
なされる(ステツプT11、T12)。そして音長カウンタ17
のリセツト後、23番地から音階データ“フアON"(H3
が読出され(ステツプT13〜T15)、次いでステツプT16
では「ON」となつて22番地がセツトされる(ステツプ
T9)。
After three tones of the scales “do”, “mi”, and “so” have started playing at the same time, when the one-key play key 2A is turned off after the quarter note duration has elapsed, the note counter 17 counts at that time. The value (note length data of quarter note) is set at the address 18 in place of the note length data t 9 (step T 1 ). Next, from the 19th address after the reset of the tone length counter 17, the scale data "MI OF
F "(H 1 ) is read out and sent to the corresponding chord conversion section 2, so that the musical sound of the scale M is muted (steps T 2 ~
T 5 ). Further, the scale data “SO OFF” (H 2 ) is read from the address 21, and it is judged that both H 1 and H 2 are OFF information, and the process proceeds to step T 10 (steps T 6 to T 8 ). Therefore, the musical sound of the scale is muted. Then, at the address 20, the tone length data “0” is written in place of the tone length data t 10 .
Processing is performed to show that "so" is a simultaneously muted tone (steps T 11 and T 12 ). And note length counter 17
After resetting, the scale data “Hua ON” (H 3 ) from the address 23
Is read (steps T 13 to T 15 ) and then step T 16
Then 22 is set as "ON" (step
T 9 ).

次にワンキープレイキー2Aの上記オフ後、直ちにオンす
ると、22番地には音長データt11に替つて極く短い音長
データΔtがセツトされ(ステツプT1)、また23番地か
ら音階データ“フアON"(H1)が読出され、発音される
(ステツプT2〜T5)。また25番地から音階データ“ラO
N"(H2)が読出され、両者が共にON情報であることが判
断されてステツプT10に進む(ステツプT6〜T8)。
Then, when the one-key play key 2A is turned off and then turned on immediately, an extremely short tone length data Δt is set at the address 22 in place of the tone length data t 11 (step T 1 ). "Fur ON" (H 1 ) is read and sounded (steps T 2 to T 5 ). In addition, scale data “La O
N "(H 2 ) is read, it is determined that both are ON information, and the process proceeds to step T 10 (steps T 6 to T 8 ).

同時発音される音階データ“フア”、“ラ”の発音処理
は上述した音階データ“ド”、“ミ”、“ソ”の場合と
同一で、以下、ステツプT10〜T15が実行され、ステツプ
T16では27番地の音階データドOFFが読出されて「NO」と
なる。
The pronunciation processing of the scale data “Hua” and “La” that are sounded at the same time is the same as the case of the scale data “Do”, “Mi”, and “So” described above. Below, steps T 10 to T 15 are executed, Step
Scale Detado OFF T 16-in address 27 is read is "NO".

ワンキープレイキー2Aが前回のオン時から4分音符の音
長経過後オフされると、ステツプT1により26番地にその
4分音符の音長データがt13に替つてセツトされる。そ
して27番地から音階データ“フアOFF"(H1)が読出さ
れ、音階“フア”が消音する。また29番地から音階デー
タ“ラOFF"(H2)が読出され、ステツプT8を介しステツ
プT10に進む。そのため音階“ラ”も消音する。そして2
8番地に音長データt14に替えて音長データ“0"がセツト
され、音長カウンタ17がリセツトされる(ステツプT11
〜T13)。次に31番地から音階データ“ドOFF"(H1)が
読出され、H1、H2、H3が共にOFF情報であることが判断
されてステツプT17に進む(ステツプT14〜T16)。その
ため音階ドも消音し、また30番地に音長データ“0"がセ
ツトされ、これにより音階ド、フア、ラが共に同時消音
する楽音であることを示す処理がなされる。そして音長
カウンタ17がリセツトされ、また32番地がセツトされる
(ステツプT17〜T21)。
When the one key play key 2A is tone length elapses after off quarter note from the previous one, the sound length data of the four-note 26 address by step T 1 is is Kawatsute excisional to t 13. Then, the scale data “Hua OFF” (H 1 ) is read from the 27th address, and the scale “Hua” is muted. Further, the scale data "LA OFF" (H 2 ) is read from the address 29, and the process proceeds to step T 10 through step T 8 . Therefore, the scale "La" is also muted. And 2
Tone duration data instead of the sound length data t 14 at number 8 "0" is excisional, tone length counter 17 is reset (step T 11
~ T 13 ). Next, the scale data “DO OFF” (H 1 ) is read from address 31, and it is judged that H 1 , H 2 and H 3 are all OFF information, and the process proceeds to step T 17 (steps T 14 to T 16 ). Therefore, the scale D is also muted, and the tone length data "0" is set at the 30th address, whereby processing is performed to show that the scale D, HUA, and LA are mute simultaneously. The tone length counter 17 is reset, also address 32 is excisional (step T 17 through T 21).

次に、前回のワンキープレイキー2Aのオフ後、直ちにオ
ンすると、32番地に音長データΔtがセツトされ、以
下、音階ソの楽音に対する処理が前述の如く行われる。
Next, if the one-key play key 2A is turned off immediately after the previous one-key play key 2A is turned off, the tone length data Δt is set at the address 32, and the processing for the musical tone of the musical scale is performed as described above.

以上説明したようにして、データ記憶部に第3図の曲の
音階と音長が正確に入力されたのちは、モードスイツチ
7をPLAY(プレイモード)に設定後オートプレイキー4
をオンすると、曲の再生が自動的に行われる。この場
合、データ記憶部13から読出される音階データ、例えば
1番地の“ドON"、3番地の“ドOFF"等はコード変換部
1等に入力して、その楽音の発音、消音が行われる。ま
た音長データ、例えば2番地の4分音符、4番地のΔt
等は音長バツフア16に入力して音長カウンタ17のカウン
ト値と比較される。そしてそのカウント値が音長バツフ
ア16に入力した音長データ、4分音符、Δt等に一致す
ると比較回路15は一致信号Cを出力して制御部10に与
え、アドレスカウンタをインクリメントさせ、これを受
けて制御部10はリセツト信号Rを出力して音長カウンタ
17をリセツトする。このようにして音階データを1つづ
つ読出しながらその発音、消音処理が自動的に行われ
る。また、第3図の曲の4番目の楽音“ド”、“ミ”、
“ソ”、5番目の楽音“ド”、“フア”、“ラ”などの
ように2つ以上の楽音が同時に発音、消音するもので
は、第8図に示すように、連続した“ON"音階データ、
もしくは“OFF"音階データ間の音長データが「0」であ
るため、同時発音、消音処理が実行される。
As described above, after the scale and length of the song shown in FIG. 3 have been accurately input to the data storage unit, the mode switch 7 is set to PLAY (play mode) and the auto play key 4 is set.
When is turned on, the music is automatically played. In this case, the scale data read from the data storage unit 13, for example, “DO ON” at address 1 and “DO OFF” at address 3 are input to the chord conversion unit 1 or the like to sound or mute the musical tone. Be seen. Also, note length data, for example, quarter note at address 2 and Δt at address 4.
Etc. are input to the tone length buffer 16 and compared with the count value of the tone length counter 17. When the count value matches the tone length data input to the tone length buffer 16, the quarter note, Δt, etc., the comparison circuit 15 outputs a coincidence signal C to the control unit 10, increments the address counter, and outputs it. In response, the control unit 10 outputs a reset signal R to output a tone length counter.
Reset 17 In this way, the pronunciation and mute processing is automatically performed while reading out the scale data one by one. In addition, the fourth musical note “do”, “mi” of the song in FIG.
In the case where two or more musical tones are pronounced and muted at the same time, such as "So", the fifth musical tone "Do", "Hua", "La", as shown in FIG. Scale data,
Alternatively, since the tone length data between the "OFF" scale data is "0", simultaneous sound generation and mute processing is executed.

また上記プレイモードにおいて、演奏者が自分で音長を
付加しながらワンキープレイの演奏を行う場合は、ワン
キープレイキー2A、2Bのオン操作、オフ操作ごとにアド
レスカウンタがインクリメントされて音階データが順次
読出され、コード変換部1、2、3に送られ、発音、消
音される。そしてこの場合は、各楽音データの音長時間
を書きかえることなくその発音時間、消音時間はワンキ
ープレイキー2A、2Bのオン、オフ操作に応じて制御部10
が制御し、上述の実施例通りに発音、消音が行われ、演
奏者がワンキープレイ演奏を楽しむことができる。また
上述した複数楽音の同時発音および消音についても、上
述の実施例の場合と全く同じである。
In addition, in the play mode, when the performer performs one-key play performance while adding the note length himself, the address counter is incremented for each ON operation and OFF operation of the one-key play keys 2A and 2B, and the scale data is sequentially output. It is read and sent to the code conversion units 1, 2, and 3 to be sounded and muted. In this case, the sound generation time and mute time of each musical sound data are rewritten according to the ON / OFF operation of the one-key play keys 2A and 2B without rewriting the sound long time.
Is controlled and the sound is produced and muted as in the above-described embodiment, so that the player can enjoy the one-key play performance. Also, the simultaneous sounding and muting of a plurality of musical tones described above are exactly the same as in the above-described embodiment.

本実施例においては、メモリに音階情報を入力する際、
その音階の楽音を放音するようにしたので、入力する音
階情報を確認でき、音階情報の誤入力が防げる。
In this embodiment, when inputting scale information to the memory,
Since the musical sound of that scale is emitted, the scale information to be input can be confirmed, and incorrect input of scale information can be prevented.

〔発明の効果〕〔The invention's effect〕

この発明は以上説明したように、メモリに入力した音階
情報を特定キーなどの操作によつて読出し再生する際に
は、複数の音階のON情報またはOFF情報が連続して読出
されたか否かを判断すると共に、連続して読み出されて
いない場合は最初の音階の楽音を再生処理し、連続して
いた場合には複数音階の楽音の同時再生処理を行うよう
にした音階情報処理装置を提供したから、音長の異なる
複数の音階についても、楽譜どうりの再生が容易に行え
る利点がある。
As described above, according to the present invention, when the scale information input to the memory is read and reproduced by the operation of a specific key or the like, it is determined whether or not ON information or OFF information of a plurality of scales is continuously read. Provided is a scale information processing device which, in addition to making a judgment, reproduces the musical sound of the first scale if it is not read continuously, and simultaneously reproduces the musical sound of multiple scales if it is continuous. Therefore, there is an advantage that the musical score can be easily reproduced even for a plurality of scales having different tone lengths.

また、この発明は、複数の音階の連続したON情報もしく
はOFF情報を読みとつて再生する処理方式であるので、
音階情報の入力時に複数音が同時に発音もしくは消音さ
れる場合でも、キーを順次操作していけなばよく、何ら
特別な技法を要しないという利点もある。
Further, since the present invention is a processing method for reading and reproducing continuous ON information or OFF information of a plurality of scales,
Even when a plurality of tones are pronounced or muted at the same time when inputting scale information, it is sufficient to operate the keys in sequence, and there is also an advantage that no special technique is required.

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

第1図はこの発明の一実施例の電子楽器の斜視図、第2
図は回路構成図、第3図は入力される楽譜を示すず、第
4図は楽音情報入力時のフローチヤート及びキー操作状
態等を示す図、第5図はデータ記憶部13にプリセツトさ
れた楽音情報の状態図、第6図は上記楽音情報プリセツ
ト時のキー操作状態を示す図、第7図は正確な音長デー
タをプリセツトする際のフローチヤート及びキー操作状
態等を示す図、第8図はデータ記憶部13の記憶状態図、
第9図はキー操作状態を示す図である。 1……鍵盤、2A、2B……ワンキープレイキー、4……オ
ートプレイキー、7……モードスイツチ、10……制御
部、11……演算部、13……データ記憶部、14……バツフ
ア、15……比較回路、16……音長バツフア、17……音長
カウンタ、18−a、18−b、18−c……コード変換部、
19−a、19−b、19−c……楽音発生部、20……アン
プ、21……スピーカ。
FIG. 1 is a perspective view of an electronic musical instrument according to an embodiment of the present invention, and FIG.
FIG. 4 is a circuit configuration diagram, FIG. 3 does not show an input musical score, FIG. 4 is a diagram showing a flow chart and key operation states at the time of inputting musical tone information, and FIG. 5 is preset in the data storage unit 13. FIG. 6 is a state diagram of tone information, FIG. 6 is a diagram showing a key operation state at the time of presetting the tone information, FIG. 7 is a diagram showing a flow chart and a key operation state when presetting accurate tone length data, and FIG. The figure shows the storage status of the data storage unit 13,
FIG. 9 is a diagram showing a key operation state. 1 ... keyboard, 2A, 2B ... one-key play key, 4 ... autoplay key, 7 ... mode switch, 10 ... control section, 11 ... calculation section, 13 ... data storage section, 14 ... buffer , 15 …… Comparison circuit, 16 …… Sound length buffer, 17 …… Sound length counter, 18-a, 18-b, 18-c …… Code conversion section,
19-a, 19-b, 19-c ... Music tone generator, 20 ... Amplifier, 21 ... Speaker.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】曲の各音階のON情報またはOFF情報を順次
入力する入力手段と、 この入力手段により入力される音階のON情報、OFF情報
を記憶する記憶手段と、 ワンキープレイキーの操作の都度この記憶手段に記憶さ
れた音階のON情報、OFF情報を複数個入力順に連続して
読み出す読み出し手段と、 この読み出し手段で読み出された複数個の情報のうち最
初に読み出されたON情報またはOFF情報の後に同じ情報
が連続して読み出されているか否かを判断する判断手段
と、 この判断手段により連続して読み出されていないと判断
された場合最初に読み出された音階の楽音の再生処理を
行い、連続して読み出されたと判断された場合は最初の
情報とこれと同一でかつ連続している情報の音階の楽音
の同時再生処理を行う再生処理手段と、 を具備したことを特徴とする音階情報処理装置。
1. Input means for sequentially inputting ON information or OFF information of each scale of a piece of music, storage means for storing ON information and OFF information of the scale input by this input means, and operation of a one-key play key. Read-out means for continuously reading a plurality of scale ON information and OFF information stored in this storage means in the order of input, and first read-out ON information among the plurality of information read by this read-out means Alternatively, the judgment means for judging whether or not the same information is continuously read after the OFF information, and when the judgment means judges that the same information is not continuously read, Playback processing means for performing playback processing of musical tones and performing simultaneous playback processing of musical tones of a scale of the first information and the same and continuous information when it is determined that the tones are continuously read. Special feature Scale information processing device to be used.
JP58183119A 1983-10-03 1983-10-03 Scale information processing device Expired - Lifetime JPH0782324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58183119A JPH0782324B2 (en) 1983-10-03 1983-10-03 Scale information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58183119A JPH0782324B2 (en) 1983-10-03 1983-10-03 Scale information processing device

Publications (2)

Publication Number Publication Date
JPS6075886A JPS6075886A (en) 1985-04-30
JPH0782324B2 true JPH0782324B2 (en) 1995-09-06

Family

ID=16130114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58183119A Expired - Lifetime JPH0782324B2 (en) 1983-10-03 1983-10-03 Scale information processing device

Country Status (1)

Country Link
JP (1) JPH0782324B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3143039B2 (en) * 1995-05-31 2001-03-07 株式会社河合楽器製作所 Automatic performance device

Also Published As

Publication number Publication date
JPS6075886A (en) 1985-04-30

Similar Documents

Publication Publication Date Title
JPH045995B2 (en)
JPH04128796A (en) Music reproduction device
US20050257667A1 (en) Apparatus and computer program for practicing musical instrument
JPH0546172A (en) Automatic playing device
JPH04339000A (en) Music reproduction device
JP3846376B2 (en) Automatic performance device, automatic performance program, and automatic performance data recording medium
JP3484719B2 (en) Performance guide device with voice input function and performance guide method
JPH09281970A (en) Electronic instrument
JPH0782324B2 (en) Scale information processing device
JP3312939B2 (en) Electronic musical instrument
JP4515382B2 (en) Recorder
JP3743364B2 (en) Performance practice device
JP2001154670A (en) Device and method for reproducing music data and recording medium
JP2625800B2 (en) Automatic performance device
JP2965092B2 (en) Electronic musical instrument
JPS6177095A (en) Circuit for electronic musical instrument
JP2526834B2 (en) Performance control device
JP2639380B2 (en) Automatic performance device
JP3178176B2 (en) Automatic accompaniment device
JP2600630B2 (en) Automatic performance device
JPH11352981A (en) Sound device, and toy with the same built-in
JP3038086B2 (en) Performance information playback device
JP2583377B2 (en) Automatic performance device
JPH0343638B2 (en)
JP2847000B2 (en) Performance information storage device