JPH0334079B2 - - Google Patents

Info

Publication number
JPH0334079B2
JPH0334079B2 JP56160436A JP16043681A JPH0334079B2 JP H0334079 B2 JPH0334079 B2 JP H0334079B2 JP 56160436 A JP56160436 A JP 56160436A JP 16043681 A JP16043681 A JP 16043681A JP H0334079 B2 JPH0334079 B2 JP H0334079B2
Authority
JP
Japan
Prior art keywords
pitch
length
rest
switch
ram
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
JP56160436A
Other languages
Japanese (ja)
Other versions
JPS5860793A (en
Inventor
Yasuo Mochizuki
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 JP56160436A priority Critical patent/JPS5860793A/en
Publication of JPS5860793A publication Critical patent/JPS5860793A/en
Publication of JPH0334079B2 publication Critical patent/JPH0334079B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Auxiliary Devices For Music (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 この発明はスイツチ等を操作して楽曲を構成す
る各楽音の音高、音長等を入力する電子楽器に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic musical instrument in which the pitch, length, etc. of each musical tone constituting a piece of music are input by operating a switch or the like.

従来、所定楽曲をメモリに入力する際、各楽音
の音高をまず入力し、次に音長を所定スイツチの
オン操作から次のオン操作までの時間を計時して
入力するようにした電子楽器が開発されている。
然るにこの電子楽器の入力方法では休符(即ち、
休符長)の入力は不可能であり、したがつて休符
がある場合には減衰音であるピアノ音系の音色に
よる楽曲の自動演奏しか行えず、持続音であるオ
ルガン音系の音色による楽曲の自動演奏は行え
ず、音楽的に好ましくなかつた。
Conventionally, when inputting a predetermined piece of music into a memory, the pitch of each musical note is first input, and then the pitch length is input by measuring the time from one on operation of a predetermined switch to the next on operation. is being developed.
However, with this input method for electronic musical instruments, rests (i.e.,
It is not possible to input the rest length (rest length), so if there is a rest, the song can only be played automatically using a decaying piano tone, and a sustained tone organ tone. Music could not be played automatically, which was not good musically.

また他の従来例としては、休符スイツチと、複
数種類の音長を入力するための複数の音長スイツ
チとを設けた電子楽器がある。然しこの電子楽器
では、スイツチの数が多くなる欠点のほか、全て
の音符と休符の長さを音長スイツチで入力するた
め音長入力操作に時間がかかり煩らわしく、また
音長をリズムに合わせて上記所定スイツチのオ
ン、オフ操作により感覚的に入力することができ
なくなり、入力操作がやりにくくなる欠点があ
る。
Another conventional example is an electronic musical instrument that is provided with a rest switch and a plurality of note length switches for inputting a plurality of different note lengths. However, this electronic musical instrument has the disadvantage of having a large number of switches, as well as the length of all notes and rests being input using the note length switch, which makes note length inputting time-consuming and cumbersome. There is a drawback that input operations cannot be made intuitively by turning on and off the predetermined switches in accordance with the rhythm, making it difficult to perform input operations.

この発明は上述した従来の問題点を解消するた
めになされたもので、その目的とするところは、
簡単な操作により休符長がメモリに入力できるよ
うにした電子楽器を提供することである。
This invention was made to solve the above-mentioned conventional problems, and its purpose is to:
To provide an electronic musical instrument in which a rest length can be input into a memory by a simple operation.

以下、図面を参照してこの発明の一実施例を説
明する。第1図において、電子楽器1のケース上
にはキーボード2、スイツチパネル3、放音部4
が夫々設けられ、またケース内には第2図に示す
回路を構成するLSI等の電子部品やスピーカが設
けられている。而して上記スイツチパネル3上に
はモード切替スイツチ群5、ワンキープレイスイ
ツチ6(2個)、休符スイツチ7、エンドコード
スイツチ8、その他、リズムや音色等を入力する
各種スイツチが設けられている。上記モード切替
スイツチ群5は、通常のマニユアル演奏と自動演
奏を切替えるスイツチ5の後述するRAM(ラン
ダムアクセスメモリ)へ音高、音長の入力を指定
するスイツチ5b、RAMから上記楽曲を読出す
自動演奏のモードとする5c等を含んでいる。ワ
ンキープレイスイツチ6は上記RAMへの音長の
入力およびRAMから音高のみを読出して行うワ
ンキープレイを夫々行うためのスイツチである。
休符スイツチ7は休符を入力するためのスイツ
チ、またエンドコードスイツチ8は楽曲の最後に
エンドコードを入力するためのスイツチである。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. In FIG. 1, on the case of an electronic musical instrument 1 are a keyboard 2, a switch panel 3, and a sound emitting section 4.
are provided in each case, and electronic components such as LSI and speakers constituting the circuit shown in FIG. 2 are provided inside the case. On the switch panel 3, there are provided a group of mode changeover switches 5, one-key play switches 6 (2 pieces), a rest switch 7, an end chord switch 8, and various other switches for inputting rhythm, tone, etc. There is. The mode changeover switch group 5 includes a switch 5b that switches between normal manual performance and automatic performance, a switch 5b that specifies input of pitch and duration into RAM (random access memory), which will be described later, and an automatic switch 5b that specifies input of pitch and length into RAM (random access memory), which will be described later. It includes 5c etc. which are the performance modes. The one-key play switch 6 is a switch for inputting the note length into the RAM and performing one-key play by reading only the pitch from the RAM.
The rest switch 7 is a switch for inputting a rest, and the end code switch 8 is a switch for inputting an end code at the end of a piece of music.

次に第2図により回路構成を説明する。キーボ
ード2の各キー出力およびスイツチパネル3上の
各種スイツチの出力は共にキー入力制御部11に
与えられる。而してマニユアル演奏やRAM12
への音高、音長の書込み時には、キー入力制御部
11は楽音作成部13に対し、音高、音長、エン
ベロープ等を指定する楽音情報MDおよびキーボ
ード2上のキーまたはワンキープレイスイツチ6
のキーオン時、キーオフ時に夫々キーオン信号
KN、キーオフ信号KFを夫々出力する。これに
より楽音作成部13は指定された楽音を作成し、
スピーカ14を介し放音部4から出力する。
Next, the circuit configuration will be explained with reference to FIG. Outputs from each key on the keyboard 2 and outputs from various switches on the switch panel 3 are both given to a key input control section 11. Then manual performance and RAM12
When writing the pitch and duration, the key input control section 11 sends the musical tone creation section 13 the musical tone information MD that specifies the pitch, tone length, envelope, etc., and the keys on the keyboard 2 or the one-key play switch 6.
Key-on signal when key-on and key-off respectively
KN and key-off signal KF are output respectively. As a result, the musical tone creation section 13 creates the specified musical tone,
The sound is output from the sound emitting section 4 via the speaker 14.

所定楽曲を構成する一連の楽音の音高、音長を
上記RAM12に夫々入力するときには、音高の
みを先ずキーボード2、休符スイツチ7を操作し
て入力し、次に音長をワンキープレイスイツチ6
を操作して入力される。この場合、モード切替ス
イツチ群5は記録モードに設定され、信号REC
が出力してRAM制御部15へ入力する。この
RAM制御部15はRAM12のデータ読出し、
書込みの各動作を制御する回路である。したがつ
てRAM制御部15はリード/ライト信号R/W
を出力してRAM12へ与え、またアドレスカウ
ンタ16のインクリメント動作を制御して該アド
レスカウンタ16からアドレスデータを出力さ
せ、RAM12のアドレス指定を行う。なお、
RAM制御部15にはポインタ用に使用される
レジスタが含まれる。つまりRAM12へ先ず、
一連の音高を入力する場合、キーボードのキー操
作、休符スイツチ7の操作によつてキー入力制御
部11から音高、休符を示すキーコードKCが出
力し、レジスタ17の音高記憶部17Aを介し
RAM12へ書込まれる。
When inputting the pitch and duration of a series of musical tones constituting a given piece of music into the RAM 12, first enter only the pitch by operating the keyboard 2 and the rest switch 7, and then enter the duration by operating the one-key play switch. 6
is input by operating . In this case, mode selector switch group 5 is set to recording mode, and the signal REC
outputs and inputs it to the RAM control unit 15. this
The RAM control unit 15 reads data from the RAM 12,
This is a circuit that controls each writing operation. Therefore, the RAM control unit 15 receives the read/write signal R/W.
is outputted and applied to the RAM 12, and also controls the increment operation of the address counter 16 to output address data from the address counter 16, thereby specifying the address of the RAM 12. In addition,
The RAM control unit 15 includes a register used for a pointer. In other words, to RAM12 first,
When inputting a series of pitches, a key code KC indicating the pitch and rest is output from the key input control section 11 by key operation on the keyboard or operation of the rest switch 7, and the key code KC indicating the pitch and rest is output from the pitch storage section of the register 17. via 17A
Written to RAM12.

他方、一連の音高の入力後、各音高に対する音
長を入力する場合、ワンキープレイスイツチ6を
操作する。そしてワンキープレイスイツチ6のオ
ン時、オフ時にキー入力制御部11からキーオン
信号KN、キーオフ信号KFが夫々出力し、RAM
制御部15に与えられる。そしてワンキープレイ
スイツチ6の操作時にRAM12から音高データ
が出力してレジスタ17の音高記憶部17A、休
符判断部18へ入力する。一方、時間カウンタ1
9からのデータがレジスタ17の音長記憶部17
Bに入力し、この一連の音高、音長データが再び
RAM12に記憶される。なお、上記休符判断部
18は休符コードを判断する回路であり、その判
断出力がRAM制御部15およびアンドゲート2
0へ与えられる。又、上記アンドゲート20には
ワンキープレイスイツチ6のオフ時に出力するキ
ーオフ信号KFが入力し、またその出力はオアゲ
ー21へ入力する。このオアゲート21にはワン
キープレイスイツチ6のオン時に出力するキーオ
ン信号KNも入力する。そしてオアゲート21の
出力信号RDはレジスタ17へ読込み信号として
入力し、またオアゲート22を介し時間カウンタ
19へリセツト信号として与えられている。な
お、時間カウンタ19はクロツクφを計数する。
On the other hand, when inputting a tone length for each pitch after inputting a series of pitches, the one-key play switch 6 is operated. When the one-key play switch 6 is turned on or off, a key-on signal KN and a key-off signal KF are output from the key input control section 11, respectively, and the RAM
The signal is given to the control section 15. When the one-key play switch 6 is operated, pitch data is output from the RAM 12 and input to the pitch storage section 17A of the register 17 and the rest determination section 18. On the other hand, time counter 1
The data from 9 is stored in register 17 in tone length storage section 17.
B, and this series of pitch and length data is input again.
It is stored in RAM12. The rest determination section 18 is a circuit that determines a rest code, and its determination output is sent to the RAM control section 15 and the AND gate 2.
given to 0. A key-off signal KF output when the one-key play switch 6 is turned off is input to the AND gate 20, and its output is input to the OR game 21. A key-on signal KN output when the one-key play switch 6 is turned on is also input to the OR gate 21. The output signal RD of the OR gate 21 is input to the register 17 as a read signal, and is also applied to the time counter 19 via the OR gate 22 as a reset signal. Note that the time counter 19 counts the clock φ.

第2図中、一致回路23は、自動演奏時(この
場合モード切替スイツチ群5より信号AUTOが
出力している。)に、RAM12から読出された
音長データと、時間カウンタ19の出力の一致検
出を行うもので、両データが一致した場合、一致
信号をRAM制御部15へ送出する。
In FIG. 2, the matching circuit 23 is configured to match the tone length data read from the RAM 12 and the output of the time counter 19 during automatic performance (in this case, the signal AUTO is output from the mode changeover switch group 5). It performs detection, and if both data match, a match signal is sent to the RAM control unit 15.

次に第9図に楽曲をRAM12へプリセツトし
て自動演奏を行う場合を例とし、上記実施例の動
作を説明する。先ず、モード切替スイツチ群5を
操作して記録モードに設定する。このため信号
RECが出力しRAM制御部15へ与えられる。こ
のためRAM制御部15は書込みモードのリー
ド/ライト信号R/Wを出力し、RAM12へ与
えると共に、アドレスカウンタ16をリセツトし
て0番地をアドレス指定させ、更に信号RSを出
力して時間カウンタ19をリセツトする。次に第
1楽音(第1オクターブの音名G)G1の音高を
入力するためにキーボード2の音高G1のキーを
オンするとそのキーコードKCがキー入力制御部
11から出力し、レジスタ17の音高記憶部17
Aに入力する。而してキーオン信号KNによる信
号RDがレジスタ17に入力して上記キーコード
KCが上記音高記憶部17Aに読込まれ、次いで
RAM12の0番地(0ステツプ)に書込まれ
る。この場合、オクターブは第5図に示す如く3
ビツトのコードにコード化されており、また音名
は第4図に示す如く4ビツトのコードにコード化
されている。したがつて上記音高G1は7ビツト
のデータ「0000111」により表わされ、第10図
に示すようにRAM12の音高エリアに記憶され
る。なお、第6図には音高C2のコードを一例と
して表示している。また上記第1楽音の楽音情報
MDが出力し、したがつて音高G1の楽音が楽音作
成部13により作成放音される。
Next, the operation of the above embodiment will be explained using FIG. 9 as an example of a case in which music is preset in the RAM 12 and automatically played. First, the mode changeover switch group 5 is operated to set the recording mode. For this reason, the signal
REC is output and given to the RAM control unit 15. Therefore, the RAM control unit 15 outputs a write mode read/write signal R/W and applies it to the RAM 12, resets the address counter 16 to specify address 0, and outputs a signal RS to input the time counter 19. Reset. Next, in order to input the pitch of the first musical note (pitch name G of the first octave) G1, turn on the pitch G1 key on the keyboard 2, and the key code KC will be output from the key input control section 11. Pitch storage section 17 of register 17
Enter in A. Then, the signal RD due to the key-on signal KN is input to the register 17 and the above key code is input.
KC is read into the pitch storage section 17A, and then
It is written to address 0 (0 step) of RAM12. In this case, the octave is 3 as shown in Figure 5.
The pitch name is encoded into a 4-bit code as shown in FIG. Therefore, the pitch G1 is represented by 7-bit data "0000111" and is stored in the pitch area of the RAM 12 as shown in FIG. Note that FIG. 6 shows a chord with pitch C 2 as an example. Also, the musical tone information of the first musical tone mentioned above
The MD outputs a musical tone of pitch G1 , and the musical tone creating section 13 creates and emits the musical tone.

次に、第2楽音は4分休符であるから休符スイ
ツチ7をオンする。このときキーコードKCとし
て休符コードが出力し、レジスタ17へ入力す
る。同時にキーオン信号KNの出力によりRAM
制御部15はアドレスカウンタ16を+1し、1
番地を指定させる。而して上記休符コードは第7
図に示す如くコード化されており、したがつて
RAM12の1番地には休符コード「0001111」
が記憶される。
Next, since the second musical tone is a quarter rest, the rest switch 7 is turned on. At this time, a rest code is output as the key code KC and input to the register 17. At the same time, the RAM is turned on by outputting the key-on signal KN.
The control unit 15 increments the address counter 16 by 1, and
Have them specify the address. Therefore, the rest chord above is the 7th rest chord.
It is coded as shown in the figure, so
The rest code “0001111” is at address 1 of RAM12.
is memorized.

以下、同様にして第3楽音〜第8楽音を同様に
入力する。この場合、音高C2、G1、休符スイツ
チ6、C2、G1、C1の各キーを操作する。この結
果、RAM12の2〜7番地の音高エリアには第
10図に示す如き音高コードが夫々記憶される。
Thereafter, the third to eighth musical tones are similarly input. In this case, the pitch keys C 2 , G 1 , rest switch 6, C 2 , G 1 , and C 1 are operated. As a result, pitch codes as shown in FIG. 10 are stored in pitch areas 2 to 7 of the RAM 12, respectively.

次にエンドコードスイツチ8をオンする。この
ときキーコードKCとしてエンドコードが出力す
る。この場合、エンドコードは第7図に示す如く
コード化されており、したがつてエンドコード
「1111111」がRAM12の8番地の音高エリアに
第10図に示す如く記憶される。
Next, turn on the end code switch 8. At this time, the end code is output as the key code KC. In this case, the end code is encoded as shown in FIG. 7, and therefore the end code "1111111" is stored in the pitch area at address 8 of the RAM 12 as shown in FIG.

次に、例えばリセツトスイツチ(図示略)をオ
ンしてアドレスカウンタ16をリセツトし、0番
地にもどしたのち、音長入力操作を行う。このと
きRAM制御部15内のレジスタがクリアさ
れ、第3図のフローチヤートに示すステツプS1
処理が実行される。
Next, for example, a reset switch (not shown) is turned on to reset the address counter 16, returning it to address 0, and then performing a note length input operation. At this time, the register in the RAM control section 15 is cleared, and the process of step S1 shown in the flowchart of FIG. 3 is executed.

次に第1楽音の音長(4分音符)を入力するた
めにワンキープレイスイツチ6をオンする(第1
1図参照)。而していまRAM12は0番地がア
ドレスされており、したがつて0番地の音高エリ
アからの音高G1を示すコードが読出され、レジ
スタ17の音高記憶部17Aおよび休符判断部1
8へ入力している。したがつて休符判断部18は
いま入力コードが休符コードではないことを判断
しRAM制御部15へその判断信号を与えている
(ステツプS2の処理)。そしてワンキープレイスイ
ツチ6がオンしたとき、ステツプS3の判断処理
後、ステツプS4に進行し、エンドコードがRAM
12から読出されているか否かが判断される。い
ま音高コードの読出し中であるから、次にステツ
プS5の放音処理が実行される。即ち、RAM13
からの音高コード(G1)が楽音作成部13に与
えられて、音高G1の楽音が放音される。次にス
テツプS6に進行し、レジスタ内のデータが0か
否かが判断される。いまレジスタはクリアされ
ており、したがつて次にステツプS8の処理、即
ち、リセツト信号RSがRAM制御部15から出力
し、時間カウンタ19がリセツトされる。これに
よりワンキープレイスイツチ6のオン後の時間の
計時動作が開始される。次にステツプS9の処理
後、ステツプS10に進行し、レジスタが+1と
されて「1」となり、インクリメントされる。次
いでステツプS11に進行し、ワンキープレイスイ
ツチ6がオフされたか否かが判断される。
Next, turn on the one-key play switch 6 to input the length (quarter note) of the first musical note (the first
(See Figure 1). The address 0 is currently being addressed in the RAM 12, and therefore the code indicating the pitch G1 from the pitch area at address 0 is read out, and the pitch storage section 17A of the register 17 and the rest judgment section 1 are read out.
8 is being input. Therefore, the rest determination section 18 now determines that the input code is not a rest code, and provides a determination signal thereof to the RAM control section 15 (processing in step S2 ). When the one-key play switch 6 is turned on, the process proceeds to step S4 after the judgment process in step S3 , and the end code is transferred to the RAM.
It is determined whether the data has been read from 12 or not. Since the pitch code is currently being read, the sound emitting process in step S5 is executed next. That is, RAM13
The pitch code (G 1 ) from is given to the musical tone creation section 13, and a musical tone of pitch G 1 is emitted. Next, the process proceeds to step S6 , where it is determined whether the data in the register is 0 or not. The register is now cleared, so the next step S8 is performed, ie, the reset signal RS is output from the RAM control section 15 and the time counter 19 is reset. As a result, the time counting operation for the time after the one-key play switch 6 is turned on is started. Next, after processing in step S9 , the process proceeds to step S10 , where the register is set to +1, becomes "1", and is incremented. Next, the process advances to step S11 , where it is determined whether the one-key play switch 6 has been turned off.

第11図に示す如く、4分音符の音長分の時間
が経過した時点で、ワンキープレイスイツチ6を
オフする。このときステツプS11の処理によりワ
ンキープレイスイツチ6のオフ操作が判断され、
次にステツプS12により音高G1の楽音の消音処理
の実行ののち、ステツプS2にもどる。
As shown in FIG. 11, the one-key play switch 6 is turned off when the duration of a quarter note has elapsed. At this time, the off operation of the one-key play switch 6 is determined by the processing in step S11 .
Next, in step S12 , the musical tone of pitch G1 is muted, and then the process returns to step S2 .

ステツプS2では上記RAM12の1番地の内容
が休符であることが判断されてステツプS13に進
行し、ワンキープレイスイツチ6の上記オフ時、
つまり音高G1の4分音符の音長分の時間が経過
した後であるが、時間カウンタ19の計時データ
4分音符の音長データがレジスタ17の音長記憶
部17Bに読込まれ、次いでRAM12の0番地
の音長エリアに第10図に示す如く記憶される。
この場合、4分音符の音長は第8図に示す如くコ
ード化されており、したがつて音長コード
「0010」が記憶される。なお、実際には、この音
長コードは操作者のワンキープレイスイツチ6の
操作時間によつて変動するが、今、説明の簡略化
の為、全て音長コードは、第8図に従うものとし
て説明する。なお、0番地の音長コード
「0000111」が上記RAM12の音高エリアに再び
記憶され、上記音長コードと一対のデータとな
る。
In step S2 , it is determined that the content at address 1 of the RAM 12 is a rest, and the process proceeds to step S13 , where when the one-key play switch 6 is turned off,
In other words, after the time corresponding to the tone length of a quarter note of pitch G1 has elapsed, the clock data of the time counter 19 and the tone length data of the quarter note are read into the tone length storage section 17B of the register 17, and then It is stored in the tone length area at address 0 of the RAM 12 as shown in FIG.
In this case, the tone length of the quarter note is coded as shown in FIG. 8, and therefore the tone length code "0010" is stored. In reality, this tone length code varies depending on the operator's operation time of the one-key play switch 6, but for the sake of simplicity, all tone length codes will be explained as following FIG. 8. do. Note that the tone length code "0000111" at address 0 is stored again in the pitch area of the RAM 12, and becomes a pair of data with the tone length code.

次にステツプS14によりリセツト信号RSが出力
し、時間カウンタ19がリセツトされて、第2楽
音の4分休符に対する計時動作が開始される。そ
してステツプS15ではレジスタがインクリメン
トされ、「2」となる。
Next, in step S14 , the reset signal RS is output, the time counter 19 is reset, and a time counting operation for the quarter rest of the second musical tone is started. Then, in step S15 , the register is incremented to "2".

次に、4分休符の休符長の時間が経過したとき
第11図に示すようにワンキープレイスイツチ6
をオンすると、このオン操作がステツプS3により
判断され、次にステツプS4の処理後、ステツプS5
の放音処理が実行される。即ち、RAM12の2
番地から読出されている第3楽音の音高C2の楽
音が放音開始される。またその音高コードは上述
した如く、レジスタ17、休符判断部18へも与
えられている。
Next, when the rest length of the quarter rest has elapsed, the one-key play switch 6 is pressed as shown in Figure 11.
When turned on, this on operation is judged in step S3 , and then after processing in step S4 , step S5
The sound emitting process is executed. That is, 2 of RAM12
The musical tone of pitch C2 of the third musical tone read from the address starts to be emitted. The pitch code is also given to the register 17 and the rest determining section 18, as described above.

次にステツプS5を介しステツプS7の処理が実行
され、RAM12の1番地の音長エリアに、4分
休符の休符長コードが記憶される。なお、4分休
符の休符長コードは第8図に示す4分音符の音長
コードと同一である。したがつて第10図に示す
ように、RAM12の1番地の音長エリアには休
符長コード「0010」が記憶される。
Next, the process of step S7 is executed via step S5 , and the rest length code of the quarter rest is stored in the note length area at address 1 of the RAM 12. Note that the rest length code for a quarter note is the same as the note length code for a quarter note shown in FIG. Therefore, as shown in FIG. 10, the rest length code "0010" is stored in the tone length area at address 1 of the RAM 12.

次にステツプS8により時間カウンタ19がリセ
ツトされて第3楽音の音長を計時開始する。そし
てステツプS9を介しステツプS10に進行し、レ
ジスタはインクリメントされて「3」となり、次
にステツプS11に進行し、第3楽音に対するワン
キープレイスイツチ6のオフ操作の実行が判断さ
れる。そして、ワンキープレイスイツチ6がオフ
されると、音高C2の楽音が消音する。次にステ
ツプS2に戻るが、この場合、上記RAM12の3
番地の音高情報はG2であるためステツプS3に進
む。そして、音高C2の音長である符点4分音符
分の時間が経過した時に、第11図に示すように
ワンキープレイスイツチ6をオンする。するとス
テツプS4の処理後ステツプS5により音高G1に対
する楽音が放音される。
Next, in step S8 , the time counter 19 is reset and starts measuring the length of the third musical tone. The program then proceeds via step S9 to step S10 , where the register is incremented to "3", and then proceeds to step S11 , where it is determined whether to turn off the one-key play switch 6 for the third tone. Then, when the one-key play switch 6 is turned off, the musical tone of pitch C2 is muted. Next, the process returns to step S2 , but in this case, 3 of the RAM 12 is
Since the pitch information of the address is G2 , the process advances to step S3 . Then, when the time period corresponding to a dotted quarter note, which is the note length of pitch C2 , has elapsed, the one-key play switch 6 is turned on as shown in FIG. Then, after the processing in step S4 , a musical tone for pitch G1 is emitted in step S5 .

次にステツプS6を介しステツプS7の処理が実行
され、RAM12の2番地の音長エリアに、音高
C2に対応する符点4分音符の音長コードが記憶
される。したがつて第10図に示すように、
RAM12の2番地の音長エリアには音長コード
「0011」が記憶される。
Next, the process of step S7 is executed via step S6 , and the pitch is stored in the tone length area at address 2 of RAM12.
The dotted quarter note length code corresponding to C 2 is stored. Therefore, as shown in Figure 10,
A tone length code "0011" is stored in the tone length area at address 2 of the RAM 12.

次にステツプS8により時間カウンタ19がリセ
ツトされて第4楽音G1の音長を計時開始する。
Next, in step S8 , the time counter 19 is reset and starts measuring the length of the fourth musical tone G1 .

以下、全く同様にして第4楽音〜第8楽音に対
する音長コード、休符長コードの入力が実行され
る。つまり(休符ではない)音符が連続している
時には、ワンキープレイスイツチ6のオン操作か
ら次のオン操作までの時間が対応する音符の音長
となり、次に休符があつた場合には、休符の1つ
前の音符に対応する音長は、ワンキープレイスイ
ツチ6のオン操作からフ操作までの時間となり、
休符の音長は、このワンキープレイスイツチ6の
上記オフ操作からオン操作までの時間となる。そ
して第8楽音の2分音符を音長を入力するために
まずワンキープレイスイツチ6をオフし、次いで
第11図に示すように上記2分音符分の時間が経
過した後、ワンキープレイスイツチ8をオンする
と、ステツプS4の処理によりエンドコードの入力
が判断され、次にステツプS6を介しステツプS7
より音高C1に対応する2分音符の音長コード
「0100」がRAM12の7番地の音長エリアに記
憶される。そして、ステツプS8に進行して時間カ
ウンタ19がリセツトされる。次いでステツプS9
の処理後、音長入力動作がすべて完了する。
Thereafter, input of tone length codes and rest length codes for the fourth to eighth musical tones is executed in exactly the same manner. In other words, when there are consecutive notes (not rests), the time from the one-key play switch 6 on operation to the next on operation is the duration of the corresponding note, and when there is a next rest, The note length corresponding to the note immediately before the rest is the time from when the one-key play switch 6 is turned on to when it is turned off.
The duration of the rest is the time from the above-mentioned OFF operation to the ON operation of the one-key play switch 6. In order to input the length of the half note of the eighth musical note, first turn off the one-key play switch 6, and then, as shown in FIG. When turned on, the input of the end code is determined by the processing in step S4 , and then the tone length code ``0100'' of the half note corresponding to pitch C1 is stored in address 7 of RAM 12 in step S6 and step S7 . is stored in the note length area. The process then proceeds to step S8 , where the time counter 19 is reset. Then step S 9
After processing, all note length input operations are completed.

以上の如くしてRAM12には第10図に示す
ように、音高、音長の一対のコードが記憶され、
而して休符コードも音高、音長の各コードの1つ
として記憶されたことになる。したがつてモード
切替スイツチ群5を自動演奏モードに切替える
と、モード切替スイツチ群5から信号AUTOが
出力し、RAM制御部15へ与えられる。そして
RAM12から音高データが順次読出され、楽音
作成部13へ与えられて当該楽音が作成される。
またRAM12から読出される音長データは一致
回路23へ与えられる。この一致回路23へは時
間カウンタ19からの計時データが入力して上記
音長データと比較され、両データが一致すると一
致信号EQを出力してRAM制御部15へ入力す
る。これに対してRAM制御部15はアドレスカ
ウンタ16をインクリメントすると共にリセツト
信号RSを出力してオアゲート22を介し時間カ
ウンタ19へ与えリセツトさせる。以上の動作を
くり返すことにより自動演奏が行なわれる。
As described above, as shown in FIG. 10, a pair of codes for pitch and length are stored in the RAM 12.
Therefore, the rest code is also stored as one of the pitch and length codes. Therefore, when the mode changeover switch group 5 is switched to the automatic performance mode, the signal AUTO is output from the mode changeover switch group 5 and is applied to the RAM control section 15. and
Pitch data is sequentially read from the RAM 12 and provided to the musical tone creation section 13 to create the musical tone.
Further, the tone length data read from the RAM 12 is provided to the matching circuit 23. Timing data from the time counter 19 is input to the coincidence circuit 23 and compared with the note length data. If both data match, a coincidence signal EQ is output and input to the RAM control section 15. In response, the RAM control section 15 increments the address counter 16 and outputs a reset signal RS, which is applied to the time counter 19 via the OR gate 22 to reset it. Automatic performance is performed by repeating the above operations.

尚、音長コード、休符長コードの数は上記実施
例の4種類に限らず、更に増やすことができる。
また、音長、休符長のデータを入力するスイツチ
はワンキープレイスイツチに限る必要はない。ま
た音高、休符だけを外部から磁気カード、磁気テ
ープ、バーコードリーダ等を用いて入力した後、
音長、休符長を所定スイツチの操作で入力するよ
うにしても良い。
Note that the number of tone length codes and rest length codes is not limited to the four types in the above embodiment, but can be further increased.
Further, the switch for inputting note length and rest length data is not limited to the one-key play switch. In addition, after inputting only the pitch and rest from an external device using a magnetic card, magnetic tape, barcode reader, etc.,
The note length and rest length may be input by operating a predetermined switch.

この発明は以上説明したように、楽曲を構成す
る音高、休符を入力手段によつてメモリに入力
後、上記各音高に対応する音長及び上記各休符に
対応する休符長を所定スイツチの操作時間を計時
することにより入力するようにし、休符の1つ前
の音高に対応する音長は上記所定スイツチのオン
操作からオフ操作までの押圧時間とし、上記休符
に対応する休符長は上記所定スイツチの上記オフ
操作から次のオン操作までの時間とするようにし
たので、従来入力操作が難かしかつた休符の入力
が簡単に、しかもリズムに合わせて行え、操作性
に優れた電子楽器を実現することができる。
As explained above, the present invention inputs pitches and rests constituting a piece of music into a memory using an input means, and then calculates the pitch length corresponding to each pitch and the rest length corresponding to each rest. The input is made by measuring the operating time of a predetermined switch, and the note length corresponding to the pitch before the rest is the pressing time from the ON operation to the OFF operation of the above-mentioned predetermined switch, and corresponds to the rest. The length of the rest to be entered is set to the time from the above-mentioned OFF operation to the next ON operation of the predetermined switch, so it is now possible to input rests, which were difficult to input in the past, easily and in accordance with the rhythm. , it is possible to realize an electronic musical instrument with excellent operability.

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

第1図はこの発明の一実施例の電子楽器の外観
斜視図、第2図はその回路構成図、第3図は音長
入力動作を説明するフローチヤート、第4図、第
5図は夫々、音名、オクターブのコードを示す
図、第6図は音高C2のコードを一例として示す
図、第7図は休符、エンドコードの各コードを示
す図、第8図は音長のコードを示す図、第9図は
楽曲の楽譜を示す図、第10図はRAM12の記
憶状態を示す図、第11図は第9図の楽曲の音長
入力のキー操作を示す波形図である。 2……キーボード、4……放音部、5……モー
ド切替スイツチ群、6……ワンキープレイスイツ
チ、7……休符スイツチ、8……エンドコードス
イツチ、11……キー入力制御部、12……
RAM、13……楽音作成部、15……RAM制
御部、16……アドレスカウンタ、17……レジ
スタ、18……休符判断部、19……時間カウン
タ。
FIG. 1 is an external perspective view of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a circuit diagram thereof, FIG. 3 is a flowchart explaining the tone length input operation, and FIGS. 4 and 5 are respectively , note names, and octave chords; Figure 6 is a diagram showing the pitch C 2 chord as an example; Figure 7 is a diagram showing rests and end chords; Figure 8 is a diagram showing note lengths. 9 is a diagram showing the musical score of the song, FIG. 10 is a diagram showing the storage state of the RAM 12, and FIG. 11 is a waveform diagram showing key operations for inputting the pitch length of the song in FIG. 9. . 2...keyboard, 4...sound emitting section, 5...mode selection switch group, 6...one key play switch, 7...rest switch, 8...end code switch, 11...key input control section, 12 ……
RAM, 13...Musical sound creation unit, 15...RAM control unit, 16...Address counter, 17...Register, 18...Rest determination unit, 19...Time counter.

Claims (1)

【特許請求の範囲】[Claims] 1 楽曲を構成する音高、休符を入力手段によつ
てメモリに入力後、上記各音高に対応する音長及
び上記各休符に対応する休符長を所定スイツチの
操作時間を計時することにより入力する電子楽器
であつて、上記休符の1つ前の音高に対応する音
長は上記所定スイツチのオン操作からオフ操作ま
での押圧時間とし、上記休符に対応する休符長は
上記所定スイツチの上記オフ操作から次のオン操
作までの非押圧時間とする手段を備えたことを特
徴とする電子楽器。
1. After inputting the pitches and rests that make up a piece of music into the memory using the input means, the length of the note corresponding to each pitch and the length of the rest corresponding to each of the rests are determined by measuring the operating time of a predetermined switch. In the case of an electronic musical instrument, the pitch corresponding to the pitch immediately before the above-mentioned rest is the duration of the press from the ON operation to the OFF operation of the above-mentioned predetermined switch, and the rest length corresponding to the above-mentioned rest. The electronic musical instrument is characterized by comprising means for setting a non-pressing time from the OFF operation of the predetermined switch to the next ON operation of the predetermined switch.
JP56160436A 1981-10-08 1981-10-08 electronic musical instruments Granted JPS5860793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56160436A JPS5860793A (en) 1981-10-08 1981-10-08 electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56160436A JPS5860793A (en) 1981-10-08 1981-10-08 electronic musical instruments

Publications (2)

Publication Number Publication Date
JPS5860793A JPS5860793A (en) 1983-04-11
JPH0334079B2 true JPH0334079B2 (en) 1991-05-21

Family

ID=15714887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56160436A Granted JPS5860793A (en) 1981-10-08 1981-10-08 electronic musical instruments

Country Status (1)

Country Link
JP (1) JPS5860793A (en)

Also Published As

Publication number Publication date
JPS5860793A (en) 1983-04-11

Similar Documents

Publication Publication Date Title
JPS6230635B2 (en)
US4448104A (en) Electronic apparatus having a tone generating function
JPS6157640B2 (en)
US4483231A (en) Preset apparatus of electronic musical instrument
JPH0334079B2 (en)
GB2091470A (en) Electronic Musical Instrument
JPS6326875Y2 (en)
JPS628797B2 (en)
JPS628795B2 (en)
JP2643334B2 (en) Automatic performance device
JP2660471B2 (en) Automatic performance device
JP2641851B2 (en) Automatic performance device
JP2572317B2 (en) Automatic performance device
JP2625800B2 (en) Automatic performance device
JPS6318759B2 (en)
JPS648837B2 (en)
JPH0438397Y2 (en)
JP2861709B2 (en) Automatic accompaniment device
JPS63187295A (en) automatic performance device
JPH058638Y2 (en)
JP2670944B2 (en) Electronic keyboard instrument
JPH0740186B2 (en) Automatic playing device
JPH0153469B2 (en)
JP2674331B2 (en) Automatic accompaniment device
JP2572316B2 (en) Automatic performance device