JPH04156592A - Tempo controller - Google Patents

Tempo controller

Info

Publication number
JPH04156592A
JPH04156592A JP2282850A JP28285090A JPH04156592A JP H04156592 A JPH04156592 A JP H04156592A JP 2282850 A JP2282850 A JP 2282850A JP 28285090 A JP28285090 A JP 28285090A JP H04156592 A JPH04156592 A JP H04156592A
Authority
JP
Japan
Prior art keywords
tap
time
tempo
data
performance
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.)
Pending
Application number
JP2282850A
Other languages
Japanese (ja)
Inventor
Hirobumi Mukono
博文 向野
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2282850A priority Critical patent/JPH04156592A/en
Publication of JPH04156592A publication Critical patent/JPH04156592A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable a tap to wait for a music performance and to simply cope with a fell mark or the like by providing a tapping means, a tempo clock data outputting means, a means for estimating music times for weak or strong rhythms and a progress control means, and by providing means for inhibiting calculation for a new tempo exceeding a predetermined value. CONSTITUTION:When a tap switch is turned on, a strong rhythm which the player aims at is estimated, and at step n3, an anticipated next rhythm is calculated, and at step n4, the rhythm is set as a music performance stopping point. At step n5, whether a register MOD is 1 or 0 is determined, and the process is advanced to step n6 at which the expression 1 is calculated with the value of time T being constant. At step n7, a new tempo is calculated with the use of the expression 11. At step n8, the musing time is corrected, and at step n9, the data are updated. Meanwhile, when the tap switch is turned off, at step n10, Up Beat is compared with Cur Pos, and through the path from steps n12 to n14, the performance stopping point is released, and through the path from n11 to n13, the performance stopping point is set as it is. Through steps n20 to n26, the music performance is stopped for waiting, and MIDI data F8 are delivered for counting up performance data memory.

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、シーケンサやリズムマシンなどに対して実
時間で制御されたテンポクロックを与えることのできる
テンポコントローラに関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Application Field The present invention relates to a tempo controller that can provide a tempo clock controlled in real time to a sequencer, rhythm machine, or the like.

(b)従来の技術 音楽の最も重要な基本要素の1つに演奏のテンポという
ものがある。テンポは1つの曲の演奏の流れの中でも様
々に変化し、曲の表情作りの中で大きな役割を果たして
いる。そのテンポ変化の中にはりタルダンドやアンチニ
レランドのように大局的ナテンポ変化や小節内の細かな
テンポの揺らぎなど様々なものが含まれる。電子楽器で
、特にその自動演奏でこのテンポの微妙な変化を与える
ようにできるとより音楽的な表現が可能になる。
(b) Conventional technology One of the most important basic elements of music is the tempo of performance. The tempo changes in various ways even within the performance flow of a single song, and plays a major role in creating the expression of the song. These tempo changes include a variety of things, such as global na tempo changes such as in hari tardando and anti ni rerando, and small tempo fluctuations within a measure. If electronic musical instruments can be used to make subtle changes in tempo, especially when playing automatically, more musical expressions will be possible.

シーケンサなどてこのテンポの変化を含む自動演奏を行
う場合、最も簡単な方法はそのテンポの変化も予めデー
タとして打ち込んでおくことであるところが、このよう
にシーケンサなどでは実時間での柔軟なテンポ変更を行
うことができない。
When performing automatic performance that includes tempo changes using a sequencer, etc., the easiest way is to input the tempo changes as data in advance, but with a sequencer etc., it is not possible to change the tempo flexibly in real time. can't do it.

このことはシーケンサは人間との演奏の同期に関しては
無能に近く、人間の演奏者が機械の方に合わせてやらな
ければならないことを意味する。そこで、この問題を解
決するためにシーケンサ内で形成されているテンポクロ
ック情報を外部から与え、しかもそのテンポクロック情
報を実時間で制御する方法が提案されている。テンポを
表現する手段としては最も基本的なものとしてタンピン
グがある。すなわち、演奏者はタッピングを行うことに
より、そのタッピングに基づいてテンポクロックを発生
するようにする。シーケンサ側では、このテンポクロッ
ク情報を受けると、前回のタッピング時の楽譜時間およ
び物理時間と、今回のタンピング時の楽譜時間と物理時
間とから新たなテンポを81算することになる。
This means that sequencers are nearly incompetent when it comes to synchronizing performances with humans, and the human performer has to adapt to the machine. In order to solve this problem, a method has been proposed in which tempo clock information generated within the sequencer is supplied externally and the tempo clock information is controlled in real time. Tamping is the most basic means of expressing tempo. That is, by tapping the player, a tempo clock is generated based on the tapping. When the sequencer side receives this tempo clock information, it calculates a new tempo by 81 from the musical score time and physical time at the previous tapping time and the musical score time and physical time at the current tapping time.

ここで、物理時間と楽譜時間との定義は次のようになる
Here, the definitions of physical time and musical score time are as follows.

物理時間・・・通常の時間である。コンピュータのタイ
マによって生成される。例えばm秒単位の時間を意味す
る。
Physical time: normal time. Generated by a computer timer. For example, it means time in units of milliseconds.

楽譜時間・・・楽譜の中での位置を表す。Score time: represents the position in the score.

通常−拍の何分の1かを基本単位として用いる。例えば
後述の実施例では1拍の1/384を単位として楽譜時
間を表現し、MIDI規格ではF8(MIDIクロック
)が1拍の1/24の楽譜時間を表す単位と解釈される
Normal - A fraction of a beat is used as the basic unit. For example, in the embodiment described later, musical score time is expressed in units of 1/384 of one beat, and according to the MIDI standard, F8 (MIDI clock) is interpreted as a unit representing musical score time of 1/24 of one beat.

上記の方式の従来のテンポコントローラとしては次のよ
うなものがあった。
Conventional tempo controllers using the above method include the following.

■タップは全ての拍で行われるものと仮定し、1つのタ
ップが来る度に一拍分の楽譜時間を進める。
■Assuming that taps are made on every beat, advance the musical score time by one beat each time a tap occurs.

■タップは任意の拍で行われるものと仮定し、1つのタ
ップがくる度に拍の位置を計算し、テンポを変更する。
■Assuming that taps are made at arbitrary beats, calculate the beat position and change the tempo each time a tap occurs.

(C)発明が解決しようとする課題 しかし、上記■のタイプのテンポコントローラでは、全
部の拍に対してタッピングしなければならないために、 (イ)演奏家が疲れる。
(C) Problems to be Solved by the Invention However, with the tempo controller of the type ① above, the performer is tired because he or she has to tap for every beat.

(ロ)一定のテンポで良いことろでもタップしなければ
ならず、結果的にテンポを不本意に変化させてしまう。
(b) Even if the tempo is good, you have to tap, and as a result, the tempo changes unexpectedly.

(ハ)コンピュータは演奏家を必ず待ち、−人で少しで
も先に行くことがないので、不自然な演奏出力(伴奏な
ど)になる。
(c) The computer always waits for the performer, and the computer never goes even a little bit ahead of the performer, resulting in an unnatural performance output (accompaniment, etc.).

という不都合があり、 また、上記■のタイプのテンポコントローラは、任意の
ところだけタップできるということが逆に言うとコンピ
ュータはタップが来なくても演奏を続けることになるた
めに、 (イ)止めたいところで止めることができない(ロ)出
だしで演奏家とコンピュータを揃えたいときに揃えられ
ない。
In addition, the tempo controller of the type (■) above allows you to tap only at any point, which means that the computer will continue playing even if no taps come. Unable to stop at the desired point (b) Unable to align the performer and computer at the beginning.

(ハ)フェルマータ等のように音を表記上の合価よりも
引き伸ばす演奏を行う場合の処理を簡単に行うことが出
来ない。すなわち、フェルマータの演奏を行おうとする
ときには、タップ間隔を落とすことになるが、次の小節
の出だしのテンポも遅くなってしまう。
(c) It is not possible to easily process a performance such as a fermata in which the sound is stretched beyond its written value. That is, when attempting to perform a fermata, the tap interval must be reduced, but the tempo at the beginning of the next measure also becomes slower.

この発明の目的は、上記■のタイプと■のタイプの長所
を組合せ、任意のところでのタップを前提にしつつ演奏
の待ち合わせを可能にし、しかもフエルマータ等に対し
ても簡単に対応出来るようにすることを目的とする。
The purpose of this invention is to combine the advantages of type (■) and type (■) above, to make it possible to meet up for a performance while assuming taps at any location, and to easily accommodate fermata and the like. With the goal.

(d)課題を解決するための手段 この発明は、スイッチのオン、オフ毎にタップオンデー
タ、タップオフデータを形成するタンピング手段と、 前記タップオンデータに基づいて新たなテンポを計算し
、その値に従ってテンポクロック情報を出力するテンポ
クロック情報出力手段と、前記タップオンデータに基づ
いて次回の弱拍点および次回の強拍点の楽譜時間を推定
する手段と推定された次回の弱拍点の楽譜時間と次に来
るタップオフ時との前後を比較し、その結果に応じて前
記推定された次回の強拍点と次回のタップオン時の間で
楽譜時間を進行させるか進行を止めるかの何れかの制御
を行う手段と、 前記楽譜時間の進行が止められている状態で、次にタッ
プオンが来たときに、前回のタップオンからの時間が一
定値を越えているか否かを判定し、越えているときには
前記新たなテンポの計算を禁止する手段と、 を備えてなることを特徴とする。
(d) Means for Solving the Problems This invention provides a tamping means that forms tap-on data and tap-off data each time a switch is turned on and off, and a new tempo that is calculated based on the tap-on data and its value. tempo clock information output means for outputting tempo clock information according to the tap-on data; means for estimating the musical score time of the next weak beat point and the next strong beat point based on the tap-on data; and the musical score of the estimated next weak beat point. Compare the time before and after the next tap-off time, and depending on the result, control either to advance or stop the musical score time between the estimated next strong beat point and the next tap-on time. When the next tap-on occurs in a state where the progress of the music score time is stopped, it is determined whether the time from the previous tap-on exceeds a certain value, and if the time exceeds the specified value, The present invention is characterized by comprising a means for prohibiting calculation of a new tempo, and the following.

(e)作用 この発明では、スイッチがオンされた時、すなわち、タ
ップオンデータが発注したときに次回の弱拍点および強
拍点の楽譜時間が推定される。そして、次にタップオフ
となった時にそのタップオフ時と前記推定された弱拍点
の楽譜時間との前後を比較し、その結果に応じて前記推
定された次回の強拍点と次にくるタップオン時の間で楽
譜時間を進行させるか進行を止めるかの何れかの制御を
行う。つまり、推定弱拍点が実際のタップオフ時よりも
前か後かによって推定強拍点からタップオン時までの間
で楽譜時間を進行させるか停止させるかを決める。例え
ば、推定弱拍点がタップオフ時よりも前のときに上記楽
譜時間の進行を停止させ、推定弱拍点がタップオフ時よ
りも後のときに上記楽譜時間の進行停止が無いようにす
る。第1図はこの様子を示している。同図(A)は楽譜
時間の進行が停止される場合、つまり次回のタップオン
時での時間の待ち合わせが行われる場合を示している。
(e) Effect In the present invention, when the switch is turned on, that is, when the tap-on data is ordered, the musical score time of the next weak beat point and strong beat point is estimated. Then, the next time the tap-off occurs, the timing of the tap-off is compared with the music score time of the estimated weak beat point, and depending on the result, the time between the estimated next strong beat point and the next tap-on time is compared. Controls whether the musical score time advances or stops. That is, depending on whether the estimated weak beat point is before or after the actual tap-off time, it is determined whether the musical score time should advance or be stopped between the estimated strong beat point and the tap-on time. For example, the progress of the score time is stopped when the estimated weak beat point is before the tap-off time, and the progress of the score time is not stopped when the estimated weak beat point is after the tap-off time. Figure 1 shows this situation. FIG. 4(A) shows a case where the progression of musical score time is stopped, that is, a case where a waiting time for the next tap-on is performed.

また同図(B)は楽譜時間の進行停止がない場合、つま
り次回のタップオン時で待ち合わせが行われない場合を
示している。このような制御によって、タップオフ(ス
イッチオフ)のタイミングを変えることよって曲の進行
を止めたいところで止めることができ、任意の位置(適
当なフレーズの頭)でコンピュータと演奏者とで時間を
合わせることができる。また、楽譜時間の進行停止がな
いようにタップオフ(スイッチのオフ)を−度行えば、
以後タンピングを行わなくても一定のテンポで曲が進行
していく。
FIG. 2B shows a case where the musical score time does not stop, that is, a meeting is not performed at the next tap-on. With this kind of control, you can stop the progression of the song at a desired point by changing the tap-off (switch-off) timing, and you can synchronize the time between the computer and the performer at an arbitrary position (the beginning of an appropriate phrase). I can do it. Also, if you tap off (turn off the switch) - times so that the musical score time does not stop progressing,
From then on, the song progresses at a constant tempo without any tamping.

さらに、この発明では、第1図(A)に示すように、楽
譜時間の待ち合わせを行う場合に、前回のタップオンか
ら今回のタップオンまでの時間Tが一定の値(図では一
拍長*フエルマータ率)を越えているかどうかの判定を
行い、越えているときには、今回のタップオン時にて新
たなテンポの計算を行わない。したがって、前回のタッ
プオン時に計算されたテンポ(フェルマータ直前に計算
されたテンポ)がそのまま使用されることになり、次の
小節の出だしではア・テンポと同じようになる。
Furthermore, in this invention, as shown in FIG. 1(A), when waiting for the score time, the time T from the previous tap-on to the current tap-on is a constant value (in the figure, one beat length * fermata rate ) is exceeded, and if it is, no new tempo calculation is performed at the current tap-on. Therefore, the tempo calculated at the previous tap-on (the tempo calculated just before the fermata) will be used as is, and the beginning of the next measure will be the same as the a tempo.

Cr)実施例 第2図はこの発明の実施例であるブロック図を示してい
る。同図の1はテンポコントローラ、2はシーケンサ、
3は音源、4はサウンドシステムを示している。シーケ
ンサ2内の演奏データメモリには予め演奏データが記憶
されている。テンポコントローラ1はシーケンサ2に対
してM I D Iケーブルを介してテンポクロック情
報を与える。
Cr) Embodiment FIG. 2 shows a block diagram of an embodiment of the present invention. In the figure, 1 is a tempo controller, 2 is a sequencer,
3 indicates a sound source, and 4 indicates a sound system. Performance data is stored in the performance data memory in the sequencer 2 in advance. A tempo controller 1 provides tempo clock information to a sequencer 2 via an MIDI cable.

実際には、MIDIケーブル上はクロックではなく、F
8データが流れる。また、F8データの他、スタート時
にはFAデータが出力され、ストン7’ 時にはFCデ
ータが出力される。シーケンサ2はF8データを受ける
と、演奏データメモリのポインタを1つ進める。つまり
、シーケンサ2は、このテンポクロックに基づいて内部
の演奏データメモリから演奏データを読み出し、音源3
に送る。音源3はその演奏データに対応する波形データ
を音源メモリから読み出してサウンドシステム4に出力
する。
Actually, there is no clock on the MIDI cable, but an F
8 data flows. In addition to the F8 data, FA data is output at the start, and FC data is output at the time of stone 7'. When the sequencer 2 receives the F8 data, it advances the pointer in the performance data memory by one. In other words, the sequencer 2 reads performance data from the internal performance data memory based on this tempo clock, and reads the performance data from the sound source 3.
send to The sound source 3 reads waveform data corresponding to the performance data from the sound source memory and outputs it to the sound system 4.

前記テンポコントローラ1はマイクロコンピュータ10
、操作パネル11、タイマエ2、タップスイッチ13、
およびMIDIインターフェース14を備えている。操
作パネル11はスタート/ストップスイッチを含む。タ
イマ12は外部割込タイマとして使用される。タップス
イッチ13は通常のオン/オフスイッチである。このス
イッチは操作者がタッピングし易いように、例えば足の
甲の上下動作でオン/オフ動作するものや手の上下動作
でオン/オフ動作する構造のものが望ましい。M I 
D Iインターフェース14はマイクロコンピュータ1
0から出力されるテンポクロック情報に基づいて演奏デ
ータメモリカウントアツプ用のF8データをMIDIケ
ーブル15に乗せる。
The tempo controller 1 is a microcomputer 10
, operation panel 11, timer 2, tap switch 13,
and a MIDI interface 14. The operation panel 11 includes a start/stop switch. Timer 12 is used as an external interrupt timer. Tap switch 13 is a conventional on/off switch. In order to make it easier for the operator to tap the switch, it is desirable that the switch be turned on/off by the up and down movement of the top of the foot, or the switch can be turned on and off by the up and down movement of the hand. MI
DI interface 14 is microcomputer 1
Based on the tempo clock information output from 0, F8 data for performance data memory count up is placed on the MIDI cable 15.

なお、テンポクロック情報がOのときにはF8データは
形成されない。MIDIケーブル15はMIDIインタ
ーフェース140MIDIOUT端子に接続される。
Note that when the tempo clock information is O, F8 data is not formed. The MIDI cable 15 is connected to the MIDI OUT terminal of the MIDI interface 140.

シーケンサ2はシーケンサ本体20とMIDIインター
フェース21とを含む。MIDIケーブル15はMID
Iインターフェース21のMID11N端子に接続され
る。シーケンサ本体20は内部に設けられている演奏デ
ータメモリに図示のような演奏データを予め記憶してい
る。図のイベントデータ間のF8の数は楽譜上のイベン
ト間隔に相当する数に等しい。イベントデータは、例え
ばKON (ノートオン)、KCD(音高)、VEL(
キーへロシティ;音量)から構成され、ポインタがKO
Nを指した時これらの演奏データを順に音源3に出力す
る。
The sequencer 2 includes a sequencer main body 20 and a MIDI interface 21. MIDI cable 15 is MID
It is connected to the MID11N terminal of the I interface 21. The sequencer main body 20 has previously stored performance data as shown in the performance data memory provided therein. The number of F8s between event data in the figure is equal to the number corresponding to the event interval on the musical score. Event data includes, for example, KON (note on), KCD (pitch), VEL (
It consists of the key volume (volume), and the pointer is KO.
When pointing to N, these performance data are sequentially output to the sound source 3.

以上の構成によりテンポコントローラ1から出力される
F8データの周期が短くなればシーケンサ2からは楽譜
時間か短くなるように演奏データが出力される。また、
反対に上記周期が長くなれば楽譜時間が長くなるように
演奏データが出力される。
With the above configuration, if the period of the F8 data outputted from the tempo controller 1 becomes shorter, the performance data is outputted from the sequencer 2 so that the musical score time becomes shorter. Also,
On the other hand, if the period becomes longer, the performance data is outputted so that the musical score time becomes longer.

次に第3図(A)、(B)を参照して上記テンポコント
ローラ1の動作を説明する。
Next, the operation of the tempo controller 1 will be explained with reference to FIGS. 3(A) and 3(B).

第3図(A)は夕・ツブスイッチ13がオンした時また
はオフした時の動作を示している。
FIG. 3(A) shows the operation when the evening switch 13 is turned on or turned off.

先ず、タップスイッチ13がオンまたはオフすると、ス
テップnlにおいてオンまたはオフの判定を行い、オン
の場合にはn2に進み、オフの場合にはnlOに進む。
First, when the tap switch 13 is turned on or off, it is determined whether it is on or off in step nl, and if it is on, the process proceeds to n2, and if it is off, the process proceeds to nlO.

タップスイッチがオンの時には演奏者が意図する強拍点
、次回の弱拍点および次回の強拍点を推定する。演奏者
の意図する今回の強拍点の推定はn2で行われる。この
強拍点の位置はGuessPosで表される。第4図(
A)または同図(B)において、今回のタップオン時を
t2(P、)とすると、このGuessPOSは楽譜時
間で768の位置である。C1uessPosは、 GuessPos= (Curio s/Bea t)*Bea tで求めら
れる。ここでBea tは1拍の楽譜時間、すなわち3
84であり、CurPosは現在の楽譜時間位置を表す
。たとえば第4図(A)では現在の物理時間がt2であ
るから、CurP。
When the tap switch is on, the strong beat point intended by the performer, the next weak beat point, and the next strong beat point are estimated. The current emphasis point intended by the performer is estimated at n2. The position of this tonic point is represented by GuessPos. Figure 4 (
In A) or the same figure (B), if the current tap-on time is t2(P,), this GuessPOS is at position 768 in musical score time. C1uessPos is determined by: GuessPos=(Curios/Beat)*Beat. Here, Beat is the musical score time of one beat, that is, 3
84, and CurPos represents the current music score time position. For example, in FIG. 4(A), the current physical time is t2, so CurP.

Sは704である。また、(Curios/Beat)
は四捨五入値を返す。したがって、タップオン時の物理
時間t2においてCurPosが576〜768の間に
ある場合にはGuessP。
S is 704. Also, (Curios/Beat)
returns a rounded value. Therefore, if CurPos is between 576 and 768 at physical time t2 at tap-on, GuessP.

Sは768となり、CurPosが384〜575の間
にある場合にはGuessPosは384となる。
S is 768, and if CurPos is between 384 and 575, GuessPos is 384.

続いて、n3では予想する次の弱拍点を計算する。この
弱拍点はUpBeatで表される。
Subsequently, in n3, the next predicted weak beat point is calculated. This weak beat point is represented by UpBeat.

次の弱拍点UpBeatは、 UpBeat= GuessPos+0.5*Beat 十offset で求められる。ここでは、次の弱拍点の位置をGues
sPosに1拍の楽譜時間の1/2を足し、さらにその
値にoffsetを加えた値としている。なお、第5図
はタップスイッチの可動接触子の軌跡を示しているが、
スイッチの接点構造成いは演奏者のタッピング内容によ
り、同図のように実際のタップオフタイミングPwと演
奏者の意図するOFFポイントとが異なることがある。
The next weak beat point UpBeat is determined by UpBeat=GuessPos+0.5*Beat +offset. Here, we will select the position of the next weak beat point.
The value is obtained by adding 1/2 of the musical score time of one beat to sPos and further adding offset to that value. Furthermore, although Fig. 5 shows the locus of the movable contact of the tap switch,
As shown in the figure, the actual tap-off timing Pw may differ from the OFF point intended by the performer depending on the contact structure of the switch and the tapping contents of the performer.

そこで、実際のタンプオフタイミングPwと演奏者の意
図するOFFポイントとの間隔をoffsetとして与
えておくことにより、より正確なしpBeatを求める
ことが出来る。続いて、n4において次回の強拍点の位
置を推定し、その強拍点を演奏停止点としてセットする
。演奏停止点は5topPosで表される。
Therefore, by providing the interval between the actual tamp-off timing Pw and the OFF point intended by the performer as an offset, it is possible to obtain a more accurate pBeat. Subsequently, in n4, the position of the next strong beat point is estimated, and that strong beat point is set as the performance stop point. The performance stop point is represented by 5topPos.

演奏停止点5topPosは、 StopPos− GuessPos−i−Beat で求められる。The performance stop point 5topPos is StopPos- GuessPos-i-Beat is required.

第4図(A)、(B)に示すように、CuessPos
が768、また、offsetを仮にOとすると、上記
のn3.n4の計算により、UpBeat=960,5
LopPos=1152となる。このUpBeatおよ
び5topPosが曲の進行の制御のために使用される
As shown in FIGS. 4(A) and (B), CuessPos
is 768, and if offset is O, the above n3. By calculating n4, UpBeat=960,5
LopPos=1152. This UpBeat and 5topPos are used to control the progress of the song.

次の05では、レジスタMODが1にセットされている
か0にセットされているかを見る。このレジスタMOD
は、Oのときが第1図(B)のモードを示す。また、1
のときが第1図(A)のモードを示す。MOD=Oのと
きはnlに進み、新たなテンポの計算を行う。MOD=
1のときはn6に進み、第1図(A)に示す時間Tが一
定の値を越えているかどうかの判定を行う。すなわち、
(CurTime−PrevTime)>(Beat*
フェルマータ率) の計算を行う。ここで、フエルマータ率は、タップオン
からタップオンまでの時間が通常の拍の何倍以上に引き
伸ばされたときにフェルマータと見なすかを決めるため
の値であり、予め操作パネル11より入力されている。
In the next step 05, it is checked whether the register MOD is set to 1 or 0. This register MOD
When is O, the mode shown in FIG. 1(B) is shown. Also, 1
1 indicates the mode shown in FIG. 1(A). When MOD=O, proceed to nl and calculate a new tempo. MOD=
If it is 1, the process proceeds to n6, where it is determined whether the time T shown in FIG. 1(A) exceeds a certain value. That is,
(CurTime-PrevTime)>(Beat*
fermata rate). Here, the fermata rate is a value for determining how many times longer than a normal beat the time from tap-on to tap-on is considered to be a fermata, and is input in advance from the operation panel 11.

もし、この条件が満たされなければnlへ進み、新たな
テンポの計算を行う。もし、この条件が満たされなけれ
ば、nlをスキップし、新たなテンポの計算を禁止する
If this condition is not met, proceed to nl and calculate a new tempo. If this condition is not met, nl is skipped and new tempo calculation is prohibited.

新たなテンポの計算が禁止された場合は、前回のタップ
オン時に計算されたテンポが今回使用される。
If calculation of a new tempo is prohibited, the tempo calculated at the previous tap-on is used this time.

nlでは新たなテンポの計算を行う。テンポの計算は、 1ewTempo= (GuessPos−PrevPos)/(CurTi
me−PrevTime)で求められる。ここで、ne
wTempoは次に実行すべの演奏テンポであり、Pr
evPosは前回の強拍点の楽譜時間位置を示し、Cu
rTimeは現在の物理時間を示し、PrevTime
は前回の強拍点の物理時間位置を示している。
In nl, a new tempo is calculated. Calculation of tempo is 1ewTempo= (GuessPos-PrevPos)/(CurTi
me-PrevTime). Here, ne
wTempo is the performance tempo to be performed next, and Pr
evPos indicates the musical score time position of the previous strong beat point, and Cu
rTime indicates the current physical time, PrevTime
indicates the physical time position of the previous tonic point.

つまり、n e W T e m p Oは第4図(A
)、  (B)から明らかなように直線の傾きを表して
いることに他ならない。
In other words, n e W T e m p O is shown in Figure 4 (A
) and (B), it is nothing but an expression of the slope of a straight line.

続いて、n8で楽譜時間の修正を行う。楽譜時間の修正
は、 CurPos=GuessPos で行われる。
Subsequently, the musical score time is corrected in n8. The musical score time is corrected by CurPos=GuessPos.

次にn9においてデータの更新を行う。つまりGues
sPosをPrevPosとして更新し、CurTim
eをPrevTimeとして更新する。
Next, data is updated in n9. In other words, Gues
Update sPos as PrevPos and CurTim
Update e as PrevTime.

一方、タップオフ時においては、上記n1からnloに
進む。nloては、UpBeatとCurPosを比較
する。UpBeatがCurP。
On the other hand, at tap-off, the process proceeds from n1 to nlo. Next, we will compare UpBeat and CurPos. UpBeat is CurP.

Sよりも大きければn12に進み、そうでない場合には
nilに進む。そして、nl 2ではMOD−〇にして
(第1図(B))、続<n14にて5topPosを無
限大に設定することにより演奏停止点の解除を行い、n
ilてはMOD=1にして(第1図(A))、ri13
にて演奏停止点をそのままにする。つまり、後述のよう
に、n14のステップによって第1図(B)に示す制御
が行われていき、n13のステップによって第1図(A
)に示す制御が行われていく。
If it is larger than S, proceed to n12, otherwise proceed to nil. Then, in nl 2, set MOD-○ (Fig. 1 (B)), and in continuation <n14, set 5topPos to infinity to cancel the performance stop point, and nl
Set MOD=1 for il (Fig. 1 (A)), and set ri13 to
Leave the playing stop point as is. That is, as will be described later, the control shown in FIG. 1(B) is performed by step n14, and the control shown in FIG.
) is performed.

第3図(B)はNm5ec毎にタイマ割込で実行される
フローチャートである。このフローでは、演奏を止めて
楽譜時間の待ち合わせを行ったりり、M I D Iケ
ーブルに対して演奏データメモリのカウントアツプのた
めのMIDIデータF8を出力する。
FIG. 3(B) is a flowchart executed by a timer interrupt every Nm5ec. In this flow, the performance is stopped to wait for the music score time, and MIDI data F8 for counting up the performance data memory is output to the MIDI cable.

n20.n21ではそれぞれ物理時間の維持と楽譜時間
の維持を行う。物理時間の維持はCurTimeにN 
m S e Cを加えることで行う。また、楽譜時間の
維持はCurPosにN’knewTempoの値を加
えることで行う。続いて、n22においてCurPos
と5topPosとを比較する。もし、CurPosが
5topPosよりも大きいかまたは等しければ CurPos=StopPos として、演奏を止め次のタップオン時まで待ち合わせを
行う。つまり第1図(A)に示す制御が行われる。第4
図(A)は演奏の待ち合わせが行われる場合のグラフを
示している。図のTで示す期間が演奏待ち合わせ時間で
ある。n22において、もし、第3図(A)のrs 1
2においてSt。
n20. n21 maintains physical time and score time, respectively. Maintaining physical time is done using CurTime.
This is done by adding m S e C. Furthermore, the score time is maintained by adding the value of N'knewTempo to CurPos. Subsequently, CurPos at n22
and 5topPos. If CurPos is greater than or equal to 5topPos, CurPos=StopPos, and the performance is stopped and waits until the next tap-on. In other words, the control shown in FIG. 1(A) is performed. Fourth
Figure (A) shows a graph when a performance is scheduled. The period indicated by T in the figure is the performance waiting time. In n22, if rs 1 in Figure 3 (A)
In 2 St.

pPosが無限大に設定されていると、CurPO5は
常に5topPosよりも小さい。したがって、この場
合にはn22→n24と進む。つまり、第1図(B)の
制御が行われる。第4図(B)はこの場合のグラフを示
している。
If pPos is set to infinity, CurPO5 will always be less than 5topPos. Therefore, in this case, the process proceeds from n22 to n24. In other words, the control shown in FIG. 1(B) is performed. FIG. 4(B) shows a graph in this case.

n24では、現在までのMIDIクロック数を求める。At n24, the number of MIDI clocks up to the present time is determined.

ここで、M I D I規格で定められる分解能(1拍
当たりのカウント数は24)でのカウント数である現在
までのMIDIクロック数CurF8Countは、次
式で求められる。
Here, the current MIDI clock number CurF8Count, which is the count number at the resolution defined by the MIDI standard (the number of counts per beat is 24), is determined by the following equation.

CurF8Count= Cu r P o s / F 8 T i m eこ
こでFBTimeはMIDI  Clockl個当たり
の楽譜時間を表す。
CurF8Count=CurPos/F8TimeHere, FBTime represents the musical score time per MIDI clock.

続いてn25でMIDIケーブルに対して出力するMI
DI  C]ockO数、すなわちF8データの数を求
める。これは、 (CurF8CounL − PrevF8Count) で求められる。ここでPr evF8countは前回
までのM I D I  Cl o c k数を表す。
Next, use the n25 to output MIDI to the MIDI cable.
DI C] Find the number of ockOs, that is, the number of F8 data. This is determined by (CurF8CountL - PrevF8Count). Here, PrevF8count represents the number of MIDI clocks up to the previous time.

なお、この割込動作が例えば5rnsec毎に行われる
とした場合、n25で出力されるMIDI  C1oc
k(FBデータ)の数はOまたは1であり、しかも通常
の楽譜の演奏ではOがかなり多く、たまに1になるもの
と考えられる。次にn26において、 PrevF8C,ount= CurF8Countを実行して次回の処理のためのY
$備を行ってリターンする。
Note that if this interrupt operation is performed every 5 rnsec, for example, the MIDI C1oc output at n25
The number of k (FB data) is either O or 1, and it is thought that the number of O's is quite large in normal performance of musical scores, and it occasionally becomes 1. Next, in n26, execute PrevF8C, ount = CurF8Count to set Y for the next process.
Prepare $ and return.

以上の動作により、演奏者はタップオン後次に来ると予
想されるUpBeatよりもやや遅くなるようにタップ
オフすれば、次回のタップオン時においてシーケンサか
ら出力される演奏出力の待ち合わせを行うことができる
。また、タップオフのタイミングをUpBeatよりも
やや前に来るようにすれば、待ち合わせを行うことなく
楽譜時間が進行していく。以後は、タッピングを行わな
くても一定のテンポで楽譜時間が進行していく。
With the above operation, the performer can wait for the performance output to be output from the sequencer at the next tap-on by tapping off slightly later than the UpBeat that is expected to come next after the tap-on. Furthermore, by setting the tap-off timing to be slightly earlier than the UpBeat, the music score time progresses without waiting. From then on, the musical score time progresses at a constant tempo without any tapping.

さらに、待ち合わせを行うモード(第1図(A))にお
いて、Tの時間が一定長以上であれば新たなテンポ計算
を行わず、前回のテンポを使用するために、フェルマー
タ後の次の小節の出だしではア・テンポとなる。
Furthermore, in the waiting mode (Fig. 1 (A)), if the time of T is longer than a certain length, a new tempo calculation is not performed and the previous tempo is used, so the next measure after the fermata is At the beginning, it is a tempo.

なお、上記の実施例ではタップオフの時点がUpBea
tより後のときに待ち合わせを行うようにしたが、逆に
、UpBeatより前のときに待ち合わせを行うように
しても良い。
Note that in the above embodiment, the tap-off point is UpBea.
Although the meeting is performed after t, conversely, the meeting may be performed before UpBeat.

(6)発明の効果 この発明によれば、タップを行わない時には一定のテン
ポで演奏を進めることができ、途中で曲を止めて強拍点
での待ち合わせを行いたい場合には、タップスイッチの
オフのタイミングを推定弱拍点に対して少し遅め、また
は少し早めに行えば良い。逆に、待ち合わせを行うのを
解除したい場合には、タップスイッチのオフのタイミン
グを推定弱拍点に対して上記と逆の方向の位置、すなわ
ち少し早め、または少し遅めに行えば良い。つまり、タ
ップスイッチのオフのタイミングを適宜変えることによ
り曲の進行を制御することができるさらに、この発明で
は、上記待ち合わせを行う場合に、前回のタップオンか
ら今回のタップオンまでの時間が一定長以上であると新
たなテンポ計算を禁止して前回のテンポに基づいてテン
ポクロック情報を出力するために、フェルマータ等が終
わった直後には自動的にア・テンポ状態となり操作性が
良くなる利点がある。
(6) Effects of the Invention According to this invention, the performance can proceed at a constant tempo when no tapping is performed, and if you want to stop the song in the middle and wait at the strong beat point, you can press the tap switch. It is better to turn off the beat a little later or a little earlier than the estimated weak beat point. On the other hand, if you want to cancel the meeting, you can turn off the tap switch in the opposite direction to the estimated weak beat point, that is, a little earlier or a little later. In other words, the progress of the song can be controlled by appropriately changing the off timing of the tap switch.Furthermore, in this invention, when the above-mentioned meeting is performed, the time from the previous tap on to the current tap on is longer than a certain length. If so, new tempo calculations are prohibited and tempo clock information is output based on the previous tempo, so immediately after a fermata or the like ends, it automatically enters the a tempo state, which has the advantage of improving operability.

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

第1図(A)、(B)はこの発明の詳細な説明する図で
ある。第2図はこの発明の実施例のテンポコントローラ
にシーケンサと音源およびサウンドシステムを接続した
ときの構成図、第3図(A)、  (B)はテンポコン
トローラの動作を示すフローチャート、第4図(A)、
  (B)はテンポコントローラの動作を説明するため
の図、第5図はテンポスイッチの軌跡を示す図である。 1−テンポコントローラ、 2−シーケンサ、 3−音源、 4−サウンドシステム。
FIGS. 1A and 1B are diagrams explaining the invention in detail. Figure 2 is a configuration diagram when a sequencer, sound source, and sound system are connected to the tempo controller of the embodiment of the present invention, Figures 3 (A) and (B) are flow charts showing the operation of the tempo controller, and Figure 4 ( A),
(B) is a diagram for explaining the operation of the tempo controller, and FIG. 5 is a diagram showing the locus of the tempo switch. 1-tempo controller, 2-sequencer, 3-sound source, 4-sound system.

Claims (1)

【特許請求の範囲】[Claims] (1)スイッチのオン、オフ毎にタップオンデータ、タ
ップオフデータを形成するタッピング手段と、 前記タップオンデータに基づいて新たなテンポを計算し
、その値に従ってテンポクロック情報を出力するテンポ
クロック情報出力手段と、 前記タップオンデータに基づいて次回の弱拍点および次
回の強拍点の楽譜時間を推定する手段と推定された次回
の弱拍点の楽譜時間と次に来るタップオフ時との前後を
比較し、その結果に応じて前記推定された次回の強拍点
と次回のタップオン時の間で楽譜時間を進行させるか進
行を止めるかの何れかの制御を行う手段と、 前記楽譜時間の進行が止められている状態で、次にタッ
プオンが来たときに、前回のタップオンからの時間が一
定値を越えているか否かを判定し、越えているときには
前記新たなテンポの計算を禁止する手段と、 を備えてなるテンポコントローラ。
(1) Tapping means that forms tap-on data and tap-off data each time a switch is turned on or off, and a tempo clock information output that calculates a new tempo based on the tap-on data and outputs tempo clock information according to the calculated value. means for estimating the musical score time of the next weak beat point and the next strong beat point based on the tap-on data; means for performing a control to either advance or stop the musical score time between the estimated next strong beat point and the next tap-on time based on the comparison result; means for determining whether or not the time since the previous tap-on exceeds a certain value when the next tap-on occurs in a state where the tap-on is performed, and prohibiting calculation of the new tempo if the time exceeds a certain value; A tempo controller.
JP2282850A 1990-10-19 1990-10-19 Tempo controller Pending JPH04156592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2282850A JPH04156592A (en) 1990-10-19 1990-10-19 Tempo controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2282850A JPH04156592A (en) 1990-10-19 1990-10-19 Tempo controller

Publications (1)

Publication Number Publication Date
JPH04156592A true JPH04156592A (en) 1992-05-29

Family

ID=17657882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2282850A Pending JPH04156592A (en) 1990-10-19 1990-10-19 Tempo controller

Country Status (1)

Country Link
JP (1) JPH04156592A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213047A (en) * 2004-04-12 2004-07-29 Yamaha Corp Device and method for tempo setting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213047A (en) * 2004-04-12 2004-07-29 Yamaha Corp Device and method for tempo setting

Similar Documents

Publication Publication Date Title
US5227574A (en) Tempo controller for controlling an automatic play tempo in response to a tap operation
JPH0823746B2 (en) Automatic tone generator
JPH04156592A (en) Tempo controller
JP4201679B2 (en) Waveform generator
US5200566A (en) Electronic musical instrument with ad-lib melody playing device
JP2653232B2 (en) Tempo controller
JP2630054B2 (en) Multitrack sequencer
JP2940123B2 (en) Tempo controller
JP2780475B2 (en) Tempo controller
JP2780476B2 (en) Tempo controller
JPH01273097A (en) Automatic playing device
JPH04133097A (en) Tempo controller
JP3052476B2 (en) Tempo information control device
JP2643627B2 (en) Automatic performance device
JP2661349B2 (en) Electronic musical instrument
JP2551195B2 (en) Automatic playing device
JP2624104B2 (en) Performance progress control device of automatic performance device
JP2723515B2 (en) Automatic performance device
JP2527045B2 (en) Electronic musical instrument
JPH01273098A (en) Automatic playing device
JP2723518B2 (en) Tempo control device of automatic performance device
JP2720794B2 (en) Automatic performance device
JPS63234296A (en) Automatic performer
JPH0827623B2 (en) Automatic playing device
JPH0540477A (en) Electronic musical instrument