[go: up one dir, main page]

JP2001022350A - Waveform reproducing device - Google Patents

Waveform reproducing device

Info

Publication number
JP2001022350A
JP2001022350A JP11194387A JP19438799A JP2001022350A JP 2001022350 A JP2001022350 A JP 2001022350A JP 11194387 A JP11194387 A JP 11194387A JP 19438799 A JP19438799 A JP 19438799A JP 2001022350 A JP2001022350 A JP 2001022350A
Authority
JP
Japan
Prior art keywords
waveform
timing
musical
beat
time
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.)
Granted
Application number
JP11194387A
Other languages
Japanese (ja)
Other versions
JP4170524B2 (en
Inventor
Takehiko Furukawa
剛彦 古川
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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP19438799A priority Critical patent/JP4170524B2/en
Publication of JP2001022350A publication Critical patent/JP2001022350A/en
Application granted granted Critical
Publication of JP4170524B2 publication Critical patent/JP4170524B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a waveform reproducing device which reproduces waveforms to be matched with the musical timing of the music played by an automatic playing device. SOLUTION: MIDI signals are inputted from a MIDI interface 16 and a CPU 12 detects musical timing, that is repeatedly generated (a leading head of rhythm). Having received a reading start instruction from an operator group 15, the waveform data stored in a phrase data ROM 11 are read and waveforms are reproduced so that the musical timing position in the waveforms represented by timing data stored in the ROM 11 is matched with the musical timing detected by the CPU 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶された波形デ
ータを読み出して波形を再生する波形再生装置に関す
る。
The present invention relates to a waveform reproducing apparatus for reading stored waveform data and reproducing a waveform.

【0002】[0002]

【従来の技術】従来より、波形再生装置において、外部
もしくは内部に備えられた自動演奏装置により楽曲の演
奏(伴奏等)が行なわれている途中から、その楽曲の拍
や小節等の音楽的タイミングに一致するように、鍵盤等
の操作子を操作して波形データを読み出して波形を再生
するということが行なわれている。
2. Description of the Related Art Conventionally, in a waveform reproducing apparatus, a musical timing such as a beat or a bar of a musical piece is performed while a musical piece (accompaniment or the like) is being performed by an external or internal automatic musical instrument. It has been practiced to operate an operator such as a keyboard to read out waveform data and reproduce a waveform so as to match the above.

【0003】[0003]

【発明が解決しようとする課題】ここで、リズム感がな
い(拍や小節の概念がなくテンポをもっていない)波形
データのある一部を読み出して、自動演奏装置で演奏さ
れる楽曲の拍や小節の先頭に一致させるように波形を再
生したい場合がある。例えば、ドラムロールの次にシン
バル音が記憶されている波形データを読み出して波形を
再生したい場合、操作子で波形再生の指示を行なうと、
単純にドラムロールが発音し次いでシンバル音が発生す
る。このため、自動演奏装置で演奏されている楽曲の途
中で、最初にドラムロールが発音し、シンバル音が次の
小節の先頭で発生するように操作することは困難であ
る。
Here, a part of waveform data having no sense of rhythm (no concept of beats or bars and no tempo) is read out, and beats and bars of music played by the automatic performance device are read out. You may want to play back the waveform so that it matches the beginning of the waveform. For example, if the user wants to read out waveform data in which a cymbal sound is stored next to a drum roll and play back the waveform, an instruction to play back the waveform with an operator gives
The drum roll simply sounds and then a cymbal sound is generated. For this reason, it is difficult to operate so that the drum roll sounds first and the cymbal sound is generated at the beginning of the next bar in the middle of the music being played by the automatic performance device.

【0004】また、リズム感はある(拍や小節の概念が
ありテンポをもっている)が、先頭から最初の拍のタイ
ミングまでにプリビートと称する部分を有する波形デー
タの拍・小節のタイミングと、自動演奏装置で演奏され
る楽曲の拍・小節のタイミングとが一致するように、そ
の波形データを読み出して波形を再生したい場合があ
る。しかし、プリビートの再生が終了した時点で、波形
データの最初の拍のタイミングが、自動演奏装置で演奏
される楽曲の拍のタイミングに一致するように、波形再
生の開始を指示することは困難である。
[0004] In addition, although there is a sense of rhythm (the concept of beats and measures and the tempo exists), the timing of the beats and measures of the waveform data having a portion called a prebeat from the beginning to the timing of the first beat, the automatic performance There is a case where it is desired to read out the waveform data and reproduce the waveform so that the timing of the beat / bar of the music played by the device matches. However, it is difficult to instruct the start of waveform reproduction so that the timing of the first beat of the waveform data coincides with the timing of the beat of the music played by the automatic performance device at the time when the prebeat reproduction is completed. is there.

【0005】本発明は、上記事情に鑑み、自動演奏装置
等で演奏される楽曲の音楽的タイミングに一致するよう
に波形を再生することができる波形再生装置を提供する
ことを目的とする。
The present invention has been made in view of the above circumstances, and has as its object to provide a waveform reproducing apparatus capable of reproducing a waveform so as to match the musical timing of music played by an automatic performance apparatus or the like.

【0006】[0006]

【課題を解決するための手段】上記目的を達成する本発
明の波形再生装置は、 (1)波形を表す波形データを、その波形中の音楽的タ
イミング位置を示すタイミングデータとともに記憶する
記憶手段 (2)上記記憶手段からの上記波形データの読出開始を
指示する読出開始指示手段 (3)繰り返し発生する音楽的タイミングを検出するタ
イミング検出手段 (4)上記読出開始指示手段からの読出開始指示を受け
て、上記タイミングデータが表す波形中の音楽的タイミ
ング位置が上記タイミング検出手段により検出された音
楽的タイミングに一致するように、上記記憶手段に記憶
された波形データを読み出して波形を再生する波形再生
手段を備えたことを特徴とする。
According to the present invention, there is provided a waveform reproducing apparatus comprising: (1) storage means for storing waveform data representing a waveform together with timing data indicating a musical timing position in the waveform; 2) read start instructing means for instructing start of reading of the waveform data from the storage means; (3) timing detecting means for detecting repetitive musical timing; and (4) receiving a read start instruction from the read start instructing means. Waveform reproducing means for reading out the waveform data stored in the storage means and reproducing the waveform so that the musical timing position in the waveform represented by the timing data coincides with the musical timing detected by the timing detecting means. Means are provided.

【0007】本発明の波形再生装置は、波形中の音楽的
タイミング位置が上記タイミング検出手段により検出さ
れた音楽的タイミングに一致するように、上記記憶手段
に記憶された波形データを読み出して波形を再生するも
のであるため、例えば、ドラムロールの次にシンバル音
が記憶されている波形データを読み出して波形を再生し
たい場合、自動演奏装置で演奏されている楽曲の途中
で、最初にドラムロールを表すデータを読み出し、次の
小節の先頭に一致するようにシンバル音を表すデータを
読み出すことにより、自動演奏装置で演奏されている楽
曲の途中で、最初にドラムロールが発音し、次の小節の
先頭でシンバル音を発音させることができる。また、プ
リビートを有する波形データ中の最初の拍のタイミング
が、自動演奏装置で演奏される楽曲の拍のタイミングに
一致するように、予めプリビートの部分が読み出される
ため、プリビートの再生が終了した時点で、上記タイミ
ングどうしを一致させるような困難な操作を行なう必要
はない。
The waveform reproducing apparatus according to the present invention reads out the waveform data stored in the storage means and converts the waveform so that the musical timing position in the waveform coincides with the musical timing detected by the timing detecting means. For example, if you want to read out waveform data in which cymbal sounds are stored next to a drum roll and play back the waveform, the drum roll must first be played in the middle of a song being played by the automatic performance device. By reading the data representing the cymbal sound so as to match the beginning of the next measure, the drum roll sounds first in the middle of the music being played by the automatic performance device, and the next measure A cymbal sound can be produced at the beginning. The pre-beat portion is read out in advance so that the timing of the first beat in the waveform data having the pre-beat coincides with the timing of the beat of the music played by the automatic performance device. Therefore, it is not necessary to perform a difficult operation for matching the timings.

【0008】また、本発明は、波形中に複数のタイミン
グ位置が設定されている場合、それら複数のタイミング
位置のうちのいずれか1つのタイミング位置が、上記検
出された音楽的タイミングのいずれかに一致するように
波形再生を開始するものであればよい。さらに、本発明
では、波形を最初から再生するものに限定されず、例え
ば波形の途中から、予め演奏されている楽曲の音楽的タ
イミングに波形中のタイミング位置を一致させるように
して再生してもよい。
Further, according to the present invention, when a plurality of timing positions are set in a waveform, any one of the plurality of timing positions is set to one of the detected musical timings. What is necessary is just to start waveform reproduction so that they match. Furthermore, in the present invention, the waveform is not limited to the waveform that is reproduced from the beginning. For example, the waveform may be reproduced from the middle of the waveform so that the timing position in the waveform matches the musical timing of the music that has been played in advance. Good.

【0009】ここで、上記波形再生手段は、上記読出開
始指示手段からの読出開始指示を受けて、上記タイミン
グデータが表す波形中の音楽的タイミング位置を、その
読出開始指示を受けたタイミング以降の上記タイミング
検出手段により最初に検出される音楽的タイミングに一
致させた波形再生が可能か否かを判定し、その判定結果
に応じて、その波形中の音楽的タイミング位置が、それ
ぞれ、その最初に検出される音楽的タイミングに一致す
るように、あるいはその最初に検出される音楽的タイミ
ングよりも後に検出される音楽的タイミングに一致する
ように、波形を再生するものであることが好ましい。
The waveform reproducing means receives the read start instruction from the read start instructing means, and changes the musical timing position in the waveform represented by the timing data to a time after the timing at which the read start instruction is received. It is determined whether or not the waveform reproduction matched to the musical timing detected first by the timing detecting means is possible, and according to the result of the determination, the musical timing positions in the waveform are respectively set at the beginning. Preferably, the waveform is reproduced so as to match the detected musical timing, or to match the musical timing detected after the first detected musical timing.

【0010】このような波形再生手段を備えると、プリ
ビートの時間の長短や読出開始指示のタイミングにかか
わらず、どの波形の音楽的タイミング位置から検出され
た音楽的タイミングに一致するように、波形が再生され
る。尚、ここでいう「後に検出される音楽的タイミン
グ」とは、最初に検出される音楽的タイミング以降のも
のであればいずれの音楽的タイミングであってもよい
が、最初に検出される音楽的タイミングの直後に検出さ
れる音楽的タイミングを採用して波形を再生するのが望
ましい。
With such a waveform reproducing means, regardless of the length of the pre-beat time and the timing of the read start instruction, the waveform is adjusted so that the waveform coincides with the musical timing detected from the musical timing position of any waveform. Will be played. Note that the “musical timing detected later” may be any musical timing as long as it is after the musical timing detected first, but the musical timing detected first is It is desirable to reproduce the waveform using the musical timing detected immediately after the timing.

【0011】また、上記記憶手段に記憶された、波形中
の音楽的タイミング位置を示すタイミングデータが、波
形中の離散的な複数の音楽的タイミング位置を示すタイ
ミングデータであって、上記波形再生手段は、上記記憶
手段に記憶された波形データが表す波形を、上記タイミ
ングデータが表す、波形中の複数の音楽的タイミング位
置それぞれが上記タイミング検出手段により順次検出さ
れる複数の音楽的タイミングそれぞれに一致するように
時間軸方向に圧縮あるいは伸長する手段を含むものであ
ることも好ましい態様である。
The timing data indicating the musical timing position in the waveform stored in the storage means is timing data indicating a plurality of discrete musical timing positions in the waveform. Represents a waveform represented by the waveform data stored in the storage means, and a plurality of musical timing positions in the waveform represented by the timing data respectively correspond to a plurality of musical timings sequentially detected by the timing detecting means. It is also a preferred embodiment to include means for compressing or expanding in the time axis direction.

【0012】波形再生手段が、このような時間軸方向に
圧縮あるいは伸長する手段を含むものであると、圧縮処
理あるいは伸長処理される波形中の音楽的タイミング位
置が、自動演奏装置で演奏される楽曲の音楽的タイミン
グに一致するように、波形を再生することができる。
If the waveform reproducing means includes such means for compressing or expanding in the direction of the time axis, the musical timing position in the waveform to be compressed or expanded is used to determine the musical timing of the music played by the automatic performance device. The waveform can be reproduced to match the musical timing.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施形態について
説明する。
Embodiments of the present invention will be described below.

【0014】図1は、本発明の一実施形態の波形再生装
置を含む電子楽器のブロック図である。
FIG. 1 is a block diagram of an electronic musical instrument including a waveform reproducing apparatus according to one embodiment of the present invention.

【0015】図1に示す電子楽器には、本実施形態の波
形再生装置100と、シーケンサ200と、MIDI音
源300と、混合器400と、増幅器500と、スピー
カ600とが備えられている。
The electronic musical instrument shown in FIG. 1 includes a waveform reproducing apparatus 100 according to the present embodiment, a sequencer 200, a MIDI sound source 300, a mixer 400, an amplifier 500, and a speaker 600.

【0016】シーケンサ200は、MIDI信号のうち
の、後述するスタートメッセージFAおよびタイミング
クロックF8を波形再生装置100に出力する。タイミ
ングクロックF8は、シーケンサ200による演奏が停
止している状態であっても波形再生装置100に出力さ
れ続ける。
The sequencer 200 outputs a start message FA and a timing clock F8 to be described later among the MIDI signals to the waveform reproducing apparatus 100. The timing clock F8 continues to be output to the waveform reproducing device 100 even when the performance by the sequencer 200 is stopped.

【0017】MIDI音源300は、シーケンサ200
からの演奏情報に基づいてオーディオ波形を出力する。
The MIDI sound source 300 includes a sequencer 200
An audio waveform is output based on the performance information from.

【0018】波形再生装置100は、詳細は後述する
が、鍵盤等の読出開始指示手段により波形データの読出
開始が指示された場合に、上記スタートメッセージFA
およびタイミングクロックF8に基づいて音楽的タイミ
ング(ここでは拍の先頭)を検出し、予め記憶された波
形データが表す波形中の音楽的タイミング位置が、検出
された音楽的タイミングに一致するように、波形データ
を読み出してオーディオ波形を再生する。
As will be described in detail later, the waveform reproducing apparatus 100 receives the start message FA when reading of waveform data is instructed by a reading start instructing means such as a keyboard.
And the musical timing (here, the beginning of the beat) is detected based on the timing clock F8, and the musical timing position in the waveform represented by the waveform data stored in advance is matched with the detected musical timing. Read the waveform data and play the audio waveform.

【0019】混合器400は、MIDI音源300から
出力されたオーディオ波形と、波形再生装置100から
出力されたオーディオ波形とを混合(ミックス)して、
増幅器500に向けて出力する。
The mixer 400 mixes (mixes) the audio waveform output from the MIDI sound source 300 with the audio waveform output from the waveform reproducing device 100.
Output to amplifier 500.

【0020】増幅器500は、混合器400からのオー
ディオ波形を増幅する。
The amplifier 500 amplifies the audio waveform from the mixer 400.

【0021】スピーカ600は、増幅器500で増幅さ
れたオーディオ波形を空間に音として出力する。
The speaker 600 outputs the audio waveform amplified by the amplifier 500 to a space as sound.

【0022】図2は、図1に示す波形再生装置の構成図
である。
FIG. 2 is a block diagram of the waveform reproducing apparatus shown in FIG.

【0023】図1に示す波形再生装置100には、フレ
ーズデータROM11と、CPU12と、プログラムR
OM13と、ワ―キングRAM14と、操作子群15
と、MIDIインターフェース16と、D/A変換器1
7とが備えられている。これらフレーズデータROM1
1,CPU12,プログラムROM13,ワ―キングR
AM14,操作子群15,MIDIインターフェース1
6,D/A変換器17は、バス18により相互に接続さ
れている。
The waveform reproducing apparatus 100 shown in FIG. 1 has a phrase data ROM 11, a CPU 12, a program R
OM 13, working RAM 14, operator group 15
, MIDI interface 16 and D / A converter 1
7 are provided. These phrase data ROM1
1, CPU 12, program ROM 13, working R
AM 14, operator group 15, MIDI interface 1
6, the D / A converter 17 is mutually connected by a bus 18.

【0024】フレーズデータROM11には、波形を表
す波形データが、その波形中の音楽的タイミング位置を
示すタイミングデータとともに記憶されている。
The phrase data ROM 11 stores waveform data representing a waveform together with timing data indicating a musical timing position in the waveform.

【0025】プログラムROM13には、波形再生装置
100全体の制御を行なうためのプログラムが格納され
ている。
The program ROM 13 stores a program for controlling the entire waveform reproducing apparatus 100.

【0026】ワ―キングRAM14には、CPU12が
種々の処理を実行するための作業領域等が備えられてい
る。
The working RAM 14 is provided with a work area for the CPU 12 to execute various processes.

【0027】操作子群15には、フレーズデータROM
11からの波形データの読出開始を指示する、本発明に
いう読出開始指示手段が備えられている。
The operator group 15 includes a phrase data ROM
A read start instructing means according to the present invention for instructing the start of reading of waveform data from the memory 11 is provided.

【0028】MIDIインターフェース16は、図1に
示すシーケンサ200からスタートメッセージFAおよ
びタイミングクロックF8を入力し、バス18を介して
CPU12に伝達する。
The MIDI interface 16 receives a start message FA and a timing clock F 8 from the sequencer 200 shown in FIG. 1 and transmits them to the CPU 12 via the bus 18.

【0029】CPU12は、プログラムROM13に格
納されたプログラムを読み出して実行することにより、
この図1に示す波形再生装置100全体の制御を行な
う。また、このCPU12は、本発明にいうタイミング
検出手段の役割を担うものであり、具体的には、MID
Iインターフェース16を介してタイミングクロックF
8を入力して拍をカウントする拍カウンタの機能を有
し、この拍カウンタで、繰り返し発生する音楽的タイミ
ング(拍の先頭)を検出する。また、CPU12は、本
発明にいう波形再生手段の役割を担うものでもあり、読
出開始指示手段からの読出開始指示を受けて、フレーズ
データROM11に格納されたタイミングデータが表す
波形中の音楽的タイミング位置が、このCPU12によ
り検出された音楽的タイミングに一致するように、フレ
ーズデータROM11に格納された波形データを読み出
してディジタルの波形を再生する、D/A変換器17
は、CPU12で再生されたディジタルの波形をD/A
変換してアナログのオーディオ波形として、前述した図
1に示す増幅器500に向けて出力する。
The CPU 12 reads out and executes the program stored in the program ROM 13, thereby
The entire waveform reproducing apparatus 100 shown in FIG. 1 is controlled. The CPU 12 plays a role of a timing detecting means according to the present invention.
Timing clock F via I interface 16
It has the function of a beat counter that counts beats by inputting 8, and this beat counter detects the repetitive musical timing (head of beat). The CPU 12 also plays a role of a waveform reproducing means according to the present invention, and receives a read start instruction from the read start instruction means, and receives a musical timing in a waveform represented by the timing data stored in the phrase data ROM 11. A D / A converter 17 that reads the waveform data stored in the phrase data ROM 11 and reproduces a digital waveform so that the position matches the musical timing detected by the CPU 12.
Converts the digital waveform reproduced by the CPU 12 into D / A
The signal is converted and output as an analog audio waveform to the amplifier 500 shown in FIG.

【0030】図3は、フレーズデータROMに格納され
る波形データの構造を示す図である。
FIG. 3 is a diagram showing the structure of the waveform data stored in the phrase data ROM.

【0031】図3(a)に示す波形データ30には、そ
の波形データ30の先端に拍の先頭を表す第1マーク位
置31_1が設けられており、以下、順次、第2マーク
位置31_2,…,最終マーク位置31_nが設けられ
ている。これら第1マーク位置31_1,第2マーク位
置31_2,…,最終マーク位置31_nが、本発明に
いう音楽的タイミング位置に相当する。また、波形デー
タ30の後端には、この波形データ30の終了を示す波
形データ終了位置32も設けられている。
In the waveform data 30 shown in FIG. 3A, a first mark position 31_1 representing the beginning of a beat is provided at the leading end of the waveform data 30, and the second mark positions 31_2,. , Final mark position 31_n. The first mark position 31_1, the second mark position 31_2,..., The final mark position 31_n correspond to the musical timing position according to the present invention. At the rear end of the waveform data 30, a waveform data end position 32 indicating the end of the waveform data 30 is also provided.

【0032】一方、図3(b)に示す波形データ40に
は、先頭部分にプリビート43が設けられおり、このプ
リビート43が終了した時点から、図3(a)に示す波
形データ30と同様にして、順次、拍の先頭を表す第1
マーク位置41_1,第2マーク位置41_2,…,最
終マーク位置41_n、および波形データ40の終了を
示す波形データ終了位置42が設けられている。本実施
形態の波形再生装置100では、このような構造を持つ
波形データ30,40が取り扱われる。以下、詳細に説
明する。
On the other hand, in the waveform data 40 shown in FIG. 3B, a prebeat 43 is provided at the beginning, and from the time when the prebeat 43 ends, the waveform data 30 shown in FIG. And the first representing the beginning of the beat
A mark position 41_1, second mark positions 41_2, ..., a final mark position 41_n, and a waveform data end position 42 indicating the end of the waveform data 40 are provided. The waveform reproducing apparatus 100 of the present embodiment handles the waveform data 30 and 40 having such a structure. The details will be described below.

【0033】図4は、図3(a)に示す波形データが表
す波形を再生する様子を示す図である。
FIG. 4 is a diagram showing how the waveform represented by the waveform data shown in FIG. 3A is reproduced.

【0034】図4に示すビート情報には、複数の拍が刻
まれている。これら複数の拍は、スタートメッセージF
Aが入力された時点から、CPU12により実現される
拍カウンタに24個のタイミングクロックF8が入力さ
れる度に1つづつカウントされることにより検出され
る。
The beat information shown in FIG. 4 includes a plurality of beats. These plural beats correspond to the start message F
It is detected by counting one by one every time 24 timing clocks F8 are input to the beat counter realized by the CPU 12 from the time when A is input.

【0035】また、図4に示す時間t0は、1拍分のタ
イミングクロックF8の数(24個)に相当する時間で
ある。さらに、時間t1は、拍の先頭から読出開始指示
手段で読出開始指示されるまでのタイミングクロックF
8の数に相当する時間である。また、時間t2は、読出
開始が指示されてから波形データ30の読出しが開始さ
れるまでのタイミングクロックF8の数に相当する時間
である。
The time t0 shown in FIG. 4 is a time corresponding to the number (24) of the timing clock F8 for one beat. Further, the time t1 is the timing clock F from the beginning of the beat until the reading start instruction is given by the reading start instructing means.
This is the time corresponding to the number 8. The time t2 is a time corresponding to the number of the timing clocks F8 from when the reading start is instructed to when the reading of the waveform data 30 is started.

【0036】ここで、図4に示すビート情報における最
初の拍の先頭から時間t1経過後、読出開始指示手段
で、フレーズデータROM11に記憶された波形データ
30の読出開始が指示される。すると、時間t2経過
後、波形データ30の先頭を表す第1マーク位置31_
1が、ビート情報の2番目の拍の先頭に一致するよう
に、その波形データ30が読み出されて波形(シラブル
A)が再生される。
Here, after a lapse of time t1 from the beginning of the first beat in the beat information shown in FIG. 4, reading start instructing means instructs to start reading the waveform data 30 stored in the phrase data ROM 11. Then, after a lapse of time t2, the first mark position 31_ representing the head of the waveform data 30
The waveform data 30 is read out and the waveform (syllable A) is reproduced so that 1 coincides with the beginning of the second beat of the beat information.

【0037】次に、図3(b)に示す、プリビートが設
けられた波形データが表す波形を再生する様子につい
て、図5〜図8を参照して説明する。
Next, how to reproduce the waveform represented by the waveform data provided with the pre-beat shown in FIG. 3B will be described with reference to FIGS.

【0038】図5は、第1の時間を有するプリビートが
設けられた波形データが表す波形を再生する様子を示す
図である。
FIG. 5 is a diagram showing how a waveform represented by waveform data provided with a prebeat having a first time is reproduced.

【0039】図5に示す第1の時間t3は、時間t0
(1拍分のタイミングクロックF8の数(24個)に相
当する時間)から時間t1(ビート情報の最初の拍の先
頭から読出開始指示されるまでのタイミングクロックF
8の数に相当する時間)を引き算した時間以下(t3≦
t0−t1)の、比較的短い時間である。
The first time t3 shown in FIG.
(Time corresponding to the number (24) of timing clocks F8 for one beat) to time t1 (timing clock F8 from the beginning of the first beat of the beat information to the start of reading).
Less than the time obtained by subtracting the time corresponding to the number 8 (t3 ≦)
This is a relatively short time from t0 to t1).

【0040】ここで、ビート情報の最初の拍の先頭から
時間t1経過後、波形データ40の読出開始が指示され
る。すると、CPU12では、この読出開始指示を受け
て、プリビート43が終了した時点(拍の先頭を表す第
1マーク位置41_1)を、読出開始指示を受けたタイ
ミング以降であって、最初に検出されるビート情報の拍
(2番目の拍)の先頭に合わせたシラブルAの再生が可
能か否かが判定される。ここでは、プリビート43の時
間t3は、時間t0−t1以下であるため、この時間t
0−t1内でプリビート43を再生することができると
判定される。従って、ビート情報の2番目の拍の先頭に
第1マーク位置41_1が一致するように、先ず時間t
2経過後プリビート43が再生され、次いでシラブルA
が再生される。
Here, after a lapse of time t1 from the beginning of the first beat of the beat information, the start of reading the waveform data 40 is instructed. Then, in response to the read start instruction, the CPU 12 detects the end point of the prebeat 43 (the first mark position 41_1 representing the beginning of the beat) after the read start instruction is received, and first. It is determined whether or not syllable A can be reproduced at the beginning of the beat (second beat) of the beat information. Here, the time t3 of the prebeat 43 is equal to or less than the time t0-t1, and
It is determined that the prebeat 43 can be reproduced within 0-t1. Therefore, first the time t is set so that the first mark position 41_1 coincides with the beginning of the second beat of the beat information.
After two passes, the prebeat 43 is reproduced, and then syllable A
Is played.

【0041】図6は、第2の時間を有するプリビートが
設けられた波形データが表す波形を再生する様子を示す
図である。
FIG. 6 is a diagram showing how the waveform represented by the waveform data provided with the prebeat having the second time is reproduced.

【0042】この第2の時間t3は、時間t0から時間
t1を引き算した値を超える時間(t3>t0−t1)
である。
The second time t3 is a time (t3> t0-t1) exceeding a value obtained by subtracting the time t1 from the time t0.
It is.

【0043】図6に示すビート情報の最初の拍の先頭か
ら時間t1経過後、波形データ40の読出開始が指示さ
れる。すると、この読出開始の指示を受けて、プリビー
ト43が終了した時点(拍の先頭を表す第1マーク位置
41_1)を、読出開始指示を受けたタイミング以降で
あって、最初に検出されるビート情報の拍(2番目の
拍)の先頭に合わせたシラブルAの再生が可能か否かが
判定される。ここでは、プリビート43の時間t3は、
時間t0−t1を超える時間であるため、この時間t0
−t1内ではプリビート43を再生することはできず、
従ってビート情報の2番目の拍の先頭に合わせてシラブ
ルAを再生することは不可能であると判定される。そこ
で、ビート情報の3番目の拍の先頭に第1マーク位置4
1_1が一致するように、先ずビート情報の2番目の拍
の先頭から時間t2経過後プリビート43が再生され、
次いでシラブルAが再生される。
After a lapse of time t1 from the beginning of the first beat of the beat information shown in FIG. 6, the start of reading waveform data 40 is instructed. Then, in response to the read start instruction, the time when the pre-beat 43 ends (the first mark position 41_1 indicating the beginning of the beat) is changed to the beat information detected first after the read start instruction is received. It is determined whether or not syllable A can be reproduced at the beginning of the beat (second beat). Here, the time t3 of the prebeat 43 is
Since the time exceeds the time t0-t1, this time t0
The pre-beat 43 cannot be reproduced within -t1,
Therefore, it is determined that syllable A cannot be reproduced at the beginning of the second beat of the beat information. Therefore, the first mark position 4 is added at the beginning of the third beat of the beat information.
First, the prebeat 43 is reproduced after a lapse of time t2 from the beginning of the second beat of the beat information so that 1_1 matches.
Next, syllable A is reproduced.

【0044】図7は、第3の時間を有するプリビートが
設けられた波形データが表す波形を再生する様子を示す
図である。
FIG. 7 is a diagram showing how the waveform represented by the waveform data provided with the prebeat having the third time is reproduced.

【0045】第3の時間は、前述した図5に示す第1の
時間t3(t3≦t0−t1)に2拍分の時間が加算さ
れた時間である。
The third time is a time obtained by adding two beats to the first time t3 (t3 ≦ t0−t1) shown in FIG.

【0046】図7に示すビート情報の最初の拍の先頭か
ら時間t1経過後、波形データ40の読出開始が指示さ
れる。ここでは、プリビート43の時間は、第1の時間
t3(t3≦t0−t1)に2拍分の時間が加算された
時間であるため、ビート情報の4番目の拍の先頭に第1
マーク位置41_1が一致するように、先ずビート情報
の最初の拍における時間t2経過後から2番目,3番目
の拍にわたりプリビート43が再生され、次いでシラブ
ルAが再生される。
After a lapse of time t1 from the beginning of the first beat of the beat information shown in FIG. 7, the start of reading of waveform data 40 is instructed. Here, the time of the pre-beat 43 is a time obtained by adding a time for two beats to the first time t3 (t3 ≦ t0−t1), so that the first beat is added to the beginning of the fourth beat of the beat information.
First, the prebeat 43 is reproduced over the second and third beats after the elapse of the time t2 in the first beat of the beat information so that the mark position 41_1 coincides, and then the syllable A is reproduced.

【0047】図8は、第2の時間を有するプリビートが
設けられた波形データが表す波形を再生するにあたり、
図6に示す波形再生とは異なる波形再生の様子を示す図
である。
FIG. 8 shows the reproduction of the waveform represented by the waveform data provided with the prebeat having the second time.
FIG. 7 is a diagram illustrating a state of waveform reproduction different from the waveform reproduction illustrated in FIG. 6.

【0048】図8に示すプリビート43の時間は、1拍
分の時間t0から読出開始が指示されるまでの時間t1
を引き算した値を超える時間(前述した図6に示すプリ
ビート43の時間と同じ時間)である。図6では、プリ
ビート43の時間は、時間t0−t1を超える時間であ
るため、ビート情報の2番目の拍の先頭に合わせた波形
再生は不可能であると判定して、ビート情報の3番目の
拍の先頭に第1マーク位置41_1が一致するように、
シラブルAを再生したが、ここでは以下に説明するよう
にして、ビート情報の2番目の拍の先頭に第1マーク位
置41_1が一致するようにシラブルAを再生する。
The time of prebeat 43 shown in FIG. 8 is from time t0 for one beat to time t1 from when reading start is instructed.
(The same time as the pre-beat 43 shown in FIG. 6 described above). In FIG. 6, since the time of the pre-beat 43 exceeds the time t0-t1, it is determined that the waveform reproduction in synchronization with the beginning of the second beat of the beat information is impossible, and the third time of the beat information is determined. So that the first mark position 41_1 coincides with the beginning of the beat
Although syllable A is reproduced, syllable A is reproduced so that the first mark position 41_1 coincides with the beginning of the second beat of the beat information as described below.

【0049】読出開始指示がなされていない状態にあっ
ては、各拍内の経過時間が、1拍分の時間t0−プリビ
ート43の時間に一致する度に波形データが読み出され
ており、読み出されたデータを表す波形が音量レベル0
で出力されている。即ち、波形データは読み出されてい
るものの発音されていない状態にある。このような状態
において、次の拍までに読出開始指示がなされない場合
は、次の拍に移行した際に読み出しを停止し、次の拍内
の経過時間が、時間t0−プリビート43の時間に一致
したら再び最初から波形データを読み出すということが
繰り返される。
In the state where the reading start instruction is not issued, the waveform data is read every time the elapsed time in each beat coincides with the time of one beat t0-the time of prebeat 43. The waveform representing the output data is volume level 0
Is output. That is, the waveform data is in a state of being read but not being sounded. In such a state, if the reading start instruction is not given by the next beat, the reading is stopped when the next beat is shifted, and the elapsed time in the next beat is set to the time of time t0-prebeat 43. If they match, reading of waveform data from the beginning is repeated again.

【0050】ここで、次の拍までに読出開始指示がなさ
れた場合は、読み出されている波形データに所定のエン
ベロープを付与して発音させ、読出停止指示が行われる
まで波形データが順次読み出される。このようにして、
プリビート43の時間が、時間t0−t1を超える時間
であっても、図8に示すように時間t1の途中からビー
ト情報の最初の拍の終了に合わせてプリビート43の再
生が終了するように、即ちビート情報の2番目の拍の先
頭に第1マーク位置41_1が一致するように先ずプリ
ビート43が再生され、次いでシラブルAが再生され
る。
Here, when a reading start instruction is given by the next beat, a predetermined envelope is added to the read waveform data to generate a sound, and the waveform data is sequentially read out until a reading stop instruction is given. It is. In this way,
Even if the time of the pre-beat 43 exceeds the time t0-t1, the reproduction of the pre-beat 43 is completed from the middle of the time t1 to the end of the first beat of the beat information as shown in FIG. That is, the pre-beat 43 is reproduced first so that the first mark position 41_1 coincides with the head of the second beat of the beat information, and then the syllable A is reproduced.

【0051】図9は、図2に示す波形再生装置のメイン
ルーチンのフローチャートである。
FIG. 9 is a flowchart of a main routine of the waveform reproducing apparatus shown in FIG.

【0052】図2に示す波形再生装置100に電源が投
入されると、このメインルーチンが実行される。尚、こ
こでは、プリビートが設けられた波形データが表す波形
再生について説明する。先ず、ステップS11におい
て、波形データの読出アドレスの設定や、拍カウンタの
リセット等の初期設定を行ない、ステップS12に進
む。ステップS12では、プリビートの長さを表す、拍
カウンタに入力されるタイミングクロックF8の個数に
相当する時間t3を算出する。時間t3は、以下のよう
にして算出する。
When the power is turned on to the waveform reproducing apparatus 100 shown in FIG. 2, this main routine is executed. Here, the waveform reproduction represented by the waveform data provided with the prebeat will be described. First, in step S11, initial settings such as setting of a read address of waveform data and resetting of a beat counter are performed, and the process proceeds to step S12. In step S12, a time t3 representing the length of the prebeat and corresponding to the number of timing clocks F8 input to the beat counter is calculated. The time t3 is calculated as follows.

【0053】タイミングクロックF8の実時間=60
(sec)/TEMPO(bps)/24(sec) とする。また。
Actual time of timing clock F8 = 60
(Sec) / TEMPO (bps) / 24 (sec). Also.

【0054】プリビートの実時間=プリビートのサンプ
ル数×(1/サンプルレート)(sec) とする。
It is assumed that the actual time of the prebeat = the number of samples of the prebeat × (1 / sample rate) (sec).

【0055】さらに、プリビートに対するタイミングク
ロックF8の個数をt3’とすると、 t3’=プリビートの実時間/タイミングクロックF8
の実時間 となる。
Further, assuming that the number of timing clocks F8 for the prebeat is t3 ', t3' = real time of prebeat / timing clock F8
In real time.

【0056】 ここで、1)t3’<24の場合、T3=t3’ 2)t3’=0またはt3’=24の場合、T3=0 3)t3’>24の場合、T3=t3’/24の余り となる。上記T3(タイミングクロックF8の個数)を
時間に換算して、時間t3を算出する。
Here, 1) when t3 ′ <24, T3 = t3 ′ 2) When t3 ′ = 0 or t3 ′ = 24, T3 = 0 3) When t3 ′> 24, T3 = t3 ′ / The remainder is 24. T3 (the number of timing clocks F8) is converted into time to calculate time t3.

【0057】次に、ステップS13において、拍カウン
タの値CNTを‘0’(リセット)にする。さらに、ス
テップS14において、発音開始指示フラグVOICE
をオフ状態にする。この発音開始指示フラグVOICE
は、波形データの読出開始指示があってから発音を開始
するにあたり、波形データのプリビート時間が比較的短
い場合、その読出開始指示があった拍からプリビートの
発音を開始することを示すフラグである。次にステップ
S15に進む。ステップS15では、発音開始指示フラ
グVOICE2をオフ状態にする。この発音開始指示フ
ラグVOICE2は、波形データの読出開始指示があっ
てから発音を開始するにあたり、波形データのプリビー
ト時間が比較的長い場合、その読出開始指示があった拍
より後の拍からプリビートの発音を開始することを示す
フラグである。その後、このルーチンを終了する。
Next, in step S13, the value CNT of the beat counter is set to "0" (reset). Further, in step S14, a sound generation start instruction flag VOICE
To the off state. This sound generation start instruction flag VOICE
Is a flag indicating that when sound generation is started after a waveform data read start instruction is issued, if the pre-beat time of the waveform data is relatively short, the pre-beat sound generation is started from the beat for which the read start instruction was issued. . Next, the process proceeds to step S15. In step S15, the sound generation start instruction flag VOICE2 is turned off. When the sound generation is started after an instruction to start reading the waveform data is made, if the pre-beat time of the waveform data is relatively long, the sound generation start instruction flag VOICE2 indicates a pre-beat from the beat after the beat at which the read start instruction was issued. This is a flag indicating that pronunciation is to be started. Thereafter, this routine ends.

【0058】図10は、拍の先頭にタイミングクロック
F8を同期させるためのルーチンのフローチャートであ
る。
FIG. 10 is a flowchart of a routine for synchronizing the timing clock F8 with the beginning of a beat.

【0059】このルーチンは、前述した図9に示すメイ
ンルーチンに引き続いて実行される。先ず、ステップS
21において、MIDI信号のうちのスタートメッセー
ジFAが受信されたか否かが判定される。スタートメッ
セージFAが受信されたと判定された場合は、ステップ
S22に進み、拍カウンタの値CNTを‘0’にして、
このルーチンを終了する。一方、スタートメッセージF
Aが受信されていないと判定された場合は、そのままこ
のルーチンを終了する。
This routine is executed following the main routine shown in FIG. First, step S
At 21, it is determined whether a start message FA of the MIDI signal has been received. If it is determined that the start message FA has been received, the process proceeds to step S22, where the value CNT of the beat counter is set to “0”, and
This routine ends. On the other hand, start message F
If it is determined that A has not been received, this routine ends.

【0060】図11は、発音指示ルーチンのフローチャ
ートである。
FIG. 11 is a flowchart of a sound generation instruction routine.

【0061】このルーチンは、読出開始指示手段により
波形データが読み出されると実行されるルーチンであ
る。
This routine is executed when the waveform data is read by the reading start instructing means.

【0062】先ず、ステップS31において、発音指示
が行なわれたか否か(イベントがあるか否か)が判定さ
れる。発音指示が行なわれていないと判定された場合
は、何もせずこのルーチンを終了する。一方、発音指示
が行なわれていると判定された場合は、ステップS32
に進む。ステップS32では、t2=t0−t3−(C
NT)の演算を行なう。即ち、1拍のタイミングクロッ
クF8の数に相当する時間t0から、プリビート分のタ
イミングクロックF8の数に相当する時間t3および拍
カウンタの値に相当する時間(CNT)を引き算して、
読出指示されてからプリビートの再生が開始されるまで
のタイミングクロックF8の数に相当する待ち時間t2
を求める。
First, in step S31, it is determined whether or not a sound generation instruction has been issued (whether or not there is an event). If it is determined that the pronunciation instruction has not been issued, this routine is terminated without doing anything. On the other hand, if it is determined that the pronunciation instruction has been issued, the process proceeds to step S32.
Proceed to. In step S32, t2 = t0−t3- (C
NT). That is, a time t3 corresponding to the number of the timing clocks F8 for the prebeat and a time (CNT) corresponding to the value of the beat counter are subtracted from the time t0 corresponding to the number of the timing clocks F8 for one beat,
Waiting time t2 corresponding to the number of timing clocks F8 from when the read instruction is issued to when the reproduction of the prebeat is started
Ask for.

【0063】次に、ステップS33において、待ち時間
t2が0未満か否かが判定される。待ち時間t2が0未
満でない、即ち0以上であると判定された場合は、その
拍内でプリビートを再生することができるためステップ
S34に進む。ステップS34では、発音開始指示フラ
グVOICEをオン状態にして、このルーチンを終了す
る。一方、待ち時間t2が0未満であると判定された場
合は、その拍内でプリビートを再生することができない
ためステップS35に進む。ステップS35では、t2
=t0−t3の演算を行なう。即ち、1拍のタイミング
クロックF8の数に相当する時間t0から、プリビート
分のタイミングクロックF8の数に相当する時間t3を
引き算して待ち時間t2を求める。次に、ステップS3
6において、読出開始指示があった拍より後の拍で発音
が行なわれることを示す発音開始指示フラグVOICE
2をオン状態にして、このルーチンを終了する。
Next, in step S33, it is determined whether or not the waiting time t2 is less than 0. If it is determined that the waiting time t2 is not less than 0, that is, it is 0 or more, the process proceeds to step S34 because the prebeat can be reproduced within the beat. In step S34, the sound generation start instruction flag VOICE is turned on, and this routine ends. On the other hand, if it is determined that the waiting time t2 is less than 0, the pre-beat cannot be reproduced within the beat, and the process proceeds to step S35. In step S35, t2
= T0-t3. That is, the waiting time t2 is obtained by subtracting the time t3 corresponding to the number of timing clocks F8 for the prebeat from the time t0 corresponding to the number of timing clocks F8 for one beat. Next, step S3
6, a sounding start instruction flag VOICE indicating that sounding is to be performed at a beat after the beat for which the reading start instruction is issued.
2 is turned on, and this routine ends.

【0064】図12は、タイミングクロックF8により
発生する割込み処理ルーチンのフローチャートである。
FIG. 12 is a flowchart of an interrupt processing routine generated by the timing clock F8.

【0065】このルーチンは、タイミングクロックF8
が入力される度に発生する割込みにより起動されるルー
チンである。
This routine corresponds to the timing clock F8
This is a routine started by an interrupt generated every time is input.

【0066】先ず、ステップS41において、拍カウン
タの値CNTが最大数(この実施形態では拍単位での説
明であるため、最大数は24個であるが、小節単位の場
合は、24個×拍子の数が最大数となる)か否かが判定
される。拍カウンタの値CNTが最大数でないと判定さ
れた場合は、後述するステップS45に進む。一方、拍
カウンタの値CNTが最大数であると判定された場合
は、ステップS42に進み、拍カウンタの値CNTを
‘0’する。次に、ステップS43において、発音開始
指示フラグVOICE2がオン状態か否かが判定され
る。発音開始指示フラグVOICE2がオン状態でない
と判定された場合は、ステップS45に進む。一方、発
音開始指示フラグVOICE2がオン状態であると判定
された場合はステップS44に進む。ステップS44で
は、発音開始指示フラグVOICEをオン状態にしてス
テップS45に進む。
First, in step S41, the value CNT of the beat counter is set to the maximum number (in this embodiment, the maximum number is 24 since the explanation is made in units of beats. Is the maximum number). If it is determined that the value CNT of the beat counter is not the maximum number, the process proceeds to step S45 described later. On the other hand, when it is determined that the value CNT of the beat counter is the maximum number, the process proceeds to step S42, and the value CNT of the beat counter is set to “0”. Next, in step S43, it is determined whether or not the sound generation start instruction flag VOICE2 is on. If it is determined that the sounding start instruction flag VOICE2 is not on, the process proceeds to step S45. On the other hand, when it is determined that the sound generation start instruction flag VOICE2 is in the ON state, the process proceeds to step S44. In step S44, the sound generation start instruction flag VOICE is turned on, and the process proceeds to step S45.

【0067】ステップS45では、発音開始指示フラグ
VOICEがオン状態か否かが判定される。発音開始指
示フラグVOICEがオン状態でないと判定された場合
は、発音を行なう必要がないため、ステップS50に進
む。一方、発音開始指示フラグVOICEがオン状態で
ないと判定された場合は、ステップS46に進む。
In step S45, it is determined whether or not the tone generation start instruction flag VOICE is on. If it is determined that the sounding start instruction flag VOICE is not in the ON state, it is not necessary to sound, and the process proceeds to step S50. On the other hand, if it is determined that the sound generation start instruction flag VOICE is not in the ON state, the process proceeds to step S46.

【0068】ステップS46では、拍カウンタの値に相
当する時間(CNT)が待ち時間t2に一致したか否
か、即ち発音開始できるか否かが判定される。拍カウン
タの値に相当する時間(CNT)が待ち時間t2に一致
していないと判定された場合は、ステップS50に進
む。一方、拍カウンタの値に相当する時間(CNT)が
待ち時間t2に一致したと判定された場合は、ステップ
S47に進み発音を開始する。次にステップS48にお
いて、発音開始指示フラグVOICEをオフ状態にし、
さらにステップS49において、発音開始指示フラグV
OICE2もオフ状態にして、ステップS50に進む。
ステップS50では、拍カウンタの値CNTをインクリ
メントしてこのルーチンを終了する。
In step S46, it is determined whether or not the time (CNT) corresponding to the value of the beat counter matches the waiting time t2, that is, whether or not sound generation can be started. If it is determined that the time (CNT) corresponding to the value of the beat counter does not match the waiting time t2, the process proceeds to step S50. On the other hand, if it is determined that the time (CNT) corresponding to the value of the beat counter has coincided with the waiting time t2, the process proceeds to step S47 to start sound generation. Next, in step S48, the sound generation start instruction flag VOICE is turned off,
Further, in step S49, the sound generation start instruction flag V
OICE2 is also turned off, and the process proceeds to step S50.
In step S50, the value CNT of the beat counter is incremented, and this routine ends.

【0069】次に、本発明の一実施形態の、上述した波
形再生装置100とは異なる波形再生装置について説明
する。
Next, a description will be given of a waveform reproducing apparatus different from the above-described waveform reproducing apparatus 100 according to an embodiment of the present invention.

【0070】この波形再生装置は、上述した波形再生装
置100と比較し、フレーズデータROM11に記憶さ
れた、波形中の音楽的タイミング位置を示すタイミング
データが、波形中の離散的な複数の音楽的タイミング位
置を示すタイミングデータであって、CPU12(波形
再生手段)は、フレーズデータROM11に記憶された
波形データが表す波形を、上記タイミングデータが表
す、波形中の複数の音楽的タイミング位置それぞれがC
PU12(タイミング検出手段)により順次検出される
複数の音楽的タイミングそれぞれに一致するように時間
軸方向に圧縮あるいは伸長する手段を含むものである。
以下、詳細に説明する。
This waveform reproducing apparatus is different from the above-described waveform reproducing apparatus 100 in that the timing data indicating the musical timing position in the waveform stored in the phrase data ROM 11 includes a plurality of discrete musical The CPU 12 (waveform reproducing means) is a timing data indicating a timing position. The CPU 12 (waveform reproducing means) sets a waveform represented by the waveform data stored in the phrase data ROM 11 to a plurality of musical timing positions in the waveform represented by the timing data.
It includes means for compressing or expanding in the time axis direction so as to coincide with each of a plurality of musical timings sequentially detected by the PU 12 (timing detecting means).
The details will be described below.

【0071】この波形再生装置に接続されたシーケンサ
には、再生速度を設定するためのテンポ設定操作子と、
演奏をスタート,ストップさせるためのスタート操作
子,ストップ操作子が備えられており、スタート操作子
が操作されるとテンポ設定操作子によって設定されてい
るテンポで演奏情報(MIDI情報)をMIDI音源に
出力する。また、シーケンサは、演奏が停止している状
態であっても本実施形態の波形再生装置に対してテンポ
情報を出力し続ける。
A sequencer connected to this waveform reproducing apparatus has a tempo setting operator for setting a reproducing speed,
A start operator and a stop operator for starting and stopping the performance are provided. When the start operator is operated, performance information (MIDI information) is transmitted to the MIDI sound source at a tempo set by the tempo setting operator. Output. Further, the sequencer keeps outputting the tempo information to the waveform reproducing apparatus of the present embodiment even when the performance is stopped.

【0072】また、本実施形態の波形再生装置には、複
数の波形データを備え、波形選択操作子によって再生し
ようとする波形を選択できるようになっている。各波形
データには、録音した際のテンポ情報と、音楽的な時間
軸上のタイミング(拍の先頭、小節の先頭)を表すマー
ク位置(第1マーク位置、第2マーク位置、…)が設定
されている。ここでは波形データの先頭から第1マーク
位置までの間をプリビートとする。このプリビートは読
出開始指示手段(鍵盤)からの読出開始指示に応じて、
第1マークからの演奏(拍の先頭、小節の先頭)に先だ
って再生される部分である。
Further, the waveform reproducing apparatus of the present embodiment is provided with a plurality of waveform data, so that a waveform to be reproduced can be selected by a waveform selecting operator. In each waveform data, tempo information at the time of recording and mark positions (first mark position, second mark position, ...) indicating musical timing on the time axis (head of beat, start of bar) are set. Have been. Here, the interval from the beginning of the waveform data to the first mark position is defined as a prebeat. This prebeat is issued in response to a read start instruction from the read start instruction means (keyboard).
This is a portion that is reproduced prior to the performance from the first mark (head of beat, head of bar).

【0073】ここでは説明を簡単にするために、ノンリ
アルタイムのタイムストレッチ処理について説明する。
電源が投入された場合、あるいはシーケンサが非動作時
にテンポ設定操作子が操作された場合、シーケンサから
送られてくるテンポ情報と、波形選択操作子によって選
択されている波形データに設定されたテンポ情報に応じ
て、選択されている波形データにタイムストレッチ処理
を行ない、シーケンサのテンポに応じた時間的な長さの
波形データを生成する。タイムストレッチ処理とは、音
声信号を間引いたり補間することにより、ピッチを変化
させずに時間軸を圧縮したり伸長したりする処理をい
う。このようなタイムストレッチ処理には種々の方法が
あり、それらは公知であるのでここでの詳細説明は省略
する。
Here, in order to simplify the description, a non-real-time time stretching process will be described.
When the power is turned on or when the tempo setting operator is operated when the sequencer is not operating, the tempo information sent from the sequencer and the tempo information set in the waveform data selected by the waveform selection operator , The selected waveform data is subjected to time stretching processing to generate waveform data having a temporal length corresponding to the tempo of the sequencer. The time stretching process is a process of compressing or expanding the time axis without changing the pitch by thinning out or interpolating the audio signal. There are various methods for such time stretching processing, and these methods are well-known, and a detailed description thereof will be omitted.

【0074】波形の再生が指示されると、テンポ値に応
じたプリビートの長さ時間t3(タイムストレッチ処理
後の波形データの先頭から第1マーク位置までの長さ時
間)を計算し、 1)プリビートの長さ時間t3≦拍の長さ時間t0−そ
の拍内での経過時間t1の場合は、待ち時間t2=t0
−(t1+t3)を計算し、待ち時間t2だけ待ってか
らタイムストレッチ処理されたプリビートが再生され、
次の拍のタイミングに第1マーク位置の再生タイミング
が一致するようにタイムストレッチ処理された波形が再
生されるようにする。
When the reproduction of the waveform is instructed, the pre-beat length time t3 (the length time from the beginning of the waveform data after the time stretch processing to the first mark position) according to the tempo value is calculated, and 1). If the prebeat length time t3 ≦ the beat length time t0−the elapsed time t1 within the beat, the waiting time t2 = t0
− (T1 + t3) is calculated, and after waiting for the waiting time t2, the time-stretched prebeat is reproduced,
The time-stretched waveform is reproduced so that the reproduction timing of the first mark position matches the timing of the next beat.

【0075】2)プリビートの長さ時間t3>拍の長さ
時間t0−その拍内での経過時間t1の場合は、待ち時
間t2=t0−(t1+t3)を計算し、待ち時間t2
だけ待ってからタイムストレッチ処理されたプリビート
が再生され、次の次の拍のタイミングに第1マーク位置
の再生タイミングが一致するようにタイムストレッチ処
理された波形が再生されるようにする。
2) When the pre-beat length time t3> the beat length time t0-the elapsed time t1 within the beat, the waiting time t2 = t0- (t1 + t3) is calculated, and the waiting time t2
Then, the time-stretched prebeat is reproduced, and the time-stretched waveform is reproduced so that the reproduction timing of the first mark position coincides with the timing of the next next beat.

【0076】このような処理を施すことでシーケンサが
非動作時に、テンポ設定操作子によってテンポ値を変化
させたとしても、それに同期してピッチを変化させるこ
となく波形データの第1マーク位置の再生タイミングが
拍(小節)のタイミングに一致するように波形を再生す
ることができる。
By performing such processing, even when the tempo value is changed by the tempo setting operator when the sequencer is not operating, the reproduction of the first mark position of the waveform data without changing the pitch in synchronization therewith. The waveform can be reproduced so that the timing coincides with the beat (measure) timing.

【0077】尚、リアルタイムのタイムストレッチ処理
を行なうようにすれば、シーケンサが動作している状態
でテンポ設定操作子が操作された場合であっても、テン
ポに合わせた波形再生を行なうことができる。具体的に
は、シーケンサから送られてくるテンポクロックの間隔
幅からテンポ値をリアルタイムに計算して算出し、算出
されたシーケンサのテンポ情報と、読出開始指示手段
(鍵盤)により読出開始指示された波形のテンポ情報と
から波形データにタイムストレッチ処理を施して再生す
るようにすればよい。このようなリアルタイムのタイム
ストレッチ処理を行なえば、シーケンサが動作している
状態であっても波形の再生を追従させることができる。
If the real-time time stretching process is performed, even if the tempo setting operator is operated while the sequencer is operating, the waveform can be reproduced in accordance with the tempo. . Specifically, a tempo value is calculated and calculated in real time from the interval width of the tempo clock sent from the sequencer, and the tempo information of the calculated sequencer and a read start instruction given by the read start instruction means (keyboard). What is necessary is to perform time stretching processing on the waveform data based on the tempo information of the waveform and reproduce the waveform data. By performing such a real-time time stretching process, it is possible to follow the reproduction of the waveform even when the sequencer is operating.

【0078】尚、本実施形態の波形再生装置では、シー
ケンサから受信したMIDIクロック(タイミングクロ
ックF8)を計数することにより音楽的タイミングであ
る、拍,小節を検出したが、波形再生装置に自動演奏装
置又は自動伴奏装置が組み込まれている場合には、その
波形再生装置自身が発生するタイミングにより、拍,小
節を検出することができる。
In the waveform reproducing apparatus of the present embodiment, beats and bars, which are musical timings, are detected by counting the MIDI clock (timing clock F8) received from the sequencer. When a device or an automatic accompaniment device is incorporated, a beat and a bar can be detected based on the timing at which the waveform reproducing device itself is generated.

【0079】[0079]

【発明の効果】以上説明したように、本発明によれば、
自動演奏装置等で演奏される楽曲の音楽的タイミングに
一致するように波形を再生することができる。
As described above, according to the present invention,
The waveform can be reproduced so as to match the musical timing of the music played by the automatic performance device or the like.

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

【図1】本発明の一実施形態の波形再生装置を含む電子
楽器のブロック図である。
FIG. 1 is a block diagram of an electronic musical instrument including a waveform reproducing device according to an embodiment of the present invention.

【図2】図1に示す波形再生装置の構成図である。FIG. 2 is a configuration diagram of the waveform reproducing apparatus shown in FIG.

【図3】図2に示すフレーズデータROMに格納される
波形データの構造を示す図である。
FIG. 3 is a diagram showing a structure of waveform data stored in a phrase data ROM shown in FIG.

【図4】図3(a)に示す波形データが表す波形を再生
する様子を示す図である。
FIG. 4 is a diagram showing how a waveform represented by the waveform data shown in FIG. 3A is reproduced.

【図5】第1の時間を有するプリビートが設けられた波
形データが表す波形を再生する様子を示す図である。
FIG. 5 is a diagram showing a state in which a waveform represented by waveform data provided with a prebeat having a first time is reproduced.

【図6】第2の時間を有するプリビートが設けられた波
形データが表す波形を再生する様子を示す図である。
FIG. 6 is a diagram showing how a waveform represented by waveform data provided with a prebeat having a second time is reproduced.

【図7】第3の時間を有するプリビートが設けられた波
形データが表す波形を再生する様子を示す図である。
FIG. 7 is a diagram showing how a waveform represented by waveform data provided with a prebeat having a third time is reproduced.

【図8】第2の時間を有するプリビートが設けられた波
形データが表す波形を再生するにあたり、図6に示す波
形再生とは異なる波形再生の様子を示す図である。
FIG. 8 is a diagram showing a state of waveform reproduction different from the waveform reproduction shown in FIG. 6 in reproducing a waveform represented by waveform data provided with a prebeat having a second time.

【図9】図2に示す波形再生装置のメインルーチンのフ
ローチャートである。
9 is a flowchart of a main routine of the waveform reproduction device shown in FIG.

【図10】拍の先頭にタイミングクロックF8を同期さ
せるためのルーチンのフローチャートである。
FIG. 10 is a flowchart of a routine for synchronizing a timing clock F8 with the beginning of a beat.

【図11】発音指示ルーチンのフローチャートである。FIG. 11 is a flowchart of a sound generation instruction routine.

【図12】タイミングクロックF8により発生する割込
み処理ルーチンのフローチャートである。
FIG. 12 is a flowchart of an interrupt processing routine generated by a timing clock F8.

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

11 フレーズデータROM 12 CPU 13 プログラムROM 14 ワ―キングRAM 15 操作子群 16 MIDIインターフェース 17 D/A変換器 18 バス 30,40 波形データ 31_1,41_1 第1マーク位置 31_2,41_2 第2マーク位置 31_n,41_n 最終マーク位置 32,42 波形データ終了位置 43 プリビート 100 波形再生装置 200 シーケンサ 300 MIDI音源 400 混合器 500 増幅器 600 スピーカ 11 Phrase Data ROM 12 CPU 13 Program ROM 14 Working RAM 15 Operator Group 16 MIDI Interface 17 D / A Converter 18 Bus 30, 40 Waveform Data 31_1, 41_1 First Mark Position 31_2, 41_2 Second Mark Position 31_n, 41_n Final mark position 32, 42 Waveform data end position 43 Prebeat 100 Waveform reproducing device 200 Sequencer 300 MIDI sound source 400 Mixer 500 Amplifier 600 Speaker

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 波形を表す波形データを、該波形中の音
楽的タイミング位置を示すタイミングデータとともに記
憶する記憶手段と、 前記記憶手段からの前記波形データの読出開始を指示す
る読出開始指示手段と、 繰り返し発生する音楽的タイミングを検出するタイミン
グ検出手段と、 前記読出開始指示手段からの読出開始指示を受けて、前
記タイミングデータが表す波形中の音楽的タイミング位
置が前記タイミング検出手段により検出された音楽的タ
イミングに一致するように、前記記憶手段に記憶された
波形データを読み出して波形を再生する波形再生手段と
を備えたことを特徴とする波形再生装置。
1. A storage unit for storing waveform data representing a waveform together with timing data indicating a musical timing position in the waveform, and a read start instruction unit for instructing a start of reading the waveform data from the storage unit. A timing detecting means for detecting a repetitive musical timing; and a musical start position in a waveform represented by the timing data is detected by the timing detecting means in response to a read start instruction from the read start instruction means. A waveform reproducing apparatus comprising: waveform reproducing means for reading out waveform data stored in the storage means and reproducing a waveform so as to match musical timing.
【請求項2】 前記波形再生手段は、前記読出開始指示
手段からの読出開始指示を受けて、前記タイミングデー
タが表す波形中の音楽的タイミング位置を、該読出開始
指示を受けたタイミング以降の前記タイミング検出手段
により最初に検出される音楽的タイミングに一致させた
波形再生が可能か否かを判定し、該判定結果に応じて、
該波形中の音楽的タイミング位置が、それぞれ、該最初
に検出される音楽的タイミングに一致するように、ある
いは該最初に検出される音楽的タイミングよりも後に検
出される音楽的タイミングに一致するように、波形を再
生するものであることを特徴とする請求項1記載の波形
再生装置。
2. The waveform reproducing means receives a read start instruction from the read start instruction means, and changes a musical timing position in a waveform represented by the timing data to a time after the timing at which the read start instruction is received. It is determined whether or not the waveform reproduction that matches the musical timing detected first by the timing detection means is possible, and according to the determination result,
The musical timing positions in the waveform match the first detected musical timing, respectively, or coincide with the musical timing detected after the first detected musical timing. 2. The waveform reproducing apparatus according to claim 1, wherein the apparatus reproduces a waveform.
【請求項3】 前記記憶手段に記憶された、波形中の音
楽的タイミング位置を示すタイミングデータが、波形中
の離散的な複数の音楽的タイミング位置を示すタイミン
グデータであって、前記波形再生手段は、前記記憶手段
に記憶された波形データが表す波形を、前記タイミング
データが表す、波形中の複数の音楽的タイミング位置そ
れぞれが前記タイミング検出手段により順次検出される
複数の音楽的タイミングそれぞれに一致するように時間
軸方向に圧縮あるいは伸長する手段を含むものであるこ
とを特徴とする請求項1又は2記載の波形再生装置。
3. The waveform reproducing means, wherein the timing data indicating the musical timing position in the waveform stored in the storage means is timing data indicating a plurality of discrete musical timing positions in the waveform. Is a waveform represented by the waveform data stored in the storage means, each of a plurality of musical timing positions in the waveform represented by the timing data coincides with each of a plurality of musical timings sequentially detected by the timing detection means 3. The waveform reproducing apparatus according to claim 1, further comprising means for compressing or expanding in the time axis direction.
JP19438799A 1999-07-08 1999-07-08 Waveform playback device Expired - Fee Related JP4170524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19438799A JP4170524B2 (en) 1999-07-08 1999-07-08 Waveform playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19438799A JP4170524B2 (en) 1999-07-08 1999-07-08 Waveform playback device

Publications (2)

Publication Number Publication Date
JP2001022350A true JP2001022350A (en) 2001-01-26
JP4170524B2 JP4170524B2 (en) 2008-10-22

Family

ID=16323763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19438799A Expired - Fee Related JP4170524B2 (en) 1999-07-08 1999-07-08 Waveform playback device

Country Status (1)

Country Link
JP (1) JP4170524B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002006899A (en) * 2000-06-19 2002-01-11 Yamaha Corp Method and device for compressing/stretching time base of music signal
JP2006201438A (en) * 2005-01-20 2006-08-03 Sony Corp Playback apparatus and playback method
US8027965B2 (en) 2005-07-04 2011-09-27 Sony Corporation Content providing system, content providing apparatus and method, content distribution server, and content receiving terminal
US8079962B2 (en) 2005-01-20 2011-12-20 Sony Corporation Method and apparatus for reproducing content data
US8135736B2 (en) 2005-07-21 2012-03-13 Sony Corporation Content providing system, content providing apparatus and method, content distribution server, and content receiving terminal
US8170003B2 (en) 2005-03-28 2012-05-01 Sony Corporation Content recommendation system and method, and communication terminal device
US8311654B2 (en) 2006-02-17 2012-11-13 Sony Corporation Content reproducing apparatus, audio reproducing apparatus and content reproducing method
US8451832B2 (en) 2004-10-26 2013-05-28 Sony Corporation Content using apparatus, content using method, distribution server apparatus, information distribution method, and recording medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002006899A (en) * 2000-06-19 2002-01-11 Yamaha Corp Method and device for compressing/stretching time base of music signal
US8451832B2 (en) 2004-10-26 2013-05-28 Sony Corporation Content using apparatus, content using method, distribution server apparatus, information distribution method, and recording medium
JP2006201438A (en) * 2005-01-20 2006-08-03 Sony Corp Playback apparatus and playback method
US8079962B2 (en) 2005-01-20 2011-12-20 Sony Corporation Method and apparatus for reproducing content data
US8170003B2 (en) 2005-03-28 2012-05-01 Sony Corporation Content recommendation system and method, and communication terminal device
US8027965B2 (en) 2005-07-04 2011-09-27 Sony Corporation Content providing system, content providing apparatus and method, content distribution server, and content receiving terminal
US8135736B2 (en) 2005-07-21 2012-03-13 Sony Corporation Content providing system, content providing apparatus and method, content distribution server, and content receiving terminal
US8135700B2 (en) 2005-07-21 2012-03-13 Sony Corporation Content providing system, content providing apparatus and method, content distribution server, and content receiving terminal
US8311654B2 (en) 2006-02-17 2012-11-13 Sony Corporation Content reproducing apparatus, audio reproducing apparatus and content reproducing method
USRE46481E1 (en) 2006-02-17 2017-07-18 Sony Corporation Content reproducing apparatus, audio reproducing apparatus and content reproducing method

Also Published As

Publication number Publication date
JP4170524B2 (en) 2008-10-22

Similar Documents

Publication Publication Date Title
JP4170524B2 (en) Waveform playback device
US12223933B2 (en) Electronic musical apparatus, storage medium storing recording/reproduction program, and recording/reproduction method
JP3116937B2 (en) Karaoke equipment
JP2587737B2 (en) Automatic accompaniment device
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP2904045B2 (en) Karaoke equipment
JP3345453B2 (en) Automatic performance device
JP2000056771A (en) Waveform reproducing device
JP3166670B2 (en) Karaoke device and automatic performance device
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JP3407563B2 (en) Automatic performance device and automatic performance method
JP3298157B2 (en) Effect adding device
JP2665854B2 (en) Automatic performance device
JPH1031486A (en) Performance data storage / reproduction method and apparatus
JP4073597B2 (en) Electronic percussion instrument
JP2953937B2 (en) Electronic musical instrument volume control device
JP3375220B2 (en) Electronic musical instrument
JP2962077B2 (en) Electronic musical instrument
JP5157125B2 (en) Music generator
JP3166671B2 (en) Karaoke device and automatic performance device
JP2016057389A (en) Chord determination device and chord determination program
EP1734508A1 (en) Musical sound waveform synthesizer
JP2006350101A (en) Musical sound waveform synthesizing device
JPH08106284A (en) Electronic musical instrument automatic performance device
JPH05108074A (en) Automatic musical instrument accompaniment device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060628

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080709

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080805

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080807

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

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees