PROCESS FOR THE MULTI-RATE ENCODING OF SIGNALS, AND DEVICE FOR CARRYING OUT SAID PROCESS

Abstract: A process for multirate subband encoding voice signals. At least a portion of the original signal bandwidth is plit into p sub-bands the contents of which is to be coded using dynamic allocation of quantizing levels throughout the sub-bands. Let's assume the signal is to be coded for a set of coding rates R(1) <R(2)<..<R(k)...<E(K). First the number of quantizing levels 1(i;R(1)) for the lowest rate is determined. Then the levsl for 1(i;R(k)), k=2,...,p are determined using: Then the sub-band samples S(i,j) are quantized according to 1(i; R(K). And, finally the obtained quantized sub-band samples are embedded into a multirate frame.

Description: This invention deals with voice encoding techniques and more particularly with such techniques enabling multirate encoding of voice signals. Sub-band coding (SBC) associated with dynamic allocation of bits resources (DAB) has been shown to be an efficient approach for digitally encoding speech signals. Such coding methods have been extensively described in the litterature and patents. One may mention US patent 4,142,071; the article "16 Kbps Real Time QMF Sub Band Coder Implementation", in IEEE ICASSP, Denver, April 1980, by C. Galand and D. Esteban; and the article "32 kBps CCITT compatible Split Band Coding" presented by D. Esteban and C. Galand at the 1978 IEEE International Conference held in Tulsa, Oklahoma. These references should be considered herein incorporated by reference. According to these coding methods, at least a portion of the original speech bandwidth is split into several sub bands the contents of which are quantized with a dynamic sharing of the quantizing resources throughout the sub bands based on their respective energy contents. In addition, applying Block Companded Pulse Code Modulation (BCPCM) to the above methods enables dynamically allocating the quantizing resources over fixed length consecutive speech segments (e.g. 16 ms long). In other words, the sub band quantizing resources distribution needs only being repeated at the segment rate, i.e. every 16 ms. By quantizing resources one usually means quantizing bits as disclosed in the above cited references. For more detailed information on BCPCM one may refer to an article by A. Croisier relating to a lecture given at the International Seminar on digital Communication, in Zurich, Switzerland, and entitled, "Progress in PCM and Delta Modulation; Block Companded Coding of Speech Signal". In summary, for each block of N samples representing a 16 ms long segment of voice signal, a scale factor C is chosen such that the largest sample of the block does not fall outside the coding limits. then the N samples of the block are requantized, based on this factor. In Split band coders this requantizing is performed separately in each sub band, with the quantizing resources being dynamically allocated throughout the sub bands based on their energy contents. BCPCM suits particularly well for coding methods requiring information relative to energy of the signal to be processed since energy could be conveniently approximated using a readily available BCPCM parameter, i.e. the so-called scale factor or characteristic "C". In addition, application of sub-band coders to Time Assignment Speech Interpolation systems (TASI) has been proposed in the European patent application 85 820 "Multirate digital transmission method and device for implementing said method" with a new TASI approach for embedded bit stream. For that purpose The output of the SBC speech compressor is arranged in an embedded bit stream, i.e. which accepts bit deletion and insertion for dynamic ratio conversion. This property is of high importance in a digital communication network, since it allows the bit stream to be flagged at any overloaded node without tandeming or freeze-out. On the other hand, sub-band coding with dynamic allocation of levels (DAL) has been shown to achieve a significant improvement over SBC with dynamic allocation of bits (DAB), specially for low bit rates. Such a technique has been disclosed in the European Application 86109498.5 dated july 11, 1986, publication number EP-A-0 217 017, herein incorporated by reference. OBJECT OF THE INVENTION The present invention deals with sub band coding with dynamic allocation of levels and a multirate operation. Another object of this invention is to provide a multirate voice encoding method with an optimal dynamic allocation of quantizing level resources. Still another object of the invention is to provide a method for performing the concentration of several telephone lines on a wide band digital link in a multirate environment and dynamic allocation of quantizing levels. These and other objects, advantages and features of the present invention will become more readily apparent from the following specification when taken in conjunction with the drawings. Although the preferred embodiment will be described with reference to a split band voice coder as described in French Patent 7713 995 "Quantizing process with dynamic allocation of the available bit ressources, and device for implementing said process" the invention applies as well to any coder wherein signal bandwidth splitting is operated over a portion of said bandwidth (e.g. to the signal base band) like in the so called voice excited predictive coders (VEPC) as well as to any coder meant for processing other than voice signals. It also applies to multirate encoding method intended for application not related to transmission, like for instance for storing or otherwise processing. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows the principle of application of the invention to L speech ports. Figure 2 is a block diagram of a coder/decoder using the invention. Figure 3 illustrates the multirate frame operation. Figures 4 through 6 are flow charts for the invention. Figure 7 illustrates the frame for the splitting of a sub-band sample S K (i,j) quantized at rate L(i,R,(K)) in incremental values TK(i,j). Figure 8 is an algorithm of a rate reduction device. Figure 9 is a flow chart for the packing of sub-band samples at rate R(1). Figure 10 is a flow chart for the unpacking of sub-band samples at rate R(1). Figure 11 is an algorithm for the upgrading of samples S1(i,j) to the higher rates. Figure 12 is an illustrative example. Figure 13 is an illustration of the frame operation applied to a multiport system. DESCRIPTION OF A PREFERRED EMBODIMENT. Fig.1 shows the principle of operation for the coding of L speech ports and the multiplexing of the coded speech signals on a wide-band digital link. Assuming each of the L input voice ports is split into p sub-bands (Fig.1), the sub-band signals will be denoted: S (i,j;k′) where i = sub-band index i=1,...,p j = sample index j=1,...,N k′ = port index k′=1,...,L Each port input k′ (k′=1,...,L) is processed by a sub-band coder, the output of which is a multirate bit stream b(k′;n), where n is the time index, with embedded sub-streams. The L bit streams are then processed by a port activity controller in which the bit rate allocated to each port is adaptively computed according to the relative activities of the ports. Then, the bit stream representing each port is flagged (adjusted) according to the computed bit rate, and the residual bit streams are multiplexed and transmitted on the wide band link. The activity controller and multiplexer functions of Fig.1 are functions well depicted by the state of the art including the above cited references and articles. We will thus focus here more particularly on the coder itself. More precisely, we will describe a device to process speech signals allowing: to derive for each port the best sub-band levels allocations corresponding to a prescribed set of bit rates, to sub-band encode the speech signal according to the determined levels, and to multiplex the coded samples in an embedded multirate bit stream or frame. The multirate bit stream b(k′;n) provided by each port will then be inserted into a larger mulitplexed bit stream to be eventually fed onto a wide band lin k. For that purpose, the port Activity Controller and Multiplexer will reshape each b(k′;n) stream according to the relative energy contained therein and the selected set of rates, before multiplexing it on the wide band link. Figure 2 represents the block diagram of a sub-band coder/decoder, operating in a multirate mode with dynamic allocation of levels. The input to the coder is a speech signal S(n) sampled at 8 kHz, for instance, and the output of the coder is a multirate bit stream b(n) which is forwarded to the decoder. The output of the decoder is a replica S(n) of the original speech signal. The multirate sub-band coder operates at the rates R(1),R(2),...,R(k),...,R(K); with R(1)<R(2)<...<R(K). So, the transmitted bit stream is arranged into frames corresponding to the highest bit rate R(K) with sub-frames corresponding to the various other rates (Fig.3). This arrangement is made in the multiplexer (device 5 in figure 2), according to the level allocations computed in the device 3 of Fig. 2. A similar problem has already been considered and solved in connection with dynamic allocation of quantizing bits rather than levels. It may be noted from the above cited references that multirate allocation of the bit resources is based on first optimally allocating the bits for the highest rate and then subsequently bit by bit reducing this allocation to get the lower bit rates allocations. Applying this strategy to the multirate allocation of levels with optimum and integer level allocations at all rates can be achieved if all rates levels are even (only the lowest level can be odd) and if the highest bit rate levels are limited to being a multiple of: This obviously may be a serious drawback for applying the referenced multirate technique in conjunction with DAL approaches. Based on this observation and on the fact that the DAL allocation is much more efficient for low rates than the DAB allocation is, then a new and different approach has to be provided for multirate with DAL, to avoid the above mentioned drawbacks. One object of the present invention is precisely to adaptively determine for each of the considered bit rates R(1),...,R(K), the distribution of the quantizing levels in the sub-bands, allowing for minimum distortion in the reconstructed speech signal S(n), and subject to the constraint of having an embedded bit stream. The last point means that, given a frame corresponding to the rate R(K) (Fig.3a), said frame including K sections SR(1), SR(2),..., SR(K), dropping the part labeled 'SR(K)' in Fig.3a will result in a shorter frame (Fig.3b) corresponding to the compression of the speech to the rate R(K-1), and which represents the best coding achievable at this rate. Similarly, dropping the parts labeled 'SR(K)' and 'SR(K-1)' in Fig.3a will result in a shorter frame (Fig.3c) corresponding to the compression of the speech to the rate R(K-2), and which represents the best coding achievable at this rate, and so on for all the prescribed rates down to the lowest rate R(1) One interest of the invention is based on the fact that, at low bit rates, the dynamic allocation of levels is much more efficient than the dynamic allocation of bits, while at high bit rates both methods are equivalent. The algorithm used in device (3) in figure 2 for the multirate allocation of level resources at bit rates R(1),...,R(K), may be summarized as follows: First compute the number of quantizing levels l(i;R(1)) for the lowest rate R(1), using a DAL algorithm based on the sub band energy contents. For instance, as mentioned in the above references, it may be considered at first order that the energy of the ith sub band E(i) is proportional to the C(i) to the power two, then one may use: Then compute the l(i;R(k)) , for k=2,...,K and i=1,...,p using relation (2): Then quantize the sub-band samples S(i,j) according to the l(i;R(K)) , and Finally multiplex the obtained sub band samples according to Fig.3, where portion SR(k) contains the added bits for obtaining samples quantized at rate R(k), for k=1,...,K. The multirate frame should also include rate representative parameters. Let's now focus on a more detailed operation of the sub-band coder by referring back to figure 2. The input signal S(n) is split into p sub-bands by use of a bank of quadrature mirror filters (QMF's) (device 1, Fig.2), the principles of which were described in details by D. Esteban and C. Galand in "Application of Quadrature Mirror Filters to Split Band Coding" presented at the IEEE ICASSP, Hartford, May 1977.Then, each sub-band signal is quantized by means of a Block Companded PCM quantizer (BCPCM) (device 4). The quantizer parameters are updated per block of samples, so as to take into account the short-term variations of the voice formant's frequencies and energies. Let S(i,j) denote the jth sample of the ith sub-band, and let's assume that the block duration corresponds to N sub-band samples. Practical values are p=8 and N=16. In the following we may refer to so called macro samples with the kth macro sample being considered to represent the set of samples S(i,t), (i=1,...,p) occurring at the same time t. For each sub-band signal S(i,j), (i=1,...,p and j=1, ..., n), one determines on a characteristic determinator (device 2) the so-called sub-band characteristic: The sub-band characteristics C(i), for (i=1,...,p) are then recoded in device (2) with a reduced number of bits. Such an encoding has been described in the above cited references, e.g. in the Denver IEEE ICASSP reference, and can be easily achieved with 4 bits. The 4-bit encoded characteristics C(i) are multiplexed in the Multiplexor device (5) for being included into b(n) and eventually transmitted. It should be noted that successive coding and decoding operations, like those operated on a same C(i), lead in practice to slightly altering the C(i) value and the C(i) output of device (2) should mention that difference. We however did not use different notations for the considered terms for sake of clarity in the notations. In the multirate sub-band coder, the operation at full rate comprises a common overhead (OV), including the eight 4-bit encoded characteristics C(i),(i=1,p). These bits are inserted into the 1st section SR(1) of the b(n) multirate frame as represented in figure 3, and corresponding to a theoretical bit rate R(0). The same observation also applies to a VEPC type of coder wherein R(0) would be made to include the encoded PARCOR coefficients and other high frequency energy representative data. As a result, the bit rate r(k) actually available for the quantization of the sub-band samples at rate R(k) is given by: (4) r(k) = R(k) - R(0) for k=1,...,K As mentioned above, the levels allocation is computed at the lowest considered bit rate, involving r(1) = R(1) - R(0) . The decoded characteristics C(i) provided by device (2) are locally used in device (3) to derive the allocation of the available levels resources at the lowest rate R(1). One can show that the overall signal to quantizing noise is minimized when the number of levels 1(i) (i=1),...,p) in each sub-band is determined according to: The l(i;R(1)) derived from equation (5) are generally not integer values and in addition they may be out of the allowable range of the quantizer. They need thus being adjusted or otherwise truncated or rounded-off to integer values L(i;R(1)). The rounding-off is achieved in such a way that the final L(i) values match the following constraint: With PROD meaning "product of the considered terms". So as to obtain a set of integer L(i)'s that matches the optimal allocation distribution and checks the product constraint (6), we use the following procedure which is specially attractive because the corresponding complexity is very low. It consists in computing the integer desired final values recursively one after one by taking the previously attributed values into account with a global weighting ratio. The method comprises two steps, described below, and represented on attached flowcharts of figures 4-6. Figure 4 shows the basic principles of the algorithm made for determining the integer optimal value to be assigned to L(i;(R(1)), involving: STEP 1: The aim of the first step of the method is to determine the optimal decimal level allocation l(i;R(1)) according to (5) , discarding the sub-band getting an allocation out of range, and computing an allocation ratio noted a, thus: first computing the optimal decimal values for l(i;R(1)); then setting to a predetermined value N1 any l(i) smaller or equal to N1, and setting to predetermined value N2 any 1(i) greater than N2. Those set l(i)'s are then "discarded" from the remaining operations. Typical values for N1 may be equal to 1 or 2; STEP 2: The second step is a recursive procedure which computes directly the final integer allocation L(i;R(1)) (i=1,...,NR), sub-band by sub-band for the NR not yet allocated sub-bands, thus: Scanning the sub-bands to locate the highest ith referenced sub-band carrying the lowest energy. The sub bands are generally ordered in an increasing frequency (i) related order; Allocating an integer value L(i) to the located sub band; Setting either to N1 or N2 the allocated L(i) based on said L(i) being either smaller to N1 or strictly greater than N2; Testing for locating the remaining sub bands, and repeating the process of step 2 for remaining sub bands. The detailed flow chart for the preferred embodiment of the above process for setting the L(i;R(1)) is represented in figures 5 and 6. Represented in figure 5 is a flow chart made to implement a primary level allocation for performing the above cited step 1. STEP 1. (Primary allocation) One can summarize this step as follows: 1(i;R(1)) computed based on (7) If 1(i;R(1)) N1, L(i;R(1)) = N1 and a = a.l(i;R(1))/N1 ( N1=1 (odd allocation) or 2 (even allocation) ) If l(i;R(1)) > N2, L(i;R(1)) = N2 and a = a.l(i;R(1))/N2 These tests are executed for i = 1,...,p , and with the parameter "a" being initialized to 1. "a" is updated for each of these final allocations (L(i;R(1)) in order to take into account this attribution for the other sub-bands in step 2. Remark : The computations of 1(i;R(1)) (5), is made so as reduce the number of operations: Represented in figure 6 is the algorithm for processing the not yet allocated sub-bands. STEP 2. (Algorithm for not yet allocated sub-bands): The highest priority sub-band allocation is assigned to the energy consideration : 1) Least energy decreasing (C(i) min). 2) Upper i (frequency max). The first priority ensures the algorithm convergence with matching to the constraint (6) We compute for each of the NR sub-bands not yet allocated its integer final allocation by : Starting with the constant g = a, 1) L(i;R(1)) = Int(g.l(i;R(1))) for a general case (or L(i;R(1)) = 2Int((g.l(i;R(1))+1)/2) -1 for an odd allocation) then 2) g = g.l(i;R(1))/L(i;R(1)) where Int (x) denotes the truncated integer value of (x). As the parameter "a", the parameter "g" takes into account the new fixed final allocation L(i;R(1)) at each time i, in addition to the preceeding ones for the further allocation computa n of the sub-band not yet allocated. Remark : The odd levels allocation that can be obtained with this algorithm, allows better results than with the even one (e.g. bit allocation) due to the statistics of the speech in sub-bands (midtread quantizer). Once the level allocation L(i;R(1)) (i=1,...,p) has been computed for the lowest bit rate R(1) using the above algorithm, the system computes the L(i;R(k)) for k=2,...,K and i=1,...,p using relation (8), derived from (2): Equation (8) being applied to rates k=2 .....,K, then one may write If the considered bit rates, expressed in number of bits per macro sample (MS), differ from each other by a multiple of the number p of sub-bands, then relation (9) just consists in adding an integer number of bits to L(i;R(k-1)) to obtain L(i;R(k). If the considered bit rates R(k), (k=1,....,K), expressed in number of bits per macrosample (MS), do not differ from each other by a multiple of the number p of sub bands, i.e. if (R(k)-R(k-1))/p is not an integer value for all k, (k=2,....,K), then the computation of the L(i;R(k)) for k=2,....,K and i=1,...,p must be performed differently. In this case, since R(k)-R(k-1)) is an integer, it is always possible to find integer numbers m(k) , such that is an integer for k=2,...,K Then the values m(k), (k=2,...,K) are used to increment the bit rates according to: for i=m(K-1)+1,...,m(K-1)+m(K) (mod p) where (mod p) denotes the evaluation modulo p. For example, if p=8 and m(2)=5, and m(3)=6 the first relation would be evaluated for i=1,...,5, and the second relation would be evaluated for i=6,...,11 (mod 8), i.e. for i=6 to 8 and for i=1 to 3. In this way, each sub-band receives additional bits one after the other, when the rate/level is upgraded from L(i;R(1)) to L(i;R(K)). Since one just requires the knowledge of the R(k) to derive the m(k), the same algorithm can be used for the decoding at the receiver, without transmitting any additional information. In practice however, it is easier to define the bit rates R(k) in such a way that, when expressed in number of bits per macro-sample, they differ by a multiple of the number p of sub-bands. In the following, we will consider that the rates R(k) differ from each other by a multiple of p. Once the optimal integer values for the number of levels L(i;R(k)),(k=1,...,K) to be assigned to the sub-bands i=1,2,...,p have been determined, the sub-band signals S(i,j) are quantized as follows. Given a block of samples S(i,j),for (i=1,...,p), (j=1,...,N), and the rates/levels L(i;R(k)),(k=1,...,K), the first objective is to determine the quantized versions of these samples: S1(i,j) at rate/level L(i;R(1)), S2(i,j) at rate/level L(i;R(2)), ..., SK(i,j) at rate/level L(i;R(K)). The second objective is to determine the incremental values T2(i,j), T3(i,j),..,TK(i,j) to be combined with S1(i,j) to get back S2(i,j), S3(i,j),...,SK(i,j) respectively. These incremental values will be furthermore multiplexed in the various parts of the transmitted frame to construct the multi-rate structure (Fig.3). Fig.7 represents the splitting of a quantized sample SK(i,j) into the different incremental values. The block diagram of the technique used for the determination of these values is shown in Fig.8. The sub-band samples S(i,j) are first quantized at the highest rate L(i;R(K)). The output SK(i,j) of the quantizer are obtained as follows. Assuming L(i;R(K)) is not equal to 1, the quantizer step size QK(i) is evaluated for each sub-band i,(i=1,...,p), by: (13) QK(i) = 2.C(i)/L(i;R(K)) Then the sub-band samples S(i,j) are quantized by : These samples are then processed by a rate reduction device shown in Fig.8, which sequentially derives the samples Relations (15) and (18) show that the incremental values Tk(i,j),(k=K,...,2) are coded with an integer number of bits: (R(k)-R(k-1)/p. These bits are packed in the corresponding portion of the mutirate frame. More precisely, the Tk(i,j) are grouped for all sub-bands (i=1,...,p) and for all sampling intervals (j=1,...,N) in portion SR(k) of the frame (see Fig.3). The value S1(i,j) represents the quantization of the sample S(i,j) at rate R(1), and by definition may be coded with a non integer number of bits (L(i;R(1))) not a power of 2). Portion SR(1) of the frame shown on Fig.3 includes the values S1(i,j) for all the sub-bands (i=1,..,p) and for all the sampling intervals (j=1,...,N) of the considered block. This packing is achieved (in multiplexer 5 of fig.2) by grouping the sub-band samples S(i,j) (i=1,...,p) pertaining to a same macro-sample (i.e. group of samples obtained at the same sampling time over the p sub-bands), in a device implementing the algorithm shown in Fig.9. According to: This device allows to pack the macro-sample S(i,j) (i=1,..,p) in a r(1)-bit word MS(j). The packing of all the macro samples of the block will result in N words MS(j)(j=1,...,N) which are multiplexed in portion SR(1) of the multirate frame (Fig.3). At the receiving end, the multirate frame is received, possibly truncated. Let's now consider that the multirate frame has been truncated at the rate R(m),(1<m<=K) during the transmission, i.e. either at the transmitter location or anywhere between coder and decoder. The problem is not to obtain the decoded values Sm(i,j) of the samples S(i,j), given the coded values S1(i,j) at rate R(1) and the incremental values Tk(i,j),(k=2,...,m) which still exist in the received portion of the frame. This operation is achieved as follows. First, the 4-bit coded characteristics C(i),(i=1,...,p) are demultiplexed (in 6, fig.2) from the received frame and decoded (in 7). The decodes values C(i) are used to derive the level allocation L(i;R(k)),(i=1,...,p), (k=1,...,m) in the same way it was performed at the transmitter location (relations (7) and (9)). Then, portion SR(1) of the frame is processed to derive the N r(1) bit words MS(j),(j=1,...,N). Each of these words MS(j) is processed by a device implementing the algorithm represented in Fig.10 to derive the p sub-band samples S1(i,j),(i=1,...,p) each of them being coded at the rate L(i;R(1)). Portions SR(2),...,SR(m) of the frame are processed to derive the incremental values Tk(i,j),(k=2,...,m). Since by definition these incremental values Tk(i,j) are coded with an integer number of bits, this derivation is easily implemented by shifting operations, given the L(i;R(k)),(k=2,...,m). For example, if L(i;R(k))=8 and L(i;R(k-1))=2 , then Tk(i,j) will be extracted from the frame by a 2-bit shift. Then, the inverse quantization of the sub-band samples can take place. The problem is not to obtain the decoded values Sm(i,j) of the samples S(i,j) at rate R(m), given the coded values S1(i,j) at rate R(1) and the incremental values Tk(i,j),(k=2,...,m). The upgrading of the samples S1(i,j) to the higher rates R(2),...,R(m), is implemented sequentially, in a device operating according to the algorithm shown in Fig.11, as follows: This relation is evaluated for k=2,....,m, where m denotes the truncation order (if any) of the frame during its transmission. Once the Sm(i,j) coded at rate L(i;R(m)) have been reconstructed, the inverse quantization is performed as follows. First the sub-band quantizer step sizes Qm(i) (i=1,...,p) corresponding to the rates L(i;R(m)) are computed according to the following relation: The reconstructed sub-band samples S(i,j) (i=1,..,p) and (j=1,...,N) are determined by : S(i,j)=Q m (i)(S m (i,j)+.5) if L(i;R(m)) even and not equal to 1 (22) S(i,j)=Q m (i)xS m (i,j)) if L(i;R(m)) odd and not equal to 1 S(i,j)=0 if L(i,R(m)) = 1 So as to illustrate the above described techniques, let's consider for example the quantization, the rate reduction and upgrading, and the inverse quantization of a sub-band sample S(i,j) pertaining to a sub-band block with a characteristic C(i), to be quantized at the rates L(i;R(k))(k=1,...,3), with the following numerical application: S(i,j) = 777 C(i) = 1200 (decoded value) L(i;R(1)) = 3 L(i;R(2)) = 12 L(i;R(3)) = 24 Relations (13) to (18) give: Q₃(i) = 2400/24 = 100 S₃(i,j) = Int (777/100) = 7 Fig.12 represents the decision levels (DL), transmitted levels (TL), reconstructed levels (RL) for this particular example. These levels can be interpreted as follows: any sample between two decision levels will be coded on the transmitted level comprised between these decision levels, and reconstructed by the corresponding reconstruction level. Note on the example that in the case of even order quantizers, the transmitted levels are identical to the decisions levels, while they are identical to the reconstructed levels in the case of odd order quantizers. Relations (19) and (20) for the reconstruction of the quantized samples at each rate can be checked with the previous values, and give: The decoded samples are then computed according to relations (21) and (22) at any of the three considered rates: Going back to figure 1, once each port coder has recoded the signal it has been provided with and has arranged it into a multirate frame, the Activity Controller and Multiplexer prepares a super-frame to be fed onto the wide bank link. Each port coder multirate bit stream, is designated here by b(1;n), b(2;n), b(3;n) ,....., b(L;n). It should be adjusted to a rate adequately selected among the rates R(1), R(2),..., or R(K) based on the relative energy provided to the considered port. This task is devoted to the Activity Controller and could be accomplished using several ways. For instance, one may take advantage of the availability of the C(i)'s as parameters representative of the sub band energy contents and optimize the rates distribution throughout the ports to fit optimally to the wide band link rate Nc. Figure 13 represents the un-truncated full rate frames b(k′;n) with the frame sections. Before being multiplexed over the wide band link at rate Nc, the individual port frames may have to be truncated to a k′ port rate N(k′) selected among the rates R(1), R(2), ...., R(K). For each port k′, an energy related information W′(k′) is derived by computing For k′ = 1,2,......,L. The port bit rate N(k′) is then derived from With W″(k′) = W′(k′) /<W′(k′)> wherein <W′(k′)> is a mean value representative of the W′(k′) value over a relatively long period of the order of the syllabic time length (0.5 to 2 seconds for instance). Besides, a threshold which should not be exceeded is assigned to W′(k′).In practice, the expression (1 ) would provide a rate within the set of rates R(1), R(2),... , R(K). The Activity Controller is thus made to truncate the N(k′) to the nearest R(k) value.

Claims: A process for digitally block encoding, using BCPCM techniques providing sub-band characteristic terms C(i), a signal at a predetermined set of rates R(1) < R(2) <....< R(K) and for embedding the encoded signal into a multirate frame, including K sections numbered 1, 2, ... K, said encoding involving splitting the signal bandwidth into p sub-bands to derive therefrom sub band signal samples S(i,j) where i=1, ..., p is the sub band index and j=1, ..., N the sample index within a block of N samples ; requantizing the S(i,j)'s through a block quantizer the quantizing levels of which are optimally and dynamically adjusted to C(i)'s, said quantizing levels l(i) being related to the number of quantizing bits b(i) assignable to the i th sub-band through the expression : l(i) = 2 b(i) ; and multiplexing the requantized sub-band samples into said multirate frame, said process comprising the steps of : computing the number of levels 1(i, R(1)) for the lowest rate R(1) from rounding-off l(i;R(1)) to integer value L(i;(R1)) with deriving the number of levels l(i ; R(k)) for the subsequent rates using : quantizing the sub-band samples S(i,j) and multiplexing the coded sub-band samples S(i,j) into a multirate frame including K sections, wherein SR(k) for k=1, ..., K contains the sample bits to be added to samples quantized at rate R(k-1) for obtaining samples quantized at R(k), said quantizing and multiplexing operations including : setting a quantizer step size QK(i) for the ith sub-band to : QK(i) = 2.C(i)/L(i;R(K)) i=1..., p quantizing each sample to a new S K (i,j) value with : S K (i,j) = Int(S(i,j)/QK(i)) for i=1,..., p and j=1,..., N where Int(A) denotes the integer part of A ; rate reducing the quantized SK(i,j) samples to sequentially derive therefrom data S k-1 (i,j) for k=K-1,...,1 and T k for k=K,...,2 using S k-1 (i,j) = Int(S k (i,j)/DELT(i;k)) if L(i;R(k-1)) is even or S k-1 (i,j) = Int(.5+S k (i,j)/DELT(i;k)) if L(i;R(k-1)) is odd and T k (i,j) = S k (i,j) - S k-1) (i,j) . DELT(i,k) to derive therefrom data S1(i,j) and T₂(i,j),...,TK(i,j) packing the derived data into a macro-sample frame made to include the S1(i,j) for the p sub-bands into a first section SR1, and the T2(i,j),..., TK(i,j) into subsequent sections. A process according to claim 1 wherein the bit rate r(k) available for a quantizing of sub-band samples for rate R(k) is r(k)=R(k)-R(0), with R(0) being the bit rate to be assigned for overhead encoding purposes and inserted into section SR(1) of said multirate frame. A process for encoding a voice signal comprising the steps of : using predictive coding techniques to provide a low frequency bandwidth signal and parameters representative of the high frequency bandwidth energy contents ; processing said low frequency bandwidth signal according to the process of claim 2 ; inserting said parameters into said overhead section of said multirate frame. A process according to claim 3 further characterized in that said L(i;R(1)) computing is performed optimally using the following operations : a computing the optimal decimal values for 1(i;R(1)) ; b setting to a predetermined value N1 any 1(i;R(1)) smaller or equal to N1, and setting to a predetermined value N2 any 1(i;R(1)) greater than N2 ; and discarding the 1(i;R(1)) set sub-bands, from the following operations ; c scanning the sub-bands to locate the highest i th sub-band carrying the lowest energy ; d allocating an integer value L(i,R(1)) to the located sub-band ; e setting either to N1 or to N2 the allocated L(i,R(1)) based on said L(i,R(1)) either being smaller to N1 or being strictly greater than N2 ; f testing for locating the remaining non L(i,R(1)) set sub-bands and repeating the operations starting from step "c" for said non set sub-bands. A process according to claim 4 wherein said integer values L(i;R(k)) are derived from L(i.R(1)), for k=2,...,K, using : A process according to claim 5 for processing bit rates differing from each other by a multiple of the number p of subbands and wherein L(i;R(k)) is derived by simply adding a integer number of bits to L(i;R(k-1). A process according to claim 6 wherein L(i;R(k)) is derived from L(i;R(k-1)) using : A process according to claim 7,wherein the macro sample SR1 section packing includes : packing the S1(i,j) for i=1,...p into r(1) - bit words MS(j), according to : multiplexing the N words MS(j) into same section SR1. A subband coding system for digitally BCPCM encoding a speech signal S(n) at a predetermined rate R(k) selected among a set of rates R(1) < R(2) <...< R(K), said system including : a QMF filter bank (1) splitting at least a portion of the speech bandwidth into p subbands and providing S(i,j) signal samples, where i = 1,2,..., p is the subband index and j = 1,2,..., n is the sample index wihtin a BCPCM block; means (2) for determining for each subband signal a subband characteristic C(i); level means (3) connected to said determining means for deriving a number of quantizing levels 1(i) which are related to quantizing bits b(i) through the expression l (i) = 2 b (i) and for computing the number of levels 1(i, R(1)) for the lowest rate R(1) from rounding-off 1(i;R(1)) to integer value L(i;(R1)) with and deriving the number of levels l(i ; R(k)) for the subsequent rates using : quantizing means (4), connected to said level means and to said bank of filters with a quantizer step size QK(i) for the ith subband set to QK(i) = 2.C(i)/L(i;R(K)) i=1..., p for quantizing each sample to a new S K (i,j) value with : S K (i,j) = Int(S(i,j)/QK(i)) for i=1,..., p and j=1,..., N where Int(A) denotes the integer part of A ; and for rate reducing the quantized S K (i,j) samples to sequentially derive therefrom data S k-1 (i,j) for k=k-1,...,1 and T k for k=K,...,2 using S k-1 (i,j) = Int(S k (i,j)/DELT(i;k)) if L(i;R(k-1)) is even or S k-1 (i,j) = Int(.5+S k (i,j)/DELT(i;k)) if L(i;R(k-1)) is odd and T k (i,j) = S k (i,j) - S k-1) (i,j) . DELT(i,k) to derive therefrom data S1(i,j) and T₂(i,j), ... T T (i,j) multiplexing means (5) for packing the derived data into a macro-sample frame made to include the S1 (i, j) for the p subbands into a first section SR1, and the T2 (i,j) ..., TK (i, j) into subsequent sections. A multiport speech encoding system for concentrating "L" encoded speech onto a wide bank link, said multiport systems including : for each port (port 1 through L) a sub-band coder (SBC, Quantizer and MPX) according to claim 9 for coding the input speech signal S(n) ; a port activity controller connected to the individual port coders for measuring the relative ports activity and for adjusting each port multirate frame length by truncating the frame by dropping, as required, sections of each individual port multirate frame ; and, multiplexing means for multiplexing the adjusted port frames over said wide band link.

Inventors: GALAND, CLAUDE, ROSSO, MICHELE, Rosso, Michèle
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1986
Main classification: H04B1
IPC codes: H03M7, G10L19, H04B1, H04B14, H03M1