JP2006277871A - Recorder and recording method - Google Patents

Recorder and recording method Download PDF

Info

Publication number
JP2006277871A
JP2006277871A JP2005098039A JP2005098039A JP2006277871A JP 2006277871 A JP2006277871 A JP 2006277871A JP 2005098039 A JP2005098039 A JP 2005098039A JP 2005098039 A JP2005098039 A JP 2005098039A JP 2006277871 A JP2006277871 A JP 2006277871A
Authority
JP
Japan
Prior art keywords
data
track
audio data
file
start position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005098039A
Other languages
Japanese (ja)
Inventor
Toshiharu Fujieda
利春 藤枝
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.)
D&M Holdings Inc
Original Assignee
D&M Holdings Inc
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 D&M Holdings Inc filed Critical D&M Holdings Inc
Priority to JP2005098039A priority Critical patent/JP2006277871A/en
Publication of JP2006277871A publication Critical patent/JP2006277871A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recorder and a recording method capable of preparing a compressed audio file that can be reproduced easily while preventing the generation of abnormal sound for an optional track. <P>SOLUTION: The input of management information and audio data is received from an audio source, the inputted management information is recorded, and whether or not the inputted audio data are the data at the start position of a track is discriminated on the basis of the recorded management information. At the time of discriminating that the inputted data are not the data at the start position of the track, a bit reservoir function is turned on and compressed audio data are prepared. At the time of discriminating that the inputted audio data are the data at the start position of the track, the bit reservoir function is turned off and the compressed audio data are prepared. The prepared compressed audio data are recorded. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、オーディオソースから所定形式の圧縮オーディオデータファイルを作成し、記録するための技術に関する。   The present invention relates to a technique for creating and recording a compressed audio data file of a predetermined format from an audio source.

近年、CD(Compact Disc)などのデジタルオーディオソースから、MP3(Moving Picture Expert Group Audio Layer-3)やATRAC3(Adaptive TRansform Acoustic Coding 3)等の形式の圧縮オーディオデータファイルを作成、記録し、再生する記録再生装置が普及している。   In recent years, a compressed audio data file in a format such as MP3 (Moving Picture Expert Group Audio Layer-3) or ATRAC3 (Adaptive TRansform Acoustic Coding 3) is created, recorded, and played back from a digital audio source such as a CD (Compact Disc). Recording / reproducing apparatuses are widely used.

オーディオソースからのデータは、通常、1つのトラックが1つの圧縮ファイルとして保存される。したがって、圧縮ファイルのトラック間には無音時間が存在する。無音時間の存在は、曲がトラック毎に分けられている通常のアルバムCD等のソースから圧縮ファイルを作成した場合には問題とならない。しかし、例えば、オーディオデータが連続的に記録されているライブ版のアルバムCD等のソースから圧縮ファイルを作成する場合には、トラック間に無音時間が強制的に挿入されてしまい問題となる。   Data from an audio source is usually stored as a compressed file with one track. Therefore, there is silent time between the tracks of the compressed file. The existence of silent time is not a problem when a compressed file is created from a source such as a normal album CD in which a song is divided for each track. However, for example, when a compressed file is created from a source such as a live album CD in which audio data is continuously recorded, silent time is forcibly inserted between tracks, which is a problem.

これを解決するために、オーディオソースに連続的に記録されている複数のトラックを1つの圧縮ファイルとして保存する記録装置が考えられている(例えば、下記特許文献1参照)。この構成によれば、圧縮ファイルは1つのファイルとして作成されているため、再生時に無音時間が発生しない。また、この構成では、各曲の開始位置を示すオーディオデータ情報(フレーム番号等)を位置情報ファイルに保存する。このため、編集・再生時にはこの位置情報ファイルを参照して、特定の曲の編集・再生を行うことができる。   In order to solve this problem, a recording apparatus that stores a plurality of tracks continuously recorded in an audio source as one compressed file has been considered (for example, see Patent Document 1 below). According to this configuration, since the compressed file is created as one file, no silence time occurs during reproduction. In this configuration, audio data information (frame number or the like) indicating the start position of each song is stored in a position information file. For this reason, it is possible to edit / reproduce a specific song with reference to the position information file during editing / reproduction.

特開2004−93729号公報JP 2004-93729 A

ところで、圧縮ファイルを作成する手法には、ビットレートを一定に保つため、隣接するフレームにまたがってフレームデータを保存するものがある。この手法は「ビット貯蓄(bit reservoir)」と言われ、先行するフレームの空き領域に後続フレームのデータの一部を格納する。したがって、ビット貯蓄を用いて圧縮されたファイルは、完全に独立なフレーム単位から構成されていない。   Incidentally, as a method for creating a compressed file, there is a method of storing frame data across adjacent frames in order to keep the bit rate constant. This technique is called “bit reservoir” and stores a part of the data of the succeeding frame in the empty area of the preceding frame. Thus, files compressed using bit savings are not composed of completely independent frame units.

このため、上記のように1つのファイルとして作成された圧縮ファイルを特定のトラックから再生する場合、ビット貯蓄を用いて圧縮された場合には、トラックの開始フレームのデータが不足するため異音が発生してしまう。また、同様の理由から、トラック単位の削除等を行ったこのような圧縮ファイルを再生するとき、異音が発生する場合がある。本発明は、上記問題点を解決することを目的とする。   For this reason, when a compressed file created as a single file as described above is reproduced from a specific track, when compressed using bit saving, there is a lack of data in the start frame of the track, resulting in abnormal noise. Will occur. For the same reason, abnormal noise may occur when such a compressed file that has been deleted in units of tracks is reproduced. The present invention aims to solve the above problems.

上記目的を達成するため、本発明の第1の観点に係る記録装置は、オーディオソースから、管理情報およびオーディオデータの入力を受け付ける入力部と、前記入力部から入力された管理情報を記録する管理情報記録部と、前記管理情報記録部に記録された管理情報に基づいて、入力されるオーディオデータがトラックの開始位置のデータであるか否かを判別する開始位置判別部と、前記開始位置判別部が入力されたデータがトラックの開始位置のデータではないと判別したとき、ビット貯蓄機能をオンとして圧縮オーディオデータを作成し、前記開始位置判別部が入力されたオーディオデータがトラックの開始位置のデータであると判別したとき、ビット貯蓄機能をオフとして圧縮オーディオデータを作成するエンコーダと、前記エンコーダが作成した圧縮オーディオデータを記録する圧縮オーディオデータ記録部と、を備える。   To achieve the above object, a recording apparatus according to a first aspect of the present invention includes an input unit that receives input of management information and audio data from an audio source, and a management that records management information input from the input unit. An information recording unit; a start position determining unit that determines whether or not the input audio data is data of a start position of a track based on the management information recorded in the management information recording unit; and the start position determination When it is determined that the input data is not the data at the start position of the track, the bit saving function is turned on to create compressed audio data, and the audio data input by the start position determination unit is the start position of the track. An encoder that creates compressed audio data with the bit saving function turned off when the data is determined to be data, and the encoder There comprises a compressed audio data recording unit for recording compressed audio data generated, a.

上記構成によれば、オーディオソースから入力されるデータがトラックの開始位置のものである場合、ビット貯蓄を用いずにエンコードされる。隣接するフレーム間にわたってデータを保存するビット貯蓄の手法を用いないため、圧縮ファイルのトラック開始フレームは常に先行するフレームとは独立したものとなる。従って、ファイル中の特定のトラックからデコードし再生する場合でも、トラックの開始フレームにおいてデータが不足することはなく、不足するデータを捜し出すなどの特別な処理なしに異音の発生は確実に回避される。   According to the above configuration, when the data input from the audio source is at the start position of the track, it is encoded without using the bit saving. Since the bit saving method for saving data between adjacent frames is not used, the track start frame of the compressed file is always independent of the preceding frame. Therefore, even when decoding and playing back from a specific track in the file, there is no data shortage in the start frame of the track, and the generation of abnormal noise is reliably avoided without special processing such as searching for the missing data. The

上記構成において、前記入力部には曲間に無音時間を含まないオーディオソースが入力されてもよく、この場合、前記圧縮オーディオデータ記録部は、前記エンコーダが作成した圧縮データを1つのファイルとして記録する。この構成によれば、1つのファイルとして記録されることにより、曲間の無音時間なく再生が可能である。また、このファイル中の任意のトラックについて、異音の発生およびこれを回避するための特別な処理を伴うことなく、簡便に再生・編集が可能である。   In the above configuration, an audio source that does not include silence time between songs may be input to the input unit. In this case, the compressed audio data recording unit records the compressed data created by the encoder as one file. To do. According to this configuration, by recording as one file, it is possible to reproduce without silence time between songs. In addition, any track in the file can be easily played back / edited without the occurrence of abnormal noise and special processing for avoiding it.

上記構成において、前記圧縮オーディオデータ記録部に記録されたデータをデコードするデコーダをさらに備えてもよい。すなわち、上記構成の記録装置は、デコーダを備えた記録再生装置として用いることが可能である。   The said structure WHEREIN: You may further provide the decoder which decodes the data recorded on the said compression audio data recording part. In other words, the recording apparatus having the above configuration can be used as a recording / reproducing apparatus including a decoder.

上記目的を達成するため、本発明の第2の観点に係る記録方法は、オーディオソースから、管理情報およびオーディオデータの入力を受け付け、入力された管理情報を記録し、記録された管理情報に基づいて、入力されるオーディオデータがトラックの開始位置のデータであるか否かを判別し、入力されたデータがトラックの開始位置のデータではないと判別したとき、ビット貯蓄機能をオンとして圧縮オーディオデータを作成し、入力されたオーディオデータがトラックの開始位置のデータであると判別したとき、ビット貯蓄機能をオフとして圧縮オーディオデータを作成し、作成した圧縮オーディオデータを記録する、ことを含む。   In order to achieve the above object, a recording method according to a second aspect of the present invention receives management information and audio data from an audio source, records the inputted management information, and based on the recorded management information. If the input audio data is the data at the start position of the track, and the input data is not the data at the start position of the track, the bit saving function is turned on and the compressed audio data is turned on. And when the input audio data is determined to be data at the start position of the track, the bit saving function is turned off to generate compressed audio data, and the generated compressed audio data is recorded.

本発明によれば、任意のトラックについて、異音の発生を防止しつつ、簡便に再生可能な圧縮オーディオファイルを作成可能な記録装置および記録方法が提供される。   According to the present invention, there is provided a recording apparatus and a recording method capable of creating a compressed audio file that can be easily played back while preventing the generation of abnormal sounds for an arbitrary track.

本発明に係る実施の形態について、以下、図面を参照して詳細に説明する。なお、以下に示す実施の形態は一例であり、これに限定されない。   Embodiments according to the present invention will be described below in detail with reference to the drawings. In addition, embodiment shown below is an example and is not limited to this.

本発明の実施の形態に係るオーディオデータの記録装置のブロック図を図1に示す。図1に示すように、本実施形態の記録装置20は、入力部11と、エンコーダ12と、記録部13と、出力部16と、制御部14と、を備える。   FIG. 1 is a block diagram of an audio data recording apparatus according to an embodiment of the present invention. As shown in FIG. 1, the recording apparatus 20 of the present embodiment includes an input unit 11, an encoder 12, a recording unit 13, an output unit 16, and a control unit 14.

入力部11には、各種のオーディオソースからのオーディオ信号が入力される。オーディオソースとしてはCD(Compact Disk)、MD(Mini Disc)、DVD(Digital Versatile Disc)オーディオ等が挙げられる。また、インターネット等のネットワークを介してコンピュータ等のメモリにダウンロードされたオーディオデータが入力部11に入力されてもよい。オーディオソースには、無音時間を挟んで複数の曲トラックが記録された一般的なオーディオソースの他に、曲間に無音時間が存在しないオーディオ信号、例えば、コンサートやライブの音声を記録したライブ版CD等のソースが含まれる。なお、本願書類において、「無音時間」とは、曲間を区別するために出力される、所定レベル以下、所定時間(例えば、1〜3秒)の音声信号出力をいう。入力部11から入力されたデータは、図示しないバッファメモリ等に一時的に保存される。   The input unit 11 receives audio signals from various audio sources. Audio sources include CD (Compact Disk), MD (Mini Disc), DVD (Digital Versatile Disc) audio, and the like. Further, audio data downloaded to a memory such as a computer via a network such as the Internet may be input to the input unit 11. In addition to a general audio source in which multiple song tracks are recorded with a silence period in between, the audio source has no silence period between songs, for example, a live version that records concert and live audio Sources such as CDs are included. In the present application document, “silent time” means an audio signal output for a predetermined time or less and a predetermined time (for example, 1 to 3 seconds) that is output to distinguish between songs. Data input from the input unit 11 is temporarily stored in a buffer memory or the like (not shown).

エンコーダ12は、入力部11より入力されたオーディオ信号を、MP3(Moving Picture Expert Group Audio Layer-3)形式でエンコードする。エンコーダ12は、入力されたオーディオ信号を圧縮し、基本単位(フレーム)の集合からなる圧縮データファイルを作成する。各フレームは、ヘッダと、サイド情報と、(メイン)データとから構成される。ヘッダは、同期ワード、IDタグ情報、フレームサイズ情報等を含んで構成されている。サイド情報は、データ形式等の情報を含んで構成されている。ヘッダとサイド情報との間にはエラーチェックが挿入されている。   The encoder 12 encodes the audio signal input from the input unit 11 in MP3 (Moving Picture Expert Group Audio Layer-3) format. The encoder 12 compresses the input audio signal and creates a compressed data file including a set of basic units (frames). Each frame includes a header, side information, and (main) data. The header includes a synchronization word, ID tag information, frame size information, and the like. The side information includes information such as a data format. An error check is inserted between the header and the side information.

記録部13は、管理情報ファイル130と、オーディオファイル131と、位置情報ファイル132と、を記録する。   The recording unit 13 records a management information file 130, an audio file 131, and a position information file 132.

管理情報記憶ファイル130は、オーディオソースから読み出された管理情報を記録する。管理情報ファイル130に記録される管理情報は、オーディオソースに記録されているデータのトラック数、トラック開始位置、トラック長等であり、例えば、CDのTOC(Table Of Content)情報として取得される。   The management information storage file 130 records management information read from the audio source. The management information recorded in the management information file 130 includes the number of tracks of data recorded in the audio source, the track start position, the track length, and the like, and is acquired as, for example, TOC (Table Of Content) information of a CD.

オーディオファイル131は、エンコーダ12により圧縮されたオーディオデータを記録する。エンコーダ12により圧縮されるオーディオデータは、いわゆるリジュームプレイ(前回停止した位置からの再生)の際に利用されるフレームの集合から成る。このフレーム群から構成される1又は複数のトラック(曲)が、1又は複数のファイルとしてオーディオファイル131に記録される。   The audio file 131 records audio data compressed by the encoder 12. The audio data compressed by the encoder 12 is composed of a set of frames used in so-called resume play (reproduction from the position where the previous stop was performed). One or a plurality of tracks (songs) composed of the frame group are recorded in the audio file 131 as one or a plurality of files.

曲間に無音時間が挿入されているオーディオソースからの入力信号は、トラックごとに異なる圧縮ファイルとしてオーディオファイル131に記録される。すなわち、複数の曲が無音時間を挟んで記録されている通常のアルバムCD等をソースとする場合には、トラックはそれぞれ異なる複数の圧縮ファイルとしてオーディオファイル131に記録される。   An input signal from an audio source in which silent time is inserted between songs is recorded in the audio file 131 as a compressed file that differs for each track. That is, when a normal album CD or the like in which a plurality of songs are recorded with a silence period in between is used as a source, tracks are recorded in the audio file 131 as a plurality of different compressed files.

一方、本実施形態におけるエンコーダ12は、曲間に無音時間が存在しないライブ版CD等のソースからの入力信号は1つの圧縮ファイルとしてエンコードし、オーディオファイル131に記録される。このように1つの圧縮ファイルとして記録されることにより、無音時間の発生を確実に防いで、圧縮前のデータと同様に連続的に再生可能である。   On the other hand, the encoder 12 according to the present embodiment encodes an input signal from a source such as a live CD that has no silence between songs as a single compressed file and records the encoded signal in the audio file 131. By recording as one compressed file in this way, it is possible to reliably prevent the generation of silent time and to reproduce continuously like the data before compression.

また、本実施の形態におけるエンコーダ12は、「ビット貯蓄(bit reservoir)」の手法を用いてエンコード可能である。すなわち、エンコーダ12は、図示しないバッファメモリに保存されたデータをエンコードする際、隣接するフレーム間でオーディオデータの保存領域の貸し借りをして保存することができる。   In addition, the encoder 12 according to the present embodiment can encode using the method of “bit reservoir”. That is, when encoding data stored in a buffer memory (not shown), the encoder 12 can lend and store a storage area for audio data between adjacent frames.

図2に、ビット貯蓄機能がオンのときにエンコーダ12が作成する圧縮オーディオデータファイルの構成例を示す。すなわち、図2に示すように、フレーム(M)のデータの一部が先行するフレーム(M−1)に含まれている。同様に、フレーム(M+1)のデータの一部は、先行するフレーム(M)に含まれており、更にフレーム(M+2)のデータの一部は、先行するフレーム(M+1)に含まれている。このように、先行するフレームの空き領域に後のフレームのデータを保存することにより、全体として略一定のビットレートを保つことができる。エンコーダ12は、例えば、信号特性に大きなピークが現れ、ビット数が所定基準よりも多く必要とされると予想される場合にビット貯蓄を用いて圧縮ファイルを作成する。勿論、高い圧縮率を実現するため、全てのフレームについてビット貯蓄を施すようにしてもよい。   FIG. 2 shows a configuration example of a compressed audio data file created by the encoder 12 when the bit saving function is on. That is, as shown in FIG. 2, a part of the data of the frame (M) is included in the preceding frame (M-1). Similarly, a part of the data of the frame (M + 1) is included in the preceding frame (M), and a part of the data of the frame (M + 2) is included in the preceding frame (M + 1). Thus, by storing the data of the subsequent frame in the empty area of the preceding frame, the substantially constant bit rate can be maintained as a whole. For example, when a large peak appears in the signal characteristics and the number of bits is expected to be required more than a predetermined reference, the encoder 12 creates a compressed file using the bit saving. Of course, in order to realize a high compression rate, bit saving may be performed for all frames.

本実施の形態において、エンコーダ12は、トラックの開始位置をエンコードする際には、ビット貯蓄機能をオフとして動作する。すなわち、トラックの開始位置をエンコードするとき、エンコーダ12は、ビット貯蓄を用いず、独立してデコード可能なフレームを作成する。より具体的には、エンコーダ12は、データが隣接するフレーム間にまたがらないようにトラック開始位置のフレームを作成する。図3にトラックの開始位置をエンコードするときに、エンコーダ12が作成する圧縮データファイルの構成例を示す。図3に示すように、トラック開始位置に対応するフレーム(N+1)のデータは、先行するフレーム(N)に含まれずに保存されている。このように、トラック開始位置に対応するフレーム(N+1)は独立しており、それ以降のフレームからデコード可能であり、また、フレーム(N+1)以降は、先行するフレーム(N)から切り離して削除、移動等が可能である。   In this embodiment, the encoder 12 operates with the bit saving function turned off when encoding the start position of the track. That is, when encoding the start position of a track, the encoder 12 creates a frame that can be independently decoded without using bit saving. More specifically, the encoder 12 creates a frame at the track start position so that data does not span between adjacent frames. FIG. 3 shows a configuration example of a compressed data file created by the encoder 12 when encoding the start position of a track. As shown in FIG. 3, the data of the frame (N + 1) corresponding to the track start position is stored without being included in the preceding frame (N). In this way, the frame (N + 1) corresponding to the track start position is independent and can be decoded from the subsequent frames, and after the frame (N + 1), it is deleted separately from the preceding frame (N). It can be moved.

位置情報ファイル132には、オーディオファイル131に記録されたファイルについて、ファイル中に含まれる各トラック(曲)の開始位置(アドレス)、トラック長等のファイルの管理情報が記録されている。位置情報ファイル132の位置情報に基づいて、オーディオファイル131に保存された任意のトラックが再生等のために指定される。位置情報ファイル132に記録された管理情報は、トラックの削除、移動等の編集作業時に更新される。   In the position information file 132, file management information such as the start position (address) of each track (song) included in the file and the track length of the file recorded in the audio file 131 is recorded. Based on the position information of the position information file 132, an arbitrary track stored in the audio file 131 is designated for reproduction or the like. The management information recorded in the position information file 132 is updated at the time of editing work such as track deletion or movement.

本実施の形態では、曲間に無音時間があるソースから作成する圧縮ファイルだけでなく、曲が連続的に記録されているソースから作成する圧縮ファイルについても、各トラックの開始位置情報が位置情報ファイル132に記録されている。従って、全体として1つの圧縮ファイルとして作成され、無音時間なしに連続再生可能な圧縮ファイルについても、その任意のトラックの指定が可能である。すなわち、本実施の形態では、複数の曲が連続して記録されたソースについて、1つの圧縮ファイルを作成して無音時間なしに再生可能であるとともに、これに含まれる任意の曲の指定、再生が可能である。   In this embodiment, not only a compressed file created from a source having a silent time between songs but also a compressed file created from a source in which songs are continuously recorded, the start position information of each track is the position information. It is recorded in the file 132. Therefore, it is possible to specify an arbitrary track for a compressed file that is created as a whole as a single compressed file and that can be continuously played back without a silence period. In other words, in this embodiment, a single compressed file can be created and reproduced without silence time for a source in which a plurality of songs are recorded continuously, and any song included in this can be designated and played back. Is possible.

ここでさらに、本実施の形態では、トラックの開始位置では、ビット貯蓄機能をオフとしてエンコードされる。このため、圧縮ファイルにおけるトラックの開始フレームは、常に先行する他のトラックのフレームから独立している。したがって、位置情報ファイル132に記録された位置情報に基づいて任意のトラックから再生する場合でも、各トラックの再生時に異音が発生することはない。これにより、1つの圧縮ファイルに含まれる複数のトラックのうち、任意のトラックを指定する場合であっても、再生時に異音は発生することは確実に回避可能である。また、これらのトラックについて削除、移動等の編集をした場合でも、再生時に異音の発生は確実に防がれる。   Furthermore, in this embodiment, encoding is performed with the bit saving function turned off at the start position of the track. For this reason, the start frame of the track in the compressed file is always independent of the frames of the other preceding tracks. Therefore, even when reproduction is performed from an arbitrary track based on the position information recorded in the position information file 132, no abnormal sound is generated during reproduction of each track. As a result, even when an arbitrary track is designated from among a plurality of tracks included in one compressed file, it is possible to reliably avoid occurrence of abnormal noise during reproduction. In addition, even when these tracks are edited such as deletion, movement, etc., it is possible to reliably prevent the generation of abnormal noise during reproduction.

出力部16は、音声ファイル131に保存された圧縮オーディオデータファイルを、A/Dコンバータ等に出力する。   The output unit 16 outputs the compressed audio data file stored in the audio file 131 to an A / D converter or the like.

操作部17は、ボタン、ジョグダイヤル等から構成され、ユーザが各種の指示を入力するために設けられている。ユーザは操作部17を操作して、記録の開始/停止等の指示を入力することができる。   The operation unit 17 includes buttons, a jog dial, and the like, and is provided for a user to input various instructions. The user can input an instruction to start / stop recording by operating the operation unit 17.

制御部14は、上記構成の記録装置20の全体を制御する。制御部14は、開始位置判別部141を備える。   The control unit 14 controls the entire recording apparatus 20 having the above configuration. The control unit 14 includes a start position determination unit 141.

開始位置判別部141は、管理情報ファイル130に記録された管理情報に基づいて、入力されるオーディオデータがトラックの開始位置のデータであるか否かを判別する。具体的には、開始位置判別部141は、例えば、入力された又はこれから入力されるオーディオデータが、管理情報ファイル130に記憶されたトラック開始位置のものであるか否かを判別する。これに限らず、開始位置判別部141は、例えば、新たなトラック番号に対応するオーディオデータが入力されたか否かを判別するようにしてもよい。また、開始位置判別部141は、例えば、入力されたオーディオデータの無音時間(所定レベル以下の信号が所定時間続く期間)を検出して新たなトラック開始位置を判別するようにしてもよい。また別に、ユーザが入力されるオーディオデータを聞きながら操作部17を操作して新たなトラック開始位置を指定するようにしてもよい。   Based on the management information recorded in the management information file 130, the start position determination unit 141 determines whether the input audio data is data of the start position of the track. Specifically, the start position determination unit 141 determines, for example, whether the audio data that has been input or is to be input is the track start position stored in the management information file 130. For example, the start position determination unit 141 may determine whether or not audio data corresponding to a new track number is input. In addition, the start position determination unit 141 may determine a new track start position by detecting, for example, a silence period of input audio data (a period in which a signal of a predetermined level or lower continues for a predetermined time). Alternatively, a new track start position may be designated by operating the operation unit 17 while listening to audio data input by the user.

開始位置判別部141が入力されるオーディオデータがトラックの開始位置のものであると判別したとき、制御部14は、ビット貯蓄機能をオフとしてエンコードするようエンコーダ12を制御する。開始位置判別部141が入力されるオーディオデータがトラックの開始位置のものではないと判別したとき、制御部14は、ビット貯蓄機能をオンとしてエンコードするようエンコーダ12を制御する。   When the start position determination unit 141 determines that the input audio data is of the start position of the track, the control unit 14 controls the encoder 12 to encode with the bit saving function turned off. When the start position determining unit 141 determines that the input audio data is not the track start position, the control unit 14 controls the encoder 12 to encode with the bit saving function turned on.

以下、上記構成の本実施の形態に係る記録装置の動作について、図面を参照して説明する。図4に、本実施の形態の記録装置の記録動作の一例を示すフローチャートを示す。   The operation of the recording apparatus according to the present embodiment having the above configuration will be described below with reference to the drawings. FIG. 4 is a flowchart showing an example of the recording operation of the recording apparatus of the present embodiment.

制御部14は、操作部17を通じてユーザから記録指示を受け付けると、図4のフローチャートに示す動作を開始する。まず、制御部14は、オーディオソース(例えばCD)のTOC情報を取得する(ステップS101)。取得された管理情報は、新たに作成した或いは予め作成された管理情報ファイル130に保存される。このとき、制御部14は、管理情報に基づいて、入力されるオーディオソースに無音時間が存在するか否かを判別する。   When receiving a recording instruction from the user through the operation unit 17, the control unit 14 starts the operation illustrated in the flowchart of FIG. 4. First, the control unit 14 acquires TOC information of an audio source (for example, a CD) (step S101). The acquired management information is stored in a newly created or previously created management information file 130. At this time, the control unit 14 determines whether or not there is a silent time in the input audio source based on the management information.

制御部14は、次いで、オーディオファイル(空ファイル)131と、位置情報ファイル(空ファイル)132と、を作成する(ステップS102およびS103)。なお、オーディオファイル131および位置情報ファイル132は予め記録部13に作成されていてもよい。   Next, the control unit 14 creates an audio file (empty file) 131 and a position information file (empty file) 132 (steps S102 and S103). The audio file 131 and the position information file 132 may be created in the recording unit 13 in advance.

次いで、制御部14は、入力されたオーディオデータがトラック開始位置のものか否かを管理情報ファイル130に記録された管理情報に基づいて判別する(ステップS104)。   Next, the control unit 14 determines whether or not the input audio data is at the track start position based on the management information recorded in the management information file 130 (step S104).

トラック開始位置のデータである場合(ステップS104;YES)、制御部14はエンコーダ12にビット貯蓄機能をオフとしてエンコードするよう制御する(ステップS105)。このとき、制御部14は、入力部11に順次入力されるデータを一旦図示しないバッファメモリに格納し、格納した記録データを例えばフレーム単位或いは複数フレームを含む一定のデータ量毎にエンコードするようエンコーダ12を制御する。   If the data is the track start position (step S104; YES), the control unit 14 controls the encoder 12 to encode with the bit saving function turned off (step S105). At this time, the control unit 14 temporarily stores the data sequentially input to the input unit 11 in a buffer memory (not shown), and encodes the stored recording data, for example, for each frame or for every fixed amount of data including a plurality of frames. 12 is controlled.

制御部14は、エンコードにより得られた圧縮ファイルを構成するトラックの番号、開始位置の記録容量等の管理情報を位置情報ファイル132に記録する(ステップS107)。また、制御部14は、エンコードにより得られた圧縮データを、オーディオファイル131に記録する(ステップS108)。このとき、オーディオファイル131には、トラックの開始位置が独立したフレームからなる圧縮データファイルが保存される。   The control unit 14 records management information such as the number of tracks constituting the compressed file obtained by encoding and the recording capacity at the start position in the position information file 132 (step S107). Further, the control unit 14 records the compressed data obtained by encoding in the audio file 131 (step S108). At this time, the audio file 131 stores a compressed data file including frames whose track start positions are independent.

また、オーディオソースから曲間に無音時間が存在するオーディオデータが入力される場合、制御部14は、各トラックをそれぞれ別ファイルとしてオーディオファイル131に記録する。一方、オーディオソースから曲間に無音時間が存在しないオーディオデータが入力される場合、制御部14は、各トラックを全体として1つのファイルとしてオーディオファイル131に記録する。   In addition, when audio data in which silent time exists between songs is input from the audio source, the control unit 14 records each track in the audio file 131 as a separate file. On the other hand, when audio data having no silent time between songs is input from the audio source, the control unit 14 records each track in the audio file 131 as one file as a whole.

一方、入力されたデータがトラック開始位置のデータでない場合は(ステップS104;NO)、制御部14は、ビット貯蓄機能をオフとしてエンコードするようエンコーダ12を制御する(ステップS106)。制御部14は、エンコードにより得られた圧縮データのトラック番号およびトラック開始位置の記録容量を位置情報ファイル132に記録し(ステップS107)、圧縮されたデータをオーディオファイル131に記録する(ステップS108)よう制御する。   On the other hand, when the input data is not data at the track start position (step S104; NO), the control unit 14 controls the encoder 12 to encode with the bit saving function turned off (step S106). The control unit 14 records the track number of the compressed data obtained by encoding and the recording capacity of the track start position in the position information file 132 (step S107), and records the compressed data in the audio file 131 (step S108). Control as follows.

その後、制御部14は、オーディオソースに含まれる最後のトラックのエンコードが終了したか否かを管理情報に基づき判別する(ステップS109)。最後のトラックのエンコードが終了していない場合(ステップS109;NO)、ステップS104に戻り次のトラックをエンコードする。最後のトラックまでエンコードが終了した場合(ステップS109;YES)、記録、更新したオーディオファイル131および位置情報ファイル132をそれぞれ保存する(ステップS110およびS111)。   Thereafter, the control unit 14 determines whether or not the encoding of the last track included in the audio source is completed based on the management information (step S109). If the last track has not been encoded (step S109; NO), the process returns to step S104 to encode the next track. When the encoding is completed up to the last track (step S109; YES), the recorded and updated audio file 131 and position information file 132 are stored (steps S110 and S111), respectively.

以上の動作により、オーディオソースに含まれる全てのトラックが1または複数の圧縮ファイルとしてエンコードされ、同時に圧縮データファイルを構成するトラックの開始位置情報を保存した位置情報ファイルが作成される。   Through the above operation, all tracks included in the audio source are encoded as one or a plurality of compressed files, and a position information file storing the start position information of the tracks constituting the compressed data file is created at the same time.

以上説明したように、本実施の形態によれば、無音時間を含まないソースから作成された圧縮オーディオファイルは、全体が1つの圧縮ファイルとして作成可能である。したがって、この圧縮ファイルを再生した場合には、最初から最後まで1つのファイルとして無音時間を含まずに連続的に出力することができる。   As described above, according to the present embodiment, a compressed audio file created from a source that does not include silence time can be created entirely as a single compressed file. Therefore, when this compressed file is reproduced, it can be continuously output as one file from the beginning to the end without including the silent time.

また、ユーザが操作部17を操作して所望の曲の指定を指定したとき、制御部14は、位置情報ファイル132を参照し、指定されたトラックの開始位置情報を取得することができる。したがって、オーディオファイル131に保存されたファイルの任意のトラックを出力することが可能である。   In addition, when the user operates the operation unit 17 to specify designation of a desired song, the control unit 14 can obtain the start position information of the designated track with reference to the position information file 132. Therefore, it is possible to output an arbitrary track of the file stored in the audio file 131.

ここで、本実施の形態では、各トラックの開始フレームはビット貯蓄機能を用いずにエンコードされ、トラックの開始フレームはそれ自体独立してデコード可能である。このため、ライブ版CD等の曲間に無音時間を含まないソースから1つのファイルとして作成した圧縮データファイルについて、これを構成する任意のトラックデータを、異音の発生を伴うことなく、その開始位置から出力可能である。   Here, in this embodiment, the start frame of each track is encoded without using the bit saving function, and the start frame of the track can be decoded independently. For this reason, with regard to a compressed data file created as a single file from a source that does not include silence between songs such as live CDs, the start of any track data that constitutes this without causing any abnormal noise It is possible to output from the position.

また、同様の理由から、ライブ版CD等の曲間に無音時間を含まないオーディオソースから作成した圧縮ファイルを安全に編集することができる。例えば、ユーザが操作部17を操作して所望のトラックの削除を指定したときには、制御部14は、位置情報ファイル132を参照し、指定されたトラックの開始位置情報と次のトラックの開始位置情報を取得する。制御部14はオーディオファイル131から、指定されたトラックの開始位置情報と次のトラックの開始位置情報を基にオーディオファイル131のデータを削除する。また、制御部14は、位置情報ファイル132のデータを、削除したデータの記録容量に合わせて更新する。本実施の形態では、各トラックの開始フレームは独立しているため、安全に任意のトラックの削除をすることができ、削除後の再生時に特別な処理なく、異音の発生を伴わずに出力が可能である。   For the same reason, it is possible to safely edit a compressed file created from an audio source that does not include silent time between songs such as a live CD. For example, when the user designates deletion of a desired track by operating the operation unit 17, the control unit 14 refers to the position information file 132, and specifies the start position information of the designated track and the start position information of the next track. To get. The control unit 14 deletes the data of the audio file 131 from the audio file 131 based on the start position information of the designated track and the start position information of the next track. Further, the control unit 14 updates the data in the position information file 132 in accordance with the recording capacity of the deleted data. In this embodiment, since the start frame of each track is independent, any track can be safely deleted, and no special processing is performed during playback after the deletion, and no abnormal sound is generated. Is possible.

また、同様に、ユーザが操作部17を操作して希望のトラックの移動を指定したときは(移動トラックと移動場所をそれぞれ指定)、制御部14は、位置情報ファイル132を参照し、指定された移動トラックの開始位置、次のトラックの開始位置および移動先の位置情報を取得する。制御部14はこれらの位置情報を基にオーディオファイル131のデータを同一ファイル内で移動する。制御部14は、同時に、位置情報ファイル132のデータを、移動したデータの容量に合わせて更新する。このとき、上記のように各トラックの開始フレームは独立しているため、移動後、再生時に特別な処理なく、異音の発生を伴わずに出力が可能である。   Similarly, when the user operates the operation unit 17 to specify the movement of the desired track (specify the moving track and the moving location, respectively), the control unit 14 refers to the position information file 132 and is specified. The start position of the moved track, the start position of the next track, and the position information of the move destination are acquired. The control unit 14 moves the data of the audio file 131 within the same file based on the position information. At the same time, the control unit 14 updates the data in the position information file 132 according to the capacity of the moved data. At this time, since the start frame of each track is independent as described above, it is possible to output after moving without any special processing at the time of reproduction and without generating abnormal noise.

なお、上記実施の形態では、オーディオソースからのオーディオデータをMP3形式で圧縮保存する場合を例にとって説明したが、圧縮形式はこれに限定されず、ATRAC3(Adaptive TRansform Acoustic Coding 3)等の他の圧縮形式を用いる場合にも好適に適用可能である。   In the above embodiment, the case where audio data from an audio source is compressed and stored in the MP3 format has been described as an example. However, the compression format is not limited to this, and other types such as ATRAC3 (Adaptive TRansform Acoustic Coding 3) are used. The present invention can also be suitably applied when using a compression format.

また、上記実施の形態では、オーディオソースから圧縮オーディオデータファイルを作成し記録する記録装置20について説明している。しかし、上記記録機能に加え、再生機能を搭載した記録再生装置に本発明を適用することも可能である。例えば、図5に示すように、オーディオファイル131から読み出されたオーディオファイルを圧縮時と同じ形式に従ってデコードするデコーダ16を備えた記録再生装置も構成可能である。   In the above embodiment, the recording apparatus 20 that creates and records a compressed audio data file from an audio source has been described. However, the present invention can also be applied to a recording / reproducing apparatus equipped with a reproducing function in addition to the recording function. For example, as shown in FIG. 5, a recording / reproducing apparatus including a decoder 16 that decodes an audio file read from the audio file 131 in accordance with the same format as that at the time of compression can be configured.

また、上記実施の形態において、オーディオファイル131に記録された圧縮データに関する位置情報は、位置情報ファイル132に記録せず、圧縮ファイルのID3タグに記録するようにしてもよい。   In the above embodiment, the position information related to the compressed data recorded in the audio file 131 may be recorded in the ID3 tag of the compressed file instead of being recorded in the position information file 132.

上記で詳細に説明したものは本発明の実施の形態に過ぎず、本発明の新規な開示及び利点から大きく逸脱することなしに、当該例示的な実施形態において多くの修正が可能であることは当業者には容易に理解されるであろう。従って、かかる修正のすべてが本発明の範囲内に含まれると意図される。   What has been described in detail above is merely an embodiment of the invention, and that many modifications can be made in the exemplary embodiment without departing from the novel disclosure and advantages of the invention. Those skilled in the art will readily understand. Accordingly, all such modifications are intended to be included within the scope of this invention.

本発明の実施の形態に係る記録装置の構成を示すブロック図である。1 is a block diagram showing a configuration of a recording apparatus according to an embodiment of the present invention. ビット貯蓄機能をオンとしてエンコードしたときのフレーム構成例を示す図である。It is a figure which shows the example of a frame structure when encoding by setting a bit saving function to ON. ビット貯蓄機能をオフとしてエンコードしたときのフレーム構成例を示す図である。It is a figure which shows the example of a frame structure when encoding by setting a bit saving function off. 本実施の形態に係る記録方法を説明するフローチャートである。It is a flowchart explaining the recording method which concerns on this Embodiment. 本発明の他の実施の形態に係る記録再生装置を示すブロック図である。It is a block diagram which shows the recording / reproducing apparatus which concerns on other embodiment of this invention.

符号の説明Explanation of symbols

20 記録装置、11 入力部、12 エンコーダ、13 記録部、14 制御部、16 出力部、17 操作部
20 recording device, 11 input unit, 12 encoder, 13 recording unit, 14 control unit, 16 output unit, 17 operation unit

Claims (4)

オーディオソースから、管理情報およびオーディオデータの入力を受け付ける入力部と、
前記入力部から入力された管理情報を記録する管理情報記録部と、
前記管理情報記録部に記録された管理情報に基づいて、入力されるオーディオデータがトラックの開始位置のデータであるか否かを判別する開始位置判別部と、
前記開始位置判別部が入力されたデータがトラックの開始位置のデータではないと判別したとき、ビット貯蓄機能をオンとして圧縮オーディオデータを作成し、前記開始位置判別部が入力されたオーディオデータがトラックの開始位置のデータであると判別したとき、ビット貯蓄機能をオフとして圧縮オーディオデータを作成するエンコーダと、
前記エンコーダが作成した圧縮オーディオデータを記録する圧縮オーディオデータ記録部と、
を備える、ことを特徴とする記録装置。
An input unit for receiving management information and audio data from an audio source;
A management information recording unit for recording the management information input from the input unit;
Based on the management information recorded in the management information recording unit, a start position determination unit for determining whether or not the input audio data is data of the start position of a track;
When the start position determination unit determines that the input data is not the data of the start position of the track, the bit saving function is turned on to create compressed audio data, and the audio data input by the start position determination unit is An encoder that creates compressed audio data by turning off the bit saving function when it is determined that the data is at the start position of
A compressed audio data recording unit for recording the compressed audio data created by the encoder;
A recording apparatus comprising:
前記入力部には曲間に無音時間を含まないオーディオソースが入力され、
前記圧縮オーディオデータ記録部は、前記エンコーダが作成した圧縮データを1つのファイルとして記録する、
ことを特徴とする請求項1に記載の記録装置。
An audio source that does not include silence between songs is input to the input unit,
The compressed audio data recording unit records the compressed data created by the encoder as one file;
The recording apparatus according to claim 1.
前記圧縮オーディオデータ記録部に記録されたデータをデコードするデコーダをさらに備える、
ことを特徴とする請求項1または2に記載の記録装置。
A decoder for decoding the data recorded in the compressed audio data recording unit;
The recording apparatus according to claim 1, wherein the recording apparatus is a recording apparatus.
オーディオソースから、管理情報およびオーディオデータの入力を受け付け、
入力された管理情報を記録し、
記録された管理情報に基づいて、入力されるオーディオデータがトラックの開始位置のデータであるか否かを判別し、
入力されたデータがトラックの開始位置のデータではないと判別したとき、ビット貯蓄機能をオンとして圧縮オーディオデータを作成し、入力されたオーディオデータがトラックの開始位置のデータであると判別したとき、ビット貯蓄機能をオフとして圧縮オーディオデータを作成し、
作成した圧縮オーディオデータを記録する、
ことを含む、ことを特徴とする記録方法。
Accepts management information and audio data input from audio sources,
Record the entered management information,
Based on the recorded management information, it is determined whether the input audio data is the data of the start position of the track,
When it is determined that the input data is not data at the start position of the track, the bit saving function is turned on to create compressed audio data, and when it is determined that the input audio data is data at the start position of the track, Create compressed audio data with the bit saving function off,
Record the created compressed audio data,
A recording method characterized by comprising:
JP2005098039A 2005-03-30 2005-03-30 Recorder and recording method Pending JP2006277871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005098039A JP2006277871A (en) 2005-03-30 2005-03-30 Recorder and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005098039A JP2006277871A (en) 2005-03-30 2005-03-30 Recorder and recording method

Publications (1)

Publication Number Publication Date
JP2006277871A true JP2006277871A (en) 2006-10-12

Family

ID=37212468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005098039A Pending JP2006277871A (en) 2005-03-30 2005-03-30 Recorder and recording method

Country Status (1)

Country Link
JP (1) JP2006277871A (en)

Similar Documents

Publication Publication Date Title
US8199617B2 (en) Recording apparatus
JP2005519537A5 (en)
JPWO2002023896A1 (en) Audio / video information recording / reproducing apparatus and method
US7714223B2 (en) Reproduction device, reproduction method and computer usable medium having computer readable reproduction program emodied therein
JP2006221714A (en) Encoded digital audio reproduction apparatus
JP2006107646A (en) Recording and reproduction device, and editing method
US20080147218A1 (en) Recording/reproduction apparatus
JP2004093729A (en) Recording device and reproducing device for music data
JP4649901B2 (en) Method and apparatus for coded transmission of songs
JP2006277871A (en) Recorder and recording method
CA2329570C (en) Audio recording medium, methods for recording data on and reproducing data from the recording medium, and recording and reproducing apparatuses therefor
JP5368550B2 (en) Recording / reproducing method and recording / reproducing apparatus
JP4977777B2 (en) Encoding apparatus, encoding method, and encoding program
JP4570026B2 (en) How to embed digital watermark
JP2994909B2 (en) Recording and playback device
JP3874121B2 (en) Recording apparatus and recording method
JP2002056613A (en) Reproducing method for reproducing instrument
JP4912165B2 (en) Audio recording / reproducing apparatus and audio recording / reproducing method
JP2009205773A (en) Recording/reproducing device, reproducing device, sound recording method, and reproducing method
JP3798609B2 (en) Information recording apparatus, information recording method, and information dubbing apparatus
US7652955B2 (en) Audio encoding method and apparatus for electronic shock protection function in audio player
JP2007033585A (en) Voice coding apparatus and voice coding method
JP2006323886A (en) Compressed data reproducing method
JPWO2005119676A1 (en) REPRODUCTION DEVICE, REPRODUCTION PROCESSING CIRCUIT, REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE REPRODUCTION PROGRAM
JP2004192661A (en) Device and method for recording and reproducing audio/video information