A general architecture that implements the various features of the invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the invention and not to limit the scope of the invention.
Various embodiments according to the invention will be described hereinafter with reference to the accompanying drawings. In general, according to one embodiment of the invention, there is provided a sound mixing processing apparatus including: an input unit inputting N-channel (N≧3) sound data and two-channel sound data; a mixing unit mixing the N-channel sound data and the two-channel sound data inputted from the input unit to output N-channel sound data produced by the mixing; and a down-mix processing unit obtaining two-channel sound data produced by down-mixing and gain-adjusted, from the N-channel sound data inputted from the mixing unit, to output the obtained sound data.
In the following description, the same elements and elements having the same functions are denoted by the same reference numerals and symbols, and repeated description thereof will be omitted.
First, the configuration of an optical disk apparatus as a reproducing apparatus will be described with reference to
Examples of the recordable or rewritable optical disk 11 are next-generation DVD-RAM (random access memory), DVD-RW (rewritable), DVD-R (recordable), and the like which use blue laser beam with a wavelength of around 405 nm, or current-generation DVD-RAM, DVD-RW, DVD-R, and the like which use red laser beam with a wavelength of around 650 nm.
On a front surface of the optical disk 11, land tracks and groove tracks are spirally formed. The optical disk 11 is driven by the rotation of a spindle motor 12. The rotation speed of the spindle motor 12 is controlled by a motor controller circuit 13.
Data is recorded and reproduced to/from the optical disk 11 via a pickup 14. The pickup 14 is coupled to a thread motor 15 via a gear. The thread motor 15 is controlled by a thread motor driver 17 connected to a data bus 16. The thread motor 15 has a permanent magnet (not shown) in its fixed portion, and when a driving coil (not shown) is excited, the pickup 14 moves in a radial direction of the optical disk 11.
As shown in
A modulator circuit 21 generates EFM (eight to fourteen modulation) data from user data supplied from a host apparatus 22 via an interface circuit 23 at the time of data recording. The EFM data is generated as a result of, for example, 8-14 modulation of the user data. A laser controller circuit 24 supplies a write signal to a semiconductor laser diode 25 based on the EFM data supplied from the modulator circuit 21, at the time of data recording (at the time of mark formation).
The laser controller circuit 24 supplies a read signal smaller than the write signal to the semiconductor laser diode 25 at the time of data reading. The semiconductor laser diode 25 emits a laser beam according to the write signal supplied from the laser controller circuit 24. The laser beam emitted from the semiconductor laser diode 25 is radiated onto the optical disk 11 through a collimator lens 26, a half prism 27, an optical system 28, and the objective lens 18. Light reflected by the optical disk 11 is guided to a photo-detector 30 through the objective lens 18, the optical system 28, the half prism 27, and a condenser lens 29.
The photo-detector 30 is made up of four-split photo-detection cells and supplies detection signals A, B, C, D from the respective photo-detection cells to an RF (radio frequency) amplifier 31. The RF amplifier 31 supplies a tracking error signal TE to a tracking controller 32. The tracking error signal TE can be obtained from, for example, (A+D)−(B+C) based on a push-pull method. The RF amplifier 31 supplies a focusing error signal FE to the focusing controller 33. The focusing error signal FE can be obtained from, for example, (A+C)−(B+D) based on an astigmatic method.
The RF amplifier 31 supplies a wobble signal WB to a wobble PLL/address detector 34. The wobble signal WB can be obtained from, for example, (A+D)−(B+C). The RF amplifier 31 supplies a RF signal to a data reproducing unit 35. The RF signal can be obtained from (A+D)+(B+C).
An output signal of the focusing controller 33 is supplied to the focusing-direction driving coil 19. Consequently, the laser beam is controlled so as to be constantly just focused on a recording film. The tracking controller 32 generates a tracking driving signal according to the tracking error signal TE to supply the tracking driving signal to the tracking-direction driving coil 20.
As a result of the focusing control and the tracking control, the RF signal which is the sum of the output signals from the photo-detection cells of the photo-detector 30 reflects a change in reflectance from pits or the like which are formed on tracks of the optical disk 11 according to recording data. The RF signal is supplied to the data reproducing unit 35.
The data reproducing unit 35 reproduces recording data based on a reproduction clock signal from a PLL circuit 36. The data reproducing unit 35 has a function of measuring an amplitude of the RF signal. A measured value of the amplitude of the RF signal is read by a CPU (central processing unit) 37.
When the objective lens 18 is under control of the tracking controller 32, the thread motor 15 is controlled to locate the objective lens 18 at an optimum position of the optical disk 11. Consequently, the pickup 14 is controlled.
The motor controller circuit 13, the laser controller circuit 24, the focusing controller 33, the tracking controller 32, the data reproducing unit 35, the PLL circuit 36, and so on can be formed as a servo controller circuit in a single LSI chip.
These circuit portions are controlled by the CPU 37 via the data bus 16. The CPU 37 controls the whole optical disk apparatus based on operation commands supplied from the host apparatus 22 via the interface circuit 23 or based on operation data from a later-described operation unit.
The CPU 37 uses a RAM 38 as its work area and performs predetermined operations according to a program recorded in a ROM (read only memory) 39.
The data reproduced in the data reproducing unit 35 undergo error correction processing in the error corrector circuit 40 and thereafter, based on the error-corrected data, video, sub video (for example, PinP: Picture in Picture or the like), sound, and the like are reproduced.
The plural digital sound data having undergone the error correction processing are supplied to the sound mixing processor 41 to undergo mixing processing there and can be outputted to an external part of the optical disk apparatus. The plural digital sound data include encoded N-channel (N≧3) sound data and a plurality of (two in this embodiment) encoded two-channel sound data. The N-channel sound data is, for example, a main sound source of video. One of the two-channel sound data is, for example, a sub sound source of sub video and the like. The other two-channel sound data is, for example, effect sound.
Next, the configuration of the sound mixing processor 41 will be described with reference to
The input unit 51 includes a first decoder 55, a plurality of (two in this embodiment) second decoders 57a, 57b, and a plurality of (three in this embodiment) sampling frequency converters 59a, 59b, 59c. The aforesaid encoded N-channel sound data and two encoded two-channel sound data are supplied to corresponding sound input ports 53a, 53b, 53c respectively.
The sound data supplied to the sound input port 53a is inputted to the first decoder 55. The first decoder 55 decodes the encoded N-channel sound data inputted thereto to output the resultant. At this time, the first decoder 55 obtains gain adjustment information included in the encoded N-channel sound data. The first decoder 55 outputs the obtained gain adjustment information to the processing unit 61.
The sound data supplied to the sound input ports 53b, 53c are inputted to the second decoders 57a, 57b respectively. The second decoders 57a, 57b decode the encoded two-channel sound data inputted thereto to output the resultants.
The sound data outputted from the first decoder 55 and the second decoders 57a, 57b are inputted to the corresponding sampling frequency converters 59a, 59b, 59c respectively. The sampling frequency converters 59a, 59b, 59c convert sampling frequencies of the sound data decoded by the first and second decoders 55, 57a, 57b to a predetermined sampling frequency. Consequently, the sampling frequencies of the sound data decoded by the first and second decoders 55, 57a, 57b are converted to the same sampling frequency.
The decoded sound data whose sampling frequencies are converted to the same sampling frequency are supplied to the processing unit 61. That is, the input unit 51 inputs to the processing unit 61 the N-channel sound data and the two-channel sound data which have been decoded and converted to the same sampling frequency.
The processing unit 61 has a mixing unit 63 and a down-mix processor 65.
The sound data supplied from the input unit 51 are inputted to the mixing unit 63. The mixing unit 63 applies mixing processing to the inputted sound data, based on a predetermined mixing coefficient. Specifically, the mixing unit 63 mixes the N-channel sound data and the two two-channel sound data based on the predetermined mixing coefficient and outputs N-channel sound data produced by the mixing of these sound data.
The N-channel sound data outputted from the mixing unit 63 is inputted to the down-mix processor 65. The down-mix processor 65 has a down-mix unit 67 and a gain adjusting unit 69.
The down-mix unit 67 down-mixes the N-channel sound data outputted from the mixing unit 63 to two-channel sound data and outputs the two-channel sound data produced by the down-mixing.
Based on the gain adjustment information outputted from the first decoder 55, the gain adjusting unit 69 adjusts a gain of the two-channel sound data outputted from the down-mix unit 67 to output the two-channel sound data which have been gain-adjusted. Here, the gain adjusting unit 69 adjusts the gain of the two-channel sound data to the decreasing side so that sound level of two-channel reproduction output becomes substantially equal to sound level of N-channel reproduction output.
Having the down-mix unit 67 and the gain adjusting unit 69, the down-mix processor 65 obtains the two-channel sound data produced by the down-mixing and gain-adjusted, from the N-channel sound data inputted from the mixing unit 63, and outputs the obtained sound data.
As a result, the processing unit 61 obtains the N-channel sound data produced by the mixing and the two-channel sound data produced by the down-mixing and gain-adjusted, from the N-channel sound data and the two-channel sound data which are inputted from the input unit 51, and outputs these sound data from respective sound output ports 70a, 70b.
When determining that the reproduction has been requested, the CPU 37 obtains encoded sound data (N-channel sound data and two two-channel sound data) from the optical disk 11 (S102) and causes the decoders 55, 57a, 57b to decode the respective sound data (S103). Further, the CPU 37 causes the first decoder 55 to obtain gain adjustment information (S104). The gain adjustment information is recorded in an encoded state on the optical disk 11 based on the standard.
Then, the CPU 37 determines whether or not sampling frequencies of the respective decoded sound data are the same (S105). When determining that the sampling frequencies are not the same, the CPU 37 causes the sampling frequency converters 59a, 59b, 59c to convert the sampling frequencies of the respective sound data to the same sampling frequency (S106).
When determining that the sampling frequencies are the same, the CPU 37 causes the mixing unit 63 to mix the sound data (the N-channel sound data and the two two-channel sound data) (S107).
Then, the CPU 37 causes the down-mix unit 67 to down-mix N-channel sound data produced by the mixing to two-channel sound data (S108). Next, the CPU 37 causes the gain adjusting unit 69 to adjust a gain of the two-channel sound data produced by the down-mixing, based on the gain adjustment information obtained by the first decoder 55 (S109)
Thereafter, the CPU 37 causes the processing unit 61 to output the N-channel sound data produced by the mixing and the two-channel sound data produced by the down-mixing and gain-adjusted (S110).
As described above, according to this embodiment, the sound mixing processor 41 outputs the N-channel sound data produced by the mixing and the two-channel sound data produced by the down-mixing and gain-adjusted. Therefore, it is possible to prevent a great difference in sound level between two-channel reproduction output based on the two-channel sound data produced by the down-mixing and N-channel reproduction output based on the N-channel sound data.
In the down-mix processor 65 shown in
Next, the configuration of a modified example of the sound mixing processor 41 will be described with reference to
The processing unit 61 of the sound mixing processor 41 has a down-mix processor 71, a first mixing unit 81, and a second mixing unit 83.
The down-mix processor 71 has a down-mix unit 73, a gain adjusting unit 75, and a sampling frequency converter 77.
The down-mix unit 73 down-mixes N-channel sound data outputted from the first decoder 55 to two-channel sound data and outputs the two-channel sound data produced by the down-mixing.
The gain adjusting unit 75 adjusts a gain of the two-channel sound data outputted from the down-mix unit 73, based on gain adjustment information outputted from the first decoder 55, and outputs the gain-adjusted two-channel sound data.
Similarly to sampling frequency converters 59a, 59b, 59c, the sampling frequency converter 77 converts a sampling frequency of the two-channel sound data outputted from the gain adjusting unit 75 to a predetermined sampling frequency. Consequently, sampling frequencies of the sound data decoded by the first and second decoders 55, 57a, 57b and the sound data gain-adjusted by the gain adjusting unit 75 are converted to the same sampling frequency.
Having the down-mix unit 73 and the gain adjusting unit 75, the down-mix processor 71 obtains the two-channel sound data produced by the down-mixing and gain-adjusted, from the N-channel sound data inputted from the first decoder 55 and outputs the obtained sound data. The sampling frequency of the sound data outputted from the down-mix processor 71 is the same as the sampling frequency of the respective sound data inputted to the first mixing unit 81 and the second mixing unit 83 as a result of the conversion by the sampling frequency converter 77.
The sound data (the N-channel sound data and the two two-channel sound data) supplied from the input unit 51 are inputted to the first mixing unit 81 as are inputted to the mixing unit 63. The first mixing unit 81 applies mixing processing to the inputted sound data, based on a predetermined mixing coefficient. Specifically, the first mixing unit 81 mixes the N-channel sound data and the two two-channel sound data based on the predetermined mixing coefficient and outputs N-channel sound data produced by the mixing of these sound data.
The two two-channel sound data supplied from the input unit 51 and the two-channel sound data outputted from the down-mix processor 71 are inputted to the second mixing unit 83. The second mixing unit 83 applies mixing processing to the inputted sound data based on the predetermined mixing coefficient. Specifically, the second mixing unit 83 mixes the three two-channel sound data based on the predetermined mixing coefficient and outputs two-channel sound data produced by the mixing of these sound data.
Consequently, the processing unit 61 obtains the N-channel sound data produced by the mixing and the two-channel sound data produced by the mixing, from the N-channel sound data and the two-channel sound data which are inputted from the input unit 51, and outputs these sound data from respective sound output ports 70a, 70b.
When determining that the reproduction has been requested, the CPU 37 obtains encoded sound data (N-channel sound data and two two-channel sound data) from the optical disk 11 (S202), and causes the decoders 55, 57a, 57b to decode the sound data respectively (S203). Further, the CPU 37 causes the first decoder 55 to obtain gain adjustment information (S204). The gain adjustment information is recorded in an encoded state on the optical disk 11 based on the standard.
Then, the CPU 37 determines whether or not sampling frequencies of the decoded sound data are the same (S205). When determining that the sampling frequencies are not the same, the CPU 37 causes the sampling frequency converters 59a, 59b, 59c to convert the sampling frequencies of the sound data to the same sampling frequency (S206).
When the sampling frequencies are the same, the CPU 37 causes the first mixing unit 81 to mix the sound data (the N-channel sound data and the two two-channel sound data) (S207).
Further, the CPU 37 causes the down-mix unit 73 to down-mix the N-channel sound data decoded by the first decoder 55 to two-channel sound data (S208). Next, the CPU 37 causes the gain adjusting unit 75 to adjust a gain of the two-channel sound data produced by the down-mixing, based on the gain adjustment information obtained by the first decoder 55 (S209).
The CPU 37 determines whether or not a sampling frequency of the two-channel sound data produced by the down-mixing and gain-adjusted is the same as the sampling frequency of the other sound data (S210). When determining that the sampling frequencies are not the same, the CPU 37 causes the sampling frequency converter 77 to convert the sampling frequency of the two-channel sound data produced by the down-mixing and gain-adjusted to the same sampling frequency as the sampling frequency of the other sound data (S211).
When the sampling frequencies are the same, the CPU 37 causes the second mixing unit 83 to mix the sound data (the three two-channel sound data) (S212).
Thereafter, the CPU 37 causes the processing unit 61 to output the N-channel sound data produced by the mixing and the two-channel sound data produced by the mixing (S213).
As descried above, in the modified example shown in
Incidentally, in the embodiment shown in
On the other hand, in the modified example shown in
In the down-mix processor 71 shown in
Next, the configuration of another modified example of the sound mixing processor 41 will be described with reference to
A processing unit 61 of the sound mixing processor 41 has a down-mix processor 71, a first mixing unit 81, a second mixing unit 83, and a plurality of level adjusting units 91.
The level adjusting units 91 are positioned on preceding stages of the first and second mixing units 81, 83. The level adjusting units 91 adjust sound levels of sound data to be inputted to the first and second mixing units 81, 83, based on an operation signal from an operation unit (not shown) operated by a user. Consequently, the sound levels of the sound data to be inputted to the first and second mixing units 81, 83 are adjusted in the level adjusting units 91 based on the operation of the user. The level adjusting units 91 are capable of setting sound mute and adjusting volume increase/decrease of the respective sound data. Owing to the level adjusting units 91, the respective sound data can be set to sound levels according to user's preference.
While certain embodiments of the inventions have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2006-268024 | Sep 2006 | JP | national |