Decoder for decoding an encoded digital signal and a receiver comprising the decoder

Abstract: The invention relates to a decoder for decoding an encoded digital signal so as to obtain a wideband digital signal. The decoder is capable of decoding an encoded digital signal comprising frames having a length of B information packets, where the number of packets in a frame has a relation with the sampling frequency F s of the wideband digital signal, the bitrate BR of the encoded digital signal, the number N of bits in the information packets and n s , being the number of samples of the wideband digital signal whose corresponding information in the encoded digital signal, is included in one frame of the encoded digital signal (Fig. 12). Further, a receiver comprising the decoder is disclosed (Fig. 14).

Description: The invention relates to a decoder for decoding an encoded digital signal that has been obtained by encoding a wideband digital signal of a specific sampling frequency F s , for example a digital audio signal, in an encoder, the encoded digital signal comprising consecutive frames, each frame comprising a plurality of information packets (IP), each information packet comprising N bits, N being larger than 1, a frame comprising at least a first frame portion including synchronization information, the decoder having an input for receiving the encoded digital signal, the decoder being adapted to convert the encoded digital signal into a replica of the wideband digital signal, the decoder having an output to supply the replica of the wideband digital signal, to a receiver comprising the decoder and to a decoding method. Decoders and receivers as defined in the opening paragraph can be used in transmission systems such as they are eg. known from the article "The Critical Band Coder - Digital Encoding of Speech signals based on the Percentual requirements of the Auditory System" by M.E. Krasner in Proc. IEEE ICASSP 80, Vol. 1, pp.327-331, April 9-11, 1980. This article relates to a transmission system in which the transmitter employs a subband coding system and the receiver employs a corresponding subband decoding system, but the invention is not limited to such a coding system, as will become apparent hereinafter. In the system known from said publication the speech signal band is divided into a plurality of subbands whose bandwidth approximately corresponds to the bandwidths of the critical bands of the human ear in the respective frequency ranges (cf. Fig. 2 in the article of Krasner). This division has been selected because on the ground of psycho-acoustic experiments it is foreseeable that the quantisation noise in such a subband will be masked to an optimum extent by the signals in this subband if in the quantisation allowance is made for the noise-masking curve of the human ear (this curve gives the threshold value for noise masking in a critical band by a single tone in the centre of the critical band, cf. Fig.3 in the article by Krasner). It should however be noted that the invention is not restricted to an encoding into subband signals. It is equally well possible to apply transform coding in the encoder, a transform coding being described in the publication 'Low bit-rate coding of high-quality audio signals. An introduction to the MASCAM system' by G. Theile et al in EBU Technical Review, no. 230 (August 1988). In the case of a high-quality digital music signal, which in conformity with the Compact Disc Standard is represented by 16 bits per signal sample in the case of a sample frequency of 1/T = 44.1 kHz, it is found that with a suitably selected bandwidth and a suitably selected quantisation for the respective subbands the use of this known subband-coding system yields quantised output signals of the coder which can be represented by an average number of approximately 2.5 bits per signal sample, the quality of the replica of the music signal not differing perceptibly from that of the original music signal in substantially all passages of substantially all kinds of music signals. The subbands need not necessarily correspond to the bandwidths of the critical bands of the human ear. Alternatively, the subbands may have other bandwidths, for example they may all have the same bandwidth, provided that allowance is made for this in determining the masking threshold. It is an object of the invention to provide measures to enable the reception and decoding of a received digital signal so as to obtain a replica of the wideband digital signal. The decoder in accordance with the invention is characterized in that the number B of information packets in one frame has a relation to a value P, such that, if P in the formula P = BR N X n s F s is an integer, where BR is the bitrate of the encoded digital signal and n s is the number of samples of the wideband digital signal whose corresponding information in the encoded digital signal, is included in one frame of the encoded digital signal, the number B of information packets in one frame is P, or that, if P is not an integer, the number B of information packets in a number of frames is P', where P' is the next lower integer following P, and the number of information packets in the other frames is equal to P'+1 so as to exactly comply with the requirement that the average framerate of the encoded digital signal is substantially equal to F s /n s , the decoder being provided with means for decoding the said encoded digital signal into said replica of the wideband digital signal. The purpose of dividing the frames into B information packets is that, for a wide-band digital signal of a sampling frequency F s , the average frame rate of the encoded digital signal received is now such that the duration of a frame in the digital signal corresponds to the duration occupied by n s samples of the wide-band signal. Preferably, the first frame portion further contains information related to the number of information packets in a frame. In a frame comprising B information packets this information may be equal to the value B. This means that this information corresponds to P' for frames comprising P' information packets and to P'+1 for frames comprising P'+1 information packets. Another possibility is that this information corresponds to P' for all frames, regardless of whether a frame comprises P' or P'+1 information packets. The additionally inserted (P'+1)th information packet may comprise for example merely "zeros". In that case this information packet does not contain any useful information. Of course, the additional information packet may also be filled with useful information. The first frame portion may further comprise system information. This may include the sample frequency F s of the wide-band digital signal applied to the transmitter, copy-protection codes, the type of wide-band digital signal applied to the transmitter, such as a stereo-audio signal or a mono-audio signal, or a digital signal comprising two substantially independent audio signals. However, other system information is also possible, such as the bitrate, as will become apparent hereinafter. Including the system information makes it possible for the receiver and thus the decoder in the receiver to be flexible and enables the received digital signal to be correctly reconverted into the wide-band digital signal. The frames may comprise second and the third frame portions. Those frame portions contain other signal information, such as allocation information, quantized samples and scale factor information. Upon encoding, the wideband digital signal can be split up so as to generate a number of M subsignals, M being larger than 1. Those subsignals are quantised so as to obtain quantized subsignals. For this purpose an arbitrary encoding, such as a transform coding or a subband coding, may be used. At the receiving end it is then necessary to apply an inverse encoding to recover the wideband digital signal. In order to make the signal information available for decoding, the decoder is provided with retrieval means for retrieving the allocation information, the quantized samples and the scale factor information. Preferably, the allocation information is inserted in a frame before the samples. This allocation information is needed to enable the continuous serial bit stream of the samples in the third frame portion to be subdivided into the various individual quantized samples of the correct number of bits at the receiving end. An adaptive bit allocation are described inte r ali a in the publication "Low bit-rate coding of high quality audio signals. An introduction to the MASCAM system" by G. Theile et al, EBU Technical Review, No. 230 (August 1988). Inserting the allocation information in a frame before the samples in a frame has the advantage that in the decoder a simpler decoding becomes possible, which can be carried out in real time and which produces only a slight signal delay. As a result of this sequence it is no longer necessary to first store all the information in the third frame portion in a memory in the decoder. Upon arrival of the encoded digital signal the allocation information is stored in a memory in the decoder. Information content of the allocation information is much smaller than the information content of the samples in the third frame portion, so that a substantially smaller store capacity is needed than in the case that all the samples would have to be stored in the decoder. Immediately upon arrival of the serial data stream of the quantized samples in the third frame portion this data stream can be divided into the various samples having the number of bits specified by the allocation information, so that no previous storage of the signal information is necessary. The allocation information may be in the form of 4-bit words and the scale factor information may be in the form of 6-bit words. The scale factor information is also inserted in the third frame portion before the samples, so that it is possible that during reception the scale factors derived from said scale information are first stored in a memory and the samples are multiplied immediately upon arrival, i.e. without a time delay, by the values of said scale factors. Moreover, it is evident that if after quantisation in the transmitter the subband signal in a subband is zero, which obviously will be apparent from the allocation information for the subband, no scale factor information for this subband need to be transmitted. The inventive steps may be applied to decoders to be used in digital transmission systems, for example systems for the transmission of digital audio signals (digital audio broadcast) via the ether. However, other uses are also conceivable. An example of this is a transmission via optical or magnetic media. Optical-media transmissions may be, for example, transmissions via glass fibres or by means of optical discs or tapes. Magnetic-media transmissions are possible, for example, by means of a magnetic disc or a magnetic tape. The encoded digital signal is then stored in the format as described in one or more tracks of a record carrier, such as an optical or magnetic disc or a magnetic tape. The versatility and flexibility of the decoder thus resides in the special format with which the information in the form of the encoded digital signal is transmitted, for example via a record carrier. The decoder extracts said system information from the data stream and employs it for a correct decoding. The information packets constitute a kind of fictitious units, which are used to define the length of a frame. This means that they need not be explicitly discernible in the information stream of the encoded digital signal. Moreover, the relationship of the information packets with the existing digital audio interface standard is as defined in the IEC standard no. 958. This standard as normally applied to consumer products defines frames containing one sample of both the left-hand and the right-hand channel of a stereo signal. These samples are represented by means of 16-bit two's complement words. If N = 32 is selected, one frame of this digital audio interface standard can transmit exactly one information packet of the second digital signal. In the digital audio interface standard the frame rate is equal to the sample rate. For the present purpose the frame rate should be selected to be equal to BR/N. This enables the present ICs employed in standard digital audio interface equipment to be used. Embodiments of the invention will now be described in more detail, by way of example, with reference to the Figure. In the Figures Fig. 1 shows the encoded digital signal generated by an encoder and made up of frames, each frame being composed of information packets, Fig. 2 gives the structure of a frame, Fig. 3 shows the structure of the first frame portion of a frame, Fig. 4 gives an example of a transmission system comprising an encoder and a decoder, Fig. 5 is a table specifying the number of information packets B in a frame for specific values of the bit rate BR and the sample frequency F s , Fig. 6 gives the number of frames in a padding sequence and a number of frames thereof comprising an additional information packet (dummy slot) for a number of values of the bit rate BR, Fig. 7 represents the system information included in the first frame portion of a frame, Fig. 8 illustrates the distribution of the digital information about the various (two) channels for a number of modes, Fig. 9 illustrates the significance of the allocation information as inserted in the second frame portion, Figs. 10 and 11 illustrate the sequence in which the allocation information is stored in the second frame portion for two formats, format A and format B respectively. Fig. 12 shows an example of a receiver comprising the decoder, Fig. 13 shows an encoder included in a device for recording the encoded digital signal on a magnetic record carrier, Fig. 14 shows the receiver in the form of a device for reproducing the encoded digital signal from a magnetic record carrier, Figs. 15a to 15d show some further possibilities of including the scale factors and samples in the third frame portion of a frame, Fig. 16 shows a further modification of a transmitter, Fig. 17 shows another structure of the first frame portion of a frame, Fig. 18 shows the system information included in the first frame portion illustrated in Fig. 17, Figs. 19 and 20 show in more detail the information in the first frame portion illustrated in Fig. 17, Figs. 21 and 22 illustrate the sequence in which the allocation information is accommodated in the second frame portion associated with the first frame portion of Fig. 17, Fig. 23 gives the structure of a frame filled with an additional signal, Fig. 24 illustrates how the scale factors are derived, Fig. 25 illustrates the quantisation of the scaled samples to form q-bit digital representations, and Fig. 26 illustrates the dequantisation of the q-bit digital representations. Fig. 1 shows diagrammatically the encoded digital signal as generated by a encoder and transmitted via a transmission medium. The encoded digital signal takes the form of the serial digital data stream. The encoded digital signal comprises frames, two such frames, i.e. the frame j and the frame j+1, being given in Fig. 1a. The frames, such as the frame j, comprise a plurality of information packets IP1, IP2, IP3, ..., see Fig. 1b. Each information packet, such as IP3, comprises N bits b 0 , b 1 , b 2 , ..., b N-1 , see Fig. 1c. The number of information packets in a frame depends upon (a) the bit rate BR with which the encoded digital signal is transmitted via the transmission medium, (b) the number of bits N in an information packet, N being larger than 1, (c) F s , being the sample frequency of the wide-band digital signal, and (d) the number of samples n s of the wide-band digital signal, the information which corresponds thereto and which after conversion in the transmitter belongs to the encoded digital signal being included in one frame in the following manner. The parameter P is computed in conformity with the following formula P = BR N x n s F s If this computation yields an integer for P, the number of information packets B in a frame will be equal to P. If the computation does not result in an integer some frames will comprise P' information packets and the other frames will comprise P'+1 information packets. P' is the next lower integer following P. The number of frames comprising P' and P'+1 information packets is obviously selected in such a way that the average frame rate is equal to F n/ns . Hereinafter it is assumed that N=32 and n s =384. The table in Fig.5 gives the number of information packets (slots) in one frame for these values for N and n s and for four values of the bit rate BR and three values for the sample frequency F s . It is evident that for a sample frequency F s equal to 44.1 kHz the parameter P is not an integer in all cases and that consequently a number of frames comprise 34 information packets and the other frames comprise 35 information packets (when BR is 128 kbit/s). This is also illustrated in Fig. 2. Fig. 2 shows one frame. The frame comprises P' information packets IP1, IP2, ..., 1P P'. Sometimes a frame comprises P' + 1 information packets. This is achieved by assigning an additional information packet (dummy slot) to the frames of P' information packets. The second column of the table of Fig.6 gives the number of frames in the padding sequence for a sample frequency of 44.1 kHz and the aforementioned four bit rates. The third column specifies those frames of said number of frames in the sequence which comprise P' + 1 information packets. By subtracting the numbers in the second and the third column from each other this yields the number of frames in the sequence comprising P' information packets. The (P' + 1)th information packet then need not contain any information. The (P' + 1)th information packet may then comprise for example only zeroes. It is obvious that the bit rate BR is not necessarily limited to the four values as given in the tables of Figs. 5 and 6. Other (for example intermediate) values are also possible. Fig. 2 shows that a frame comprises three frame portions FD1, FD2 and FD3 in this order. The first frame portion FD1 contains synchronising information and system information. The second frame portion FD2 contains allocation information. The third frame portion FD3 contains samples and, when applicable, scale factors of the encoded digital signal. For a further explanation it is necessary to first describe the operation of the encoder included in a transmitter in a transmission system. Fig. 4 shows diagrammatically a transmission system comprising a transmitter 1 having an input terminal 2 for receiving the wide-band digital signal S BB , which may be for example a digital audio signal. In the case of an audio signal, this may be a mono signal or a stereo signal, in which case the digital audio signal comprises a first (left channel) and a second (right channel) signal component. It is assumed that the transmitter comprises an encoder for subband coding of the wide-band digital signal and that the receiver consequently comprises a subband decoder for recovering the wide-band digital signal. The transmitter comprises analysis filter means 3 responsive to the digital wide-band signal S BB to generate a plurality of M subband signals S SB1 to S SBM , which analysis filter means divide the signal band of the wide-band signal S BB with sample-frequency reduction into successive subbands having band numbers M (1 ≤ m ≤ M), which increase with the frequency. All these subbands may have the same bandwidth but, alternatively, the subbands may have different bandwidths. In that case the subbands may correspond, for example, to the bandwidths of the critical bands of the human ear. The transmitter further comprises means for the block-by-block quantisation of the respective subband signals. These quantisation means are shown in the block bearing the reference numeral 9 in Fig. 4. Such a subband coder is known per se and is described inter alia in the aforementioned publications by Krasner and by Theile et al. Reference is also made to the published European Patent Application 289,080 (PHN 12.108). For a further description of the operation of the subband coder reference is made to said publications. These publications are therefore incorporated herewith by reference. Such a subband coder enables a significant data reduction to be achieved, for example a reduction from 16 bits per sample for the wide-band digital signal S BB to for example 4 bits per sample in the signal which is transmitted to the receiver 5 via the transmission medium 4, see Fig. 4. Above n s is assumed to be 384. This means that there are blocks of 384 samples of the wide-band digital signal, each sample having a length of 16 bits. Now it is also assumed that M = 32. Consequently, the wide-band digital signal is split into 32 subband signals in the analysis filter means 3. Now 32 (blocks of) subband signals appear on the 32 outputs of the analysis filter means, each block comprising 12 samples (the subbands have equal width) and each sample having a length of 16 bits. This means that on the outputs of the filter means 3 the information content is still equal to the information content of the block of 384 samples of the signal S BB on the input 2. The means 9 now provide data reduction in that, using the knowledge about masking, the samples in the 32 blocks of 12 samples, each block for one subband, are quantised more roughly and can thus be represented by a smaller number of bits. In the case of a static bit allocation all the samples per subband per frame are expressed in a fixed number of bits. This number can be different for two or more subbands but it can also be equal for the subbands, for example equal to 4 bits. In the case of dynamic bit allocation the number of bits selected for every subband may differ viewed in time, so that sometimes an even larger data reduction or a higher quality with the same bit rate can be achieved. The subband signals quantised in the block 9 are applied to a generator unit 6. Starting from the quantised subband signals this unit 6 generates the encoded digital signal as illustrated in Figs. 1 and 2. This digital signal, as stated hereinbefore, can be transmitted directly via the medium. However, preferably this digital signal is first adapted to be transmitted via the transmission medium 4 in a signal converter (not shown). Such a signal converter comprises, for example, an 8-to-10 converter. Such an 8-to-10 converter is described in, for example, the Applicant's European Patent Application 150,082 (PHN 11.117). This converter converts 8-bit data words into 10-bit data words. Moreover, such a signal converter enables an interleaving process to be applied. The purpose of all this is to enable an error correction to be performed on the information to be received at the receiving side. It is obvious that the signal received from the transmission medium 4 by the receiver 5 should then be de-interleaved and subjected to a 10-to-8 conversion. The composition and content of the frames will now be explained in more detail. The first frame portion FD1 in Fig. 2 is shown in greater detail in Fig. 3. Fig.3 clearly shows that the first frame portion now comprises exactly 32 bits and is therefore exactly equal to one information packet, namely the first information packet IP1 of the frame. The first 16 bits of the information packet form the synchronising signal (or synchronising word). The synchronising signal may comprise for example only "ones". The bits 16 to 31 represent the system information. The bits 16 to 23 represent the number of information packets in a frame. This number consequently corresponds to P', both for the frame comprising P' information packets and for frames comprising the additional information packet IP P'+1. P' can be 254 (1111 1110 in bit notation) at the most in order to avoid resemblance to the synchronising signal. The bits 24 to 31 provide frame format information. Fig. 7 gives an example of the arrangement and significance of this information. Bit 24 indicates the type of frame. In the case of format A the second frame portion has another length (a different number of information packets) than in the case of format B. As will become apparent hereinafter, the second frame portion FD2 in the A format comprises 8 information packets, namely the information packets IP2 to IP9 inclusive and in the B format it comprises 4 information packets, namely the information packets IP2 to IP5 inclusive. The bits 25 and 26 indicate whether copying of the information is allowed. The bits 27 to 31 indicate the function mode. This means: a) the channel mode, which indicates the type of wide-band signal (as stated hereinbefore this may be a stereo audio signal, a mono audio signal, or an audio signal comprising two different signal components for example representing the same text but in two different languages). Fig. 8 represents the channel mode. It illustrates how the signal components are divided between the two channels (channel I and channel II) in the aforementioned cases. b) the sample frequency F s of the wide-band signal. c) the emphasis which may be applied to the wide-band digital signal in the transmitter. The values 50 and 15 µs are the time constants of the emphasis and CCITT J. The value 17 indicates a specific emphasis standard as defined by the CCITT (Comité Consultative Internationale de Télégraphie et Téléphonie). The content of the frame portion FD2 in Fig.2 will be described in more detail with reference to Figs. 9, 10 and 11. In the A format the second frame portion contains eight information packets. This is because it is assumed that the wide-band digital signal S BB is converted into 32 subband signals (for every signal portion of the digital signal S BB ). An allocation word having a length of four bits is assigned to every subband. This yields a total of 64 allocation words having a length of 4 bits each, which can be accommodated exactly in eight information packets. In the B format the second frame portion accommodates the allocation information for only half the number of subbands, so that now the second frame portion comprises only 4 information packets. Fig. 9 illustrates the significance of the four-bit allocation words AW. An allocation word associated with a specific subband specifies the number of bits by which the samples of the subband signal in the relevant subband are represented after quantisation in the unit 9. For example: the allocation word AW which is 0100 indicates that the samples are represented by 5-bit words. Moreover, it follows from Fig. 9 that the allocation word 0000 indicates that no samples have been generated in the relevant subband. This may happen, for example, if the subband signal in an adjacent subband has such a large amplitude that this signal fully masks the subband signal in the relevant subband. Moreover, the allocation word 1111 is not used because it bears much resemblance to the sync word in the first information packet IP1. Fig. 10 indicates the sequence, in the case that the frame mode is A, in which the allocation words AW, j,m associated with the two channels j, where j =I or II, and the 32 subbands of the sequence number m, m ranging from 1 to 32, are arranged in the second frame portion. The allocation word AWI, 1 belonging to the first subband signal component of the first and lowest subband (channel I, subband 1) is inserted first. After this the allocation word AWII,1 belonging to the second subband-signal component of the first and lowest subband (channel II, subband 1) is inserted in the second frame portion FD2. Subsequently, the allocation word AWI,2 belonging to the first subband-signal component of the second and lowest but one subband (channel I, subband 2) is inserted in the frame portion FD2. This is followed by the allocation word AW II,2 belonging to the second subband-signal component of the second subband (channel II, subband 2). This continues until the allocation word AW II,4 belonging to the second subband-signal component of the fourth subband (channel II, subband 4) is inserted in the second frame portion FD2. The second information packet IP2 (slot 2) of the frame, which is the first information packet in the frame portion FD2 of the frame, is then filled exactly. Subsequently, the information packet IP3 (slot 3) is filled with AW I,5; AW II,5; ... AW II,8. This continues in the sequence as illustrated in Fig. 10. Fig. 10 merely gives the indices j-m of the inserted allocation word AW, j,m. Fig. 11 indicates the sequence for the allocation words in the case of a B-format frame. In this case only allocation words of the subbands 1 to 16 are inserted. The sequence, as is illustrated in Fig. 10, corresponds to the sequence in which the separate samples belonging to a channel j and a subband m are applied to the synthesis filter means upon reception in the receiver. This will be explained in greater detail hereinafter. The serial data stream contains for example only frames in conformity with the A format. In the receiver the allocation information in each frame is then employed for correctly deriving the samples from the information in the third frame portion of said frame. However, the serial data stream may also comprise, more or less alternately, both frames in conformity with the A format and frames in conformity with the B format. However, the frames in conformity with both formats may contain samples for all channels and all subbands in the third frame portion. A frame in conformity with the B format then lacks in fact the allocation information required to derive the samples for the channels I or II of the subbands 17 to 32 from the third frame portion of a B format frame. The receiver comprises a memory in which the allocation information included in the second frame portion of an A format frame can be stored. If the next frame is a B format frame only the allocation information for the subbands 1 to 16 and the channels I and II in the memory is replaced by the allocation information included in the second frame portion of the B format frame, and for deriving the samples for the subbands 17 to 32 from the third frame portion of the B format frame use is made of the allocation information for these subbands derived from the preceding A format frame and still present in the memory. The reason for the alternate use of A format frames and B format frames is that for some subbands the allocation information in the present case the allocation information for the higher subbands 17 to 32, does not change rapidly. Since during quantisation knows the allocation information for the various subbands is available in the transmitter, this transmitter can decide to generate a B format frame instead of an A format frame if the allocation information for the subbands 17 to 32 inclusive does not change (significantly). Moreover, this illustrates that now additional space becomes available for the inclusion of samples in the third frame portion FD3. For a specific value of P' the third frame portion of a B format frame is four information packets longer than the third frame portion of an A format frame. Consequently, this enables the number of bits by which the samples in the lower subbands 1 to 16 are represented to be increased, so that for these subbands a higher transmission accuracy can be achieved. Moreover, if it is required to quantise the lower subbands more accurately the transmitter can automatically opt for the generation of B format frames. This may then be at the expense of the accuracy with which the higher subbands are quantised. The third frame portion FD3 in Fig. 2 contains the samples of the quantised subband-signal components for the two channels. If the allocation word 0000 is not present in the frame portion FD2 for none of the subband channels this means that in the present example twelve samples are inserted in the third frame portion FD3 for each of the 32 subbands and 2 channels. This means that there are 768 samples in total. In the transmitter the samples may be divided by a scale factor prior to their quantisation. For each of the subbands and channels the amplitudes of the twelve samples are divided by the amplitude of that sample of the twelve samples which has the largest amplitude. In that case a scale factor should be transmitted for every subband and every channel in order to enable the inverse operation to be performed upon the samples at the receiving end. For this purpose the third frame portion then contains scale factors SF j,m, one for each of the quantised subband-signal components in the various subbands. In the present example, scale factors are represented by 6-bit numbers, the most significant bit first, the values ranging from 000000 to 111110. The scale factors of the subbands to which these are allocated, i.e. whose allocation information is non-zero, are transmitted before the transmission of the samples begins. This means that the scale factors are accommodated in the leading part of the frame portion FD3 before the samples. This enables a rapid decoding in the decoder included in the receiver 5 to be achieved without the necessity of storing all the samples in the receiver, as will become apparent hereinafter. A scale factor SF j,m can thus represent the value by which the samples of the signal in the j-th channel of the m-th subband have been multiplied. Conversely; the number one divided by said value may be stored as the scale factor so that at the receiving end it is not necessary to divide the scale factors before the sample, are scaled up to correct values. For the frame format A the maximum number of scale factors is 64. If the allocation word AW j,m for a specific channel j and a specific subband m has the value 0000, which means that for this channel and this subband no samples are present in the frame portion FD3, it will not be necessary to include a scale factor for this channel and this subband. The number of scale factors is then smaller than 64. The sequence in which the scale factors SF j,m are inserted in the third frame portion FD3 is the same as that in which the allocation words have been inserted in the second frame portion. The sequence is therefore as follows: SF I,1; SF II,1; SF I,2; SF II,2; SF I,3; SF II,3;.... SF I,32, SF II,32. If it is not necessary to insert a scale factor the sequence will not be complete. the sequence may then be for example: ...SF I,4; SF I,5; SF II,5; SF II,6;.... In this case the scale factors for the fourth subband of channel II and the sixth subband of channel I are not inserted. If the frame is a B format frame it may still be considered to insert scale factors in the third frame portion for all the subbands and all the channels. However, this is not necessarily so. In this case it would be possible to insert scale factors in the third frame portion of the frame for the subbands 1 to 16 only. In the receiver this requires a memory in which all scale factors can be stored at the instant at which a previously arriving A format frame is received. Subsequently upon reception of the B format frame only the scale factors for the subbands 1 to 16 are replaced by the scale factors included in the B format frame. The scale factors of the previously received A format frame for the subbands 17 to 32 are then used in order to restore the samples for these subbands included in the third frame portion of the B format frame to the correct scale. The samples are inserted in the third frame portion FD3 in the same sequence as the allocation words and the scale factors, one sample for every subband of every channel in succession. This means: first all the first samples for the quantised subband signals for all the subbands of both channels, then all the second samples, .... etc. The binary representation of the samples is arbitrary, the binary word comprising only "ones" preferably not being used again. The encoded digital signal generated by the transmitter 1 is subsequently applied to a transmission medium 4 via the output 7, and by means of the transmission medium 4 this signal is transferred to the receiver 5. The transmission via the transmission medium 4 may be a wireless transmission, such as for example a radio transmission channel. However, other transmission media are also possible. In this respect an optical transmission may be envisaged, for example via optical fibres or optical record carriers, such as Compact-Disc-like media, or a transmission by means of magnetic record carriers utilising RDAT or SDAT-like recording and reproducing technologies, for which reference is made to the book "The art of digital audio" by J.Watkinson, Focal press, London 1988. The receiver 5 comprises the decoder in accordance with the invention, which decodes the signal encoded in the coder 6 of the transmitter 1 and converts it into a replica of the wide-band digital signal supplied to the output 8. Fig. 12 shows a more detailed version of the receiver 5 in Fig. 4. The encoded signal is applied to a unit 11 via the terminal 10. The essential information in the incoming signal is contained in the scale factors and the samples. The remainder of the information in the encoded digital signal is merely required for a "correct bookkeeping", to allow a correct decoding. The decoding process is repeated for every incoming frame. The receiver first derives the synchronising and system information from the frames. The unit 19 each time detects the sync words situated in the first 16 bits of the first frame portion of every frame. Since the sync words of successive frames are each time spaced apart by an integral multiple of P' or P' + 1 information packets the sync words can be detected very accurately. Once the receiver is in synchronism the sync word can be detected in the unit 19 in that in the unit 19 a time window having, for example, a length of one information packet is opened after each time P' information packets, so that only that part of the incoming information is applied to the sync word detector in the unit 19. If the sync word is not detected the time window remains open for the duration of another information packet because the preceding frame may be a frame comprising P' + 1 information packets. From these sync words a PLL in the unit 19 can derive a clock signal to control the central processing unit 18. It is evident from the above that the decoder should know how many information packets are contained in one frame. For this purpose the system information is applied to the switching means 15 via an input of the processing unit 18, which switching means are then in the position shown. The system information can now be stored in a memory 18a of the processing unit 18. The information relating to the number of information packets in a frame can be applied to the unit 19 via the control-signal line 20 to open the time window at the correct instants for sync-word detection. When the system information is received the switch 15 is changed over to the lower position. The allocation information in the second frame portion of the frame can now be stored in the memory 18b. If the allocation information in the incoming frame does not comprise an allocation word for all the subbands and channels this will have become apparent already from the detected system information. This may be for example the information indicating whether the frame is an A-format or a B-format frame. Thus, under the influence of the relevant information contained in the system information the processing unit 18 will store the received allocation words at the correct location in the allocation memory 18b. It is obvious that in the present example the allocation memory 18b comprises 64 storage positions. If no scale factors are transmitted, the elements bearing the reference numerals 11,12 and 17 may be dispensed with and the content of the third frame portion of a frame is applied to the synthesis filter means via the input 10, which is coupled to the input of said filter means via the connection 16. The sequence in which the samples are applied to the filter means 21 is the same as the sequence in which the filter means 21 process the samples in order to reconstruct the wide-band signal. The allocation information stored in the memory 18b is required in order to divide the serial data stream of samples into individual samples in the filter means 21, each sample having the correct number of bits. For this purpose the allocation information is applied to the filter means 21 via the line 22. The receiver further comprises a deemphasis unit 23 which subjects the reconstructed digital signal supplied by the filter 21 to deemphasis. For a correct deemphasis the relevant information in the bits 24 to 31 of the first frame portion should be applied from the memory 18a to the deemphasis unit 23 via the line 24. If the third frame portion also contains the scale factors SF j ,m the decoder will comprise the switch 11, the memory 12 and the multiplier 17. All the instant at which the third frame portion FD3 of a frame arrives the switch 11 is in the lower position under the influence of a control signal applied by the processing unit 18 via the line 13. The scale factors can now be applied to the memory 12. Under the influence of address signals applied to the memory 12 by the processing unit 18 via the line 14 the scale factors are stored at the correct locations in the memory 12. The memory 12 has 64 locations for the storage of the 64 scale factors. Again, when a B-format frame is received, the processing unit 18 applies such address signals to the memory 12 that only the scale factors for the subbands 1 to 16 are overwritten by the scale factors in the B-format frame. Subsequently, the switch 11 changes over to the shown (upper) position under the influence of the control signal applied via the line 13, so that the samples are applied to the multiplier 17. Under the influence of the allocation information, which is now applied to the multiplier 17 via the line 22, the multiplier first derives the individual samples of the correct bit length form the serial data stream applied via the line 16. Subsequently, the samples are multiplied so as to restore them to the correct values of the samples prior to scaling-down in the transmitter. If the scale factors stored in the memory 12 are the scale factors by which the samples have been scaled down in the transmitter these scale factors should first be inverted (one divided by the scale factor) and should then be applied to the multiplier 17. Obviously, it is also possible to invert the scale factors upon reception before they are stored in the memory 12. If the scale factors in the frames are already equal to the value by which the samples should be scaled up during reception they can be stored directly in the memory 12 and they can be applied directly to the multiplier 17. It is evident that no memory is required to store all these samples before the signal processing performed upon the samples contained in the frame begins. At the instant at which a sample arrives via the line 16 all the information required for processing this sample is already available, so that processing can be carried out immediately. This entire process is effected under the influence of control signals and clock signals applied to all the parts of the receiver by the processing unit 18. By no means all the control signals are shown. This is not necessary because the operation of the receiver will be obvious to those skilled in the art. Under control of the processing unit 18 the multiplier 17 multiplies the samples by the appropriate multiplication factors. The samples, which have now been restored to the correct amplitude, are applied to the reconstruction filter 18 in which the subband signals are reconverted to form the wide-band digital signal. A further description of the receiver is not necessary because such receivers are generally known, see for example the publication "Low bit rate coding of high-quality audio signals. An introduction to the MASCAM system" by G. Theile et al in EBU Technical Review, no. 230, August 1988. Fig. 13 shows diagrammatically yet another embodiment of the transmitter, which now takes the form of a recording device for recording the wide-band digital signal on the record carrier, in the present case a magnetic record carrier 25. The encoder 6 supplies the encoded digital signal to a recording device 27 comprising a write head 26 by means of which the signal is recorded in a track on the record carrier. It is then possible to record the encoded digital signal in a single track on the record carrier, for example by means of a helical-scan recorder, in which case the single track is then in fact divided into juxtaposed tracks which are inclined relative to the longitudinal direction of the record carrier. An example of this is an RDAT-like recording method. Another method is to split the information and simultaneously recording the split information in a plurality of juxtaposed tracks which extend on the record carrier in the longitudinal direction of the record carrier. For this the use of an SDAT-like recording method may be considered. A comprehensive description of the two above methods can be found in the aforementioned book "The art of a digital audio" by J. Watkinson. Again it is to be noted that the signal supplied by the unit 6 may be first be encoded in a signal converter. This encoding may again be an 8-to-10 conversion followed by an interleaving process, as described with reference to Fig. 4. If the encoded information is recorded on the record carrier in a plurality of adjacent parallel track, this signal converter should also be capable of assigning the encoded information to the various tracks. Fig. 14 shows diagrammatically an embodiment of the receiver 5, which in the present case takes the form of a read device for reading the record carrier 25 on which the wide-band digital signal has been recorded in the form of the encoded digital signal by means of the device shown in Fig.13. The encoded digital signal is read from a track on the record carrier by the read head 29 and is applied to the receiver 5 comprising the decoder in accordance with the invention, which may be for example of a construction as shown in Fig.12. Again the read device 28 may be constructed to carry out an RDAT-like or an SDAT-like reproducing method. Both methods are again described comprehensively in the aforementioned book by Watkinson. If the signal supplied by the unit 6 in the recording device shown in Fig. 13 has been converted, for example in an 8-to-10 conversion and in an interleaving step, the encoded signal (the transmission signal) read from the record carrier 25 should first be de-interleaved and should be subjected to 10-to-8 conversion. Moreover, if the encoded signal has been recorded in a plurality of parallel tracks the reproducing unit shown in Fig. 14 should arrange the information read from these tracks in the correct sequence before further processing is applied. Fig. 15 shows a number of other possibilities of inserting the scale factors and the samples in the third frame portion FD3 of a frame. Fig. 15a illustrates the above described method in which the scale factors SF for all the subbands m and channels (I or II) are inserted in the third frame portion before the samples. Fig. 15b illustrates the same situation as Fig. 15a, but in this case it diagrammatically represents the storage capacity for the scale factors SF I,m and SF II,m and the associated x samples for these two channels in the subband m. Fig. 15b shows the samples for the two channels in the subband m combined to blocks, whereas normally they are distributed within the third frame portion. The samples have a length of y bits. In the above example x is 12 and y is now taken to be 8. Fig. 15c shows another format. The two scale factors for the first and the second channel in the subband are still present in the third frame portion. However, instead of the x samples for both channels (the left and right channels for a stereo signal) in the subband m (i.e. 2x samples in total) only x samples for the subband m are included in the third frame portion. These x samples are obtained, for example, by adding corresponding samples in each of the two channels to one another. In fact, a monophonic signal is obtained in this subband m. The x samples in Fig. 15c each have a length of z bits. If z is equal to y this saves room in the third frame portion, which can be used for samples requiring a more accurate quantisation. It is alternatively possible to express the x samples of the mono signal in Z = 2y (= 16) bits . Such a signal processing is applied if the phase difference between the left-hand and the right-hand signal component in a subband is irrelevant but the waveform of the monophonic signal is important. This applies in particular to signals in higher subbands because the phase-sensitivity of the ear for the frequency in these subbands is smaller. By expressing the x samples of the mono signal in 16 bits the waveform is quantised more accurately, while the room occupied by these samples in the third frame portion is equal to that in the example illustrated in Fig. 15b. Yet another possibility is to represent the samples in Fig.15 by for example 12 bits. The signal definition is then more accurate than in the example illustrated in Fig. 15b whilst in addition room is saved in the third frame portion. When at the receiving end the signals included in the third frame portion as illustrated in Fig. 15c are reproduced a stereo effect is obtained which is referred to as "intensity stereo". Here, only the intensities of the left-channel and the right-channel signals (in the subband m) can differ because of a different value for the scale factors SF I,m and SF II,m. Fig. 15d gives still another possibility. In this case there is only one scale factor SFm for both signal components in the subband m. This is a situation which may occur in particular for low-frequency subbands. Yet another possibility, which is not shown, is that the x samples for the channels I and II of the subband m, as in Fig. 15b, do not have associated scale factors SF I,m and SF II,m. Consequently, these scale factors are not inserted in the same third frame portion. In this case the scale factors SF I,m and SF II,m included in the third frame portion of a preceding frame must be used for scaling up the samples in the receiver. All the possibilities described with reference to Fig. 15 can be employed in the transmitter in order to achieve a most efficient data transfer via the transmission medium. Thus, frames as described with reference to Fig. 15 may occur alternately in the data stream. It will be appreciated that, if the decoder in the receiver should yet be capable of correctly decoding these different frames, information about the structure of these frames should be included in the system information. Fig. 16 shows the transmitter in more detail. The Figure shows how the various items of information can be combined to form the serial data stream as given in Figs. 1, 2 and 3. Fig. 16 in fact shows a more detailed version of the encoder 6 in the transmitter 1. The encoder comprises a central processing unit 30, which controls a number of devices in the encoder. The encoder comprises a generator 31 included in the processing unit 30 for generating the synchronising information and the system information, as described with reference to Fig.3, a generator 32 for defining the allocation information, a generator 33 (optional) for determining the scale factors, a generator 34 for defining the samples for a frame. The generator 35 is a generator which is capable of generating the additional information packet IP P'+1. The outputs of these generators are coupled to associated inputs of switching means 40 in the form of a five-position switch whose output is coupled to the output 7 of the encoder 6. The switching means 40 are also controlled by the processing unit 30. The various generators are controlled via the lines 41.1 to 41.4. The operation of the transmitter will be described for a mono signal divided into M subband signals. These M subband signals S SB1 to S SBM are applied to the terminals 45.1, 45.2, ..., 45.M. For example, blocks of 12 samples of each of the subband signals are taken together. In the unit 46.1 to 46.M, if present, the twelve samples in a block are scaled to the amplitude of the largest sample in the block. The M scale factors are applied to the unit 33 (if present) via the lines 47.1 to 47.M. The subband signals are applied both to the M quantisers 48.1 to 48.M and to a unit 49. For every subband the unit 49 defines the number of bits with which the relevant subband signal should be quantised. This information is applied to the respective quantisers 48.1 to 48.M via the lines 50.1 to 50.M, so that these quantisers correctly quantise the 12 samples of each of the subband signals. Moreover this (allocation) information is applied to the unit 32. The samples of the quantised subband signals are applied to the unit 34 via the lines 51.1 to 51.M. The units 32, 33 and 34 arrange the allocation information, the scale factors and the samples in the correct sequence i.e. in the sequence as described hereinbefore. Moreover, the processing unit 30 has generated the synchronising information and the system information associated with the frame to be generated, in which said information stored in the units 32, 33 and 34 should be inserted. In the shown position of the switching means 40 the synchronising and system information for a frame is supplied by the generator 31 and fed to the output 7. Subsequently, the switch 40 is set to the second position from the top under the influence of the control signal supplied by the CPU 30, via the line 53 so that the output of the generator 32 is coupled to the output 7. Now the allocation information is applied to the output 7 by the generator 32. The sequence of the allocation information is as described with reference to Fig. 10 or 11. After this the switch 40 is set to the third position from the top. This means that the output of the generator 33 is coupled to the output 7. The generator 33 now supplies the scale factors in the correct sequence to the output 7. The switch 40 is now set to the next position, so that the output of the generator 34 is coupled to the output 7. Now the generator 34 supplies the samples in the various subbands in the correct sequence to the output 7. In this cycle exactly one frame is applied to the output 7. Subsequently, the switch 40 is reset to the top position. A new cycle is started, in which a subsequent block of 12 samples for each subband is encoded and a subsequent frame can be generated on the output 7. In some cases, for example if the sample frequency F s is 44.1 kHz, see Fig. 5, an additional information packet (the dummy slot, see Fig. 2) must be added. In that case the switch will be set from the position in which the generator 34 is coupled to the bottom position. The output of the generator 35 is now coupled to the output 7. Now the generator 35 generates the additional information packet IP P' + 1, which is applied to the output 7. After this the switch 40 is reset to the top position to start the next cycle. It is obvious that, if the signal received by the transmitter is to be corrected for errors caused during transmission of the signal, a specific error correction encoding should be applied to the encoded digital signal. In addition, it is required to modulate (or channel encode) the encoded digital signal prior to transmission so as to obtain a transmission signal. Thus, an encoded digital signal is transmitted via the transmission medium, which signal may not be directly identifiable as the encoded digital signal but which has been derived therefrom. Further, it is to be noted that, for example in the case that the subbands have different widths, the number of samples for the various subbands inserted in one third frame portion may differ and are likely to differ. It is assumed, for example, that a division into three subbands is used, a lower subband SB 1 , a central subband SB 2 and a upper subband SB 3 . The upper subband SB 3 will have a bandwidth which is, for example, twice as large as that of the other two subbands. This means that the number of samples inserted in the third frame portion for the subband SB 3 is also twice as large as for each of the other subbands. The sequence in which the samples are applied to the reconstruction filter in the decoder may then be: the first sample of SB 1 , the first sample of SB 3 ,the first sample of SB 2 , the second sample of SB 3 , the second sample of SB 1 , the third sample of SB 3 , the second sample of SB 2 , the fourth sample of SB 3 ,.... etc. The sequence in which the allocation information for these subbands is then inserted in the second frame portion is now: first the allocation word for SB 1 , then the allocation word of SB 3 , subsequently the allocation word for SB 2 . The same applies to the scale factors. Moreover, the decoder can derive from the system information that in this case the cycle comprises groups of four samples each, each group comprising one sample of SB 1 , one sample of SB 3 , one sample of SB 2 and subsequently another sample of SB 3 . Figure 17 shows another structure of the first frame portion FD1. Again the first frame portion FD1 contains exactly 32 bits and therefore corresponds to one information packet. The first 16 bits again constitute the synchronising signal (or synchronisation word). The synchronisation word may again be the same as the synchronisation word of the first frame portion FD1 in Fig. 3. The information accommodated in bits 16 through 31 differs from the information in bits 16 through 31 in Fig. 3. The bits b 16 through b 19 represent the bit rate index (BR index). The bit rate index is a 4-bit number whose meaning is illustrated in the Table in Fig. 18. If the bit rate index is equal to the 4-bit digital number '0000' this denotes the free-format condition, which means that the bit rate is not specified and that the decoder has to depend upon the synchronisation word alone to detect the beginning of a new frame. The 4-bit digital number '1111' is not employed in order not to disturb the synchronisation word detection. In the second column of the Table in Fig. 18 the bit rate index is represented as a decimal number corresponding to the 4-bit digital number. The corresponding bit rate values are given in column 1. The bits 20 and 21 represent the sample frequency F s , see Fig. 18. Fig. 18 shows the four possible 2-bit digital numbers for the bits b 20 and b 21 and the associated sample frequency. Bit 22 indicates whether the frame comprises a dummy slot, in which case b 22 = '1', or does not comprise a dummy slot, in which case b 22 = '0'. The information in the bits b 16 through b 22 makes it possible to determine how many information packets are actually present in the frame. This means again that the first frame portion contains information related to the number of information packets in the frame. As n s is known, which is the number of samples of the wide-band signal whose corresponding information belonging to the encoded digital signal is accommodated in one frame, in the present example n s = 384, it is possible to determine how many information packets B are present in the frame by means of the data in the Table in Fig. 8, the padding bit b 22 and the formula P = BR N x n s F s The bit b 23 is intended for specifying a future extension of the system. This future extension will be described hereinafter. For the time being this bit is assumed to be '0'. The content of the first frame portion, as regards the bits b 24 through b 31 , will be described with reference to Figs. 19 and 20. The bits b 24 and b 25 give the mode indication for the audio signal. For the four possibilities of this two-bit digital number Fig. 20 shows whether the wide-band digital signal is a stereo audio signal ('00'), a mono signal ('11'), a bilingual signal ('10'), or an intensity stereo audio signal ('01'). In the last-mentioned case the bits 26 and 27 indicate which subbands have been processed in accordance with the intensity stereo method. Figure 20 indicates for the respective two-bit numbers "00', '01', '10', and '11'that the subbands 5-32, 9-32, 13-32 and 17-32 have been processed in accordance with the intensity stereo method. As stated hereinbefore intensity stereo can be applied to the higher subbands because the ear is less phase-sensitive for the frequencies in these subbands. The bit b 28 can be used as a copyright bit. If this bit is '1' this means that the information is copy-protected and should/cannot be copied. The bit b 29 can indicate that the information is original information (b 29 = '1'), for example in the case of the prerecorded tapes, or information which has been copied (b 29 = '0'). The bits b 30 and b 31 specify the emphasis which may have been applied to the wide-band signal in the transmitter, see also the description with reference to Fig. 7. Hereinafter, another configuration of the second frame portion FD2 will be described for the various mode indications represented by the bits b 24 through b 27 in the first frame portion. Again the second frame portion comprises the 4-bit allocation words whose meaning has been described with reference to Fig. 9. For the stereo mode (b 24 , b 25 = 00) and the bilingual mode (b 24 , b 25 = 10) the second frame portion FD2 again has a length of 8 information packets (slots) and is composed as described with reference to Fig. 10. In the stereo mode 'II' in Fig. 10 then represents, for example, the left-channel component and 'II' the right channel component. For the bilingual mode 'I' denotes one language and 'II' denotes the other language. For the mono mode (b 24 , b 25 = 11) the length of the second frame portion FD2 is of course only 4 information packets (slots). Fig. 21 illustrates the sequence of the allocation words for the various subbands 1 through 32 in the four information packets (slots) 2 through 5. Thus, every quantity M-i represents a four-bit allocation word which specifies the number of bits in every sample in the subband of the sequence number i, i ranging from 1 to 32. In the intensity stereo mode (b 24 , b 25 = 01) there are four possibilities indicated by means of the bits b 26 and b 27 , see Fig. 20. All these possibilities result in a different content of the second frame portion FD2. Figs. 22a to 22d illustrate the four different contents of the second frame portion. If the switch bits b 26 , b 27 are '00' the signals in the subbands 1 through 4 are normal stereo signals and the signals in the subbands 5 through 32 are intensity-stereo signals. This means that for the subbands 1 through 4 for the left-hand and right-hand channel components in these subbands the associated allocation words should be stored in the second frame portion. In Fig. 22a this is represented by the consecutive allocation words AW (1, 1); AW (R, 1); AW (1, 2); AW (R, 2); ... AW (R, 4), stored in the slot 2 of the frame, i.e. the first slot of the second frame portion. Fig. 22a only gives the indices (i-j) of the allocation words, i being equal to L or R and indicating the left-hand and the right-hand channel component respectively, and j ranging from 1 through 4 and representing the sequence number of the subband. For the subbands 5 through 32 the left-hand and the right-hand channel components contain the same series of samples. The only difference resides in the scale factors for the left-hand and the right-hand channel components in a subband. Consequently, such a subband requires only one allocation word. The allocation words AW (i, j) for these subbands 5 through 32 are indicated by the indices M-j, where i is consequently equal to M for all the subbands and where j ranges from 5 through 32. Fig. 22a shows that 4 1/2 information packets are required for inserting the 36 allocation words in the second frame portion. If the switch bits b 26 , b 27 are '01' the signals in the subbands 1 through 8 will be normal stereo signals and the signals in the subbands 9 through 32 will be intensity-stereo signals. This means that for each of the subbands 1 through 8 two allocation words AW(L, j) and AW(R,j) are required and that for each of the subbands 9 through 32 only one allocation word AW(M,j) is required. This implies that in total 40 allocation words are needed, included in five information packets (slots), i.e. IP2 through IP6, of the frame. This is illustrated in Fig. 22b. In this case the second frame portion FD2 has a length of five information packets (slots). If the switch bits b 26 , b 27 are '10' the signals in the subbands 1 through 12 will be normal stereo signals and the signals in the subbands 13 through 32 will be intensity-stereo signals. Fig. 22c gives the structure of the second frame portion FD2 with the allocation words for the various subbands. The second frame portion now has a length of 5 1/2 information packets (slots) in order to accommodate all the allocation words. If the switch bits b 26 , b 27 are '11' the signals in the subbands 1 through 16 will be normal stereo signals and the signals in the subbands 17 through 32 will be intensity-stereo signals. Now 48 allocation words are needed, which are inserted in the second frame portion, which then has a length of 6 information packets (slots), see Fig. 22d. What has been stated above about the scale factors is also valid here. When it is assumed that an allocation word 0000 has been assigned neither to any of the subbands nor to any of the channels, 64 scale factors are required both for the stereo mode and for the intensity-stereo modes. This is because in all the intensity-stereo modes every mono subband should have two scale factors to enable intensity-stereo to be realised for the left-hand and the right-hand channel in this subband, see Fig. 15c. It is obvious that in the mono mode the number of scale factors is halved, i.e. 32, again assuming that the allocation word 0000 has not been assigned to any of the subbands. A method of determining the 6-bit scale factors will now be explained below. As stated hereinbefore, the sample having the largest absolute value is determined for every 12 samples of a subband channel. Fig. 24a shows this maximal sample | S max | . The first bit, designated SGN, is the sign bit and is '0' because it relates to the absolute value of S max . The samples are represented in two's complement notation. The sample comprises k 'zeros' followed by a "1". The values of the other bits of the 24-bit digital number are not relevant and can be either '0' or '1'. | S max | is now multiplied by 2 k , see Fig. 24b. Subsequently | S max | .2 k is compared with a digital number DV 1 equal to 010100001100000000000000 and a digital number DV 2 equal to 011001100000000000000000. If | S max | .2 k < DV 1 a specific constant p is taken to be 2. If DV 1 ≤ | S max | .2 k < DV 2 , then p is taken to be 1. If | S max | .2 k ≥ DV 2 , then p=0. The number k is limited to 0 ≤ k ≤ 20. The scale factor is now determined by the numbers k and p in accordance with the following formula. SF = 3k + p. Consequently, the maximum value for SF is 62. This means that the scale factors can be represented by 6-bit numbers, the six-bit number 111111 (which corresponds to the decimal number 63) not being used. In fact, the 6-bit binary numbers are not the scale factors but they are in a uniquely defined relationship with the actual scale factors, as will be set forth below. All the 12 samples S are now multiplied by a number which is related to the values for k and p. The 12 samples are each multiplied as follows. S' = Sx2 k xg(p) where the number g(p) has the following relation with p: g(p) = 1 for p = 0 g(p) = 1+2 -2 +2 -8 +2 -10 +2 -16 +2 -18 +2 -23 for p = 1 g(p) = 1+2 -1 +2 -4 +2 -6 +2 -8 +2 -9 +2 -10 +2 -13 +2 -15 +2 -16 +2 -17 + 2 -19 +2 -20 for p = 2. The parameter k specifies the number of 6 dB steps and the factors (g(1) and g(2) are the closest approximations to steps of 2 dB. The samples S' thus scaled are now quantised to enable them to be represented by q-bit digital numbers in two's complement notation. In Fig. 25 this is illustrated for q = 3. The scaled samples s' have values between +1 and -1, see Fig. 25a. In the quantiser these samples must be represented by q bits, q corresponding to the allocation value for the relevant subband (channel). Since, as stated above, the q-bit digital number comprising only 'ones' is not used to represent a sample the total interval from -1 to + should be divided over 2 q-1 smaller intervals. For this purpose the scaled samples S' are transformed into the samples S'' in accordance with the formula S'' = S'(1-2 -q )-2 -q . The samples S'' are subsequently truncated at q bits, see Fig. 25c. Since the '111' representation is not permissible the sign bits are inverted, see Fig. 25d. The q(=3)-bit numbers given in Fig. 25d are now inserted in the third frame portion FD3, see Fig. 2. Samples S' which comply with -0.71≤S'≤-0.14 are represented by the digital number '001'. This proceeds similarly for samples S' of larger values up to samples which comply with 0.71 ≤ S' < 1 and which are represented by the digital number ''110'. Consequently, the digital number '111' is not used. Dequantisation at the receiving side is effected in a manner inverse to the quantization at the transmission side, see Fig. 26. This means that first the sign bits of the q-bit digital numbers are inverted to obtain the normal two's complement notation, see Fig. 26b. Subsequently the samples S' are derived from the transformed samples S'' by means of the formula S' = (S''+ 2 -q+1 )(1 + 2 -q + 2 -2q + 2 -3q + 2 -4q + ...) , see Figs. 26c and 26d. The values S' thus obtained are now situated exactly within the original intervals in Fig. 25a. At the receiving side the samples S' are subsequently scaled to the original amplitudes by means of the transmitted information k, p which is related to the scale factors. Thus, at the receiving side a number g'(p) complies with: g'(p) = 1 for p = 0 g'(p) = 2 -1 + 2 -2 + 2 -5 + 2 -6 for p = 1 g' (p) = 2 -1 + 2 -3 + 2 -8 + 2 -9 for p = 2. Scaling to the original amplitudes is now effected using the following formula: S = S'.2 -k .g'(p) . In the two possible versions of a frame as described with reference to Figures 2 and 3 and Figures 2, 17 and 19 respectively the third frame portion may not be filled entirely with information. This will occur more often and sooner as the algorithms for subband coding, i.e. the entire process of dividing the signal into subband signals and the subsequent quantization of the samples in the various subbands, are improved. In particular, this will enable the information to be transmitted with a smaller number of bits (average number per sample). The unused part of the third frame portion can then be utilized for transmitting additional information. In the first frame portion FD1 in Fig. 17 allowance has been made for this by means of the "future-use" bit b 23 . Normally, this bit is '0', as will be apparent from Fig. 18. If an additional signal has been inserted in the third frame portion FD3 of a frame, the future-use bit b 23 in the first frame portion FD1, see Fig. 17, will be '1'. During reading of the first frame portion FD1 this makes it possible for the receiver to detect the frame contains additional information. The allocation information and the scale factors, see Fig. 23, inform the receiver that only the part of the third frame portion FD3, marked FD4 in Fig. 23, contains quantised samples of the subband signals. The remainder, marked FD5 in Fig. 23, now contains the additional information. The first bits in this frame portion FD5 are designated 'EXT INFO' or extension information. These bits indicate the type of additional information. The additional information may be, for example, an additional audio channel, for example for the transmission of a second stereo channel. Another possibility is to use these two additional audio channels to realise 'surround sound' together with the audio subband signals in the frame portion FD4. In that case the front-rear information required for surround sound may be included in the frame portion FD5. In the part marked FD6 the frame portion FD5 may again contain allocation information, scale factors and samples (in this order) and the sequence of the allocation words and the scale factors may then be similar to the sequence as described with reference to Figs. 2 and 3 and Figs. 2, 17 and 19. In the case of 'surround sound' simple receivers may merely decode the stereo audio information in the frame portions FD2 and FD3, except for the frame portion FD5. More sophisticated receivers are then capable of reproducing the surround-sound information and for this purpose they also employ the information in the frame portion FD5. The extension-info bits may also indicate that the information in the frame portion FD6 relates to text, for example in the form of ASCII characters. It may even be considered to insert video or picture information in the frame portion FD6, said information again being characterized by the extension-info bits. It is to be noted that the invention is not limited to the embodiments shown herein. The invention also relates to those embodiments which differ from the embodiments shown herein with respect to features which are not relevant to the invention as defined in the Claims.

Claims: A decoder for decoding an encoded digital signal that has been obtained by encoding a wideband digital signal of a specific sampling frequency F s , for example a digital audio signal, in an encoder, the encoded digital signal comprising consecutive frames, each frame comprising a plurality of information packets (IP), each information packet comprising N bits, N being larger than 1, a frame comprising at least a first frame portion including synchronization information, the decoder having an input ( 10 ) for receiving the encoded digital signal, the decoder being adapted to convert the encoded digital signal into a replica of the wideband digital signal, the decoder having an output (8) to supply the replica of the wideband digital signal, characterized in that the number B of information packets in one frame has a relation to a value P, such that, if P in the formula P = BR x n s /(N x F s ) is an integer, where BR is the bitrate of the encoded digital signal and n s is the number of samples of the wideband digital signal whose corresponding information in the encoded digital signal, is included in one frame of the encoded digital signal, the number B of information packets in one frame is P, or that, if P is not an integer, the number B of information packets in a number of frames is P', where P' is the next lower integer following P, and the number of information packets in the other frames is equal to P'+1 so as to exactly comply with the requirement that the average framerate of the encoded digital signal is substantially equal to F s /n s , the decoder being provided with means (13-24) for decoding the said encoded digital signal into said replica of the wideband digital signal. Decoder as claimed in claim 1, characterized in that the first frame portion (FD1) comprises further information relating to the number of information packets in the frame, and that the decoder comprises retrieval means (18) to retrieve the said further information from the first frame portion in said frame upon reception of the encoded digital signal. Decoder as claimed in claim 1 or 2, characterized in that the first frame portion further includes system information, the decoder comprising retrieval means (15,18a) for retrieving said system information from the first frame portion in said frame upon reception of the encoded digital signal. Decoder as claimed in claim 3, characterized in that the system information relates to the bitrate BR. Decoder as claimed in claim 3, characterized in that the system information relates to the sampling frequency F s . Decoder as claimed in claim 3, characterized in that the system information identifies a frame as having one information packet more than other frames. Decoder as claimed in claim 3, characterized in that the system information identifies a transmission mode for the digital signal, the system information identifying an encoded digital signal comprising information relating to a stereo audio signal, an encoded digital signal comprising information relating to a mono audio signal, a bilingual signal, or an intensity stereo encoded audio signal, the decoder comprising retrieval means (15,18a) for retrieving said mode identification. Decoder as claimed in anyone of the preceding claims 3 to 7, characterized in that a frame comprises said first frame portion (FD1), a second frame portion (FD2) and a third frame portion (FD3), the encoded digital signal further comprising allocation information and samples of a plurality of quantized subsignals, the allocation information indicating for said plurality of quantized subsignals the number of bits representing the samples of said quantized subsignals, the allocation information being included in said second frame portion and said samples being included in said third frame portion of a frame, the decoder further comprising second retrieval means (15,18b) for retrieving the allocation information from said second frame portion, third retrieval means (11,18) for retrieving said samples from said third frame portion. Decoder as claimed in claim 8, characterized in that the encoded digital signal further comprises scale factor information relating to scale factors, a scale factor being associated with at least one of the quantized subsignals contained in the third frame portion, the third frame portion further including said scale factor information, the decoder further comprising third retrieval means (11,18) for retrieving the scale factor information from said third frame portion and storage means (12) for storing said scale factor information. Decoder as claimed in claim 8, characterized in that the second retrieval means (15,18b) are adapted to retrieve each time 4-bit words as the allocation information from said second frame portion, each four bit word representing the number of bits with which the samples of a quantized subsignal is represented. Decoder as claimed in claim 9, characterized in that the third retrieval means (11,18) are adapted to retrieve each time 6-bit words from the scale factor information, each 6-bit word representing a scale factor for a quantized subsignal. Decoder as claimed in anyone of the claims 8 to 11, characterized in that it comprises synthesis filter means (21) for reconstructing a replica of the wide-band digital signal in response to the quantized subsignals received, the synthesis filter circuit (21) combining the subsignals, applying multiplication (17) to form the signal band of the wide band signal. Decoder as claimed in anyone of the claims 10 or 11, characterized in that upon detection of a 4-bit word '0000' for a specific subsignal by the second retrieval means, the third retrieval means are inhibited to retrieve samples from the third frame portion for said specific subsignal. Decoder as claimed in anyone of the claims 10 or 11, characterized in that upon detection of a 4-bit word '0000' for a specific subsignal by the second retrieval means, the third retrieval means are inhibited to retrieve a scale factor from the third frame portion for said specific subsignal. Decoder as claimed in anyone of the preceding claims, characterized in that F s = 48 kHz. Decoder as claimed in anyone of the claims 1 to 14, characterized in that N = 32. Decoder as claimed in anyone of the claims 1 to 14, characterized in that n s = 384. Decoder as claimed in anyone of the claims 1 to 14, characterized in that BR = 384. A receiver for receiving a transmission signal and for converting the transmission signal into a wideband digital signal, the receiver comprising a decoder as claimed in anyone of the preceding claims. A receiver as claimed in claim 19, characterized in that it further comprises converter means for converting the transmission signal into the encoded digital signal, the converter means having an output coupled to the input of the decoder. A receiver as claimed in claim 20, characterized in that the receiver takes the form of an arrangement for reproducing the transmission signal from a record carrier (25), the receiver comprising a reproducing unit (28), the reproducing unit having an output which is coupled to an input of the converter means. Receiver as claimed in claim 19, 20 or 21, characterised in that it is adapted to process the transmission signal into a perceptible audio signal. A decoding method for decoding an encoded digital signal that has been obtained by encoding a wideband digital signal of a specific sampling frequency F s , for example a digital audio signal, the encoded digital signal comprising consecutive frames, each frame comprising a plurality of information packets (IP), each information packet comprising N bits, N being larger than 1, a frame comprising at least a first frame portion including synchronization information, the decoding method comprising the steps of receiving the encoded digital signal, converting the encoded digital signal into a replica of the wideband digital signal, and supplying the replica of the wideband digital signal, characterized in that the number B of information packets in one frame has a relation to a value P, such that, if P in the formula P = BR x n s /(N x F s ) is an integer, where BR is the bitrate of the encoded digital signal and n s is the number of samples of the wideband digital signal whose corresponding information in the encoded digital signal, is included in one frame of the encoded digital signal, the number B of information packets in one frame is P, or that, if P is not an integer, the number B of information packets in a number of frames is P', where P' is the next lower integer following P, and the number of information packets in the other frames is equal to P'+1 so as to exactly comply with the requirement that the average framerate of the encoded digital signal is substantially equal to F s /n s , the decoding step being capable of decoding the said encoded digital signal into said replica of the wideband digital signal.

Inventors: LOKHOFF GERARDUS CORNELIS PETR, LOKHOFF, GERARDUS CORNELIS PETRUS
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1990
Main classification: H04B1
IPC codes: H04H40, G11B20, H04B1, G11B27, G01L7, H04N7, H04H20, H04L7, G10L19, H04B14, H04H60, H03M5, H04J3