JPH045193B2 - - Google Patents
Info
- Publication number
- JPH045193B2 JPH045193B2 JP57232565A JP23256582A JPH045193B2 JP H045193 B2 JPH045193 B2 JP H045193B2 JP 57232565 A JP57232565 A JP 57232565A JP 23256582 A JP23256582 A JP 23256582A JP H045193 B2 JPH045193 B2 JP H045193B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- musical tone
- switch
- rest
- latch
- 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
Links
- 238000012545 processing Methods 0.000 claims description 16
- 238000004904 shortening Methods 0.000 claims 1
- 238000000034 method Methods 0.000 description 57
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 51
- 238000012546 transfer Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 12
- 238000012937 correction Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000004807 localization Effects 0.000 description 6
- 230000015654 memory Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000033764 rhythmic process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 101000639461 Rattus norvegicus Small nuclear ribonucleoprotein-associated protein B Proteins 0.000 description 1
- 101100421708 Schistosoma mansoni SM20 gene Proteins 0.000 description 1
- 102100031013 Transgelin Human genes 0.000 description 1
- 235000009508 confectionery Nutrition 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000012958 reprocessing Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、メモリに記憶されている所定の楽
音情報を読出して再生し自動演奏を行なう自動演
奏装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an automatic performance device that reads and reproduces predetermined musical tone information stored in a memory to perform automatic performance.
従来から、メモリ内の楽音情報を読出し再生し
て自動演奏を行なう電子楽器が開発され、実用化
されている。
2. Description of the Related Art Electronic musical instruments that perform automatic performance by reading and reproducing musical tone information in a memory have been developed and put into practical use.
先頭の楽音情報が休符を示す情報になつている
楽曲を自動演奏させる場合、自動演奏の開始を指
示してから実際に楽音が発生し始めるまでの間に
無音状態が続き好ましくない。
When automatically playing a piece of music in which the musical tone information at the beginning is information indicating a rest, it is undesirable that a silent state continues from the time when the start of automatic performance is instructed until the musical tone actually starts to be generated.
休符から始まる楽曲の自動演奏を行う場合であ
つても、自動演奏の開始の指示後直ちに楽音の発
生が開始されるような自動演奏装置を実現するこ
とである。
To realize an automatic performance device that starts generating musical tones immediately after an instruction to start automatic performance is given even when automatically playing a piece of music starting from a rest.
〔発明の要点〕
休符から始まる楽曲の自動演奏を開始する際
に、該休符を無視したり該休符の休符長を短縮し
たりするようにした点である。[Summary of the Invention] When starting automatic performance of a piece of music starting from a rest, the rest is ignored or the length of the rest is shortened.
以下、図面を参照してこの発明の実施例を説明
する。第1図は自動演奏機能を備えた電子楽器の
全体構成を示す回路図である。鍵盤スイツチ部1
には、複数の鍵と、音色、ビブラート、サステイ
ン、ステレオの音像定位、ノーマルリズム、フル
インリズム、自動伴奏等、各種効果を得るための
各種スイツチ、更に、後述するRAM(ランダム
アクセスメモリ)のチヤンネル指定スイツチ等が
備えられている。例えば、リセツトスイツチ1
A、リバーススイツチ1B、レコードスイツチ1
C、エンドキー1D等であり、これら機能につい
ては後述する。そしてCPU(中央処理装置)2
は、周期的にバスラインB1を介しキースキヤン
信号を出力して鍵盤スイツチ部1をスキヤンし、
またこれに応じて鍵盤スイツチ部1からは、各鍵
やスイツチからの出力信号が出力してバスライン
B2を介し、CPU2に与えられる。CPU2はこ
れに対して、例えば楽音作成部3に対しバスライ
ンB3を介し楽音生成指令情報を与え、メロデイ
や自動伴奏の楽音信号を作成させ、それを定位制
御部4に供給させる。また、CPU2は、前記
RAM5内にプリセツトされている音像定位情報
にしたがつた制御情報をバラインB4に出力し
て、前記音像定位制御部4へ与え、前記楽音信号
に対する音像定位を設定させて左右のスピーカ6
R、6Lへ対応する信号を出力させ、楽音を放音
させる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit diagram showing the overall configuration of an electronic musical instrument equipped with an automatic performance function. Keyboard switch part 1
It has multiple keys and various switches for obtaining various effects such as tone, vibrato, sustain, stereo sound localization, normal rhythm, full-in rhythm, and automatic accompaniment, as well as RAM (random access memory) described later. It is equipped with a channel designation switch, etc. For example, reset switch 1
A, reverse switch 1B, record switch 1
C, end key 1D, etc., and their functions will be described later. and CPU (Central Processing Unit) 2
scans the keyboard switch section 1 by periodically outputting a key scan signal via the bus line B1,
In response, the keyboard switch unit 1 outputs output signals from each key and switch and provides them to the CPU 2 via the bus line B2. In response to this, the CPU 2 gives, for example, musical tone generation command information to the musical tone generating section 3 via the bus line B3, and causes the musical tone signal of a melody or automatic accompaniment to be generated and supplied to the localization control section 4. In addition, CPU2 is
Control information in accordance with the sound image localization information preset in the RAM 5 is output to the balance line B4 and given to the sound image localization control section 4, which sets the sound image localization for the musical sound signal and outputs the control information to the left and right speakers 6.
Corresponding signals are output to R and 6L to emit musical tones.
RAM5は、CPU2がバスラインB5を介して
アドレスレジスタ7に供給するアドレス制御情報
にしたがつてデータの読出し、書込みの各動作を
制御される。そして、CPU2とRAM5間ではバ
スラインB6を介してデータの授受が行なわれ
る。この場合、RAM5には楽曲の音高、音長、
休符を示す楽音情報(以後、便宜上メロデイ情報
と称する。)と、音色、ビブラート、サステイン、
音像定位、フイルインリズムのオン、オフ等の各
種の効果を得るための演奏情報が異なるエリアに
夫々記憶される。そしてアドレスレジスタ7には
前記メロデイ情報と演奏情報との各々に対して1
づつ独立したアドレスカウンタが設けられてお
り、これにより、自動演奏時には、前記メロデイ
情報と演奏情報とがメロデイ進行にしたがつて、
並列的に且つ同時に読出され、自動演奏が行なえ
るようになつている。 Data read and write operations of the RAM 5 are controlled in accordance with address control information supplied by the CPU 2 to the address register 7 via the bus line B5. Data is exchanged between the CPU 2 and the RAM 5 via the bus line B6. In this case, RAM5 stores the pitch, length, etc. of the song.
Musical tone information indicating rests (hereinafter referred to as melody information for convenience), tone, vibrato, sustain,
Performance information for obtaining various effects such as sound image localization, fill-in rhythm on/off, etc. is stored in different areas, respectively. The address register 7 contains 1 for each of the melody information and performance information.
An independent address counter is provided for each, so that during automatic performance, the melody information and performance information are updated as the melody progresses.
They are read out in parallel and simultaneously, allowing for automatic performance.
録音部8は、CPU2からバスラインB7を介
して与えられる時間情報(データD7〜D0)およ
び再生部9からバスラインB11を介し与えられ
る時間情報(データTD7〜TD0)から音長を表わ
す時間情報(データI7〜I0)を作成し、バスライ
ンB8を介し、CPU2へ供給し、RAM5へ前記
メロデイ情報または演奏情報として書込ませる。 The recording section 8 calculates the tone length from the time information (data D 7 to D 0 ) given from the CPU 2 via the bus line B7 and the time information (data TD 7 to TD 0 ) given from the playback section 9 via the bus line B11. time information (data I 7 to I 0 ) representing the time is created, is supplied to the CPU 2 via the bus line B8, and is written into the RAM 5 as the melody information or performance information.
再生部9は、RAM5から再生時に読出される
前記メロデイ情報および演奏情報にしたがつた情
報をCPU2からバスラインB9を介し与えられ
て再生処理のためのデータを作成し、それをバス
ラインB10を介しCPU2に与え、また、前述
したように、録音時において録音部8に対し、時
間情報を与える。なお、CPU2はこの電子楽器
のすべての動作を制御するプロセツサであり、そ
の詳細については説明を省略する。また、前記録
音部8、再生部9は共に、前記アドレスカウンタ
を2つ設けたことと同一理由により、同一回路が
複数設けられ、夫々独立して動作するようになつ
ている。 The playback unit 9 receives information in accordance with the melody information and performance information read from the RAM 5 during playback from the CPU 2 via the bus line B9, creates data for playback processing, and sends the data to the bus line B10. Also, as mentioned above, time information is given to the recording unit 8 during recording. Note that the CPU 2 is a processor that controls all operations of this electronic musical instrument, and a detailed explanation thereof will be omitted. Furthermore, for the same reason as the provision of the two address counters, both the recording section 8 and the reproducing section 9 are provided with a plurality of identical circuits, each of which operates independently.
次に、第2図を参照して、前記鍵盤スイツチ部
1上の他のスイツチ類につき説明する。スタート
スイツチ1Eは、録音スタート指令を入力するた
めのスイツチである。また、第1チヤンネル指定
スイツチ1F1、第2チヤンネル指定スイツチ1
F2は夫々、前記RAM5の第1チヤンネル、第
2チヤンネルを指定するスイツチであり、メロデ
イの楽音情報の録音時に前記レコードスイツチ1
Cと同時に操作する。この場合スイツ1F1と1
Cとを同時に操作すると、第1チヤンネルが指定
され、スタートスイツチ1Eを操作した後、鍵を
操作すると、所定のメロデイの楽音情報がRAM
5に書込まれる。他方、スイツチ1F2と1Cと
を同時に操作すると、第2チヤンネルが指定さ
れ、スタートスイツチ1Eを操作した後、鍵を操
作すると、他のメロデイの楽音情報がRAM5に
書込まれる。而して、例えば第1チヤンネルには
じめにメロデイを書込んでおいたとすると、第2
チヤンネルに他のメロデイを書込むときには、ス
イツチ1F1のみをオンした後、前記スイツチ1
F2と1Cとを共に同時に操作し、次にスタート
スイツチ1Eを操作することにより、第1チヤン
ネルのメロデイが再生され、それを聞きながら第
2チヤンネルに他のメロデイを書き込めるように
なつている。更に、プレイスイツチ1Gは、上述
のようにしてRAM5の第1チヤンネルおよび第
2チヤンネルに夫々書込んだ2つのメロデイを同
時に読出し再生させて自動演奏させるためのスイ
ツチである。 Next, other switches on the keyboard switch section 1 will be explained with reference to FIG. The start switch 1E is a switch for inputting a recording start command. Also, a first channel designation switch 1F1, a second channel designation switch 1
F2 is a switch for specifying the first channel and second channel of the RAM 5, respectively, and the record switch 1 is used when recording musical tone information of a melody.
Operate at the same time as C. In this case, Sweets 1F1 and 1
If you operate C at the same time, the first channel will be designated, and if you operate the key after operating start switch 1E, the musical tone information of the predetermined melody will be stored in the RAM.
5 is written. On the other hand, when the switches 1F2 and 1C are operated simultaneously, the second channel is designated, and when the start switch 1E is operated and then the key is operated, musical tone information of another melody is written into the RAM 5. For example, if you first write a melody to the first channel, then the second
When writing another melody to the channel, turn on only switch 1F1, and then turn on switch 1F1.
By operating both F2 and 1C at the same time and then operating the start switch 1E, the melody of the first channel is played, and while listening to it, another melody can be written to the second channel. Further, the play switch 1G is a switch for simultaneously reading out and playing back the two melodies written in the first channel and the second channel of the RAM 5, respectively, as described above, so that they are automatically played.
次に、第3図により前記録音部8の構成を説明
する。PRラツチ11には、通常は再生部9内の
後述するUP/downカウンタの計数出力がデータ
TD7〜TD0としてトランスフアゲート群12を介
し入力し、CPU2が信号LATを出力するとき、
それをラツチする。また、再生時に一時再生動作
が停止されてリバーススイツチ1Bの操作により
巻き戻しが行なわれ、次いであらたな録音が開始
されたときには、PRラツチ11のラツチデータ
がCPU2を介して、前記再生部8内の後述する
フルアダーへ送出されると共に、逆にそのときの
前記フルアダーの出力データがCPU2を介し、
データD7〜D0として、トランフアーゲート群1
3を更に介し、PRラツチ11へラツチされる。
そして、PRラツチ11へラツチされたデータは、
減算器14のB入力端子(B7〜B0)へ印加さ
れる。また、減算器14のA入力端子(A7〜A
0)には、前記データTD7…TD0が入力する。而
して減算器14は、A入力端子の入力データから
B入力端子の入力データを減算し、その結果デー
タI7〜I0をCPU2を介して、RAM5へ送出
し記憶させる。このデータI7〜I0は、メロデ
イ情報の場合にはキーオン時間およびキーオフ時
間を与える時間データを示し、他方、効果の前記
他の楽音情報の場合には、その効果の発生期間を
示す時間データである。なお、トランスフアーゲ
ート群12は、CPU2が出力する信号CHをイン
バータ15を介してそのゲートに印加され、また
トラスフアーゲート群13は、信号CHをそのゲ
ートに直接印加されて共にゲート制御される。 Next, the configuration of the recording section 8 will be explained with reference to FIG. The PR latch 11 normally contains the count output of the UP/DOWN counter (described later) in the playback unit 9 as data.
When the signal LAT is input as TD 7 to TD 0 through the transfer gate group 12 and the CPU 2 outputs the signal LAT,
latch it. Also, when the playback operation is temporarily stopped during playback, rewinding is performed by operating the reverse switch 1B, and then new recording is started, the latch data of the PR latch 11 is transferred via the CPU 2 to the playback section 8. The output data of the full adder at that time is sent to the full adder described later, and conversely, the output data of the full adder at that time is sent to the full adder, which will be described later.
As data D 7 to D 0 , transfer gate group 1
3, it is further latched to PR latch 11.
Then, the data latched to the PR latch 11 is
It is applied to the B input terminals (B7 to B0) of the subtracter 14. In addition, the A input terminal of the subtracter 14 (A7 to A
0), the data TD 7 ...TD 0 are input. The subtracter 14 subtracts the input data at the B input terminal from the input data at the A input terminal, and sends the resulting data I7 to I0 to the RAM 5 via the CPU 2 for storage. In the case of melody information, this data I7 to I0 indicates time data giving a key-on time and key-off time, and on the other hand, in the case of the other musical tone information of an effect, it is time data indicating the generation period of the effect. . The transfer gate group 12 has the signal CH output from the CPU 2 applied to its gate via the inverter 15, and the transfer gate group 13 is gate-controlled by having the signal CH directly applied to its gate. .
次に、前記再生部9の構成を第6図を参照して
説明する。UP/downカウンタ17は、8ビツト
構成のカウンタであり、CPU2が録音や再生の
開始時にクリア信号CLRを出力してクリアされ
たのちは、テンポ発振器18がその出力端子Pか
ら出力する信号にもとづくクロツクを計数する計
数動作を行なう。 Next, the configuration of the reproducing section 9 will be explained with reference to FIG. 6. The UP/down counter 17 is an 8-bit counter, and after being cleared by the CPU 2 outputting a clear signal CLR at the start of recording or playback, the UP/down counter 17 is reset based on the signal output from the output terminal P of the tempo oscillator 18. Performs a counting operation that counts clocks.
茲で、前記テンポ発振器18の発振出力の周波
数はテンポボリユーム19によつて可変であり、
そしてテンポ発振器18の出力は、アンドゲート
20に入力する。このアンドゲート20の他端に
は、テンポストツプスイツチESWの出力が入力
してゲート制御を行なわれ、而してアンドゲート
20の出力はT型フリツプフロツプ21およびト
ランスフアーゲート23に入力する。また、フリ
ツプフロツプ21のセツト出力は、T型フリツプ
フロツプ22およびトランスフアーゲート24に
入力する。更にフリツプフロツプ22のセツト出
力は、トランスフアーゲート25に入力する。そ
してトランスフアーゲート23,24,25の各
ゲートには夫々、何れか1個のみがオン状態とな
る三連ロツク式スイツチからなるテンポ加速スイ
ツチCSW、ノーマルスイツチFSW、スローテン
ポスイツチDSWの各出力が印加され、ゲート制
御される。そして各トランスフアーゲート23,
24,25の各出力が前記クロツクとしてUP/
downカウンタ17にオアゲート37を介し印加
され、計数される。而してフリプフロツプ21,
22は分周回路を形成し、テンポ発振器18の出
力に対してフリツプフロツプ21,22の各出力
は夫々、その周波数が1/2、1/4となつている。 Furthermore, the frequency of the oscillation output of the tempo oscillator 18 is variable by a tempo volume 19;
The output of the tempo oscillator 18 is then input to an AND gate 20. The output of the tempo switch ESW is input to the other end of the AND gate 20 for gate control, and the output of the AND gate 20 is input to a T-type flip-flop 21 and a transfer gate 23. Further, the set output of the flip-flop 21 is input to a T-type flip-flop 22 and a transfer gate 24. Furthermore, the set output of flip-flop 22 is input to transfer gate 25. Each of the transfer gates 23, 24, and 25 has an output of a tempo acceleration switch CSW, a normal switch FSW, and a slow tempo switch DSW, each of which is a triple lock type switch in which only one is in the on state. applied and gated. and each transfer gate 23,
Each output of 24 and 25 is used as the clock UP/
The signal is applied to the down counter 17 via the OR gate 37 and counted. So flipflop 21,
Reference numeral 22 forms a frequency dividing circuit, and the frequencies of the outputs of the flip-flops 21 and 22 are respectively 1/2 and 1/4 of the output of the tempo oscillator 18.
更に、またテンポ発振器18は図示の如く、そ
の出力端子Hiから、前記出力端子Pから出力す
る信号より高速(高周波数)の信号を出力し、ト
ランスフアーゲート36,オアゲート37を介し
前記up/downカウンタ17へクロツクとして印
加する。これはRAM5の少なくとも何れか一方
のチヤンネルのメロデイの最初の楽音情報として
休符情報が含まれていた場合、CPU2は、その
休符情報を検出してから、実際に発音される第1
楽音の楽音情報が読出されるまでの間、前記トラ
ンスフアーゲート36を開成させる“1”レベル
のゲート制御信号FFを出力して前記高速のクロ
ツクをup/downカウンタ17に印加し、これに
より、RAM5に対する早送りの読出し処理を行
なわせて休符情報による無音期間の発生を禁止す
るためである。 Furthermore, as shown in the figure, the tempo oscillator 18 outputs from its output terminal Hi a signal faster (higher frequency) than the signal output from the output terminal P, and passes through the transfer gate 36 and OR gate 37 to the up/down signal. It is applied to counter 17 as a clock. This means that if rest information is included as the first tone information of the melody of at least one channel of RAM 5, the CPU 2 detects the rest information and then starts the first tone that is actually sounded.
Until the musical tone information of the musical tone is read out, the gate control signal FF of "1" level is outputted to open the transfer gate 36, and the high speed clock is applied to the up/down counter 17, thereby: This is to prevent the generation of silent periods due to rest information by performing fast-forward read processing for the RAM 5.
前記up/downカウンタ17のアツプカウント
動作およびダウンカウント動作の制御は夫々、フ
リツプフロツプ26のセツト出力信号UP
によつて行なわれる。即ち、フリツプフロツプ2
6のセツト入力端子S、リセツト入力端子Rには
夫々、二連ロツク式スイツチから成る順転スイツ
チBSW、逆転スイツチASW(第1図のリバース
スイツチ1Bと同一)の各出力が入力している。
そして、UP/DOWNカウンタ17の各ビツト出
力は対応する排他的オアゲート277〜270の各
一端に入力するほか、データTD7〜TD0として録
音部8へ送出される。また、排他的オアゲート2
77〜270の各他端には、容量8ビツトのNEラ
ツチ28の対応する各ビツト出力が入力してい
る。そして、排他的オアゲート277〜270の各
出力はノアゲート29に入力し、更にノアゲート
29の出力は一致信号として、CPU2へ供給さ
れる。即ち、排他的オアゲート277〜270およ
びノアゲート29は、一致回路を形成している。 The up-count operation and down-count operation of the up/down counter 17 are controlled by the set output signal UP of the flip-flop 26, respectively.
It is carried out by. That is, flip-flop 2
The outputs of a forward switch BSW and a reverse switch ASW (same as the reverse switch 1B in FIG. 1) each consisting of a double lock type switch are input to the set input terminal S and the reset input terminal R of 6, respectively.
Each bit output of the UP/DOWN counter 17 is input to one end of each of the corresponding exclusive OR gates 277 to 270 , and is also sent to the recording section 8 as data TD7 to TD0 . Also, exclusive or gate 2
Corresponding bit outputs of an 8-bit capacity NE latch 28 are input to the other ends of the pins 77 to 270 . The respective outputs of the exclusive OR gates 27 7 to 27 0 are input to the NOR gate 29, and the output of the NOR gate 29 is further supplied to the CPU 2 as a match signal. That is, the exclusive OR gates 27 7 to 27 0 and the NOR gate 29 form a matching circuit.
前記NEラツチ28は、CPU2がラツチクロツ
クを出力するときに、フルアダー30のS出力端
子S7〜S0からの加算または減算の結果データがラ
ツチされる。また、NEラツチ28は、録音動作
および再生動作の開始時においては、CPU2が
出力するクリア信号CLRを印加されてクリアさ
れる。前記フルアダー30のA入力端子A7〜A0
には、NEラツチ28をラツチデータがトランス
フアーゲート群31を介し帰還して入力する。ま
た、B入力端子B7〜B0には、排他的オアゲート
327〜320の出力が入力し、更にキヤリー入力
端子CINには、アンドゲート33の出力がインバ
ータ34、トランスフアーゲート35を介して入
力している。而して排他的オアゲート327〜3
20の各一端には録音部8内のPRラツチ11から
の時間データが再生時の巻き戻しを行なつたのち
訂正のためのあらゆる録音動作を行なうときの鍵
操作に応じて入力する。また、各他端には、前記
アンドゲート33の出力がインバータ34、トラ
ンスフアーゲート35を介し印加されている。 The NE latch 28 latches the addition or subtraction result data from the S output terminals S 7 -S 0 of the full adder 30 when the CPU 2 outputs a latch clock. Further, the NE latch 28 is cleared by applying a clear signal CLR output from the CPU 2 at the start of recording and reproducing operations. A input terminals A7 to A0 of the full adder 30
In this case, the latch data is fed back to the NE latch 28 via the transfer gate group 31 and inputted thereto. Further, the outputs of the exclusive OR gates 32 7 to 32 0 are input to the B input terminals B 7 to B 0 , and the output of the AND gate 33 is input to the carry input terminal C IN . I am inputting it through. Therefore, exclusive or gate 32 7 ~3
20 , time data from the PR latch 11 in the recording section 8 is input in response to key operations when performing any recording operation for correction after rewinding during playback. Further, the output of the AND gate 33 is applied to each other end via an inverter 34 and a transfer gate 35.
アンドゲート33にはフリツプフロツプ33の
セツト出力およびCPU2が出力する信号Rが入
力している。この信号Rは、通常は“1”として
出力され、而して前記録音訂正時に一時的に
“0”として出力される。そしてアンドゲート3
3の出力はCPU2へ送出される。また、トラン
スフアーゲート群31およびトランスフアーゲー
ト35はCPU2が出力する信号CHRによつてゲ
ート制御されるが、この信号CHRは録音時に修
正を行なう場合に一時的に“0”としてCPU2
か出力される信号である。更に前記トランスフア
ーゲート群31から出力するNEラツチのラツチ
データは再生時のデータ修正時に前記PRラツチ
11へ送出される。 The set output of the flip-flop 33 and the signal R output from the CPU 2 are input to the AND gate 33. This signal R is normally output as "1" and is temporarily output as "0" during the recording correction. and and gate 3
The output of 3 is sent to CPU2. Further, the transfer gate group 31 and the transfer gate 35 are gate-controlled by the signal CHR outputted by the CPU 2, but this signal CHR is temporarily set to "0" when making corrections during recording.
is the output signal. Furthermore, the latch data of the NE latch output from the transfer gate group 31 is sent to the PR latch 11 when data is corrected during reproduction.
更に減算器38のA入力端子、B入力端子に
は、夫々、NEラツチ28のラツチデータ、up/
downカウンタ17の計数値データが夫々入力し
ており、而して減算器38は、前記RAM5の早
送り処理の際、ラツチデータから計数値データを
減算し、その結果データをNEラツチ28に与え
てラツチさせる。 Furthermore, the latch data of the NE latch 28 and up/down are input to the A input terminal and the B input terminal of the subtracter 38, respectively.
The count value data of the down counter 17 is input respectively, and the subtracter 38 subtracts the count value data from the latch data during the fast-forwarding process of the RAM 5, and provides the resulting data to the NE latch 28 to latch. let
次に第9図の楽譜に示す2つの曲(輪唱形態の
曲)をRAM5の第1チヤンネル、第2チヤンネ
ルに夫々録音し、またそれらを再生する動作を説
明する。先ず、録音の場合の動作から第4図のフ
ローチヤートを参照して説明する。而して最初に
再生される曲を、前記第1チヤンネルに、後の曲
を第2チヤンネルに録音するものと仮定する。ま
た、曲のメロデイ情報は、鍵盤スイツチ部1の鍵
操作による通常の演奏によつてRAM5に書込ま
れる。 Next, an explanation will be given of the operation of recording the two pieces of music shown in the musical score of FIG. 9 (round-singing pieces) on the first channel and the second channel of the RAM 5, respectively, and reproducing them. First, the operation in the case of recording will be explained with reference to the flowchart of FIG. Assume that the first song to be played is recorded on the first channel, and the subsequent songs are recorded on the second channel. Further, the melody information of the song is written into the RAM 5 by normal performance by key operations on the keyboard switch section 1.
録音開始に先だつてレコードスイツチ1Cと第
1チヤンネル指定スイツチ1F1とを同時押し
し、RAM5の第1チヤンネルに対し録音指令を
入力する。次にスタートスイツチ1Eをオンし、
録音スタート指令の入力後、最初の曲の演奏を開
始する。而してクリア信号の出力は、バスライン
B2を介しCPU2に入力し、CPU2はこれに応
じて第4図のフローチヤートのステツプRM1の
処理を行なう。即ち、クリア信号CLRをバスラ
インB7,B9に夫々出力し、PRラツチ11、
NEラツチ28、UP/downカウンタ17を夫々
クリアする。次いでCPU2はアドレスレジスタ
7内のメロデイ情報に対するアドレスカウンタに
対し、RAM5のメロデイ情報に対する先頭番地
を設定するためのアドレス制御情報をバスライン
B5に出力して設定する(ステツプRM2)。次に
CPU2はバスラインB6にデータNOPを出力し
て、RAM5の前記先頭番地(0番地)に書込
む。第5図にその記憶状態を模式的に示してい
る。而して、このデータNOP(NO
OPERATION)は、休符を示すデータである。
以上はステツプRM3の処理である。そして次に
CPU2はアドレスレジスタ7の前記アドレスカ
ウンタ(以下は単にアドレスレジスタ7で代弁す
る)を+1するステツプRM4のインクリメント
処理を行ない、1番地を設定する。次にリセツト
スイツチ1Aのオン操作の有無の判断処理がステ
ツプS5によつて行なわれる。而して、このリセツ
トスイツチ1Aは録音訂正を行なう際にオン操作
するスイツチであり、オンすると、ステツプ
RM1の処理に戻り、初期状態に設定される。他
方、オンされていないときには、ステツプRM6
に進行し、エンドキー1Dがオン操作されたか否
かが判断される。而してこのエンドキー1Dは、
メロデイ情報の入力終了時にオンしてRAM5に
入力した前記メロデイ情報の最後にエンドコード
を書込むためのスイツチであり、したがつてエン
ドキー1Dをオンしたとき(Y「YES」)には、
ステツプRM7に進行して上述した処理が実行さ
れる。然し、いまはエンドキー1Dはオンされな
いから(N「NO」)、ステツプRM8に進行し、リ
バーススイツチ1B(逆転スイツチASW)がオン
されたか否かの判断処理が実行される。而してオ
ンしたときには、ステツプRM9の録音待機状態
へ移るための処理が実行されるが、この処理につ
いては、後に詳細に説明する。そしていまは勿
論、リバースイツチ1Bはオンされていず、ステ
ツプRM10に進行し、鍵操作の有無が判断され
る。そして第9図の最初の曲のメロデイの第1楽
音(音高C3の楽音)の鍵がオンされてメロデイ
演奏が実際に開始されるまでの間は、ステツプ
RM10、RM5、RM6、RM8、RM10、…が繰返さ
れる。そしてC3の鍵が演奏開始後、2分休符分
の時間をおいてオンされると、ステツプRM11に
進行し、押鍵か離鍵かの判断処理が実行され、押
鍵であるかステツプRM12に進行し、CPU2は音
高C3のキーコードと押鍵データであるこを示す
ために、前記キーコードのMSB(最上位ビツト)
にデータ「0」を付加する処理を実行して楽音情
報を算出する。そして、それをバスラインB3を
介して楽音作成部3へ与え、スピーカ6R,6L
から放音される(ステツプRM13)。次にステツ
プRM16に進行し、CPU2は信号CHを“0”に
設定して以後の通常時は、トランスフアーゲート
群12を常時開成させ、且つトランスフアーゲー
ト群13を常時閉成させる。これにより再生部9
において上述したステツプRM1のクリア処理後、
設定テンポのクロツクを入力して計数動作(な
お、いま順転スイツチBSWはオンされてフリツ
フフロツプ26がセツトされており、アツプカウ
ント動作が実行中である)を既に実行中である
UP/downカウンタ17の計数出力(2分休符に
相当する時間データ)がデータTD7〜TD0として
バスラインB11、トランスフアーゲート12群
を介してPRラツチ11および減算器14のA入
力端子へ入力されるようになる。そして、減算器
14は、A入力端への入力データからB入力端へ
のPRラツチ11からの入力データを減算し、こ
の結果を時間データとしてCPU2に出力する。
次いでステツプRM17の処理が実行され、CPU2
はPRラツチ11に信号LATを印加し、そのとき
入力中のデータをPRラツチ11にラツチさせ、
そのラツチデータを以後、保持させると共に、減
算器14のB入力端子へ印加させる。一方、これ
に並行してステツプRM18が実行される。而して
減算器14の両入力端子への入力データは夫々、
2分休符の時間データと、頭初クリアされたPR
ラツチ11のラツチデータ「0」であり、したが
つてそのときの結果データI7〜I0は前記2分休符
の時間データであり、RAM5の前記1番地に首
込まれる。第5図には、この結果データを2分休
符長の時間データという意味で「T8」と示すこ
とにする。次にアドレスレジスタ7は+1されて
2番地を設定され(ステツプRM19)、またこの
RAM5の2番地に既に算出されている押鍵コー
ド、即ち、前記キーコード(C3)と押鍵データ
(「0」)が書込まれる(ステツプRM20)。そして
アドレスレジスタ7が+1されて3番地が設定さ
れ(ステツプRM21)、ステツプRM5に復帰する。 Prior to starting recording, record switch 1C and first channel designation switch 1F1 are pressed simultaneously to input a recording command to the first channel of RAM5. Next, turn on the start switch 1E,
After inputting the recording start command, the first song starts playing. The output of the clear signal is input to the CPU 2 via the bus line B2, and the CPU 2 accordingly performs the process of step RM1 in the flowchart of FIG. That is, the clear signal CLR is output to the bus lines B7 and B9, respectively, and the PR latch 11,
Clear the NE latch 28 and UP/down counter 17, respectively. Next, the CPU 2 sets the address counter for the melody information in the address register 7 by outputting address control information for setting the starting address for the melody information in the RAM 5 to the bus line B5 (step RM 2 ). next
The CPU 2 outputs data NOP to the bus line B6 and writes it to the start address (address 0) of the RAM 5. FIG. 5 schematically shows the storage state. Therefore, this data NOP (NO
OPERATION) is data indicating a rest.
The above is the process of step RM3 . and then
The CPU 2 increments the address counter of the address register 7 (hereinafter simply referred to as the address register 7) by 1 in step RM4 , and sets address 1. Next, in step S5 , it is determined whether or not the reset switch 1A has been turned on. This reset switch 1A is a switch that is turned on when correcting the recording, and when turned on, the step
Returns to RM 1 processing and is set to the initial state. On the other hand, when not turned on, step RM 6
Then, it is determined whether the end key 1D has been turned on. Therefore, this end key 1D is
This is a switch that is turned on when the input of melody information is completed to write an end code at the end of the melody information that has been input into the RAM 5. Therefore, when the end key 1D is turned on (Y "YES"),
The process advances to step RM7 and the above-described processing is executed. However, since the end key 1D is not turned on at this time (N "NO"), the program proceeds to step RM8 , and a process for determining whether or not the reverse switch 1B (reverse switch ASW) is turned on is executed. When it is turned on, the process of moving to the recording standby state in step RM9 is executed, and this process will be explained in detail later. Of course, the reverse switch 1B is not turned on at this time, and the process proceeds to step RM10 , where it is determined whether or not the key has been operated. Then, until the key of the first musical tone (musical tone of pitch C 3 ) of the melody of the first song in Figure 9 is turned on and the melody performance actually starts, there are no steps.
RM 10 , RM 5 , RM 6 , RM 8 , RM 10 ,... are repeated. When the C 3 key is turned on after a half-rest interval after the performance starts, the process proceeds to step RM 11 , where a process to determine whether the key is pressed or released is executed. Proceeding to step RM 12 , the CPU 2 inputs the MSB (most significant bit) of the key code to indicate that it is the key code and key press data for pitch C 3 .
The musical tone information is calculated by adding data "0" to the data. Then, it is given to the musical tone creation section 3 via the bus line B3, and is sent to the speakers 6R and 6L.
(Step RM 13 ). Next, the process proceeds to step RM16 , where the CPU 2 sets the signal CH to "0", and thereafter, in normal times, the transfer gate group 12 is always open and the transfer gate group 13 is always closed. As a result, the playback section 9
After clearing step RM 1 mentioned above,
The clock at the set tempo is input and the counting operation is already in progress (the forward switch BSW is currently on, the flip-flop 26 is set, and the up-counting operation is in progress).
The count output of the UP/down counter 17 (time data corresponding to a half-minute rest) is sent as data TD 7 to TD 0 to the A input terminal of the PR latch 11 and the subtracter 14 via the bus line B 11 and the 12 groups of transfer gates. will be input to. Then, the subtracter 14 subtracts the input data from the PR latch 11 to the B input terminal from the input data to the A input terminal, and outputs this result to the CPU 2 as time data.
Next, the process of step RM17 is executed, and the CPU2
applies the signal LAT to the PR latch 11, causing the data being input at that time to be latched in the PR latch 11,
Thereafter, the latch data is held and applied to the B input terminal of the subtracter 14. Meanwhile, step RM18 is executed in parallel. Therefore, the input data to both input terminals of the subtracter 14 are as follows.
Time data of half-minute rest and PR cleared at the beginning
The latch data of the latch 11 is "0", and therefore the resulting data I 7 to I 0 at that time is the time data of the half rest, and is stored in the address 1 of the RAM 5. In FIG. 5, this resultant data is indicated as "T8" which means time data of half-rest length. Next, address register 7 is incremented by 1 to set address 2 (step RM 19 ), and this
The already calculated key press code, that is, the key code (C 3 ) and the key press data ("0") are written into address 2 of the RAM 5 (step RM 20 ). Then, the address register 7 is incremented by 1 to set address 3 (step RM 21 ), and the process returns to step RM 5 .
次にステツプRM5、RM6、RM8を介しステツ
プRM10にて前記鍵の離鍵操作が判断されると、
ステツプRM14に進行して前記音高C3のキーコー
ドと離鍵データであることを示すために前記キー
コードのMSBにデータ「1」を付加する処理を
実行し、離鍵コードを作成する。そしてそれを楽
音作成部3へ送出し、これにより前記音高C3の
楽音が消音される(ステツプRM15)。次に前記
ステツプRM16を介し、ステツプRM17に進行す
ると、RMラツチ11には、前
記離鍵操作時のUP/downカウンタ17の時間デ
ータがあらたにラツチされ、以後保持され、且つ
減算器14のB入力端子へ印加される。そして減
算器14は、前記離鍵操作時にA入力端子に入力
する計時データからB入力端子へ既に入力中であ
つた前記押鍵時の計時データを減算してその結果
データを得、その時間データをRAM5の3番地
へ書込む(ステツプRM18)。この場合、第5図
に示すように、このときの時間データは「T3」
であり、これは音高C3の鍵の音長4分音符のキ
ーオン時間を表わしている。そして、ステツプ
R19、RM20の各処理により、第5図に示すよう
に、RAM5の4番地に前記離鍵コードが書込ま
れる。そしてステツプRM21により5番地が指定
され、ステツプRM5に戻る。 Next, when it is determined in step RM 10 via steps RM 5 , RM 6 and RM 8 that the key has been released,
Proceeding to step RM 14 , a process is executed to add data "1" to the MSB of the key code to indicate that it is the key code of pitch C 3 and key release data, and a key release code is created. . Then, it is sent to the musical tone generating section 3, whereby the musical tone of pitch C3 is muted (step RM15 ). Next, when proceeding to step RM 17 via step RM 16 , the time data of the UP/down counter 17 at the time of the key release operation is newly latched in the RM latch 11, and is held thereafter. is applied to the B input terminal of. Then, the subtracter 14 subtracts the time measurement data inputted to the A input terminal at the time of the key release operation from the time measurement data inputted to the B input terminal to obtain the result data, and obtains the time data. is written to address 3 of RAM5 (step RM 18 ). In this case, as shown in Figure 5, the time data at this time is "T3".
This represents the key-on time of a quarter note in pitch C3 . And step
Through the processes R 19 and RM 20 , the key release code is written in address 4 of the RAM 5, as shown in FIG. Address 5 is then specified in step RM 21 , and the process returns to step RM 5 .
次に第2楽音の音高E3鍵が押鍵されると、そ
のことがステツプRM10で判断され、ステツプ
RM11を介しステツプRM12に進行してその押鍵
コードが前記音高C3の鍵操作時同様に算出され
る。そしてステツプRM13の処理により音高E3の
楽音の作成放音が開始される。そしてステツプ
RM16、RM17、RM18の各処理により、PRラツチ
11には、前記音高E3押鍵時の計時データがラ
ツチされると共に、減算器14ではA入力端子へ
の前記音高E3の押鍵時の計時データからB入力
端子への前記音高C3離鍵時の計時データを減算
した結果データが得られ、RAM5の5番地へ書
込まれる。この場合、第5図に示すように、前記
結果データによる時間データは「T1」であり、
これは音高C3の鍵のキーオフ時間を表わしてい
る。而して、前記4分音符のキーオン時間、キー
オフ時間の合計時間は「T4」となつている。ま
た、前記ステツプRM20の処理後はステツプ
RM21により、RAM5の次の6番地が指定され、
ステツプRM5に戻る。 Next, when the pitch E 3 key of the second musical tone is pressed, this is determined in step RM 10 , and step
The program proceeds to step RM 12 via RM 11 , and the key press code is calculated in the same manner as when the key is operated for pitch C3 . Then, through the process of step RM13 , creation and sound emission of a musical tone of pitch E3 is started. and step
Through each process of RM 16 , RM 17 , and RM 18 , the PR latch 11 latches the time measurement data when the pitch E 3 key is pressed, and the subtracter 14 latches the clock data when the pitch E 3 is pressed to the A input terminal. The data obtained by subtracting the time data at the time of key release of the pitch C3 input to the B input terminal from the time data at the time of key depression is obtained and written to address 5 of the RAM 5. In this case, as shown in FIG. 5, the time data based on the result data is "T1",
This represents the key-off time for the key of pitch C 3 . Thus, the total time of the key-on time and key-off time of the quarter note is "T4". In addition, after the processing of step RM 20 , step
RM 21 specifies the next 6 addresses of RAM5,
Return to step RM 5 .
以下、前記音高E3の離鍵時の処理は前記音高
C3の鍵の離鍵時と同様であり、また、第9図に
したがつて第3楽音以下の各処理についても同様
である。そして最後の音符の処理が終了すると、
エンドキー1Dをオンし、エンドコードをRAM
5へメロデイ情報の最後のデータとして書込んで
おく。 Below, the process when releasing the key of pitch E 3 is as follows:
This is the same as when the key of C 3 is released, and the same applies to each process from the third tone onward according to FIG. And when the last note has been processed,
Turn on end key 1D and write end code to RAM
5 as the last data of the melody information.
以上のようにして、RAM5の第1チヤンネル
に第9図の最初の曲の録音が済むと、次に第2チ
ヤンネルに同一曲である第9図の後の曲を録音す
る。而してこの場合の動作は、上述した場合とほ
ぼ同一であるが、演奏開始前のスイツチ操作等が
少し異なる。即ち、最初に第1チヤンネル指定ス
イツチ1F1のみをオンする。次に、レコードス
イツチ1Cおよび第2チヤンネル指定スイツチ1
F2を同時オンし、次いでスタートスイツチ1E
をオンする。そして、演奏を開始する。この場
合、後述する第7図A,Bに夫々示す再生処理の
フローチヤートにしたがつて前記第1チヤンネル
に既に書込んだ前記曲のメロデイ情報が読出され
て楽音作成部3に送出され、再生放音されるよう
になる。そして、この再生される曲に合わせて前
記後の曲を演奏し、第2チヤンネルに録音する。 As described above, when the first song shown in FIG. 9 is recorded on the first channel of the RAM 5, the same song after the song shown in FIG. 9 is recorded on the second channel. The operation in this case is almost the same as in the case described above, but the switch operations and the like before starting the performance are slightly different. That is, first, only the first channel designation switch 1F1 is turned on. Next, record switch 1C and second channel designation switch 1
Turn on F2 at the same time, then start switch 1E
Turn on. Then, start playing. In this case, the melody information of the song already written in the first channel is read out and sent to the musical tone creation section 3, and played back according to the flowchart of the playback process shown in FIGS. 7A and 7B, which will be described later. The sound will begin to be emitted. Then, the subsequent song is played along with the played song and recorded on the second channel.
第8図は、第2チヤンネルに書込まれたメロデ
イ情報の内容を示すが、曲のはじめが全休符であ
るからその1番地には、前記2分休符の2倍の時
間データ「T16」が書込まれており、また、その
他の番地のデータは、第1チヤンネルの内容と同
一である。 Figure 8 shows the content of the melody information written in the second channel. Since the beginning of the song is a whole rest, the time data "T16", which is twice as long as the half rest, is placed at address 1. has been written, and the data at other addresses are the same as the contents of the first channel.
次にリバーススイツチ1Bがオンされた場合の
ステツプRM9の処理につき説明する。このリバ
ーススイツチ1B(逆転スイツチASW)は、前記
メロデイ情報の入力時に鍵操作をまちがつたとき
にオンしてアドレスレジスタ7を所望アドレスま
で戻し、正しいメロデイ情報を録音可能な待機状
態に設定する処理が行なわれるものであり、その
場合、前記リバーススイツチ1Bのオン操作時に
そのときのPRラツチ11のラツチデータがCPU
2を介し再生部9のNEラツチ28にラツチされ
る。次いで、修正録音操作が開始される。 Next, the process of step RM9 when the reverse switch 1B is turned on will be explained. This reverse switch 1B (reverse switch ASW) is a process that turns on when a key operation is made by mistake when inputting the melody information, returns the address register 7 to the desired address, and sets the correct melody information to a standby state where it can be recorded. In that case, when the reverse switch 1B is turned on, the latch data of the PR latch 11 at that time is sent to the CPU.
2 to the NE latch 28 of the reproducing section 9. A corrective recording operation is then initiated.
以上のようにしてメロデイ情報をRAM5へ書
込んだ後は、各種効果の情報、即ち、前記メロデ
イ情報以外の演奏情報があればそのRAM5の他
のチヤンネルに更に書込む。而して、この動作の
詳細説明は省略する。 After writing the melody information to the RAM 5 as described above, if there is information on various effects, that is, performance information other than the melody information, it is further written to other channels of the RAM 5. Therefore, detailed explanation of this operation will be omitted.
次に、第7図A,Bを参照して、上述のように
してRAM5の第1チヤンネル、第2チヤンネル
に録音した曲を夫々、単独に再生放音させるとき
の動作を説明する。 Next, with reference to FIGS. 7A and 7B, an explanation will be given of the operation when individually reproducing and emitting the songs recorded in the first channel and the second channel of the RAM 5 as described above.
例えば、いま、第1チヤンネルの曲のみを再生
するものとすると、先ず、第1チヤンネル指定ス
イツチ1F1をオンし、次にスタートスイツチ1
Eをオンする。 For example, if you want to play only the songs on the first channel, first turn on the first channel designation switch 1F1, then turn on the start switch 1F1.
Turn on E.
ステツプSM1の処理によりクリア信号が出力
し、第6図のNEラツチ28とUP/downカウン
タ17が共にクリアされる。次に、ステツプSM2
の処理によりRAM5の第1チヤンネルに書込ま
れた前記メロデイ情報に対する先頭番地がアドレ
スレジスタ7に設定される。そして、RAM5か
ら処理データ「NOP」(第5図参照)が読出さ
れ、CPU2へ供給される(ステツプSM3)。そし
てアドレスレジスタ7が+1され、1番地が設定
される(ステツプSM4)。そして、CPU2は、前
記データ「NOP」のMSBが“0”が“1”かの
判定処理をステツプSM5にて行なうが、この場
合、休符を示すデータ「NOP」であるからステ
ツプSM7に進行して楽音作成部3に対してはキー
オフ信号に相当する制御信号を出力し、また楽音
作成の実行を禁止しておく。またステツプSM8に
進むと、RAM5の1番地から時間データ「T8」
を読出し、またアドレスレジスタ7を+1して2
番地を設定する(ステツプSM9)0また1番地から
の前記時間データ「T8」をフルアダー30のB
入力端子へ入力し、次いでその結果データをNE
ラツチ28にラツチさせる(ステツプSM10、
SM11)。而してこの場合、いま順転スイツチ
BSWがオンされており、その結果、フリツプフ
ロツプ26がセツト状態にあつて、アンドゲート
33は開成され、またUP/downにカウンタ17
には、アツプカウント指令が与えられている。そ
して信号Rは通常“1”として出力中であり、そ
のためアンドゲート33の出力は、通常“1”で
あり、その信号がCPU2へ供給されると共に、
インバータ34の出力が通常“0”となつて排他
的オアゲート327〜320の各一端およびフルア
ダー30のキヤリー入力端子CINへ夫々、トラン
スフアーゲート35を介し供給される。なお、信
号CHRは、通常“1”として出力されており、
したがつてトランスフアーゲート35、またはト
ランスフアーゲート群31は通常開成している。 A clear signal is output by the processing in step SM1 , and both the NE latch 28 and the UP/down counter 17 in FIG. 6 are cleared. Next, step SM 2
As a result of the process, the start address for the melody information written in the first channel of the RAM 5 is set in the address register 7. Then, the processing data "NOP" (see FIG. 5) is read out from the RAM 5 and supplied to the CPU 2 (step SM 3 ). Then, the address register 7 is incremented by 1 and address 1 is set (step SM 4 ). Then, the CPU 2 performs a process of determining whether the MSB of the data "NOP" is "0" or "1", but in this case, since the data is "NOP" indicating a rest, the CPU 2 performs a process of determining whether the MSB of the data "NOP" is " 1 " or not. Then, a control signal corresponding to a key-off signal is output to the musical tone generating section 3, and the execution of musical tone generation is prohibited. Also, when proceeding to step SM 8 , time data "T8" is obtained from address 1 of RAM5.
, and add 1 to address register 7 to make 2.
Set the address (step SM 9 ) Set the time data “T8” from address 0 and 1 to B of full adder 30.
input to the input terminal, and then send the resulting data to the NE
Latch latch 28 (step SM 10 ,
SM11 ). In this case, the order switch is now turned on.
BSW is turned on, and as a result, the flip-flop 26 is in the set state, the AND gate 33 is opened, and the counter 17 is connected to UP/DOWN.
is given an upcount command. The signal R is normally being output as "1", so the output of the AND gate 33 is normally "1", and this signal is supplied to the CPU 2, and
The output of the inverter 34 is normally "0" and is supplied to one end of each of the exclusive OR gates 32 7 to 32 0 and the carry input terminal C IN of the full adder 30 via a transfer gate 35 . Note that the signal CHR is normally output as “1”,
Therefore, the transfer gate 35 or the transfer gate group 31 is normally open.
したがつて、前記ステツプSM10、SM11では、
前記時間データ「T8」が排他的オアゲート327
〜320により、反転されることなく、そのまま
フルアダー30のB入力端子へ入力する。一方、
A入力端子へは、NEラツチ28の出力データ
(8ビツトオール“0”データ)がトランスフア
ーゲート群31を介し入力し、したがつてそのと
きのフルアダーの結果データは「T8」となり、
NEラツチ28へラツチされることになる。 Therefore, in steps SM 10 and SM 11 ,
The time data “T8” is an exclusive OR gate 32 7
~ 320 , it is input to the B input terminal of the full adder 30 as it is without being inverted. on the other hand,
The output data of the NE latch 28 (8-bit all "0" data) is input to the A input terminal via the transfer gate group 31, so the full adder result data at that time is "T8".
It will be latched to NE latch 28.
次に、ステツプSM12の判断処理では、ノアゲ
ート29からの一致信号が“1”レベルで出力し
たか否かが判断される。而して、この場合、排他
的オアゲート277〜270へは夫々、UP/down
カウンタ17の8ビツトオール“0”データと、
NEラツチ28のラツチデータ「T8」が入力して
おり、したがつて不一致を示す“0”レベルの一
致信号がCPU2へ供給されることにより、ステ
ツプSM14に進行し、而してリバーススイツチ1
Bが操作されてup/down信号の反転の有無が判
断され、「NO」であるから更にステツプSM18に
進行し、録音中か否かが判断され、同様に
「NO」となつてステツプSM20に進行し、リセツ
トスイツチ1Aがオンされたか否かが判断され、
更に「NO」と判断されてステツプSM12に復帰
する。そして、“1”レベルの一致信号が出力す
るまでの間、即ち、up/downカウンタ17の計
数値データが時間データ「T8」に達するまでの
間、前記ステツプSM12、SM14、SM18、SM20、
SM12、…が繰返され、楽音が発音されない休符
状態が続く。そして、“1”レベルの一致信号が
出力すると、2分休符の休符時間が終り、ステツ
プSM13へ進行する。このステツプSM13では、ア
ツプカウント中か、或いはダウンカウント中かの
判断が行なわれ、アツプカウント動作中であるこ
とが判断されてステツプSM3に進行することにな
る。 Next, in the determination process of step SM12 , it is determined whether or not the match signal from the NOR gate 29 is output at the "1" level. Therefore, in this case, exclusive or gates 27 7 to 27 0 are UP/DOWN, respectively.
8-bit all “0” data of counter 17,
Since the latch data "T8" of the NE latch 28 is input, a "0" level match signal indicating a mismatch is supplied to the CPU 2, and the process proceeds to step SM14 , where the reverse switch 1
B is operated and it is determined whether or not the up/down signal is inverted, and since it is "NO", the process proceeds to step SM 18 , where it is determined whether or not recording is in progress, and it is similarly determined to be "NO", and the process advances to step SM18. 20 , it is determined whether or not reset switch 1A is turned on.
Furthermore, it is determined as "NO" and the process returns to step SM12 . Then, until the coincidence signal of the "1" level is output, that is, until the count value data of the up/down counter 17 reaches the time data "T8", the steps SM 12 , SM 14 , SM 18 , SM20 ,
SM 12 ,... are repeated, and a rest state in which no musical tone is produced continues. When a coincidence signal of the "1" level is output, the rest time of the half rest ends, and the process proceeds to step SM13 . In step SM13 , it is determined whether up-counting or down-counting is in progress, and if it is determined that up-counting is in progress, the process proceeds to step SM3 .
次に、ステツプSM3ではRAM5の2番地から
キーコード「C3」と押鍵データ「0」、即ち、第
5図のデータ「C3、オン」が読出されてCPU2
へ入力し、またステツプSM4にてRAM5の3番
地が設定される。そしてステツプSM5では、前記
押鍵データ「0」が判断され、ステツプSM6に進
行して楽音作成部3に対しキーコード「C3」と
キーオン信号が与えられ、その結果、前記メロデ
イの第1楽音が再生され、スピーカ6R,6Lか
ら放音開始されることになる。そして次にステツ
プSM8では、RAM5の3番地から時間データ
「T3」が読出され、またステツプSM9ではRAM
5の4番地が設定される。そして前記時間データ
「T3」はそのまま、フルアダー30のB入力端子
へ印加される。一方、フルアダー30のA入力端
子へはNEラツチ28がラツチ中の時間データ
「T8」が入力中であり、したがつてフアルダー3
0のそのときの加算結果データは時間データ
「T11」と等しく、それがNEラツチ28にあらた
にラツチされるほかに、排他的オアゲート277
〜270へ印加される(ステツプSM11)。そして、
ステツプSM12に進行し、前記一致信号が“1”
レベルで出力したか否かが判断され、而して
“1”レベルで出力するまでの間、前記ステツプ
SM14、SM18、SM20、更にステツプSM12に復帰
する各処理が夫々繰返し実行される。 Next, in step SM3 , the key code "C 3 " and the key press data "0", that is, the data "C 3 , ON" in FIG.
In step SM4 , address 3 of RAM5 is set. Then, in step SM5 , the key press data ``0'' is determined, and the process proceeds to step SM6 , where a key code ``C 3 '' and a key-on signal are given to the tone generator 3, and as a result, the key press data ``0'' is determined. One musical tone is reproduced, and the sound emission starts from the speakers 6R and 6L. Then, at step SM8 , time data "T3" is read from address 3 of RAM5, and at step SM9 , time data "T3" is read from address 3 of RAM5.
Address 5 of 4 is set. The time data "T3" is applied as is to the B input terminal of the full adder 30. On the other hand, the time data "T8" while the NE latch 28 is latched is being input to the A input terminal of the full adder 30, and therefore the full adder 30
The current addition result data of 0 is equal to the time data "T11", and in addition to being newly latched to the NE latch 28, the exclusive OR gate 277
~ 270 (step SM11 ). and,
Proceeding to step SM12 , the coincidence signal is "1"
The above steps are performed until it is determined whether the level is output or not, and the output is performed at the “1” level.
Each process of SM 14 , SM 18 , SM 20 , and returning to step SM 12 is repeatedly executed.
そして前記キーコード「C3」の第1楽音のオ
ン時間(時間デーダT3)が経過し、“1”レベル
の一致信号が出力すると、ステツプSM13に進行
し、次いでステツプSM3に進行し、RAM5の4
番地からキーコード「C3」と離鍵データ「1」、
即ち、第5図のデータ「C3、オフ」が読出され
る。また、ステツプSM4ではRAM5の5番地が
設定される。そしてステツプSM5では、前記離鍵
データ「1」が判断され、ステツプSM7に進行し
て楽音作成部3に対し、キーコード「C3」とキ
ーオフ信号が与えられ、前記第1楽音の放音が停
止される。次にステツプSM8により、RAM5の
5番地から時間テーダ「T1」が読出され、また
ステツプSM9ではRAM5の6番地が設定され
る。そしてステツプSM10、SM11により、前記時
間データ「T1」がフルアダー30のB入力端子
へそのまま入力し、而してそのときA入力端子に
は、前回の結果データの時間データ「T11」が入
力しているから、フルアダー30から出力する加
算結果データは「T12」となり、NEラツチ28
にあらたにラツチされるほかに排他的オアゲート
277〜270へ印加される。そしてステツプ
SM12に進行し、up/downカウンタ17の計数値
が時間データ「T12」までアツプして“1”の一
致信号が出力するまでの間、前述したステツプ
SM14、SM18、SM20、SM12、…の各処理が繰返
され、而してこの間、前記第1楽音は消音してい
てキーオフ中となつている。また、“1”レベル
の一致信号が出力すると、ステツプSM13に進行
し、更に、ステツプSM3に進行する。 Then, when the ON time (time data T3) of the first musical tone of the key code "C 3 " has elapsed and a "1" level match signal is output, the process advances to step SM13 , and then to step SM3 . RAM5 of 4
From the address, key code "C 3 " and key release data "1",
That is, the data "C 3 , OFF" in FIG. 5 is read out. Further, in step SM4 , address 5 of RAM 5 is set. Then, in step SM5 , the key release data "1" is determined, and the process proceeds to step SM7 , where a key code " C3 " and a key-off signal are given to the musical tone generator 3, and the first musical tone is emitted. The sound is stopped. Next, in step SM8 , the time table "T1" is read from address 5 of RAM5, and in step SM9 , address 6 of RAM5 is set. Then, by steps SM 10 and SM 11 , the time data "T1" is input as is to the B input terminal of the full adder 30, and at this time, the time data "T11" of the previous result data is input to the A input terminal. Therefore, the addition result data output from the full adder 30 is "T12", and the NE latch 28
In addition to being newly latched, the signals are applied to exclusive OR gates 277 to 270 . and step
The process proceeds to SM 12 , and the steps described above are carried out until the count value of the up/down counter 17 increases to the time data "T12" and a coincidence signal of "1" is output.
Each process of SM 14 , SM 18 , SM 20 , SM 12 , . . . is repeated, and during this time, the first musical tone is muted and the key is off. Further, when a coincidence signal of the "1" level is output, the process proceeds to step SM13 , and further proceeds to step SM3 .
以上で前記第1楽音に対する再生処理が終了
し、而して、第2楽音以下の再生動作も同様に行
なわれる。 The reproduction processing for the first musical tone is thus completed, and the reproduction operation for the second musical tone and subsequent musical tones is performed in the same manner.
次に、前記ステツプSM12において“1”の一
致信号が判断されたときに、修正作業のためにリ
バーススイツチ1Bを操作して、アツプカウント
をダウンカウントへ切換えた場合の動作を説明す
る。而してこの切換え操作により、フリツプフロ
ツプ26がリセツトし、したがつてアンドゲート
33が以後閉成して、その出力が“0”となり
CPU2およびインバータ34に与えられる。ま
たup/downカウンタ17には、ダウンカウント
指令が入力し、したがつてダウンカウント動作が
開始して巻戻し状態となる。そしてそのことがス
テツプSM13において判断されると、第7図Bの
ステツプSM22の処理が開始される。即ち、RAM
5からそのときのアドレスレジスタ7の番地に指
定されたエリアの処理データが読出される。例え
ば、10番地からデータ「G3、オン」、(第5図、
第3楽音の押鍵コード)が読出される。そしてス
テツプSM26により、アドレスレジスタ7は−1
されて9番地を設定される。次にステツプSM24、
SM25により、前記押鍵コードが判断され、あら
たに第3楽音の消音指令が与えられる。次に
RAM5の9番地から時間データ「T1」が読出さ
れ、またアドレスレジスタ7が−1されて8番地
とされる(ステツプSM27、SM28)。次にステツ
プSM29により前記時間データ「T1」がフルアダ
ー30に印加されるが、今の場合、信号CHRが
“1”によりインバータ34の出力“1”がその
まま排他的オアゲート327〜320、フルアダー
30のキヤリー入力端子CINに印加される。その
結果、フルアダー30は、A入力端子へのNEラ
ツチ28のそのときのラツチ時間データ「T16」
からB入力端子への前記時間データ「T1を減算
し、その結果データ「T15」をNEラツチ28に
与えラツチさせる(ステツプSM30)。したがつて
NEラツチ28には、逆転開始されたために1番
地分巻戻された時間データ(「T15」)がラツチさ
れることになる。そしてステツプSM12に進行し、
上述したように次に“1”の一致信号が出力する
までの間、ステツプSM12、SM14、SM18、
SM20、SM12、…が繰返される。そして、リバー
ススイツチ1Bを操作してアツプカウントへ戻さ
ないうちに“1”の一致信号(前記時間データ
「T15」と一致)が出力すると、再びステツプ
SM12、SM13から第7図Bの前記フローチヤート
の処理に進行し、引続き巻戻し処理が実行され
る。そして、例えば、RAM5の6番地までが巻
戻され、第2楽音E3が消音中にリバーススイツ
チ1Bを操作する。すると、ダウンカウントから
アツプカウントへ反転したことが、ステツプ
SM14、SM15にて判断され、ステツプSM16へ進
行してアドレスレジス7が+1され、次いでステ
ツプSM8以下の順転方向への再生理が可能とな
る。従つて、第2楽音E3から放音し始める。 Next, an explanation will be given of the operation when the reverse switch 1B is operated to switch the up count to the down count for correction work when a coincidence signal of "1" is determined in step SM12 . As a result of this switching operation, the flip-flop 26 is reset, and the AND gate 33 is subsequently closed and its output becomes "0".
The signal is applied to the CPU 2 and the inverter 34. Further, a down-counting command is input to the up/down counter 17, and accordingly, a down-counting operation is started to enter a rewinding state. When this is determined at step SM13 , the process at step SM22 in FIG. 7B is started. That is, RAM
5, the processing data of the area specified by the address of the address register 7 at that time is read out. For example, data ``G 3 , ON'' from address 10 (Fig. 5,
The key press code of the third tone is read out. Then, by step SM26 , the address register 7 is set to -1.
address 9 is set. Then step SM 24 ,
The key depression code is determined by SM 25 , and a new command to mute the third tone is given. next
Time data "T1" is read from address 9 of RAM 5, and address register 7 is incremented by 1 to become address 8 (steps SM 27 and SM 28 ). Next, in step SM29 , the time data "T1" is applied to the full adder 30, but in this case, since the signal CHR is "1", the output "1" of the inverter 34 is directly applied to the exclusive OR gates 327 to 320 , Applied to the carry input terminal C IN of the full adder 30. As a result, the full adder 30 outputs the current latch time data "T16" of the NE latch 28 to the A input terminal.
The time data "T1" inputted to the B input terminal is subtracted from the time data "T15", and the resulting data "T15" is applied to the NE latch 28 and latched (step SM 30 ). Therefore
The NE latch 28 is latched with time data ("T15") that has been rewound by one address because the reverse rotation has started. Then proceed to step SM 12 ,
As mentioned above, steps SM 12 , SM 14 , SM 18 ,
SM 20 , SM 12 , etc. are repeated. If a match signal of "1" (matching the time data "T15") is output before the reverse switch 1B is operated to return to the up count, the step will start again.
From SM 12 and SM 13 , the process proceeds to the flowchart shown in FIG. 7B, and the rewinding process is subsequently executed. Then, for example, the data up to address 6 of the RAM 5 is rewound, and the reverse switch 1B is operated while the second musical tone E3 is muted. Then, the reversal from down count to up count indicates that the step
Judgments are made in SM 14 and SM 15 , and the process proceeds to step SM 16 , where the address register 7 is incremented by 1, and then reprocessing in the forward direction starting from step SM 8 becomes possible. Therefore, the sound emission starts from the second musical tone E3 .
ここで、レコードスイツチ1Cをオンして録音
状態を設定すると、ステツプSM12、SM14を介し
ステツプSM18に至ると前記録音状態が判断され、
ステツプSM19に進行する。そして訂正のキーが
次にオンされるまでの間は、ステツプSM20、
SM12、SM14、SM18、SM19、SM20、…が繰返さ
れる。そして、E3がオフ中に修正のキー(第3
楽音G3を修正する例えばキーF3)をオンすると、
ステツプSM19にてそのことが判断され、ステツ
プSM21の録音状態へ移るための処理が実行され
る。 Here, when the record switch 1C is turned on and the recording state is set, the recording state is determined when the step SM18 is reached via steps SM12 and SM14 .
Proceed to step SM 19 . Then, until the correction key is turned on next time, step SM 20 ,
SM 12 , SM 14 , SM 18 , SM 19 , SM 20 ,... are repeated. Then, while E 3 is off, press the correction key (3rd
For example, if you turn on the key F 3 ) to modify the musical tone G 3 ,
This is determined at step SM19 , and processing for moving to the recording state at step SM21 is executed.
即ち、このステツプSM21では、アドレスレジ
スタ7が−1されていまの場合、9番地が設定さ
れる。そして信号Rが一時的に“0”とされ、こ
れによりフルアダー30は上述のように減算器と
して引続き作用するようにされる。そしてフルア
ダー30はA入力端子へのNEラツチ28からの
時間データ「T16」から、B入力端子へ入力する
RAM5の9番地からの時間データ「T1」を減算
し、その減算結果データ「T15」をNEラツチ2
8にラツチさせる。次いで信号Rは、再び“1”
に戻され、また信号CHが一時的に“1”とされ
て一時的に閉成されるトランスフアーゲート群1
3を介してNEラツチ28からの前記時間データ
「T15」がPRラツチ11へラツチされる。そして
信号CHは、通常の“0”に戻され、また、減算
器14ではA入力端子へのup/downカウンタ1
7の計数値データ、即ち、修正した第3楽音F3
のキーオン時の計数値データから、B入力端子へ
の前記時間データ「T15」とを減算する減算動作
が実行され、これにより第2楽音のあらたなキー
オフ時間が得られてRAM5の9番地に書込まれ
る。そして第4図のステツプRM5に戻り、第3
楽音以下の上述した修正録音動作が可能となる。 That is, in this step SM21 , if address register 7 is incremented by -1, address 9 is set. The signal R is then temporarily set to "0", thereby causing the full adder 30 to continue to function as a subtracter as described above. Then, the full adder 30 inputs time data "T16" from the NE latch 28 to the A input terminal to the B input terminal.
Subtract time data “T1” from address 9 of RAM5, and apply the subtraction result data “T15” to NE latch 2.
Latch it to 8. Then the signal R becomes “1” again.
Transfer gate group 1 is returned to
The time data "T15" from the NE latch 28 is latched to the PR latch 11 through the PR latch 3. Then, the signal CH is returned to the normal "0", and the subtracter 14 outputs the up/down counter 1 to the A input terminal.
7 count value data, that is, the corrected third musical note F 3
A subtraction operation is executed to subtract the time data "T15" inputted to the B input terminal from the key-on count value data, and thereby a new key-off time of the second musical tone is obtained and written to address 9 of RAM5. be included. Then, return to step RM 5 in Figure 4 and step 3.
The above-mentioned corrective recording operation for musical tones and below becomes possible.
なお、第7図BのステツプSM26は巻戻し中に、
RAM5から離鍵コードが読出されたときの処理
であり、その離鍵コードのキーの楽音が1つ前の
番地の時間データ分再生放音開始可能となる。 Note that step SM 26 in FIG. 7B is performed during rewinding.
This process is performed when a key release code is read out from the RAM 5, and the musical tone of the key corresponding to the key release code can be reproduced and emitted for the time data of the previous address.
第7図AのステツプSM12において、“1”の一
致信号が出力していないとき、リバーススイツチ
1Bを操作して、例えばアツプカウントからダウ
ンカウントへ状態を反転させると、そのことがス
テツプSM14、SM15にて夫々判断され、次いでス
テツプSM17に進行してアドレスレジスタ7が−
1されて巻戻し処理が行なわれ、あとは前記ステ
ツプSM27へ進行して上述した巻戻し作業が可能
となる。他方、ダウンカウントからアツプカウン
トへ反転させたときには、ステツプSM14、SM15
はその巻戻し操作が判断され、ステツプSM16へ
進行してアドレスレジスタ7が+1され、次いで
ステツプSM8以下の順転方向への再生処理が可能
となる。 In step SM12 of FIG. 7A, when the coincidence signal of "1" is not output, if the reverse switch 1B is operated to reverse the state, for example from up-count to down-count, this will be detected at step SM14 . , SM 15 , and then proceeds to step SM 17 where the address register 7 is set to -
1 and the rewinding process is performed, and then the process proceeds to step SM27 , where the above-mentioned rewinding operation becomes possible. On the other hand, when reversing from down counting to up counting, steps SM 14 and SM 15
The rewind operation is determined, and the process proceeds to step SM16 , where the address register 7 is incremented by 1, and then playback processing in the forward direction starting from step SM8 becomes possible.
RAM5の第2チヤンネル内のメロデイ情報
(第8図)のみを単独に再生放音する処理は、上
述した第1チヤンネルの場合と同様であり、而し
てこの第2チヤンネルの場合、最初に全休符の時
間データ「T16」が読出されるため、第1チヤン
ネルの2倍の時間だけ再生開始時から、休符状態
が続くことになる。 The process of independently reproducing and emitting only the melody information (Fig. 8) in the second channel of the RAM 5 is the same as the case of the first channel described above, and in the case of this second channel, the complete pause is first performed. Since the time data "T16" of the note is read out, the rest state continues for twice the time of the first channel from the start of playback.
次に第7図Cのフローチヤートを参照して前記
第1チヤンネル、第2チヤンネルの2つのメロデ
イを同時に再生開始する処理の動作を説明する。
この場合、プレイスイツチ1Gをオンする。この
とき、スイツチS1の処理が実行され、アドレスレ
ジスタ7はその先頭番地に1番地をプラスした1
番地が設定される。次にステツプS2により、第1
チヤンネル、第2チヤンネルの各1番地から時間
データ「T8」、「T16」が夫々読出され、各フル
アダー30を介し、各NEラツチ28に夫々ラツ
チされる(スイツチS3)。そしてCPUは信号FF
を“1”としてトランスフアーゲート36を開成
させ、テンポ発振器18の出力端子Hiから出力
する最高速の信号の最高速のクロツクとして取出
してup/downカウンタ17へ印加させる。これ
により各カウンタ17は共に、最高速のアツプカ
ウント動作を共に実行し(スイツチS4)、また
“1”の一致信号が出力したか否かの判断処理
(スイツチS5)を実行する。而して再生開始時か
ら各カウンタ17の計数値データが時間データ
「T8」に達すると、第1チヤンネルにおいて先
ず、“1”の一致信号が出力し、これが判断され
てステツプS6に進行し、信号FFが“0”に設定
されて各チヤンネルのカウンタ17は共に、その
カウント動作を一時停止される。そしてスイツチ
S7に進行し、各チヤンネルの各減算器38では、
各NEラツチ28に夫々ラツチしておいた時間デ
ータ「T8」、「T16」から現在のup/downカウン
タ17の計数値データ「T8」を夫々減算し、各
結果データ「T0」、「T8」を夫々、対応するNE
ラツチ28へ夫々ラツチさせる(スイツチS8)。
そして各アドレスレジスタ7が+1されて各チヤ
ンネルとも2番地が設定され(スイツチS9)、次
いでステツプS10に進行し、各カウンタ17はト
ランスフアーゲート23,24,25の何れかか
ら出力する設定テンポによるクロツクを計数開始
し、ステツプSM12に進行して通常の再生処理動
作が開始される。即ち、以上の処理によつて、第
1チヤンネル、第2チヤンネルを同時に再生開始
したときには、いまの例では、第1チヤンネルの
最初の時間データ「T8」の時間分頭初に早送り
され、つまり、第9図の楽譜の第1チヤンネルの
2分休符が早送り処理により無視されて、直ちに
第1チヤンネルの第1楽音C3再生放音が開始さ
れる。第10図の楽譜は、この状態を説明するも
のであり、楽譜上では、第1チヤンネルのメロデ
イは、2分休符がなくなり、また、第2チヤンネ
ルのメロデイでは、全休符が2分休符に変更され
る状態に夫々変化する。したがつて、休符から開
始する曲があるときには、その曲の休符は無効と
なり、無音状態が発生せず、聞きづらくなくなる
ものである。 Next, referring to the flowchart of FIG. 7C, the operation of processing for simultaneously starting reproduction of the two melodies of the first channel and the second channel will be explained.
In this case, the play switch 1G is turned on. At this time, the process of switch S 1 is executed, and address register 7 is set to 1, which is the starting address plus 1 address.
The street address is set. Next, in step S2 , the first
Time data "T8" and "T16" are read from addresses 1 of the channel and the second channel, respectively, and are latched to each NE latch 28 via each full adder 30 (switch S 3 ). And the CPU has signal FF
is set to "1" to open the transfer gate 36, and the fastest signal outputted from the output terminal Hi of the tempo oscillator 18 is taken out as the fastest clock and applied to the up/down counter 17. As a result, each counter 17 executes the fastest up-counting operation (switch S 4 ), and also executes the process of determining whether or not a coincidence signal of "1" has been output (switch S 5 ). When the count value data of each counter 17 reaches the time data "T8" from the start of reproduction, first, a coincidence signal of "1" is output in the first channel, and this is determined and the process proceeds to step S6 . , the signal FF is set to "0", and the counting operations of the counters 17 of each channel are temporarily stopped. and switch
Proceeding to S 7 , in each subtractor 38 of each channel,
The current count value data "T8" of the up/down counter 17 is subtracted from the time data "T8" and "T16" latched in each NE latch 28, respectively, and the resulting data "T0" and "T8" are obtained. respectively, the corresponding NE
Latch each latch 28 (switch S 8 ).
Then, each address register 7 is incremented by +1 and address 2 is set for each channel (switch S 9 ), and the process then proceeds to step S 10 , where each counter 17 is set to output from one of the transfer gates 23, 24, and 25. Counting of clocks based on the tempo is started, and the process proceeds to step SM12 , where normal playback processing operations are started. That is, when the first channel and the second channel are started to be played simultaneously by the above processing, in the present example, the first channel is fast-forwarded by the time of the first time data "T8", that is, The half rest in the first channel of the musical score shown in FIG. 9 is ignored by the fast-forward process, and reproduction of the first musical tone C3 of the first channel is immediately started. The score in Figure 10 explains this situation. On the score, the melody in the first channel has no half rest, and in the melody in the second channel, the whole rest has been changed to a half rest. The state changes respectively. Therefore, when there is a song that starts from a rest, the rest of that song becomes invalid, no silence occurs, and the song becomes less difficult to listen to.
なお、前記実施例では、RAM5の2つのチヤ
ンネルに1曲ずつ、はじめに休符のある曲のメロ
デイ情報を録音しておき、次いで両チヤンネルを
同時に再生するときにのみ、前記休符を無視して
何れか一方の曲の演奏を直ちに開始させるように
したが、各チヤンネルにおいても、そのチヤンネ
ルだけを再生するときに、休符からはじまる曲の
ときには、休符をスキツプして直ちに再生放音さ
せるようにしてもよい。この場合、メモリの先頭
番地が休符情報の際は、「2」番地から読出すよ
うにすればよい。更に、前記実施例では、カウン
タの早送り機能によつて、楽曲の頭の休符をスキ
ツプさせたが、両チヤンネルの休符の時間情報を
比較して、短かい方の休符時間を両時間情報から
減じて再生処理するようにしスキツプしても差し
つかえない。また、メモリのチヤンネル数は、3
または4以上であつてもよく、勿論、メモリの数
は、1個に限らず、複数であつてもよい。 In the above embodiment, the melody information of a song with a rest is first recorded in each of the two channels of the RAM 5, and then the rest is ignored only when both channels are played back at the same time. We have made it so that one of the songs starts playing immediately, but when playing only that channel for each channel, if the song starts from a rest, it is now possible to skip the rest and play the sound immediately. You can also do this. In this case, if the first address of the memory is rest information, the data may be read from address "2". Furthermore, in the embodiment described above, the rest at the beginning of the song was skipped using the fast-forward function of the counter, but by comparing the time information of the rests of both channels, the shorter rest time is There is no problem in subtracting it from the information and reproducing it and skipping it. Also, the number of memory channels is 3.
Alternatively, the number of memories may be four or more.Of course, the number of memories is not limited to one, but may be plural.
この発明は、以上説明したように、休符から始
まる楽曲の自動演奏を開始する際に、該休符を無
視したり該休符の休符長を短縮したりするように
したので、休符から始まる楽曲の自動演奏を行う
場合であつても、自動演奏の開始の指示後直ちに
楽音の発生が開始されるような自動演奏装置を実
現することができる。
As explained above, when starting automatic performance of a piece of music that starts from a rest, this invention ignores the rest or shortens the length of the rest. Even when performing automatic performance of a piece of music starting from , it is possible to realize an automatic performance device that starts generating musical tones immediately after receiving an instruction to start automatic performance.
第1図はこの発明の一実施例の電子楽器の全体
の回路構成図、第2図は鍵盤スイツチ部1の一部
のスイツチの具体的構成図、第図は録音部8の詳
細回路図、第4図はメロデイ情報の録音処理のフ
ローチヤートを示す図、第4図はRAM5におけ
る第7図に示すメロデイ情報の記憶状態図、第5
図はRAM5の第1チヤンネル内のメロデイ情報
の記憶状態図、第6図は再生部9の詳細回路図、
第7図A,B,Cは夫々、前記メロデイ情報の再
生処理のフローチヤートを示す図、第8図は
RAM5の第2チヤンネル内のメロデイ情報の記
憶状態図、第9図は前記第1チヤンネル、第2チ
ヤンネルに録音される2つの曲を夫々示す楽譜の
図、第10は第9図の楽譜の各曲を同時に再生さ
せたときに、表われる各曲の状態を示す楽譜の図
である。
1……鍵盤スイツチ部、1A……リセツトスイ
ツチ、1B(ASW)……リバーススイツチ(転転
スイツチ)、1C……レコードスイツチ、1D…
…エンドスイツチ、1E……スタートスイツチ、
1F1……第1チヤンネル指定スイツチ、1F2…
…第2チヤンネル指定スイツチ、1G……プレイ
スイツチ、2……CPU、3……楽音作成部、4
……定位制御部、5……RAM、6R,6L……
スピーカ、7……アドレスレジスタ、8……録音
部、9……再生部、11……PRラツチ、14…
…減算器、17……up/downカウンタ、18…
…テンポ発振器、19……テンポボリユーム、2
1,22,26……フリツプフロツプ、28……
NEラツチ、30……フルアダー、36……トラ
ンスフアーゲート、38……減算器、BSW……
順転スイツチ、CSW……テンポ加速スイツチ、
DSW……スローテンポスイツチ、ESW……テン
ポストツプスイツチ、ESW……ノーマルスイツ
チ。
FIG. 1 is an overall circuit configuration diagram of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a specific configuration diagram of a part of the switches in the keyboard switch section 1, and FIG. 1 is a detailed circuit diagram of the recording section 8. FIG. 4 is a flowchart of the melody information recording process, FIG. 4 is a storage state diagram of the melody information shown in FIG. 7 in the RAM 5, and FIG.
The figure is a storage state diagram of melody information in the first channel of the RAM 5, and FIG. 6 is a detailed circuit diagram of the playback section 9.
FIGS. 7A, B, and C are diagrams showing a flowchart of the reproduction process of the melody information, and FIG.
9 is a diagram showing the storage state of melody information in the second channel of the RAM 5. FIG. 9 is a diagram of musical scores showing the two songs recorded in the first channel and the second channel, and FIG. 10 is a diagram of each of the musical scores in FIG. It is a diagram of a musical score showing the state of each song that appears when the songs are played back at the same time. 1...Keyboard switch section, 1A...Reset switch, 1B (ASW)...Reverse switch (reversal switch), 1C...Record switch, 1D...
...End switch, 1E...Start switch,
1F 1 ...1st channel designation switch, 1F 2 ...
...Second channel designation switch, 1G...Play switch, 2...CPU, 3...Musical tone creation section, 4
...Location control section, 5...RAM, 6R, 6L...
Speaker, 7...address register, 8...recording section, 9...playback section, 11...PR latch, 14...
...Subtractor, 17...up/down counter, 18...
...Tempo oscillator, 19...Tempo volume, 2
1, 22, 26...flipflop, 28...
NE latch, 30...Full adder, 36...Transfer gate, 38...Subtractor, BSW...
Forward switch, CSW...tempo acceleration switch,
DSW: slow tempo switch, ESW: tempo switch, ESW: normal switch.
Claims (1)
読出手段と、 この読出手段により読み出された上記楽音情報
に基づいて楽曲の自動演奏を行う自動演奏手段
と、 この自動演奏手段により楽曲の自動演奏を開始
する際に、上記読出手段により読み出された上記
楽音情報が休符を示す情報であるか否かを判断す
る判断手段と、 この判断手段により上記読出手段により読み出
された楽音情報が休符を示す情報であると判断さ
れた場合に、当該休符を示す楽音情報を無視して
上記楽曲の自動演奏を行うよう上記自動演奏手段
を制御する制御手段と、 を具備したことを特徴とする自動演奏装置。 2 第1の楽曲を表現する楽音情報と第2の楽曲
を表現する楽音情報とを記憶する記憶手段と、 この記憶手段から上記楽音情報を順次読み出す
読出手段と、 この読出手段により読み出された上記楽音情報
に基づいて上記第1の楽曲及び上記第2の楽曲の
自動演奏を行う自動演奏手段と、 この自動演奏手段により上記第1の楽曲及び上
記第2の楽曲の自動演奏を開始する際に、上記読
出手段により読み出された上記第1の楽曲を表現
する楽音情報の示す第1の休符長と上記第2の楽
曲を表現する楽音情報を示す第2の休符長とを比
較し、より短い休符長を示す楽音情報に対応する
時間だけ休符処理を短縮して上記第1の楽曲及び
上記第2の楽曲の自動演奏を行うよう上記自動演
奏手段を制御する制御手段と、 を具備したことを特徴とする自動演奏装置。[Claims] 1. A storage means for storing musical tone information, a reading means for sequentially reading out the musical tone information from the storage means, and automatic performance of a piece of music based on the musical tone information read by the reading means. an automatic performance means; a determination means for determining whether or not the musical tone information read by the reading means is information indicating a rest when the automatic performance means starts automatic performance of a piece of music; When the determining means determines that the musical tone information read by the reading means is information indicating a rest, the automatic performance is configured to automatically perform the musical piece while ignoring the musical tone information indicating the rest. An automatic performance device comprising: a control means for controlling the means; 2 storage means for storing musical tone information representing a first musical piece and musical tone information representing a second musical piece; reading means for sequentially reading out the musical tone information from the storing means; automatic performance means for automatically playing the first music piece and the second music piece based on the musical tone information; and when the automatic performance means starts automatic performance of the first music piece and the second music piece; Compare a first rest length indicating musical tone information expressing the first musical piece read by the reading means and a second rest length indicating musical tone information expressing the second musical piece. a control means for controlling the automatic performance means to automatically perform the first music piece and the second music piece by shortening the rest processing by a time corresponding to musical tone information indicating a shorter rest length; An automatic performance device characterized by comprising the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57232565A JPS59125788A (en) | 1982-12-27 | 1982-12-27 | automatic performance device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57232565A JPS59125788A (en) | 1982-12-27 | 1982-12-27 | automatic performance device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59125788A JPS59125788A (en) | 1984-07-20 |
| JPH045193B2 true JPH045193B2 (en) | 1992-01-30 |
Family
ID=16941325
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57232565A Granted JPS59125788A (en) | 1982-12-27 | 1982-12-27 | automatic performance device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59125788A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5164401B2 (en) * | 2007-03-16 | 2013-03-21 | ローランド株式会社 | Automatic performance device and automatic performance program |
-
1982
- 1982-12-27 JP JP57232565A patent/JPS59125788A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59125788A (en) | 1984-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4602546A (en) | Automatic music playing apparatus | |
| US3878750A (en) | Programmable music synthesizer | |
| JPH0452960B2 (en) | ||
| JPH04339000A (en) | music playback device | |
| US4655112A (en) | Automatic music playing apparatus | |
| JPS648835B2 (en) | ||
| JPS6364799B2 (en) | ||
| JPH045193B2 (en) | ||
| JPH045194B2 (en) | ||
| JPH0452477B2 (en) | ||
| JPH0410640B2 (en) | ||
| JPH0141000B2 (en) | ||
| JPH0411879B2 (en) | ||
| JPS6235116B2 (en) | ||
| JPS648837B2 (en) | ||
| JPH0443915Y2 (en) | ||
| JP4236570B2 (en) | Waveform playback device and waveform playback program | |
| JPS607671A (en) | Recording method of playing information at automatic playing device | |
| JPH0451838B2 (en) | ||
| JPS6253839B2 (en) | ||
| JPS6177095A (en) | Circuit for electronic musical instrument | |
| JPH0468638B2 (en) | ||
| JP2526834B2 (en) | Performance control device | |
| JPH0562353B2 (en) | ||
| JPS63187295A (en) | automatic performance device |