Disc player and method of playing back disc

Abstract
A disc player for playing back a disc that includes a plurality of folders, each folder including music files, includes a folder specifying unit for selecting a folder playback mode and specifying one folder and a playback unit for reading the music files in the specified folder from the disc to sequentially play back the read music files in the folder playback mode. The playback unit reads and plays back the music files from the disc in an order determined by a playback order determining unit in a folder random playback mode. The playback unit repeatedly plays back at least one music file in the specified folder in a folder repeat playback mode. The playback unit scans and plays back the first few seconds of each music file in the folder in a folder scan playback mode.
Description


BACKGROUND

[0001] 1. Field of the Invention


[0002] The present invention relates to disc players that play back discs, each including music files in a plurality of folders and managing the music files for every folder, and, more particularly, to a disc player capable of playing back all music files in each folder.


[0003] 2. Description of the Related Art


[0004] Data is recorded on a CD-R/RW medium in a disc-at-once mode, a session-at-once mode, a track-at-once mode, or the like.


[0005] In the disc-at-once mode, the lead-in, data, and the lead-out are written as one continuous portion on a disc, without any interruptions, until the entire data set is transferred to the disc and additional data cannot be written on the disc. Compact disc digital audio (CD-DA) adopts this mode.


[0006] In the session-at-once mode, the lead-in, data, and the lead-out of a session are written as one continuous portion on a disc and additional data can be written on the disc. The area between the lead-in and the lead-out, inclusively, is referred to as the session.


[0007] In the track-at-once mode, a session is written in a number of tracks and additional data can be written on the disc. After the data is written on all tracks, the lead-in and the lead-out of the corresponding session are written. When the data is written on a disc in the track-at-once mode, the lead-in LI, data (program area) P, and the lead-out LO respectively have a seam at the head thereof and a seam at the trail thereof, as shown in FIG. 4. The head seam is referred to as a run-in and the trail seam is referred to as a run-out.


[0008] Writing data in sessions in the track-at-once mode produces a multi-session disc. FIG. 5 shows the structure of a multi-session disc. In the multi-session disc, each time a session is appended to the disc, the lead-in areas LI1 to LI3 are respectively provided at the heads of the program areas P1, P2, and P3 and the lead-out areas LO1 to LO3 are respectively provided at the trails thereof Volume descriptors, path tables, and so on (described below) of the sessions additionally written and of the sessions already recorded are written in the lead-in areas LI1 to LI3. Accordingly, reading the lead-in area of the last session reveals the file structure of the entire disc volume. Compressed music data of, for example, MP3 (MPEG-1 audio layer 3) and WMA (Windows media audio) can be written in the sessions of the discs shown in FIGS. 4 and 5 in a CD-ROM (compact disc read only) format.


[0009]
FIG. 6 shows the structure of a sector in a CD-ROM mode 1. In the CD-ROM mode 1, a sector has a size of 2,352 (=24×98) bytes. One sector contains 98 frames (one frame has a size of 24 bytes) and includes the following:


[0010] (1) synchronization (synchronization signal) data SKD of 12 bytes


[0011] (2) a header HDD of four bytes


[0012] (3) user data USD of 2,048 bytes


[0013] (4) ancillary data EDCC of 288 bytes for error correction and detection.


[0014] Of the four bytes of the header HDD, three bytes (MIN/SEC/SECTOR) contain address information and the remaining one byte contains mode information indicating the type of data. The address information basically includes the same data as a sub-code Q channel and is represented as minute/second/sector format, like the sub-code of the CD-DA. Also, the synchronization signal, the sub-code, and an error correcting code (CIRC) are appended to each frame, as in the signal unit format in the CD-DA.


[0015] When the data is written on the CD-ROM, the data is divided into sectors and the sub-code and the CIRC are appended, as in the CD-DA. After the data is modulated by EFM (eight-to-fourteen modulation), it is written on the CD-ROM. The data is read out from the CD-ROM for every sector with the sub-code (the absolute address of the Q channel).


[0016] As described above, the data on the CD-ROM is divided into logical sectors, each having a size of 2,048 bytes and containing 2n logical blocks (it is often the case that n=0). A volume has a system area that uses the first 16 sectors (logical sector numbers from 0 to 15) and a data area. In the case of a volume conforming to the ISO9660 standards, the data area has a volume descriptor BDC, a path table PTH, directories DRT, and data DT, as shown in FIG. 7A. Volume descriptors include a primary volume descriptor, a supplementary volume descriptor, a volume partition descriptor, and so on.


[0017] The primary volume descriptor contains information such as a volume identifier A0, logical block size A1, path table size A2 for determining a file structure (FIG. 8), and path table location A3, as shown in FIG. 7B.


[0018] The path table contains information such as a directory identifier (folder name) B1, a parent directory number B2, and record location (extent location) B3 of a directory (for example, a file) included in a folder (directory), as shown in FIG. 7C. A plurality of path tables of directories that has a root directory as the parent directory is continuously written on the CD-ROM.


[0019] The directory contains information such as a file identifier C1, starting address of file (extent location) C2, file flag C3, and data size of file C4, as shown in FIG. 7D. Directory records of a plurality of files in a directory (folder) are continuously written on the CD-ROM.


[0020]
FIG. 8 shows an exemplary file structure. The root directory has a plurality of directories (folders: R&B, ROCK, JAZZ, POPS, . . . ), the folder ROCK has subfolders ROCKMAN and ROCKWOMAN, and the folder R&B has a plurality of MP3 files (MP3 music file) RB-1, RB-2, . . . . Similarly, other folders have some MP3 music files. This file structure can be determined by analysis of the primary volume descriptor BDC, the path table PTH, and the directories DRT that are described above.


[0021] Heretofore, the playback of discs has been controlled for every disc. However, such playback control has disadvantages in the playback of the disc that has folders including music files for the following reason.


[0022] A maximum of 255 music files can be written on a CD-R/RW medium in the CD-ROM format with a compression technique such as the MP3. However, more than 255 music files can be written depending on the capacity of a recording medium or the specifications of writing software. As described above, in the CD-ROM format, the recording structure of music data on a disc can be described with a primary volume descriptor, a path table, and directories. For example, when a user prepares a music disc, a folder is created for every category (R&B, ROCK, JAZZ, POPS, . . . ), as shown in FIG. 8, and music files corresponding to each category are added to each folder. This file structure is described with the primary volume descriptor, the path table, and the directories. However, when the music discs are played back with the conventional disc-based playback mode, it is not possible to just play back the music files from one category, for example, ROCK or JAZZ.



BRIEF SUMMARY

[0023] Accordingly, it is an object of the present invention to provide a disc player capable of playing back all music files in each folder. It is another object of the present invention to provide a disc player capable of playing back music files in a designated folder in a folder random playback mode, a folder repeat playback mode, or a folder scan playback mode.


[0024] In one embodiment of the present invention, a disc player for playing back a disc includes a plurality of folders, each folder including music files. The disc player includes a folder specifying unit for selecting a folder playback mode and specifying one folder and a playback unit for reading the music files in the specified folder from the disc to sequentially play back the read music files in the folder playback mode.


[0025] The disc player preferably further includes a folder-random-playback selecting unit for selecting a folder random playback mode and a playback order determining unit for determining an order of playing back all the music files in the specified folder. In the folder random playback mode, the playback unit reads and plays back the music files from the disc in the order determined by the playback order determining unit.


[0026] The disc player preferably further includes a folder-repeat-playback selecting unit for selecting a folder repeat playback mode. In the folder repeat playback mode, the playback unit repeatedly plays back at least one music file in the specified folder.


[0027] The disc player preferably further includes a folder-scan-playback selecting unit for selecting a folder scan playback mode. In the folder scan playback mode, the playback unit scans and plays back the first few seconds of each music file in the folder.


[0028] With such features, all music files can be played back for each folder and also the music files can be played back in the folder random playback mode, the folder repeat playback mode, and the folder scan playback mode for every folder. As a result, a user can conveniently play back only desired music files.


[0029] The above and other objects, features, and advantages of the present invention will become clear from the following description of the preferred embodiments taken in conjunction with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0030]
FIG. 1 is a block diagram showing the structure of a disc player according to an embodiment of the present invention;


[0031]
FIG. 2 shows an exemplary recording structure of music data on a disc;


[0032]
FIG. 3 is a flowchart of a folder playback process according to an embodiment of the present invention;


[0033]
FIG. 4 is a diagram showing a single-session disc;


[0034]
FIG. 5 is a diagram showing a multi-session disc;


[0035]
FIG. 6 shows the structure of a sector in a CD-ROM mode 1;


[0036]
FIG. 7A shows the structure of a volume conforming to the ISO9660 standards;


[0037]
FIG. 7B shows the structure of a primary volume descriptor in the volume;


[0038]
FIG. 7C shows the structure of a path table in the volume;


[0039]
FIG. 7D shows the structure of a directory record of one directory; and


[0040]
FIG. 8 shows an exemplary file structure.







DETAILED DESCRIPTION OF THE DRAWINGS AND THE PRESENTLY PREFERRED EMBODIMENTS

[0041]
FIG. 1 is a block diagram showing the structure of a disc player according to an embodiment of the present invention. The disc player holds, for example, a single-session disc 11 shown in FIG. 4 that has a recording structure of music data as shown in FIG. 2. Referring to FIG. 1, the disc player includes a turntable 12 on which the disc is loaded, a spindle motor 13 for rotating the disc at a constant linear velocity, an optical pickup 14 for detecting digital signals of the disc, a drive motor 15 for driving the optical pickup in the radial direction of the disc, a radio frequency (RF) amplifier 16, a servo circuit 17, and a digital signal processor 18. The RF amplifier 16 generates signals, such as eight-to-fourteen modulation (EFM) signals, error signals, and constant linear velocity (CLV) signals, from the digital signals detected by the optical pickup 14. The servo circuit 17 servo-controls the spindle motor 13 in accordance with instructions from a system controller 25 described below by using the error signals, such as a focus error signal and a tracking error signal, the CLV control signals, and so on and drives the optical pickup 14 in the radial direction of the disc. The digital signal processor 18 is synchronized with the EFM signals output from the RF amplifier 16, deinterleaves the EFM signals, and corrects errors in the EFM signals. The digital signal processor 18 demodulates audio sample data to feed the demodulated data to a shock-proof memory controller 20 and demodulates table-of-contents (TOC) information, sub-code data, and volume descriptors, path tables, and directories of the ISO9660 format before inputting them into the system controller 25.


[0042] The disc player according to an embodiment of the present invention includes a shock-proof memory (dynamic random access memory (DRAM)) 19 and the shock-proof memory controller 20. The shock-proof memory 19 temporarily stores ordinary uncompressed music data or MP3-compressed music data. The shock-proof memory controller 20 intermittently writes the uncompressed music data or the compressed music data into the shock-proof memory 19 at a high rate while successively reading it from the shock-proof memory 19 at an ordinary rate. When the shock-proof memory 19 becomes full (it contains the data more than a first predetermined amount), the shock-proof memory controller 20 notifies the system controller 25 of the full-of-data state and temporarily stops the writing of the data while continuing the reading of the uncompressed music data or the compressed music data. When a certain amount of room becomes available in the shock-proof memory 19 after some data is read by the shock-proof memory controller 20, that is, when the amount of the data in the shock-proof memory 19 is less than a second predetermined amount, the shock-proof memory controller 20 notifies the system controller 25 of the available room in the shock-proof memory 19 and resumes writing the uncompressed or compressed music data input from the digital signal processor 18.


[0043] The disc player also includes an MP3 decoder 21, a switch 22, a digital filter 23, and a D/A converter 24. The MP3 decoder 21 decompresses the MP3-compressed music data successively read from the shock-proof memory 19 by the shock-proof memory controller 20 to convert it into ordinary uncompressed music data. The switch 22 selectively outputs the ordinary uncompressed music data read from the shock-proof memory 19 by the shock-proof memory controller 20 or the ordinary uncompressed music data read from the MP3 decoder 21. The digital filter 23 performs, for example, over-sampling of the music data supplied from the switch 22. The D/A converter 24 converts the music data supplied from the digital filter 23 into analog data that is output to an external audio amplifier from an analog output terminal Aout.


[0044] The disc player includes the system controller 25. The system controller 25 analyzes the recording structure of the music data in a session and controls the playback of the disc. The disc player further includes a random access memory (RAM) 26 for storing the analysis result of the recording structure of the music data in the session; a display 27; and an operation unit 28 having various keys (a folder playback key FPK, a random key RMK, a repeat key RPK, a scan key SCK, and so on).


[0045]
FIG. 3 is a flowchart of a folder playback process according to an embodiment of the present invention.


[0046] First, a single-session disc including MP3-compressed music data is recorded in a CD-ROM format is loaded in the disc player. The system controller 25 analyzes the structures of primary volume descriptors, path tables, and directories recorded in a lead-in area of the disc to determine the recording structure of the disc and stores it in the RAM 26. In act S101, the system controller 25 determines whether a folder playback mode is selected. When the folder playback mode is not selected, in act S102, the disc player sequentially plays back all music files in the disc (disc playback mode).


[0047] When the folder playback mode is selected with the FPK key, the system controller 25 displays the names of folders to be played back in the display 27. In act S103, a user selects a certain folder or certain folders from the displayed folder names. The system controller 25 sequentially determines whether a folder random playback mode is selected with the RMK key in act S104, whether a folder repeat playback mode is selected with the RPK key in act S105, and whether a folder scan playback mode is selected with the SCK key in act S106.


[0048] If neither the folder random playback mode, the folder repeat playback mode, and the folder scan playback mode is selected, in act S107, the system controller 25 controls the disc player so that the disc player sequentially plays back the music files in the specified folder. When the folder scan playback mode is selected, in act S108, the system controller 25 controls the disc player so that the disc player sequentially scans and plays back the first few seconds of each music file in the folder. When the folder repeat playback mode is selected, in act S109, the system controller 25 controls the disc player so that the disc player repeatedly plays back at least one music file in the folder. When the folder random playback mode is selected, in act S110, the system controller 25 determines an order of playing back all the music files in the folder and controls the disc player so that the disc player plays back the music files in the folder in the determined order.


[0049] In order to clear the folder playback mode, the FPK key is pressed again. Furthermore, when the disc player is turned on, it is preset to the disc playback mode.


[0050] The present invention may also be applied to each session in a multi-session disc, since each session in the multi-session disc corresponds to a single-session disc.


[0051] When the folder playback mode is selected while the disc is played back in the disc playback mode, the folder being played back becomes the target folder for the folder playback mode and it is not necessary to specify a target folder.


[0052] A folder can be specified by any method. For example, the folder structure in FIG. 2 is displayed to select a desired folder by the touch of a finger.


Claims
  • 1. A disc player for playing back a disc that includes a plurality of folders, each folder including music files, the disc player comprising: a folder specifying unit operable to select a folder playback mode and specifying one folder; a playback unit operable to read music files in the specified folder from the disc and sequentially play back the read music files while in the folder playback mode; and a folder-scan-playback selecting unit operable to select a folder scan playback mode; wherein the playback unit scans and plays back the first few seconds of each music file in the folder while in the folder scan playback mode.
  • 2. The disc player of claim 1, further comprising a display operable to display the name of the specified folder in the folder playback mode.
  • 3. The disc player of claim 1, wherein the disc is a multi-session disc.
  • 4. A disc player for playing back a disc that includes a plurality of folders, each folder including music files, the disc player comprising: a folder specifying unit operable to select a folder playback mode and specifying one folder, said folder specifying unit comprising a touch panel operable to display the structure of a specified folder; and a playback unit operable to read music files in the specified folder from the disc and sequentially play back the read music files while in the folder playback mode.
  • 5. The disc player of claim 4, wherein the disc is a multi-session disc.
  • 6. A method of playing back a disc that includes a plurality of folders, each folder including music files, the method comprising the acts of: selecting a folder playback mode; specifying one folder; reading music files in the specified folder from the disc to sequentially play back the music files in the folder playback mode; and displaying the name of the specified folder in the folder playback mode.
  • 7. The method of claim 6, wherein the disc is a multi-session disc.
  • 8. A method of playing back a disc that includes a plurality of folders, each folder including music files, the method comprising the acts of: selecting a folder playback mode; specifying one folder; reading music files in the specified folder from the disc to sequentially play back the music files in the folder playback mode; and selecting a folder scan playback mode operable to play back the first few seconds of each music file in the folder.
  • 9. The method of claim 8 wherein the disc is a multi-session disc.
Priority Claims (1)
Number Date Country Kind
2002-080278 Mar 2002 JP