Audio encoding method, audio decoding method, audio encoding device, audio decoding device, program, and audio encoding/decoding system
First Claim
Patent Images
1. An audio encoding method comprising:
- in an audio encoding device;
transforming an input audio signal comprising a plurality of frames into a frequency signal for each frame of the plurality of frames of the input audio signal, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the frequency signal being divided into a plurality of bands;
calculating, for each band of the plurality of bands, an initial gain for scaling the frequency signal for the current frame;
correcting the initial gain by using a past gain for each band of the plurality of bands for the past frame of the plurality of frames, thereby calculating a corrected gain for each band of the plurality of bands for the current frame;
generating a quantized signal by scaling and quantizing the frequency signal for the current frame by using the corrected gain for each band of the plurality of bands for the current frame;
generating gain information by encoding, for each band of the plurality of bands for the current frame, a difference between the corrected gain and the past gain as the gain information; and
generating encoded audio data by multiplexing, for each band of the plurality of bands for the current frame, the quantized signal and the gain information.
1 Assignment
0 Petitions
Accused Products
Abstract
An audio encoding device (1A) corrects initial gain information calculated for an arbitrary frame, based on gain information of a stored past frame, thereby calculating gain information to be used in the frame. The audio encoding device (1A) encodes the calculated gain information as a difference from the gain information of the past frame. An audio decoding device (3A) receives the differential gain, and calculates the gain of the arbitrary frame based on the gain used in the past frame, thereby generating a decoded audio signal.
25 Citations
21 Claims
-
1. An audio encoding method comprising:
in an audio encoding device; transforming an input audio signal comprising a plurality of frames into a frequency signal for each frame of the plurality of frames of the input audio signal, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the frequency signal being divided into a plurality of bands; calculating, for each band of the plurality of bands, an initial gain for scaling the frequency signal for the current frame; correcting the initial gain by using a past gain for each band of the plurality of bands for the past frame of the plurality of frames, thereby calculating a corrected gain for each band of the plurality of bands for the current frame; generating a quantized signal by scaling and quantizing the frequency signal for the current frame by using the corrected gain for each band of the plurality of bands for the current frame; generating gain information by encoding, for each band of the plurality of bands for the current frame, a difference between the corrected gain and the past gain as the gain information; and generating encoded audio data by multiplexing, for each band of the plurality of bands for the current frame, the quantized signal and the gain information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 19)
-
8. An audio decoding method comprising:
-
in an audio decoding device; demultiplexing encoded audio data which includes a plurality of frames and is input frame by frame into the audio decoding device, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the demultiplexing of the encoded audio data comprising demultiplexing quantized signal information and gain information for scaling a quantized signal from the encoded audio data, the quantized signal being divided into a plurality of bands; storing in a memory, a past gain for each band of the plurality of bands for the past frame; decoding a gain for each band of the plurality of bands for the current frame by using; the past gain for each band of the plurality of bands for the past frame acquired from the memory; and a differential gain included in the demultiplexed gain information; inversely quantizing and scaling the demultiplexed and quantized signal information for each band of the plurality of bands for the current frame based on the gain obtained in the decoding of the gain, thereby generating a frequency signal for the current frame; and generating a decoded audio signal by orthogonally transforming the frequency signal for the current frame, wherein the gain information includes, for each band of the plurality of bands for the current frame, frame number information indicating the past frame, and a differential gain between the past gain of the past frame and the gain of the current frame, and wherein the decoding of the gain comprises acquiring, for each band of the plurality of bands for the current frame, the past gain of the past frame corresponding to the frame number information of the gain information from the memory, and calculating the gain for each band of the plurality of bands for the current frame from the past gain and the differential gain of the gain information. - View Dependent Claims (9, 20)
-
-
10. An audio encoding device comprising:
-
an orthogonal transformer which transforms an input audio signal comprising a plurality of frames into a frequency signal for each frame of the plurality of frames in the input audio signal, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the frequency signal being divided into a plurality of bands; a gain calculator which; calculates, for each band of the a plurality of bands, an initial gain for scaling each band of the plurality of bands in the frequency signal for the current frame; and corrects the initial gain by using a past gain for each band of the plurality of bands for the past frame of the plurality of frames, thereby calculating a corrected gain for each band of the plurality of bands for the current frame; a quantizer which generates a quantized signal by scaling and quantizing the frequency signal for the current frame by using the corrected gain for each band of the plurality of bands for the current frame; a gain encoder which generates gain information by encoding, for each band of the plurality of bands for the current frame, a difference between the corrected gain obtained by said gain calculator and a corresponding past gain as the gain information; and a multiplexer which generates encoded audio data by multiplexing, for each band of the plurality of bands for the current frame, the quantized signal obtained by said quantizer and the gain information obtained by said gain encoder. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. An audio decoding device comprising:
-
a demultiplexer which demultiplexes encoded audio data which includes a plurality of frames and is input frame by frame into the audio decoding device, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the demultiplexing of the encoded audio data comprising demultiplexing quantized signal information and gain information for scaling a quantized signal from encoded audio data, the quantized signal being divided into a plurality of bands; a memory which stores a past gain for each band of a plurality of bands for the past frame; a gain decoder which decodes a gain for each band of a plurality of bands for the current frame by using; the past gain for each band of the plurality of bands for the past frame stored in said memory; and a differential gain included in the gain information demultiplexed by said demultiplexer; an inverse quantizer which inversely quantizes and scales the quantized signal information demultiplexed by said demultiplexer for each band of the plurality of bands for the current frame based on the gain decoded by said gain decoder, thereby generating a frequency signal for the current frame; and an orthogonal transformer which generates a decoded audio signal by orthogonally transforming the frequency signal for the current frame generated by said inverse quantizer, wherein the gain information includes, for each band of the plurality of bands for the current frame, frame number information indicating the past frame, and a differential gain between the past gain of the past frame and the gain of the current frame, and wherein said gain decoder acquires, for each band of the plurality of bands for the current frame, the past gain of the past frame corresponding to the frame number information of the gain information from said memory, and calculates the gain for each band of the plurality of bands for the current frame from the past gain of the past frame and the differential gain of the gain information. - View Dependent Claims (18)
-
-
21. An audio encoding/decoding system comprising:
-
an audio encoding device which generates encoded audio data by encoding an input audio signal; and an audio decoding device which generates a decoded audio signal by decoding the encoded audio data generated by said audio encoding device, wherein said audio encoding device comprises; an orthogonal transformer which transforms an input audio signal comprising a plurality of frames into a frequency signal for each frame of the plurality of frames, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the frequency signal being divided into a plurality of bands; a gain calculator which; calculates, for each band of the plurality of bands, an initial gain for scaling each band of the plurality of bands for the current frame; and corrects the initial gain by using a past gain for each band of the plurality of bands for the past frame, thereby calculating a corrected gain for each band of the plurality of bands for the current frame; a quantizer which generates a quantized signal by scaling and quantizing the frequency signal for the current frame by using the corrected gain for each band of the plurality of bands for the current frame; a gain encoder which generates gain information by encoding, for each band of the plurality of bands for the current frame, a difference between the corrected gain obtained by said gain calculator and the past gain as the gain information; and a multiplexer which generates encoded audio data by multiplexing, for each band of the plurality of bands for the current frame, the quantized signal obtained by said quantizer and the gain information obtained by said gain encoder, and wherein said audio decoding device comprises; a demultiplexer which demultiplexes encoded audio data which includes a plurality of frames and is input frame by frame into the audio decoding device, the plurality of frames including a current frame and a past frame which is earlier in time than the current frame, and the demultiplexing of the encoded audio data comprising demultiplexing quantized signal information and gain information for scaling the quantized signal from the encoded audio data generated by said audio encoding device, the quantized signal being divided into a plurality of bands; a memory which stores a past gain for each band of the plurality of bands for the past frame; a gain decoder which decodes a gain for each band of a plurality of bands for the current frame by using; the past gain for each band of the plurality of bands for the past frame acquired from said memory; and a differential gain included in the gain information demultiplexed by said demultiplexer; an inverse quantizer which inversely quantizes and scales the quantized signal information demultiplexed by said demultiplexer for each band of the plurality of bands for the current frame based on the gain obtained by said gain decoder, thereby generating a frequency signal for the current frame; and an orthogonal transformer which generates a decoded audio signal by orthogonally transforming the frequency signal for the current frame obtained by said inverse quantizer.
-
Specification