JP2956477B2 - Music playback method - Google Patents

Music playback method

Info

Publication number
JP2956477B2
JP2956477B2 JP6118274A JP11827494A JP2956477B2 JP 2956477 B2 JP2956477 B2 JP 2956477B2 JP 6118274 A JP6118274 A JP 6118274A JP 11827494 A JP11827494 A JP 11827494A JP 2956477 B2 JP2956477 B2 JP 2956477B2
Authority
JP
Japan
Prior art keywords
waveform data
note
reproduction
waveform
data
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 - Lifetime
Application number
JP6118274A
Other languages
Japanese (ja)
Other versions
JPH07325580A (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 JP6118274A priority Critical patent/JP2956477B2/en
Publication of JPH07325580A publication Critical patent/JPH07325580A/en
Application granted granted Critical
Publication of JP2956477B2 publication Critical patent/JP2956477B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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 a tone reproduction method for recording and reproducing a played tone signal, and more particularly, to a tone quality when a playback time is expanded or contracted without changing a pitch (frequency) of a recorded tone signal. The prevention of deterioration of

【0002】[0002]

【従来の技術】楽音信号をディジタル化して記憶再生す
る波形データ再生装置において、実際に演奏された楽音
信号はパルスコード変調(PCM)等の方式によりディ
ジタルデータ化され波形メモリに記憶される。このよう
に記憶されたディジタル波形データの再生時間を伸縮す
る方法としては、従来、再生時の波形の読出スピードを
録音時とは異なるスピードに設定することにより波形デ
ータの再生時間を変化させるようにしていた。この方式
では、再生時間が変化するのに比例して再生される楽音
信号のピッチも変化するため、この信号をピッチチェン
ジャに入力して、読出時間の伸縮によって変化したピッ
チを元のピッチに戻すようにしていた。
2. Description of the Related Art In a waveform data reproducing apparatus for digitizing and storing and reproducing a tone signal, an actually played tone signal is converted into digital data by a method such as pulse code modulation (PCM) and stored in a waveform memory. As a method of extending or reducing the reproduction time of the digital waveform data stored in this manner, conventionally, the reproduction time of the waveform data is changed by setting the reading speed of the waveform at the time of reproduction to a speed different from that at the time of recording. I was In this method, the pitch of the reproduced tone signal also changes in proportion to the change in the reproduction time. Therefore, this signal is input to a pitch changer, and the pitch changed by expansion and contraction of the read time is returned to the original pitch. Was like that.

【0003】また、このことは、オーディオテープレコ
ーダのように楽音信号をアナログで記録する装置におい
ても同様であり、テープスピードを速くすれば再生時間
が短くなるが再生ピッチが高くなり、ピッチチェンジャ
で元のピッチに戻す必要があった。
[0003] This also applies to a device for recording a tone signal in an analog manner, such as an audio tape recorder. When the tape speed is increased, the playback time is shortened, but the playback pitch is increased. I needed to return to the original pitch.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来の方
式では、通常の再生装置のほかにピッチチェンジャが必
要となり回路が大規模化するという欠点があり、また、
ピッチチェンジャによるピッチ変換処理のために楽音信
号の品質が低下するという問題点があった。
However, in the above-mentioned conventional system, there is a disadvantage that a pitch changer is required in addition to a normal reproducing device, and the circuit becomes large-scale.
There is a problem that the quality of a tone signal is reduced due to pitch conversion processing by the pitch changer.

【0005】この発明は、楽音信号の再生時間を音符単
位のカットやループによって伸縮することにより、再生
ピッチを変えることなく且つ音質を劣化させることなく
再生時間を伸縮することができる楽音再生方法を提供す
ることを目的とする。
[0005] The present invention provides a musical sound reproducing method capable of expanding and contracting the reproduction time of a musical sound signal without changing the reproduction pitch and without deteriorating the sound quality by expanding and contracting the reproduction time of the musical sound signal by cuts or loops in note units. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】この出願の請求項1の発
明は、形記憶手段に記憶された連続した複数の音符列
に相当する波形データ中の各音符に対応する音符波形デ
ータの記憶範囲をそれぞれ指示するデータを出力する
指示過程と、前記波形データの再生時間もしくは再生
時間の伸縮を指定する再生時間指定過程と、該再生時
指定過程によって指定される再生時間もしくは再生時
間の伸縮比に基づいて各音符波形データの再生開始を順
次指示するタイミング発生過程と、該再生開始指示に対
応した前記節囲指示過程指示する前記記憶範囲に基づ
いて前記音符波形データを一定の再生速度で読み出し、
読み出された音符波形データに基づいて楽音を生成する
再生過程と、を含むことを特徴とする。
Means for Solving the Problems The invention of claim 1 of this application, a plurality of musical note sequence consecutive stored in waveform memory means
Notes waveform data corresponding to each note in the corresponding waveform data to
And Fushi囲instruction step of outputting the data indicating the storage range over data respectively, and playback time specification process of specifying a stretch ratio of playback time or playback time of the waveform data, when the reproduction
Playback time or playback time specified by the interval specification process
A timing generation step of sequentially instructing a reproduction start of each note waveform data on the basis of the expansion ratio of between, the playback start command to the pair
Based on the storage range for instructing the Fushi囲instruction process to respond
Read the note waveform data at a constant playback speed,
Characterized in that it comprises a and a reproducing process of generating a musical tone based on the musical note waveform data read out.

【0007】この出願の請求項2の発明は、記範囲
示過程は、前記各音符波形データの記憶範囲として前記
波形記憶手段上の前記各音符波形データに対応するアド
レスを出力することを特徴とする。
[0007] The second aspect of the claimed invention, the front above range finger
Display process, and outputs the address <br/> less corresponding said to the each note waveform data on the waveform storage means as a storage range of each note waveform data.

【0008】この出願の請求項3の発明は、前記タイミ
ング発生過程が前記再生時間指定過程の指定に応じて前
記波形データの録音時間と再生時間の比を生成し、該比
に応じて各音符波形データの再生開始タイミングを比例
配分的に変更し、各音符波形データの前記再生開始を指
示することを特徴とする。
[0008] The invention according to claim 3 of the present application is characterized in that the timing
In accordance with the playback time specification process,
Generate a ratio between the recording time and the reproduction time of the waveform data, and
The playback start timing of each note waveform data is proportional to the
Distribution and change the note waveform data
It is characterized by showing.

【0009】[0009]

【0010】この出願の請求項4の発明は、演奏された
楽音の波形データを記憶する波形記憶過程と、該波形デ
ータを、演奏された各音符に対応する音符波形データに
分解する波形分解過程と、前記波形データの再生時間の
伸縮を指示する指示過程と、該再生時間指示過程の指示
に応じて各音符波形の再生タイミングを順次発生するタ
イミング発生過程と、該再生タイミングの発生に応じ
て、対応する該音符波形データを一定の再生速度で読み
出し、読み出された音符波形データに基づいて楽音を再
生する再生過程と、を備えたことを特徴とする。
A fourth aspect of the present invention provides a waveform storing step of storing waveform data of a played tone and a waveform decomposing step of decomposing the waveform data into note waveform data corresponding to each played note. An instruction step of instructing expansion and contraction of the reproduction time of the waveform data; a timing generation step of sequentially generating the reproduction timing of each note waveform in accordance with the instruction of the reproduction time instruction step; Reading the corresponding note waveform data at a constant playback speed, and playing back a musical tone based on the read note waveform data.

【0011】この出願の請求項の発明は、前記波形
過程、ユーザが波形を分解するタイミングを指示す
るタイミング指示過程を含み、前記波形データを再生中
この指示されたタイミングに基づいて前記波形データ
を前記音符波形データに分解することを特徴とする。
の出願の請求項6の発明は、請求項1乃至請求項5の発
明において、前記再生過程が、ある音符波形データを読
出再生中に、前記タイミング発生過程が次の音符波形デ
ータの再生を指示した場合、再生中の前記ある音符波形
データの減衰を開始しつつ該次の音符波形データの読出
再生を開始することを特徴とする。 この出願の請求項7
の発明は、請求項1乃至請求項5の発明において、前記
再生過程が、ある音符波形データを一通り読出再生した
後に前記タイミング発生過程が次の音符波形データの再
生を指示する場合、少なくとも前記次の音符波形データ
の再生が開始するまでの期間、前記ある音符波形データ
のうち少なくとも一部を繰り返し読出再生することを特
徴とする。 この出願の請求項8の発明は、請求項1乃至
請求項5の発明において、前記再生過程が、ある音符波
形データを一通り読出再生した後に前記タイミング発生
過程が次の音符波形データの再生を指示する場合、該音
符波形データが減衰音であれば再生を休止し、該音符波
形データが持続音であれば前記次の音符波形データが再
生を開始するまでの間該音符波形データの少なくとも一
部を繰り返し読出再生することを特徴とする。
[0011] The invention of claim 5 of this application, the waveform component <br/> solution process, to indicate the timing degrade user waveform
And decomposing the waveform data into the note waveform data based on the designated timing while reproducing the waveform data. This
The invention of claim 6 of the application is based on claims 1 to 5.
In the description, the reproducing process reads certain note waveform data.
During playback and playback, the timing generation process proceeds to the next note waveform data.
Data playback instruction, the note waveform being played
Read out the next note waveform data while starting data attenuation
The reproduction is started. Claim 7 of this application
The invention according to claims 1 to 5, wherein
The reproduction process reads and reproduces certain note waveform data
Later, the timing generation process re-executes the next note waveform data.
When instructing raw, at least the next note waveform data
During the period until the reproduction of the note waveform data starts,
At least partially read and played back.
Sign. The invention of claim 8 of this application is based on claims 1 to
6. The invention according to claim 5, wherein the reproducing step includes a certain note wave.
Generates the timing after reading and reproducing the shape data
If the process directs the playback of the next note waveform data,
If the note waveform data is a decay sound, the reproduction is paused and the note wave
If the shape data is a continuous tone, the next note waveform data is reproduced.
At least one of the note waveform data until
The unit is repeatedly read and reproduced.

【0012】[0012]

【作用】請求項1の発明では、波形記憶手段に記憶され
た連続した複数の音符列に相当する波形データを各音符
単位の音符波形データに分け、各音符波形データの記憶
範囲をそれぞれ指示する再生時間指示過程が波形デー
タの再生時間もしくは再生時間の伸縮比を指定すると
タイミング発生過程では各音符波形データの再生開始を
順次指示し、それに応じて再生過程では各音符波形デー
を一定の再生速度で順次読み出す。発生する各音符音
の再生開始の相対タイミングが、再生時間指定過程で
され波形データ全体の再生時間もしくは再生時間の
伸縮に対応して変化し、各音符波形データの読み出し
速度を一定にしたまま全体としての再生時間が伸縮する
ので、再生する波形の質を落とさずに再生時間の伸縮が
できる。
According to the first aspect of the present invention, the waveform data corresponding to a plurality of continuous note sequences stored in the waveform storage means is divided into note waveform data for each note, and a storage range of each note waveform data is designated. . The playback time indication process is
If you specify the playback time of the data or the expansion / contraction ratio of the playback time,
The timing generation process successively instructs the start of reproduction of each note waveform data, each note waveform data in the playback process accordingly
Data are sequentially read at a constant reproduction speed. The relative timing of the start of reproduction of each note sound generated is, in response to expansion and contraction ratio of the finger <br/> constant is Ru waveform data total reproduction time playback time designated process or playback time varies, for each note waveform data Since the entire reproduction time expands and contracts with the reading speed kept constant, the reproduction time can be expanded and contracted without deteriorating the quality of the reproduced waveform.

【0013】請求項2の発明では、前記範囲指示過程
前記記憶範囲として前記波形記憶手段上の前記各音
符波形データに対応するアドレスを指示するようになっ
ているので、請求項1における再生時間の伸縮を容易な
制御で実現することができる。
In the invention of claim 2,SaidrangeInstruction process
But,As the storage rangeEach sound on the waveform storage means
Corresponding to note waveform dataaddressInstructionsCame to do
Therefore, it is easy to expand and contract the reproduction time in claim 1.
It can be realized by control.

【0014】請求項3の発明では、波形データの録音時
間と再生時間の比を生成し、この比に応じて各音符波形
データの再生開始タイミングを比例配分的に変更するよ
うにしたので、全ての音符波形データが録音時と同じ比
率で発音され、音符の演奏のテンポを変更した場合と同
様になる。
According to the third aspect of the present invention, when recording the waveform data,
Generates the ratio between the interval and playback time, and according to this ratio, each note waveform
Change the data playback start timing proportionally
All note waveform data have the same ratio as when recording.
At the same rate as if the tempo of the note performance was changed.
Looks like

【0015】[0015]

【0016】また、請求項4の発明では、録音してある
演奏の波形データを波形分解過程で音符波形データに分
解し、分解された各音符波形データの再生タイミング
を、指示過程の指示する再生時間の伸縮に従って制御す
るようにしたので、録音済みの任意の波形データについ
て再生楽音の質を維持したままで再生時間を伸縮させて
再生することができる。
According to the present invention, the waveform data of the recorded performance is decomposed into note waveform data in a waveform decomposing process, and the reproduction timing of each decomposed note waveform data is indicated by an instruction process. Since the control is performed in accordance with the expansion and contraction of the time, the reproduction of the arbitrary waveform data which has been recorded can be performed by expanding and contracting the reproduction time while maintaining the quality of the reproduced musical sound.

【0017】請求項の発明では、波形データの音符波
形データへの分解を、波形データ再生タイミング発
生過程が指示したタイミングに基づいて行うようにした
ので、演奏された波形データにテンポの微妙揺らぎ等
があった場合でも正確に音符波形データに分解すること
ができる。請求項6の発明では、ある音符波形データの
再生中に次の音符波形データの再生指示があった場合、
該ある音符音の減衰を開始させるようにしたので、前記
再生時間指示(指定)過程により再生時間の短縮が指示
され各音符波形データの再生タイミングの間隔が密にな
った場合に、複数の音符波形データの再生の重なりによ
り再生音が濁ったり一度に多数の読み出しが必要になっ
たりすることがない。 請求項7の発明では、ある音符波
形データの記憶範囲の一通りの読出再生が終わっても次
の音符波形データの再生タイミングにならない場合に、
該次の音符波形データの再生タイミングまでの間に生じ
る音のない区間を該ある音符波形データの一部を繰り返
し再生するようにしたことにより、上記音のない区間が
埋められ、再生時間を伸張して音符音と音符音の間隔が
広がった場合にも再生される楽音信号がとぎれとぎれに
なることがない。 また、請求項8の発明では、ある音符
波形データの記憶範囲の一通りの読出再生が終わっても
次の音符波形データの再生タイミングにならない場合
に、前記ある音符波形データが減衰音であれば再生を休
止し、ある音符波形データが持続音であれば前記次の音
符波形データが発生開始するまでの間該音符波形データ
の少なくとも一部を繰り返し読出再生する。これによ
り、減衰音、持続音の特徴を生かしたまま再生時間を伸
ばすことができる。
According to the fifth aspect of the present invention, the decomposition of the waveform data into the note waveform data is performed at a timing generated during the reproduction of the waveform data.
Since carried out based on a timing at which the raw process has indicated, it can be decomposed to accurately note waveform data even when there is slight fluctuation or the like of the tempo waveform data played. According to the sixth aspect of the present invention, a certain note waveform data
During playback, if there is an instruction to play the next note waveform data,
Since the decay of the note sound is started,
Instruction for shortening the playback time by the playback time instruction (designation) process
The interval between the playback timings of each note waveform data is
The playback of multiple note waveform data
The playback sound becomes muddy or many readings are required at once.
Or not. In the invention according to claim 7, a certain note wave
Even if the reading / playing of the storage range of the shape data is completed,
If the playback timing of the note waveform data
Occurs before the next note waveform data is reproduced.
Repeats a part of the note waveform data
By playing back, the section without sound is
It is filled, the playback time is extended, and the interval between note sounds
Musical signals reproduced even when spread out
Never be. In the invention of claim 8, a certain note
Even if the reading and reproducing of the entire waveform data storage range is completed
When playback timing of the next note waveform data is not reached
If the certain note waveform data is a decay sound, the reproduction is paused.
If the note waveform data is continuous sound, the next note
Until the note waveform data starts to be generated,
Is repeatedly read out and reproduced. This
The playback time while taking advantage of the characteristics of the decay sound and sustain sound.
I can skip it.

【0018】[0018]

【実施例】図1はこの発明の実施例である楽音再生装置
のブロック図である。この楽音再生装置は、楽音信号を
ディジタル変換した波形データを波形メモリ20に記憶
し、この波形データの記憶エリアを音符毎に分割して分
割ポイントテーブルに記憶する。この波形データの再生
時には、録音時と同じクロックで読み出し、波形データ
の読み出しを途中で切り上げる処理などを行うことによ
り、再生時のピッチを変化させずに任意の再生時間に対
応するようにしたものである。また、この楽音再生装置
は鍵盤15も備えており、波形メモリ20に記憶された
波形データを用いて演奏をすることもできるものであ
る。
FIG. 1 is a block diagram of a tone reproducing apparatus according to an embodiment of the present invention. The tone reproducing apparatus stores waveform data obtained by digitally converting a tone signal in a waveform memory 20, divides a storage area of the waveform data for each note, and stores the divided area in a division point table. During playback of this waveform data, it is read at the same clock as during recording, and by performing processing such as rounding up the reading of waveform data in the middle, it is possible to respond to any playback time without changing the pitch at the time of playback It is. The musical sound reproducing device also has a keyboard 15, and can perform using the waveform data stored in the waveform memory 20.

【0019】装置全体の動作はCPU10が制御する。
CPU10には、CPUバス11を介してROM12,
RAM13,タイマ14,鍵盤15,タップスイッチ1
6,パネル表示器17,パネルスイッチ18,バス制御
回路19,書込回路22,音源23が接続されている。
ROM12には後述のフローチャートで示すような制御
プログラムが記憶されている。RAM13には、図4に
示す各種テーブルが設定されるとともに、動作中に発生
・入力される各種のデータを一時記憶するバッファ・レ
ジスタが設定される。タイマ14は波形メモリ20の読
出時間を計測し、読出終了のトリガをCPU10に入力
する。鍵盤15は5オクターブ程度の音域を有するもの
であり、波形メモリ20に記憶されている波形データを
用いて演奏する場合に用いられる。タップスイッチ16
は、後述する波形データの分割に用いられるものであ
り、波形メモリ20に記憶された波形データの再生音を
聴きながら、その拍に合わせてオンすることにより、そ
のタイミングにタップポイントが設定される。パネル表
示器17には波形メモリ20に記憶されている波形デー
タが図示され、カーソルを所定位置に移動することによ
って、前記タップポイントの微調整をすることができ
る。パネルスイッチ18は、タップスタートスイッチや
再生スタートスイッチなどを含み、CPU10はこれら
のスイッチのオンイベントを検出したとき対応する動作
を実行する。バス制御回路19は波形メモリ20の書き
込み/読み出しを制御する回路であり、波形メモリ20
の接続をCPU10,書込回路22または音源23に切
り換える機能を有する。書込回路22はディジタル波形
入力端子21から入力されるディジタルの波形データを
CPU10の指示に基づいて波形メモリ20に書き込
む。CPU10は書込回路22が書き込んだ波形データ
のアドレスおよび録音時間Tstを受信しRAM13に
の所定エリアに記憶する。音源23は波形メモリ20に
記憶されている波形データをCPU10の指示に対応し
て読み出す回路である。音源23が読み出した波形デー
タはD/A変換回路24に入力される。D/A変換回路
はこの波形データ(PCMデータ)をアナログの楽音信
号に変換する。アナログ変換された楽音信号はサウンド
システム25に入力される。サウンドシステム25で
は、この楽音信号を増幅してスピーカから放音する。な
お、波形メモリ20は複数の波形データを記憶すること
ができ、また、音源23は複数の発音チャンネルを有し
複数の波形データを同時に読み出すことができるものと
する。
The operation of the entire apparatus is controlled by the CPU 10.
The CPU 10 has a ROM 12 via a CPU bus 11,
RAM 13, timer 14, keyboard 15, tap switch 1
6, a panel display 17, a panel switch 18, a bus control circuit 19, a writing circuit 22, and a sound source 23 are connected.
The ROM 12 stores a control program as shown in a flowchart described later. In the RAM 13, various tables shown in FIG. 4 are set, and a buffer register for temporarily storing various data generated and input during operation is set. The timer 14 measures the reading time of the waveform memory 20, and inputs a trigger for ending the reading to the CPU 10. The keyboard 15 has a range of about 5 octaves, and is used when performing using the waveform data stored in the waveform memory 20. Tap switch 16
Is used to divide the waveform data, which will be described later. A tap point is set at that timing by turning on the beat while listening to the reproduced sound of the waveform data stored in the waveform memory 20. . The panel display 17 shows the waveform data stored in the waveform memory 20, and the fine adjustment of the tap point can be performed by moving the cursor to a predetermined position. The panel switch 18 includes a tap start switch, a reproduction start switch, and the like, and the CPU 10 executes a corresponding operation when detecting an ON event of these switches. The bus control circuit 19 is a circuit for controlling writing / reading of the waveform memory 20.
Is switched to the CPU 10, the writing circuit 22, or the sound source 23. The writing circuit 22 writes digital waveform data input from the digital waveform input terminal 21 to the waveform memory 20 based on an instruction from the CPU 10. The CPU 10 receives the address of the waveform data written by the writing circuit 22 and the recording time Tst and stores them in a predetermined area of the RAM 13. The sound source 23 is a circuit that reads out the waveform data stored in the waveform memory 20 in accordance with an instruction from the CPU 10. The waveform data read by the sound source 23 is input to the D / A conversion circuit 24. The D / A conversion circuit converts this waveform data (PCM data) into an analog tone signal. The analog-converted tone signal is input to the sound system 25. The sound system 25 amplifies this tone signal and emits it from a speaker. Note that the waveform memory 20 can store a plurality of waveform data, and the sound source 23 has a plurality of tone generation channels and can simultaneously read a plurality of waveform data.

【0020】図2は前記波形メモリ20に書き込まれる
波形データおよびその分割方式を示す図である。ディジ
タル波形入力端子21には、実際に演奏されディジタル
変換された楽音波形データが入力される。その波形デー
タは、例えば同図(B)に示すようなものであり、これ
は同図(A)に示す譜面を演奏したものである。
FIG. 2 is a diagram showing waveform data written in the waveform memory 20 and a division method thereof. To the digital waveform input terminal 21, musical tone waveform data actually played and digitally converted is input. The waveform data is, for example, as shown in FIG. 2B, which is obtained by playing the musical score shown in FIG.

【0021】この楽音再生装置は、同図(A)の音符毎
の波形データの記憶アドレスを分割ポイントテーブルB
PTに記憶することにより、波形データの各音符別々の
分割読み出しを可能にしている。分割ポイントは同図
(C)のように設定され、各分割ポイントに基づく波形
データ読出ウィンドゥは同図(D)のように設定され
る。
This musical sound reproducing apparatus stores a storage address of waveform data for each note shown in FIG.
By storing the data in the PT, it is possible to separately read each note of the waveform data. The division points are set as shown in FIG. 11C, and the waveform data reading window based on each division point is set as shown in FIG.

【0022】同図(C)において、タップポイントTP
(i)は、記憶された波形データを再生しながら、ユー
ザがタップスイッチ16をオンしたタイミングを示すア
ドレスである。ユーザはタップスイッチ16を小節頭ま
たは拍頭にオンするため、このタップポイントが1つの
音符の分割ポイントであると把握される。このタップポ
イントの入力は波形データ分割モードのタップモード動
作(図6〜図8)で実行される。タップポイントの入力
ののち、タップポイント間をより細分化して各音符毎に
分割ポイントBP(i)を設定する。分割ポイントの設
定は波形データ分割モードの波形データ細分処理動作
(図9(A))で行うことができる。これらタップポイン
ト,分割ポイントは設定ののち微調整することが可能で
ある(図9(B)参照)。また、図2(D)において、
波形データ読出ウィンドゥは分割ポイントの分割アドレ
スBA(i)よりも微少アドレスすなわちオフセットO
F(i)手前の読出開始アドレスSA(i)から始まっ
ている。これは、楽音の発音開始が実際の拍タイミング
よりも少し早いことに合わせたものである。このオフセ
ットOF(i)の大きさも微調整可能である(図9
(C)参照)。
In FIG. 3C, tap point TP
(I) is an address indicating the timing at which the user turned on the tap switch 16 while reproducing the stored waveform data. Since the user turns on the tap switch 16 at the beginning of a bar or at the beginning of a beat, this tap point is recognized as a division point of one note. The input of the tap point is executed by the tap mode operation (FIGS. 6 to 8) in the waveform data division mode. After the input of the tap point, the division between the tap points is further subdivided and the division point BP (i) is set for each note. The setting of the division point can be performed by the waveform data subdivision processing operation (FIG. 9A) in the waveform data division mode. These tap points and division points can be finely adjusted after setting (see FIG. 9B). In FIG. 2D,
The waveform data reading window has a smaller address, that is, an offset O, than the division address BA (i) of the division point.
It starts from the read start address SA (i) before F (i). This is in conformity with the start of the tone generation being slightly earlier than the actual beat timing. The size of the offset OF (i) can also be finely adjusted (FIG. 9).
(C)).

【0023】図3は各音符毎に分割された波形データと
読出時間との関係を示した図である。図2に示したよう
に波形メモリ20に記憶されている波形データは分割タ
イミングから読み出しを開始することにより各音符毎の
分割読み出しが可能である。そこで、ユーザによって指
定された再生時間Txが録音時間Tstすなわち標準再
生時間と異なる場合には、各音符に割り当てられた時間
だけその音符の波形データを読み出すようにする。ここ
で、録音時間Tstと同じ時間で波形データを再生すれ
ば、同一ピッチ・同一波形で波形データを再生すること
ができるため、録音時間Tstが標準的な再生時間とな
る。図3には波形データ全体の再生時間Txが波形デー
タの録音時間Tstよりも短く設定された場合を示して
いる。すなわち、再生を開始してから各音符の読み出し
を開始するタイミングST(i)は、対応する音符分割
ポイントBP(i)に基づき、 ST(i)=(Tx/Tst)×BP(i)−OF(i) で求められる。したがって、全ての波形データの読み出
し開始タイミングがTx/Tstだけ変化する。同図の
例の場合には、全ての波形データの読み出し開始タイミ
ングがTx/Tstだけ短くなるため、各音符の読出・
再生時間もTx/Tstだけ短くなることになる。した
がって、各音符の波形データは、先頭からその読出時間
が終了するまで読み出され、それ以後はカットされるこ
とになる。これにより、波形データの読み出しクロック
は録音時と同じでよく、再生時間のみ短くすることがで
きる。また、再生時間が録音時間よりも長く設定された
場合には、波形データの定常部(サスティン部)を繰り
返して(ループして)読み出すことにより、録音時と同
じクロックで波形データを長く読み出すことができる。
FIG. 3 is a diagram showing the relationship between the waveform data divided for each note and the read time. As shown in FIG. 2, the waveform data stored in the waveform memory 20 can be divided and read for each note by starting reading from the division timing. Therefore, when the reproduction time Tx specified by the user is different from the recording time Tst, that is, the standard reproduction time, the waveform data of the note is read out for the time allocated to each note. Here, if the waveform data is reproduced at the same time as the recording time Tst, the waveform data can be reproduced at the same pitch and the same waveform, so that the recording time Tst is a standard reproduction time. FIG. 3 shows a case where the reproduction time Tx of the entire waveform data is set shorter than the recording time Tst of the waveform data. That is, the timing ST (i) at which reading of each note is started after the reproduction is started is based on the corresponding note division point BP (i), and ST (i) = (Tx / Tst) × BP (i) − OF (i). Therefore, the read start timing of all waveform data changes by Tx / Tst. In the case of the example shown in the figure, the reading start timing of all the waveform data is shortened by Tx / Tst.
The reproduction time is also shortened by Tx / Tst. Accordingly, the waveform data of each note is read from the beginning until the end of the reading time, and thereafter cut off. Thereby, the read clock of the waveform data may be the same as that at the time of recording, and only the reproduction time can be shortened. If the playback time is set longer than the recording time, the waveform data is read out longer by the same clock as during recording by repeatedly (looping) reading out the steady part (sustain part) of the waveform data. Can be.

【0024】図4は前記RAM13に設定される各種テ
ーブルを示す図である。同図(A)はタップポイントテ
ーブルTPTを示す図である。このテーブルは、タップ
モード動作、すなわち、波形データを再生しながらタッ
プスイッチ16のオンを受け付ける動作が実行されてい
るとき、タップスイッチ16がオンされたタイミングに
読み出されていた波形データのアドレスをタップポイン
トTP(i)として記憶するテーブルである。ユーザは
拍タイミングまたは小節タイミングにタップスイッチ1
6をオンするため、タップポイントTP(i)は波形デ
ータ分割の基準となる。
FIG. 4 is a view showing various tables set in the RAM 13. FIG. 3A is a diagram showing a tap point table TPT. This table stores the address of the waveform data read at the timing when the tap switch 16 is turned on when the tap mode operation, that is, the operation of receiving the turning on of the tap switch 16 while reproducing the waveform data is being executed. It is a table stored as a tap point TP (i). User can tap switch 1 at beat timing or bar timing
6, the tap point TP (i) is used as a reference for dividing the waveform data.

【0025】同図(B)は分割ポイントテーブルBPT
を示す図である。このテーブルには上記のタップポイン
トTP(i)に基づいて波形データを音符毎に細分化し
た分割ポイントBP(i)のデータが記憶される。分割
ポイントデータは波形データ上の分割位置を示す分割ア
ドレスBA(i),オフセット量OF(i),読出開始
アドレスSA(i)からなっている(図2参照)。オフ
セット量OF(i)は波形メモリにおけるアドレス数で
表現され、読出開始アドレスはSA(i)=BP(i)
−OF(i)で算出される。
FIG. 2B shows a division point table BPT.
FIG. This table stores data of division points BP (i) obtained by subdividing the waveform data for each note based on the above-mentioned tap point TP (i). The division point data includes a division address BA (i) indicating a division position on the waveform data, an offset amount OF (i), and a read start address SA (i) (see FIG. 2). The offset OF (i) is represented by the number of addresses in the waveform memory, and the read start address is SA (i) = BP (i)
−OF (i).

【0026】同図(C)はタイミングテーブルTTを示
す図である。このタイミングテーブルは読出開始タイミ
ングデータST(i)を記憶するテーブルである。読出
開始タイミングデータST(i)は、図3において説明
したように波形データを再生時間Tx(≠Tst)で再
生する場合の発音開始タイミングである。波形データ全
体の再生時間が設定されたとき、この再生時間と録音時
間との比率で前記分割タイミングを伸縮し、このタイミ
ングテーブルが算出される。すなわち、各スタートタイ
ミングST(i)は上述したように、 ST(i)=(Tx/Tst)×BP(i)−OF(i) で算出される。
FIG. 3C shows a timing table TT. This timing table is a table that stores read start timing data ST (i). The read start timing data ST (i) is a sound generation start timing when the waveform data is reproduced at the reproduction time Tx (≠ Tst) as described in FIG. When the reproduction time of the entire waveform data is set, the division timing is expanded or contracted by the ratio of the reproduction time to the recording time, and the timing table is calculated. That is, each start timing ST (i) is calculated by ST (i) = (Tx / Tst) × BP (i) -OF (i) as described above.

【0027】図5〜図12は同楽音再生装置の動作を示
すフローチャートである。
FIGS. 5 to 12 are flow charts showing the operation of the musical sound reproducing apparatus.

【0028】図5はメインルーチンを示している。この
楽音再生装置の電源がオンされるとまず初期設定動作を
実行する(n1)。初期設定動作とは、レジスタのリセ
ットやパネル表示器17への初期画面の表示などの動作
である。こののちこの楽音再生装置は動作可能になる。
動作可能になると、まず鍵処理動作(n2)を実行す
る。鍵処理動作とは、鍵盤15の操作に応じて波形メモ
リ20から波形データを読み出し、楽音信号を発生する
動作である。次に、パネルスイッチ18のオンイベント
を受け付ける(n3)。パネルスイッチのオンによりど
のようなモードが設定されたかをn4で判断する。録音
スイッチがオンされ録音モードが設定された場合には、
録音処理(n5)および再生処理(n7)の実行が可能
になる。いずれの動作を実行するかは利用者の操作によ
り決定される。録音処理は、バス制御回路19を書込回
路22に接続して波形データ入力端子21から入力され
る波形データを波形メモリ20に書き込む動作を実行す
るとともに、この書込アドレス範囲および録音時間Ts
tを記憶する動作である。また、再生処理は、波形メモ
リ20に書き込まれた波形データを再生する動作であ
る。この再生処理動作により、書き込まれた波形データ
の内容を確認することができる。また、波形データ分割
スイッチがオンされ波形データ分割モードが設定された
場合には(n4)、波形データ分割処理(n6)および
再生処理(n7)の実行が可能になる。いずれの動作を
実行するかは利用者の操作により決定される。波形デー
タ分割処理は、録音処理において波形メモリ20に書き
込まれた波形データを音符毎に分割する処理である。ま
た、それ以外のモードが設定されている場合には、対応
するその他処理(n8)および再生処理(n7)の実行
が可能になる。すなわち、どのモードにおいても再生処
理の実行は可能なように設計されている。
FIG. 5 shows a main routine. When the power of the tone reproducing apparatus is turned on, an initial setting operation is first executed (n1). The initial setting operation is an operation such as resetting a register or displaying an initial screen on the panel display 17. Thereafter, the tone reproduction device becomes operable.
When operation becomes possible, a key processing operation (n2) is first performed. The key processing operation is an operation of reading out waveform data from the waveform memory 20 in accordance with the operation of the keyboard 15 and generating a tone signal. Next, an ON event of the panel switch 18 is received (n3). The mode set by turning on the panel switch is determined by n4. When the recording switch is turned on and the recording mode is set,
The recording process (n5) and the reproduction process (n7) can be executed. Which operation is performed is determined by a user operation. In the recording process, the bus control circuit 19 is connected to the writing circuit 22 to write the waveform data input from the waveform data input terminal 21 into the waveform memory 20, and the write address range and the recording time Ts
This is an operation of storing t. The reproduction process is an operation of reproducing the waveform data written in the waveform memory 20. By this reproduction processing operation, the contents of the written waveform data can be confirmed. When the waveform data division switch is turned on and the waveform data division mode is set (n4), execution of the waveform data division processing (n6) and the reproduction processing (n7) becomes possible. Which operation is performed is determined by a user operation. The waveform data dividing process is a process of dividing the waveform data written in the waveform memory 20 in the recording process for each note. If any other mode is set, the corresponding other processing (n8) and reproduction processing (n7) can be executed. That is, it is designed so that the reproduction process can be executed in any mode.

【0029】図6〜図9は上記波形データ分割モードで
実行される動作を示している。図6はタップスタートス
イッチオンイベントに対応する動作である。タップスタ
ートスイッチがオンされるとタップモードとなり、波形
データの再生音に合わせてタップスイッチ16をオンす
ることによりタップポイントを設定することができる。
指定されている波形データ(複数の波形データから1つ
の波形データを指定する波形データ指定動作は図示しな
い波形データ指定モードで行うことができる。)を発音
する発音チャンネルを割り当て、そのチャンネル番号を
CHxにセットする(n10)。この発音チャンネルC
Hxに対して該波形データの再生準備を行う(n1
1)。ここで、CHxに設定される各種データのうち波
形の読出速度を指定するデータ(通常Fナンバと呼ばれ
る)は、波形を録音信号ときのサンプリング周波数に準
じて決定される。以後CHxを設定する場面においては
特に断らない限り同様の設定を行う。つぎにタップモー
ドフラグTFをセット(1)し、タップ回数カウンタi
をリセット(0)する(n12)。こののち、最初のタ
ップがあるまでn13で待機する。最初のタップがある
と、録音時間(標準再生時間)Tstをプリセットして
タイマ14をスタートさせる(n14)とともに、音源
23の発音チャンネルCHxにノートオンを送出して指
定された波形データの再生を開始させる(n15)。タ
イマ14はTstをカウントしたのちCPU10に割り
込みを掛ける。この割り込みによりCPU10は図8の
割込処理動作を実行する。
FIGS. 6 to 9 show the operation executed in the waveform data division mode. FIG. 6 shows an operation corresponding to the tap start switch on event. When the tap start switch is turned on, the tap mode is set, and the tap point can be set by turning on the tap switch 16 in accordance with the reproduced sound of the waveform data.
A tone generation channel for generating designated waveform data (a waveform data designation operation for designating one waveform data from a plurality of waveform data can be performed in a waveform data designation mode (not shown)) is assigned, and the channel number is set to CHx. (N10). This sound channel C
Hx is prepared for reproduction of the waveform data (n1
1). Here, data (usually referred to as an F number) specifying the waveform reading speed among the various data set in CHx is determined according to the sampling frequency at the time of recording the waveform. Thereafter, in the setting of CHx, the same setting is performed unless otherwise specified. Next, the tap mode flag TF is set (1) and the tap number counter i is set.
Is reset (0) (n12). Thereafter, the process waits at n13 until there is a first tap. When there is the first tap, the recording time (standard reproduction time) Tst is preset, the timer 14 is started (n14), and a note-on is transmitted to the sound channel CHx of the sound source 23 to reproduce the designated waveform data. It is started (n15). After counting Tst, the timer 14 interrupts the CPU 10. The interrupt causes the CPU 10 to execute the interrupt processing operation shown in FIG.

【0030】図7は、タップスイッチオンイベント動作
を示すフローチャートである。この動作は、上記図6の
動作でスタートした波形データ再生動作に合わせたタッ
プスイッチ16のオンに合わせてタップポイントを登録
する動作である。タップスタートスイッチがオンされた
のち2回目以後のタップスイッチ16のオンイベントが
あるとこの動作が実行される。まず、タップフラグTF
のセット/リセットによりタップモードであるか否かを
判断する(n20)。タップモードでない場合にはその
他の処理に進む(n24)。タップモードの場合には、
このタップによりタップ回数が1回増えるためタップ回
数カウンタiに1を加算する(n21)。次に、音源2
3の発音チャンネルCHxからそのときの再生アドレス
を読み出してバッファbufに記憶する(n22)。こ
の内容をタップポイントテーブルTPTのTP(i)に
タップポイントデータとして記憶する(n23)。
FIG. 7 is a flowchart showing the tap switch on event operation. This operation is an operation of registering a tap point in accordance with the turning on of the tap switch 16 in accordance with the waveform data reproduction operation started in the operation of FIG. This operation is executed when there is an ON event of the tap switch 16 for the second time or more after the tap start switch is turned ON. First, tap flag TF
It is determined whether or not the current mode is the tap mode by setting / resetting (n20). If the mode is not the tap mode, the process proceeds to other processes (n24). In tap mode,
Since this tap increases the number of taps by one, 1 is added to the tap number counter i (n21). Next, sound source 2
The reproduction address at that time is read out from the tone generation channel CHx No. 3 and stored in the buffer buf (n22). This content is stored as tap point data in TP (i) of the tap point table TPT (n23).

【0031】図8はこの波形データ分割モード時におい
てタイマ14が録音時間Tstをカウントしタイムアッ
プしたときに実行されるタイマ割込動作である。まず、
タップフラグTPによりタップモードであるか否かを判
断する(n30)。タップモードでない場合には、対応
するその他の処理を実行する(n35)。タップモード
の場合には録音時間Tstの再生を実行し波形データが
終了したため再生動作を終了する。このため以下の動作
を実行する。まず最終のタップ回数iを最終タップポイ
ントレジスタNtpに記憶し、タップモードフラグTF
をリセットし(n31)、音源の発音チャンネルCHx
にノートオフを送出する(n32)。次に、図7の動作
によって作成されたタップポイントテーブルTPTに基
づいて分割ポイントテーブルを作成する(n33)。こ
の動作においては分割ポイントBPはタップポイントの
みであり、オフセット時間OF(i)は全て標準値とし
ている。以上によりこの波形データの分割が、取り合え
ず完了したため分割完了フラグBFをセットする(n3
4)。
FIG. 8 shows a timer interruption operation executed when the timer 14 counts the recording time Tst and time-up occurs in the waveform data division mode. First,
It is determined whether or not the mode is the tap mode based on the tap flag TP (n30). If the mode is not the tap mode, other corresponding processing is executed (n35). In the case of the tap mode, reproduction of the recording time Tst is executed, and the reproduction operation ends because the waveform data has ended. Therefore, the following operation is performed. First, the final tap number i is stored in the final tap point register Ntp, and the tap mode flag TF
Is reset (n31), and the sound channel CHx of the sound source is reset.
(N32). Next, a division point table is created based on the tap point table TPT created by the operation of FIG. 7 (n33). In this operation, the division point BP is only the tap point, and the offset times OF (i) are all standard values. As described above, since the division of the waveform data has been completed unacceptably, the division completion flag BF is set (n3).
4).

【0032】図9は波形データ分割モードで実行される
微調整動作を示すフローチャートである。同図(A)は
細分スイッチをオンしたとき実行される波形データ細分
処理動作を示すフローチャートである。まず細分したい
区間が指定され(n40)、この波形データの分割方法
が指定される(n41)。区間の指定は1つのタップポ
イントの入力によって行われる。このタップポイントと
次のタップポイントとの間が分割区間として指定され
る。分割方法の指定は、分割数および分割比率の指定に
よって行われる。分割数としてはその区間に存在する音
符の数が入力される。分割比率としては、まず各音符の
音長(4分音符,8分音符等)の比率が入力される。図
2(A)の例では第1区間の音長比率は1:1:2であ
り、第2区間の音長比率1:1:1:3である。さら
に、分割比率として当該区間内におけるテンポの変化を
考慮するかしないかが指定される。テンポの変化を考慮
しない場合には、区間時間を上記音符の音長比率で単純
比例分割すればよく、テンポの変化を考慮する場合に
は、前区間,後区間または前後区間の区間時間と当該区
間時間とを比較してその変化を区間内の分割比率に反映
させる。その手法としてはラグランジュ補間,スプライ
ン補間等の補間手法を用いることができる。また、その
挿間において前後の区間時間(タップポイント)をいく
つ使うかも指定することができるものとする。指定され
た分割方法により新たな分割タイミングを算出し(n4
2)、この分割タイミングに新たな分割ポイントを生成
してBPTに追加する(n43)。また、すでにTx
(再生時間)が設定されタイミングテーブルTTが生成
されている場合には新規の分割ポイントに基づいてこの
タイミングテーブルTTも同時に更新する。
FIG. 9 is a flowchart showing the fine adjustment operation executed in the waveform data division mode. FIG. 7A is a flowchart showing a waveform data subdivision processing operation executed when the subdivision switch is turned on. First, a section to be subdivided is specified (n40), and a method of dividing the waveform data is specified (n41). The section is specified by inputting one tap point. A section between this tap point and the next tap point is designated as a divided section. The division method is specified by specifying the number of divisions and the division ratio. As the number of divisions, the number of notes existing in the section is input. As the division ratio, first, a ratio of a note length (a quarter note, an eighth note, etc.) of each note is input. In the example of FIG. 2A, the pitch ratio in the first section is 1: 1: 2, and the pitch ratio in the second section is 1: 1: 1: 3. Furthermore, whether or not a change in tempo in the section is considered is specified as the division ratio. If the change in tempo is not taken into account, the section time may be simply divided by the note length ratio. If the change in tempo is taken into account, the section time of the preceding section, the following section, or the preceding and following sections, and The change is compared with the section time and the change is reflected on the division ratio in the section. As the method, an interpolation method such as Lagrange interpolation or spline interpolation can be used. Also, it is assumed that it is possible to specify how many preceding and following section times (tap points) to use between the insertions. A new division timing is calculated by the specified division method (n4
2) A new division point is generated at this division timing and added to the BPT (n43). Also, already Tx
When (reproduction time) is set and the timing table TT is generated, the timing table TT is updated at the same time based on the new division point.

【0033】同図(B)はタイミング微調整スイッチを
オンしたとき実行されるタップポイントのタイミングの
微調整動作を示すフローチャートである。まず、タイミ
ングを微調整したいタップポイントが指定される(n5
0)。つぎに微調整の方法が指定される(n51)。微
調整の方法としては自動/手動のいずれかが選択され
る。自動の場合、入力されているタップポイントの近傍
のレベルピーク位置を検出しその位置にタップポイント
をシフトする。一方、手動の場合はパネル表示器17に
波形データを表示し、ユーザの操作子の操作に応じてタ
ップポイントをシフトする。選択された方法で該ポイン
トを微調整し(n52)、微調整した結果に応じてテー
ブルBPTを更新する(n53)。その際、調整中のタ
ップポイントの前後区間の波形データを繰り返し再生す
るようにすれば、視覚だけでなく聴覚による確認をしな
がらタップ位置を補正することができる。また、既にタ
イミングテーブルTTが生成されている場合には、この
TTも更新する。
FIG. 7B is a flowchart showing the operation of finely adjusting the timing of the tap point, which is executed when the fine timing adjustment switch is turned on. First, a tap point whose timing is to be finely adjusted is designated (n5).
0). Next, a fine adjustment method is designated (n51). Either automatic or manual is selected as the method of fine adjustment. In the case of automatic, a level peak position near the input tap point is detected, and the tap point is shifted to that position. On the other hand, in the case of manual operation, the waveform data is displayed on the panel display 17 and the tap point is shifted in accordance with the operation of the operator. The point is finely adjusted by the selected method (n52), and the table BPT is updated according to the result of the fine adjustment (n53). At this time, if the waveform data in the section before and after the tap point being adjusted is repeatedly reproduced, the tap position can be corrected while confirming not only visually but also audibly. If the timing table TT has already been generated, the TT is also updated.

【0034】同図(C)はオフセット微調整スイッチが
オンされたとき実行されるオフセット微調整動作を示す
フローチャートである。まずオフセットを微調整する分
割ポイントBP(k)が指定される(n60)。次に変
更するオフセット値が入力され、この値をbufに記憶
する(n61)。この値を指定された分割ポイントのオ
フセットレジスタOF(k)に書き込む(n62)。こ
れに基づいて分割ポイントテーブルBPTを更新する
(n63)。またタイミングテーブルTTが生成されて
いる場合にはこれを更新する。
FIG. 7C is a flowchart showing the offset fine adjustment operation executed when the offset fine adjustment switch is turned on. First, a division point BP (k) for finely adjusting the offset is designated (n60). Next, the offset value to be changed is input, and this value is stored in buf (n61). This value is written to the offset register OF (k) at the designated division point (n62). Based on this, the division point table BPT is updated (n63). If the timing table TT has been generated, it is updated.

【0035】図10はメインルーチン(図5)のn4で
再生時間指定スイッチがオンされたときn8で実行され
る動作を示す再生時間指定動作を示すフローチャートで
ある。まず再生時間の入力を受け付け、入力された再生
時間の指定値をbufに一時記憶する(n70)。次に
そのとき指定されている波形データの分割完了フラグB
Fがセットしているか否かを判定する(n71)。分割
が完了している場合に、bufの内容を再生時間レジス
タTxに記憶し(n72)、時間比率Tx/Tstに基
づいて、この波形の分割ポイントテーブルBPTの内容
を演算しタイミングテーブルTTを作成する(n7
3)。これに対してBF=0の場合には、Tx=0をセ
ットし(n74)、パネル表示器17に「未分割波形の
ため時間指定不能」と表示する(n75)。
FIG. 10 is a flow chart showing the reproduction time designation operation which is executed at n8 when the reproduction time designation switch is turned on at n4 of the main routine (FIG. 5). First, the input of the reproduction time is received, and the input designated value of the reproduction time is temporarily stored in buf (n70). Next, the division completion flag B of the waveform data designated at that time
It is determined whether or not F is set (n71). When the division is completed, the contents of buf are stored in the reproduction time register Tx (n72), and the contents of the division point table BPT of this waveform are calculated based on the time ratio Tx / Tst to create the timing table TT. Yes (n7
3). On the other hand, if BF = 0, Tx = 0 is set (n74), and "Time cannot be specified due to undivided waveform" is displayed on panel display 17 (n75).

【0036】タイミングテーブルTTには、全波形デー
タを再生時間txで再生するように設定して再生を開始
したときの各音符の波形データの(再生開始からの)読
出開始タイミングST(i)が記憶されており、この読
出開始タイミングST(i)は、 ST(n)=(Tx/Tst)×BP(n)−OF(n) で算出される。
In the timing table TT, the read start timing ST (i) (from the start of reproduction) of the waveform data of each note when all the waveform data is set to be reproduced at the reproduction time tx and the reproduction is started is shown. The read start timing ST (i) is calculated as ST (n) = (Tx / Tst) × BP (n) -OF (n).

【0037】図11は再生動作を示すフローチャートで
ある。この動作は録音モード,波形データ分割モードな
どどのようなモードにおいても再生開始スイッチオンイ
ベントに対応して実行可能な動作である。まずタップモ
ードフラグTFがリセットしているか否かを判断する
(n80)。TFがセットしている場合には、再生モー
ドではないためそのままリターンする。TFがリセット
している場合には指定されている波形データの分割フラ
グBFがセットされているか否か(n81)、および、
再生時間レジスタTx=0であるか否かを判断する(n
82)。BFがリセットしている場合、または、Tx=
0の場合には、波形データの分割ができていない場合、
または、再生時間が設定されていない場合であり、とも
に再生時間を録音時間から変更することができない場合
であるため、通常の再生動作(n90〜n94)を実行
する。一方、BF=0且つTx≠0の場合には再生時間
の変更が可能であるためn83〜n87の動作を実行す
る。
FIG. 11 is a flowchart showing the reproducing operation. This operation can be executed in response to the reproduction start switch-on event in any mode such as the recording mode and the waveform data division mode. First, it is determined whether or not the tap mode flag TF has been reset (n80). If the TF is set, the process returns without any operation because the mode is not the playback mode. If the TF has been reset, whether or not the division flag BF of the designated waveform data has been set (n81);
It is determined whether or not the reproduction time register Tx = 0 (n
82). If BF is reset, or Tx =
If 0, if the waveform data has not been divided,
Alternatively, since the playback time is not set and the playback time cannot be changed from the recording time, the normal playback operation (n90 to n94) is executed. On the other hand, when BF = 0 and Tx ≠ 0, the operation of n83 to n87 is executed because the reproduction time can be changed.

【0038】まず、n83では、再生モードフラグPM
に再生時間を変更して再生する旨を示す2をセットし、
再生音符番号レジスタjに1をセットする。つぎにタイ
ミングテーブルTTに基づいて各音符の波形データを再
生するため、最初の音符の読出開始タイミングデータS
T(1)をタイマにセットする(n84)。次にこの波
形データを再生する発音チャンネルを割り当て、そのチ
ャンネル番号を発音チャンネルレジスタCHxにセット
する(n85)。音源のCHxに該波形データの再生順
次を行う(n86)。こののち音源のCHxに対してノ
ートオン信号を送出する(n87)。これにより、発音
チャンネルCHxから波形データが出力される。なお、
該音符に対する再生時間が録音時間よりも長い場合には
波形データの一部区間を繰り返しループして読み出すこ
とにより再生時間分の読み出しを可能にしている。
First, in n83, the reproduction mode flag PM
Is set to 2 indicating that the playback time is changed and playback is performed,
1 is set to the reproduction note number register j. Next, in order to reproduce the waveform data of each note based on the timing table TT, the first note reading start timing data S
T (1) is set in the timer (n84). Next, a tone generation channel for reproducing the waveform data is allocated, and the channel number is set in the tone generation channel register CHx (n85). The reproduction sequence of the waveform data is performed on CHx of the sound source (n86). Thereafter, a note-on signal is transmitted to CHx of the sound source (n87). As a result, waveform data is output from the sound channel CHx. In addition,
If the playback time for the note is longer than the recording time, a portion of the waveform data is repeatedly read out in a loop, so that the playback time can be read.

【0039】一方、通常の再生動作では、PMに通常再
生動作を示す1をセットし(n90)、タイマ14に全
波形データの再生時間(録音時間と同じ)を示すTst
をセットする(n91)。この波形データを発音する発
音チャンネルを割り当てその番号をCHxに記憶する
(n92)。こののち、音源23の発音チャンネルCH
xに該波形データの全ての波形の再生を準備し(n9
3)、発音チャンネルCHxに対してノートオン信号を
送出する(n94)。この動作により、通常の再生速度
で全波形データが再生される。
On the other hand, in the normal reproduction operation, 1 indicating the normal reproduction operation is set in PM (n90), and Tst indicating the reproduction time (same as the recording time) of all the waveform data is set in the timer 14.
Is set (n91). A sounding channel for generating the waveform data is assigned and the number is stored in CHx (n92). After this, the sound channel CH of the sound source 23
x is prepared to reproduce all the waveforms of the waveform data (n9
3) A note-on signal is transmitted to the sound channel CHx (n94). By this operation, all the waveform data is reproduced at a normal reproduction speed.

【0040】図12は再生動作中に実行されるタイマ割
込動作を示すフローチャートである。タイマ割り込み
は、PM=2の場合には音符毎に発生し、PM=1の場
合には全波形データの再生が終了したとき1回のみ発生
する。まず、再生モードフラグPMを判断する。PM=
0であれば再生動作中ではないため、その他の処理を実
行してリターンする。PM=1であれば割込が発生すす
るのはTstをカウントし全波形データを読み出したと
きであるためn110〜n112の終了処理を実行す
る。また、PM=2であれば各音符毎に設定された発音
タイミング毎に割り込みが発生するため、n102〜n
107の音符切換処理を実行する。ただし、音符番号j
が最終分割ポイントNbpより大きくなっていれば終了
処理を実行するため、n101の判断でn110に進
む。
FIG. 12 is a flowchart showing a timer interrupt operation executed during the reproduction operation. The timer interrupt is generated for each note when PM = 2, and is generated only once when the reproduction of all the waveform data is completed when PM = 1. First, the reproduction mode flag PM is determined. PM =
If it is 0, it means that the reproducing operation is not underway, so other processing is executed and the routine returns. If PM = 1, an interruption occurs when Tst is counted and all the waveform data is read, so that the end processing of n110 to n112 is executed. If PM = 2, an interrupt is generated at each sounding timing set for each note, so that n102 to n102
A note switching process 107 is executed. Where note number j
If is larger than the last division point Nbp, the process proceeds to n110 in the judgment of n101 to execute the end processing.

【0041】まず、n102で音源23の発音チャンネ
ルCHxにノートオフ信号を放出して現在発音中の音符
を停止したのち、再生音符番号レジスタjにj+1をセ
ットし(n103)、タイミングテーブルTTを参照し
てST(j)−ST(j−1)をタイマにセットする
(n104)。次にこの波形データを再生する発音チャ
ンネルを割り当て、そのチャンネル番号を発音チャンネ
ルレジスタCHxにセットする(n105)。音源のC
Hxに該波形データの再生準備を行い(n106)、音
源のCHxに対してノートオン信号を送出する(n10
7)。
First, at n102, a note-off signal is emitted to the sound channel CHx of the sound source 23 to stop the currently sounding note, and then j + 1 is set in the reproduced note number register j (n103), and the timing table TT is referred to. Then, ST (j) -ST (j-1) is set in the timer (n104). Next, a tone generation channel for reproducing the waveform data is allocated, and the channel number is set in a tone generation channel register CHx (n105). Sound source C
Hx prepares for reproduction of the waveform data (n106), and sends a note-on signal to CHx of the sound source (n10).
7).

【0042】このn102〜n107の処理により、分
割ポイントで分割された各部分波形データが、割り込み
が発生する毎に1つずつ録音した時の速度で再生され
る。
By the processing of n102 to n107, each partial waveform data divided at the division point is reproduced at the speed at which the data was recorded one by one every time an interrupt occurs.

【0043】一方、n110では再生処理が終了したた
め、タイマ14のカウントを停止し、音源23のCHx
に対してノートオフ信号を送出する(n111)。次に
演奏終了であるため再生モードフラグPMに0をセット
してリターンする(n112)。
On the other hand, in n110, since the reproduction process has been completed, the timer 14 stops counting and the
(N111). Next, since the performance has ended, the reproduction mode flag PM is set to 0 and the routine returns (n112).

【0044】上記実施例では、ある分割区間の波形のス
タート(ノートオン)時に、前の区間の波形にノートオ
フをかけていたが、ノートオフのタイミングは次の区間
のノートオンとは独立に制御するようにしてもよい。例
えば、ノートオンから所定時間後にノートオフをする等
の方法がある。
In the above embodiment, note-off is applied to the waveform of the previous section at the start (note-on) of the waveform of a certain divided section, but the note-off timing is independent of the note-on of the next section. You may make it control. For example, there is a method of performing note-off after a predetermined time from note-on.

【0045】上記実施例では、波形データを録音時間よ
りも長く再生する場合には一部区間をループするように
しているが、打楽器等の減衰系の楽器の波形データの場
合にはループせずに減衰させるようにしてもよい。
In the above embodiment, when the waveform data is reproduced for a longer time than the recording time, a loop is performed in a partial section. However, in the case of the waveform data of an attenuated musical instrument such as a percussion instrument, the loop is not performed. May be attenuated.

【0046】実施例ではタップポイントを微調整して分
割位置を適正化しているが、ほかのテーブルのデータ、
例えばスタートタイミングST等を微調整するようにし
てもよい。
In the embodiment, the tap point is finely adjusted to optimize the division position.
For example, the start timing ST and the like may be finely adjusted.

【0047】再生時間の指定は、時間の単位で直接指定
してもよく、また、記録時間に対する再生時間の比率に
よって指定するようにしてもよい。
The reproduction time may be specified directly in units of time, or may be specified by the ratio of the reproduction time to the recording time.

【0048】再生時間が記録時間よりも長い場合は、当
該音符を読み出したのち次の音符の再生を開始するまで
再生を休止してもよく、該記録範囲の所定区間を繰り返
して(ループして)再生するようにしてもよい。減衰系
の楽音の場合には再生を休止するのが好ましく、持続系
の楽音の場合にはループすることが好ましい。したがっ
て、再生しようとする波形データに対応させてそのいず
れかを選択するようにすればよい。
When the reproduction time is longer than the recording time, the reproduction may be stopped until the reproduction of the next note is started after the note is read, and a predetermined section of the recording range is repeated (looped). ) It may be reproduced. It is preferable that the reproduction be paused in the case of an attenuated tone, and that the loop be performed in the case of a sustained tone. Therefore, any one of them may be selected according to the waveform data to be reproduced.

【0049】また、上記実施例では、全波形データの再
生時間Txを設定することにより、各音符の再生時間を
比例配分的に割り出しているが、各音符の再生時間を独
立して設定できるようにしてもよい。
Further, in the above embodiment, the reproduction time of each note is determined in proportion to the reproduction time Tx of all the waveform data, but the reproduction time of each note can be set independently. It may be.

【0050】なお、本発明は、複数パートの波形データ
が同時に記録されるマルチトラックレコーディングにも
適用することができ、この場合には、各トラック毎に、
別の発音チャンネルで発音させ、波形データの分割も独
立してできるようにすればよい。また、複数パートがミ
キシングされた波形データに適用する場合には、波形デ
ータを周波数帯別に分離し、帯域毎に波形データを分割
を行えばよい。
The present invention can also be applied to multi-track recording in which waveform data of a plurality of parts are recorded simultaneously. In this case, for each track,
What is necessary is to make it generate | occur | produce by another sounding channel, and to divide waveform data independently. When applying to waveform data in which a plurality of parts are mixed, the waveform data may be separated for each frequency band, and the waveform data may be divided for each band.

【0051】さらに上記実施例では、本発明を楽音信号
をディジタル化した波形データに適用した例を示した
が、楽音信号をアナログのまま記録している装置につい
ても適用することができる。
Further, in the above-described embodiment, an example has been shown in which the present invention is applied to waveform data obtained by digitizing a tone signal. However, the present invention can also be applied to a device in which a tone signal is recorded as analog.

【0052】[0052]

【発明の効果】以上のようにこの発明によれば、各音符
波形データ記憶範囲を指示し、再生時間指定過程によ
って指定された再生時間または伸縮比で各音符波形デー
一定速度(記録時と同じ速度で再生するようにし
たことにより、各音符の波形(音質,ピッチ)はそのま
まで、再生時間のみ異ならせることができる。また、ピ
ッチチェンジャ等が不要になるため、装置の構成を簡略
にすることができる。
As described above, according to the present invention, each note
Instructing a storage range of the waveform data, each note waveform data in the specified I <br/> by the playback time designated Process reproduction time or stretch ratio
Since the data is reproduced at a constant speed (the same speed as at the time of recording ) , only the reproduction time can be changed while the waveform (sound quality and pitch) of each note remains unchanged. Further, since a pitch changer or the like is not required, the configuration of the apparatus can be simplified.

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

【図1】この発明の実施例である楽音再生装置のブロッ
ク図
FIG. 1 is a block diagram of a musical sound reproducing device according to an embodiment of the present invention;

【図2】同楽音再生装置に記憶される波形データの分割
方式を示す図
FIG. 2 is a diagram showing a division method of waveform data stored in the musical sound reproducing device.

【図3】同波形データの再生タイミングの例を示す図FIG. 3 is a diagram showing an example of a reproduction timing of the waveform data.

【図4】同楽音再生装置のRAMに設定される各種テー
ブルを示す図
FIG. 4 is a view showing various tables set in a RAM of the musical sound reproducing apparatus.

【図5】同楽音再生装置の動作を示すフローチャートFIG. 5 is a flowchart showing the operation of the musical sound reproducing device.

【図6】同楽音再生装置の動作を示すフローチャートFIG. 6 is a flowchart showing the operation of the musical sound reproducing device.

【図7】同楽音再生装置の動作を示すフローチャートFIG. 7 is a flowchart showing the operation of the musical sound reproducing device.

【図8】同楽音再生装置の動作を示すフローチャートFIG. 8 is a flowchart showing the operation of the musical sound reproducing device.

【図9】同楽音再生装置の動作を示すフローチャートFIG. 9 is a flowchart showing the operation of the musical sound reproducing device.

【図10】同楽音再生装置の動作を示すフローチャートFIG. 10 is a flowchart showing the operation of the musical sound reproducing device.

【図11】同楽音再生装置の動作を示すフローチャートFIG. 11 is a flowchart showing the operation of the musical sound reproducing device.

【図12】同楽音再生装置の動作を示すフローチャートFIG. 12 is a flowchart showing the operation of the musical sound reproducing device.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 形記憶手段に記憶された連続した複数
の音符列に相当する波形データ中の各音符に対応する
符波形データの記憶範囲をそれぞれ指示するデータを出
力する範囲指示過程と、前記波形データ再生時間もしくは再生時間の伸縮
指定する再生時間指定過程と、 該再生時間指定過程によって指定される再生時間もしく
は再生時間の伸縮比に基づいて各音符波形データの再生
開始を順次指示するタイミング発生過程と、 該再生開始指示に対応した前記範囲指示過程指示する
前記記憶範囲に基づいて、前記音符波形データを一定の
再生速度で読み出し、読み出された音符波形データに基
づいて楽音を生成する再生過程と、 を含むことを特徴とする楽音再生方法
1. A plurality of successive stored in waveform memory means
Sound corresponding to each note in the waveform data corresponding to the note sequence
Outputs data indicating the storage range of the note waveform data.
And ranges instruction process of force, the playback time designated process of specifying a stretch ratio of playback time or playback time of the waveform data, lay also reproduction time specified by the reproduction time specifying process
Instructs the timing generation process and the range instruction process corresponding to the reproduction start command for sequentially instructing a start of reproduction of each note waveform data on the basis of the expansion ratio of the reproduction time
The storage range and have based, reads the note waveform data at a constant reproduction speed, read and playback process of generating a musical tone based on the musical note waveform data, tone reproduction method, which comprises a.
【請求項2】 記範囲指示過程前記各音符波形デ
ータの記憶範囲として前記波形記憶手段上の前記各音符
波形データに対応するアドレスを出力することを特徴と
する請求項1に記載の楽音再生方法
2. A front above range instruction process, the each note waveform data
Wherein each note on the waveform storage means as a storage range over data
The feature is to output the address corresponding to the waveform data.
The method for reproducing a musical tone according to claim 1.
【請求項3】 前記タイミング発生過程が前記再生時間
指定過程の指定に応じて前記波形データの録音時間と再
生時間の比を生成し、該比に応じて各音符波形データの
再生開始タイミングを比例配分的に変更し、各音符波形
データの前記再生開始を指示することを特徴とする請求
項1記載の楽音再生方法。
3. The reproduction method according to claim 2, wherein the timing generation step includes the reproduction time.
The recording time of the waveform data and the
Generates the ratio of the raw time, and generates each note waveform data according to the ratio.
Change the playback start timing proportionally
Instructing the reproduction start of the data
Item 1. The tone reproduction method according to Item 1.
【請求項4】 演奏された楽音の波形データを記憶する
波形記憶過程と、 該波形データを、演奏された各音符に対応する音符波形
データに分解する波形分解過程と、 前記波形データの再生時間の伸縮を指示する指示過程
と、 該再生時間指示過程の指示に応じて各音符波形の再生タ
イミングを順次発生するタイミング発生過程と、 該再生タイミングの発生に応じて、対応する該音符波形
データを一定の再生速度で読み出し、読み出された音符
波形データに基づいて楽音を再生する再生過程と、 を備えたことを特徴とする楽音再生方法。
4. The waveform data of a played musical tone is stored.
A waveform storing process, and storing the waveform data in a note waveform corresponding to each played note.
Instructing a waveform decomposing process of decomposing the data into data, and expanding and contracting the reproduction time of the waveform dataInstruction process
A playback timer for each note waveform according to the instruction in the playback time instruction process.
A timing generating step of sequentially generating the timing, and a corresponding note waveform corresponding to the occurrence of the reproduction timing.
Reads data at a constant playback speed and reads the read notes
A reproduction method for reproducing a musical tone based on waveform data, comprising:
【請求項5】 前記波形分解過程、ユーザが波形を分
解するタイミングを指示するタイミング指示過程を含
み、前記波形データを再生中にこの指示されたタイミン
グに基づいて前記波形データを前記音符波形データに分
解することを特徴とする請求項4記載の楽音再生方法
Wherein said waveform degradation process, minute user waveform
5. The musical tone reproduction according to claim 4, further comprising a timing instruction step of instructing a timing of disassembling, wherein the waveform data is decomposed into the note waveform data based on the instructed timing while reproducing the waveform data. How .
【請求項6】 前記再生過程がある音符波形データ
読出再生中に、前記タイミング発生過程が次の音符波形
データ再生を指示した場合、再生中の前記ある音符波
形データの減衰を開始しつつ該次の音符波形データの読
出再生を開始することを特徴とする請求項1乃至請求項
記載の楽音再生方法
Wherein said regeneration process, a certain musical note waveform data during read reproduction, the timing generation process next note waveform
When data reproduction is instructed, the certain note wave being reproduced is
Claims 1 to, characterized in that to start reading playback of notes waveform data of said next while starts to decay shape data
5. The tone reproduction method according to 5 .
【請求項7】 前記再生過程ある音符波形データ
一通り読出再生した後に前記タイミング発生過程が次の
音符波形データ再生を指示する場合、少なくとも前記
次の音符波形データ再生が開始するまでの期間、前記
ある音符波形データのうち少なくとも一部繰り返し読
出再生することを特徴とする請求項1乃至請求項5記載
の楽音再生方法
Wherein said reproduction process, said timing generating process certain notes waveform data after reading reproduced one way is the following
If an instruction to reproduce the musical note waveform data, at least the next note waveform period until data reproduction is started, 1 to claim, characterized in that read repeatedly reproduced at least some of the notes waveform data in the The tone reproduction method according to claim 5 .
【請求項8】 前記再生過程が、ある音符波形データを
一通り読出再生した後に前記タイミング発生過程が次の
音符波形データの再生を指示する場合、前記ある音符波
形データが減衰音であれば再生を休止し、前記ある音符
波形データが持続音であれば前記次の音符波形データの
再生が開始するまでの間前記ある音符波形データの少な
くとも一部を繰り返し読出再生することを特徴とする請
求項1乃至請求項5記載の楽音再生方法。
8. The reproducing step includes the steps of:
After reading and reproducing the data, the timing generation process proceeds to the next step.
When instructing reproduction of the note waveform data, the note waveform
If the shape data is a decay sound, the reproduction is paused and the certain note
If the waveform data is a continuous tone, the next note waveform data
Until playback starts, a small amount of the note waveform data
At least a part of which is repeatedly read and reproduced.
6. The tone reproduction method according to claim 1 to claim 5.
JP6118274A 1994-05-31 1994-05-31 Music playback method Expired - Lifetime JP2956477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6118274A JP2956477B2 (en) 1994-05-31 1994-05-31 Music playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6118274A JP2956477B2 (en) 1994-05-31 1994-05-31 Music playback method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP10174451A Division JP3090123B2 (en) 1998-06-22 1998-06-22 Waveform generation method
JP09774699A Division JP3189825B2 (en) 1999-04-05 1999-04-05 Music playback method

Publications (2)

Publication Number Publication Date
JPH07325580A JPH07325580A (en) 1995-12-12
JP2956477B2 true JP2956477B2 (en) 1999-10-04

Family

ID=14732598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6118274A Expired - Lifetime JP2956477B2 (en) 1994-05-31 1994-05-31 Music playback method

Country Status (1)

Country Link
JP (1) JP2956477B2 (en)

Also Published As

Publication number Publication date
JPH07325580A (en) 1995-12-12

Similar Documents

Publication Publication Date Title
EP2680255B1 (en) Automatic performance technique using audio waveform data
JP4274152B2 (en) Music synthesizer
US6307141B1 (en) Method and apparatus for real-time beat modification of audio and music signals
US10083682B2 (en) Content data generating device, content data generating method, sound signal generating device and sound signal generating method
JP6019803B2 (en) Automatic performance device and program
US4419918A (en) Synchronizing signal generator and an electronic musical instrument using the same
JP3090123B2 (en) Waveform generation method
JP3189825B2 (en) Music playback method
JP2956477B2 (en) Music playback method
JP3654117B2 (en) Expansion and contraction method of musical sound waveform signal in time axis direction
US5153362A (en) Electronic musical instrument having pan control function
JP2590612B2 (en) Performance data recording device
US7112736B2 (en) Electronic musical instrument
JP6528752B2 (en) Tone reproduction apparatus, tone reproduction method, program and electronic musical instrument
JP3033357B2 (en) Effect giving device
JP2851075B2 (en) Automatic performance device
JP5359203B2 (en) Music processing apparatus and program
JP4236570B2 (en) Waveform playback device and waveform playback program
JP2957204B2 (en) Electronic musical instrument
JP2522374B2 (en) Electronic musical instrument
JP4162766B2 (en) Performance information generating apparatus and automatic performance apparatus
JPH04147193A (en) Performance data recording and reproducing device
JP2757567B2 (en) Automatic performance device
JP3407324B2 (en) Performance data recording device
JP3282605B2 (en) Automatic performance device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090723

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090723

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100723

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100723

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120723

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 14

EXPY Cancellation because of completion of term