JPH028319Y2 - - Google Patents

Info

Publication number
JPH028319Y2
JPH028319Y2 JP1981129160U JP12916081U JPH028319Y2 JP H028319 Y2 JPH028319 Y2 JP H028319Y2 JP 1981129160 U JP1981129160 U JP 1981129160U JP 12916081 U JP12916081 U JP 12916081U JP H028319 Y2 JPH028319 Y2 JP H028319Y2
Authority
JP
Japan
Prior art keywords
data
steps
display
memory
musical tone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP1981129160U
Other languages
Japanese (ja)
Other versions
JPS5834199U (en
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 filed Critical
Priority to JP1981129160U priority Critical patent/JPS5834199U/en
Publication of JPS5834199U publication Critical patent/JPS5834199U/en
Application granted granted Critical
Publication of JPH028319Y2 publication Critical patent/JPH028319Y2/ja
Granted legal-status Critical Current

Links

Description

【考案の詳細な説明】 この考案はメモリへ予め楽音データを書込む際
該メモリの現在のあるいは残余のメモリステツプ
数を表示する電子楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to an electronic musical instrument that displays the current or remaining number of memory steps in a memory when musical tone data is written in the memory in advance.

近年、キーボード上のキーなどを使用して任意
の曲の楽音データをメモリへプリセツトし、次い
でこのプリセツトした楽音データを順次読出し、
上記曲を自動演奏させる電子楽器が開発されてい
る。而してこの場合、各音楽データはメモリの各
ステツプに順次書込まれるものである。
In recent years, musical tone data of an arbitrary song can be preset into memory using keys on a keyboard, and then this preset musical tone data can be sequentially read out.
An electronic musical instrument that automatically plays the above songs has been developed. In this case, each piece of music data is sequentially written to each step of the memory.

ところで従来のこの種の電子楽器では、メモリ
がオーバーフローするとこの状態を報知する確認
音を放音させたり、あるいは所定ステツプ目に確
認音を放音させたり、更には一定ステツプごとに
およびオーバーフロー時に夫々、表示体を点灯さ
せる等の方法により、メモリへまだ書込み可能な
残りのステツプ数を演奏者に知らせるようにして
いるものがある。
By the way, in conventional electronic musical instruments of this type, when the memory overflows, a confirmation sound is emitted to notify this condition, or a confirmation sound is emitted at a predetermined step, and furthermore, a confirmation sound is emitted at each predetermined step and at the time of overflow. In some music players, the number of remaining steps that can still be written into the memory is notified to the performer by lighting up a display or the like.

しかして上記方法では現在の又は残余のステツ
プ数を一つ一つ目視確認できないので後何ステツ
プ余裕があるかをその都度数えながらメモリに書
き込まなくてはならず煩わしいものであつた。
However, in the above method, it is not possible to visually check the current or remaining number of steps one by one, so the number of remaining steps must be counted each time and written into the memory, which is cumbersome.

この考案は上述の点に鑑みてなされたもので、
各メモリステツプごとの表示を表示手段により行
い、常に現在のステツプ数又は残余のステツプ数
の確認を行うことができ、更に現在のステツプ数
又は残余のステツプ数が所定ステツプ数に達する
と表示状態を例えば点灯から点滅丈態へ切替え
て、オーバーフロー直前であることを報知する電
子楽器を提供することを目的とするものである。
This idea was made in view of the above points,
Each memory step is displayed by the display means, and the current number of steps or the remaining number of steps can be checked at any time. Furthermore, when the current number of steps or the number of remaining steps reaches a predetermined number, the display state is changed. For example, it is an object of the present invention to provide an electronic musical instrument that notifies the user that an overflow is about to occur by switching from a lighting state to a blinking state.

以下、図面を参照してこの考案の一実施例を説
明する。第1図は上記実施例の電子楽器の回路構
成を示す。図においてキーマトリクス1はキーボ
ード(図示略)上の各キーのキースイツチをマト
リクス状に配設してなり、CPU(中央処理装置)
2から周期的に出力されるキースキヤン信号SC
を入力して各キーのオン、オフ状態が検出され
る。そしてこれに応じてキーマトリクス1からキ
ーコード信号KDが出力し、CPU2へ印加され
る。CPU2は入力したキーコード信号KDを処理
して各キーのオン、オフ状態を判別し、その判別
データを生成する。なお、このCPU2はその他、
この電子楽器の各種動作を制御するが、その詳細
機能の説明は省略する。
An embodiment of this invention will be described below with reference to the drawings. FIG. 1 shows the circuit configuration of the electronic musical instrument of the above embodiment. In the figure, a key matrix 1 is made up of key switches for each key on a keyboard (not shown) arranged in a matrix, and is connected to a CPU (central processing unit).
Key scan signal SC periodically output from 2
The on/off state of each key is detected. In response to this, a key code signal KD is output from the key matrix 1 and applied to the CPU 2. The CPU 2 processes the input key code signal KD, determines the on/off state of each key, and generates determination data. In addition, this CPU2 has other
Various operations of this electronic musical instrument are controlled, but a detailed description of the functions will be omitted.

スイツチ部3は上記電子楽器のキーボード付近
に設けられている各種スイツチにより構成され
る。上記スイツチとしては、リズム指定スイツ
チ、ボリユームスイツチ、音色指定スイツチ、オ
ートプレイスイツチ、エンドコード入力スイツ
チ、ワンキープレイスイツチ、モード切替えスイ
ツチ等がある。また上記モード切替えスイツチ
は、パワーオフモード、レコードモード、演奏モ
ードの各モードに対する切替え位置を有してい
る。而して上記オートプレイスイツチ、エンドコ
ード入力スイツチ、ワンキープレイスイツチの各
出力は信号AUTO、信号END、信号1keyとして
夫々スイツチ部3から出力し、上記CPU2へ与
えられて処理される。またモード切替えスイツチ
によりレコードモードを設定したとき、該モード
切替えスイツチから信号RECが出力し、トラン
スフアーゲート4にゲート制御信号として印加さ
れている。また上記信号1keyがこのトランスフ
アーゲート4を介し、後述する音長カウンタ5に
駆動信号として印加されている。
The switch section 3 is comprised of various switches provided near the keyboard of the electronic musical instrument. Examples of the above-mentioned switches include a rhythm designation switch, a volume switch, a tone designation switch, an autoplay switch, an end chord input switch, a one-key play switch, a mode changeover switch, and the like. Further, the mode changeover switch has a changeover position for each mode: power-off mode, record mode, and performance mode. The outputs of the auto play switch, end code input switch, and one key play switch are outputted from the switch unit 3 as a signal AUTO, a signal END, and a signal 1key, respectively, and are applied to the CPU 2 for processing. Further, when the record mode is set by the mode changeover switch, a signal REC is output from the mode changeover switch and is applied to the transfer gate 4 as a gate control signal. Further, the signal 1key is applied as a drive signal to a tone length counter 5, which will be described later, via this transfer gate 4.

なお、上記CPU2にはRAM(ランダムアクセ
スメモリ)6へ音楽データをプリセツトする際に
使用するレジスタ、レジスタが設けられてお
り、詳細は後述する。
Note that the CPU 2 is provided with registers and registers used when presetting music data into the RAM (random access memory) 6, the details of which will be described later.

上記RAM6は上述したように、所定曲の楽音
データが書込まれ、記憶されるメモリであるが、
この場合、楽音データの書込みはキーボード上の
キーを使つて行われる。またRAM6は0〜240
までのメモリステツプ(記憶エリア)を有し、上
記楽音データは0ステツプから順次各ステツプに
書込まれる。そしてCPU2から出力される読出
し/書込み制御信号R/WによつてRAM6への
楽音データの読出し、書込みの各動作が制御され
る。またRAM6のアドレスの指定(即ち、上記
各ステツプの指定)はアドレスカウンタ7の計数
値データがバスラインB1を介し入力することに
よつて行われる。そして上記アドレスカウンタ7
にはCPU2から1ステツプ終了ごとに+1信号
が出力して与えられ、その内容をインクリメント
される。
As mentioned above, the RAM 6 is a memory in which musical tone data of a predetermined song is written and stored.
In this case, musical tone data is written using keys on the keyboard. Also, RAM6 is 0 to 240
The musical tone data is sequentially written into each step starting from step 0. Each operation of reading and writing musical tone data to the RAM 6 is controlled by a read/write control signal R/W output from the CPU 2. Further, the designation of the address of the RAM 6 (that is, the designation of each of the above steps) is performed by inputting the count value data of the address counter 7 via the bus line B1. And the above address counter 7
A +1 signal is output from the CPU 2 every time one step is completed, and the contents are incremented.

RAM6へ所定曲の楽音データを書込む場合、
キーボード上のキー操作によつて先ず、音高デー
タを入力する。この場合、各キーの操作ごとに音
高データがCPU2からバスラインB2に出力さ
れ、RAM6へ書込まれる。同時にCPU2内の
レジスタ内のデータ(ステツプ数)がバスライン
B3に出力され、判断部8およびラツチ9に与え
られる。而して判断部8は上記ステツプ数が230
ステツプか、241ステツプかを判断する回路であ
り、230ステツプであれば信号OBを出力し、他
方、241ステツプであれば信号OVを出力し、
夫々CPU2へ与える。一方、ラツチ9は上記ス
テツプ数をラツチしてデコーダ10に与え、これ
によりデコーダ10のデコード出力が表示部11
に与えられて上記ステツプ数が表示される。な
お、RAM6へ書込まれる音高データは同時にバ
スラインB4を介して楽音作成部12に与えら
れ、楽音を作成される。そしてスピーカ13から
放音される。このため入力した楽音データが正確
か否かを耳で確認できるようになつている。
When writing musical tone data of a predetermined song to RAM6,
First, pitch data is input by operating keys on the keyboard. In this case, pitch data is output from the CPU 2 to the bus line B2 and written to the RAM 6 for each key operation. At the same time, the data (number of steps) in the register in the CPU 2 is output to the bus line B3 and applied to the determining section 8 and latch 9. Therefore, the judgment unit 8 determines that the number of steps is 230.
This is a circuit that determines whether it is a step or a 241 step.If it is a 230 step, it outputs the signal OB, and if it is a 241 step, it outputs the signal OV.
Give each to CPU2. On the other hand, the latch 9 latches the number of steps and provides it to the decoder 10, so that the decoded output of the decoder 10 is transferred to the display section 11.
The number of steps given is displayed. Incidentally, the pitch data written to the RAM 6 is simultaneously supplied to the musical tone creation section 12 via the bus line B4, and a musical tone is created. Then, the sound is emitted from the speaker 13. For this reason, it is now possible to confirm by ear whether the input musical sound data is accurate or not.

上述のようにして所定曲の一連の音高データを
楽譜どうりに入力しおわると、最後にエンドコー
ド入力スイツチを操作し、エンドコードを入力す
る。このエンドコードはCPU2内のレジスタ
に記憶されると共に、RAM6の最後の楽音デー
タが記憶されているステツプの次のステツプにも
記憶される。
After inputting a series of pitch data for a predetermined song according to the musical score as described above, the end code input switch is finally operated to input an end code. This end code is stored in a register within the CPU 2, and is also stored in the step next to the step in which the last musical tone data is stored in the RAM 6.

RAM6へ音高データを書込んだのちは、各音
高データに対する音長データの書込み操作をワン
キープレイスイツチを操作して行う。この場合、
先ずアドレスカウンタ7をリセツトしたのち、ワ
ンキープレイスイツチを音長データ分順次操作し
てゆく。この場合、ワンキープレイスイツチの操
作信号1keyが、信号RECによつて開成されてい
るトランスフアーゲート4を介し音長カウンタ5
へ印加される。そして音長カウンタ5はワンキー
プレイスイツチの操作信号に駆動されて該操作信
号の印加中だけ計時動作を行う。そしてその計時
データCOはワンキープレイスイツチのオフ時に
バスラインB5を介しバツフア14の音長データ
記憶部14Aに取込まれる。而してバツフア14
の音高データ記憶部14BにはRAM6から読出
された対応する音高データが同時にバスラインB
6を介し取込まれ、このため上記の正確な音高デ
ータはその音高データと共にRAM6の同一ステ
ツプに再びバスラインB7を介し書込まれる。
After writing the pitch data to the RAM 6, write the pitch data for each pitch data by operating the one-key play switch. in this case,
First, the address counter 7 is reset, and then the one-key play switch is sequentially operated for each tone length data. In this case, the operation signal 1key of the one-key play switch is transmitted to the tone length counter 5 through the transfer gate 4 which is opened by the signal REC.
is applied to. The tone length counter 5 is driven by the operation signal of the one-key play switch and performs a time counting operation only while the operation signal is being applied. The time measurement data CO is taken into the tone length data storage section 14A of the buffer 14 via the bus line B5 when the one-key play switch is turned off. So Batsuhua 14
The corresponding pitch data read from the RAM 6 is simultaneously stored on the bus line B in the pitch data storage section 14B.
Therefore, the above-mentioned accurate pitch data is written to the same step of the RAM 6 again via the bus line B7 together with the pitch data.

なお、上記バツフア14には、ワンキープレイ
スイツチのオフ時にCPUから読込み信号RDが出
力し、これにより上述の如く、音長データと対応
する音高データがバツフア14の各部14A,1
4Bに夫々取込まれる。同時にCPU2からリセ
ツト信号Rが音長カウンタ5に対し出力され、音
長カウンタ5がリセツトされる。そしてこの結
果、次のステツプ内の楽音データに対する音長デ
ータの書込み操作に備えられる。更に、上述の音
長データの書込みの際にも、RAM6から読出さ
れる楽音データはバスラインB6,CPU2、バ
スラインB4を介して楽音作成部12へ与えら
れ、確認のための楽音が放音される。
Note that a read signal RD is output from the CPU to the buffer 14 when the one-key play switch is turned off, and as a result, the pitch data corresponding to the note length data is transferred to each section 14A, 1 of the buffer 14, as described above.
4B respectively. At the same time, a reset signal R is output from the CPU 2 to the note length counter 5, and the note length counter 5 is reset. As a result, preparations are made for writing tone length data to musical tone data in the next step. Furthermore, when writing the above-mentioned tone length data, the musical tone data read from the RAM 6 is given to the musical tone creation section 12 via the bus line B6, CPU 2, and bus line B4, and a musical tone for confirmation is emitted. be done.

上述のようにしてRAM6へ書込まれた所定曲
の楽音データを順次読出し、自動演奏を行う場
合、RAM6からの楽音データはバスラインB
6,CPU2、バスラインB4を介し楽音作成部
12へ送られる。また楽音データ中の音長データ
がバスラインB6を介し一致回路15に与えられ
る。この一致回路15は一方、音長カウンタ5の
計時データC0を入力し、上記音長データと時計
データC0とを比較し、一致すると一致信号eqを
発生し、CPU2へ与える。このときCPU2はリ
セツト信号Rを出力して音長カウンタ5をクリア
し、同時にアドレスカウンタ7に対し+1信号を
出力する。このようにして、RAM6から読出さ
れた音長データと音長カウンタ5の計時データと
を比較しながらアドレスカウンタ7のインクリメ
ント動作を実行し、自動演奏が実行される。また
RAM6からのデータはCPU2へも与えられ、エ
ンドコードの検出と、その検出時に曲の演奏を終
える各処理が実行される。
When performing automatic performance by sequentially reading out the musical tone data of a predetermined song written to the RAM 6 as described above, the musical tone data from the RAM 6 is transferred to the bus line B.
6. It is sent to the musical tone creation section 12 via the CPU 2 and bus line B4. Furthermore, tone length data in the musical tone data is provided to the coincidence circuit 15 via the bus line B6. On the other hand, this coincidence circuit 15 inputs the clock data C 0 of the tone length counter 5, compares the tone length data with the clock data C 0 , and when they match, generates a coincidence signal eq and supplies it to the CPU 2. At this time, the CPU 2 outputs a reset signal R to clear the note length counter 5, and at the same time outputs a +1 signal to the address counter 7. In this way, the address counter 7 is incremented while comparing the note length data read from the RAM 6 and the time data of the note length counter 5, and automatic performance is executed. Also
Data from the RAM 6 is also given to the CPU 2, and various processes are executed to detect the end code and to end the performance of the song at the time of detection.

表示部11は例えば液晶表示装置から成り、例
えば図示の如く3桁分の表示が日字型液晶表示セ
グメントによつて行われる。またCPU2からバ
スラインB8に対し表示部11の桁指定を行うデ
ータが出力され、デコーダ16へ与えられる。即
ち、デコーダ16のデコード出力が表示部11へ
印加され桁選択が順次行われる。更に判断部8が
230ステツプ目を検出し、信号OBを出力すると
以後、信号FLがCPU2から出力され、上記デコ
ーダ16に与えられる。この結果、表示部11の
各桁がフラツシング表示動作を実行開始する構成
となつている。また判断部8が241ステツプ目を
検出し、信号OVが出力されるとCPU2は信号
BZを出力し楽音作成部12へ与える。この結果、
楽音作成部12が以後、ブザー音を作成開始し、
RAM6のオーバーフロー状態を報知する構成と
されている。
The display unit 11 is composed of, for example, a liquid crystal display device, and as shown in the figure, three digits are displayed using, for example, date-type liquid crystal display segments. Further, data for specifying the digit of the display section 11 is outputted from the CPU 2 to the bus line B8, and is applied to the decoder 16. That is, the decoded output of the decoder 16 is applied to the display section 11 and digit selection is performed sequentially. Furthermore, the judgment unit 8
After the 230th step is detected and the signal OB is output, the signal FL is output from the CPU 2 and applied to the decoder 16. As a result, each digit of the display section 11 is configured to start executing a flashing display operation. Furthermore, when the judgment unit 8 detects the 241st step and the signal OV is output, the CPU 2 outputs the signal OV.
BZ is output and given to the musical tone creation section 12. As a result,
The musical sound creation unit 12 then starts creating a buzzer sound,
It is configured to notify the overflow state of the RAM 6.

次に第2図ないし第4図を参照して上記実施例
の動作を説明する。先ず、第2図および第4図を
参照してRAM6へ音高データを書込む動作を説
明する。この場合、モード切替えスイツチを操作
してレコードモードを設定する。このときスイツ
チ部3から“1”レベルの信号RECが出力し、
トランスフアーゲート4が開成する。またアドレ
スカウンタ7がリセツトされてRAM6の0ステ
ツプ目がアドレスされている。更に第2図のフロ
ーチヤートに示すステツプS1の処理によりCPU
2内のレジスタがクリアされる。またステツプ
S2の処理によりこのレジスタ内のデータがバス
ラインB3に対し出力され、ラツチ9にラツチさ
れ、次いでデコーダ10にてデコードされ表示部
11に与えられる。またCPU2からバスライン
B8に対し桁指定データが周期的に出力され、表
示部11の桁選択が行われる。この結果、第4図
aに示す如く、表示部11に現在のメモリステツ
プ数、即ち0ステツプが表示される。
Next, the operation of the above embodiment will be explained with reference to FIGS. 2 to 4. First, the operation of writing pitch data to the RAM 6 will be explained with reference to FIGS. 2 and 4. In this case, operate the mode changeover switch to set the record mode. At this time, a “1” level signal REC is output from the switch section 3,
Transfer gate 4 is opened. Further, the address counter 7 is reset and the 0th step of the RAM 6 is addressed. Furthermore, the CPU is
The registers within 2 are cleared. Another step
The data in this register is outputted to the bus line B3 by the process of S2 , latched by the latch 9, decoded by the decoder 10, and provided to the display section 11. Further, digit designation data is periodically outputted from the CPU 2 to the bus line B8, and digit selection on the display section 11 is performed. As a result, the current number of memory steps, ie, 0 steps, is displayed on the display section 11, as shown in FIG. 4a.

ステツプS3の処理はキーボード上のキーがオン
されたか否かを判断する処理であり、いま楽譜を
みて最初の楽音のキーを操作するまでの間、ステ
ツプS3の処理が繰返され、またこの間、表示部1
1の表示状態は第4図aに示すまま変化しない。
The process in step S3 is the process of determining whether or not a key on the keyboard has been turned on.The process in step S3 is repeated from the moment you look at the musical score until you operate the key for the first musical note. , display section 1
The display state of No. 1 remains unchanged as shown in FIG. 4a.

次に最初の楽音のキーをオンし、その音高を入
力すると、このキーオン操作がCPU2により判
断され、ステツプS3からステツプS4に進行する。
そしてキー入力データはレジスタに入力し、次
いでレジスタ内のデータがエンドコードか否か
の判断動作が行われる。いま勿論エンドコードの
入力はないから、ステツプS5に進行し、レジス
タ内のデータがバスラインB2を介しRAMの0
ステツプへ転送され、書込まれる。
Next, when the key for the first musical tone is turned on and the pitch is input, this key-on operation is judged by the CPU 2, and the process proceeds from step S3 to step S4 .
Then, the key input data is input to the register, and then a judgment operation is performed to determine whether the data in the register is an end code. Of course, there is no end code input at this point, so the process advances to step S5 , and the data in the register is transferred to 0 in RAM via bus line B2.
Transferred to step and written.

またステツプS6の処理によりCPU2はレジ
スタ内のデータを+1してインクリメントし、ス
テツプを次の1ステツプ目に進行させる。これに
ともなつてCPU2はまたアドレスカウンタ7に
対し+1信号を出力し、その内容を1としてイン
クリメントを行う。
Further, through the processing in step S6 , the CPU 2 increments the data in the register by +1, and advances the step to the next first step. Along with this, the CPU 2 also outputs a +1 signal to the address counter 7, sets the content to 1, and increments the address counter 7.

次にステツプS7の処理により、RAM6の0ス
テツプに書込まれた最初の楽音(レジスタの内
容)に対する放音処理が実行される。このため最
初の楽音が放音され、正確に入力したか否かが耳
で確認できる。
Next, in step S7 , sound emitting processing is executed for the first musical tone (contents of the register) written in step 0 of the RAM 6. Therefore, the first musical tone is emitted, and it can be confirmed by ear whether or not the input has been made correctly.

上述した最初の楽音のキーがオフされたか否か
はステツプS8によつて判断される。そして上記キ
ーがオフされると最初の楽音の放音が止み、また
次のステツプS9によつてレジスタ内のデータが
230ステツプ以上のデータか否かが判断部8にお
いて判断される。いま1ステツプであり、230ス
テツプ以下であるから、次にステツプS2に復帰
し、レジスタ内のデータが表示部11に上述同
様にして表示される。
It is determined in step S8 whether the key of the above-mentioned first tone has been turned off. When the above key is turned off, the first musical tone stops emitting, and the next step S9 updates the data in the register.
The determining unit 8 determines whether the data has 230 steps or more. Since there is now one step and there are less than 230 steps, the process returns to step S2 , and the data in the register is displayed on the display section 11 in the same manner as described above.

第4図bはこの時点での表示部11の表示状
態、RAM6内のデータの状態を示している。即
ち、表示部11にはインクリメントされた次の1
ステツプ目が表示される。またRAM6の0ステ
ツプには最初の楽音の音高データが記憶されてい
る。この場合、音高データは図示の如く6ビツト
データにより表現され、またその上位2ビツトは
オクターブを示し、下位4ビツトは音名を示して
いるが、この音高データの具体的説明は省略す
る。
FIG. 4b shows the display state of the display section 11 and the state of the data in the RAM 6 at this point. That is, the next incremented 1 is displayed on the display section 11.
The steps will be displayed. Further, pitch data of the first musical note is stored in step 0 of RAM6. In this case, the pitch data is expressed as 6-bit data as shown in the figure, the upper 2 bits of which indicate the octave, and the lower 4 bits of which indicate the pitch name, but a detailed explanation of this pitch data will be omitted. .

以下、同様にしてステツプS3〜S9,S2の各処理
が各キー操作ごとに実行され、レジスタの内
容、アドレスカウンタの内容を共にインクリメン
トしながら、1ステツプ目以下の各ステツプに対
し音高データが順次書込まれる。そして表示部1
1には各ステツプ数が順次表示される。第4図c
は1ステツプの音高データが書込まれ、ステツプ
S2に復帰した時点での状態を示す。
Thereafter, each process of steps S3 to S9 and S2 is executed in the same way for each key operation, and while the contents of the register and the address counter are both incremented, a sound is output for each step after the first step. High data is written sequentially. And display part 1
1, each step number is sequentially displayed. Figure 4c
The pitch data for one step is written, and the pitch data for one step is written.
Shows the status when returning to S2 .

上述のようにして228ステツプ目までのデータ
が書込まれ、ステツプS2に復帰すると、第4図d
に示す如く、表示部11には次のステツプ229が
表示されている。そこで229ステツプ目の音高デ
ータを入力すると、ステツプS3〜S8の各処理を経
てステツプS9に進行する。而してこの間にステツ
プS6の処理によりレジスタ内のデータが230と
なり、このデータ230が判断部8に与えられるた
め判断部は230ステツプを判断して“1”レベル
の信号OBを出力し、CPU2に与えている。
When the data up to the 228th step is written as described above and the process returns to step S2 , the screen shown in FIG.
As shown, the next step 229 is displayed on the display section 11. Then, when the pitch data of the 229th step is input, the process proceeds to step S9 through each process of steps S3 to S8 . During this time, the data in the register becomes 230 due to the processing in step S6 , and this data 230 is given to the judgment section 8, so the judgment section judges the 230 step and outputs a signal OB of "1" level. It is given to CPU2.

一方、ステツプS9ではレジスタ内のデータが
230以上であることが判断され、次にステツプS10
に進行する。このステツプS10ではレジスタ内
のデータが240より大か否かが判断される。いま
レジスタ内のデータは240以下であり、したが
つてステツプS11に進行する。この結果、CPU2
から信号FL(“1”レベル)が出力し、デコーダ
16へ与えられるので、表示部11に表示中のス
テツプ230の表示が第4図eに示す如くフラツシ
ング表示を開始する。したがつてRAM6の残り
のステツプが10になつたことが報知される。また
上記ステツプS11以後はステツプS3に復帰し、231
ステツプのデータの書込み待ち状態となる。
On the other hand, in step S9 , the data in the register is
It is determined that it is 230 or more, then step S 10
Proceed to. In this step S10 , it is determined whether the data in the register is greater than 240 or not. The data in the register is now less than 240, so the process advances to step S11 . As a result, CPU2
Since the signal FL (level "1") is outputted from and applied to the decoder 16, the display at step 230 currently displayed on the display section 11 starts a flashing display as shown in FIG. 4e. Therefore, it is reported that the number of remaining steps in RAM 6 is now 10. Also, after step S11 above, the process returns to step S3 , and 231
The step is in a state where it is waiting for data to be written.

231ステツプから239ステツプまでのデータの書
込みは、ステツプS3〜S11の各処理の繰返しによ
り実行される。そしてこの間、表示部11ではフ
ラツシング表示を続行している。
Writing of data from step 231 to step 239 is executed by repeating each process of steps S3 to S11 . During this time, the display section 11 continues to display flashing images.

表示部11に240の表示がなされた時、つまり
レジスタ内のデータが240となつた状態で次の
データを書き込むと240ステツプに対するデータ
がRAM6へ書込まれ、レジスタのデータが
241となる。するとステツプS10の処理によりレ
ジスタ内のデータが240より大であることが判断
されてステツプS12に進行する。この結果、CPU
2から信号BZ(“1”レベル)が出力し、楽音作
成部12に対し与えられる。したがつてブザー音
が鳴りはじめ、RAM6のオーバーフロー状態が
報知されると共に、それ以上のデータの入力が禁
止され、一連の処理が終了する。
When 240 is displayed on the display unit 11, that is, when the data in the register is 240, if you write the next data, the data for the 240 step will be written to the RAM 6, and the data in the register will be
It becomes 241. Then, in the process of step S10 , it is determined that the data in the register is greater than 240, and the process proceeds to step S12 . As a result, the CPU
A signal BZ (“1” level) is outputted from 2 and given to the musical tone creation section 12. Therefore, a buzzer starts to sound, the overflow state of the RAM 6 is notified, and further data input is prohibited, and the series of processing ends.

一方、240ステツプに達する以前、例えば229ス
テツプにおいて音高データの書込みが終了した場
合、最後にエンドコード入力スイツチをオンす
る。このときスイツチ部3から信号END(“1”
レベル)が出力し、CPU2に与えられ、これに
応じてレジスタにエンドコード(6ビツトオー
ル“1”データ)が入力する。このためステツプ
S4の処理により上記エンドコードの入力が判別さ
れ、該エンドコードがRAM6の最後に書込まれ
た音高データの次のステツプ(上記例では230ス
テツプ)に書込まれると共に、一連の処理が終了
する。
On the other hand, if writing of the pitch data is completed before reaching the 240th step, for example at the 229th step, the end code input switch is finally turned on. At this time, the signal END (“1”) is sent from the switch section 3.
level) is output and given to the CPU 2, and in response, an end code (6-bit all "1" data) is input to the register. For this reason, the steps
The input of the above-mentioned end code is determined by the processing in S4 , and the end code is written to the next step (step 230 in the above example) of the pitch data written last in RAM 6, and a series of processing is carried out. finish.

次に第3図を参照して上述した音高データに対
して音長データをワンキープレイスイツチを操作
して入力する際の動作を説明する。この場合、モ
ード切替スイツチは引きつづきレコードモードに
設定しておく。したがつてトランスフアーゲート
4が開成している。またアドレスカウンタ7をク
リアし、更に第3図のフローチヤートに示すステ
ツプS21の処理を実行してレジスタをクリアす
る。これによりRAM6の0ステツプがアドレス
指定される。またステツプS22の処理が実行され、
表示部11には0ステツプが表示される。第4図
aにその状態を示す。これにより音長データの入
力操作に備えられる。なお、第4図は上述した音
高データ入力操作の場合同様にこの音長データ入
力操作の場合も示している。
Next, referring to FIG. 3, an explanation will be given of the operation of inputting tone length data for the pitch data described above by operating the one-key play switch. In this case, the mode changeover switch continues to be set to record mode. Therefore, transfer gate 4 is opened. The address counter 7 is also cleared, and the process of step S21 shown in the flowchart of FIG. 3 is executed to clear the register. This causes the 0 step of RAM6 to be addressed. Also, the process of step S22 is executed,
The display section 11 displays 0 steps. The state is shown in FIG. 4a. This prepares the device for inputting tone length data. Note that FIG. 4 also shows the case of this pitch data input operation as well as the pitch data input operation described above.

次に、最初の楽音に対して正確な音長データを
入力すべくワンキープレイスイツチをオンする
と、その出力信号1key(“1”レベル)がCPU2
に与えられ、ステツプS23の処理が実行されると
共に上記出力信号1keyはトランスフアーゲート
4を介して音長カウンタ5に与える。
Next, when you turn on the one-key play switch to input accurate note length data for the first musical tone, the output signal 1key (“1” level) is sent to the CPU 2.
The output signal 1key is applied to the tone length counter 5 via the transfer gate 4 while the process of step S23 is executed.

ステツプS23ではワンキープレイスイツチのオ
ン操作が検出されて次にステツプS24の判断処理
終了後、ステツプS26に進行する。この結果、
CPU2からリセツト信号Rが出力し、音長カウ
ンタ5の計時データCOがクリアされ計数動作が
開始される。次いでステツプS27によりRAM6の
0ステツプから読出されたデータがエンドコード
か否かが判断部8にて判断される。いま0ステツ
プには最初の楽音データが記憶されており、この
楽音データはバスラインB6,CPU2、バスラ
インB4を介し楽音作成部12に与えられてい
る。この結果、ステツプS28の処理により最初の
楽音が作成放音される。更にステツプS29の処理
によりレジスタがインクリメントされ、そのデ
ータが1となる。なお、RAM6から読出された
音高データはバツフア14の音高データ記憶部1
4Bに対し入力されている。
In step S23 , the ON operation of the one-key play switch is detected, and after the judgment process in step S24 is completed, the process proceeds to step S26 . As a result,
A reset signal R is output from the CPU 2, the clock data CO of the tone length counter 5 is cleared, and counting operation is started. Next, in step S27 , the determining section 8 determines whether the data read from step 0 of the RAM 6 is an end code. The first musical tone data is stored in the 0th step, and this musical tone data is supplied to the musical tone creation section 12 via the bus line B6, CPU2, and bus line B4. As a result, the first musical tone is created and emitted by the process of step S28 . Furthermore, the register is incremented by the process of step S29 , and its data becomes 1. Note that the pitch data read from the RAM 6 is stored in the pitch data storage section 1 of the buffer 14.
It is input for 4B.

最初の楽音に対しその音符分の正確な時間が経
過したときワンキープレイスイツチをオフすると
信号1keyが“0”レベルとなり、この結果、ス
テツプS30の処理により上記オフ操作が検出され
る。また音長カウンタ5の計時動作が停止し、次
いでCPU2からバツフア14に対し読込み信号
RDが出力する。このため最初の楽音に対する計
時データが計時データ記憶部14Aに読込まれ、
同時に対応する音高データが音高データ記憶部1
4Bに読込まれる。この結果、RAM6の0ステ
ツプに対し、バスラインB7を介し上記計時デー
タ、音高データが与えられ、即ち、最初の楽音の
正確な音長データとその音高データとが0ステツ
プに書込まれることになる。
When the one-key play switch is turned off when the exact time corresponding to that note has elapsed for the first musical tone, the signal 1key goes to the "0" level, and as a result, the above-mentioned off operation is detected by the process of step S30 . Also, the time counting operation of the tone length counter 5 is stopped, and then a read signal is sent from the CPU 2 to the buffer 14.
RD outputs. Therefore, the timing data for the first musical tone is read into the timing data storage section 14A,
At the same time, the corresponding pitch data is stored in pitch data storage section 1.
4B. As a result, the above-mentioned time measurement data and pitch data are given to the 0 step of the RAM 6 via the bus line B7, that is, the accurate tone length data and pitch data of the first musical tone are written to the 0 step. It turns out.

次にステツプS31の処理後ステツプS22に復帰
し、第4図bに示す如く、次のステツプである1
ステツプが表示部11に表示される。
Next, after processing step S31 , the process returns to step S22 , and as shown in FIG. 4b, the next step 1 is executed.
The steps are displayed on the display section 11.

229ステツプまでの各ステツプに対する音長デ
ータの書込み操作は、上記ステツプS22〜S31の繰
返しにより同様に実行される。そして229ステツ
プの処理中において、ステツプS29によりレジ
スタのデータが230となつた場合、次にステツプ
S31によつてレジスタのデータ230が判断部8に
より判別され、“1”レベルの信号OBが出力す
る。このため音高データ書込み操作時のとき説明
したようにして、第4図eに示す如く表示部11
は以後、フラツシング表示を行う。
The tone length data writing operation for each step up to step 229 is similarly executed by repeating steps S22 to S31 . During the processing of step 229, if the data in the register becomes 230 in step S29 , the next step is
At S31 , the data 230 in the register is determined by the determination unit 8, and a signal OB of "1" level is output. Therefore, as explained in the pitch data writing operation, as shown in FIG. 4e, the display section 11
Thereafter, a flashing display is performed.

またレジスタ内のデータが241となつた場合
ステツプS32によつてレジスタのデータ241が判
断部8により判別され、“1”レベルの信号OV
が出力し、ブザー音が放音される。
Further, when the data in the register becomes 241, the data 241 in the register is determined by the determining section 8 in step S32 , and the signal OV of the "1" level is determined.
is output and a buzzer sound is emitted.

以上の操作によつて音長データの書込み操作が
終了する。そしてこれ以後は、モード切替えスイ
ツチをプレイモードに設定しておき、またオート
プレイスイツチをオンするとRAM6から楽音デ
ータが順次読出されて曲の自動演奏が実行され
る。この実施例では所定ステツプまでは通常の表
示を行い、所定ステツプ以降になるとフラツシン
グ表示を行うのでメモリのオーバーフロー対策が
確実に行える利点がある。なお、上記実施例では
RAM6の容量を241ステツプとしたがこの容量
は上記容量に限らず任意である。またフラツシン
グ表示を開始させるステツプも上記実施例に限ら
ず任意である。更に上記実施例では、例えば230
ステツプ以上になるとフラツシング表示を開始さ
せたが、逆に230ステツプに達するまでをフラツ
シング表示させ、また230ステツプ以降はフラツ
シング表示を停止するようにしてもよく、要は所
定ステツプに達する以前と所定ステツプ以降との
各表示状態が相互に異なるようにしておけばよ
く、したがつてフラツシング表示の実行、非実行
の方法に限らず、表示位置を変化させたり、他の
表示体を併せて表示する等の各種の方法により区
別表示することが可能である。更にステツプ数の
表示を0から順次カウントアツプしていく形態と
したが、これに限定されず、最初に最大ステツプ
数を表示しカウントダウンさせていく方法でも良
い。この場合ステツプS1,S21を最初に241に設定
し、ステツプS6,S29に於てレジスタの値を1
ずつダウンさせておけばよい。更に、レジスタ
の値が例えば10になつた時点で表示をフラツシン
グさせるようにし、ステツプが0となつた時点で
書き込みを終了するようにステツプS9,S10
S31,S32の内容を変更すればよい。
With the above operations, the tone length data writing operation is completed. Thereafter, when the mode changeover switch is set to the play mode and the autoplay switch is turned on, musical tone data are sequentially read out from the RAM 6 and the music is automatically played. In this embodiment, a normal display is performed up to a predetermined step, and a flashing display is performed after the predetermined step, so that there is an advantage that memory overflow countermeasures can be reliably taken. In addition, in the above example
Although the capacity of RAM 6 is set to 241 steps, this capacity is not limited to the above capacity but may be arbitrary. Further, the step of starting the flashing display is not limited to the above embodiment, but may be arbitrary. Furthermore, in the above embodiment, for example, 230
Although the flashing display starts when the number of steps exceeds 230, it is also possible to display the flashing until it reaches 230 steps and stop the flashing display after 230 steps. It is only necessary to make the display states different from each other, so it is not limited to the method of executing or not executing the flashing display, but also by changing the display position or displaying other display objects together, etc. It is possible to distinguish the information using various methods. Furthermore, although the number of steps is displayed in the form of counting up sequentially from 0, the present invention is not limited to this, and a method of displaying the maximum number of steps first and counting down may also be used. In this case, steps S 1 and S 21 are first set to 241, and the register values are set to 1 in steps S 6 and S 29 .
All you have to do is bring them down one by one. Furthermore, the display is flashed when the register value reaches, for example, 10, and the steps S 9 , S 10 , and
All you have to do is change the contents of S 31 and S 32 .

この考案は以上説明したように、メモリに予め
楽音データを書込み、次いで該メモリから上記楽
音データを読出し、自動演奏等を行うようにした
電子楽器において、メモリに楽音データを書込む
際に該楽音データが書込まれるメモリの現在のス
テツプ数あるいは残余のステツプ数を常時表示す
るようにした電子楽器を提供したから、メモリに
まだ書込み可能な残りのステツプの確認が容易に
行え、メモリのオーバーフローを未然に防止でき
る。したがつてオーバーフローを起こしたために
書込み操作ややり直したりする煩雑さが無くなる
利点がある。また現在のステツプ数又は残余のス
テツプ数が所定ステツプ数に達すると、それ以前
と異なつた状態でステツプの表示を行うように、
例えば、所定ステツプまでは点灯表示を行い、こ
の所定ステツプ以降になると点滅表示を行うよう
にすれば、メモリのオーバーフローを直前で認知
できるため、オーバーフローに対する対策を十分
とることができる利点がある。
As explained above, this invention is an electronic musical instrument in which musical tone data is written in advance in a memory, and then the musical tone data is read out from the memory to perform automatic performance. Since we have provided an electronic musical instrument that constantly displays the current number of steps or remaining steps in the memory where data is written, you can easily check the remaining steps that can still be written to the memory and prevent memory overflow. It can be prevented. Therefore, there is an advantage that there is no need to write or redo a write operation due to an overflow. Also, when the current number of steps or the number of remaining steps reaches a predetermined number of steps, the steps are displayed in a different state than before.
For example, if a lighting display is performed up to a predetermined step and a blinking display is performed after the predetermined step, the memory overflow can be detected immediately before it occurs, which has the advantage that sufficient countermeasures can be taken against the overflow.

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

第1図はこの考案の一実施例による電子楽器の
回路構成図、第2図はメモリへの音高データ書込
み操作を説明するフローチヤート、第3図はメモ
リへの音長データ書込み操作を説明するフローチ
ヤート、第4図はメモリへの音高データおよび音
長データの各書込み操作時における表示部の表示
状態とメモリの記憶状態とを夫々説明する図であ
る。 1……キーマトリクス、2……CPU、,
……レジスタ、3……スイツチ部、4……トラン
スフアーゲート、5……音長カウンタ、6……
RAM、7……アドレスカウンタ、8……判断
部、9……ラツチ、10……デコーダ、11……
表示部、12……楽音作成部、13……スピー
カ、14……バツフア、15……一致回路、16
……デコーダ、B1〜B8……バスライン。
Fig. 1 is a circuit diagram of an electronic musical instrument according to an embodiment of this invention, Fig. 2 is a flowchart explaining the operation of writing pitch data to the memory, and Fig. 3 is an explanation of the operation of writing pitch data to the memory. FIG. 4 is a flowchart illustrating the display state of the display section and the storage state of the memory at the time of each write operation of pitch data and pitch data to the memory. 1...key matrix, 2...CPU,,
...Register, 3...Switch section, 4...Transfer gate, 5...Tone length counter, 6...
RAM, 7... Address counter, 8... Judgment section, 9... Latch, 10... Decoder, 11...
Display section, 12... Musical tone creation section, 13... Speaker, 14... Buffer, 15... Matching circuit, 16
...Decoder, B1 to B8...Bus line.

Claims (1)

【実用新案登録請求の範囲】 複数ステツプに亘つて順次楽音データが書込ま
れ該楽音データを記憶するメモリと、このメモリ
へ上記楽音データを書込む際に現在までに使用し
たメモリステツプ数あるいは残余のメモリステツ
プ数を表示する表示手段と、この表示手段の表示
動作を制御する表示制御手段と、上記メモリから
上記楽音データを読出し、この読出された楽音デ
ータに対する楽音を生成放音する楽音生成手段と
を具備して成る電子楽器において、 上記表示制御手段は、更に、上記表示手段に表
示されている現在までに使用したメモリステツプ
数あるいは残余のメモリステツプ数が所定ステツ
プ数に達したか否かを検出する検出手段と、この
検出手段により現在までに使用したメモリステツ
プ数あるいは残余のメモリステツプ数が所定ステ
ツプ数に達したことが検出されると、上記メモリ
ステツプ数の表示を上記所定ステツプ数に達する
までの表示状態と異なつた表示状態で行なわしめ
る表示態様制御手段とを具備して成ることを特徴
とする電子楽器。
[Scope of Claim for Utility Model Registration] A memory in which musical sound data is sequentially written over a plurality of steps and stores the musical sound data, and the number of memory steps used up to now or the remaining memory when writing the musical sound data to this memory. a display means for displaying the number of memory steps of the display means; a display control means for controlling the display operation of the display means; and a musical sound generating means for reading the musical tone data from the memory and generating and emitting a musical tone corresponding to the read musical tone data. In the electronic musical instrument, the display control means further determines whether the number of memory steps used so far or the number of remaining memory steps displayed on the display means has reached a predetermined number of steps. a detection means for detecting the number of memory steps; and when the detection means detects that the number of memory steps used so far or the number of remaining memory steps has reached a predetermined number of steps, the display of the number of memory steps is changed to the predetermined number of steps. 1. An electronic musical instrument comprising display mode control means for controlling a display mode to a display state different from the display state up to the point where the display state is reached.
JP1981129160U 1981-08-31 1981-08-31 electronic musical instruments Granted JPS5834199U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1981129160U JPS5834199U (en) 1981-08-31 1981-08-31 electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1981129160U JPS5834199U (en) 1981-08-31 1981-08-31 electronic musical instruments

Publications (2)

Publication Number Publication Date
JPS5834199U JPS5834199U (en) 1983-03-05
JPH028319Y2 true JPH028319Y2 (en) 1990-02-27

Family

ID=29922834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1981129160U Granted JPS5834199U (en) 1981-08-31 1981-08-31 electronic musical instruments

Country Status (1)

Country Link
JP (1) JPS5834199U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0820869B2 (en) * 1987-02-06 1996-03-04 ヤマハ株式会社 Electronic musical instrument

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53138715A (en) * 1977-05-10 1978-12-04 Tamura Electric Works Ltd Residual time indicator for cassette tape
JPS55160379A (en) * 1979-05-30 1980-12-13 Sharp Corp Display unit for residual quantity of tape
JPS5616191A (en) * 1979-07-18 1981-02-16 Hitachi Ltd Flickering display method of liquid crystal display unit
JPS56109397A (en) * 1980-02-05 1981-08-29 Casio Computer Co Ltd Electronic device having melody generation function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53138715A (en) * 1977-05-10 1978-12-04 Tamura Electric Works Ltd Residual time indicator for cassette tape
JPS55160379A (en) * 1979-05-30 1980-12-13 Sharp Corp Display unit for residual quantity of tape
JPS5616191A (en) * 1979-07-18 1981-02-16 Hitachi Ltd Flickering display method of liquid crystal display unit
JPS56109397A (en) * 1980-02-05 1981-08-29 Casio Computer Co Ltd Electronic device having melody generation function

Also Published As

Publication number Publication date
JPS5834199U (en) 1983-03-05

Similar Documents

Publication Publication Date Title
US4344344A (en) Electronic musical instrument having musical performance training system
US4633751A (en) Automatic performance apparatus
JP2546663B2 (en) Automatic playing device
US4466324A (en) Automatic performing apparatus of electronic musical instrument
JPH028319Y2 (en)
JPS61174599A (en) Performance data processor
GB2091470A (en) Electronic Musical Instrument
JPH0153469B2 (en)
JP2661487B2 (en) Electronic musical instrument
JPH0434757B2 (en)
JPH0895565A (en) Automatic player
JP2641851B2 (en) Automatic performance device
JPH08314456A (en) Automatic accompaniment device
JP2570783B2 (en) Automatic performance device
JP3261727B2 (en) Automatic performance device
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP3087811B2 (en) Automatic accompaniment device for electronic musical instruments
JPS62187895A (en) Rhythm sound source alloter
GB2090455A (en) Electronic equipment with tone generating function
JPH0571956B2 (en)
JPH07199922A (en) Automatic arranger
JPH031195A (en) Automatic musical performance device
JP2550826B2 (en) Electronic musical instrument
JP2583377B2 (en) Automatic performance device
JPH0314199B2 (en)