JP3498319B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP3498319B2
JP3498319B2 JP07092792A JP7092792A JP3498319B2 JP 3498319 B2 JP3498319 B2 JP 3498319B2 JP 07092792 A JP07092792 A JP 07092792A JP 7092792 A JP7092792 A JP 7092792A JP 3498319 B2 JP3498319 B2 JP 3498319B2
Authority
JP
Japan
Prior art keywords
data
read
reading
performance
storing
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
JP07092792A
Other languages
Japanese (ja)
Other versions
JPH05273968A (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.)
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 JP07092792A priority Critical patent/JP3498319B2/en
Publication of JPH05273968A publication Critical patent/JPH05273968A/en
Application granted granted Critical
Publication of JP3498319B2 publication Critical patent/JP3498319B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、演奏データを発生順
に記憶し、これを読み出して自動演奏する自動演奏装置
に関し、特に、自動演奏データを間引いてデータ量を減
らすことができる自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device for storing performance data in the order of occurrence, reading the data, and automatically playing the data. .

【0002】[0002]

【従来の技術】自動演奏装置には、楽音の発音/消音等
に関するノートデータのほかピッチベンド、アフタタッ
チ、ボリュームなど楽音を制御するコントロールデータ
を楽曲の進行にしたがって順次記憶するようにしたもの
がある。再生時にはこれを順次読み出して音源や効果回
路に入力することにより自動演奏を行う。ノートデータ
は発音する楽音の音高や音長を決定する。一方、コント
ロールデータは発音された楽音の微妙なピッチの動きや
ボリュームの変化を制御し、音楽表現に寄与する。この
ようにコントロールデータは楽音の微妙な変化を制御す
るためのデータであるため、ピッチやボリュームが変動
する都度発生するデータである。したがって、リアルタ
イム(実演奏)で入力されピッチやボリュームがよく変
動する表現の豊かな楽音の場合、1個の楽音に対して非
常に多くのコントロールデータが存在する。
2. Description of the Related Art Some automatic performance devices store note data relating to sound generation / silence of musical tones, as well as control data for controlling musical tones such as pitch bend, aftertouch, and volume as the music progresses. . During playback, this is read out sequentially and input to a sound source or effect circuit to perform automatic performance. The note data determines the pitch and duration of the musical tone to be pronounced. On the other hand, the control data controls subtle pitch movements and volume changes of the generated musical tones and contributes to musical expression. As described above, the control data is the data for controlling the subtle changes in the musical sound, and is the data that is generated each time the pitch or volume changes. Therefore, in the case of a musical tone which is input in real time (actual performance) and has a rich expression in which the pitch and the volume fluctuate well, a large amount of control data exists for one musical tone.

【0003】したがって、コントロールデータが一緒に
記憶されている自動演奏データは非常にデータ量の大き
いものとなる。このような自動演奏データを記憶しよう
とすれば大容量のメモリを必要とし、自動演奏装置のコ
ストアップにつながる原因となっていた。
Therefore, the automatic performance data in which the control data is stored together has a very large amount of data. In order to store such automatic performance data, a large-capacity memory is required, which causes a cost increase of the automatic performance device.

【0004】そこで、大きなデータ量を有する自動演奏
データ(コントロールデータ)を間引きしてデータ量を
少なくする(圧縮する)提案が従来よりなされている。
Therefore, conventionally, there has been proposed a method of thinning (compressing) automatic performance data (control data) having a large data amount to reduce the data amount.

【0005】[0005]

【発明が解決しようとする課題】しかし、従来の圧縮方
式は、例えば「3個に1個を残す」等の均等に間引く方
式であったため、必要なデータが間引かれて変化が不自
然になってしまうことがあった。また、コントロールの
状態によっては逆に不要なデータが残ることもあり、適
切な圧縮ができない欠点があった。
However, since the conventional compression method is a method of evenly thinning out such as "leaving one in three", necessary data is thinned out and the change becomes unnatural. There were times when it became. On the contrary, depending on the control state, unnecessary data may remain, which is a disadvantage that proper compression cannot be performed.

【0006】この発明は、楽音の変化形態を保ちつつデ
ータ量を少なくすることができる自動演奏装置を提供す
ることを目的とする。
It is an object of the present invention to provide an automatic performance device capable of reducing the amount of data while maintaining the variation of musical sound.

【0007】[0007]

【課題を解決するための手段】この発明は、演奏データ
を時系列に記憶する記憶手段と、この記憶手段から前記
演奏データを順次読み出す読出手段と、読出手段によっ
て読み出された演奏データを間引きして保存する圧縮手
段であって、前記読出手段によって読み出されたデータ
と直前に保存したデータとを比較し、その値の変化が
ータの量子化ステップよりも大きい所定値以上であった
場合、または、前記読出手段によって読み出されたデー
タの読出タイミングと直前に保存したデータの読出タイ
ミングとを比較し、その時間差がサンプリング間隔より
も大きい所定値以上であった場合に、前記読出手段によ
って読み出されたデータを保存する圧縮手段と、を設け
たことを特徴とする。この発明は、サンプリングタイミ
ング毎の演奏データを時系列に記憶する記憶手段と、こ
の記憶手段から前記演奏データを順次読み出す読出手段
と、読出手段によって読み出された演奏データを間引き
して保存する圧縮手段であって、前記読出手段によって
演奏データを読み出すごとに、この読み出されたデータ
のサンプリングタイミングと直前に保存したデータのサ
ンプリングタイミングの時間差が所定値以上であるか否
かを判定するとともに、この読み出されたデータの値と
直前に保存したデータの値の変化量が所定値以上である
か否かを判定し、いずれかの判定が肯定的であったと
き、この読み出されたデータを保存する圧縮手段と、を
設けたことを特徴とする。 この発明は、演奏データを時
系列に記憶する記憶手段と、この記憶手段から前記演奏
データを順次読み出す読出手段と、読出手段によって読
み出された演奏データを間引きして保存する圧縮手段で
あって、前記読出手段によって読み出されたデータと直
前に保存したデータとの距離(値の変化量と時間差の二
乗和)を算出し、この距離が所定値以上であった場合
に、前記読出手段によって読み出されたデータを保存す
る圧縮手段と、を設けたことを特徴とする。 この発明
は、演奏データを時系列に記憶する記憶手段と、この記
憶手段から前記演奏データを順次読み出す読出手段と、
読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、複数個のデータからなる区
間の平 均の傾き(変化量/時間)を求め、その傾きに基
づいてその区間における間引き数を決定する圧縮手段
と、を設けたことを特徴とする。 この発明は、演奏デー
タを時系列に記憶する記憶手段と、この記憶手段から前
記演奏データを順次読み出す読出手段と、読出手段によ
って読み出された演奏データを間引きして保存する圧縮
手段であって、複数個のデータからなる区間の平均の傾
き(変化量/時間)を求め、その区間において前のデー
タからの傾きが前記平均の傾きよりも急なデータのみ保
存し、前のデータからの傾きが前記平均の傾き以下のデ
ータを間引きする圧縮手段と、を設けたことを特徴とす
る。
According to the present invention, a storage means for storing performance data in time series, a reading means for sequentially reading the performance data from the storage means, and a performance data read by the reading means are thinned out. a compression means, compares the data stored in the read data and the previous by the reading means, the change in the value de to save
Data is greater than a predetermined value greater than the quantization step of the data, or the data read by the reading means.
Data read timing and the read timing of the data saved immediately before.
And a compression means for storing the data read by the reading means when the time difference is equal to or larger than a predetermined value larger than the sampling interval . This invention is a sampling timing
Storage means for storing performance data for each song in time series.
Reading means for sequentially reading the performance data from the storage means
And the performance data read by the reading means is thinned out.
And storing the compressed data by the reading means.
Each time the performance data is read, this read data
Sampling timing and the data saved immediately before.
Whether the time difference of sampling timing is more than a specified value
Whether or not this is the value of the read data
The amount of change in the value of the data saved immediately before is equal to or greater than the specified value
It is judged whether or not, and either judgment is affirmative
Compression means for storing this read data.
It is characterized by being provided. This invention can
Storage means for storing in sequence, and the performance from the storage means
Reading means for sequentially reading data and reading means for reading
With compression means that thins out the saved performance data and saves it
The data read by the reading means.
The distance to the previously saved data (value change and time difference
If the distance is equal to or greater than a specified value,
The data read by the reading means is stored in
And a compressing unit that is provided. This invention
Is a storage means for storing performance data in time series, and
Reading means for sequentially reading the performance data from the storing means,
Thinning out the performance data read by the reading means
It is a compression means to save, and is a section that consists of multiple data.
Seeking a Hitoshi Taira slope (variation / time) between, based on the inclination
A compression means for determining the thinning-out number in that section based on
And are provided. This invention is a performance day
Storage means for storing the data in time series, and
The reading means for sequentially reading the musical performance data and the reading means.
Compression that thins and saves the performance data read by
Means, the average slope of a section consisting of multiple data
(Change amount / time) is calculated, and the
Only the data whose slope from the data is steeper than the average slope is stored.
The slope from the previous data is less than or equal to the average slope.
And a compression means for thinning out the data.
It

【0008】[0008]

【作用】この発明の自動演奏装置は、記憶手段から読み
出された奏データと直前に記憶したデータとを比較
し、その値の変化または時間の経過が所定値以上であっ
たとき読み出したデータを保存する。述した所定値
は、、時間ともにその最小刻みよりも大きく設定され
る。これによって、短い間隔で発生したデータや変化の
少ないデータを間引くことができ、急激な変化の形状は
そのまま保存される。
[Action] automatic performance apparatus of the present invention, compares the data stored in the musical data and the previous read out from the storage means
However, if the change in value or the passage of time is greater than or equal to the specified value,
Save the read data . Above mentioned was a predetermined value
Is set to a value and time greater than the minimum
It As a result, data generated at short intervals or data with little change can be thinned out, and the shape of the abrupt change can be saved as it is.

【0009】[0009]

【実施例】図面を参照しつつこの発明の実施例である自
動演奏装置について説明する。この自動演奏装置は、演
奏操作子としてのキーボード10を備えているととも
に、ペダルコントローラ,モジュレーションホイール,
ピッチベンドホイール等の制御操作子11を備えてい
る。制御操作子11の操作量はピッチ制御や音量制御の
ためのコントロールデータとして取り込まれる。キーボ
ード10,制御操作子11は書込部12に接続されてい
る。書込部12はキーボード10,制御操作子11から
入力された演奏データ(ノートデータおよびコントロー
ルデータ)に対して適当なアドレスを割り振ってメモリ
13に書き込む回路である。このメモリ13はバックア
ップされたRAMで構成されている。以上の回路により
キーボード10,制御操作子11で演奏された内容が、
自動演奏データとしてリアルタイムにメモリ13に記憶
される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An automatic performance device according to an embodiment of the present invention will be described with reference to the drawings. This automatic performance device includes a keyboard 10 as a performance operator, a pedal controller, a modulation wheel,
A control operator 11 such as a pitch bend wheel is provided. The operation amount of the control operator 11 is taken in as control data for pitch control and volume control. The keyboard 10 and the control operator 11 are connected to the writing unit 12. The writing unit 12 is a circuit that allocates appropriate addresses to performance data (note data and control data) input from the keyboard 10 and the control operator 11 and writes the performance data in the memory 13. The memory 13 is composed of a backed up RAM. With the above circuit, the contents played on the keyboard 10 and the control operator 11 are
It is stored in the memory 13 in real time as automatic performance data.

【0010】また、メモリ13には読出部14が接続さ
れている。この読出部14は、クロックにしたがってメ
モリ13に記憶されている自動演奏データを順次読み出
す回路である。読み出された自動演奏データは音源15
または圧縮部18に入力される。音源15は入力された
ノートデータに基づいて楽音信号を形成するとともに、
入力されるコントロールデータにしたがってその楽音信
号の微妙なピッチやボリューム等を制御する。この楽音
信号はサウンドシステム16に入力される。サウンドシ
ステム16では入力された楽音信号を増幅し、スピーカ
から楽音として出力する。以上の回路によりメモリ13
に記憶されている自動演奏データを再生(自動演奏)す
ることができる。
A read-out unit 14 is connected to the memory 13. The reading unit 14 is a circuit that sequentially reads the automatic performance data stored in the memory 13 according to the clock. The read automatic performance data is the sound source 15.
Alternatively, it is input to the compression unit 18. The sound source 15 forms a musical tone signal based on the input note data, and
The delicate pitch and volume of the tone signal are controlled according to the input control data. This tone signal is input to the sound system 16. The sound system 16 amplifies the input musical tone signal and outputs it as a musical tone from the speaker. With the above circuit, the memory 13
The automatic performance data stored in can be played (automatic performance).

【0011】一方、圧縮部18は、前記読出部14から
入力された自動演奏データのなかから指定されたコント
ロールデータのみを抽出して複数個(この実施例では2
個)バッファリングする。指定されたコントロールデー
タとは、圧縮作業を開始するとき操作者が指定したデー
タであり、たとえば、ピッチベンドデータやボリューム
データ等である。この実施例の圧縮部18は、バッファ
リングされた2個のデータの発生(読出)タイミングt
の差およびそのデータの大きさxの差をそれぞれ比較す
ることによってそのデータを保存するか間引くかを決定
する(詳細は図2以後で説明する。)。保存すると決定
されたデータは書込部12に入力される(指定されたコ
ントロールデータ以外のデータはバッファリングされる
ことなく直接書込部12に入力される。)。この圧縮作
業時には、メモリ13には、読み出される自動演奏デー
タとは別に圧縮されたデータの記憶エリアが設けられて
いる。書込部12は入力されたデータをこの記憶エリア
に順次記憶してゆく。この作業により指定されたコント
ロールデータが圧縮された自動演奏データが新たに記憶
されることになる。
On the other hand, the compression section 18 extracts only a plurality of control data designated from the automatic performance data input from the reading section 14 and outputs a plurality of control data (2 in this embodiment).
Buffer). The designated control data is data designated by the operator when starting the compression work, and is, for example, pitch bend data or volume data. The compression unit 18 of this embodiment generates (reads) timing t of two buffered data.
And the size x of the data are compared to determine whether to save or thin the data (details will be described later with reference to FIG. 2). The data determined to be stored is input to the writing unit 12 (the data other than the designated control data is directly input to the writing unit 12 without being buffered). At the time of this compression work, the memory 13 is provided with a storage area for compressed data in addition to the automatic performance data to be read. The writing unit 12 sequentially stores the input data in this storage area. By this work, the automatic performance data in which the designated control data is compressed is newly stored.

【0012】図2,図3,図4は同自動演奏装置で実行
される圧縮処理を説明するための図である。この自動演
奏装置では、時間差(t2−t1)または操作量の変化
量|x2−x1|が一定値(t0,x0)以下のものは
間引くというアルゴリズムで圧縮を行う。ここで、音源
15は、ボリュームやピッチベンドに関するコントロー
ルデータが入力されたとき、次のコントロールデータが
入力されるまでその値を保持する機能を有している。し
たがって、変化が激しい部分でコントロールデータを間
引くと不連続な階段状の変化となるため、このような部
分では間引かないようにしている。一方、変化が緩やか
な部分では、一つのコントロールデータが長い時間保持
されても変化に不自然さがないため間引いてデータを圧
縮するようにしている。すなわち、図2において時間の
閾値をt0,操作量変化の閾値をx0とすると直前のデ
ータt1,x1に対してAのデータは操作量変化が閾値
を超えているため間引かれず、Cのデータは時間データ
が閾値t0を超えているため間引かれない。これに対し
てBのデータは時間データ,変化データとも閾値以内で
あるため間引きの対象となる。
2, FIG. 3 and FIG. 4 are diagrams for explaining the compression processing executed by the same automatic musical instrument. In this automatic performance device, compression is performed by an algorithm that thins out a time difference (t2-t1) or an operation amount change amount | x2-x1 | of a fixed value (t0, x0) or less. Here, the sound source 15 has a function of, when control data relating to volume and pitch bend is input, holding the value until the next control data is input. Therefore, when the control data is thinned out in a portion where the change is drastic, a discontinuous stepwise change occurs, and therefore such a portion is not thinned out. On the other hand, in the portion where the change is gradual, even if one control data is held for a long time, there is no unnatural change, so the data is thinned out and compressed. That is, in FIG. 2, assuming that the time threshold value is t0 and the operation amount change threshold value is x0, the data A is not thinned out because the operation amount change exceeds the threshold value with respect to the immediately preceding data t1 and x1. Is not thinned out because the time data exceeds the threshold value t0. On the other hand, the B data is subject to thinning because both the time data and the change data are within the threshold.

【0013】図3はリアルタイムで入力されたコントロ
ールデータの例を示す図である。この図では58個のデ
ータが表現されている。また、図4は上記図3のデータ
を本発明の方式で圧縮した例である。この場合の閾値
(t0,x0)は同図左端に示す。これを超えない範囲
のデータは間引くようにすると、同図の○で示したもの
が間引かれずに残ったデータであり、×で示したデータ
が間引かれたデータである。この例では58データのう
ち41データが間引かれ17データが保存されている。
すなわち、70%以上の圧縮率(間引き率)となってい
る。しかし、変化が激しい部分(生データ(図3のデー
タ)で11番目〜18番目)の圧縮率は低く、滑らかな
変化が保存されている。その一方で、変化が緩やかな部
分(例えば生データで42番目以後)の圧縮率は極めて
高く、残ったデータは約20%である。しかし、その変
化はそれほど不連続になっていない。
FIG. 3 is a diagram showing an example of control data input in real time. In this figure, 58 pieces of data are represented. FIG. 4 shows an example in which the data of FIG. 3 is compressed by the method of the present invention. The threshold value (t0, x0) in this case is shown at the left end of FIG. When data in a range not exceeding this is thinned out, what is indicated by ○ in the figure is the remaining data that is not thinned out, and data indicated by × is the thinned data. In this example, 41 data of 58 data are thinned out and 17 data are stored.
That is, the compression rate (decimation rate) is 70% or more. However, the compression rate of the portion where the change is drastic (the 11th to 18th in the raw data (data of FIG. 3)) is low, and the smooth change is stored. On the other hand, the compression rate of the portion where the change is gradual (for example, the 42nd raw data and thereafter) is extremely high, and the remaining data is about 20%. But the changes are not so discontinuous.

【0014】一方、図5は上記図3のデータを従来の方
式(均一方式)で間引いた例を示す図である。この例で
は3番目のデータ毎に保存し、3個のうち2個を間引く
方式を採用している。したがって、58個のデータのう
ち20個のデータが残り、約65%の圧縮率である。す
なわち、本願方式の圧縮方式よりも圧縮率が低い。しか
し、均一な間引きであるため変化が激しい部分では極め
て荒い不連続な変化をしているのが判る。
On the other hand, FIG. 5 is a diagram showing an example in which the data of FIG. 3 is thinned out by a conventional method (uniform method). In this example, a method of saving every third data and thinning out two out of three data is adopted. Therefore, 20 pieces of data remain out of 58 pieces of data, and the compression rate is about 65%. That is, the compression rate is lower than that of the compression method of the present application. However, since it is a uniform thinning, it can be seen that in a portion where the change is severe, the change is extremely rough and discontinuous.

【0015】図6は同自動演奏装置の圧縮部18のデー
タ圧縮動作を示すフローチャートである。まず、閾値と
なるt0,x0を入力する(n1,n2)。この閾値は
操作者が入力するようにしてもよく、自動生成するよう
にしてもよい。こののち圧縮動作を実行するが、まず、
圧縮範囲の先頭のデータを読み出しt1,x1とする
(n3)。このt1,x1を保存データとしてメモリに
記憶する(n4)。このデータを対数値に変換する(n
5)。すなわち、聴取者が感じるボリュームなどは物理
量の対数値に比例するため、この感性に合わせるため対
数値で演算を行うものである。つぎに、次のデータを読
み出しt2,x2とする(n6)。このデータも演算の
ため対数変換する(n7)。こののち、(t2−t1)
および|x2−x1|が閾値t0,x0以下かを判断す
る(n8,n9)。ここで、x2−x1のみ絶対値をと
るのは、操作量データは減少することがあるためであ
る。双方とも条件が満たされればこのデータ(t2,x
2)は間引き可能であるとして削除し(n10)、さら
に次のデータを読み出す(n6)。一方、(t2−t
1),|x2−x1|の一方でも閾値t0,x0を超え
ていればこのデータは保存すべきであるとしてメモリに
記憶する(n11)。次の比較はこのデータを基準に行
うためt2,x2をt1,x1にセットして(n1
2)、さらに次のデータを読み出す(n6)。n13で
データが終了したことを判断すれば動作を終える。
FIG. 6 is a flow chart showing the data compression operation of the compression section 18 of the automatic musical instrument. First, the threshold values t0 and x0 are input (n1, n2). This threshold may be input by the operator or may be automatically generated. After this, the compression operation is executed, but first,
The first data in the compression range is read out and set as t1, x1 (n3). The t1 and x1 are stored in the memory as save data (n4). Convert this data to logarithmic value (n
5). That is, since the volume sensed by the listener is proportional to the logarithmic value of the physical quantity, the logarithmic value is used for calculation to match this sensitivity. Next, the next data is read out and designated as t2 and x2 (n6). This data is also logarithmically converted for calculation (n7). After this, (t2-t1)
And | x2-x1 | are below the threshold values t0 and x0 (n8, n9). Here, only x2-x1 takes an absolute value because the manipulated variable data may decrease. If both conditions are satisfied, this data (t2, x
2) is deleted because it can be thinned (n10), and the next data is read (n6). On the other hand, (t2-t
If either one of 1) and | x2-x1 | exceeds the thresholds t0 and x0, this data is stored in the memory as it should be saved (n11). Since the next comparison is based on this data, set t2 and x2 to t1 and x1 (n1
2) Then, the next data is read (n6). If it is determined in n13 that the data has ended, the operation ends.

【0016】このような圧縮はどの様なコントロールデ
ータに関しても行うことが可能である。たとえば、物理
モデル音源などの連続性を有するパラメータで楽音の発
音/消音および音色の全てが制御される音源でこの圧縮
を行うとデータ量を極めて少なくすることができる。
Such compression can be performed on any control data. For example, if this compression is performed by a sound source such as a physical model sound source in which all of tone generation / silence and tone color are controlled by parameters having continuity, the amount of data can be extremely reduced.

【0017】なお、変化曲線の極大値,極小値は閾値に
拘わらず優先的に残すようにしてもよい。このようにす
ることによって、変化曲線の形状をよりよく保存するこ
とができる。
The maximum and minimum values of the change curve may be preferentially left regardless of the threshold value. By doing so, the shape of the change curve can be better preserved.

【0018】また、図7〜図9にこの発明の他の実施例
を示す。図7はデータ間の距離(時間差と変化量の二乗
和)が一定値(閾値)を以上の場合にそのデータを保存
し、一定値未満の場合には間引く方式である。この方式
は、音源が、先に入力されたパラメータの値を保存する
方式でなく、パラメータとパラメータその間を補間する
方式の場合に有効である。なお、この実施例では閾値以
上の場合に保存し閾値未満の場合に間引くようにしてい
るが、閾値を超えた場合に保存し閾値以下の場合に間引
く方式と全く等価である。
7 to 9 show another embodiment of the present invention. FIG. 7 shows a method of saving data when the distance between data (sum of squares of time difference and variation) exceeds a certain value (threshold value), and thinning out the data when the distance is less than a certain value. This method is effective when the sound source is not a method of storing the value of the previously input parameter but a method of interpolating between the parameters. In this embodiment, when the value is equal to or more than the threshold value and is saved when the threshold value is less than the threshold value, it is thinned out.

【0019】また、図8は複数個のデータによって平均
の傾き(変化量/時間)を求め、その傾きに基づいてそ
の区間における間引き数を決定する方式である。すなわ
ち、同図(A)のように普通の傾きであれば5サンプル
中2個を間引く。同図(B)のように傾きが急であれば
5サンプル中1サンプルのみ間引く。また、同図(C)
のように傾きが緩やかであれば5サンプル中3サンプル
間引いて2データ残す。などの方式をとることができ
る。この場合には、区間の傾きに対して1個,2個,3
個…と複数個の閾値を設ければよい。
Further, FIG. 8 shows a method in which an average slope (change amount / time) is obtained from a plurality of data and the thinning-out number in the section is determined based on the slope. That is, if the inclination is normal as shown in FIG. If the inclination is steep as shown in FIG. 6B, only one sample is thinned out of the five samples. In addition, the same figure (C)
If the slope is gentle as shown in FIG. Can be adopted. In this case, one, two, three for the slope of the section
It is sufficient to provide individual thresholds and a plurality of thresholds.

【0020】さらに、図9はある区間の平均の傾きを求
め、その区間においてその平均の傾きよりも急なデータ
のみ保存するようにしてもよい。この場合には、区間の
平均の傾きが閾値として機能する。
Further, in FIG. 9, the average slope of a certain section may be obtained, and only data steeper than the average slope may be stored in that section. In this case, the average slope of the section functions as the threshold.

【0021】[0021]

【発明の効果】以上のようにこの発明によれば、データ
量を極めて少なくすることができるうえ、このデータに
よる変化曲線をよく保存することができる。
As described above, according to the present invention, the amount of data can be extremely reduced, and the change curve based on this data can be well saved.

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

【図1】この発明の実施例である自動演奏装置のブロッ
ク図
FIG. 1 is a block diagram of an automatic performance device according to an embodiment of the present invention.

【図2】同自動演奏装置のデータ圧縮方式を説明する図FIG. 2 is a diagram for explaining a data compression method of the automatic musical instrument.

【図3】圧縮されるデータの例を示す図FIG. 3 is a diagram showing an example of compressed data.

【図4】上記データを本願発明の方式で圧縮した例を示
す図
FIG. 4 is a diagram showing an example in which the above data is compressed by the method of the present invention.

【図5】上記データを従来の方式で圧縮した例をを示す
FIG. 5 is a diagram showing an example in which the above data is compressed by a conventional method.

【図6】上記自動演奏装置のデータ圧縮動作を示すフロ
ーチャート
FIG. 6 is a flowchart showing a data compression operation of the automatic musical instrument.

【図7】この発明の他の実施例であるデータ圧縮方式を
説明する図
FIG. 7 is a diagram for explaining a data compression method according to another embodiment of the present invention.

【図8】この発明の他の実施例であるデータ圧縮方式を
説明する図
FIG. 8 is a diagram for explaining a data compression method according to another embodiment of the present invention.

【図9】この発明の他の実施例であるデータ圧縮方式を
説明する図
FIG. 9 is a diagram for explaining a data compression method according to another embodiment of the present invention.

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

18−圧縮部 18-Compressor

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 演奏データを時系列に記憶する記憶手段
と、 この記憶手段から前記演奏データを順次読み出す読出手
段と、 読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、前記読出手段によって読み
出されたデータと直前に保存したデータとを比較し、そ
の値の変化がデータの量子化ステップよりも大きい所定
値以上であった場合、または、前記読出手段によって読
み出されたデータの読出タイミングと直前に保存したデ
ータの読出タイミングとを比較し、その時間差がサンプ
リング間隔よりも大きい所定値以上であった場合に、前
記読出手段によって読み出されたデータを保存する圧縮
手段と、 を設けたことを特徴とする自動演奏装置。
1. A storage means for storing performance data in time series, a reading means for sequentially reading the performance data from the storage means, and a compression means for thinning and storing the performance data read by the reading means. Then, the data read by the reading means is compared with the data stored immediately before, and when the change in the value is equal to or more than a predetermined value larger than the quantization step of the data , or when the reading means reads the data.
The timing of reading the extracted data and the data saved immediately before
Data read timing, and the time difference is sampled.
An automatic performance device comprising: compression means for storing the data read by the reading means when the value is equal to or larger than a predetermined value larger than the ring interval .
【請求項2】 サンプリングタイミング毎の演奏データ
を時系列に記憶する記憶手段と、 この記憶手段から前記演奏データを順次読み出す読出手
段と、 読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、前記読出手段によって演奏
データを読み出すごとに、この読み出されたデータのサ
ンプリングタイミングと直前に保存したデータのサンプ
リングタイミングの時間差が所定値以上であるか否かを
判定するとともに、この読み出されたデータの値と直前
に保存したデータの値の変化量が所定値以上であるか否
かを判定し、いずれかの判定が肯定的であったとき、こ
の読み出されたデータを保存する圧縮手段と、 を設けたことを特徴とする自動演奏装置。
2. Performance data for each sampling timing
And a reading means for sequentially reading the performance data from the storage means.
And the performance data read by the reading means are thinned out.
A compression means for storing, which is played by the reading means.
Each time the data is read, the
Sampling timing and sampling of the data saved immediately before
Check whether the time difference of ring timing is more than a predetermined value.
Judgment and immediately before the value of this read data
Whether the amount of change in the value of the data stored in is greater than or equal to a predetermined value
If any of the judgments are positive, the
And an compressing means for storing the read data of the automatic performance device.
【請求項3】 演奏データを時系列に記憶する記憶手段
と、 この記憶手段から前記演奏データを順次読み出す読出手
段と、 読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、前記読出手段によって読み
出されたデータと直前に保存したデータとの距離(値の
変化量と時間差の二乗和)を算出し、この距離が所定値
以上であった場合に、前記読出手段によって読み出され
たデータを保存する圧縮手段と、 を設けたことを特徴とする自動演奏装置。
3. Storage means for storing performance data in time series
And a reader for sequentially reading the performance data from the storage means.
And the performance data read by the reading means are thinned out.
Compression means for storing, which is read by the reading means
The distance between the output data and the data saved immediately before (value of
Calculate the sum of squares of change amount and time difference, and calculate this distance as a predetermined value.
If it is above, it is read by the reading means.
An automatic performance device characterized in that it is provided with a compression means for storing the data .
【請求項4】 演奏データを時系列に記憶する記憶手段
と、 この記憶手段から前記演奏データを順次読み出す読出手
段と、 読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、複数個のデータからなる区
間の平均の傾き(変化量/時間)を求め、その傾きに基
づいてその区間における間引き数を決定する圧縮手段
と、 を設けたことを特徴とする自動演奏装置。
4. Storage means for storing performance data in time series
And a reader for sequentially reading the performance data from the storage means.
And the performance data read by the reading means are thinned out.
It is a compression means to save, and is a section that consists of multiple data.
Calculate the average slope (change amount / time) between
A compression means for determining the thinning-out number in that section based on
Automatic performance apparatus is characterized by providing the, the.
【請求項5】 演奏データを時系列に記憶する記憶手段
と、 この記憶手段から前記演奏データを順次読み出す読出手
段と、 読出手段によって読み出された演奏データを間引きして
保存する圧縮手段であって、複数個のデータからなる区
間の平均の傾き(変化量/時間)を求め、その区間にお
いて前のデータからの傾きが前記平均の傾きよりも急な
データのみ保存し、前のデータからの傾きが前記平均の
傾き以下のデータを間引きする圧縮手段と、 を設けたことを特徴とする自動演奏装置。
5. Storage means for storing performance data in time series
And a reader for sequentially reading the performance data from the storage means.
And the performance data read by the reading means are thinned out.
It is a compression means to save, and is a section that consists of multiple data.
Calculate the average slope (variation / time) between
And the slope from the previous data is steeper than the average slope.
Save only the data, and the slope from the previous data is
An automatic performance device , comprising: compression means for thinning out data having an inclination or less .
JP07092792A 1992-03-27 1992-03-27 Automatic performance device Expired - Fee Related JP3498319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07092792A JP3498319B2 (en) 1992-03-27 1992-03-27 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07092792A JP3498319B2 (en) 1992-03-27 1992-03-27 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH05273968A JPH05273968A (en) 1993-10-22
JP3498319B2 true JP3498319B2 (en) 2004-02-16

Family

ID=13445637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07092792A Expired - Fee Related JP3498319B2 (en) 1992-03-27 1992-03-27 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3498319B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9918611D0 (en) * 1999-08-07 1999-10-13 Sibelius Software Ltd Music database searching

Also Published As

Publication number Publication date
JPH05273968A (en) 1993-10-22

Similar Documents

Publication Publication Date Title
US6049766A (en) Time-domain time/pitch scaling of speech or audio signals with transient handling
US20080262856A1 (en) Method and system for enabling audio speed conversion
US6085157A (en) Reproducing velocity converting apparatus with different speech velocity between voiced sound and unvoiced sound
JPH04339000A (en) Music reproduction device
JP3498319B2 (en) Automatic performance device
JP3162945B2 (en) Video tape recorder
JPH0351126B2 (en)
JPH08160961A (en) Sound source device
JP3373933B2 (en) Speech speed converter
EP0702354A1 (en) Apparatus for modifying the time scale modification of speech
JP3357742B2 (en) Speech speed converter
JPS6029800A (en) Voice analysis system
JPH0573089A (en) Speech reproducing method
JP2008518248A (en) Apparatus and method for reproducing MIDI file
JP3189587B2 (en) Audio time base converter
JP2874607B2 (en) Audio time base converter
JPH0368399B2 (en)
JP2712421B2 (en) Sound source device
KR930002585B1 (en) Voiceless period compression and decompression method
JPH04367898A (en) Method and device for voice reproduction
JP2712422B2 (en) Continuous sound data playback device
JP2671456B2 (en) Sound source device
KR100188145B1 (en) Key controller using dynamic cross fading
JP3112743B2 (en) Sound source device
JP2626474B2 (en) Tone generator

Legal Events

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

Free format text: PAYMENT UNTIL: 20071205

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

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

Free format text: PAYMENT UNTIL: 20071205

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees