JPS62106498A - Electronic musical apparatus - Google Patents

Electronic musical apparatus

Info

Publication number
JPS62106498A
JPS62106498A JP60246336A JP24633685A JPS62106498A JP S62106498 A JPS62106498 A JP S62106498A JP 60246336 A JP60246336 A JP 60246336A JP 24633685 A JP24633685 A JP 24633685A JP S62106498 A JPS62106498 A JP S62106498A
Authority
JP
Japan
Prior art keywords
latch
output
data
gate
musical
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.)
Granted
Application number
JP60246336A
Other languages
Japanese (ja)
Other versions
JPH0468638B2 (en
Inventor
隆 松田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60246336A priority Critical patent/JPS62106498A/en
Publication of JPS62106498A publication Critical patent/JPS62106498A/en
Publication of JPH0468638B2 publication Critical patent/JPH0468638B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は電子楽器に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to an electronic musical instrument.

[発明の技術背景] 従来の電子楽器は、内部メモリに1つの楽音波形情報を
記憶しておいて、鍵操作するとその音高に応じた速度で
上記楽音波形情報が読出され、その楽音が作成放音され
ることが一般である。そしてそのメモリは単に1つの楽
音波形情報を記憶するためだけに用いられている。
[Technical Background of the Invention] Conventional electronic musical instruments store one piece of musical sound waveform information in an internal memory, and when a key is operated, the musical sound waveform information is read out at a speed corresponding to the pitch of the note, and the musical sound is created. Generally, a sound is emitted. The memory is used only to store one musical tone waveform information.

また従来では、演奏した曲を記憶させる等の機能を実現
するには別個にメモリが必要であり、コストアップにつ
ながった。
Furthermore, in the past, a separate memory was required to implement functions such as storing played songs, leading to increased costs.

[発明の目的] この発明は一ヒ述した事情に鑑みてなされたもので、そ
の目的とするところは、メモリから楽音波形情報が読出
されて発音中であっても上記メモリへの楽音情報の追加
が簡単に行えるようにした電子楽器を提供しようとする
ものである。
[Object of the Invention] This invention has been made in view of the above-mentioned circumstances, and its purpose is to read out musical sound waveform information from the memory and transfer the musical sound information to the memory even when sounding is in progress. The purpose is to provide an electronic musical instrument that allows additions to be made easily.

[発明の要点] この発明は一上述した目的を達成するために、メモリに
書込まれた楽音波形データを読出しその楽音を作成放音
すると共に、−1−記メモリからの楽音波形データの読
出し時間以外の空サイクルを検出し、この空サイクル時
に1−記メモリの空エリアに音高情報や音長情報等の楽
1゛1情+Uを古き込むことを要点とする。
[Summary of the Invention] In order to achieve the above-mentioned object, the present invention reads the musical sound waveform data written in the memory, creates and sounds the musical sound, and -1- reads the musical sound waveform data from the memory. The key point is to detect an empty cycle other than time, and to store music information such as pitch information and length information into the empty area of the 1- memory during this empty cycle.

[実施例] 以下、図面を#照して一実施例を説明する。[Example] Hereinafter, one embodiment will be described with reference to the drawings.

まず第1図により囲体的な回路構成を説明する。First, the circuit configuration will be explained with reference to FIG.

図中11は、キーボードであり、1°丁階キー及び各種
制御キー(音色選択キー等)から構成される。そしてこ
のキーボード11の各キーの出力はCPU12(中央処
理装置)に入力する。
In the figure, reference numeral 11 denotes a keyboard, which is composed of a 1 degree key and various control keys (timbre selection key, etc.). The output of each key on this keyboard 11 is input to a CPU 12 (central processing unit).

IF13はCPU12と他の回路とのデータのやりとり
を円滑に行なうための回路、インターフェイス回路であ
り、CPU12から各種ラッチへ、逆に各種ラッチから
CPU12へのようなデータ伝送方向の制御等を行なう
。オペレーションデコーダ14はCPU12からの指令
を解読し各種ラッチクロックCK (ONFラッチ15
)、CK CWFyッfL 6)、CK (RFうyチ
17)、CK (RTAD7−/ チ18)、CK (
STADラッチ19)、CK (ENDADラッチ20
)、CK (RWADラ−zチ21)、GK (WI)
ATAうyチ22)、CK (f 5ET7−/チク3
)やゲート制御信号(RRAM)を出力する。
The IF 13 is a circuit or interface circuit for smoothly exchanging data between the CPU 12 and other circuits, and controls the direction of data transmission from the CPU 12 to various latches, and conversely from various latches to the CPU 12. The operation decoder 14 decodes commands from the CPU 12 and outputs various latch clocks CK (ONF latch 15
), CK CWFyffL 6), CK (RF uychi 17), CK (RTAD7-/chi 18), CK (
STAD latch 19), CK (ENDAD latch 20)
), CK (RWAD Larch 21), GK (WI)
ATA Uychi 22), CK (f 5ET7-/Chiku 3
) and gate control signals (RRAM).

CPU12はデータバスDBに各種ラッチ(RTA D
 7 ッチ18、S T A D 7−/ + 19.
0NFyッチ15等データバスDBが入力となっている
もの)にセットしたいデータを乗せた状態で、オペレー
ションデコーダ14に指令を送り、対応するラッチクロ
ックを出力させる。これによりデータバスDBが入力と
なっている任意のラッチに任意のデータがセットできる
。また、信号RRAMを出力させてゲートG8を開成さ
せることにより、RD A T A ラ−/ f 24
 (7)データをCPU12は読みとることができる。
The CPU 12 connects various latches (RTA D) to the data bus DB.
7 touch 18, S T A D 7-/ + 19.
With the data to be set loaded on the 0NFy switch 15 (such as the one whose input is the data bus DB), a command is sent to the operation decoder 14 to output the corresponding latch clock. This allows any data to be set in any latch to which the data bus DB is input. Further, by outputting the signal RRAM and opening the gate G8,
(7) The CPU 12 can read the data.

ゲートGl−G9は、3ステイト八−、ファーである。Gate Gl-G9 is 3-state 8-, far.

コントロール人力CがrlJの時、入力をそのまま出力
し、「0」の時出力オフする(ハイインピーダンス)。
When the control human power C is rlJ, the input is output as is, and when it is "0", the output is turned off (high impedance).

クロックジェネレータ25はクロック発生回路であり、
φ1、φ2の2つの交1jXt< )レスを出力する。
The clock generator 25 is a clock generation circuit,
The two intersections 1jXt<) of φ1 and φ2 are output.

オペレーションデコーダ14から出力されるCKはすべ
てφ2周期である。
All CKs output from the operation decoder 14 have a period of φ2.

上記RAM35は楽音波形データを記憶する。The RAM 35 stores musical sound waveform data.

例として、8 bitのデータが8個から構成される楽
音波形データを第2図に示す、第3図はその楽音波形デ
ータを時間tごとに読み出した出力アナログ波形である
。tは音程を決定する時間である0例えばtを2倍にす
ると1オクターブ低い音、1/2にすると1オクターブ
高い音になる。
As an example, FIG. 2 shows musical tone waveform data consisting of eight pieces of 8-bit data, and FIG. 3 shows an output analog waveform obtained by reading out the musical tone waveform data at every time t. t is the time that determines the pitch. For example, doubling t will make the pitch one octave lower, and halving it will make the pitch one octave higher.

この音程を決定する時間tを調節する回路が、fsET
ラッチ23、fCNTラッチ26、インクリメント回路
27導音階クロックの作成回路でアル−ON F ラ−
/ チl 51f発rfする時「l」、発音しない時「
O」にセットするラッチである。音が鳴っていない時、
ONFラッチ15の出力は「0」である。そしてその出
力はインバータエ2及びオアゲートR1を介しゲー)G
2に制御信号として人力するほか、更にインバータII
を介しゲートGlに制御信号として入力する。またラッ
チ0NF15の出力はアンドゲートA2にアントゲ−)
Alの出力と共に入力する。そしてアンドゲートA2の
出力はインバータI3を介しアンドゲートA3、A4に
入力するほか、直接アントゲ−)A7にクロックφ1と
共に入力する。またアンドゲートA2の出力は直接ゲー
トG7、の制御端子C、アントゲ−)A5に入力すると
共にインクリメント回路28に+1信号として印加され
、更にインバータI5を介してゲートG6の制御端子C
に入力する。
The circuit that adjusts the time t that determines this pitch is fsET.
latch 23, fCNT latch 26, increment circuit 27 Al-ON F-ra-
/ Chil 51f When RF is emitted, "l" is pronounced, and when it is not pronounced, "
This is a latch that is set to "O". When there is no sound,
The output of ONF latch 15 is "0". And its output is passed through inverter 2 and OR gate R1
In addition to manually inputting control signals to 2, inverter II
The signal is input as a control signal to the gate Gl via the gate Gl. Also, the output of latch 0NF15 is sent to AND gate A2.)
Input together with the output of Al. The output of AND gate A2 is input to AND gates A3 and A4 via inverter I3, and is also directly input to AND gate A7 together with clock φ1. Further, the output of the AND gate A2 is directly inputted to the control terminal C of the gate G7, and the control terminal C of the gate G6.
Enter.

この状態でキーボード11のある音階キーが押されたと
すると、CPU12はf SETラッチ23にその音階
に対応したデータをセットする。
If a certain scale key on the keyboard 11 is pressed in this state, the CPU 12 sets data corresponding to that scale in the f SET latch 23.

この場合ONFラッチ15の出力がrQJとなリ、した
がってインバータI2出力rlJ、したがってオアゲー
)R1出力「1」なのでゲートG2はオン、ゲートGl
はオフとなり、fCNTラッチ26には、fsETラッ
チ23のデータがロードされる。
In this case, the output of the ONF latch 15 is rQJ, so the inverter I2 output rlJ, and therefore the ORG) R1 output is "1", so the gate G2 is on and the gate Gl
is turned off, and the data in the fsET latch 23 is loaded into the fCNT latch 26.

例えば、fSETラッチ23のデータが80(H)(H
は16進コードであることを示す)だとすると、fCN
Tラッチ26出力も80(H)となりアンドゲートAl
出力はrQJとなる。ここで、ONFラッチ15をrl
Jにセットすると、オアゲー)R1出力がrOJとなり
ゲートG2がオフ、ゲー)Glがオンとなる。インクリ
メント回路27.28は+1入力が1の時、人力データ
に対し+1を行って出力する回路である。
For example, the data of the fSET latch 23 is 80 (H) (H
is a hexadecimal code), then fCN
The T latch 26 output also becomes 80 (H) and the AND gate Al
The output becomes rQJ. Here, set the ONF latch 15 to rl
When set to J, the output of ORG)R1 becomes rOJ, gate G2 is turned off, and gate Gl is turned on. The increment circuits 27 and 28 are circuits that increment manual data by +1 and output the result when the +1 input is 1.

インクリメント回路27では、+1入力は常に1にしで
あるのでいつも+1される。ONFラッチ15が1とな
った次のφiで81(H)がfCNTラッチ26に読み
込まれ、次のφ2で出力される。次のφ1では82(H
)が読み込まれ、次のφ2で出力される。以後これを繰
り返し、FF(H)が出力されるまで続く。FF(H)
が出力されるとアントゲ−)AI出力はrlJとなり、
ゲートG2オン、ゲートG2オンとなり再び80(H)
〜FF(H)の時間に一発のrlJ信号を出すタイマー
出力となる。
In the increment circuit 27, since the +1 input is always set to 1, it is always incremented by +1. 81 (H) is read into the fCNT latch 26 at the next φi after the ONF latch 15 becomes 1, and output at the next φ2. In the next φ1, 82(H
) is read and output at the next φ2. Thereafter, this process is repeated until FF (H) is output. FF(H)
When is output, the AI output becomes rlJ,
Gate G2 on, gate G2 on and 80(H) again
This is a timer output that outputs one rlJ signal at the time of ~FF(H).

」1記fCNTラッチ26、アンドゲートA3、A4各
出力が夫々入力する2FF (1)ラッチ29.2FF
(2)ラッチ30のようにCKI、CR2の2つのクロ
ック端子を持つものは2相フリツプフロツプであり、C
KIで読み込みCR2で出力する。なお、2FF (1
)ラッチ29.2FF (2)ラッチ30各出力がWF
ラッチ16またはRFラッチ17の各リセット入力端子
Rに入力する。
”1 fCNT latch 26, AND gates A3, A4 outputs respectively input 2FF (1) Latch 29.2FF
(2) A latch 30 that has two clock terminals, CKI and CR2, is a two-phase flip-flop;
Read with KI and output with CR2. In addition, 2FF (1
) Latch 29.2FF (2) Each output of latch 30 is WF
It is input to each reset input terminal R of the latch 16 or RF latch 17.

D/A変換器31の出力のアナログ波形は、ONFラッ
チ15が「0」の時は、インバータI2出力がrlJ 
、5OUTラツチ32のR入力が「1」となり、5OU
Tラツチ32出力が「OO・・・・・・O」となって(
SOUTラッチ32、WFラッチ16、RFラッチ17
等のRはリセット入力を示す)、D/A変換器31のM
SB入力はインバータ■6を通るのでこの場合のD/A
変換器31の出力は最大出力の半分の電位となる。なお
アンドゲートA4の出力はクロックφ1 と共にアント
ゲ−)A6に入力し、またアントゲ−)A6、A7の各
出力はまたRDATAラッチ24.5OUTラツチ32
の各クロックとなる。またこの5OUTラツチ32のリ
セット信号はインバータI2の出力である。
The analog waveform of the output of the D/A converter 31 is that when the ONF latch 15 is "0", the inverter I2 output is rlJ
, the R input of the 5OUT latch 32 becomes "1", and the 5OUT
The T latch 32 output becomes “OO...O” (
SOUT latch 32, WF latch 16, RF latch 17
), M of the D/A converter 31
Since the SB input passes through inverter ■6, the D/A in this case
The output of the converter 31 has a potential half of the maximum output. The output of the AND gate A4 is input to the AND gate A6 together with the clock φ1, and each output of the AND gate A6 and A7 is also input to the RDATA latch 24.5OUT latch 32.
each clock. Further, the reset signal of this 5OUT latch 32 is the output of the inverter I2.

また波形を読み出す最初のアドレス(スタートアドレス
)とそれ以後のアドレスを読まない最後尾アドレス(エ
ンドアト1/ス)と最後尾アドレスの次に前にもどって
読み始める戻り先アドレス(リターンアドレス)はそれ
ぞれ順に、5TADラツチ19、ENDADラッチ20
.RTADラッチ18にセットされる。スタートアドレ
スデータから順にアドレスを+1してエンドアドレスま
で読むと、リターンアドレスにもどり再びアドレス順に
エンドアドレスまで行く、以後これをONFラッチ15
が「O」になるまでくり返す。
Also, the first address (start address) from which the waveform is read, the last address (end at 1/s) from which the subsequent addresses are not read, and the return address (return address) from which to read the waveform after the last address are respectively In order, 5TAD latch 19, ENDAD latch 20
.. Set in RTAD latch 18. After reading the address by +1 from the start address data to the end address, it returns to the return address and goes to the end address again in address order.
Repeat until it becomes "O".

ONFラッチ15が「0」の時、インバータI2出力が
「1」となり、インバータI2の出力とアントゲ−)A
5の出力がインバータエ4を介し入力され、ノアゲー)
NRI出力及びノアゲー)NR2出力がrQJ となる
のでゲートG4オン、ゲー)G3.05オフである。こ
の間に2相フリツプフロツプよりなるSADラッチ33
には、5TADラツチ19からのスタートアドレスデー
タがゲートG4を介しロードされる。この時fCNTラ
ッチ26には前述したようにf SETラッチ23から
のデータがロードされている。
When the ONF latch 15 is "0", the inverter I2 output becomes "1", and the output of the inverter I2 and the ant game) A
The output of 5 is input via inverter 4, and the output is inputted via inverter 4.
Since the NRI output and the NR2 output are rQJ, the gate G4 is on and the gate G3.05 is off. During this time, the SAD latch 33 consisting of a two-phase flip-flop
, the start address data from the 5TAD latch 19 is loaded through gate G4. At this time, data from the f_SET latch 23 is loaded into the fCNT latch 26 as described above.

−数回路34はENDADラッチ20からのエンドアド
レスデータとSADラッチ33からのスタートアドレス
データ又はリターンアドレスデータとが一致した時に「
1」を出力する回路であり、今はSADラッチ33のス
タートアドレスデータとエンドアドレスデータが一致し
ないので出力は「0」である、なお、−数回路34の出
力はアントゲ−)A5に入力する。
- When the end address data from the ENDAD latch 20 and the start address data or return address data from the SAD latch 33 match,
This is a circuit that outputs "1", and since the start address data and end address data of the SAD latch 33 do not match, the output is "0".The output of the -number circuit 34 is input to A5. .

ここで、ONFラッチ15の出力を「l」にすると、イ
ンバータI2出力が「0」によりゲートG4がオフとな
り、−・致回路34の出力が「0」、アンドゲートA5
の出力がrQJとなって、ゲートG5がオンされるとと
もに、インバータ■4の出力が「1」となってゲートG
3がオフされる。これによりSADランチ33の出力は
インクリメント回路28を通って戻ってくることになる
Here, when the output of the ONF latch 15 is set to "L", the inverter I2 output is "0" and the gate G4 is turned off, the output of the -/match circuit 34 is "0", and the AND gate A5 is turned off.
The output of inverter 4 becomes rQJ, turning on gate G5, and the output of inverter 4 becomes "1", turning gate G5 on.
3 is turned off. This causes the output of the SAD launch 33 to return through the increment circuit 28.

ONFラッチ15が「1−1になった直後は、fCNT
ラッチ26のデータはインクリメントを始めたばかりで
あり、アンドゲートA1出力は「0」であり、アントゲ
−1・A2出力も「0」となって、インクリメント回路
28の+1入力端子にはrQJ信号が与えられるのでS
ADラッチ33のデータはインクリメントされない。ま
た5OUTラツチ32のR人力は、ONFラッチ15の
出力がrlJとなると同時に「0」となってはいるが、
アンドゲートA2出力が「0」のためアンドゲートA7
出力がrO」で5OUTラツチ32のCK端子にrlJ
信号がダーえられないのでD/A変換器31の出力は最
大出力の半分の電位のままである。なお、このD/A変
換器31にはアンプ36、スピーカ37が直列接続され
ている。
Immediately after ONF latch 15 becomes 1-1, fCNT
The data in the latch 26 has just started incrementing, the AND gate A1 output is "0", the AND gate A1 and A2 outputs are also "0", and the rQJ signal is applied to the +1 input terminal of the increment circuit 28. S because it will be done
The data in AD latch 33 is not incremented. In addition, the R input of the 5OUT latch 32 becomes "0" at the same time as the output of the ONF latch 15 becomes rlJ.
AND gate A7 because AND gate A2 output is “0”
When the output is rO, rlJ is connected to the CK terminal of 5OUT latch 32.
Since the signal is not decreased, the output of the D/A converter 31 remains at a potential half of the maximum output. Note that an amplifier 36 and a speaker 37 are connected in series to this D/A converter 31.

1−記fCNTラッチ26のデータがrll・・・・・
・1」になると、アントゲ−)AI出力が「1」となり
、アントゲ−1−A2出力が「1」となって、インクリ
メント回路28の+1入力端子に「l」信号がU−えら
れる。同時にゲー)G7がオンとなりSADラッチ33
のデータがRAM35のアドレス入力端子ADに送られ
る。また、アンドゲートA2の出力がrlJであること
により、インバータI3の出力が「0」となり、アンド
ゲートA3の出力が「0」となって、RAM35のσ下
端千人力が「0」となる。よってRAM35のSADア
ドレスデータ(すなわちこの時はスタートアドレスデー
タ)がRAM35のI10端子から出力される。上記σ
■端子はrQJの時にデータをIloから出力させるコ
ントロール信号が入力される。ここで、アンドゲートA
2出力がrlJとなることによりアンドゲートA7出力
にクロックパルス信号φ1が1つ表われRAM35のデ
ータを5OUTラツチ32に読み込ませる。これがD/
A変換器31によりアナログ信号に変換されアンプ36
を介してスピーカ37を通して出力される。
1-The data of fCNT latch 26 is rll...
・When it becomes 1, the Antogame AI output becomes 1, the Antogame 1-A2 output becomes 1, and the ``l'' signal is sent to the +1 input terminal of the increment circuit 28. At the same time, G7 is turned on and SAD latch 33
data is sent to the address input terminal AD of the RAM 35. Further, since the output of the AND gate A2 is rlJ, the output of the inverter I3 becomes "0", the output of the AND gate A3 becomes "0", and the σ lower end 1,000 volts of the RAM 35 becomes "0". Therefore, the SAD address data of the RAM 35 (that is, the start address data at this time) is output from the I10 terminal of the RAM 35. Above σ
(2) A control signal for outputting data from Ilo when rQJ is input is input to the terminal. Here, and gate A
2 output becomes rlJ, one clock pulse signal φ1 appears at the output of AND gate A7, causing the data in RAM 35 to be read into 5OUT latch 32. This is D/
It is converted into an analog signal by the A converter 31 and sent to the amplifier 36.
is output through the speaker 37.

一方、インクリメント回路28を通って+1されたデー
タはクロックパルス信号φ1の印加時にSADラッチ3
3に読み込まれる。以後、fCNTラッチ26のデータ
が「ll・・・・・・1」になるたびに(すなわち時間
を経過ごとに)SADラッチ33のデータがゲートG7
を通してRAM35のアドレス入力端子ADに入力され
、dl”端子にrOJ信号が与えられることによりRA
M35のそのアドレスのデータがIloに出力され、5
OUTラツチ32のCK端子にパルスが入ることで、そ
のデータが5OUTラツチ32にラッチされ、D/A変
換器31、アンプ36、スピーカ37を通じ出力される
。なお、データのMSB(最上位ビット)には、インバ
ータI7を介し5OUTラツチ32にラッチされる。そ
して、この一連の動作の度にSADラッチ33からのデ
ータは+1されていき、やがてSADラッチ33のデー
タがエンドアドレスデータと等しくなる。その状態で前
述の一連の動作が行なわれると、一致回路34の出力は
「1」、アントゲ−)A2出力は「l」となるため、ア
ントゲ−)A5出力はrlJで、ノアゲー)NR2出力
はrOJとなってゲー)G5がオフされ、インバータI
4出力が「O」、ノアゲートNRI出力が「l」となり
ゲートG3がオンされる。これにより、次にエンドアド
レスデータが5OUTラツチ32にラッチされる時には
リターンアドレスデータがSADラッチ33に読み込ま
れRAM35のアドレスの戻りが実現される。以後はO
NFラッチ15に「0」がセットされるまでリターンア
ドレスとエンドアドレスの間のアドレスデータをくり返
し出力する。
On the other hand, the data incremented by 1 through the increment circuit 28 is transferred to the SAD latch 3 when the clock pulse signal φ1 is applied.
3. Thereafter, each time the data in the fCNT latch 26 becomes "ll...1" (that is, each time the data passes), the data in the SAD latch 33 changes to the gate G7.
The rOJ signal is input to the address input terminal AD of the RAM 35 through the dl" terminal, and the RA
The data at that address in M35 is output to Ilo, and 5
When a pulse is input to the CK terminal of the OUT latch 32, the data is latched into the 5OUT latch 32 and outputted through the D/A converter 31, amplifier 36, and speaker 37. Note that the MSB (most significant bit) of the data is latched into the 5OUT latch 32 via the inverter I7. Each time this series of operations is performed, the data from the SAD latch 33 is incremented by 1, and eventually the data in the SAD latch 33 becomes equal to the end address data. When the above-mentioned series of operations is performed in this state, the output of the matching circuit 34 becomes "1" and the output of A2 (antogame) becomes "l", so the output of A5 (another game) is rlJ, and the output of NR2 (another game) rOJ, G5 is turned off, and inverter I
4 output becomes "O", the NOR gate NRI output becomes "L", and gate G3 is turned on. As a result, the next time the end address data is latched into the 5OUT latch 32, the return address data is read into the SAD latch 33 and the return of the address of the RAM 35 is realized. From then on O
Address data between the return address and the end address is repeatedly output until the NF latch 15 is set to "0".

次にCPU12がRAM35にデータを書き込む動作に
ついて第4図のタイムチャートを参照して説明する。
Next, the operation of writing data into the RAM 35 by the CPU 12 will be explained with reference to the time chart of FIG.

まず、RWADラッチ21に古き込むアドレス、WDA
TAラッチ22にiQき込むデータをセットする。その
後WFラッチ16にrlJをセットすると、CPU12
がRAM35のデータを読み込むと同様に、ONFラッ
チ15が「0」の時はセット直後のサイクルで、またO
NFラッチ15が「1」の時は、波形データ読み込みサ
イクル以外のサイクルでアントゲ−)A3の出力がrl
Jとなる。この時ゲートG7がオンしRAM35のOE
端子入力が「l」となることでWDATAラッチ22の
データがIloに入力され、ナンドゲー)NAIにより
φ1周期の立OWレベルアクティブパルスがRAM35
のWEE子に入力される。また、この時にはゲートG7
がオフ、ゲ−)G6がオンとなっているので、RWAD
ラッチ21のアドレスのデータが書き込まれることにな
る。このRAM35へのCPU12の占き込みサイクル
は2FF (1)ラッチ29によりlサイクルだけにな
る。
First, the old address, WDA, is stored in the RWAD latch 21.
Set the data to be loaded into the TA latch 22. After that, when rlJ is set in the WF latch 16, the CPU 12
Similarly, when the ONF latch 15 is “0”, it is read in the cycle immediately after setting, and the ONF latch 15 is “0”.
When the NF latch 15 is "1", the output of A3 is rl in cycles other than the waveform data read cycle.
It becomes J. At this time, gate G7 is turned on and the OE of RAM35 is turned on.
When the terminal input becomes "L", the data of the WDATA latch 22 is input to Ilo, and the rising OW level active pulse of φ1 period is sent to the RAM 35 by the NAND game) NAI.
is input to the WEE child of Also, at this time, gate G7
is off, G6 is on, so RWAD
Data at the address of latch 21 will be written. The CPU 12 inputs only one cycle into the RAM 35 due to the 2FF (1) latch 29.

次にCPU12がRAM35のデータを読み取るための
回路について第5図のタイムチャートを参照して説明す
る。
Next, a circuit for the CPU 12 to read data from the RAM 35 will be described with reference to the time chart shown in FIG.

まずONFラッチ15が「0」すなわち発音していない
場合を述べる。
First, the case where the ONF latch 15 is "0", that is, no sound is being generated, will be described.

RFラッチJ7に「1」WFラッチ16に10」をセッ
トすると、ONFラッチ15出力が「0」だからオアゲ
ートR1の出力が「l」となってゲー)G2のオンによ
り、fCNTラッチ26にはfSETラッチ23の音階
データが入っているので、アントゲ−)Al出力は「O
」、アンドゲートA2出力も「0」となり、インバータ
I3の出力がrlJとなり、アントゲ−)A4出力がr
lJなのでアントゲ−)A6よりクロックパルス信号φ
1が出力され、レジスタRDATA24にデータがとり
こまれる。この時アントゲ−)A2はrOJなのでゲー
トG7がオフ、ゲートG6がオンとなりR,AM35の
アドレス入力端子ADにはRWAD21からのデータが
与えられ、またWFラッチ16の「0」出力によりアン
トゲ−)A3の出力が「0」となり、σ下人力が「0」
なって、RWAD7ツチ21のアドレスデータが出力さ
れている。そこでRWADラッチ21にあらかじめRA
M35の読みたいアドレスをセットしておきWFラッチ
16にrOJ、RFラッチ17にrlJをセットすると
RAM35のデータをRDATAラッチ24に読み込ま
せることができる。その後CPU12はオペ1/−ジョ
ンデコーダ14にrlJの信号RRAMを出力させ、ゲ
ートG8をオンとすることで、RDATAラッチ24の
データをデータバスDBを通して読み込む、RFラッチ
エアにセットされたrlJはRDATAラッチ24への
読み込みクロックと同じクロックパルス信1Jφ1で2
FF(2)ラッチ30に読み込まれ次のクロックパルス
0壮φ2で出力されることによりリセットされ、RDA
TAラッチ24より読み込みクロックが2発以上出るの
を防ぐ。
When the RF latch J7 is set to "1" and the WF latch 16 is set to "10", the ONF latch 15 output is "0", so the output of the OR gate R1 becomes "L", and by turning on G2, fSET is set in the fCNT latch 26. Since the scale data of latch 23 is included, the anime) Al output is “O
”, the output of AND gate A2 becomes “0”, the output of inverter I3 becomes rlJ, and the output of AND gate A4 becomes r
Since it is lJ, the clock pulse signal φ is generated from A6.
1 is output, and the data is taken into the register RDATA24. At this time, since A2 is rOJ, gate G7 is turned off and gate G6 is turned on, data from RWAD21 is given to the address input terminal AD of R and AM35, and the "0" output of WF latch 16 causes the gate G7 to turn off and gate G6 to turn on. The output of A3 becomes “0” and the σ force is “0”
Thus, the address data of RWAD 7 21 is output. Therefore, the RWAD latch 21 is
By setting the address to be read in M35 and setting rOJ in the WF latch 16 and rlJ in the RF latch 17, data in the RAM 35 can be read into the RDATA latch 24. After that, the CPU 12 causes the operation 1/- John decoder 14 to output the rlJ signal RRAM, and turns on the gate G8 to read the data in the RDATA latch 24 through the data bus DB. 2 with the same clock pulse signal 1Jφ1 as the read clock to 24
It is reset by being read into the FF (2) latch 30 and output at the next clock pulse 0 and
Prevents two or more read clocks from being output from the TA latch 24.

一方、ONFラッチ15が「l」すなわち発r1中の場
合は上記動作を5OUTラツチ32が波形のデータを読
み込むサイクル(この場合クロックパルス信号φ2から
次のφ2までをサイクルと呼ぶことにする)以外のサイ
クルで行なうことになる。すなわちアンドゲートAlが
「1」となるのは波形データ読み込みサイクルの時だけ
であり、それ以外は「0」なので、アンドゲートAl出
力がrOJとなることで上述の動作が行なわれる。
On the other hand, when the ONF latch 15 is in the "l" state, i.e., is in the process of emitting r1, the above operation is performed other than the cycle in which the 5OUT latch 32 reads the waveform data (in this case, the period from clock pulse signal φ2 to the next φ2 is called a cycle). This will be done in cycles. That is, the AND gate Al becomes "1" only during the waveform data read cycle, and is "0" at other times, so the above-described operation is performed when the AND gate Al output becomes rOJ.

次に一■−記のようにして、RAMのθ〜7番地までに
第2図に示した楽音波形データが既に書き込まれており
、面して8番地以降の空エリアに、第5図の楽譜に示す
楽音情報を演奏しながら書き込み、次いでそれを再生す
るときの動作を第7図のタイムチャートを参照して説明
する。
Next, the tone waveform data shown in Fig. 2 has already been written in RAM addresses θ to 7, and the empty area from address 8 onwards is written as shown in Fig. The operation of writing musical tone information shown on a musical score while playing and then reproducing it will be explained with reference to the time chart of FIG. 7.

なお、8〜16番地に書き込まれる第6図の楽譜の楽音
情報は、第8図に示す通りである。
Note that the musical tone information of the musical score shown in FIG. 6 written in addresses 8 to 16 is as shown in FIG.

波形データは第3図のものがRAM35に入っているも
のとし、5TADラツチ19及びRTADラッチ18に
rOJ 、ENDADラッチ20に「7」をセットする
。これにより発音波形は第4図の(イ)から(ロ)をく
り返す波形となる。第7図の第1a目のa高G4を骨〈
前にはキーボード11のどのキーも押されていない、C
PU12はONFラッチ15をrQJにしてキーを待ち
、音高G4が押されるとCPU12は音高64に対応す
る音高データをf S E Tラッチ23にセットしO
NFラッチ15を「11にする。これにより音高G4の
音が鳴りはじめる。CI’U12はONFラッチ15を
rlJにした後1?WADラツチ21に「8」をセット
し、W I) A T Aラッチ24に音高04を表わ
すキーオンコードをセットする。
It is assumed that the waveform data shown in FIG. 3 is stored in the RAM 35, rOJ is set in the 5TAD latch 19 and RTAD latch 18, and "7" is set in the ENDAD latch 20. As a result, the generated sound waveform becomes a waveform that repeats (a) to (b) in FIG. 4. The a height G4 of the 1st a in Fig. 7 is the bone〈
No keys on keyboard 11 were pressed before, C
The PU 12 sets the ONF latch 15 to rQJ and waits for a key, and when pitch G4 is pressed, the CPU 12 sets pitch data corresponding to pitch 64 in the fSET latch 23 and sets the pitch data to the fSET latch 23.
Set the NF latch 15 to ``11.'' This causes the sound of pitch G4 to start sounding. CI'U 12 sets the ONF latch 15 to rlJ, then sets the 1?WAD latch 21 to ``8'', W I) A T A key-on code representing pitch 04 is set in the A latch 24.

WFクラッチ6をrlJにすると、S OtJ Tラッ
チ32にRWM35の波形を読み込まない最初のサイク
ルでWDATAラッチ22のデータがRAM35の8番
地に書きこまれる。やがて4分音符の時間後音高64の
キーが離鍵されるとCFUI2はONFラッチ15をr
QJにすることでrt高高番4発音を停■トさせ、RW
ADラッチ21にr9J 、WDATAラッチ22に4
分音符を表わす音長コードをセットしWFクラッチ6を
rlJにする。4分音符コードはRAM35の9番地に
書き込まれる。この書き込みが終了したころにCPU1
2はRWADラッチ21にrlOJ、WDATAラッチ
22に音高04のキーオフコードをセットし、WFクラ
ッチ6を「1」にする。実際には、RAM35のアクセ
ス時間はCPU12の処理時間に比べ充分高速なのでR
AM35の9番地への書き込み終了を持つのは1回No
r (ノーオペレーション)する程度でよい。以後第2
音、第3音の音高E4、C5の場合にも同様の処理が行
われ、演奏を終えた時のRAM35内のデータは第8図
のようになっている。
When the WF clutch 6 is set to rlJ, the data in the WDATA latch 22 is written to address 8 of the RAM 35 in the first cycle in which the waveform of the RWM 35 is not read into the S OtJ T latch 32. Eventually, after a quarter note, the key at pitch 64 is released, and CFUI2 releases ONF latch 15.
By setting it to QJ, the rt high high note 4 sound is stopped, and the RW
r9J to AD latch 21, 4 to WDATA latch 22
Set the note length code representing the diacritic note and set the WF clutch 6 to rlJ. The quarter note code is written into address 9 of the RAM 35. When this writing is finished, CPU1
2 sets rlOJ in the RWAD latch 21, sets the key-off code of pitch 04 in the WDATA latch 22, and sets the WF clutch 6 to "1". In reality, the access time of the RAM 35 is sufficiently faster than the processing time of the CPU 12, so
It is No once that the write to address 9 of AM35 is completed.
r (no operation) is sufficient. From now on, the second
Similar processing is performed for pitches E4 and C5 of the third note, and the data in the RAM 35 at the end of the performance is as shown in FIG.

次に記憶した曲を再生する動きを説明する。Next, we will explain how to play a stored song.

再生を始める前はONFラッチ15は「0」である。C
PU12は再生開始する時にRWADラッチ21に「8
」をセットし、RFラッチ17にrlJ、WFクラッチ
6にrQJをセットするこれによりRDATラッチ24
にRAM35の8番地のデータ(すなわち音高04のキ
ーオフコード)が読み込まれるのを待って(これもNo
Pl回で充分)、信号RRAMを出力させRDATAラ
ッチ24のデータをCPU12にとりこむ。CPU12
はこのデータが5′丁高04キーオンコードであること
を解読し、fSETラッチ23に音高04の音高データ
をセットしONFラッチ15をrlJとする0次にCP
U12はRWADラッチ21に「9」をセットし、RF
ラッチ17をrt4にする。5OUTラツチ32の読み
込みサイクルではない最初のサイクルでRDATAラッ
チ24にRAM35の9番地のデータ(4分音符コード
)が読まれる。CPU12の読み込み終了を待って(N
oPl回)信りRRAMを出力させ、RDATAラー2
チ22のデータをCPU12にとり込む。CPU12は
このデータを解読し、4分音符の時間経過を待つ、4分
音符分の時間がたつとRWADラッチ21に「lO」を
セットしRFラッチ17にrlJをセー、ト後、1回N
orして信号RRAMを出力させる。これにより、RA
M35の10番地の音高64キーオフコードがCPU1
2に読み込まれる。CPU12はこれを解読し、ON 
F y 7 チ15 ヲr OJ ニL fY高G4の
発音を止める。
Before starting playback, the ONF latch 15 is "0". C
When the PU 12 starts playing, the RWAD latch 21 is set to "8".
”, set rlJ in the RF latch 17, and rQJ in the WF clutch 6. As a result, the RDAT latch 24
(This is also a No.
Pl times is sufficient), the signal RRAM is output, and the data in the RDATA latch 24 is taken into the CPU 12. CPU12
deciphers that this data is a 5' pitch 04 key on code, sets the pitch data of pitch 04 in the fSET latch 23, and sets the ONF latch 15 to rlJ.
U12 sets “9” in RWAD latch 21 and RF
Set latch 17 to rt4. In the first cycle, which is not the read cycle of the 5OUT latch 32, the data (quarter note code) at address 9 of the RAM 35 is read into the RDATA latch 24. Wait for CPU12 to finish reading (N
oPl times) output RRAM and output RDATA error 2
The data of the chip 22 is taken into the CPU 12. The CPU 12 decodes this data and waits for the time of a quarter note to elapse. When the time for a quarter note has elapsed, it sets "lO" in the RWAD latch 21, sets rlJ in the RF latch 17, and then repeats N once.
or to output the signal RRAM. This allows R.A.
The pitch 64 key off code at number 10 of M35 is CPU1
2. CPU 12 decodes this and turns ON
F y 7 Chi 15 wor OJ ni L fY high Stop the pronunciation of G4.

以後同様にして記憶した演奏を再現する。Thereafter, the memorized performance will be reproduced in the same manner.

以上のように楽音の波形を読み出して放音している間に
もこの放音楽音には何の影響も与えずに、同一のRAM
35の空エリアを他の用途に使うことができる。
As described above, even when the waveform of a musical tone is read and emitted, the same RAM can be used without any effect on the emitted sound.
35 empty areas can be used for other purposes.

以−iRAM35を使った例を述べたが、RAM35が
ROMに置き換わった例、あるいはRAM、ROMが併
用される例も考えられる。ROMが音波形データメモリ
として使用されている時には、波形データ以外の領域を
上記と同様発音中にも読めるメモリとして例えば上記f
SETラー2チ23に記憶されるデータのテーブル等に
も使える。
Although an example using the iRAM 35 has been described above, an example in which the RAM 35 is replaced with a ROM, or an example in which RAM and ROM are used together is also conceivable. When the ROM is used as a sound waveform data memory, the area other than the waveform data is stored as a memory that can be read even while sounding, for example, as described above.
It can also be used as a table of data stored in the SET register 23.

未実施例では、簡単のため波形にエンベロープを乗算す
る回路を省略した。エンベロープ乗算を実現するにはデ
ータバスDBからのデータを取り込むエンベロープラッ
チを設け、そのデータ取り込み用のクロックをオペレー
ションデコーダ14に出力させ、エンベロープラッチの
出力とSOUTラッチ32の出力を乗算器に入力しこの
乗算出力をD/A変換器31に入力すればよい。また本
実施例では筒中のためモノフォニック回路としたが、ポ
リフォニックにするには、時分割回路等を用いればよい
In the unimplemented examples, a circuit for multiplying a waveform by an envelope is omitted for simplicity. To realize envelope multiplication, an envelope latch is provided to take in data from the data bus DB, a clock for taking in the data is output to the operation decoder 14, and the output of the envelope latch and the output of the SOUT latch 32 are input to the multiplier. This multiplication output may be input to the D/A converter 31. Further, in this embodiment, a monophonic circuit is used because it is inside a cylinder, but a time division circuit or the like may be used to make it polyphonic.

[発明の効果] この発明は以−ヒ詳細に説明したように、メモリに書き
込まれた楽音波形データを読み出し、その楽音を作成数
f7すると共に、l−記メ千りからの楽音波形データの
読出し時間以外の空サイクルを検出して、この空サイク
ル時にに記メモリの空エリアに音高及び音長情報等の楽
;“丁情報を書き込むようにした電子楽器であるから、
あらたにメモリを増設したりする必要がない。
[Effects of the Invention] As explained in detail below, the present invention reads the musical sound waveform data written in the memory, creates the musical sound f7, and creates the musical sound waveform data from 1000 records. Since this is an electronic musical instrument that detects an empty cycle other than the readout time and writes pitch and length information etc. to the empty area of the memory during this empty cycle,
There is no need to add additional memory.

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

第1図は本発明の具体的な回路図、第2図はRAM35
に書込む楽音波形データの一例を示す図、第3図は第2
図のデータの楽音波形を示す図、第4図はRAM35に
波形データを書込むときのタイムチャートの図、第5図
はRAM35から波形データを読み出すときのタイムチ
ャートの図、第6図は演奏例を示す楽譜の図、第7図は
RAM35内の空エリアに楽音情報を書込む動作を示す
タイムチャートの図、第8図は上記第6図の楽譜のRA
M35内における記憶状態を示す図である。 11・・・・・・キーボード、12・・・・・・CPU
、14・・・・・・オペレーションデコーダ、18・・
・・・・RTADラッチ、19・・・・・・5TADラ
ツチ、20・・・・・・ENDADラッチ、21・・・
・・・RWADラッチ、22・・・・・・WDATAラ
ー7チ、23・・・・・・fSETラッチ、24・・・
・・・RDATAラッチ、26・・・・・・fCNTラ
ッチ、27.28・・・・・・インクリメント回路、3
1・・・・・・D/A変換器、33・・・・・・SAD
ラッチ、34・・・・・・一致回路、35・・・・・・
RAM、36・・・・・・アンプ、37・・・・・・ス
ピーカ。
Fig. 1 is a specific circuit diagram of the present invention, Fig. 2 is a RAM 35
Figure 3 shows an example of musical waveform data written to the 2nd
Figure 4 is a time chart when writing waveform data to RAM 35; Figure 5 is a time chart when reading waveform data from RAM 35; Figure 6 is a performance diagram. A diagram of a musical score showing an example, FIG. 7 is a diagram of a time chart showing the operation of writing musical tone information into an empty area in the RAM 35, and FIG. 8 is a diagram of the RA of the musical score shown in FIG. 6 above.
It is a figure which shows the memory state in M35. 11...Keyboard, 12...CPU
, 14... operation decoder, 18...
...RTAD latch, 19...5TAD latch, 20...ENDAD latch, 21...
...RWAD latch, 22...WDATA latch, 23...fSET latch, 24...
...RDATA latch, 26... fCNT latch, 27.28... Increment circuit, 3
1...D/A converter, 33...SAD
Latch, 34... Match circuit, 35...
RAM, 36...Amplifier, 37...Speaker.

Claims (1)

【特許請求の範囲】 メモリに書込まれた楽音波形データを読出しその楽音を
作成放音する楽音作成手段と、 上記メモリからの楽音波形データの読出し時間以外の空
サイクルの検出手段と、 音高情報や音長情報等の楽音情報を入力する楽音情報入
力手段と、 上記検出手段が空サイクルを検出しているときにおいて
上記メモリの空きエリアに対し上記楽音情報入力手段か
らの楽音情報を書込む書込み手段と を有することを特徴とした電子楽器。
[Scope of Claims] Musical sound creation means for reading musical sound waveform data written in a memory, creating and emitting musical tones, means for detecting empty cycles other than the time for reading musical sound waveform data from the memory, and pitch. musical tone information input means for inputting musical tone information such as information and note length information, and writing musical tone information from the musical tone information input means into an empty area of the memory when the detection means detects an empty cycle. An electronic musical instrument characterized by having a writing means.
JP60246336A 1985-11-05 1985-11-05 Electronic musical apparatus Granted JPS62106498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60246336A JPS62106498A (en) 1985-11-05 1985-11-05 Electronic musical apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60246336A JPS62106498A (en) 1985-11-05 1985-11-05 Electronic musical apparatus

Publications (2)

Publication Number Publication Date
JPS62106498A true JPS62106498A (en) 1987-05-16
JPH0468638B2 JPH0468638B2 (en) 1992-11-02

Family

ID=17147046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60246336A Granted JPS62106498A (en) 1985-11-05 1985-11-05 Electronic musical apparatus

Country Status (1)

Country Link
JP (1) JPS62106498A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02130598A (en) * 1988-11-10 1990-05-18 Sony Corp Digital sound signal generating device
JPH03204691A (en) * 1990-01-05 1991-09-06 Yamaha Corp Automatic player of electronic musical instrument
JPH05249958A (en) * 1992-03-06 1993-09-28 Kawai Musical Instr Mfg Co Ltd Sequencer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02130598A (en) * 1988-11-10 1990-05-18 Sony Corp Digital sound signal generating device
JP2754613B2 (en) * 1988-11-10 1998-05-20 ソニー株式会社 Digital audio signal generator
JPH03204691A (en) * 1990-01-05 1991-09-06 Yamaha Corp Automatic player of electronic musical instrument
JP2643508B2 (en) * 1990-01-05 1997-08-20 ヤマハ株式会社 Automatic instrument for electronic musical instruments
JPH05249958A (en) * 1992-03-06 1993-09-28 Kawai Musical Instr Mfg Co Ltd Sequencer

Also Published As

Publication number Publication date
JPH0468638B2 (en) 1992-11-02

Similar Documents

Publication Publication Date Title
JPS6230635B2 (en)
JPS62106498A (en) Electronic musical apparatus
US4805509A (en) Electronic musical instrument capable of storing and reproducing tone waveform data at different timings
GB2091470A (en) Electronic Musical Instrument
JPH0799478B2 (en) Electronic musical instrument
JP2599361B2 (en) Waveform reading device
JPS628795B2 (en)
JPS6153696A (en) Electronic musical instrument
JP2530926Y2 (en) Automatic musical instrument for electronic musical instruments
JPS60207195A (en) Automatic performer
JPS628078Y2 (en)
JPH0468635B2 (en)
JPS6318759B2 (en)
JPS62139591A (en) Automatic performer for electronic musical apparatus
JPH0451838B2 (en)
JPH0438397Y2 (en)
JPS628796B2 (en)
JPH0314716Y2 (en)
JPH0740193B2 (en) Musical sound generator
JPS58192092A (en) Automatic rhythm performer
JPS63187295A (en) Automatic performer
JPS63192097A (en) Automatic performer
JPS6331788B2 (en)
JPH0347517B2 (en)
JPS62127898A (en) Ensemble apparatus for electronic musical apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees