JP4735196B2 - Audio playback device - Google Patents

Audio playback device Download PDF

Info

Publication number
JP4735196B2
JP4735196B2 JP2005320535A JP2005320535A JP4735196B2 JP 4735196 B2 JP4735196 B2 JP 4735196B2 JP 2005320535 A JP2005320535 A JP 2005320535A JP 2005320535 A JP2005320535 A JP 2005320535A JP 4735196 B2 JP4735196 B2 JP 4735196B2
Authority
JP
Japan
Prior art keywords
loop
reproduction
encoded data
phrase
compression
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.)
Active
Application number
JP2005320535A
Other languages
Japanese (ja)
Other versions
JP2007127838A (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 JP2005320535A priority Critical patent/JP4735196B2/en
Priority to US11/555,382 priority patent/US7865256B2/en
Priority to CN200610143383A priority patent/CN100580797C/en
Publication of JP2007127838A publication Critical patent/JP2007127838A/en
Application granted granted Critical
Publication of JP4735196B2 publication Critical patent/JP4735196B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、オーディオ圧縮符号化データの再生を行うオーディオ再生装置に関する。   The present invention relates to an audio reproducing apparatus for reproducing audio compression encoded data.

近年、MP3(MPEG Audio Layer−3)やAAC(Advanced Audio Coding)などの符号化・復号化技術が様々な分野において利用されている。
特許第3601473号
In recent years, encoding / decoding technologies such as MP3 (MPEG Audio Layer-3) and AAC (Advanced Audio Coding) have been used in various fields.
Japanese Patent No. 3601473

ところで、ゲーム機などにおいては、CDの再生や放送とは異なり、あるフレーズの途中の区間を繰り返し再生するループ再生がよく行われる。このため、ゲーム機などにおいて、圧縮符号化データの再生を行う場合においても、このループ再生機能が求められる。しかしながら、MP3等においては、1フレーズ分のオーディオ波形のサンプル列を所定個数のサンプルからなるブロックに分割し、ブロック単位で圧縮符号化を行う。この場合、ループの開始点および終了点は、一般にブロックを構成するサンプル列の途中にある。従って、圧縮符号化データの復号化により、この開始点および終了点間のサンプル列を切れ目なく自然に繰り返し再生することは困難である。ループ再生を可能にするために、1フレーズを、ループの開始点より前の第1の区間、ループ再生の対象となる第2の区間、ループの終了点よりも後の第3の区間に分割し、各区間の圧縮符号化を行い、この結果得られる3種類の圧縮符号化データを利用するという方法も考えられる。しかし、この方法を採用した場合には、ループ再生でない通常の再生を行う場合に、ある区間の圧縮符号化データの復号化を終えて、後続の区間の圧縮符号化データの復号化に移る際、再生されるサンプル列に不自然な切れ目が生じるという問題が発生する。なお、特許文献1は、圧縮符号化データを復号化してループ再生を行う技術を開示している。しかしながら、この技術は、1フレーズ分のオーディオデータのループ再生を自然に行うことを可能にするものであり、1フレーズの途中の区間のループ再生を可能にするものではない。   By the way, in a game machine or the like, unlike CD playback or broadcasting, loop playback in which a section in the middle of a phrase is repeatedly played is often performed. For this reason, this loop reproduction function is required even in the case of reproducing compression-encoded data in a game machine or the like. However, in MP3 or the like, a sample sequence of an audio waveform for one phrase is divided into blocks each consisting of a predetermined number of samples, and compression coding is performed in units of blocks. In this case, the start point and the end point of the loop are generally in the middle of the sample sequence constituting the block. Therefore, it is difficult to reproduce the sample sequence between the start point and the end point naturally and repeatedly by decoding the compressed encoded data. In order to enable loop playback, a phrase is divided into a first section before the start point of the loop, a second section subject to loop playback, and a third section after the end point of the loop. A method of performing compression encoding of each section and using the three types of compression encoded data obtained as a result is also conceivable. However, when this method is adopted, when normal reproduction that is not loop reproduction is performed, when decoding of the compression-encoded data in a certain section is finished, the process proceeds to decoding of the compression-encoded data in the subsequent section. This causes a problem that an unnatural break occurs in the sample sequence to be reproduced. Patent Document 1 discloses a technique for decoding compressed encoded data and performing loop reproduction. However, this technique makes it possible to naturally perform loop reproduction of audio data for one phrase, and does not allow loop reproduction of a section in the middle of one phrase.

この発明は、以上説明した事情に鑑みてなされたものであり、圧縮符号化データの再生において、フレーズの途中の任意の区間のループ再生をすることが可能であり、かつ、ループ再生でない通常の再生においても不自然な切れ目を生じさせることのないオーディオ再生装置を提供することを目的としている。   The present invention has been made in view of the circumstances described above, and in the reproduction of compression-encoded data, it is possible to perform loop reproduction of an arbitrary section in the middle of a phrase, and normal reproduction that is not loop reproduction. An object of the present invention is to provide an audio reproducing apparatus that does not cause unnatural breaks in reproduction.

この発明は、1フレーズ分のオーディオ波形のサンプル列を圧縮符号化したフレーズ圧縮符号化データと、ループ再生用サンプル列を圧縮符号化したループ再生用圧縮符号化データとを記憶する記憶手段と、圧縮符号化データを復号化し、オーディオ波形のサンプル列を出力する再生動作を行う復号化手段と、前記復号化手段による圧縮符号化データの再生を制御する手段であって、通常再生の指示が与えられた場合には、前記フレーズ再生用圧縮符号化データの再生を行わせ、ループ再生の指示が与えられた場合には、前記フレーズの開始点からループ開始点の手前までのサンプル列が出力されるまで前記フレーズ圧縮符号化データの再生を行わせ、前記ループ再生用サンプル列を繰り返し出力するための前記ループ再生用圧縮符号化データの再生を行わせた後、前記フレーズ圧縮符号化データの再生を再開させ、前記ループ開始点以降のサンプル列を出力させる制御手段とを具備することを特徴とするオーディオ再生装置を提供する。
かかる発明によれば、通常再生時は、復号化手段によりフレーズ圧縮符号化データが処理され、1フレーズ分のオーディオ波形のサンプル列が不自然な切れ目を生じさせることなく再生される。また、ループ再生時は、フレーズ圧縮符号化データの再生により、フレーズの開始点からループ開始点手前までのサンプル列が再生された後、ループ再生用圧縮データの再生により、ループ開始点からループ終了点までのサンプル列が繰り返し再生され、その後、フレーズ圧縮符号化データの再生によりループ開始点以降のサンプル列が再生される。従って、ループ再生の場合でも、不自然な切れ目を生じさせることなくサンプル列を再生することができる。
This invention stores phrase compression encoded data obtained by compressing and encoding a sample sequence of an audio waveform for one phrase, and loop reproduction compression encoded data obtained by compression encoding a loop reproduction sample sequence; Decoding means for decoding compressed encoded data and outputting a sample sequence of an audio waveform; and means for controlling the reproduction of the compressed encoded data by the decoding means, wherein a normal playback instruction is given If the phrase playback compression encoded data is played back, and a loop playback instruction is given, a sample string from the start point of the phrase to the point before the loop start point is output. The phrase compression encoded data is reproduced until the loop reproduction sample sequence is repeatedly output. After performing the reproduction, the then phrase resume playback of compressed data, to provide an audio reproduction apparatus characterized by comprising a control means for outputting a sample sequence of the loop start point or later.
According to this invention, at the time of normal reproduction, the phrase compression encoded data is processed by the decoding means, and the audio waveform sample sequence for one phrase is reproduced without causing an unnatural break. During loop playback, the sample sequence from the start point of the phrase to the point before the loop start point is played back by playback of the phrase compression encoded data, and then the loop end from the loop start point by playback of the compressed data for loop playback. The sample string up to the point is repeatedly reproduced, and then the sample string after the loop start point is reproduced by reproducing the phrase compression encoded data. Therefore, even in the case of loop reproduction, the sample string can be reproduced without causing an unnatural break.

以下、図面を参照し、この発明の実施の形態を説明する。
<第1実施形態>
図1はこの発明の第1実施形態であるオーディオ再生装置の構成を示すブロック図である。図1において、メモリ10は、各種のオーディオデータファイルを記憶している。このオーディオデータファイルは、オーディオ波形のサンプル列をMP3などの所定の圧縮符号化アルゴリズムにより圧縮符号化した圧縮符号化データにより構成されている。デコーダ21および22は、圧縮符号化データを復号化し、オーディオ波形のサンプル列を出力する装置である。オーディオ出力部30は、デコーダ21または22から出力されるサンプル列をアナログ信号に変換するD/A変換器と、このD/A変換器から出力されるアナログ信号を増幅するアンプと、アンプの出力信号を音として出力するスピーカにより構成されている。
Embodiments of the present invention will be described below with reference to the drawings.
<First Embodiment>
FIG. 1 is a block diagram showing the configuration of an audio playback apparatus according to the first embodiment of the present invention. In FIG. 1, the memory 10 stores various audio data files. This audio data file is composed of compressed encoded data obtained by compressing and encoding a sample sequence of an audio waveform using a predetermined compression encoding algorithm such as MP3. The decoders 21 and 22 are devices that decode compression-encoded data and output a sample sequence of an audio waveform. The audio output unit 30 includes a D / A converter that converts the sample string output from the decoder 21 or 22 into an analog signal, an amplifier that amplifies the analog signal output from the D / A converter, and an output of the amplifier. It is comprised by the speaker which outputs a signal as a sound.

制御部40は、各種のプログラムを記憶したROMと、このROMに記憶されたプログラムを実行するCPUと、CPUによってワークエリアとして使用されるRAMなどにより構成されている。CPUにより実行されるプログラムの1つとしてゲーム用アプリケーションプログラムがある。このアプリケーションプログラムは、メモリ10に記憶されたオーディオデータファイル内の圧縮符号化データをデコーダ21および22に復号化させ、音として再生させる処理を含む。   The control unit 40 includes a ROM that stores various programs, a CPU that executes programs stored in the ROM, a RAM that is used as a work area by the CPU, and the like. One of the programs executed by the CPU is a game application program. This application program includes a process for causing the decoders 21 and 22 to decode the compressed and encoded data in the audio data file stored in the memory 10 and reproduce it as sound.

本実施形態の1つの特徴は、オーディオデータファイルにおける圧縮符号化データの内容にある。ここで、図2(a)〜(c)を参照し、オーディオデータファイルに格納された圧縮符号化データの内容について説明する。1つのオーディオデータファイルは、効果音などの1フレーズ分のオーディオ波形のサンプル列からMP3などの圧縮符号化アルゴリズムにより得られたトラック1および2の圧縮符号化データを格納している。図2(a)に示すように、圧縮符号化の対象となる1フレーズ分のサンプル列は途中がループ再生の対象となるループ区間となっている。図2(b)に示すように、トラック1の圧縮符号化データは、フレーズ開始点からフレーズ終了点に至るまでの1フレーズ分のサンプル列を圧縮符号化することにより得られた圧縮符号化データである。また、図2(c)に示すように、トラック2の圧縮符号化データは、1フレーズ分のサンプル列のうちループ開始点からループ終了点までのサンプル列を圧縮符号化することにより得られた圧縮符号化データである。   One feature of the present embodiment lies in the content of the compression encoded data in the audio data file. Here, the contents of the compressed and encoded data stored in the audio data file will be described with reference to FIGS. One audio data file stores compressed encoded data of tracks 1 and 2 obtained from a sample sequence of audio waveforms for one phrase such as sound effects by a compression encoding algorithm such as MP3. As shown in FIG. 2A, the sample sequence for one phrase that is the subject of compression encoding is a loop section that is subject to loop reproduction in the middle. As shown in FIG. 2B, the compression encoded data of track 1 is compression encoded data obtained by compressing and encoding a sample sequence for one phrase from the phrase start point to the phrase end point. It is. As shown in FIG. 2 (c), the compression encoded data of track 2 is obtained by compressing and encoding the sample sequence from the loop start point to the loop end point in the sample sequence for one phrase. It is compression encoded data.

本実施形態のもう1つの特徴は、制御部40のCPUがゲーム用アプリケーションプログラムに従って実行するデコーダ21および22の制御の態様にある。以下、この点を中心に本実施形態の動作について説明する。   Another feature of the present embodiment resides in the manner of control of the decoders 21 and 22 executed by the CPU of the control unit 40 in accordance with the game application program. Hereinafter, the operation of this embodiment will be described focusing on this point.

ゲーム用アプリケーションプログラムは、オーディオデータファイル内の圧縮符号化データの再生に関し、通常再生を命じるコマンドと、ループ再生を命じるコマンドの両方を含む。これらのコマンドのいずれを実行するかにより制御部40によるデコーダ21および22の制御の態様は異なったものとなる。   The game application program includes both a command for instructing normal reproduction and a command for instructing loop reproduction regarding the reproduction of the compression-encoded data in the audio data file. The control mode of the decoders 21 and 22 by the control unit 40 varies depending on which of these commands is executed.

まず、あるオーディオデータファイルを再生対象とし、通常再生を命じるコマンドを実行する場合、制御部40は、そのオーディオデータファイルの中のトラック1の圧縮符号化データをデコーダ21に復号化させ、この結果得られる1フレーズ分のオーディオ波形のサンプル列をオーディオ出力部30に出力させる。この結果、1フレーズ分の効果音などの音声が不自然な切れ目を生じさせることなくオーディオ出力部30から出力される。   First, when a certain audio data file is targeted for playback and a command for ordering normal playback is executed, the control unit 40 causes the decoder 21 to decode the compressed encoded data of track 1 in the audio data file. The audio output unit 30 is made to output a sample sequence of the obtained audio waveform for one phrase. As a result, sound such as sound effects for one phrase is output from the audio output unit 30 without causing an unnatural break.

次に、図3を参照し、制御部40が、あるオーディオデータファイルを再生対象とし、ループ再生を命じるコマンドを実行する場合の動作を説明する。この場合、制御部40は、オーディオデータファイル内のトラック1の圧縮符号化データの再生をデコーダ21に指示し、オーディオデータファイルのトラック2の圧縮符号化データを再生対象とすべき旨とMUTEをデコーダ22に指示する。再生指示を受け取ったデコーダ21は、トラック1の圧縮符号化データの再生、すなわち、圧縮符号化データを復号化し、復号化により得られるサンプルを出力する動作を開始する。一方、再生およびMUTEの指示を受け取ったデコーダ22は、トラック2の圧縮符号化データの復号化を行う。そして、再生指示が与えられてからサンプルを出力するまでのデコーダ22の復号処理の遅れ時間を補うに足る個数(例えば遅れ時間がTDであり、サンプリング周波数がFsである場合、Fs・TD以上の個数)のサンプルが復号処理により得られた時点で、それらのサンプルを保持して停止し、何も出力しないMUTE状態となる。   Next, with reference to FIG. 3, the operation in the case where the control unit 40 executes a command that commands a certain audio data file to be reproduced and commands loop reproduction will be described. In this case, the control unit 40 instructs the decoder 21 to reproduce the compressed encoded data of the track 1 in the audio data file, and sets the MUTE that the compressed encoded data of the track 2 of the audio data file should be reproduced. The decoder 22 is instructed. Receiving the reproduction instruction, the decoder 21 starts reproduction of the compressed encoded data of the track 1, that is, an operation of decoding the compressed encoded data and outputting a sample obtained by the decoding. On the other hand, the decoder 22 that has received the playback and MUTE instructions decodes the compressed encoded data of track 2. A number sufficient to compensate for the delay time of the decoding process of the decoder 22 from when the reproduction instruction is given until the sample is output (for example, when the delay time is TD and the sampling frequency is Fs, Fs · TD or more) When the number of samples are obtained by the decoding process, the samples are held and stopped, and a MUTE state in which nothing is output is entered.

デコーダ21によるトラック1の圧縮符号化データの再生は、ループ開始点の1つ前のサンプルがデコーダ21から出力されるまで続けられる。この間、オーディオ出力部30は、デコーダ21から出力されるサンプル列を音として出力する。そして、ループ開始点の1つ前のサンプルがデコーダ21から出力されると、制御部40は、デコーダ21にMUTE状態への移行を指示する一方、デコーダ22にトラック2の圧縮符号化データの繰り返し再生の指示を行う。   The reproduction of the compression-encoded data of track 1 by the decoder 21 is continued until the sample immediately before the loop start point is output from the decoder 21. During this time, the audio output unit 30 outputs the sample sequence output from the decoder 21 as sound. When the sample immediately before the loop start point is output from the decoder 21, the control unit 40 instructs the decoder 21 to shift to the MUTE state, while the decoder 22 repeats the compression encoded data of track 2. Instruct playback.

MUTE状態への移行指示を受け取ったデコーダ21は、サンプルの復号処理に用いられる全てのレジスタ群の記憶内容(以下、内部状態という)を保持し、サンプルの出力を停止する。一方、繰り返し再生の指示を受け取ったデコータ22は、MUTE状態からトラック2の圧縮符号化データの再生を開始する。ここで、MUTE状態では、上述したように復号処理の遅れ時間を補うに足る個数のサンプルを保持している。このため、再生の指示が与えられた場合には、この保持したサンプルを遅滞なく出力し、これに続けて復号処理によりサンプルを出力することができる。トラック2の圧縮符号化データの再生は、先頭から最後尾までの再生が終了したら、再び先頭に戻って再生を行う、という具合に繰り返し実行される。これによりループ開始点からループ終了点までのサンプル列がデコーダ22から繰り返し出力される。制御部40が実行するループ再生のコマンドは、この場合の繰り返し回数を指定する情報を含む。制御部40は、この情報により指定された回数だけデコーダ22にトラック2の圧縮符号化データの再生を繰り返させる。この間、オーディオ出力部30は、デコータ22から繰り返し出力されるループ開始点からループ終了点までのサンプル列を音として出力する。   Receiving the instruction to shift to the MUTE state, the decoder 21 holds the storage contents (hereinafter referred to as the internal state) of all register groups used for the sample decoding process, and stops outputting the samples. On the other hand, the decoder 22 that has received the repeat playback instruction starts playback of the compressed encoded data of the track 2 from the MUTE state. Here, in the MUTE state, as described above, the number of samples sufficient to compensate for the delay time of the decoding process is held. For this reason, when a reproduction instruction is given, the held sample can be output without delay, and subsequently, the sample can be output by decoding processing. The reproduction of the compression-encoded data of the track 2 is repeatedly executed such that when reproduction from the head to the tail is completed, the reproduction is returned to the head again. As a result, the sample sequence from the loop start point to the loop end point is repeatedly output from the decoder 22. The loop playback command executed by the control unit 40 includes information specifying the number of repetitions in this case. The control unit 40 causes the decoder 22 to repeat the reproduction of the compressed encoded data of the track 2 as many times as specified by this information. During this time, the audio output unit 30 outputs the sample sequence from the loop start point to the loop end point repeatedly output from the decoder 22 as a sound.

デコーダ22がトラック2の圧縮符号化データの再生を指定された回数だけ繰り返すと、制御部40は、デコーダ22にMUTEを指示する一方、デコーダ21に再生再開を指示する。MUTEの指示を受け取ったデコーダ22は、MUTE状態となる。一方、再生再開の指示を受け取ったデコーダ21は、トラック1の圧縮符号化データの再生を再開する。この場合、MUTE状態への移行時に保持した内部状態を出発点として再生が再開されるので、再生は遅滞なく再開され、ループ開始点のサンプルは直ちにデコーダ21から出力される。そして、ループ開始点からフレーズ終了点までのサンプル列がデコーダ21により順次出力され、オーディオ出力部30により音として出力される。   When the decoder 22 repeats the reproduction of the compression-encoded data of the track 2 for the designated number of times, the control unit 40 instructs the decoder 22 to MUTE while instructing the decoder 21 to resume reproduction. The decoder 22 that has received the MUTE instruction enters the MUTE state. On the other hand, the decoder 21 that has received the instruction to resume reproduction resumes reproduction of the compressed encoded data of track 1. In this case, since the reproduction is resumed starting from the internal state held at the time of transition to the MUTE state, the reproduction is resumed without delay, and the sample at the loop start point is immediately output from the decoder 21. A sample sequence from the loop start point to the phrase end point is sequentially output by the decoder 21 and output as a sound by the audio output unit 30.

以上説明したように、本実施形態によれば、通常再生の場合には、1フレーズ分のサンプル列から得られたトラック1の圧縮符号化データの再生を行うので、効果音などを不自然な切れ目を生じさせることなく再生することができる。また、本実施形態によれば、ループ再生の場合に、トラック1の圧縮符号化データの再生においてループ開始点の手前のサンプルが再生されたときに、ループ再生用に用意されたトラック2の圧縮符号化データのループ再生を行い、その終了後、トラック1の圧縮符号化データの再生を再開するので、1フレーズ分のサンプル列のうちの任意の位置においてループ再生を行うことができる。しかも、本実施形態では、トラック2の圧縮符号化データの再生を行うデコーダ22をMUTE状態とし、トラック1の圧縮符号化データの再生においてループ開始点の手前のサンプルが再生されたときに、デコーダ22にトラック2の圧縮符号化データの再生を開始させるので、ループ区間のサンプル列の再生を遅滞なく開始させることができる。また、本実施形態では、トラック1の圧縮符号化データの再生を行うデコーダ21がループ開始点の手前のサンプルを再生したとき、デコーダ21に内部状態を保持させてMUTE状態とし、デコーダ22によるトラック2の圧縮符号化データのループ再生が終了したときに、デコーダ21にトラック1の圧縮符号化データの再生を再開させるので、この再生再開の動作を遅滞なく行わせることができる。従って、不自然な切れ目を生じさせることなくループ再生を行うことができる。   As described above, according to the present embodiment, in the case of normal reproduction, the compression-encoded data of track 1 obtained from the sample sequence for one phrase is reproduced, so that the sound effects and the like are unnatural. Playback can be performed without causing breaks. Further, according to the present embodiment, in the case of loop reproduction, when the sample before the loop start point is reproduced in the reproduction of the compression encoded data of track 1, the compression of track 2 prepared for loop reproduction is performed. The loop reproduction of the encoded data is performed, and after the completion, the reproduction of the compressed encoded data of the track 1 is resumed. Therefore, the loop reproduction can be performed at an arbitrary position in the sample string for one phrase. In addition, in this embodiment, when the decoder 22 that reproduces the compressed encoded data of the track 2 is set in the MUTE state, and the sample before the loop start point is reproduced in the reproduction of the compressed encoded data of the track 1, the decoder Since the reproduction of the compression-encoded data of track 2 is started at 22, the reproduction of the sample string in the loop section can be started without delay. Also, in this embodiment, when the decoder 21 that reproduces the compression-encoded data of the track 1 reproduces the sample before the loop start point, the decoder 21 holds the internal state to enter the MUTE state, and the track by the decoder 22 When the loop reproduction of the compression-encoded data of 2 is completed, the decoder 21 resumes the reproduction of the compression-encoded data of the track 1, so that this reproduction restart operation can be performed without delay. Therefore, loop reproduction can be performed without causing an unnatural break.

<第2実施形態>
図4はこの発明の第2実施形態であるオーディオ再生装置の構成を示すブロック図である。このオーディオ再生装置は、上記第1実施形態におけるものに対して、さらにデコーダ23を追加した構成となっている。本実施形態において、1つのオーディオデータファイルは、効果音などの1フレーズ分のオーディオ波形のサンプル列からMP3などの圧縮符号化アルゴリズムにより得られたトラック1、2および3の圧縮符号化データを格納している。本実施形態において取り扱う1フレーズ分のオーディオ波形のサンプル列は、図5(a)に示すように、その途中に第1のループ区間を含み、この第1のループ区間の中にそれよりも小さな第2のループ区間を含む。トラック1の圧縮符号化データは、図5(b)に示すように、フレーズ開始点からフレーズ終了点までのサンプル列を圧縮符号化した圧縮符号化データである。トラック2の圧縮符号化データは、第1のループ区間のループ開始点からループ終了点までのサンプル列を圧縮符号化した圧縮符号化データである。そして、トラック3の圧縮符号化データは、第2のループ区間のループ開始点からループ終了点までのサンプル列を圧縮符号化した圧縮符号化データである。
Second Embodiment
FIG. 4 is a block diagram showing the configuration of an audio playback apparatus according to the second embodiment of the present invention. This audio reproducing apparatus has a configuration in which a decoder 23 is further added to that in the first embodiment. In the present embodiment, one audio data file stores compressed encoded data of tracks 1, 2, and 3 obtained by a compression encoding algorithm such as MP3 from a sample sequence of audio waveforms for one phrase such as sound effects. is doing. As shown in FIG. 5A, the sample sequence of audio waveforms for one phrase handled in the present embodiment includes a first loop section in the middle thereof, and is smaller than that in the first loop section. Includes a second loop interval. The compression-encoded data for track 1 is compression-encoded data obtained by compression-encoding a sample string from the phrase start point to the phrase end point, as shown in FIG. The compression-encoded data for track 2 is compression-encoded data obtained by compression-encoding a sample string from the loop start point to the loop end point of the first loop section. The compression-encoded data of track 3 is compression-encoded data obtained by compression-encoding a sample string from the loop start point to the loop end point of the second loop section.

本実施形態において、通常再生の場合には、上記第1実施形態と同様、制御部40の制御に基づいて、トラック1の圧縮符号化データの再生を行う。ループ再生の場合も、基本的には、上記第1実施形態と同様の動作が行われる。ただし、本実施形態では、1フレーズの再生の中で第1のループ区間の再生が所定回数繰り返され、第1のループ区間の1回の再生の中で第2のループ区間の再生が所定回数繰り返される。図6はその動作の様子を示している。   In the present embodiment, in the case of normal playback, the compressed encoded data of track 1 is played based on the control of the control unit 40 as in the first embodiment. Also in the case of loop reproduction, basically the same operation as in the first embodiment is performed. However, in the present embodiment, the playback of the first loop section is repeated a predetermined number of times during one phrase playback, and the playback of the second loop section is performed a predetermined number of times during one playback of the first loop section. Repeated. FIG. 6 shows the state of the operation.

図6に示すように、フレーズのループ再生を行うときには、まず、デコーダ21がトラック1の圧縮符号化データを再生することにより、フレーズ開始点から第1のループ区間の開始点の手前までのサンプル列を出力し、MUTE状態になる。   As shown in FIG. 6, when performing loop playback of a phrase, first, the decoder 21 plays back the compression-encoded data of track 1 so that samples from the phrase start point to the point before the start point of the first loop section are reproduced. Outputs a column and enters the MUTE state.

次にデコーダ22がMUTE状態からトラック2の圧縮符号化データの再生を開始し、第1のループ区間の開始点から第2のループ区間の開始点の手前までのサンプル列を出力し、MUTE状態になる。次にデコーダ23がMUTE状態からトラック3の圧縮符号化データの再生を開始し、第2のループ区間の開始点から終了点までのサンプル列を所定回数だけ繰り返し出力する。この第2のループ区間の所定回数に亙るループ再生が終了すると、デコーダ23はMUTE状態になり、デコーダ22がトラック2の圧縮符号化データの再生を再開する。そして、デコーダ22は、第2のループ区間の開始点から第1のループ区間の終了点までのサンプル列を出力し、次いで第1のループ区間の開始点から第2のループ区間の開始点の手前までのサンプル列を出力し、MUTE状態になる。   Next, the decoder 22 starts reproduction of the compressed encoded data of the track 2 from the MUTE state, outputs a sample string from the start point of the first loop section to the point before the start point of the second loop section, and the MUTE state become. Next, the decoder 23 starts reproduction of the compression encoded data of the track 3 from the MUTE state, and repeatedly outputs a sample string from the start point to the end point of the second loop section a predetermined number of times. When the loop reproduction over the predetermined number of times in the second loop section is completed, the decoder 23 enters the MUTE state, and the decoder 22 resumes the reproduction of the compressed encoded data of the track 2. Then, the decoder 22 outputs a sample string from the start point of the second loop section to the end point of the first loop section, and then the start point of the second loop section from the start point of the first loop section. The previous sample string is output and the MUTE state is entered.

次に再びデコーダ23がトラック3の圧縮符号化データの再生を開始し、第2のループ区間のサンプル列を所定回数だけ繰り返し出力する。この第2のループ区間のループ再生が終了すると、デコーダ23はMUTE状態になり、デコーダ22がトラック2の圧縮符号化データの再生を再開する。   Next, the decoder 23 starts reproduction of the compression encoded data of the track 3 again, and repeatedly outputs the sample sequence of the second loop section a predetermined number of times. When the loop reproduction of the second loop section is completed, the decoder 23 enters the MUTE state, and the decoder 22 resumes the reproduction of the compressed encoded data of the track 2.

以下、同様であり、デコーダ22による第1のループ区間のループ再生が繰り返され、この第1のループ区間の中でデコーダ23による第2のループ区間のループ再生が繰り返される。そして、デコーダ22が所定回数に亙る第1のループ区間のループ再生を終えると、デコーダ21は、トラック1の圧縮符号化データの再生を再開し、第1のループ区間の開始点からフレーズ終了点までのサンプル列を出力する。本実施形態においても上記第1実施形態と同様な効果が得られる。   The same applies to the following, and the loop reproduction of the first loop section by the decoder 22 is repeated, and the loop reproduction of the second loop section by the decoder 23 is repeated in the first loop section. When the decoder 22 finishes the loop reproduction of the first loop section for a predetermined number of times, the decoder 21 resumes the reproduction of the compressed encoded data of the track 1, and starts from the start point of the first loop section. The sample sequence up to is output. Also in this embodiment, the same effect as the first embodiment can be obtained.

以上、この発明の第1および第2実施形態について説明したが、この発明にはこれ以外にも他の実施形態が考えられる。例えば次の通りである。
(1)上記第1実施形態では、1フレーズの中にループ区間が1つ含まれている例を挙げたが、1フレーズの中に場所を変えて複数のループ区間を設けてもよい。この場合、1フレーズ分のサンプル列を圧縮符号化したトラック1の圧縮符号化データの他に、各ループ区間毎に、サンプル列を圧縮符号化したトラック2の圧縮符号化データを用意する。そして、上記第1実施形態と同様、ループ再生の際には、トラック1の圧縮符号化データをデコーダ21に再生させ、各ループ区間のトラック2の圧縮符号化データをデコーダ22に再生させればよい。
(2)上記各実施形態では、1フレーズ分のサンプル列の一部の区間のサンプル列を取り出してループ再生用の圧縮符号化データを用意したが、ループ再生用の圧縮符号化データは、1フレーズのサンプル列の一部の区間と厳密に一致していなくてもよい。あるいは、1フレーズのサンプル列とは無関係のサンプル列をループ再生に用いてもよい。
(3)上記各実施形態では、ループ再生の際に不自然な切れ目を生じさせないためにデコーダを複数利用したが、ループ再生時における音質に関する要求が厳しくない場合には、各トラックの圧縮符号化データの再生を1つのデコーダに順次行わせてもよい。
(4)上記第2の実施形態では、ループ再生の指示が与えられたとき、第1のループ区間の繰り返し再生と第2のループ区間の繰り返し再生の両方を行ったが、与えられる指示に応じて、次のいずれかのループ再生を実行するようにしてもよい。
a.第1のループ区間および第2のループ区間の繰り返し再生(上記第2実施形態において説明したループ再生である。)
b.第1のループ区間のみの繰り返し再生
c.第2のループ区間のみの繰り返し再生
Although the first and second embodiments of the present invention have been described above, other embodiments can be considered other than this. For example:
(1) In the first embodiment, an example in which one loop section is included in one phrase has been described. However, a plurality of loop sections may be provided by changing the location in one phrase. In this case, in addition to the compression-encoded data of track 1 obtained by compression-encoding the sample sequence for one phrase, the compression-encoded data of track 2 obtained by compression-encoding the sample sequence is prepared for each loop section. Similarly to the first embodiment, when the loop is reproduced, the compressed encoded data of track 1 is reproduced by the decoder 21, and the compressed encoded data of track 2 of each loop section is reproduced by the decoder 22. Good.
(2) In each of the above embodiments, a sample sequence of a part of a sample sequence for one phrase is taken out and compressed encoded data for loop reproduction is prepared. However, the compressed encoded data for loop reproduction is 1 It does not have to be exactly the same as a part of the phrase sample string. Alternatively, a sample sequence unrelated to one phrase sample sequence may be used for loop reproduction.
(3) In each of the above embodiments, a plurality of decoders are used in order to prevent unnatural breaks during loop reproduction. However, when the requirements regarding sound quality during loop reproduction are not strict, compression encoding of each track is performed. Data reproduction may be performed sequentially by one decoder.
(4) In the second embodiment, when a loop playback instruction is given, both the repeated playback of the first loop section and the repeated playback of the second loop section are performed. Depending on the given instruction, Thus, any one of the following loop reproductions may be executed.
a. Repetitive playback of the first loop section and the second loop section (the loop playback described in the second embodiment)
b. Repeat reproduction of only the first loop section c. Repeat playback only in the second loop section

この発明の第1実施形態であるオーディオ再生装置の構成を示すブロック図である。1 is a block diagram showing the configuration of an audio playback apparatus according to a first embodiment of the present invention. 同実施形態における圧縮符号化データの内容を説明する図である。It is a figure explaining the contents of compression coding data in the embodiment. 同実施形態の動作を示すタイムチャートである。It is a time chart which shows operation | movement of the embodiment. この発明の第2実施形態であるオーディオ再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the audio reproduction apparatus which is 2nd Embodiment of this invention. 同実施形態における圧縮符号化データの内容を説明する図である。It is a figure explaining the contents of compression coding data in the embodiment. 同実施形態の動作を示すタイムチャートである。It is a time chart which shows operation | movement of the embodiment.

符号の説明Explanation of symbols

10……メモリ、21,22,23……デコーダ、30……オーディオ出力部、40……制御部。 DESCRIPTION OF SYMBOLS 10 ... Memory, 21, 22, 23 ... Decoder, 30 ... Audio output part, 40 ... Control part.

Claims (5)

1フレーズ分のオーディオ波形のサンプル列を所定個数のサンプルからなるブロック単位で圧縮符号化したフレーズ圧縮符号化データと、前記1フレーズ分のオーディオ波形のサンプル列のうちのループ開始点からループ終了点までのサンプル列を前記所定個数のサンプルからなるブロック単位で圧縮符号化したループ再生用圧縮符号化データとを記憶する記憶手段と、
圧縮符号化データを復号化し、オーディオ波形のサンプル列を出力する再生動作を行う復号化手段と、
前記復号化手段による圧縮符号化データの再生を制御する手段であって、通常再生の指示が与えられた場合には、前記フレーズ圧縮符号化データの再生を行わせ、ループ再生の指示が与えられた場合には、フレーズの開始点からループ開始点の手前まで前記フレーズ圧縮符号化データの再生を行わせ、次に、前記ループ再生用圧縮符号化データの再生行わせた後、前記フレーズ圧縮符号化データの前記ループ開始点以降の再生を再開させる制御手段と
を具備することを特徴とするオーディオ再生装置。
Phrase compression-encoded data obtained by compressing and encoding a sample phrase of an audio waveform for one phrase in a block unit consisting of a predetermined number of samples , and a loop start point to a loop end point in the sample string of the audio waveform for one phrase Storage means for storing loop-encoded compression encoded data obtained by compressing and encoding the sample sequence up to a block unit consisting of the predetermined number of samples ;
Decoding means for performing a reproduction operation for decoding compressed encoded data and outputting a sample sequence of an audio waveform;
And means for controlling the reproduction of the compressed data encoded by said decoding means, when the instruction of normal reproduction is given, to perform the reproduction of the phrase compression encoded data, an instruction loop playback when given, to perform the regeneration of the front or in front Symbol phrase compressed data of the loop starting point from the start of the phrase, then carry out the reproduction of the previous SL encoded data loop reproduction And a control means for restarting reproduction of the phrase compression-encoded data after the loop start point .
前記復号化手段は、圧縮符号化データを再生する第1および第2のデコーダを有し、
前記制御手段は、前記フレーズの開始点から前記ループ開始点の手前までのサンプル列が出力されるまで前記フレーズ圧縮符号化データの再生を前記第1のデコーダに行わせた後、サンプルの復号処理に用いられる全てのレジスタ群の記憶内容を前記第1のデコーダに保持させて停止させ、前記ループ再生用圧縮符号化データの再生を前記第2のデコーダに行わせ、その後、前記第1のデコーダに、前記停止の際に保持したレジスタ群の記憶内容を用いて前記フレーズ圧縮符号化データの再生を再開させ、前記ループ開始点以降のサンプル列を出力させることを特徴とする請求項1に記載のオーディオ再生装置。
The decoding means has first and second decoders for reproducing compressed encoded data,
The control means causes the first decoder to reproduce the phrase compression encoded data until a sample string from the start point of the phrase to a position before the loop start point is output, and then performs a sample decoding process. by retained stops all of the contents of registers used in said first decoder, to perform the playback of the loop playback encoded data to the second decoder, then, the first The decoder of (2) restarts the reproduction of the phrase compression encoded data using the stored contents of the register group held at the time of the stop, and outputs a sample string after the loop start point. The audio playback device according to 1.
前記制御手段は、前記ループ再生用圧縮符号化データの再生を開始させるまでの間に、前記第2のデコーダを前記ループ再生用圧縮符号化データの再生を行うことが可能な状態とすることを特徴とする請求項2に記載のオーディオ再生装置。   The control means sets the second decoder in a state capable of reproducing the compressed data for loop reproduction before the reproduction of the compressed data for loop reproduction is started. The audio reproduction apparatus according to claim 2, wherein 前記制御手段は、前記ループ再生用圧縮符号化データの所定回数に亙る再生を前記第2のデコーダに行わせることを特徴とする請求項2または請求項3に記載のオーディオ再生装置。  4. The audio reproduction apparatus according to claim 2, wherein the control unit causes the second decoder to reproduce the loop reproduction compression encoded data for a predetermined number of times. 前記記憶手段は、前記ループ開始点から前記ループ終了点までのループ区間に含まれる第2のループ区間のオーディオ波形のサンプル列を前記所定個数のサンプルからなるブロック単位で圧縮符号化した第2のループ再生用圧縮符号化データをさらに記憶し、The storage means compresses and encodes a sample sequence of an audio waveform in a second loop section included in a loop section from the loop start point to the loop end point in units of blocks including the predetermined number of samples. Further storing compressed encoded data for loop reproduction,
前記制御手段は、前記ループ再生用圧縮符号化データの再生を行う場合には、前記ループ開始点から前記第2のループ区間の開始点の手前まで前記ループ再生圧縮符号化データの再生を行わせ、次に、前記第2のループ再生用圧縮符号化データの再生を行わせた後、前記ループ再生用圧縮符号化データの前記第2のループ区間の開始点以降の再生を再開させることを特徴とする請求項1に記載のオーディオ再生装置。  When the compressed reproduction data for loop reproduction is reproduced, the control means causes reproduction of the loop reproduction compression encoded data from the loop start point to a point before the start point of the second loop section. Next, after the second compressed data for loop reproduction is reproduced, reproduction after the start point of the second loop section of the compressed data for loop reproduction is resumed. The audio reproducing apparatus according to claim 1.
JP2005320535A 2005-11-04 2005-11-04 Audio playback device Active JP4735196B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2005320535A JP4735196B2 (en) 2005-11-04 2005-11-04 Audio playback device
US11/555,382 US7865256B2 (en) 2005-11-04 2006-11-01 Audio playback apparatus
CN200610143383A CN100580797C (en) 2005-11-04 2006-11-02 Audio playback apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005320535A JP4735196B2 (en) 2005-11-04 2005-11-04 Audio playback device

Publications (2)

Publication Number Publication Date
JP2007127838A JP2007127838A (en) 2007-05-24
JP4735196B2 true JP4735196B2 (en) 2011-07-27

Family

ID=38071481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005320535A Active JP4735196B2 (en) 2005-11-04 2005-11-04 Audio playback device

Country Status (2)

Country Link
JP (1) JP4735196B2 (en)
CN (1) CN100580797C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5898355B1 (en) * 2015-04-21 2016-04-06 株式会社カプコン Sound playback program and sound playback system
JP6844401B2 (en) * 2017-04-26 2021-03-17 ティアック株式会社 Information processing equipment, audio equipment and programs

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177490A (en) * 1985-02-02 1986-08-09 ロ−ランド株式会社 Sound source circuit for electronic musical instrument
JPH06138878A (en) * 1992-10-26 1994-05-20 Roland Corp Musical tone signal generator
JPH08101690A (en) * 1994-09-30 1996-04-16 Casio Comput Co Ltd Waveform reading device
JPH11167382A (en) * 1997-09-30 1999-06-22 Yamaha Corp Waveform forming device and method
JP2002346212A (en) * 2001-05-30 2002-12-03 Konami Co Ltd Music arrangement program, medium recorded with music arrangement program, music arrangement device and music arrangement method
JP2003157621A (en) * 2001-11-19 2003-05-30 Sharp Corp Data recording device
JP2005148210A (en) * 2003-11-12 2005-06-09 Konami Computer Entertainment Studios Inc Generating system, reproducing apparatus, generating method, reproducing method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2081514U (en) * 1990-12-30 1991-07-24 宣捍东 Refrigerator keeping temp. after power cut
CN1133426A (en) * 1995-12-20 1996-10-16 北京科海低温设备联合技术公司 Machine for making granular ice
US5945031A (en) * 1998-05-22 1999-08-31 Conserve Resources, Inc. Freeze resistant, Perkins tube type heat exchanger
US6931370B1 (en) * 1999-11-02 2005-08-16 Digital Theater Systems, Inc. System and method for providing interactive audio in a multi-channel audio environment
JP3601473B2 (en) * 2001-05-11 2004-12-15 ヤマハ株式会社 Digital audio compression circuit and decompression circuit
JP3877693B2 (en) * 2003-03-28 2007-02-07 株式会社ディーアンドエムホールディングス Information recording medium playback device
CN2631248Y (en) * 2003-06-03 2004-08-11 清华大学 Regenerative warming clothing with phase transforming material
CN1595022A (en) * 2004-06-24 2005-03-16 伍培云 Refrigerator cold-storage energy-saving device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177490A (en) * 1985-02-02 1986-08-09 ロ−ランド株式会社 Sound source circuit for electronic musical instrument
JPH06138878A (en) * 1992-10-26 1994-05-20 Roland Corp Musical tone signal generator
JPH08101690A (en) * 1994-09-30 1996-04-16 Casio Comput Co Ltd Waveform reading device
JPH11167382A (en) * 1997-09-30 1999-06-22 Yamaha Corp Waveform forming device and method
JP2002346212A (en) * 2001-05-30 2002-12-03 Konami Co Ltd Music arrangement program, medium recorded with music arrangement program, music arrangement device and music arrangement method
JP2003157621A (en) * 2001-11-19 2003-05-30 Sharp Corp Data recording device
JP2005148210A (en) * 2003-11-12 2005-06-09 Konami Computer Entertainment Studios Inc Generating system, reproducing apparatus, generating method, reproducing method, and program

Also Published As

Publication number Publication date
CN100580797C (en) 2010-01-13
JP2007127838A (en) 2007-05-24
CN1959828A (en) 2007-05-09

Similar Documents

Publication Publication Date Title
CN100429941C (en) Audio data deletion and silencing during trick mode replay
US7507894B2 (en) Sound data encoding apparatus and sound data decoding apparatus
JP2005519537A5 (en)
US7865256B2 (en) Audio playback apparatus
JP2009157272A (en) Audio playback device
JP4735196B2 (en) Audio playback device
JP4622728B2 (en) Audio reproduction device and audio reproduction processing program
JP4760440B2 (en) Audio playback device
JP2000032400A (en) Digital video reproduction having trick reproducing characteristics
JP4695006B2 (en) Decryption processing device
JP2009180972A (en) Audio resume reproduction device and audio resume reproduction method
JP4542805B2 (en) Variable speed reproduction method and apparatus, and program
JPH08293157A (en) Recording and reproducing method for variable frame length high efficiency coded data
US7889969B2 (en) Audio frequency shifting during video trick modes
JP4924575B2 (en) Karaoke equipment
JP2001222300A (en) Voice reproducing device and recording medium
JP2006243128A (en) Reproducing device and reproducing method
JP2003058192A (en) Music data reproducing device
JP4900301B2 (en) Karaoke equipment
JP2010123225A (en) Record reproducing apparatus and record reproducing method
JP5751406B2 (en) Video server apparatus and material continuous reproduction method in video server
JP4333653B2 (en) Reproduction method and reproduction apparatus
JP4401876B2 (en) Playback device
JP4529859B2 (en) Audio playback device
JPH09311697A (en) Voice reproducing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110307

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: 20110329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110411

R150 Certificate of patent or registration of utility model

Ref document number: 4735196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3