JPS6243198B2 - - Google Patents

Info

Publication number
JPS6243198B2
JPS6243198B2 JP53024893A JP2489378A JPS6243198B2 JP S6243198 B2 JPS6243198 B2 JP S6243198B2 JP 53024893 A JP53024893 A JP 53024893A JP 2489378 A JP2489378 A JP 2489378A JP S6243198 B2 JPS6243198 B2 JP S6243198B2
Authority
JP
Japan
Prior art keywords
signal
output
storage device
address
input
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
Application number
JP53024893A
Other languages
Japanese (ja)
Other versions
JPS54118226A (en
Inventor
Tsuneo Hirose
Kazuhiro Murase
Masahiko Sumio
Suminosuke Shigeta
Hidekazu Tanisumi
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2489378A priority Critical patent/JPS54118226A/en
Publication of JPS54118226A publication Critical patent/JPS54118226A/en
Publication of JPS6243198B2 publication Critical patent/JPS6243198B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 本発明は、プログラマブル自動演奏装置に関
し、特に楽譜情報を記憶した記憶装置から出力さ
れた休符信号、タイ信号、および楽譜変化信号を
用いて手演奏時のキーオン信号と同じ信号をつく
り出し、楽音を制御するようにした自動演奏装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a programmable automatic performance device, and more particularly, to a programmable automatic performance device that uses a rest signal, a tie signal, and a score change signal output from a storage device that stores score information to generate a key-on signal during manual performance. This invention relates to an automatic performance device that generates the same signal to control musical tones.

従来、簡単な回路構成でも休符信号、タイ信号
を実行する自動演奏装置はなかつた。また、近
年、マイクロコンピユータが開発されるにつれ
て、マイクロコンピユータを使用した多機能な自
動演奏装置も開発されつつあるが、実際に装置を
製作する段になると、記憶容量の不足を入出力ポ
ートの数の制限等の点から、マイクロコンピユー
タの外部で簡単に既知の汎用IC等で実現できる
ものはできる限りマイクロコンピユータの中にと
りこまないことが望ましいという問題がある。
Conventionally, there has been no automatic performance device that can generate rest signals and tie signals even with a simple circuit configuration. In addition, as microcomputers have been developed in recent years, multifunctional automatic performance devices using microcomputers are also being developed. There is a problem in that it is desirable not to incorporate into a microcomputer as much as possible what can be easily realized outside the microcomputer using a known general-purpose IC, etc. due to the limitations of the microcomputer.

本発明は、かかる従来の状況に鑑み休符信号、
タイ信号の実行を簡単な回路構成で行なうように
した新しい自動演奏装置を提供するものである。
In view of the conventional situation, the present invention provides a rest signal,
To provide a new automatic performance device in which a tie signal is executed with a simple circuit configuration.

一般に、楽譜情報を記憶した記憶装置から楽譜
情報を読み出しながら自動演奏する場合、記憶装
置のある番地に入つた音長情報(四分音符、四分
休符等)を読み出し、その音長に対応した所定時
間経過後、記憶装置の次の番地を指定し、そこに
入つた音長情報を読み出すといつた動作を基本と
している。したがつて、それに付随する音高情
報、休符の有無の情報等を音長情報と一緒に記憶
装置に入れておけば、自動演奏時、1つ1つの楽
譜情報が楽譜の順に記憶装置から出力される。上
述のように、自動演奏時に、記憶装置の番地を順
次変えていくことは、楽譜の種類が変化すること
を示しているので、この情報から、直接、または
間接に楽譜変化信号を得ることができる。
Generally, when performing automatically while reading music score information from a storage device that stores music score information, the note length information (quarter note, quarter rest, etc.) stored at the address of the storage device is read out and the corresponding note length is adjusted. After a predetermined period of time has elapsed, the next address in the storage device is designated and the tone length information stored there is read out. Therefore, if the accompanying pitch information, information on the presence or absence of rests, etc. are stored in the storage device together with the note length information, each sheet music information will be retrieved from the storage device in the order of the sheet music during automatic performance. Output. As mentioned above, changing the address of the storage device sequentially during automatic performance indicates that the type of score changes, so it is possible to obtain a score change signal directly or indirectly from this information. can.

本発明は、タイ信号、休符信号を直接記憶装置
より読み出し、上述の楽譜変化信号、タイ信号、
休符信号のなかから、2種または3種の信号を用
いて、手演奏時の鍵オン信号に相等する信号をつ
くり出し、楽音音源の発音、非発音を制御するよ
うにした自動演奏装置を提供するものである。
The present invention reads the tie signal and the rest signal directly from the storage device, and the above-mentioned musical score change signal, tie signal,
To provide an automatic performance device that uses two or three types of signals from among rest signals to generate a signal equivalent to a key-on signal during manual performance, and controls whether or not a musical sound source generates sound. It is something to do.

すなわち、本発明は、楽譜の音符、休符を各々
1つの楽譜情報として楽譜の演奏順に記憶装置の
所定の番地に記憶せしめ、自動演奏時に前記記憶
装置から順に読み出して自動演奏せしめる自動演
奏装置において、自動演奏時、前記記憶装置から
読み出された音符情報から、前述の楽譜情報が変
化したことを示す楽譜変化信号をとり出す手段
と、休符信号またはタイ信号を取り出す手段とを
具備し、休符信号時またはタイ信号時には楽譜変
化信号が出ないようにしたものである。
That is, the present invention provides an automatic performance device that stores notes and rests of a musical score as one piece of musical score information in a predetermined address of a storage device in the order in which the musical score is to be played, and reads them out in order from the storage device during automatic performance. , comprising means for extracting a musical score change signal indicating that the musical score information has changed from the musical note information read from the storage device during automatic performance, and means for extracting a rest signal or a tie signal, The musical score change signal is not output when there is a rest signal or a tie signal.

ここで、以下の実施例の説明で使用する「反復
信号」、「ジヤンプ記号」について定義する。一般
に、反復記号には、本発明で用いるジヤンプ記号
(後述)も含まれるが、本発明では、説明を容易
にするため、機能的な呼称をつけ、各々反復記
号、ジヤンプ記号を次のように定義する。つま
り、記号〓は、それより前の記号〓まで戻れ(反
復)という意味がある。
Here, the "repetition signal" and "jump symbol" used in the explanation of the following embodiments will be defined. In general, repetition symbols include jump symbols (described later) used in the present invention, but in the present invention, in order to facilitate explanation, functional names are given to repetition symbols and jump symbols, respectively, as follows. Define. In other words, the symbol 〓 means to go back (repeat) to the previous symbol 〓.

本発明では、このような反復を命令する記号を
反復記号と定義する。反復記号としては、〓、〓、
S/・、D.S.、D.C.、〓などがある(〓も1つの
記号とみなし、反復記号と呼ぶ)。
In the present invention, a symbol that commands such repetition is defined as a repetition symbol. Repeat symbols include 〓, 〓,
There are S/..., DS, DC, 〓, etc. (〓 is also considered as one symbol and is called a repetition symbol).

また、一番括弧の記号〓は、それより後の二番
括弧の記号〓のところまで飛び越せ(ジヤンプ)
といつた意味の命令記号である。
Also, the first parenthetical symbol 〓 should be jumped to the second parenthetical symbol 〓 after it.
It is a command symbol with a meaning such as.

本発明では、このようなジヤンプを命令する記
号をジヤンプ記号と定義する。ジヤンプ記号とし
ては、〓、to、〓などがある。
In the present invention, a symbol that commands such a jump is defined as a jump symbol. Jump symbols include 〓, to, 〓, etc.

以下、本発明を実施例の図面にもとづき、説明
する。第1図は、本発明の一実施例を示す図であ
る。第1図において、201は楽音の高さ、およ
び休符(rest)を指定する音高入力装置であり、
ボタン□休や鍵F2……C5とこれらのボタンや鍵で
それぞれ駆動される2連のスイツチを有する2列
のスイツチで構成されている。1列のスイツチ
個々の一端は共通に接続され、OR回路202の
入力に接続される。他の列のスイツチは各々独立
にコード変換器203に接続され、各々の音高ま
たは休符に対応したコードに変換される。複数個
のコード変換器203で第1のコード変換装置2
04を構成している。
Hereinafter, the present invention will be explained based on drawings of embodiments. FIG. 1 is a diagram showing an embodiment of the present invention. In FIG. 1, 201 is a pitch input device for specifying the pitch of a musical tone and a rest;
It consists of two rows of switches each having buttons □OFF and keys F2 ... C5 and two sets of switches each driven by these buttons and keys. One end of each of the switches in one column is connected in common and connected to the input of the OR circuit 202. The switches in the other rows are each independently connected to a code converter 203, and are converted into codes corresponding to each pitch or rest. The first code converter 2 with a plurality of code converters 203
04.

205は音符の長さを指定する音長入力装置で
あり、ボタン〓、〓、……〓とこれらのボタンで
それぞれ駆動される2連のスイツチを有する2列
のスイツチで構成されている。1列のスイツチの
一端は共通に接続され、一時記憶装置208のラ
イト端子に接続されている。他の列のスイツチは
各々独立にコード変換器206に接続され、各々
の音長に対応したコードに変換される。複数個の
コード変換器206で第2のコード変換装置20
7を構成している。コード変換器206として
は、それが選択されていない時、その出力端が高
インピーダンスとなるようなトライステート出力
のものを用いる。コード変換器206の出力はワ
イヤードORされて、一時記憶装置208の入力
端子に接続されている。音長入力装置205のう
ちの1つの音長ボタンが指定されると、それに対
応した一対のスイツチが閉じ、それによりコード
変換器206は対応する所定のコード信号を発生
する。一方、一時記憶装置208のライト端子に
1箇のパルスが入ると、第2のコード変換装置2
07の出力コード信号は、一時記憶装置208に
記憶される。この一時記憶装置208の内容は、
次に音長入力装置が操作されるまで変わらない。
Reference numeral 205 denotes a note length input device for specifying the length of a note, and is composed of two rows of switches each having buttons 〓, 〓, . One end of each row of switches is connected in common and connected to a write terminal of the temporary storage device 208. The switches in the other rows are each independently connected to a code converter 206, and are converted into codes corresponding to each tone length. A second code converter 20 with a plurality of code converters 206
7. The code converter 206 uses a tri-state output whose output terminal becomes high impedance when it is not selected. The output of the code converter 206 is wired ORed and connected to the input terminal of the temporary storage device 208. When one tone length button of tone length input device 205 is designated, a corresponding pair of switches are closed, thereby causing code converter 206 to generate a corresponding predetermined code signal. On the other hand, when one pulse enters the write terminal of the temporary storage device 208, the second code conversion device 2
The output code signal of 07 is stored in the temporary storage device 208. The contents of this temporary storage device 208 are as follows:
It will not change until the next time the tone length input device is operated.

209は曲のストツプ、全体反復(リピー
ト)、反復記号(〓、〓、〓)、ジヤンプ記号(〓)
動作を指定する動作入力装置であり、ボタン〓、
〓、〓、ストツプ、リピートとこれらのスイツチで
それぞれ制御される2連のスイツチを有する2列
のスイツチで構成されている。1列のスイツチの
一端は共通に接続され、OR回路202の入力に
接続されている。他の列のスイツチは、各々独立
にコード変換器210に接続される。コード変換
器210の出力は各スイツチに対応した所定のコ
ードに変換される。複数のコード変換器210で
第3のコード変換装置211を構成している。
209 is the stop of the song, the whole repetition (repeat), the repeat symbol (〓, 〓, 〓), the jump symbol (〓)
It is an action input device for specifying an action, and the button 〓,
It consists of two rows of switches each controlling 〓, 〓, stop, and repeat. One end of the switches in one row is connected in common and connected to the input of the OR circuit 202. The switches in the other columns are each independently connected to code converter 210. The output of the code converter 210 is converted into a predetermined code corresponding to each switch. A plurality of code converters 210 constitute a third code converter 211.

本実施例では、音高入力装置201、音長入力
装置205、動作入力装置209の各スイツチは
ON時+5Vに接続され、OFF時は接地されるもの
とする。
In this embodiment, each switch of the pitch input device 201, the tone length input device 205, and the motion input device 209 is
It shall be connected to +5V when ON and grounded when OFF.

コード変換器203の出力端はトライステート
型で、それらの出力はワイヤードORされて、記
憶装置212の所定の入力端に接続される。同様
にコード変換器210の出力もワイヤードORさ
れ、記憶装置212の所定の入力端に接続され
る。一時記憶装置208の出力端は、記憶装置2
12の他の入力端に接続されている。OR回路2
02の出力はチヤツタ防止装置213を通つたの
ちプログラム・オート切換スイツチ214のプロ
グラム接点側に接続されている。スイツチ214
の共通端子は、AND回路215の入力端子に接
続されている。216はアドレスカウンタ(プリ
セツタブルカウンタを使用)であり、本発明にお
いては、記憶装置112の番地を記憶するアドレ
ス・レジスタとしての役目をもうけもつ。アドレ
スカウンタ216のカウンタ出力信号(2進符
号)は、記憶装置212のアドレス端子に接続さ
れている。スイツチ214の共通端子は、また、
リード・ライト制御器217に接続される。リー
ド・ライト制御器217には、プログラム・オー
ト切換スイツチ214と連動するスイツチ218
が接続されている。スイツチ214と218がプ
ログラムモード側に接続されている時は、スイツ
チ214の共通端子からの入力信号があるごと
に、記憶装置212にライト命令信号を送るよう
に、また、スイツチ218が、オートモード側に
たおれている時は、その入力信号のいかんにかか
わらず、記憶装置212にリード信号を送るよう
に構成される。
The output end of the code converter 203 is tri-state type, and the outputs thereof are wired-ORed and connected to a predetermined input end of the storage device 212. Similarly, the output of the code converter 210 is wired ORed and connected to a predetermined input terminal of the storage device 212. The output end of the temporary storage device 208 is connected to the storage device 2
12 other input terminals. OR circuit 2
The output of 02 passes through a chatter prevention device 213 and is then connected to the program contact side of a program/auto changeover switch 214. switch 214
The common terminal of is connected to the input terminal of the AND circuit 215. Reference numeral 216 denotes an address counter (using a presettable counter), which also serves as an address register for storing the address of the storage device 112 in the present invention. A counter output signal (binary code) of the address counter 216 is connected to an address terminal of the storage device 212. The common terminal of switch 214 is also
It is connected to the read/write controller 217. The read/write controller 217 includes a switch 218 that interlocks with the program/auto changeover switch 214.
is connected. When switches 214 and 218 are connected to the program mode side, each time there is an input signal from the common terminal of switch 214, a write command signal is sent to storage device 212, and switch 218 is connected to auto mode. When it is lying on its side, it is configured to send a read signal to the storage device 212 regardless of the input signal.

いま、スイツチ214,218が、プログラム
モード側に接続されている場合について詳しく述
べる。最初アドレスカウンタ216の内容は零に
クリアされており、記憶装置212は零番地を指
定されているものとする。第2図に示すような、
説明的な楽譜をプログラムする場合を考える。
The case where the switches 214 and 218 are connected to the program mode side will now be described in detail. It is assumed that the contents of the address counter 216 are initially cleared to zero, and the zero address is specified in the storage device 212. As shown in Figure 2,
Consider the case of programming an explanatory musical score.

この楽符は反復記号(〓、〓)とジヤンプ記号
(〓)が入つており、演奏順序は、A→B→C→
B→Dとなる。音長入力装置5より、番号101
の音符の音長♪を指定入力する。前述の説明より
この音長情報は、コード変換され、一時記憶装置
208に記憶される。次に、音高入力装置201
より、C3の音高を指定する。C3の音高は第1の
コード変換装置204でコード変換され、また
OR回路202には音高入力装置201の動作信
号が入るため、出力はHigh(+5V)となる。OR
回路202の出力信号はチヤツタ防止装置21
3、およびスイツチ214を介して、リード・ラ
イト制御器217に印加される。それ故、リー
ド・ライト制御器217は記憶装置212に対し
てライト信号を送出し、一時記憶装置208、お
よび第1のコード変換装置204の出力信号は、
各々記憶装置212の零番地の所定のビツト位置
に格納される。
This note contains repeat marks (〓, 〓) and jump marks (〓), and the playing order is A→B→C→
B → D. From the note length input device 5, number 101
Specify and input the note length ♪. As explained above, this tone length information is code-converted and stored in the temporary storage device 208. Next, pitch input device 201
Specifies the pitch of C 3 . The pitch of C 3 is code converted by the first code conversion device 204, and
Since the operation signal of the pitch input device 201 is input to the OR circuit 202, the output becomes High (+5V). OR
The output signal of the circuit 202 is transmitted to the anti-chatter device 21.
3 and is applied to the read/write controller 217 via the switch 214. Therefore, the read/write controller 217 sends a write signal to the storage device 212, and the output signals of the temporary storage device 208 and the first code conversion device 204 are as follows.
Each is stored in a predetermined bit position at address zero of the storage device 212.

このようにして、音高入力装置をONにするこ
とにより番号101の音符情報が記憶装置212
の零番地に格納される。ここでプログラムモード
時、記憶装置212の出力端は高インピーダンス
にするようにしている。従つて記憶装置212の
出力端に接続されているAND回路215の1つ
の入力は抵抗を介して+5V(High)に接続され
ているのでHighの信号が入力されている状態に
ある。
In this way, by turning on the pitch input device, the note information of number 101 is transferred to the storage device 211.
is stored at address zero. Here, in the program mode, the output terminal of the storage device 212 is set to high impedance. Therefore, one input of the AND circuit 215 connected to the output end of the storage device 212 is connected to +5V (High) via a resistor, so a High signal is being input.

次に音高入力装置をOFFすると、AND回路2
15にはスイツチ214の共通端子からの信号が
入力されているため、その出力は、High→Low
(OV)に変化する。この変化により、アドレスカ
ウンタ216の計数は1つ進み、記憶装置212
は1番地を指定され、次の情報を待機している。
Next, when the pitch input device is turned off, AND circuit 2
Since the signal from the common terminal of switch 214 is input to switch 15, its output changes from High to Low.
(OV). Due to this change, the address counter 216 advances by one, and the storage device 212
has been assigned address 1 and is waiting for the next information.

番号102の音符を入力する場合も、同様な操
作をすればよい。この場合、幸いにその音長が番
号101の音符と同じ四分音符であるから、その
音長情報は、一時記憶装置208に残つている。
When inputting the note number 102, the same operation can be performed. In this case, fortunately, the note length is a quarter note, which is the same as the note number 101, so the note length information remains in the temporary storage device 208.

したがつて、音長情報は入力しなおす必要がな
く、単に音高D3を指定するだけでよい。このよ
うにして番号102の音符情報が記憶装置212
の1番地に格納される。
Therefore, there is no need to re-input the note length information, and it is sufficient to simply specify the note pitch D3 . In this way, the note information of number 102 is stored in the storage device 212.
is stored at address 1.

番号103の音符は二分音符であり、番号10
2の音符と異なるため、番号101の音符を入れ
た時と同様に、まず、音長入力装置205から〓
を入力し、次に、音高入力装置201からE3
入力する。同様に、このような手順で、番号10
4,105の音符が入力されたものとする。
Note number 103 is a half note, number 10
Since it is different from the note number 101, first, from the note length input device 205,
, and then input E 3 from the pitch input device 201. Similarly, with these steps, number 10
Assume that 4,105 notes have been input.

番号105の音符の次には、反復符号〓があ
る。これは、動作入力装置209から入力され
る。この時の各部の働きは、音高入力装置から入
力する場合とまつたく同様といつてよい。すなわ
ち、動作入力装置209から〓を入力すると、そ
のコード変換された信号が、記憶装置212の動
作記憶領域の6番地に記憶される。この時、一時
記憶装置208には、番号105の音長情報が残
つており、それが音長記憶領域の6番地の所定の
ビツト位置に書きこまれる。また、音高情報もや
はり記憶装置212の音高記憶領域に書きこまれ
る。
Next to the note numbered 105 is a repetition sign 〓. This is input from the motion input device 209. The functions of each part at this time can be said to be exactly the same as when inputting from a pitch input device. That is, when 〓 is input from the motion input device 209, the code-converted signal is stored in address 6 of the motion storage area of the storage device 212. At this time, note length information number 105 remains in the temporary storage device 208, and is written to a predetermined bit position at address 6 in the note length storage area. Further, pitch information is also written to the pitch storage area of the storage device 212.

番号106,107,108の音符情報の入力
も前述と同様であるので説明は省略する。番号1
08の音符の次のジヤンプ記号も、楽譜の順通
り、動作入力装置209の1を操作することによ
り記憶される。番号109,110の音符情報も
前述した他の音符と同じように記憶できる。番号
110の次の反復記号〓も同様に、動作入力装置
209から〓を入力することにより記憶できる。
番号111,112,113の音符も他の音符と
同じように入力すればよい。番号114は四分休
符であるが、これは番号113の四分音符と同じ
長さであるから、再度、音長を指定しなおす必要
はなく、単に、音高入力装置101から□休
(rest)を入力するだけでよい。最後に、曲の終
り(〓)を示す情報を入力するのであるが、本実
施例では、stopまたはrepeatのいずれかを動作入
力装置9より入れられるようにしてある。自動演
奏時、stop(ストツプ)を入れておれば曲はそこ
で停上し、repeat(全体反復)を入れておれば零
番地にもどり、無限にプログラムした曲をくり返
すようになる。
The input of note information for numbers 106, 107, and 108 is also the same as described above, so the explanation will be omitted. number 1
The jump mark next to the note 08 is also stored by operating 1 of the motion input device 209 in the order of the musical score. Note information of numbers 109 and 110 can also be stored in the same way as the other notes mentioned above. Similarly, the next repetition symbol 〓 of number 110 can be stored by inputting 〓 from the operation input device 209.
Notes numbered 111, 112, and 113 can be input in the same way as other notes. Number 114 is a quarter rest, but since it has the same length as the quarter note number 113, there is no need to specify the note length again, and you can simply enter the □ rest ( rest). Finally, information indicating the end of the song (〓) is input, and in this embodiment, either stop or repeat can be input from the motion input device 9. During automatic playback, if you set stop, the song will stop there, and if you set repeat, it will return to address zero, and the programmed song will be repeated indefinitely.

これまでは、プログラムに関する部分について
説明した。次に自動演奏に関する部分につき説明
する。スイツチ214と218はオートモードに
接続される。記憶装置212には、前述したよう
に、楽譜情報が格納されている。そして、それら
のプログラムされた楽譜を自動演奏する場合、ア
ドレスカウンタ216の2進符号出力により順次
アドレスを指定され、それに従つて、楽譜情報を
記憶装置212の出力端より出力する。記憶装置
212のaはstop信号、bはrepeat信号、cは反
復記号の〓、〓または〓信号、dはジヤンプ記号
の〓信号、eは動作情報(stop、repeat、反復)
の有無をあらわす動作情報判号信号、fは音高信
号、gは休符信号、hは音長信号、iはタイ信号
を出力する出力端子である。記憶装置212の端
子fの音高信号(コード信号)は、楽音発生装置
220に接続される。楽音発生装置220は、コ
ード変換器とその出力コードでプログラムされる
プログラマブルカウンタと発振器により構成され
ており、記憶装置212からの音高情報に対応し
てプログラマブルカウンタで発振器の周波数を分
周して、楽音信号を発生するように構成されてい
る。端子gの出力は、休符情報がある時、Low
(低電位)である。端子iの出力は、タイ情報が
ある時、Lowである。端子eの出力は、動作情報
判別信号で動作命令がない時には、Low出力であ
り、OR回路221の1つの入力に印加されてい
る。また音長情報もOR回路221の他の入力に
印加されている。したがつて、音長情報判別信号
端子eがHighの時、OR回路221の出力は音長
信号hにかかわらずHighとなり、一方動作情報
判別信号端子eがLowの時、音長信号hがOR回
路221を介して、プリセツタブルカウンタ22
2に加えられる。プリセツタブルカウンタは端子
hの音長信号に応じて、テンポ発振器223のパ
ルスをカウントして、キヤリイ出力を出す。キヤ
リイ出力は、High(高電位)である。プリセツ
タブルカウンタ222のキヤリイ出力はNAND回
路224に入力されると同時に、インバータ22
8を介してスイツチ214のオートモード側端子
に接続されている。NAND回路224の他の入力
には記憶装置212の端子iからのタイ信号が入
力されている。AND回路225には、NAND回
路224の出力と、記憶装置212の端子gの休
符情報が入力されており、AND回路225の出
力はNANDゲート226の入力に接続される。
NANDゲート226の他の入力には、楽音発生装
置220の出力信号が接続される。231はリセ
ツトスイツチであり、電源+5VをOR回路230
を介してアドレスカウンタ216のリセツト端子
に接続されている。
So far, we have explained the parts related to the program. Next, parts related to automatic performance will be explained. Switches 214 and 218 are connected to auto mode. As described above, the storage device 212 stores musical score information. When these programmed musical scores are automatically played, addresses are sequentially designated by the binary code output of the address counter 216, and musical score information is output from the output end of the storage device 212 in accordance with the addresses. In the storage device 212, a is a stop signal, b is a repeat signal, c is a repetition symbol 〓, 〓, or 〓 signal, d is a jump symbol 〓 signal, and e is operation information (stop, repeat, repetition).
f is a pitch signal, g is a rest signal, h is a tone length signal, and i is an output terminal for outputting a tie signal. A pitch signal (code signal) at terminal f of the storage device 212 is connected to a musical tone generator 220 . The musical tone generator 220 is composed of a code converter, a programmable counter programmed with its output code, and an oscillator. , configured to generate a musical tone signal. The output of terminal g is Low when there is rest information.
(low potential). The output of terminal i is low when there is tie information. The output of the terminal e is an operation information discrimination signal and is a low output when there is no operation command, and is applied to one input of the OR circuit 221. Furthermore, tone length information is also applied to other inputs of the OR circuit 221. Therefore, when the tone length information discrimination signal terminal e is High, the output of the OR circuit 221 is High regardless of the tone length signal h, while when the operation information discrimination signal terminal e is Low, the tone length signal h is OR. Presettable counter 22 via circuit 221
Added to 2. The presettable counter counts the pulses of the tempo oscillator 223 according to the tone length signal at the terminal h, and outputs a carry output. The carry output is High (high potential). The carry output of the presettable counter 222 is input to the NAND circuit 224, and at the same time it is input to the inverter 22.
8 to the auto mode side terminal of the switch 214. A tie signal from terminal i of the storage device 212 is input to the other input of the NAND circuit 224. The output of the NAND circuit 224 and the rest information of the terminal g of the storage device 212 are input to the AND circuit 225 , and the output of the AND circuit 225 is connected to the input of the NAND gate 226 .
The other input of the NAND gate 226 is connected to the output signal of the musical tone generator 220. 231 is a reset switch, which connects the +5V power supply to the OR circuit 230.
The reset terminal of the address counter 216 is connected to the reset terminal of the address counter 216 via the address counter 216.

ここで、最も簡単な自動演奏の概略を説明す
る。スイツチ214,218はオートモード側に
倒す。プリセツタブルカウンタ222は、1つの
音符の長さをカウントすると、キヤリイ出力(正
のパルス)を出力する。このキヤリイ出力はスイ
ツチ214、AND回路215を介して(AND回
路の他の入力には、Highの信号が入つていると
仮定)、アドレスカウンタ216のクロツク入力
に接続される。アドレスカウンタ216は、この
信号の前縁でカウントするので、計数が1だけ増
し、従つて、記憶装置212の指定番地が1だけ
進む。また、前述のキヤリイ出力は、プリセツタ
ブルカウンタ222のセツト入力に加えられ、こ
のセツト動作が、前述のキヤリイ信号の後縁でお
こなわれるようにしておく。このようにすると、
プリセツタブルカウンタ222からキヤリイ信号
が出ると、記憶装置212の番地が1つ進み、そ
の出力に今まで演奏していた音符の次の音符情報
が出力され、そのうちの、端子hの音長情報が、
プリセツタブルカウンタ222にセツトされる。
プリセツタブルカウンタ222は、そのセツトさ
れた音長に対応する時間の後、またキヤリイ出力
を出し、それによつて、前述と同じ動作をして、
記憶装置212の次の番地の音長情報がプリセツ
タブルカウンタ222に新たにセツトされる。
Here, an outline of the simplest automatic performance will be explained. Switches 214 and 218 are turned to auto mode. When the presettable counter 222 counts the length of one note, it outputs a carry output (positive pulse). This carry output is connected to a clock input of an address counter 216 via a switch 214 and an AND circuit 215 (assuming that the other inputs of the AND circuit receive a High signal). Since address counter 216 counts on the leading edge of this signal, the count increases by one and therefore the designated address in storage device 212 advances by one. Further, the above-mentioned carry output is applied to the set input of the presettable counter 222, so that this setting operation is performed at the trailing edge of the above-mentioned carry signal. In this way,
When a carry signal is output from the presettable counter 222, the address of the storage device 212 is incremented by one, and the note information next to the note that has been played so far is output, among which the note length information of the terminal h. but,
It is set in the presettable counter 222.
The presettable counter 222 outputs a carry output again after the time corresponding to the set tone length, thereby performing the same operation as described above.
The tone length information at the next address in the storage device 212 is newly set in the presettable counter 222.

このようにして、記憶装置222のプログラム
された音符情報は、プログラムされた音長情報の
時間間隔で、順次に読み出される。
In this way, the programmed note information in the storage device 222 is read out sequentially at time intervals of the programmed note length information.

プリセツタブルカウンタ222の出力信号は、
音符が変わつたことを示す楽譜変化信号と考えら
れる。読み出された端子fの音階情報は、楽音発
生器220によつて、楽音に変換されるので、曲
のメロデイが楽譜に従つて自動演奏される。ま
た、端子gの休符信号(休符の時Low)がある場
合には、AND回路225の出力もLowとなり、
NAND回路226によつて、楽音変換器220の
出力楽音信号が、阻止され、休符の長さの間だ
け、楽音が発音されなくなる。端子iのタイ信号
がない場合には、プリセツタブルカウンタ222
のキヤリイ出力(音符変化信号)はNAND回路2
24で反転するため、AND回路225の出力と
しては、負のパルスとなる。それ故、タイのない
楽符を自動演奏する場合は、NAND回路226に
より、楽音変換器226の出力楽音信号は、音符
が変わるたびに一時阻止されるので、楽音は、音
符が変わるたびに一時途切れる。しかしながら、
端子iのタイ信号(タイ信号時Low)がある場合
にはNAND回路224の出力は常にHighにな
り、NAND回路224の出力は、前述のプリセツ
タブルカウンタ222の楽譜変化信号は無関係と
なり、音符が変わつても、楽音発生装置220の
出力楽音信号は途切れることなく発音する。この
ように、記憶装置222の楽譜情報から、楽譜変
化信号、休符信号、タイ信号をとり出し、タイ信
号がある時に、楽譜変化信号を阻止するように
し、さらに、その論理出力信号を休符信号がある
時に、阻止するようにし、その論理出力信号でも
つて、楽音信号の発音を制御し、タイ信号がある
時には、音符が変わつても、楽音を切らず(手演
奏の時、タイがあれば、鍵を押さえたままに演奏
するのと同じ働き)、また休符がある時には、楽
音が発音しないように抑制できる。この制御方式
を用いれば、休符、タイ信号の制御が簡単にな
る。
The output signal of the presettable counter 222 is
This can be thought of as a musical score change signal indicating that a note has changed. The read scale information of the terminal f is converted into a musical tone by the musical tone generator 220, so that the melody of the song is automatically played according to the musical score. In addition, when there is a rest signal at terminal g (Low when it is a rest), the output of the AND circuit 225 also becomes Low,
The output musical tone signal of the musical tone converter 220 is blocked by the NAND circuit 226, and no musical tone is produced only during the length of the rest. If there is no tie signal at terminal i, the presettable counter 222
The carry output (note change signal) is NAND circuit 2
24, the output of the AND circuit 225 is a negative pulse. Therefore, when automatically playing a musical note without a tie, the output musical tone signal of the musical tone converter 226 is temporarily stopped by the NAND circuit 226 every time the note changes, so the musical tone is temporarily stopped every time the note changes. Interrupted. however,
When there is a tie signal at terminal i (Low during tie signal), the output of the NAND circuit 224 is always High, and the output of the NAND circuit 224 has no relation to the musical score change signal of the presettable counter 222, and the output of the NAND circuit 224 is a musical note. Even if the musical tone generator 220 changes, the output musical tone signal of the musical tone generating device 220 continues to produce sound without interruption. In this way, the score change signal, the rest signal, and the tie signal are extracted from the score information in the storage device 222, and when there is a tie signal, the score change signal is blocked, and the logical output signal is changed to the rest signal. When there is a tie signal, it is blocked, and the logic output signal also controls the sounding of the musical tone signal, and when there is a tie signal, the musical tone is not cut off even if the note changes (when playing by hand, there is no tie). (For example, it works the same as playing while holding down a key), and when there is a rest, it can suppress the sound from being produced. If this control method is used, rests and tie signals can be easily controlled.

次に、反復記号その他の動作情報が記憶装置2
12に記憶されており、それらを自動演奏する場
合について、説明する。記憶装置212端子aの
ストツプ信号(ストツプ時Low)はAND回路2
15の1つの入力に接続されており、ストツプ
時、プリセツタブルカウンタ222から来る楽譜
変化信号を阻止する。それ故、記憶装置212に
ストツプ信号が入つておれば、もはや、記憶装置
212の番地は進まなくなり、曲の自動演奏はス
トツプする。また、記憶装置212の端子bのリ
ピート信号(リピート時high)は、OR回路23
0を介して、アドレスカウンタ216のリセツト
端子に加えられている。それ故、リピート信号が
出ると、アドレスカウンタ216の内容はクリヤ
されるため、記憶装置212の指定アドレスは0
番地となり、曲は、最初から演奏される。すなわ
ち、曲の最後に、リピート信号をプログラムして
おけば、無限の回数(時間)自動演奏をくり返す
ことになる。記憶装置212の端子eの動作情報
判別信号は、本実施例にあげたストツプ、リピー
ト、反復、ジヤンプ記号〓、〓、〓のような動作
信号がある時に出力し、OR回路221を介し
て、プリセツタブルカウンタ222のプリセツト
入力に入る。この信号は、上記の動作信号が入つ
た時、その番地の実行時間を最小するよう、すな
わち、プリセツタブルカウンタ222をフルカウ
ントになる値をセツトし、すぐにキヤリイ信号を
出さしめ、動作情報の入つた番地の実行時間を理
想的に零にするようにする。なぜなら、リピート
信号、反復符号の実行に時間をかけると演奏され
る音符の音長に誤差を生じ音楽のテンポが乱れる
ので、このようなことは良くないからである。端
子cの反復記号〓、〓、〓は所定の信号を出す第
1の計数装置240に印加され、その現われた回
数が計数される。第1の計数装置の出力端子jは
第1のレジスタ241のライト端子に接続され、
反復符号の回数が1回目の時出力し、出力端子j
に信号が出るたびに、アドレスカウンタ216の
内容に1を加えたものを第1のレジスタに転送し
格納する(1を加える回路は、煩雑をさけるため
に省略したが、公知の加算器を用いればよい)。
第1の計数装置240はプリセツタブルカウンタ
で、回数設定装置242で設定された回数を計数
するともとの状態にクリヤされる。この第1の計
数装置240の出力端子Kは、回数設定装置24
2で設定された回数N(N=1、2、3……)に
対し、反復記号の出て来た回数が2〜N回までの
間、この端子に信号を出力する。N+1回目の反
復記号が来ると、第1の計数装置240の端子
J,Kには出力があらわれず、また内容はクリヤ
(初期設定)される。第1の計数装置240の出
力Kに信号が出力されると、その信号は第1のレ
ジスタ241のライト端子に加えられ、アドレス
カウンタ216の内容に1を加えたものが、第2
のレジスタ243に転送され格納される(1を加
える回路は図示していない)。端子dのジヤンプ
記号信号〓は、第2の計数装置245に印加され
る。第2の計数装置245は、1回目のジヤンプ
信号〓が来たときは何ら出力せず、2回目のジヤ
ンプ信号〓が来た時に出力信号を出すと同時に内
部をクリヤ(初期設定)する。第2の計数装置2
45の出力信号は、OR回路244を介して、ア
ドレスカウンタ216のライト端子(アドレスカ
ウンタ216としてパラレルプリセツト可能なカ
ウンタを用いている時は、パラレル入力エンネイ
ブル端子PE)に加えられており、その信号で第
2のレジスタ243の内容をアドレスカウンタ2
16に転送する。
Next, the repetition symbol and other operation information are stored in the storage device 2.
12, and the case where they are automatically played will be explained. The stop signal (Low at stop) of the storage device 212 terminal a is sent to the AND circuit 2.
15, and blocks the musical score change signal coming from the presettable counter 222 when stopped. Therefore, if a stop signal is received in the storage device 212, the address in the storage device 212 will no longer advance, and the automatic performance of the song will be stopped. Furthermore, the repeat signal (high during repeat) at terminal b of the storage device 212 is transmitted to the OR circuit 23.
0 to the reset terminal of address counter 216. Therefore, when the repeat signal is issued, the contents of the address counter 216 are cleared, so the specified address of the storage device 212 becomes 0.
The address will be displayed and the song will be played from the beginning. In other words, if a repeat signal is programmed at the end of a song, the automatic performance will be repeated an infinite number of times (time). The operation information discrimination signal of the terminal e of the storage device 212 is output when there is an operation signal such as the stop, repeat, repetition, jump symbol 〓, 〓, 〓 mentioned in this embodiment, and is outputted via the OR circuit 221. Enter the preset input of the presettable counter 222. This signal is used to minimize the execution time of the address when the above operation signal is input, that is, to set the presettable counter 222 to a value that makes it a full count, to immediately output a carry signal, and to output the operation information. The execution time of the entered address should ideally be reduced to zero. This is because if it takes time to execute the repeat signal or repeat code, it will cause an error in the length of the notes being played, which will disrupt the tempo of the music, which is not a good thing. The repetition symbols 〓, 〓, 〓 on terminal c are applied to a first counting device 240 which produces a predetermined signal, and the number of times it appears is counted. The output terminal j of the first counting device is connected to the write terminal of the first register 241,
Output when the number of repeated codes is 1st, output terminal j
Each time a signal is output to the address counter 216, the contents of the address counter 216 plus 1 are transferred to the first register and stored (the circuit that adds 1 is omitted to avoid complexity, but a known adder can be used. Good luck).
The first counting device 240 is a presettable counter, and when it counts the number of times set by the number setting device 242, it is cleared to the original state. The output terminal K of this first counting device 240 is connected to the number setting device 24.
A signal is output to this terminal for the number of times N (N=1, 2, 3...) set in 2, the number of times the repetition symbol appears is from 2 to N times. When the N+1st repetition symbol arrives, no output appears at terminals J and K of the first counting device 240, and the contents are cleared (initialized). When a signal is output to the output K of the first counting device 240, that signal is applied to the write terminal of the first register 241, and the contents of the address counter 216 plus 1 are added to the second counter.
is transferred to and stored in the register 243 (the circuit that adds 1 is not shown). The jump symbol signal 〓 at terminal d is applied to the second counting device 245 . The second counting device 245 does not output anything when the first jump signal 〓 comes, and outputs an output signal when the second jump signal 〓 comes, and at the same time clears the inside (initial setting). Second counting device 2
The output signal of 45 is applied to the write terminal of the address counter 216 (or the parallel input enable terminal PE when a counter capable of parallel presetting is used as the address counter 216) via the OR circuit 244. The contents of the second register 243 are transferred to the address counter 2 by the signal.
Transfer to 16.

以上の構成において第2図の楽譜をプログラム
した曲を自動演奏する場合を考える。回数設定装
置242のNは2に設定される。番地0番地から
順次、音符を前述したように演奏し、5番地の〓
信号が出てくると、第1の計数装置240の端子
Jに出力信号があらわれ、アドレスカウンタ21
6の5番地に1を加えた6番地を第1のレジスタ
241に格納する。演奏は、ひきつづき6番地以
降を順次実行し、次に、9番地のジヤンプ信号〓
が出ると、第2の計数装置245の出力には、何
もあらわれず、その履歴だけが内部情報として残
る。さらに演奏をつづけて、12番地の反復記号〓
が出ると、第2の計数装置245の出力端子kに
信号があらわれ、アドレスカウンタ216の出力
数値12に1を加えた13番地が第2のレジスタ24
3に格納される。それと同時に、第1の計数装置
240の内容数値6が、アドレスカウンタ216
に移される。それ故、記憶装置212は6番地を
指定されるので、アドレスカウンタ216は6番
地に戻り、実行される。次に9番地のジヤンプ信
号〓が出てくると、第2の計数装置245に出力
があらわれ、第2のレジスタ243の内容13がア
ドレスカウンタ216に転送される。それ故、自
動演奏は、8番地から13番地にジヤンプする。こ
のようにして、演奏順序は、A→B→C→B→D
のようになる。
Consider the case where a piece of music programmed with the musical score shown in FIG. 2 is automatically played in the above configuration. N of the number setting device 242 is set to 2. Play the notes sequentially from address 0 as described above, and then
When the signal is output, an output signal appears at the terminal J of the first counting device 240, and the address counter 21
The 6th address obtained by adding 1 to the 5th address of 6 is stored in the first register 241. The performance continues sequentially from number 6 onwards, and then the jump signal at number 9
When , nothing appears in the output of the second counting device 245, and only the history remains as internal information. Continuing to play, repeat symbol at number 12
When , a signal appears at the output terminal k of the second counting device 245, and address 13, which is the output value 12 of the address counter 216 plus 1, is assigned to the second register 24.
3. At the same time, the content value 6 of the first counting device 240 is transferred to the address counter 216.
will be moved to Therefore, since address 6 is specified in the storage device 212, the address counter 216 returns to address 6 and is executed. Next, when the jump signal 〓 of address 9 appears, an output appears on the second counting device 245, and the contents 13 of the second register 243 are transferred to the address counter 216. Therefore, the automatic performance jumps from address 8 to address 13. In this way, the playing order is A→B→C→B→D
become that way.

また、第3図のように、一つの曲のある部分を
〓と〓によつてかこみ、回数設定装置242の設
定値をNとすると、自動演奏してきて、a番地の
〓信号が最初に出て来た時、第1のレジスタ24
1にはa+1が格納され、次にb番地の〓信号が
出てくる(2回目)と、アドレスカウンタ216
には第1のレジスタ241の内容a+1が転送さ
れる。その結果、記憶装置212はa+1番地か
ら反復自動演奏される。そして再びb番地の〓信
号が出てくる(3回目)と、2回目と同様の動作
をする。N回目の反復符号〓が出て来た時、第1
のレジスタ241の内容a+1は保存されたま
ま、その内容a+1がアドレスカウンタ216に
転送される。自動演奏は、ひきつづき記憶装置2
12のa+1番地からくり返し実行され、b番地
の反復記号〓(N+1回目)が出てくる。ここ
で、第1、第2の計数回路240,245の内容
はクリヤされ、初期設定される。そして自動演奏
はひきつづき記憶装置212のb+1番地以降の
曲を実行する(本実施例では、〓も〓も同じ働き
をする)。このように、反復記号(〓又は〓)
と、回数設定装置242を使うことにより、任意
の番地の間を希望回数だけ演奏させることができ
る。
Also, as shown in Fig. 3, if a certain part of a song is surrounded by 〓 and 〓, and the setting value of the number setting device 242 is set to N, the 〓 signal at address a will be played automatically and the 〓 signal at address a will be output first. When the first register 24
1 stores a+1, and then when the 〓 signal of address b comes out (second time), the address counter 216
The content a+1 of the first register 241 is transferred to. As a result, the memory device 212 is repeatedly automatically played starting from address a+1. Then, when the 〓 signal of address b comes out again (third time), the same operation as the second time is performed. When the Nth repetition code 〓 appears, the first
The content a+1 of the register 241 is transferred to the address counter 216 while being saved. Automatic performance continues on memory device 2.
12 is executed repeatedly from address a+1, and the repetition symbol 〓 (N+1st time) at address b appears. Here, the contents of the first and second counting circuits 240 and 245 are cleared and initialized. Then, the automatic performance continues to execute the songs starting from address b+1 in the storage device 212 (in this embodiment, 〓 and 〓 have the same function). Like this, the repetition symbol (〓 or 〓)
By using the number setting device 242, it is possible to perform the desired number of times between arbitrary addresses.

なお、以上の実施例において、本発明の要旨と
直接関係のない部分の説明は若干簡潔にし、全体
としての説明が簡潔になるように配慮したことを
ことわつておく。
It should be noted that in the above embodiments, the explanation of parts that are not directly related to the gist of the present invention has been simplified to make the overall explanation concise.

次に、マイクロコンピユータを使用した本発明
の他の実施例につき説明する。
Next, another embodiment of the present invention using a microcomputer will be described.

第4図は、本実施例(第5図参照)に使用する
マイクロコンピユータMN1400のシステムブ
ロツク図である。
FIG. 4 is a system block diagram of the microcomputer MN1400 used in this embodiment (see FIG. 5).

マイクロコンピユータMN1400は7つの機
能ブロツクから構成されている。
Microcomputer MN1400 is composed of seven functional blocks.

(1) 演算論理ユニツト部(ALU、4ビツトの
A、Bバス、ACC、テンポラリレジスタ、フ
ラツグ) (2) データメモリ部(RAM、Xレジスタ、Yレ
ジスタ) (3) プログラムカウンタ部(プログラムカウン
タ、ROM、サブルーチンスタツク) (4) インストラクシヨンデコーダ部(インストラ
クシヨンレジスタ、インストラクシヨン
PLA) (5) カウンタ部(SNSO、SNSIのセンス入力、8
ビツト非同期カウンタ) (6) 入出力部(A、B入力ポート、C、D、E出
力ポート) (7) クロツク発生部(発振器、タイミング信号) よく知られているように、マイクロコンピユー
タは、コンピユータの一種であつて、信号のやり
とりをマイクロ命令でプログラム制御しているた
め、第1図の各機能ブロツクとマイクロコンピユ
ータの各部分とを明確に一対一に対応させること
はむつかしい。
(1) Arithmetic logic unit section (ALU, 4-bit A and B buses, ACC, temporary registers, flags) (2) Data memory section (RAM, X register, Y register) (3) Program counter section (program counter, ROM, subroutine stack) (4) Instruction decoder section (instruction register, instruction
PLA) (5) Counter section (SNSO, SNSI sense input, 8
(6) Input/output section (A, B input ports, C, D, E output ports) (7) Clock generation section (oscillator, timing signal) As is well known, a microcomputer is a It is a type of microcomputer, and because the signal exchange is controlled by a program using microinstructions, it is difficult to make a clear one-to-one correspondence between each functional block in FIG. 1 and each part of the microcomputer.

しかしながら、本発明の考え方そのものは、マ
イクロコンピユータを用いた場合でも何え変わら
ない。例えば、第1図のコード変換器203,2
06,210の各コードは第4図中のROMの中
に格納されている。ただ、このマイクロコンピユ
ータMN−1400では、電源投入と同時に、そ
のROMの内容をRAMに移しかえ、RAM領域
で、コード変換を実施する。第1図の一時記憶装
置208の記憶領域も、RAMの所定の番地に設
定される。アドレスカウンタ216、第1のレジ
スタ241、第2のレジスタ243の記憶領域
も、RAMの所定番地に設定される。第1図の実
施例1では、アドレスカウンタ216として、プ
リセツト可能なカウンタを用いた。このカウンタ
機能は、マイクロコンピユータ内では、演算ユニ
ツト(ALU)、マキユームレータ(ACC)、およ
びRAMの間でのやりとり(プログラムで制御)
で達成できる。第1の計数装置240および第2
の計数装置245も、同様に第4図のRAM領域
に計数結果を積算することにより設定される。プ
リセツタブルカウンタ222は、マイクロコンピ
ユータ内蔵のカウンタを用いる。
However, the concept of the present invention itself remains the same even when a microcomputer is used. For example, code converters 203, 2 in FIG.
Each code of 06 and 210 is stored in the ROM shown in FIG. However, in this microcomputer MN-1400, as soon as the power is turned on, the contents of the ROM are transferred to the RAM, and code conversion is performed in the RAM area. The storage area of the temporary storage device 208 in FIG. 1 is also set at a predetermined address in the RAM. The storage areas of the address counter 216, first register 241, and second register 243 are also set at predetermined locations in the RAM. In the first embodiment shown in FIG. 1, a presettable counter is used as the address counter 216. Within a microcomputer, this counter function is controlled by the communication between the arithmetic unit (ALU), macromulator (ACC), and RAM (controlled by a program).
This can be achieved with The first counting device 240 and the second
The counting device 245 is similarly set by integrating the counting results in the RAM area shown in FIG. The presettable counter 222 uses a counter built into a microcomputer.

第5図はマイクロコンピユータMN1400を
用いた本発明の一実施例を示す図である。音高入
力装置、音長入力装置、動作入力装置のスイツチ
類はマトリツクスの各交点に配置されている。こ
れらのマトリツクスは出力ポートCOφ〜CO6
らの時分捜査パルスで捜査され、その挿査結果は
出力ポートAiφ〜3,Biφ〜3からマイクロコ
ンピユータMN−1400にとりこみ検索され、
これによりどの鍵を押したかが判別される。音高
スイツチは各音高に1つずつ設けられており、第
5図の場合には合計36種の音高入力が可能であ
る。音長入力装置は、スイツチの数を減らすため
に、タイ(〓)、付点を独立にして設けてある。
それ故、例えば、♪.を入力する時は♪スイツチ
とスイツチを押すことにより、音長信号がマイク
ロコンピユータMN−1400に入力される。オ
ートモード(A)、プログラムモード(P)の切
換用のスイツチ出力もマイクロコンピユータ内に
とりこまれ、判別される。反復記号(〓、〓、〓)
の回数N設定ボタンは、Co6とAi3のマトリツ
クス交点に1つ配置されている。スイツチは、1
つであるので、回数Nの設定は、たとえば、この
スイツチを押す回数によつて指定する。マイクロ
コンピユータMN1400は、4bitsのマイクロコ
ンピユータであるから、楽符の記憶装置212と
しては、256×4bitsのRAMを用いた。マイクロ
コンピユータの出力ポートEOφ〜EO3から、記
憶装置212の8ビツトの番地信号が4bitsずつ
の2回に分けて出力され、4bitsラツチを2つ用
いたラツチ301に4bitsずつ記憶される。ラツ
チ信号はD07出力から、ラツチ301に与えられ
る。記憶装置212のRAM302には、音長情
報(〓、〓、♪、〓、〓、〓、〓、〓、〓、〓、♪.、
〓.、)12種とリピート、ストツプ、ジヤンプ1、
反復〓、〓、〓の4種の動作信号の合計16種が記
憶される。RAM302の1ビツトは休符の有
無、他の1ビツトはタイの有無、残りの2bitは音
高のオクターブ情報を記憶する。RAM304
は、ノート情報(12種)を記憶する。各RAM3
02,303,304への書き込み・読出しの制
御は、出力ポートCO9,CO10,CO11のチ
ツプセレクト信号とCO8のR/W信号(リー
ド・ライト制御信号)により行われる。RAM3
03,304の音高情報6bitsは、楽音発生装置
220により、楽音信号に変換される。これは、
第1図のものと、同一である。またRAM303
の休符信号、タイ信号も、第1図の場合とまつた
く同様に、NAND回路224、AND回路22
5、NAND回路226により処理される。RAM
302の音長信号、動作信号の出力は、マイクロ
コンピユータMN1400のBiポートから、マイ
クロコンピユータにとりこまれる。それが音長情
報の時には、出力ポートCO7から、第1図のプ
リセツタブルカウンタ222のキヤリイ出力信号
に相当する音符変化信号が出る。この信号は、
NAND回路224の入力に接続され、第1図と同
様に処理される。また、RAM302の出力信号
が動作信号の場合には、リピート、ストツプ、反
復(〓、〓、〓)ジヤンプ(〓)のいずれであるか
をマイクロコンピユータは判別し、その記憶装置
212の番地をEOφ〜EO3の出力ポートから出
力し、ラツチ301にラツチする。第5図の22
3はテンポ発振器であり、第1図のそれと同一で
ある。この発振信号は、マイクロコンピユータ内
のカウンタ入力信号として、入力端子SNSIから
マイクロコンピユータにとりこまれる。
FIG. 5 is a diagram showing an embodiment of the present invention using a microcomputer MN1400. Switches for the pitch input device, tone length input device, and motion input device are arranged at each intersection of the matrix. These matrices are searched by time/minute search pulses from output ports COφ~ CO6 , and the interpolation results are sent to the microcomputer MN-1400 from output ports Aiφ~3 and Biφ~3 and searched.
This determines which key was pressed. One pitch switch is provided for each pitch, and in the case of FIG. 5, a total of 36 pitches can be input. In order to reduce the number of switches, the note length input device is provided with independent ties (〓) and dots.
Therefore, for example, ♪. To input the tone length signal, press the ♪ switch and the switch, and the tone length signal will be input to the microcomputer MN-1400. The switch output for switching between auto mode (A) and program mode (P) is also taken into the microcomputer and discriminated. Repeat symbol (〓, 〓, 〓)
One button for setting the number of times N is placed at the matrix intersection of Co6 and Ai3. The switch is 1
Therefore, the setting of the number of times N is specified by, for example, the number of times this switch is pressed. Since the microcomputer MN1400 is a 4-bit microcomputer, a 256×4-bit RAM is used as the musical note storage device 212. The 8-bit address signal of the storage device 212 is output in two parts of 4 bits each from the output ports EOφ to EO3 of the microcomputer, and is stored in 4 bits each in a latch 301 using two 4-bit latches. The latch signal is applied to latch 301 from the D07 output. The RAM 302 of the storage device 212 stores note length information (〓, 〓, ♪, 〓, 〓, 〓, 〓, 〓, 〓, 〓, ♪.
〓. , ) 12 types and repeat, stop, jump 1,
A total of 16 kinds of operation signals of 4 kinds of repetition 〓, 〓, and 〓 are stored. One bit of the RAM 302 stores the presence or absence of a rest, another one bit stores the presence or absence of a tie, and the remaining two bits store pitch octave information. RAM304
stores note information (12 types). Each RAM3
Writing/reading to and from 02, 303, and 304 is controlled by chip select signals of output ports CO9, CO10, and CO11 and an R/W signal (read/write control signal) of CO8. RAM3
The 6 bits of pitch information of 03 and 304 are converted into a musical tone signal by the musical tone generator 220. this is,
It is the same as that in FIG. Also RAM303
The rest signal and tie signal are also output from the NAND circuit 224 and the AND circuit 22, as in the case of FIG.
5. Processed by the NAND circuit 226. RAM
The output of the tone length signal and operation signal 302 is taken into the microcomputer from the Bi port of the microcomputer MN1400. When it is note length information, a note change signal corresponding to the carry output signal of the presettable counter 222 in FIG. 1 is output from the output port CO7. This signal is
It is connected to the input of the NAND circuit 224 and processed in the same manner as in FIG. In addition, when the output signal of the RAM 302 is an operation signal, the microcomputer determines whether it is a repeat, stop, repeat (〓, 〓, 〓) jump (〓), and sets the address of the storage device 212 to EOφ. ~Output from the output port of EO 3 and latch it to latch 301. 22 in Figure 5
3 is a tempo oscillator, which is the same as that in FIG. This oscillation signal is taken into the microcomputer from the input terminal SNSI as a counter input signal within the microcomputer.

第6図a,b,cは第5図の実施例の動作をフ
ローチヤートの形でまとめたものである。
6a, b, and c summarize the operations of the embodiment shown in FIG. 5 in the form of a flowchart.

なお、前述したようにマイクロコンピユータを
使用した実施例において、内部のRAMのどの部
分が第1図の実施例のどのコード変換装置に対応
するか等を説明することは非常に困難であるが、
RAM内部は予め番地割付けされているので、明
確に機能区分されている。したがつて第5図の実
施例は回路構成に若干の相違はあるが、機能、構
成面では実質的に第1図の実施例と同一である。
As mentioned above, in the embodiment using a microcomputer, it is very difficult to explain which part of the internal RAM corresponds to which code conversion device in the embodiment shown in FIG.
Since addresses are assigned in advance inside the RAM, functions are clearly divided. Therefore, although the embodiment of FIG. 5 has a slight difference in circuit configuration, it is substantially the same as the embodiment of FIG. 1 in terms of function and configuration.

楽音変化信号(CO7から出力)、タイ信号、休
符信号(各々RAM303の出力各1ビツト)
の処理は、第1図の実施例とまつたく同様であ
る。第5図の実施例は、マイクロコンピユータが
4ビツトのものであり、従つて、外部の記憶装置
212に使用したRAMも4ビツトのものであ
る。そして、自動演奏時はRAM302からし
かマイクロコンピユータにとりこんでいない。勿
論、休符信号、タイ信号をもマイクロコンピユー
タにとりこめば、CO7からは、直接的に、手演
奏時の鍵オン信号に相等する信号が得られるが、
そのためには、RAM303からもマイクロコ
ンピユータにとりこまねばならず、回路、制御、
およびコンピユータ内部での演算が複雑となる。
Musical tone change signal (output from CO7), tie signal, rest signal (1 bit each output from RAM303)
The processing is exactly the same as the embodiment shown in FIG. In the embodiment of FIG. 5, the microcomputer is a 4-bit one, and therefore the RAM used for the external storage device 212 is also a 4-bit one. During automatic performance, only the RAM 302 is loaded into the microcomputer. Of course, if you also import the rest signal and tie signal into the microcomputer, you can directly obtain a signal from CO7 that is equivalent to the key-on signal when playing by hand.
To do this, it is necessary to import the RAM 303 into the microcomputer, and the circuit, control,
And calculations inside the computer become complicated.

このように、本発明によれば、休符やタイの楽
譜情報を、種々の自動演奏装置においても、簡単
に、かつ、安価に処理することができる。
As described above, according to the present invention, musical score information for rests and ties can be easily and inexpensively processed in various automatic performance devices.

なお第1図、第5図の実施例では休符信号とタ
イ信号が共にある場合について述べたが、普及タ
イプの自動演奏装置ではタイ信号がない場合があ
る。その時は第1図、第5図のNAND回路をプリ
セツタブルカウンタ222の出力である楽譜変化
信号を単に反転するだけのインバータとして用い
ればよい。(最初より、楽譜変化信号の極性を考
慮すれば、NAND回路224は不要である)。
In the embodiments shown in FIGS. 1 and 5, a case has been described in which both a rest signal and a tie signal are present, but in a popular type automatic performance apparatus, there may be no tie signal. In that case, the NAND circuit shown in FIGS. 1 and 5 may be used as an inverter that simply inverts the musical score change signal output from the presettable counter 222. (If the polarity of the score change signal is considered from the beginning, the NAND circuit 224 is unnecessary).

上述のように本発明によれば、タイ信号または
休符信号がない時、楽譜変化信号が出ないように
することにより、手演奏時のキーオン信号に相当
する信号を(実施例ではアンド回路225から)
得ることができる。
As described above, according to the present invention, when there is no tie signal or rest signal, by preventing the score change signal from being output, the signal corresponding to the key-on signal during manual performance (in the embodiment, the AND circuit 225 from)
Obtainable.

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

第1図は、本発明の一実施例を示す回路図、第
2図は本発明の自動演奏装置の入力方法を説明す
る図、第3図は反復記号にかこまれた部分を所定
回数演奏させる方法を説明するための図、第4図
は第5図に示す他の実施例に用いたマイクロコン
ピユータMN1400のシステムブロツク図、第
5図は本発明の他の実施例を示す図、第6図a,
b,cは第5図の実施例の動作を説明するための
図である。 216……アドレスレジスタ(プリセツタブル
カウンタ)、212……記憶装置、217……リ
ード・ライト制御器、222……プリセツタブル
カウンタ、223……テンポ発振器、224,2
26……NANDゲート、225……ANDゲー
ト、220……楽音変換装置、MN1400……
マイクロコンピユータ。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, FIG. 2 is a diagram explaining an input method for the automatic performance device of the present invention, and FIG. 3 is a diagram for playing the part surrounded by repeat symbols a predetermined number of times. 4 is a system block diagram of the microcomputer MN1400 used in another embodiment shown in FIG. 5. FIG. 5 is a diagram showing another embodiment of the present invention. FIG. 6 is a diagram for explaining the method. a,
b and c are diagrams for explaining the operation of the embodiment of FIG. 5; 216... Address register (presettable counter), 212... Storage device, 217... Read/write controller, 222... Presettable counter, 223... Tempo oscillator, 224, 2
26...NAND gate, 225...AND gate, 220...musical tone conversion device, MN1400...
microcomputer.

Claims (1)

【特許請求の範囲】[Claims] 1 楽譜の音符、休符を各々1つの楽譜情報とし
て楽譜の演奏順に記憶装置の所定の番地に記憶せ
しめ、自動演奏時に順に読み出して自動演奏せし
める自動演奏装置において、自動演奏時、前記記
憶装置から読み出された音符情報から前記楽譜情
報が変化したことを示す楽譜変化信号取りだし手
段と、休符信号を取り出す休符信号取り出し手段
と、タイ信号を取り出すタイ信号取り出しと、タ
イ信号がある時前記楽譜変化信号を阻止するタイ
信号時楽譜変化信号阻止手段と、休符信号時前記
タイ信号時楽譜変化信号阻止手段の出力信号を阻
止する休符信号時楽譜変化信号阻止手段と、前記
休符信号時楽譜変化信号阻止手段の出力信号で楽
音信号の発音を制御してタイ信号がある時には音
符が変わつても楽音を切らず、また休符がある時
には楽音を発生しないように制御する楽音発生制
御手段とを具備することを特徴とする自動演奏装
置。
1. In an automatic performance device that stores notes and rests of a musical score as one piece of musical score information in the order in which the musical score is to be played in a predetermined address of a storage device, and reads them out in order and automatically performs them during automatic performance, means for extracting a musical score change signal indicating that the musical score information has changed from the read note information; a rest signal extracting means for extracting a rest signal; a tie signal extracting means for extracting a tie signal; Tie signal time score change signal blocking means for blocking a score change signal; rest signal time score change signal blocking means for blocking an output signal of the tie signal time score change signal blocking means when a rest signal is present; and a rest signal time score change signal blocking means. Musical sound generation control that controls the sounding of a musical sound signal using the output signal of the musical score change signal blocking means so that the musical sound does not cut off even if a note changes when there is a tie signal, and does not generate a musical sound when there is a rest. An automatic performance device characterized by comprising means.
JP2489378A 1978-03-03 1978-03-03 Automatic player Granted JPS54118226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2489378A JPS54118226A (en) 1978-03-03 1978-03-03 Automatic player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2489378A JPS54118226A (en) 1978-03-03 1978-03-03 Automatic player

Publications (2)

Publication Number Publication Date
JPS54118226A JPS54118226A (en) 1979-09-13
JPS6243198B2 true JPS6243198B2 (en) 1987-09-11

Family

ID=12150856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2489378A Granted JPS54118226A (en) 1978-03-03 1978-03-03 Automatic player

Country Status (1)

Country Link
JP (1) JPS54118226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH041697U (en) * 1990-04-16 1992-01-08

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5650392A (en) * 1979-09-29 1981-05-07 Kawai Musical Instr Mfg Co Automatic accompanyygenerating system
JPS5652788A (en) * 1979-10-05 1981-05-12 Nippon Musical Instruments Mfg Electronic musical instrument
JPS6025791B2 (en) * 1979-11-15 1985-06-20 ヤマハ株式会社 electronic musical instruments
JPS6026229B2 (en) * 1979-12-27 1985-06-22 ヤマハ株式会社 Automatic practice device for keyboard instruments
JPS6027988B2 (en) * 1979-12-27 1985-07-02 ヤマハ株式会社 keyboard instrument performance practice device
JPS57173893A (en) * 1981-04-20 1982-10-26 Ricoh Watch Regenerating system for data of music
JPS58198093A (en) * 1982-05-14 1983-11-17 沖電気工業株式会社 Electronic signal tone generation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH041697U (en) * 1990-04-16 1992-01-08

Also Published As

Publication number Publication date
JPS54118226A (en) 1979-09-13

Similar Documents

Publication Publication Date Title
US4344344A (en) Electronic musical instrument having musical performance training system
US4448104A (en) Electronic apparatus having a tone generating function
JPS6243198B2 (en)
US4519044A (en) Small-sized electronic calculator capable of functioning as a musical instrument
JPH079586B2 (en) Automatic musical instrument accompaniment device
US4413543A (en) Synchro start device for electronic musical instruments
US4375776A (en) Tone property control device in electronic musical instrument
US4037212A (en) Information processing system
JPS6238713B2 (en)
US4294154A (en) Music tone generating system
JPS6243197B2 (en)
GB2091470A (en) Electronic Musical Instrument
JPS5936787B2 (en) Input/output information deletion method
US5101707A (en) Automatic performance apparatus of an electronic musical instrument
US4643068A (en) Electronic musical instrument with automatic rhythm playing unit
JPS628795B2 (en)
US4336598A (en) Electronic calculator with musical note generation
JPH0617197Y2 (en) Electronic musical instrument
JPS6041598Y2 (en) Automatic accompaniment device for electronic musical instruments
JPS61256391A (en) Automatic performer
US4403334A (en) Monolithically integrable semiconductor circuit
JPS54137317A (en) Musical sound memory for electronic instrument
JPS6326875Y2 (en)
JPS6331788B2 (en)
JP2698832B2 (en) Music score information input device