The present invention relates to methods of encoding audio signals. Moreover, the invention also concerns encoders operating according to the method, and also an arrangement of encoded data generated by such encoders. Furthermore, the invention additionally relates to decoders operable to decode data generated by such encoders. Additionally, the invention also concerns an encoding-decoding system utilizing the methods of encoding.
Audio encoders are well known. These encoders are operable to receive one or more input audio signals and process them to generate corresponding bit-streams of encoded output data. Such processing executed within the audio encoders involves partitioning the one or more input signals into segments, and then processing each segment to generate its corresponding portion of data for inclusion in the encoding output data.
Conventional methods of creating such bit-streams employ fixed uniform time segments. Beneficially, the segments are at least partially overlapping. An example of an encoder performing in this manner is Philips Electronics N.V.'s proprietary SSC codec whose mode of operation is now included in a known international standard MPEG 4 extension 2, namely text of ISO/IEC 14496-3:2002/PDAM 2 concerning “Parametric coding for High Quality Audio”.
Other methods of encoding audio signals have been proposed. For example, in a published international PCT application no. PCT/SE00/01887 (WO 01/26095), there are described modern audio encoders which employ adaptive window switching, namely the audio encoders switch time segment lengths depending on input signal statistics. In one implementation, non-uniform time and frequency sampling of a spectral envelope of an input signal is achieved by adaptively grouping sub-band samples from a fixed size filter-bank into frequency bands and time segments, each of which generates one envelope sample. This allows for instantaneous selection of arbitrary time and frequency resolution within the limits of the filter-bank. Such encoders preferably default to relatively long time segments and a fine frequency resolution. In the temporal vicinity of signal transients, relatively shorter time segments are used, whereby larger frequency steps can be employed in order to keep data size within limits. Moreover, to enhance benefits from such non-uniform temporal sampling, variable length of bit-stream frames are used.
The inventors have appreciated that, when encoding audio signals, it is more beneficial in terms of bit-rate and/or perceptual distortion to use variable segmentation, for example as described in the foregoing. For example, it is technically advantageous to use longer segments for steady tones, shorter segments for rapidly changing tones, to start segments immediately preceding transients, and so forth. In particular, the inventors have envisaged that it is further beneficial to employ different time segmentation patterns for different sub-coding methods with the same encoder.
An object of the present invention is to provide an enhanced method of signal encoding utilizing dynamically variable signal segmenting.
According to a first aspect of the present invention, there is provided a method of encoding one or more input signals to generate one or more corresponding encoded output signals, the method comprising steps of:
(a) receiving the one or more input signals and distributing them suitably to sub-encoders of an encoder;
(b) processing the one or more input signals distributed to the sub-encoders in respect of one or more signal characteristics of the one or more distributed input signals to generate corresponding representative parameter outputs from the sub-encoders;
(c) combining the parameter outputs of the sub-encoders to generate the one or more encoded output signals,
wherein processing of the one or more distributed input signals in the sub-encoders involves segmenting the one or more distributed input signals into segments for analysis, said segments having associated temporal durations which are dynamically variable at least partially in response to information content present in the one or more distributed input signals.
The invention is of advantage in that the method of encoding is capable of providing one or more of: perceptually better encoding quality, enhanced data compression.
Preferably, in the method, the segments of the one or more distributed input signals are processed mutually asynchronously in the sub-encoders. Such asynchronous operation is capable of enabling each sub-encoder to function optimally with regard to its respective aspect of signal processing executed in the method.
Preferably, in the method, the segments of the one or more distributed input signals with respect to each sub-encoder are at least partially temporally overlapping. Such overlapping is of benefit in that it reduces abrupt changes in signal characteristic from one segment to another temporally neighboring thereto.
Preferably, in the method, the sub-encoders are arranged to process the one or more distributed input signals in respect of at least one of: sinusoidal input signal information content, input signal waveform information content, input signal noise information content.
Preferably, in the method, the segmenting of the one or more distributed input signals involves at least one of:
(a) generating relatively longer segments for steady tones present in the one or more distributed input signals;
(b) generating relatively shorter segments for rapidly changing tones present in the one or more distributed input signals; and
(c) arranging for segments to end substantially immediately preceding transients occurring in the one or more distributed input signals.
Such adaptation of the segments depending in input signal content is beneficial for improving the perceptual quality of encoding provided by the method.
Preferably, in the method, the encoded output signal is sub-divided into frames wherein each frame includes information relating to segments provided from the sub-encoders which commence within a temporal duration associated with the frame. This definition for the frames renders it easier to provide random access within a sequence of encoded data generated using the method. Thus, more preferably, in the method, the segments included within each frame are arranged in chronological order. Yet more preferably, in the method, each frame additionally includes parameter data describing a temporal duration between a temporal start of the frame and a first segment commencing after the frame's start.
Preferably, in the method, a number of segments included within each frame is dynamically variable depending upon information content present in the one or more distributed input signals.
According to a second aspect of the present invention, there is provided an encoder operable to process one or more input signals and generate corresponding one or more encoded output signals, the encoder being arranged to implement a method according to the first aspect of the invention.
According to a third aspect of the present invention, there is provided a decoder operable to receive one or more encoded output signals and decode them to generate one or more corresponding decoded signals, the decoder being arranged to be capable of processing the one or more encoded output signals as generated by a method according to the first aspect of the invention.
According to a fourth aspect of the present invention, there is provided a signal processing system arranged to include an encoder according to the second aspect of the invention and a decoder according to the third aspect of the invention.
According to a sixth aspect of the present invention, there is provided encoded output signal data generated by employing a method according to the first aspect of the invention, said data being conveyed by way of a data carrier. More preferably, the data carrier comprises at least one of a communication network and a data storage medium.
According to a seventh aspect of the present invention, there is provided software executable on computer hardware for implementing a method according to the first aspect of the invention.
It will be appreciated that features of the invention are susceptible to being combined in any combination without departing from the scope of the invention.
Embodiments of the invention will now be described, by way of example only, with reference to the following diagrams wherein:
In
Contemporary implementations of the encoder 10 rely on being able to divide the input signal 20 into segments of equal length as depicted in
(a) transient signal information content denoted by 100;
(b) sinusoidal signal information content denoted by 110; and
(c) noise-related signal information content denoted by 120.
Each frame F1 to F3 is further subdivided into segments in respect of each type of parameter as illustrated, for example the frames F1 to F3 comprise segments t1 to t12 regarding transient information content, segments s1 to s12 regarding sinusoidal information content, and segments n1 to n12 regarding noise information content. Each segment gives rise to one or more parameters describing a part of the signal 20 giving rise to the segment, these one or more parameters being included in the output 30.
An example of the encoder 10 is a proprietary Philips SSC codec which employs segments of substantially 16 ms duration wherein the segments are at least partially overlapped. Moreover, the codec employs three different sub-coding methods and is operable to output parameters associated with the segments into the bit-stream at the output 30 on a segment-by-segment basis, time-differentially where appropriate.
In the encoder 10, parameters from several consecutive segments form a corresponding frame: for example the frame F1 comprises the segments t1 to t4, s1 to s4 and n1 to n4. On account of the segments being of equal length, the frames F1 to F3 are also updated at a uniform rate. Moreover, each of the frames F1 to F3 is almost self-sufficient which renders the bit-stream output 30 suitable for streaming over a communication network, for example the Internet, or storing onto a data carrier providing for serial writing thereto and serial readout therefrom, for example an audio CD. In the graph of
In case of packet-loss during transmission of the output 30, for example over a communication network such as the Internet or wireless network, error propagation for frames and segments of fixed duration will be limited, thereby potentially allowing for error concealment. Moreover, such fixed duration also allows for commencement of playback at almost any given time, and therefore corresponds substantially to random access.
Despite many beneficial characteristics arising from utilizing conventional fixed duration segments and associated frames, the inventors have appreciated that advantages can be derived from implementing the encoder 10 to employ segments having variable duration. Moreover, further benefits in terms of data compression and better subjective replay quality can be derived from employing different segments for each parameter type. In other words, variable segment duration in response to input signal content provides benefits regarding bit-rate and perceptual distortion.
In particular, the inventors have found that it is preferable:
(a) to employ relatively longer segments for substantially steady tones;
(b) to employ relatively shorter segments for rapidly changing tones; and
(c) to arrange segments to start immediately preceding, namely temporally in front of, transients in the input signal 20.
Thus, it is beneficial to employ mutually different time segmentation patterns for different sub-coding methods, namely generation of different parameter types, as will be described later with reference to
In
(a) segments s1 to s12 corresponding to parameters describing sinusoidal information present in the input signal 20, these segments being denoted by a group 200;
(b) segments w1 to w12 corresponding to parameters describing characteristics of waveforms present in the input signal 10, these segments being denoted by a group 210; and
(c) segments n1 to n12 corresponding to parameters describing noise information present in the input signal 20, these segments being denoted by a group 220.
Parameters corresponding to the groups 200, 210, 220 are combined to generate the output 30. It will be appreciated that the groups 200, 210, 220 preferably correspond to three sub-coders included within the encoder 20 as illustrated in
In
Several aspects are to be identified in
(a) the input signal 20 is represented by sinusoidal descriptive parameters, waveform descriptive parameters and noise descriptive parameters in contrast to
(b) although nominal positions of the frames F1 to F3 are shown in
(c) segments in the different groups 200, 210, 220 are of mutually different duration; and
(d) segments within each group 200, 210 have mutually different durations, although the encoder 10 is capable of supporting more regular constant duration segmentation, for example for the group 220, where information present in the input signal 20 with regard to noise content dictates that constant-duration segment encoding is beneficial; in other words, the encoder 10 operating according to the invention is preferably capable of switching between fixed segment duration and variable segment duration depending upon the nature of the input signal 20.
If required, the encoder 10 operating according to the invention can arrange for its parameter groups multiplexed at the output 30 to terminate simultaneously, thereby forming relatively larger frames; preferably, the output 30 from the encoder 10 operating according to the invention is subdivided into uniform frames of 100 ms length. Preferably, the duration of the frames is determined based on a target and a peak bit-rate constraints communicated to the encoder 10. These constraints are preferably defined by a communication network to which the encoder 10 is coupled.
In the output data 30 generated according to the invention, parameters associated with the segments are grouped into data packets in such a way that each packet carries information about all segments starting in a given frame. Such an arrangement of data is illustrated in
Based on a segmentation pattern for the three frames illustrated in
The output 30 preferably also includes additional parameters conveying information concerning a distance between of a given frame and a first following segment thereto for each sub-coder. These additional parameters preferably represent a small proportion of the output data, for example less than 5%. Moreover, the inventors have found that intra-segment encoding is potentially as effective as time-differential encoding which, for example, intra-segment encoding allows for starting playback at a first segment in any given frame without experience encoded signal degradation, for example decoded audio quality degradation. An encoding scheme represented, for example, by Table 1 is also capable of providing random access and error concealment.
It will be appreciated that encoders according to the invention, for example as illustrated in
The encoder 10 illustrated in
To complement the encoder according to the invention, corresponding decoders are operable to receive the output 30 and reconstitute a representation of the input signal Si; for example, such a decoder is illustrated in
It will be appreciated that embodiments of the invention described in the foregoing are susceptible to being modified without departing from the scope of the invention as defined by the accompanying claims.
In the accompanying claims, numerals and other symbols included within brackets/parenthesize are included to assist understanding of the claims and are not intended to limit the scope of the claims in any way.
Expressions such as “comprise”, “include”, “incorporate”, “contain”, “is” and “have” are to be construed in a non-exclusive manner when interpreting the description and its associated claims, namely construed to allow for other items or components which are not explicitly defined also to be present. Reference to the singular is also to be construed in be a reference to the plural and vice versa.
Number | Date | Country | Kind |
---|---|---|---|
04102819.2 | Jun 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB05/51963 | 6/14/2005 | WO | 00 | 12/13/2006 |