Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3237155B2 - Electronic musical instrument - Google Patents
[go: Go Back, main page]

JP3237155B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP3237155B2
JP3237155B2 JP33569491A JP33569491A JP3237155B2 JP 3237155 B2 JP3237155 B2 JP 3237155B2 JP 33569491 A JP33569491 A JP 33569491A JP 33569491 A JP33569491 A JP 33569491A JP 3237155 B2 JP3237155 B2 JP 3237155B2
Authority
JP
Japan
Prior art keywords
time
performance
timing
timer
performance operation
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 - Fee Related
Application number
JP33569491A
Other languages
Japanese (ja)
Other versions
JPH05142987A (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 JP33569491A priority Critical patent/JP3237155B2/en
Publication of JPH05142987A publication Critical patent/JPH05142987A/en
Application granted granted Critical
Publication of JP3237155B2 publication Critical patent/JP3237155B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、実際の演奏時間を計時
する電子楽器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument for measuring the actual playing time.

【0002】[0002]

【従来の技術】従来、演奏時間や演奏の練習時間(以
下、単に演奏時間という。)と、演奏の上達度合とを表
示する電子楽器が提案されるに至っている。この電子楽
器にあっては、当該電子楽器の電源を投入したパワーオ
ンの時点でタイマーをスタートさせて演奏時間の計時を
開始し、演奏や演奏練習を終了した時点でタイマーをス
トップさせて演奏時間の計時を停止させる。そして、タ
イマーにより計時されている時間、つまり演奏時間をL
CD等により表示するととも、演奏時間と演奏操作ミス
との関係から上達度合を評価してこれを表示する。これ
により、演奏練習を行っている者は表示された演奏時間
と上達度から、自己の演奏技術の進歩速度を客観的に把
握することができる。
2. Description of the Related Art Conventionally, there has been proposed an electronic musical instrument for displaying performance time, performance practice time (hereinafter, simply referred to as performance time), and progress of performance. In this electronic musical instrument, when the power of the electronic musical instrument is turned on, the timer is started to start measuring the playing time, and the timer is stopped when the performance or practice is completed. Stop timing. The time measured by the timer, that is, the playing time is L
In addition to displaying the information on a CD or the like, the degree of progress is evaluated based on the relationship between the performance time and the performance operation error, and the result is displayed. Thereby, the person practicing the performance can objectively grasp the progress speed of his or her performance technique from the displayed performance time and progress.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、かかる
電子楽器にあっては前述のようにパワーオンでタイマー
をスタートさせ、かつ、演奏や演奏練習を終了した時点
でタイマーをストップさせることにより、演奏時間を計
時するように構成されている。したがって、パワーオン
の直後から演奏や演奏練習を開始することなく、楽譜の
用意等の演奏の開始に必要な準備を行っていると、パワ
ーオンに伴ってカウント動作しているタイマーにより、
その間の非演奏時間がカウントされてしまう。また、演
奏を中断して休憩を行っている場合も同様であって、そ
の間タイマーはカウントを継続する。よって、演奏終了
後のタイマー時間値には演奏者が実際に演奏操作を行っ
た時間以外に、非演奏時間が誤差として多分に含まれて
しまうこととなり、実際の演奏時間を精度よく計時し得
るものではなかった。
However, in such an electronic musical instrument, as described above, the timer is started when the power is turned on, and the timer is stopped when the performance or performance practice is completed. It is configured to time. Therefore, if you do not start playing or practicing immediately after power-on, but have made the necessary preparations for the start of the performance, such as the preparation of the score, the timer that counts with the power-on,
The non-playing time during that time is counted. The same applies to a case where the performance is interrupted and a break is performed, during which time the timer continues counting. Therefore, the timer time value after the end of the performance will probably include a non-performance time as an error in addition to the time when the player actually performs the performance operation, and the actual performance time can be accurately timed. It was not something.

【0004】本発明は、このような従来の課題に鑑みて
なされたものであり、実際の演奏時間をより精度よく計
時することができる電子楽器を提供することを目的とす
るものである。
[0004] The present invention has been made in view of such conventional problems, and has as its object to provide an electronic musical instrument capable of measuring the actual playing time with higher accuracy.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明にあっては、演奏操作されて演奏データを出力
する演奏操作手段と、該演奏操作手段から出力された演
奏データに基づいて楽音信号の生成に関連する制御を実
行する楽音信号制御手段と、電源投入後における前記演
奏操作手段に対する最初の演奏操作に応答して計時を開
始する第1の計時手段と、前記演奏操作手段に対する操
作間隔を計時する第2の計時手段と、該第2の計時手段
により計時された前記操作間隔が所定値以上となったと
き前記第1の計時手段の計時を停止させるとともに、前
記演奏操作手段に対する演奏操作に応答して前記停止さ
せた第1の計時手段の計時を再開させる計時制御手段と
を備えている。
According to the present invention, in order to solve the above-mentioned problems, the present invention relates to performance operation means for outputting performance data by performing a performance operation, and based on the performance data output from the performance operation means. Tone signal control means for performing control relating to generation of a tone signal; first time counting means for starting timekeeping in response to a first performance operation on the performance operation means after power-on; Second timing means for timing an operation interval; and stopping the timing of the first timing means when the operation interval timed by the second timing means is equal to or greater than a predetermined value; And a timing control means for restarting the timing of the stopped first time counting means in response to a performance operation on the musical instrument.

【0006】また、本発明の他の構成にあっては、演奏
操作されて演奏データを出力する演奏操作手段と、該演
奏操作手段から出力された演奏データに基づいて動作し
楽音信号の生成に関連する制御を実行する楽音信号制御
手段と、電源投入後における前記演奏操作手段に対する
最初の演奏操作に応答して計時を開始する第1の計時手
段と、前記楽音信号制御手段の非動作時間を計時する第
2の計時手段と、該第2の計時手段により計時された前
記非動作時間が所定値以上となったとき前記第1の計時
手段の計時を停止させるとともに、前記演奏操作手段に
対する演奏操作に応答して前記停止させた第1の計時手
段の計時を再開させる計時制御手段とを備えている。
In another configuration of the present invention, a performance operation means for outputting performance data by performing a performance operation, and operating based on the performance data output from the performance operation means to generate a tone signal. Music signal control means for executing related control; first time measurement means for starting time measurement in response to a first performance operation on the performance operation means after power-on; and non-operation time of the music signal control means. Second timing means for timing, and stopping the timing of the first timing means when the non-operation time counted by the second timing means is equal to or more than a predetermined value; A timing control means for restarting the timing of the stopped first timing means in response to an operation.

【0007】さらに、本発明の他の構成にあっては、前
記演奏操作手段が非操作状態であって、かつ、前記楽音
信号制御手段が非動作状態であるときに計時動作する第
2の計時手段と、該第2の計時手段により計時された時
間が所定値以上となったとき前記第1の計時手段の計時
を停止させるとともに、前記演奏操作手段に対する演奏
操作に応答して前記停止させた第1の計時手段の計時を
再開させる計時制御手段とを備えている。また、前記第
1の計時手段の計時内容を表示する表示手段がさらに設
けられ、前記所定値は外部操作により可変設定自在であ
るこが好ましい。
Further, in another configuration of the present invention, the second timekeeping means operates when the performance operation means is not operated and the tone signal control means is not operated. Means, when the time counted by the second time counting means is equal to or greater than a predetermined value, stopping the timing of the first time counting means and stopping the time in response to a performance operation on the performance operation means. A timing control means for restarting the timing of the first timing means. Further, it is preferable that display means for displaying the content of timing of the first timing means is further provided, and the predetermined value is variably set by an external operation.

【0008】[0008]

【作用】前記構成において、電源投入後であって最初に
演奏操作した時点から第1の計時手段は計時を開始す
る。一方、第2の計時手段は演奏操作手段に対する操作
間隔を計時し、あるいは楽音信号制御手段の非動作時間
を計時し、若しくは演奏操作手段が非操作状態であっ
て、かつ、前記楽音信号制御手段が非動作状態であると
きに計時動作する。これら第2の計時手段により計時さ
れた各時間が所定値以上となると、計時制御手段は前記
第1の計時手段の計時を停止させる。そして、第1の計
時手段が停止している状態で、演奏操作子に対する操
作、つまり演奏操作を行うとこれに応答して、第1の計
時手段は計時を再開する。
In the above arrangement, the first time counting means starts time counting from the time of the first performance operation after the power is turned on. On the other hand, the second timing means measures the operation interval for the performance operation means, or measures the non-operation time of the tone signal control means, or the performance operation means is in the non-operation state, and the tone signal control means The timer operates when is inactive. When each of the times measured by the second time counting means is equal to or more than a predetermined value, the time control means stops the time counting of the first time counting means. When the operation of the performance operator, that is, the performance operation, is performed in a state where the first timer is stopped, the first timer restarts timing in response to the operation.

【0009】したがって、本発明の各構成において第1
の計時手段には、(イ)演奏操作手段に対する操作間隔
が所定値以上となった場合には、それ以降の演奏操作手
段が操作されるまでの時間、(ロ)楽音信号制御手段が
非動作状態である時間が所定値以上となった場合には、
それ以降の演奏操作手段が操作されるまでの時間、
(ハ)演奏操作手段が非操作状態であって、かつ、前記
楽音信号制御手段が非動作状態であるときの時間が所定
値以上となった場合には、それ以降の演奏操作手段が操
作されるまでの時間、を除いて計時を行う。
Therefore, in each configuration of the present invention, the first
(A) when the operation interval with respect to the performance operation means exceeds a predetermined value, the time until the performance operation means is operated thereafter, and (b) the tone signal control means does not operate. If the state time is equal to or greater than the predetermined value,
The time until the subsequent performance operation means is operated,
(C) When the performance operation means is in the non-operation state and the time when the tone signal control means is in the non-operation state is equal to or more than a predetermined value, the subsequent performance operation means is operated. Time is measured except for the time until

【0010】また、第1の計時手段よって計時された時
間は、表示手段により表示されるとともに、前記所定値
を設定変更することにより(イ)(ロ)(ハ)により除
かれる時間は可変的に設定される。
The time measured by the first time measuring means is displayed on the display means, and the time removed by (a), (b) and (c) is variable by changing the setting of the predetermined value. Is set to

【0011】[0011]

【実施例】以下、本発明の各実施例実施例を図にしたが
って説明する。すなわち、図1は、各実施例に共通する
電子楽器の全体的な構成を示すものであり、マイコン1
はROM2内に記憶されたデータ及びプログラム、RA
M3内に一時記憶されるデータ等に基づき、この電子楽
器において必要となる全ての制御を実行する。マイコン
1には、演奏操作部4からの操作情報がイベント検出部
5を介して入力されるとともにパネルスイッチ部6から
操作情報が入力される。前記演奏操作部4は、音高順に
配列された複数の鍵を有する鍵盤、音長を変化させる際
に操作されるペダル、その他(例えば、音高を連続的に
変化させる際に操作されるピッチベンダー等)の演奏時
に操作される演奏操作子から構成されている。また、前
記イベント検出部5は、各鍵ごとに設けられ押鍵に伴っ
てオンとなる鍵盤スイッチ、ペダルの操作によりオンと
なるペダルスイッチ等で構成され、前記演奏操作子に対
する操作に応じた信号を出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. That is, FIG. 1 shows the overall configuration of an electronic musical instrument common to each embodiment.
Are data and programs stored in the ROM 2, RA
Based on data or the like temporarily stored in M3, all controls necessary for this electronic musical instrument are executed. Operation information from the performance operation unit 4 is input to the microcomputer 1 via the event detection unit 5 and operation information is input from the panel switch unit 6. The performance operation unit 4 includes a keyboard having a plurality of keys arranged in order of pitch, a pedal operated when changing the pitch, and other components (for example, a pitch operated when changing the pitch continuously). (Vendors, etc.). The event detection unit 5 includes a keyboard switch that is provided for each key and is turned on when a key is pressed, a pedal switch that is turned on when a pedal is operated, and the like. Is output.

【0012】前記パネルスイッチ部6には、この電子楽
器の電源投入用のパワースイッチ、音色を選択して設定
するための音色スイッチ、自動演奏のテンポを設定変更
するためのテンポアップスイッチとテンポダウンスイッ
チ等の通常電子楽器に配備されているスイッチ類ととも
に、後述する所定時間Tを設定するための時間設定スイ
ッチが設けられている。そして、マイコン1は前記イベ
ント検出部5を介して入力される演奏操作部4からのデ
ータや、パネルスイッチ部6からのデータに基づいて楽
音信号の生成を音源7に指示する。該音源7は、マイコ
ン1が行った指示に従って楽音信号を生成し、該楽音信
号はD/Aコンバータ8によりアナログ信号に変換され
た後、アンプ9により増幅されスピーカ10から放音さ
れる。
The panel switch section 6 includes a power switch for turning on the power of the electronic musical instrument, a tone switch for selecting and setting a tone, a tempo-up switch and a tempo-down switch for changing the tempo of an automatic performance. A time setting switch for setting a predetermined time T, which will be described later, is provided in addition to switches, such as switches, which are usually provided in the electronic musical instrument. Then, the microcomputer 1 instructs the sound source 7 to generate a tone signal based on data from the performance operation unit 4 input through the event detection unit 5 and data from the panel switch unit 6. The tone generator 7 generates a tone signal in accordance with an instruction given by the microcomputer 1, and the tone signal is converted into an analog signal by a D / A converter 8, amplified by an amplifier 9, and emitted from a speaker 10.

【0013】(1)第1実施例 次に、本発明の第1実施例の動作について、図2〜4に
示したフローチャートに従って説明する。なお、この第
1実施例において、CPU1は演奏時間計時用タイマと
イベント間時間計時用タイマとを有し、この両タイマの
計時値はRAM3のワークエリアに格納される。すなわ
ち、図2は本実施例のメインフローであって、前記パワ
ースイッチをオンにすることにより、マイコン1はこの
フローに従って動作を開始し、先ず初期設定を行う(S
A1)。この初期設定により、前記演奏時間計時用タイ
マやイベント間時間計時用タイマは0リセットされると
ともに、RAM3のワークエリアはクリアされる。
(1) First Embodiment Next, the operation of the first embodiment of the present invention will be described with reference to the flowcharts shown in FIGS. In the first embodiment, the CPU 1 has a timer for counting the playing time and a timer for counting the time between events, and the counted values of both timers are stored in the work area of the RAM 3. That is, FIG. 2 shows the main flow of the present embodiment. When the power switch is turned on, the microcomputer 1 starts the operation according to this flow, and first performs the initial setting (S
A1). By this initial setting, the performance time timer and the inter-event time timer are reset to zero and the work area of the RAM 3 is cleared.

【0014】引き続き、スイッチ,モード処理(SA
2)を実行するが、このスイッチ,モード処理は図3に
示したフローにしたがって行い、先ず前記パネルスイッ
チ部6に設けられているスイッチ群を走査して(SB
1)、その操作状態を取り込む。次に、前記時間設定ス
イッチがオン操作されたか否かを判別し(SB2)、オ
ン操作された場合にはこの時間設定スイッチの操作に応
じた所定時間Tをメモリする(SB3)。さらに、時間
設定スイッチ以外の、音色スイッチ等の他のスイッチが
オン操作されたか否かを判別し(SB4)、オン操作さ
れた場合には操作されたスイッチに対応する処理を実行
する(SB5)。したがって、演奏者が演奏開始に際し
て、時間設定スイッチを操作して任意の時間を設定する
と、このスイッチ,モード処理により演奏者が設定した
所定時間Tが予めRAM3の所定メモリ領域にセットさ
れる。
Subsequently, switch and mode processing (SA
2), this switch and mode processing are performed according to the flow shown in FIG. 3, and first, the switch group provided in the panel switch section 6 is scanned (SB).
1), capture the operation state. Next, it is determined whether or not the time setting switch has been turned on (SB2). If the time setting switch has been turned on, a predetermined time T corresponding to the operation of the time setting switch is stored (SB3). Further, it is determined whether or not another switch other than the time setting switch, such as a tone switch, has been turned on (SB4). If the switch has been turned on, a process corresponding to the operated switch is executed (SB5). . Therefore, when the player operates the time setting switch to set an arbitrary time at the start of the performance, the predetermined time T set by the player by the switch and the mode processing is set in a predetermined memory area of the RAM 3 in advance.

【0015】そして、図2のメインフローでは、前記S
B1〜SB5の判別処理で構成されるスイッチ,モード
処理(SA2)に続いて、イベント処理(SA3)が実
行され、このイベント処理は図4に示したフローにした
がって行う。すなわち、前記イベント検出部5からの入
力信号に基づき、押鍵、離鍵あるいはペダルのオン・オ
フ操作等の演奏操作に関するイベントがあるか否かを判
別し(SC1)、イベントがある場合にはそれが前記パ
ワースイッチをオンにした電源投入後において、最初の
イベントであるか否かを判別する(SC2)。最初のイ
ベントである場合には、イベント間時間計時用タイマを
スタートさせるとともに(SC5)、演奏時間計時用タ
イマをスタートさせる(SC6)。引き続き、イベント
データ処理(SC9)を行い、NOTE−ON,NOT
E−OFF,PEDAL−ON,PEDAL−OFF等
のイベントに対応するデータを発生させ、リターンす
る。
Then, in the main flow of FIG.
Subsequent to the switch and mode processing (SA2) constituted by the determination processing of B1 to SB5, event processing (SA3) is executed, and this event processing is performed according to the flow shown in FIG. That is, based on an input signal from the event detection unit 5, it is determined whether or not there is an event related to a performance operation such as a key press, a key release, or a pedal on / off operation (SC1). After turning on the power with the power switch turned on, it is determined whether or not this is the first event (SC2). If it is the first event, the timer for counting the time between events is started (SC5), and the timer for counting the playing time is started (SC6). Subsequently, event data processing (SC9) is performed, and NOTE-ON, NOT
Data corresponding to an event such as E-OFF, PEDAL-ON, PEDAL-OFF is generated, and the process returns.

【0016】そして、再度SC1の判別を行った際、イ
ベントがない状態にあれば、SC1からSC7に進み、
イベント間時間計時用タイマによって計時されているイ
ベント間時間が前記所定時間T以上となったか否かを判
別する(SC7)。該イベント間時間が所定時間T未満
である場合にはリターンし、所定時間T以上となった時
点で演奏時間計時用タイマを停止させて(SC8)、リ
ターンする。
Then, when SC1 is discriminated again, if there is no event, the process proceeds from SC1 to SC7,
It is determined whether or not the inter-event time measured by the inter-event time counting timer is equal to or longer than the predetermined time T (SC7). If the inter-event time is shorter than the predetermined time T, the process returns. When the time becomes equal to or longer than the predetermined time T, the playing time timer is stopped (SC8), and the process returns.

【0017】次に、演奏者が押鍵、離鍵等の演奏操作を
行いイベントが有る状態になると、SC1からSC2に
進むが、このイベントは電源投入から最初のイベントで
はない。よって、SC2からSC3に進み、先程SC5
でスタートさせ計時を継続しているイベント間時間計時
用タイマをクリアした後、演奏時間計時用タイマが停止
中であるか否かを判別する(SC4)。そして、前述し
たSC8の処理により演奏時間計時用タイマが停止して
いる状態にあれば、該演奏時間計時用タイマをスタート
させてから(SC6)、イベントデータ処理(SC9)
を実行し、また、停止していなければイベントデータ処
理(SC9)のみを実行してリターンする。
Next, when the player performs a performance operation such as a key press or a key release, and there is an event, a transition is made from SC1 to SC2, but this event is not the first event from power-on. Therefore, proceed from SC2 to SC3, and
After clearing the timer for measuring the time between events, which is started and continuing the time counting, it is determined whether or not the timer for measuring the playing time is stopped (SC4). If the performance time counting timer is stopped by the above-described process of SC8, the performance time counting timer is started (SC6), and the event data processing (SC9) is started.
Is executed, and if not stopped, only the event data processing (SC9) is executed and the routine returns.

【0018】すなわち、このイベント処理SC1〜SC
9について、図5にしたがって説明すると、図において
白丸群は各々がイベントタイミングを示している。そ
して、本実施例においては前述のように電源投入(Po
wer On)から最初のイベントタイミングにて演
奏時間の計時とイベント間時間の計時を開始することか
ら、グラフ線の演奏時間とグラフ線のイベント間時
間とは、最初のイベントタイミングにてスタートし、
イベント間時間は、イベント毎にリセットされる。ま
た、イベント間時間は、矢印で示した所定時間Tと
常に比較されており、演奏者が休憩した場合等に、イベ
ント間時間が所定時間を超えた場合(タイミング線
の状態)には、演奏時間の計時を停止し、次の演奏
操作がなされたイベントタイミング′にて、再び演奏
時間の計時を開始する。
That is, the event processing SC1 to SC
9 will be described with reference to FIG. 5. In FIG. 9, each white circle group indicates an event timing. In this embodiment, the power is turned on (Po) as described above.
Since the timing of the performance time and the timing of the inter-event time are started at the first event timing from (Wer On), the performance time of the graph line and the inter-event time of the graph line start at the first event timing,
The time between events is reset for each event. The inter-event time is always compared with a predetermined time T indicated by an arrow. When the player takes a break or the like, and the inter-event time exceeds the predetermined time (the state of the timing line), the performance is performed. The timing of the time is stopped, and the timing of the performance time is started again at the event timing 'at which the next performance operation is performed.

【0019】また、同図において原点(Power O
n)から伸びている直線は、電源投入後から計時し続
ける従来装置によって計時された演奏時間を示してお
り、従来装置の演奏時間と本実施例の演奏時間とを
比較すると明らかなように、計測時間に差が生じてい
る。すなわち、本実施例においては電源投入から最初の
イベントタイミングまでの時間や、イベント間時間
が所定時間を超えてから次のイベントタイミングまで
の時間(〜′)=休憩時間等を含まない正確な演奏
時間を演奏時間計時用タイマにより計測することがで
きる。
In FIG. 1, the origin (Power O)
The straight line extending from n) indicates the performance time measured by the conventional device that keeps measuring time after the power is turned on. As is clear from the comparison between the performance time of the conventional device and the performance time of the present embodiment, There is a difference in the measurement time. That is, in this embodiment, the time from the power-on to the first event timing, or the time from the time between events exceeding the predetermined time to the next event timing (〜 ') = precise performance not including break time, etc. The time can be measured by a playing time timer.

【0020】そして、図2に示したメインフローでは、
前述したようにイベント処理(SA3)を実行した後、
各イベントに対応する楽音制御処理(AS4)を実行
し、図4のSC9で発生させたNOTE−ON,NOT
E−OFF,PEDAL−ON,PEDAL−OFF等
のイベントに対応するデータに基づき、音源7に発音及
び消音等を指示する。引き続き、演奏時間表示処理(S
A5)により、演奏時間計時用タイマによって計測され
ている正確な演奏時間の表示データが表示部11に転送
され、該表示部11には演奏時間計時用タイマの現在の
値が順次更新されつつ表示される。これにより、演奏者
は表示部11に表示され時間値から、最初のイベントタ
イミングまでのロスタイムや、休憩時間等を含まない正
確な演奏時間を把握することが可能となる。
In the main flow shown in FIG. 2,
After executing the event processing (SA3) as described above,
The tone control process (AS4) corresponding to each event is executed, and the NOTE-ON, NOT generated at SC9 in FIG.
Based on data corresponding to events such as E-OFF, PEDAL-ON, PEDAL-OFF, etc., the sound source 7 is instructed to sound and mute. Subsequently, the performance time display processing (S
According to A5), the display data of the accurate playing time measured by the playing time timer is transferred to the display unit 11, and the present value of the playing time timer is displayed on the display unit 11 while being sequentially updated. Is done. As a result, the player can grasp the exact playing time that does not include the loss time up to the first event timing or the break time from the time value displayed on the display unit 11.

【0021】(2)第2実施例 本発明の第2実施例は、メインフロー(図2)及びイベ
ント処理(図4)は前述した第1実施例と同様であり、
メインフローのスイッチ,モード処理(SA2)のみが
第1実施例とな異なる。すなわち、図6は第2実施例の
スイッチ,モード処理の内容を示すフローチャートであ
り、先ず前記パネルスイッチ部6に設けられているスイ
ッチ群を走査して(SD1)、その操作状態を取り込
む。次に、前記パネルスイッチ部6に設けられているテ
ンポアップスイッチがオン操作されたか否かを判別し
(SD2)、該テンポアプスイッチが操作された場合に
はテンポNの値をカウントアップさせる(SD3)。な
お、テンポNは、図2の初期設定(SA1)にて、所定
の初期値が設定されている。また、テンポアップスイッ
チがオン操作されていない場合には、テンポダウンスイ
ッチがオン操作されたか否かを判別し(SD4)、該テ
ンポダウンスイッチが操作された場合にテンポNの値を
カウントダウンさせる(SD5)。次に、ROM2に予
め用意されている変換テーブルを用いて、テンポNを対
応する所定時間Tに変換するとともに、このテンポNに
対応した所定時間TをRAM3のワークエリアにストア
する。さらに、時間設定スイッチ以外の音色スイッチ等
の他のスイッチがオン操作されたか否かを判別し(SD
7)、オン操作された場合には操作されたスイッチに対
応する処理を実行する(SD8)。
(2) Second Embodiment In a second embodiment of the present invention, the main flow (FIG. 2) and event processing (FIG. 4) are the same as those in the first embodiment.
Only the main flow switch and mode processing (SA2) are different from those of the first embodiment. That is, FIG. 6 is a flowchart showing the contents of the switch and mode processing of the second embodiment. First, the switch group provided in the panel switch section 6 is scanned (SD1), and the operation state is fetched. Next, it is determined whether or not a tempo-up switch provided in the panel switch section 6 has been turned on (SD2). If the tempo-up switch has been operated, the value of the tempo N is counted up (SD2). SD3). The tempo N is set to a predetermined initial value in the initial setting (SA1) in FIG. If the tempo-up switch has not been turned on, it is determined whether the tempo-down switch has been turned on (SD4). If the tempo-down switch has been operated, the value of the tempo N is counted down (SD4). SD5). Next, using a conversion table prepared in advance in the ROM 2, the tempo N is converted into a corresponding predetermined time T, and the predetermined time T corresponding to the tempo N is stored in the work area of the RAM 3. Further, it is determined whether or not another switch such as a tone switch other than the time setting switch is turned on (SD).
7) If the switch is turned on, the process corresponding to the operated switch is executed (SD8).

【0022】すなわち、この第2実施例においては、テ
ンポアップスイッチとテンポダウンスイッチの操作によ
り所定時間Tを任意の値に設定することができる。よっ
て、例えばテンポの遅い曲であって押鍵から離鍵までの
時間間隔が長い場合、あるいは長い休符が含まれている
曲を演奏する場合のように押鍵までの時間間隔が長い場
合には、所定時間Tを大きな値としておく。これによ
り、押鍵から離鍵までの時間間隔や休符部分の演奏時
に、所定時間Tをオーバーして演奏時間計時用タイマが
ストップされる不都合を未然に防止することができ、そ
の結果、正確な演奏時間を計測することが可能となる。
That is, in the second embodiment, the predetermined time T can be set to an arbitrary value by operating the tempo up switch and the tempo down switch. Therefore, for example, if the time interval between key depression and key release is long and the time interval between key depression is long, such as when playing a song that includes a long rest, Sets the predetermined time T to a large value. As a result, it is possible to prevent the inconvenience of stopping the performance time counting timer exceeding the predetermined time T during the time interval from the key press to the key release or the performance of the rest part. It is possible to measure a long playing time.

【0023】(3)第3実施例 図7は本発明の第3実施例のメインフローであって、前
記パワースイッチをオンにすることにより、マイコン1
はこのフローチャートに従って動作を開始し、先ず初期
設定を行う(SE1)。この初期設定により、この第3
実施例において用いられる演奏時間計時用タイマや非楽
音制御時間計時用タイマは0リセットされるとともに、
所定時間Tを格納するメモリ等はクリアされる。
(3) Third Embodiment FIG. 7 shows a main flow of a third embodiment of the present invention.
Starts the operation according to this flowchart, and first performs initial setting (SE1). With this initial setting, this third
The performance time timer and the non-musical sound control time timer used in the embodiment are reset to 0,
The memory storing the predetermined time T is cleared.

【0024】引き続き、スイッチ,モード処理(SE
2)を実行するが、このスイッチ,モード処理は前述し
た図3若しくは図6に示したフローにしたがって行い、
続いて、イベント処理(SE4)を実行する。このイベ
ント処理は図8に示したフローにしたがって行い、前記
イベント検出部5からの入力信号に基づき、押鍵、離鍵
あるいはペダルのオン・オフ操作等の演奏操作に関する
イベントがあるか否かを判別する(SF1)。イベント
がある場合にはそれが電源投入後において、最初のイベ
ントであるか否かを判別し(SF2)、最初のイベント
である場合には、演奏時間計時用タイマをスタートさせ
る(SF6)。引き続き、後述する楽音制御処理にてス
タートされる非楽音制御時間計時用タイマが作動中であ
るか否かを判別し(SF4)、停止中である場合にはイ
ベントデータ処理のみを行う(SF5)。また、非楽音
制御時間計時用タイマが作動中である場合には、該非楽
音制御時間計時用タイマを停止させるとともにクリアし
てから(SF7)、イベントデータ処理を行い(SF
8)、NOTE−ON,NOTE−OFF,PEDAL
−ON,PEDAL−OFF等のイベントに対応するデ
ータを発生させ、リターンする。
Subsequently, switch and mode processing (SE
2), and this switch and mode processing are performed according to the flow shown in FIG. 3 or FIG.
Subsequently, an event process (SE4) is executed. This event processing is performed according to the flow shown in FIG. 8, and based on an input signal from the event detection unit 5, it is determined whether or not there is an event related to a performance operation such as a key press, a key release, or a pedal on / off operation. It is determined (SF1). If there is an event, it is determined whether or not the event is the first event after the power is turned on (SF2). If the event is the first event, a performance time timer is started (SF6). Subsequently, it is determined whether or not the non-musical sound control time counting timer started in the musical sound control processing described later is operating (SF4), and if it is stopped, only the event data processing is performed (SF5). . If the non-musical sound control time counting timer is in operation, the non-musical sound control time measuring timer is stopped and cleared (SF7), and event data processing is performed (SF7).
8), NOTE-ON, NOTE-OFF, PEDAL
Generate data corresponding to an event such as -ON, PEDAL-OFF, etc., and return.

【0025】また、図7のメインフローでは、このイベ
ント処理(SE3)に続いて、楽音制御処理(SE4)
が実行され、該楽音制御処理は図9に示したフローチャ
ートにしたがって行ない、先ず楽音制御が有るか否かを
判別する(SG1)。ここで、楽音制御の有無とはマイ
コン1が楽音信号の生成に関連する制御を実行すべき状
態に有るか否かであって、ノートオンからエンベロープ
が“0”となるまでにマイコン1が行うべき制御の有無
である。そして、楽音制御を実行すべき状態に有る場合
には、エンベロープの現在の状態に応じて音源7に楽音
波形の生成を指示する等の楽音処理を実行する(SG
2)。次に、全ての楽音制御が終了したか否か、つまり
楽音制御によって発生していた楽音のエンベロープが全
て“0”となって、楽音制御を行っていない状態となっ
たか否かを判別する(SG3)。全ての楽音制御が終了
した場合には、非楽音制御時間計時用タイマをスタート
させ(SG4)、該非楽音制御時間計時用タイマより非
楽音制御時間が計時され始める。
In the main flow of FIG. 7, following the event processing (SE3), the tone control processing (SE4)
The tone control process is performed according to the flowchart shown in FIG. 9, and it is first determined whether or not tone control is performed (SG1). Here, the presence / absence of the tone control means whether or not the microcomputer 1 is in a state to execute the control related to the generation of the tone signal, and is performed by the microcomputer 1 from note-on until the envelope becomes “0”. Control to be performed. If the tone control is to be executed, tone processing such as instructing the sound source 7 to generate a tone waveform is executed in accordance with the current state of the envelope (SG).
2). Next, it is determined whether or not all the tone controls have been completed, that is, whether or not the envelopes of the tone generated by the tone control have all become "0" and the tone control has not been performed ( SG3). When all the tone controls have been completed, the non-tone control time timer is started (SG4), and the non-tone control time starts counting from the non-tone control time timer.

【0026】また、図7のメインフローにおいて、この
楽音制御処理(SE4)に続いて演奏時間停止処理が実
行され(SE5)、この演奏時間停止処理は図10に示
したフローチャートに従って行う。すなわち、図9のS
G4でスタートさせた非楽音制御時間計時用タイマによ
り計時されている非楽音制御時間が、所定時間Tより大
となったか否かを判別し(SH1)、該非楽音制御時間
が所定時間Tより大となった時点で演奏時間計時用タイ
マを停止させる(SH2)。そして、このSH2にて演
奏時間計時用タイマを停止させると、次にイベントが有
った場合には図8のSF3の判別がYESとなって、S
F3からSF6に進み、停止されていた演奏時間計時用
タイマをスタートさせる。
In the main flow of FIG. 7, a performance time stop process is executed following this tone control process (SE4) (SE5), and the performance time stop process is performed according to the flowchart shown in FIG. That is, S in FIG.
It is determined whether the non-tone control time measured by the non-tone control time timer started at G4 is longer than a predetermined time T (SH1), and the non-tone control time is longer than the predetermined time T. When the time becomes, the performance time timer is stopped (SH2). When the timer for measuring the performance time is stopped in SH2, if there is a next event, the determination of SF3 in FIG.
The process advances from F3 to SF6, and the stopped performance time timer is started.

【0027】すなわち、図8、9、10のイベント処
理、楽音制御処理、演奏時間停止処理について図11に
したがって説明すると、図において白丸群は各々がイ
ベントタイミングを示している。そして、この第3実施
例においては前述のようにパワーオンから最初のイベン
トタイミングにて演奏時間の計時を開始することか
ら、グラフ線の演奏時間は、最初のイベントタイミン
グにてスタートする。また、のタイムチャートは各
イベントに対応する楽音制御処理の状態を示しており、
この楽音制御処理はイベントに対応して各発音チャンネ
ル毎に行われている。各発音チャンネルにおける楽音制
御処理の時間的長さは、イベントに応じて異なり、例え
ば押鍵されたままの状態が長くエンベロープがゆっくり
減衰する場合にはこの楽音制御処理に要する時間も長く
なる。そして、この第3実施例においては、各発音チャ
ンネルごとに行われている楽音制御処理が全て終了した
タイミング(のタイミング)から、非楽音制御時間計
時用タイマをスタートさせる。は、該非楽音制御時間
計時用タイマの計測値、つまり非楽音制御時間であり、
該非楽音制御時間は矢印で示した所定時間Tと比較さ
れ、演奏者が休憩した場合等に、非楽音制御時間()
が所定時間T()を超えた場合(タイミング線の状
態)には、演奏時間()を停止し、次の演奏操作がな
されたイベントタイミング′において再び演奏時間の
計時を開始する。
That is, the event processing, tone control processing, and performance time stop processing in FIGS. 8, 9 and 10 will be described with reference to FIG. 11. In FIG. 11, white circles indicate event timings. In the third embodiment, the performance time starts at the first event timing after power-on, as described above, so that the performance time of the graph line starts at the first event timing. Also, the time chart shows the state of the musical tone control processing corresponding to each event,
This tone control process is performed for each tone generation channel corresponding to an event. The time length of the tone control process in each sounding channel differs depending on the event. For example, when the key-pressed state is long and the envelope is slowly attenuated, the time required for the tone control process is also long. Then, in the third embodiment, the non-musical sound control time counting timer is started from (timing of) when all the musical sound control processes performed for each sounding channel are completed. Is the measured value of the non-tone control time timer, that is, the non-tone control time,
The non-tone control time is compared with a predetermined time T indicated by an arrow, and when the player takes a break, the non-tone control time () is used.
If the time exceeds the predetermined time T () (the state of the timing line), the performance time () is stopped, and timing of the performance time is started again at the event timing 'at which the next performance operation is performed.

【0028】つまり、前述した第1、第2実施例にあっ
ては、イベント間時間が所定時間T以上となった時点
で、演奏時間計時用タイマを停止させることから、例え
ば押鍵したままにして、エンベロープがゆっくり減衰す
る楽音を発生させている場合のように、エンベロープの
減衰中にイベント間時間が所定時間T以上となってしま
うと、演奏時間計時用タイマがストップして、演奏時間
の計時が一時停止する。したがって、エンベロープがゆ
っくり減衰する楽音を発生させつつ演奏を行っている場
合には、発音中(=演奏中)であるにも拘わらず、演奏
時間計時用タイマがストップして、演奏時間が計時され
ない場合が生じ、その結果、実際の演奏時間と計時され
た演奏時間とに誤差が生ずる。
That is, in the first and second embodiments, when the time between events becomes equal to or longer than the predetermined time T, the performance time timer is stopped. If the time between events exceeds a predetermined time T during the decay of the envelope, as in the case where the envelope is producing a musical sound that slowly decay, the playing time timer is stopped and the playing time is reduced. The timing stops temporarily. Therefore, when the performance is being performed while generating a musical tone whose envelope slowly decays, the performance time timer is stopped and the performance time is not measured even though the performance is being performed (= playing). In some cases, there is an error between the actual playing time and the measured playing time.

【0029】しかし、この第3実施例にあっては、図1
1に示したように、非楽音制御時間()が所定時間T
()を超えたタイミング線の状態で、演奏時間
()の計時を停止させる。したがって、エンベロープ
がゆっくり減衰する楽音を発生させている場合のよう
に、その間が楽音制御であれば非楽音制御時間計時用タ
イマが動作することもなく、当然に非楽音制御時間が所
定時間Tを超えることもない。よって、エンベロープが
ゆっくり減衰する楽音を発生させた演奏を行った場合で
あっても、実際の演奏時間と計時された演奏時間との間
に誤差が生ずるようなことはなく、より正確に演奏時間
を計時することができる。これにより、図7のメインフ
ローにおいてSE6で演奏時間表示処理を行った際、よ
り正確に計時された演奏時間を表示部11に表示するこ
とができる。
However, in the third embodiment, FIG.
As shown in FIG. 1, the non-tone control time () is equal to the predetermined time T.
In the state of the timing line exceeding (), the timing of the performance time () is stopped. Therefore, when the tone is controlled during the period, such as when the envelope is generating a tone that slowly decays, the non-tone control timer does not operate, and the non-tone control time naturally exceeds the predetermined time T. Never exceed. Therefore, even when a performance is performed in which a musical tone whose envelope slowly decay is generated, no error occurs between the actual performance time and the measured performance time, and the performance time is more accurately measured. Can be timed. Thereby, when the performance time display processing is performed in SE6 in the main flow of FIG. 7, the performance time measured more accurately can be displayed on the display unit 11.

【0030】(4)第4実施例 本発明の第4実施例は、メインフローに関しては図7に
示した第3実施例と同一である。しかし、初期設定(S
E1)ではこの第4実施例で用いられる演奏時間計時用
タイマや非演奏時間計時用タイマが0リセットされると
ともに、所定時間Tを格納するメモリ等がクリアされ
る。引き続き、スイッチ,モード処理(SE2)を実行
するが、このスイッチ,モード処理は前述したように図
3若しくは図6に示したフローにしたがって行い、続い
て、イベント処理(SE4)を実行する。このイベント
処理は図12に示したフローにしたがって行うが、この
図12に示したイベント処理の内容は、図8に示した第
3実施例のイベント処理の内容とほぼ同様である。しか
し、第3実施例が非楽音制御時間計時用タイマを用いて
非楽音制御時間を計時するのに対し、この第4実施例に
おいては、非演奏時間計時用タイマを用いて非演奏時間
を計時することから、図8のSF4,SF7に対応する
SI4,SI7では、非演奏時間計時用タイマが作動中
であるか否かを判別し、該非演奏時間計時用タイマが作
動中である場合には、これを停止させるとともにクリア
している。
(4) Fourth Embodiment The fourth embodiment of the present invention is the same as the third embodiment shown in FIG. 7 with respect to the main flow. However, the initial setting (S
In E1), the performance time timer and the non-performance time timer used in the fourth embodiment are reset to zero, and the memory for storing the predetermined time T is cleared. Subsequently, switch and mode processing (SE2) is executed. This switch and mode processing is performed according to the flow shown in FIG. 3 or FIG. 6 as described above, and subsequently, event processing (SE4) is executed. This event processing is performed according to the flow shown in FIG. 12, and the contents of the event processing shown in FIG. 12 are almost the same as the contents of the event processing of the third embodiment shown in FIG. However, while the third embodiment measures the non-tone control time using the non-tone control time timer, the fourth embodiment measures the non-performance time using the non-play time timer. Accordingly, in SI4 and SI7 corresponding to SF4 and SF7 in FIG. 8, it is determined whether or not the non-performance time counting timer is operating. , This is stopped and cleared.

【0031】また、図7のメインフローでは、このイベ
ント処理(SE3)に続いて、楽音制御処理(SE4)
が実行され、該楽音制御処理は図13に示したフローチ
ャートにしたがって行い、このフローチャートにおい
て、SJ1〜SJ3までの判別処理は、図9に示した第
3実施例のSG1〜SG3と同様である。そして、SJ
3に続くSJ4では、ON操作に対するOFF操作が全
て終了したか否かを判別する。ここで、ON操作に対す
るOFF操作とは、演奏操作子のON操作に対するOF
F操作であって、押鍵(ON操作)に対する離鍵(OF
F操作)等である。したがって、全ての楽音制御が完了
しても押鍵された鍵が離鍵されていない場合にはリター
ンし、全ての楽音制御が完了し、かつ押鍵に対する離鍵
が全て終了していることを条件として、SJ4からSJ
5に進む。そして、SJ5で非演奏時間計時用タイマが
作動中であるか否かを判別し、作動中でない場合には非
演奏時間計時用タイマをスタートさせる。したがって、
この非演奏時間計時用タイマがスタートするためには、
全ての楽音制御が完了し、かつ押鍵に対する離鍵が全て
終了していることが条件となる。
In the main flow of FIG. 7, following the event processing (SE3), a tone control processing (SE4)
The tone control process is performed in accordance with the flowchart shown in FIG. 13. In this flowchart, the determination processes of SJ1 to SJ3 are the same as those of SG1 to SG3 of the third embodiment shown in FIG. And SJ
In SJ4 following 3, it is determined whether or not all the OFF operations for the ON operation have been completed. Here, the OFF operation for the ON operation is an OF operation for the ON operation of the performance operator.
F operation, a key release (OF operation) for a key press (ON operation)
F operation). Therefore, if the depressed key has not been released even after all the tone controls have been completed, the routine returns, indicating that all the tone controls have been completed and all the key releases for the depressed keys have been completed. As conditions, SJ4 to SJ
Go to 5. Then, in SJ5, it is determined whether or not the non-performance time counting timer is in operation. If not, the non-performance time counting timer is started. Therefore,
In order for this non-performance timer to start,
The condition is that all musical tone controls have been completed and all key release for key depression has been completed.

【0032】また、図7のメインフローでは、この楽音
制御処理(SE4)に続いて演奏時間停止処理を実行し
(SE5)、この演奏時間停止処理は図14に示したフ
ローチャートに従って行う。すなわち、図13のSJ6
でスタートさせた非演奏時間計時用タイマにより計時さ
れている非演奏時間が所定時間Tより大となったか否か
を判別し(SK1)、該非楽音制御時間が所定時間Tよ
り大となった時点で演奏時間計時用タイマを停止させる
(SK2)。そして、このSK2にて演奏時間計時用タ
イマを停止させると、次にイベントが有った場合には前
述した図12のSI3の判別がYESとなって、SI3
からSI6に進み、停止されていた演奏時間計時用タイ
マをスタートさせる。
In the main flow of FIG. 7, a performance time stop process is executed following this tone control process (SE4) (SE5), and the performance time stop process is performed according to the flowchart shown in FIG. That is, SJ6 in FIG.
It is determined whether or not the non-playing time counted by the non-playing time timer started in step S1 is longer than a predetermined time T (SK1). To stop the performance timer (SK2). When the performance time counting timer is stopped at SK2, if there is a next event, the above-described determination of SI3 in FIG.
From step SI6 to start the stopped performance time timer.

【0033】すなわち、この第4実施例の動作について
図15にしたがって説明すると、図において、白丸群
は各々が演奏操作タイミングのオン操作、黒丸群はオ
フ操作を各々示している。そして、この第4実施例にお
いては前述のように電源投入から最初のイベントタイミ
ングにて演奏時間の計時を開始することから、グラフ
線の演奏時間は、最初のイベントタイミングにてス
タートする。また、のタイムチャートは各イベントに
対応する楽音制御処理の状態を示しており、この楽音制
御処理はイベントに対応して各発音チャンネル毎に行わ
れている。また、その時間的長さはイベントに応じて異
なり、例えば押鍵されたままの状態が長くエンベロープ
がゆっくり減衰する場合にはこの楽音制御処理に要する
時間も長くなる。
That is, the operation of the fourth embodiment will be described with reference to FIG. 15. In FIG. 15, the white circles indicate the on-operation of the performance operation timing, and the black circles indicate the off-operation. In the fourth embodiment, as described above, the performance time starts at the first event timing after the power is turned on, so that the performance time of the graph line starts at the first event timing. The time chart shows the state of the tone control process corresponding to each event, and this tone control process is performed for each tone generation channel in response to the event. Further, the time length varies depending on the event. For example, when the key is kept depressed for a long time and the envelope is slowly attenuated, the time required for the musical tone control process is also long.

【0034】は非演奏時間の計時値であり、非演奏時
間を計時する非演奏時間計時用タイマは、図12のSJ
3〜SJ6にて説明したように、全ての楽音制御が終了
し、かつ、ON操作に対するOFF操作が全て終了して
いることを条件としてスタートする。そして、図15の
タイミング線のタイミングでは、楽音制御処理が全て
終了しており、しかも、タイミング線の左側において
白丸が3個であり黒丸も3個であることから、ON
操作(○)に対するOFF操作(●)は全て終了してい
る。したがって、タイミングでは、全ての楽音制御が
終了し、かつ、ON操作に対するOFF操作が全て終了
しているという条件を満たしている。したがって、この
タイミングから非演奏時間の計時が開始され、この
非演奏時間は所定時間と比較され、非演奏時間が所
定時間を超えたタイミング線にて、演奏時間計時用
タイマをストップさせて、演奏時間の計時を停止さ
せ、この停止された演奏時間の計時は、次のイベント
タイミング′にて再開される。
The non-performance time counting timer for measuring the non-performance time is shown in FIG.
As described in 3 to SJ6, the process is started on condition that all tone control has been completed and all OFF operations for ON operations have been completed. Then, at the timing of the timing line in FIG. 15, the tone control process has been completed, and there are three white circles and three black circles on the left side of the timing line.
All the OFF operations (●) for the operation ()) have been completed. Therefore, the timing satisfies the condition that all tone controls have been completed and all OFF operations for ON operations have been completed. Therefore, the timing of the non-performance time is started from this timing, and the non-performance time is compared with the predetermined time. At the timing line where the non-performance time exceeds the predetermined time, the performance time timer is stopped, and the performance time is stopped. The timing of the time is stopped, and the timing of the stopped performance time is restarted at the next event timing '.

【0035】また、タイミング線′のタイミングでも
楽音制御処理は全て終了している。しかし、イベントタ
イミング′で演奏時間の計時を再開させてからタイ
ミング線′までの時間領域aにおいて白丸が5個で
あるのに対し黒丸は4個である。よって、いずれか1
つのON操作(○)に対するOFF操作(●)が未だな
されておらず、ON操作(○)に対するOFF操作
(●)は全て終了してない。この状態は、例えば時間領
域a内で5鍵を押鍵し、4鍵については離鍵したもの
の、残る1鍵については押鍵したままであって離鍵して
いない場合である。したがって、この場合には点線で仮
想的に示した非演奏時間′の計時はなされず、よっ
て、演奏時間の計時を停止させることもなく、このタ
イミング′において前述の第3実施例とこの第4実施
例との作用効果上の差異が生ずる。
Further, the tone control processing has been completed at the timing of the timing line '. However, the number of white circles is four, while the number of black circles is four in the time area a from the timing restart of the performance time at the event timing 'to the timing line'. Therefore, one of
The OFF operation (●) for one ON operation (() has not been performed yet, and all the OFF operations ()) for the ON operation ()) have not been completed. In this state, for example, five keys are depressed in the time area a, and four keys are released, but the remaining one key is kept depressed and not released. Therefore, in this case, the timing of the non-playing time ′ virtually indicated by the dotted line is not performed, so that the timing of the playing time is not stopped, and the third embodiment and the fourth embodiment are not performed at this timing. There is a difference in operation and effect from the embodiment.

【0036】すなわち、図16は、図15と同一のタイ
ミングで行った演奏操作に対し第3実施例を適用した場
合である。この図16と図15において、のタイミン
グから非演奏時間(図16の場合は非楽音制御時間)
が開始され、この非演奏時間(非楽音制御時間)が所
定時間を超えたとき、演奏時間を停止させることは
両実施例とも同様である。しかし、′のタイミングで
は、全ての楽音制御が終了していることから、図16に
示した第3実施例の場合、′の時点から非楽音制御時
間′が計時され、該非楽音制御時間′が所定時間
を超えたタイミング′で、演奏時間が停止し、次の
離鍵′のタイミングで演奏時間の計時を再開する。
そして、離鍵′までの状態は、前述したように域a内
で5鍵を押鍵し、1鍵については押鍵したままであって
離鍵していない場合である。したがって、第3実施例の
場合(図16)には、残る1鍵を押鍵したままの状態、
つまり演奏を継続している状態であっても、′と′
間の時間は、演奏時間として計時されず、これにより演
奏時間には短くなる方向に誤差が生ずる。
FIG. 16 shows a case where the third embodiment is applied to a performance operation performed at the same timing as in FIG. In FIGS. 16 and 15, the non-playing time (the non-tone control time in the case of FIG. 16)
Is started, and when the non-performance time (non-tone control time) exceeds a predetermined time, the performance time is stopped in the same manner in both embodiments. However, at the timing of ', all the tone controls have been completed, so in the case of the third embodiment shown in FIG. 16, the non-tone control time is counted from the point', and the non-tone control time is At a timing 'exceeding a predetermined time', the performance time is stopped, and the timing of the performance time is restarted at the timing of the next key release '.
The state up to the key release ′ is a case where five keys are depressed in the area a as described above, and one key is kept depressed but not released. Therefore, in the case of the third embodiment (FIG. 16), the state where the remaining one key is kept depressed,
In other words, even when the performance is continued, 'and'
The time between them is not counted as the performance time, and this causes an error in the direction of shortening the performance time.

【0037】これに対し、第4実施例(図15)にあっ
ては、時間領域a内で5鍵を押鍵し、1鍵については押
鍵したままであって離鍵していない場合には、非演奏時
間′が計時されることもなく、当然に、演奏時間の
計時を停止させることもない。よって、押鍵から離鍵ま
での時間が長い演奏を行った場合であっても、誤差なく
実際の演奏時間を計時することができ、また、この誤差
のない演奏時間を表示部11に表示することができる。
On the other hand, in the fourth embodiment (FIG. 15), when five keys are depressed in the time area a and one key is kept depressed and not released. Does not time the non-performance time ', and of course does not stop timing the performance time. Therefore, even when the performance from the key depression to the key release is long, the actual performance time can be measured without error, and the performance time without error is displayed on the display unit 11. be able to.

【0038】[0038]

【発明の効果】以上説明したように本発明は、電源投入
後における最初の演奏操作により演奏時間の計時を開始
し、演奏操作間隔が所定値以上となったとき、演奏時間
の計時を停止させるとともに、この停止させた演奏時間
の計時を次に演奏操作があったとき、再開させるように
した。よって、電源投入から演奏開始までのロスタイム
や、演奏を一時中断した休憩時間が演奏時間として計時
されてしまうことがなく、精度よく実際の演奏時間を計
時することができる。
As described above, according to the present invention, the performance time is started by the first performance operation after the power is turned on, and when the performance operation interval becomes a predetermined value or more, the performance time is stopped. At the same time, the stopped performance time is restarted when the next performance operation is performed. Therefore, the actual performance time can be accurately measured without the loss time from the power-on to the start of the performance and the break time during which the performance is temporarily stopped being counted as the performance time.

【0039】また、楽音信号制御手段の非動作時間が所
定値以上となったとき、演奏時間の計時を停止させるよ
うにしたことから、エンベロープがゆっくり減衰する楽
音を発生させつつ演奏を行っている場合に、演奏操作間
隔が長くなっても、演奏時間の計時が停止してしまうこ
とがない。よって、エンベロープがゆっくり減衰する楽
音を発生させつつ演奏を行っている場合であっても、正
確に実際の演奏時間を計時することができる。
When the non-operation time of the tone signal control means exceeds a predetermined value, the timing of the performance time is stopped, so that the performance is performed while generating a tone in which the envelope attenuates slowly. In this case, even if the performance operation interval becomes longer, the timing of the performance time does not stop. Therefore, even when the performance is performed while generating a musical tone whose envelope slowly decreases, the actual performance time can be accurately measured.

【0040】さらに、演奏操作手段が非操作状態であっ
て、かつ、前記楽音信号制御手段が非動作状態である時
間が所定値以上となったとき、演奏時間の計時を停止さ
せるようにしたことから、押鍵から離鍵までの時間が長
くその間に楽音制御が終了した場合であっても、押鍵中
に演奏時間の計時が停止してしまうことはない。よっ
て、押鍵から離鍵までの時間が長くその間に楽音制御が
終了し得る演奏形態にて、演奏を行っても精度よく実際
の演奏時間を計時することができる。
Further, when the performance operation means is in the non-operation state and the tone signal control means is in the non-operation state for a time equal to or more than a predetermined value, the timing of the performance time is stopped. Therefore, even when the tone control is completed during the time from when the key is pressed to when the key is released, the timing of the performance time does not stop during the key is pressed. Therefore, the actual performance time can be accurately measured even when the performance is performed in a performance mode in which the time from the key depression to the key release is long and the tone control can be completed during that time.

【0041】加えて、これらの計時された演奏時間を表
示することにより、演奏者において正確な演奏時間を把
握することが可能となり、また、前記所定値を可変設定
自在としたことから、長い休符長の休符が含まれている
場合には、これに応じて所定値として大きな値設定して
おくことにより、休符に対応する部分の演奏時に演奏時
間の計時が停止して計時された演奏時間に誤差が生ずる
不都合を未然に防止することができる。
In addition, by displaying these timed performance times, it is possible for the player to know the exact performance time, and since the predetermined value can be variably set, a long pause is provided. If a rest with a note length is included, a large value is set as a predetermined value in accordance with this, so that the performance time is stopped and timed when the part corresponding to the rest is played. It is possible to prevent an inconvenience that an error occurs in the performance time.

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

【図1】本発明の各実施例にかかる電子楽器の全体構造
を示すブロック図である。
FIG. 1 is a block diagram showing the overall structure of an electronic musical instrument according to each embodiment of the present invention.

【図2】本発明の第1実施例のメインフローチャートで
ある。
FIG. 2 is a main flowchart of the first embodiment of the present invention.

【図3】同実施例のスイッチ,モード処理の内容を示す
フローチャートある。
FIG. 3 is a flowchart showing the contents of switch and mode processing of the embodiment.

【図4】同実施例のイベント処理の内容を示すフローチ
ャートである。
FIG. 4 is a flowchart showing details of an event process of the embodiment.

【図5】同実施例の動作を示す説明図である。FIG. 5 is an explanatory diagram showing the operation of the embodiment.

【図6】本発明の第2実施例のイベント処理の内容を示
すフローチャートである。
FIG. 6 is a flowchart showing the contents of an event process according to the second embodiment of the present invention.

【図7】本発明の第3実施例のメインフローチャートで
ある。
FIG. 7 is a main flowchart of a third embodiment of the present invention.

【図8】同実施例のイベント処理の内容を示すフローチ
ャートである。
FIG. 8 is a flowchart showing the contents of an event process of the embodiment.

【図9】同実施例の楽音制御処理の内容を示すフローチ
ャートである。
FIG. 9 is a flowchart showing the contents of a tone control process of the embodiment.

【図10】同実施例の演奏時間計時停止処理の内容を示
すフローチャートである。
FIG. 10 is a flowchart showing the contents of performance time counting stop processing of the embodiment.

【図11】同実施例の動作を示す説明図である。FIG. 11 is an explanatory diagram showing the operation of the embodiment.

【図12】本発明の第3実施例のイベント処理の内容を
示すフローチャートである。
FIG. 12 is a flowchart showing the contents of an event process according to the third embodiment of the present invention.

【図13】同実施例の楽音制御処理の内容を示すフロー
チャートである。
FIG. 13 is a flowchart showing the contents of a tone control process of the embodiment.

【図14】同実施例の演奏時間計時停止処理の内容を示
すフローチャートである。
FIG. 14 is a flowchart showing the contents of a performance time counting stop process of the embodiment.

【図15】同実施例の動作を示す説明図であるFIG. 15 is an explanatory diagram showing the operation of the embodiment.

【図16】同実施例と同一のタイミングで行った演奏操
作に対し第3実施例を適用した場合の動作を示す説明図
である。
FIG. 16 is an explanatory diagram showing an operation when the third embodiment is applied to a performance operation performed at the same timing as the embodiment.

【符号の説明】[Explanation of symbols]

1 マイコン 2 ROM 3 RAM 4 演奏操作部 5 イベント検出部 6 パネルスイッチ部 11 表示部 1 microcomputer 2 ROM 3 RAM 4 performance operation unit 5 event detection unit 6 panel switch unit 11 display unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G09B 5/00 - 7/12 G09B 15/00 - 15/08 G10F 1/00 - 5/06 G10G 1/00 - 7/02 G10H 1/00 - 7/12 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G09B 5/00-7/12 G09B 15/00-15/08 G10F 1/00-5/06 G10G 1 / 00-7/02 G10H 1/00-7/12

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 演奏操作されて演奏データを出力する演
奏操作手段と、 該演奏操作手段から出力された演奏データに基づいて楽
音信号の生成に関連する制御を実行する楽音信号制御手
段と、 電源投入後における前記演奏操作手段に対する最初の演
奏操作に応答して計時を開始する第1の計時手段と、 前記演奏操作手段に対する操作間隔を計時する第2の計
時手段と、 該第2の計時手段により計時された前記操作間隔が所定
値以上となったとき前記第1の計時手段の計時を停止さ
せるとともに、前記演奏操作手段に対する演奏操作に応
答して前記停止させた第1の計時手段の計時を再開させ
る計時制御手段と、 を備えたことを特徴とする電子楽器。
1. A performance operation means for outputting performance data by performing a performance operation; a tone signal control means for executing control relating to generation of a tone signal based on the performance data output from the performance operation means; First timing means for starting timekeeping in response to the first performance operation on the performance operation means after the insertion, second timekeeping means for measuring the operation interval for the performance operation means, and second timekeeping means When the operation interval measured by the timer is equal to or more than a predetermined value, the first timer means is stopped, and the first timer means is stopped in response to a performance operation on the performance operation means. An electronic musical instrument, comprising: a time control means for resuming the time.
【請求項2】 前記第1の計時手段の計時内容を表示す
る表示手段がさらに設けられたことを特徴とする請求項
1記載の電子楽器。
2. The electronic musical instrument according to claim 1, further comprising display means for displaying the contents of the time measurement by said first time measurement means.
【請求項3】 前記所定値を外部操作により可変設定自
在としたことを特徴とする請求項1または2記載の電子
楽器。
3. The electronic musical instrument according to claim 1, wherein the predetermined value is variably set by an external operation.
【請求項4】 演奏操作されて演奏データを出力する演
奏操作手段と、 該演奏操作手段から出力された演奏データに基づいて動
作し楽音信号の生成に関連する制御を実行する楽音信号
制御手段と、 電源投入後における前記演奏操作手段に対する最初の演
奏操作に応答して計時を開始する第1の計時手段と、 前記楽音信号制御手段の非動作時間を計時する第2の計
時手段と、 該第2の計時手段により計時された前記非動作時間が所
定値以上となったとき前記第1の計時手段の計時を停止
させるとともに、前記演奏操作手段に対する演奏操作に
応答して前記停止させた第1の計時手段の計時を再開さ
せる計時制御手段と、 を備えたことを特徴とする電子楽器。
4. A performance operation means for outputting performance data in response to a performance operation, a tone signal control means operating based on the performance data output from the performance operation means, and executing control relating to generation of a tone signal. First timing means for starting timing in response to the first performance operation on the performance operation means after power-on, second timing means for measuring non-operation time of the tone signal control means, When the non-operation time measured by the second timer is equal to or greater than a predetermined value, the first timer is stopped, and the first timer stopped in response to a performance operation on the performance operation means. An electronic musical instrument comprising: a timing control unit configured to restart timing of the timing unit.
【請求項5】 前記第1の計時手段の計時内容を表示す
る表示手段がさらに設けられたことを特徴とする請求項
4記載の電子楽器。
5. The electronic musical instrument according to claim 4, further comprising display means for displaying the contents of the time measurement by said first time measurement means.
【請求項6】 前記所定値を外部操作により可変設定自
在としたことを特徴とする請求項4または5記載の電子
楽器。
6. The electronic musical instrument according to claim 4, wherein said predetermined value can be variably set by an external operation.
【請求項7】 演奏操作されて演奏データを出力する演
奏操作手段と、 該演奏操作手段から出力された演奏データに基づいて動
作し楽音信号に関連する制御を実行する楽音信号制御手
段と、 電源投入後における前記演奏操作手段に対する最初の演
奏操作に応答して計時を開始する第1の計時手段と、 前記演奏操作手段が非操作状態であって、かつ、前記楽
音信号制御手段が非動作状態であるときに計時動作する
第2の計時手段と、 該第2の計時手段により計時された時間が所定値以上と
なったとき前記第1の計時手段の計時を停止させるとと
もに、前記演奏操作手段に対する演奏操作に応答して前
記停止させた第1の計時手段の計時を再開させる計時制
御手段と、 を備えたことを特徴とする電子楽器。
7. A performance operation means for outputting performance data by performing a performance operation, a tone signal control means operating based on the performance data output from the performance operation means and executing a control related to a tone signal, and a power supply. First timing means for starting timing in response to the first performance operation on the performance operation means after the insertion, and wherein the performance operation means is in the non-operation state and the musical tone signal control means is in the non-operation state A second time measuring means for performing a time operation when the time of the first time measuring means is longer than a predetermined value; An electronic musical instrument comprising: a timing control unit that restarts timing of the stopped first timing unit in response to a performance operation performed on the musical instrument.
【請求項8】 前記第1の計時手段の計時内容を表示す
る表示手段がさらに設けられたことを特徴とする請求項
7記載の電子楽器。
8. The electronic musical instrument according to claim 7, further comprising display means for displaying the content of the time measured by said first time measuring means.
【請求項9】 前記所定値を外部操作により可変設定自
在としたことを特徴とする請求項7または8記載の電子
楽器。
9. The electronic musical instrument according to claim 7, wherein said predetermined value is variably set by an external operation.
JP33569491A 1991-11-24 1991-11-24 Electronic musical instrument Expired - Fee Related JP3237155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33569491A JP3237155B2 (en) 1991-11-24 1991-11-24 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33569491A JP3237155B2 (en) 1991-11-24 1991-11-24 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH05142987A JPH05142987A (en) 1993-06-11
JP3237155B2 true JP3237155B2 (en) 2001-12-10

Family

ID=18291447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33569491A Expired - Fee Related JP3237155B2 (en) 1991-11-24 1991-11-24 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP3237155B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020100671A1 (en) * 2018-11-15 2020-05-22 ソニー株式会社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JPH05142987A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
JP2707853B2 (en) Key press indicating device
CN104050952B (en) Music performance apparatus and playing method
JP3237455B2 (en) Performance instruction device
CN101751915B (en) Musical tone generating apparatus and musical tone generating program
JP3237155B2 (en) Electronic musical instrument
JP3811043B2 (en) Electronic musical instruments
JP2009031457A (en) Musical sound generator and musical sound generation processing program
JP3192579B2 (en) Automatic performance device and automatic performance method
JP3862988B2 (en) Electronic musical instruments
JPH0375874B2 (en)
JP3940999B2 (en) Performance device and performance method
JP3296202B2 (en) Performance operation instruction device
JP3345453B2 (en) Automatic performance device
JPH07152372A (en) Playing device
JP3006136B2 (en) Electronic musical instrument
JP2643581B2 (en) Controller for real-time control of pronunciation time
JP2722880B2 (en) Electronic musical instrument
JPH06149241A (en) Electronic musical instrument
JP2551195B2 (en) Automatic playing device
JP5449963B2 (en) Automatic melody performance device and program for automatic melody performance function
JP3543161B2 (en) Code data output device
JP2848092B2 (en) Automatic accompaniment device
JPH06195069A (en) Music reproducing device
JP3075750B2 (en) Automatic performance device
JPH02181794A (en) Performance device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071005

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081005

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081005

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091005

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091005

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101005

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111005

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees