(19)
(11) EP 1 204 095 A1

(12) EUROPEAN PATENT APPLICATION
published in accordance with Art. 158(3) EPC

(43) Date of publication:
08.05.2002 Bulletin 2002/19

(21) Application number: 00929812.6

(22) Date of filing: 19.05.2000
(51) International Patent Classification (IPC)7G10L 19/12, H04B 14/04
// G10L101:12
(86) International application number:
PCT/JP0003/230
(87) International publication number:
WO 0077/775 (21.12.2000 Gazette 2000/51)
(84) Designated Contracting States:
AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE

(30) Priority: 11.06.1999 JP 16466599

(71) Applicant: NEC Corporation
Minato-ku, Tokyo 108-8001 (JP)

(72) Inventor:
  • NOMURA, Toshiyuki
    Tokyo 108-8001 (JP)

(74) Representative: VOSSIUS & PARTNER 
Siebertstrasse 4
81675 München
81675 München (DE)

   


(54) SOUND SWITCHING DEVICE


(57) This invention includes a sampling frequency conversion circuit (1) for converting the sampling frequency of an input signal, a delay adjustment circuit (2) for adjusting the phases of the signal whose sampling frequency is converted and the remaining input signal and outputting the resultant signals, and a switching circuit (3) for selecting one signal from a plurality of output signals from the delay adjustment circuit in accordance with a control signal. With this arrangement, strange sounds produced when a plurality of different speech signals are reconstructed and switched.




Description

Technical Field



[0001] The present invention relates to a speech encoding/decoding apparatus and, more particularly, to a speech switching apparatus for switching one of a plurality of speech signals.

Background Art



[0002] Conventionally, speech is transmitted on a transmission path on which the bit rate changes by using an encoding method of adjusting the quality of a reconstructed speech signal by adapting an encoding bit rate to the transmission path bit rate by increasing/decreasing the bandwidth of the speech signal in accordance with the transmission path bit rate. The present inventor has already proposed a speech encoding/decoding apparatus in Japanese Patent Laid-Open No. 9-202475, as a speech encoding apparatus for generating N + 1 signals by changing the sampling frequency of an input speech signal, in hierarchically encoding the speech signal, and simultaneously multiplexing N-level indexes representing linear predictive coefficients, pitches, multipath signals, and gains which are obtained by sequentially encoding the input speech signal and the signals obtained by changing the sampling frequency in increasing order of sampling frequency, and a speech decoding apparatus for hierarchically changing the sampling frequency of a reconstructed signal in accordance with the bit rate at which decoding is performed. In this apparatus, a first CELP (Code Excited Linear Prediction) encoding circuit for receiving the signal obtained by down-sampling an input signal using a down-sampling circuit outputs an encoded output to a second CELP encoding circuit, the second CELP encoding circuit encodes the input signal on the basis of the encoded output from the first CELP encoding circuit, a multiplexer outputs the encoded outputs from the first and second CELP encoding circuits in the form of a bit stream, a demultiplexer outputs the encoded output obtained by the first CELP encoding circuit from the bit stream to a first CELP decoding circuit when a control signal has a low bit rate, and extracts part of the output obtained by the first CELP encoding circuit and the output obtained by the second CELP encoding circuit from the bit stream, when the control signal has a high bit rate, to output them to a second CELP decoding circuit so as to output them through a switching circuit.

[0003] On the decoding side, the bandwidth of a reconstructed speech signal, i.e., the sampling frequency of a decoded speech signal, changes in accordance with the bit rate at the time of reception. When a user is to hear a sampled speech signal, a sampling frequency must be set for conversion processing from a digital signal to an analog signal. In this case, in order to switch and reconstruct speech signals having different sampling frequencies, sampling frequencies must be set/changed. During this sampling frequency setting/changing processing, interruptions tend to occur in reconstructed speech.

[0004] The operation of a conventional speech switching apparatus will be described with reference to Fig. 7. The speech switching apparatus receives two types of speech signals (first and second digital speech signals) sampled with two different sampling frequencies (e.g., 8 kHz and 16 kHz), together with a control signal, and switching and reconstructing the first and second speech signals in accordance with the control signal.

[0005] In this case, the control signal is a signal for giving an instruction to reconstruct a specific one of the two types of speech signals.

[0006] A switching circuit 103 receives first and second speech signals and control signal, and switches and outputs the two types of speech signals to a D/A conversion circuit 112 at the switching timing designated by the control signal.

[0007] The D/A conversion circuit 112 sets the sampling frequency of the speech signal designated by the control signal, converts the input digital signal into an analog signal, and outputs it.

[0008] In the above conventional speech switching apparatus, in switching and reconstructing speech signals having different sampling frequencies, the sampling frequency in the D/A conversion circuit must be set/changed. During the setting/changing processing, interruptions occur in the reconstructed speech.

[0009] The present invention has therefore been made in consideration of the above problems, and has as its object to provide a speech switching apparatus which can reduce strange sounds produced when a plurality of different speech signals are reconstructed/switched.

Disclosure of Invention



[0010] In order to achieve the above object, according to the present invention, there is provided a speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising at least one sampling frequency conversion circuit for converting a sampling frequency of at least one of the plurality of input signals, a delay adjustment circuit for adjusting a phase of the input signal of the plurality of input signals, whose sampling frequency is converted by the sampling frequency conversion circuit and a phase of the remaining input signal, and outputting the signals, and a switching circuit for selecting one of a plurality of output signals from the delay adjustment circuit in accordance with the control signal.

[0011] In this case, the delay adjustment circuit may make an adjustment to match the phase of the signal whose sampling frequency is converted to the phase of the remaining input signal.

[0012] The switching circuit may switch outputs at a timing set in consideration of a delay time in the delay adjustment circuit with respect to a switching timing designated by the control signal.

[0013] According to the present invention, there is provided a speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising a plurality of sampling frequency conversion circuits for converting sampling frequencies of the plurality of input signals to a predetermined frequency, a delay adjustment circuit for adjusting phases between output signals from the plurality of sampling frequency conversion circuits and outputting the signals, and a switching circuit for selecting one signal from a plurality of output signals from the delay adjustment circuit in accordance with the control signal.

[0014] In this case, the delay adjustment circuit may make an adjustment to match the phase of the signal whose sampling frequency is converted to the phase of the remaining input signal.

[0015] In addition, the switching circuit may switch outputs at a timing set in consideration of a delay time in the delay adjustment circuit with respect to a switching timing designated by the control signal.

[0016] According to the present invention, there is provided a speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising at least one sampling frequency conversion circuit for converting a sampling frequency of at least one of the plurality of input signals, a delay adjustment circuit for adjusting a phase of the input signal of the plurality of input signals, whose sampling frequency is converted by the sampling frequency conversion circuit and a phase of the remaining input signal, and outputting the signals, an addition circuit for selecting and weighting two signals from a plurality of output signals from the delay adjustment circuit in accordance with the control signal, and a switching circuit for selecting one signal from a plurality of output signals from the delay adjustment circuit and an output signal from the addition circuit in accordance with the control signal.

[0017] In this case, the switching circuit may switch a signal before switching of output signals from the delay adjustment circuit to an output signal from the addition circuit at a timing set in consideration of a delay time in the delay adjustment circuit from a switching timing designated by the control signal, outputs the output signal from the addition circuit for a predetermined interval, and then output the signal after switching.

[0018] According to the present invention, there provided a speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising a plurality of sampling frequency conversion circuits for converting sampling frequencies of the plurality of input signals to a predetermined frequency, a delay adjustment circuit for adjusting phases between output signals from the plurality of sampling frequency conversion circuits and outputting the signals, an addition circuit for selecting and weighting two signals from a plurality of output signals from the delay adjustment circuit in accordance with the control signal, and a switching circuit for selecting one signal from a plurality of output signals from the delay adjustment circuit and an output signal from the addition circuit in accordance with the control signal.

[0019] In this case, the switching circuit may switch a signal before switching of output signals from the delay adjustment circuit to an output signal from the addition circuit at a timing set in consideration of a delay time in the delay adjustment circuit from a switching timing designated by the control signal, output the output signal from the addition circuit for a predetermined interval, and then output the signal after switching.

[0020] In addition, the above speech switching apparatus may further comprise a speech decoding circuit for decoding a plurality of signals sampled from one bit stream with different sampling frequencies, and outputting the signals as the plurality of input signals to the sampling frequency conversion circuit or the delay adjustment circuit; and one signal is selected from a plurality of output decoded signals from the speech decoding circuit in accordance with a bit rate at the time of reception and the control signal and output.

[0021] The above speech switching apparatus may further comprise a bit stream switching circuit for receiving bit streams obtained by multiplexing a plurality of bit streams in which a plurality of types of signals having different sampling frequencies, and switching/outputting the bit streams to a plurality of output terminals in accordance with types of bit streams, and a plurality of speech decoding circuits for decoding the respective bit streams output from the bit stream switching circuit, and outputting the bit streams as the plurality of input signals to the sampling frequency conversion circuit or the delay adjustment circuit, and one signal may be selected from output decoded signals from the plurality of speech decoding circuits in accordance with the control signal and output.

Brief Description of Drawings



[0022] 

Fig. 1 is a view showing the arrangement of the first embodiment of the present invention;

Fig. 2 is a view showing the arrangement of the second embodiment of the present invention;

Fig. 3 is a view showing the arrangement of the third embodiment of the present invention;

Fig. 4 is a view showing the arrangement of the fourth embodiment of the present invention;

Fig. 5 is a view showing the arrangement of the fifth embodiment of the present invention;

Fig. 6 is a view showing the arrangement of the sixth embodiment of the present invention; and

Fig. 7 is a view showing an example of the arrangement of a conventional speech switching apparatus.


Best Mode of Carrying Out the Invention



[0023] The mode of carrying out the present invention will be described below. According to the present invention, when digital speech signals having different sampling frequencies are to be reconstructed/switched, in order to eliminate interruptions in reconstructed speech, a plurality of digital speech signals having different sampling frequencies are converted into signals having the same sampling frequency, and the resultant phases are adjusted, thereby reconstructing the signals.

[0024] More specifically, the present invention includes a sampling frequency conversion circuit (1 in Fig. 1) for converting the sampling frequencies of digital speech signals and a delay adjustment circuit (2 in Fig. 1) for adjusting a phase shift caused by sampling frequency conversion between a plurality of digital speech signals.

[0025] To eliminate discontinuity caused between samples when digital speech signals having the same sampling frequency and different signal bandwidths are continuously reconstructed, the digital speech signals before and after switching are weighted/added for a predetermined interval first, and then are switched/reconstructed. More specifically, the present invention includes a sampling frequency conversion circuit (1 in Fig. 3), a delay adjustment circuit (2 in Fig. 3), an addition circuit (6 in Fig. 3) for weighting/adding output signals from the delay adjustment circuit for a predetermined interval, and a switching circuit (7 in Fig. 3) for switching output signals from the addition circuit in accordance with a control signal after outputting an output signal from the addition circuit for the interval.

[0026] According to the present invention, the sampling frequency conversion circuit and delay adjustment circuit make digital signals before and after switching have the same sampling frequency and phase. This reduces the tendency to cause interruptions in reconstructed speech without requiring sampling frequency setting in a D/A circuit.

[0027] In addition, according to the present invention, the addition circuit weights/adds digital signals before and after switching to reduce discontinuity between the final sample of a speech signal before switching and the first sample in the interval as compared with a case where no weighting/adding operation is performed. The switching circuit performs switching after an output signal from the addition circuit is output for a predetermined interval. This reduces discontinuity between samples at the start and end of the interval, and hence reduces the tendency to produce strange sounds in reconstructed speech.

[0028] To describe the above mode in more detail, the embodiments of the present invention will be described with reference to the accompanying drawings.

[0029] Fig. 1 is a block diagram showing the arrangement of the first embodiment of the present invention. Referring to Fig. 1, in the first embodiment of the present invention, two types of speech signals (first and second speech signals) having different sampling frequencies (e.g., 8 kHz and 16 kHz) and a control signal for instructing to reconstruct one of the two types of speech signals are input, and the speech signals are switched and reconstructed in accordance with the control signal.

[0030] A sampling frequency conversion circuit 1 performs sampling frequency conversion to match the sampling frequency of the first speech signal to the sampling frequency of the second speech signal (e.g., converts the sampling frequency from 8 kHz to 16 kHz), and outputs the resultant signal to a delay adjustment circuit 2. In this case, the sampling frequency conversion circuit 1 performs frequency conversion by using a frequency-multiplying or frequency-dividing circuit or performing interpolation or decimation processing. This frequency conversion is performed by using a known circuit. For its operation, refer to, for example, P.P. Vaidyanathan, "Multirate Systems and Filter Banks", Section 4. 1. 1 (Figure 4.1-8).

[0031] Owing to the processing performed by the sampling frequency conversion circuit 1, the output signal undergoes a phase delay with respect to the input signal. Let D be the delay time in this case.

[0032] The delay adjustment circuit 2 outputs the signal obtained by delaying the input second speech signal by the delay time D using a delay circuit (not shown) and the output signal from the sampling frequency conversion circuit 1 to a switching circuit 3. As the delay circuit, an arbitrary circuit such as an inverter array or delay line is used.

[0033] The switching circuit 3 receives the first speech signal having undergone sampling frequency conversion and the second delay signal having undergone delay adjustment from the delay adjustment circuit 2, switches the two types of speech signals, in consideration of the delay time D, in accordance with the control signal, and outputs the resultant signal to a D/A conversion circuit 4.

[0034] The D/A conversion circuit 4 converts the input digital speech signal into an analog signal and outputs it. The analog signal is provided for a user through a speaker, headphone, or the like.

[0035] Fig. 2 is a block diagram showing the arrangement of the second embodiment of the present invention. The second embodiment of the present invention additionally has a sampling frequency circuit 5 for performing sampling frequency conversion of a second speech signal, as compared with the first embodiment. A sampling frequency conversion circuit 1 converts the sampling frequency of a first speech signal into a predetermined sampling frequency, and outputs the resultant signal to a delay adjustment circuit 2. Likewise, the sampling frequency conversion circuit 5 converts the sampling frequency of the second speech signal into a predetermined sampling frequency, and outputs the resultant signal to the delay adjustment circuit 2. Let D1 be the delay time produced in the sampling frequency conversion circuit 1, and D2 be the delay time produced in the sampling frequency conversion circuit 5.

[0036] The delay adjustment circuit 2 performs delay adjustment to set the first and second speech signals having undergone sampling frequency conversion in phase, and outputs the resultant signals to a switching circuit 3.

[0037] For delay adjustment, letting D be one of the delay times D1 and D2 which is longer than the other, the two signals are delayed by the same time, i.e., the delay time D, using a delay circuit (not shown).

[0038] The switching circuit 3 receives the first and second speech signals having undergone sampling frequency conversion and delay adjustment from the delay adjustment circuit 2, switches the two types of speech signals, in consideration of the delay time D, in accordance with the control signal, and outputs the resultant signal to a D/A conversion circuit 4.

[0039] The D/A conversion circuit 4 converts the input digital speech signal into an analog signal and outputs it. The analog signal is provided for a user through a speaker, headphone, or the like.

[0040] In this embodiment, for example, when the sampling frequencies of the first and second speech signals are 8 kHz and 12 kHz, respectively, the sampling frequencies of the first and second speech signals are converted into 24 kHz. This makes it possible to further reduce the processing amount of sampling frequency conversion as compared with the first embodiment in which only the sampling frequency of the first speech signal is converted into 12 kHz.

[0041] Fig. 3 is a block diagram showing the arrangement of the third embodiment of the present invention. Referring to Fig. 3, the third embodiment of the present invention further includes an addition circuit 6 as compared with the first embodiment. In addition, the operation of a switching circuit 7 differs from that in the first embodiment.

[0042] A sampling frequency conversion circuit 1 performs sampling frequency conversion to match the sampling frequency of a first speech signal to the sampling frequency of a second speech signal, and outputs the resultant signal to a delay adjustment circuit 2. Let the delay time produced in the sampling frequency conversion circuit 1 be D. The delay adjustment circuit 2 outputs to the addition circuit 6 the signal obtained by delaying the input second speech signal by the delay time D and the output signal from the sampling frequency conversion circuit 1.

[0043] The addition circuit 6 weights/adds the first speech signal having undergone sampling frequency conversion and the second speech signal having undergone delay adjustment, and outputs the resultant signal to the switching circuit 7.

[0044] For example, in weighting/adding operation, if signals before and after switching are given by

then, an output signal S3(n) from the addition circuit 5 is given by

where T is a sample count which represents intervals at which output signals from the addition circuit are used and is determined for each sampling frequency of an input speech signal.

[0045] In addition, as signals before and after switching, either the first speech signal having undergone sampling frequency conversion or the second speech signal having undergone delay adjustment is assigned.

[0046] The switching circuit 7 receives the first speech signal having undergone sampling frequency conversion, the second speech signal having undergone delay adjustment, the output signal from the addition circuit 6, and a control signal, and switches the signal to be output from a signal S1(n) before switching to the output signal S3(n) from the addition circuit 6 at a timing set, in consideration of the delay time D, on the basis of the switching timing designated by the control signal. The switching circuit 7 then outputs the signal S1(n) after switching to a D/A conversion circuit after outputting the signal S3(n) for a predetermined interval.

[0047] A D/A conversion circuit 4 converts the input digital speech signal into an analog signal and outputs it. The analog signal is provided for a user through a speaker, headphone, or the like.

[0048] Fig. 4 is a block diagram showing the arrangement of the fourth embodiment of the present invention. Referring to Fig. 4, the fourth embodiment of the present invention further includes an addition circuit 6 as compared with the second embodiment. In addition, the operation of a switching circuit 7 differs from that in the second embodiment.

[0049] In the fourth embodiment of the present invention, the operations of the addition circuit 6 and switching circuit 7 are the same as those described in the third embodiment.

[0050] A sampling frequency conversion circuit 1 converts the sampling frequency of a first speech signal into a predetermined sampling frequency (e.g., 24 kHz), and outputs the resultant signal to a delay adjustment circuit 2. Likewise, a sampling frequency conversion circuit 5 converts the sampling frequency of a second speech signal into a predetermined sampling frequency, and outputs the resultant signal to the delay adjustment circuit 2. Let D1 be the delay time produced in the sampling frequency conversion circuit 1, and D2 be the delay time produced in the sampling frequency conversion circuit 5. The delay adjustment circuit 2 performs delay adjustment to set the first and second speech signals having undergone sampling frequency conversion in phase, and outputs the resultant signals to the addition circuit 6 and switching circuit 7. For example, in delay adjustment, letting D be one of the delay times D1 and D2 which is longer than the other, the two signals are delayed by the delay time D.

[0051] The addition circuit 6 weights/adds the first and second speech signals having undergone sampling frequency conversion and delay adjustment, and outputs the resultant signal to the switching circuit 7.

[0052] For example, in weighting/adding operation, equation (1) is used. In this case, as signals S1(n) and S2(n) before and after switching, one of the first and second speech signals having undergone sampling frequency conversion and delay adjustment is assigned.

[0053] The switching circuit 7 receives the first and second speech signals having undergone sampling frequency conversion and delay adjustment, the output signal from the addition circuit 6, and a control signal, and switches the signal to be output from the signal S1(n) before switching to an output signal S3(n) from the addition circuit 5 at a timing set, in consideration of the delay time D, on the basis of the switching timing designated by the control signal. The switching circuit 7 then outputs the signal S1(n) after switching to a D/A conversion circuit after the signal S3(n) is output for a predetermined interval.

[0054] A D/A conversion circuit 4 converts the input digital speech signal into an analog signal and outputs it. The analog signal is provided for a user through a speaker, headphone, or the like.

[0055] Fig. 5 is a block diagram showing the arrangement of a speech switching apparatus according to the fifth embodiment of the present invention, which is a combination of a speech decoding circuit 8 and the arrangement of the third embodiment. Referring to Fig. 5, in the fifth embodiment of the present invention, the bandwidth-hierarchized speech decoding circuit 8 outputs as first and second digital speech signals digital speech signals obtained by decoding an input bit stream to a sampling frequency conversion circuit 1 and delay circuit 2.

[0056] The bandwidth-hierarchized speech decoding circuit 8 outputs, to an addition circuit 6 and switching circuit 7, a control signal for instructing which one of two types of speech signals is to be reconstructed.

[0057] In this case, the bit stream is constituted by a fundamental portion indispensable to decoding of compressed speech signal information and an expansion portion for improving the quality of the speech signal by expanding the bandwidth.

[0058] When, therefore, the bandwidth-hierarchized speech decoding circuit 8 receives only a fundamental portion, it decodes the portion into a speech signal with a narrow bandwidth (e.g., a digital signal having a sampling frequency of 8 kHz), and outputs it to the sampling frequency conversion circuit 1.

[0059] When this circuit also receives an expansion portion, it decodes the signal into a speech signal with a winder bandwidth (e.g., a digital signal having a sampling frequency of 16 kHz), and outputs it to the delay adjustment circuit 2.

[0060] For the decoding operation of the bandwidth-hierarchized speech decoding circuit 8, refer to, for example, Japanese Patent Laid-Open No. 11-30997.

[0061] When the bandwidth-hierarchized speech decoding circuit 8 receives the expansion portion of a bit stream as well as the fundamental portion, the circuit can simultaneously obtain a plurality of decoded signals, i.e., a decoded signal obtained by using only the fundamental portion and a signal obtained by using both the fundamental portion and the expansion portion.

[0062] Assume that in this embodiment, a decoded signal using only the fundamental portion of a bit stream is always obtained and output to the delay adjustment circuit 2.

[0063] The operations of the sampling frequency conversion circuit 1, delay adjustment circuit 2, addition circuit 6, switching circuit 7, and D/A conversion circuit 4 are the same as those in the second embodiment, and hence a description thereof will be omitted.

[0064] Fig. 6 is a block diagram showing the arrangement of a speech switching apparatus according to the sixth embodiment of the present invention, which is a combination of a plurality of speech decoding circuits and the first embodiment described above. Referring to Fig. 6, in the sixth embodiment of the present invention, a bit stream switching circuit 11 receives a bit steam obtained by multiplexing a plurality of bit streams as compressed signals having different sampling frequencies, and outputs the input bit stream to a first speech decoding circuit 9 or second speech decoding circuit 10 depending on the type of the received bit stream.

[0065] In this case, as a method of multiplexing bit streams, a method of simultaneously multiplexing a plurality of bit streams or a method of switching and multiplexing them may be used. In the former method, two types of speech signals are simultaneously decoded from two types of bit streams. In the latter method, a speech signal is decoded from only one of the bit streams. Assume that in this embodiment, a bit stream obtained by switching/multiplexing a plurality of bit streams is input.

[0066] The bit stream switching circuit 11 outputs, to a switching circuit 3, a control signal for instructing which one of the two types of speech signals is to be reconstructed.

[0067] The first speech decoding circuit 9 outputs a speech signal (e.g., a digital signal having a sampling frequency of 8 kHz) obtained by decoding a bit stream having a lower bit rate (e.g., 8 kbit/s) than in the second speech decoding circuit 10 as a first digital speech signal to a sampling frequency conversion circuit 1.

[0068] The second speech decoding circuit 10 outputs a speech signal (e.g., a digital signal having a sampling frequency of 16 kHz) obtained by decoding a bit stream having a higher bit rate (e.g., 16 kbit/s) than in the first speech decoding circuit 9 as a second digital speech signal to a delay adjustment circuit 2.

[0069] In this case, for the first speech decoding circuit 9 and second speech decoding circuit 10, refer to, for example, Japanese Patent Laid-Open No. 10-207496.

[0070] The operations of the sampling frequency conversion circuit 1, delay adjustment circuit 2, switching circuit 3, and D/A conversion circuit 4 are the same as those in the first embodiment, and a description thereof will be omitted.

[0071] Fig. 5 shows a combination of the bandwidth-hierarchized speech decoding circuit and the arrangement of the third embodiment. Fig. 6 shows a combination of the plurality of speech decoding circuits and the arrangement of the first embodiment. Obviously, however, the above embodiments may be arbitrarily combined with each other.

[0072] In the third and fourth embodiments, since the addition circuit simultaneously requires a plurality of signals, when the first and second speech signals are switched, the two signals must overlap each other.

[0073] In the third and fourth embodiments each combined with the speech decoding circuit, therefore, the apparatus must be combined with a bandwidth-hierarchized speech decoding circuit. Alternatively, if a plurality of speech decoding circuits are used, an input bit stream must be the one obtained by simultaneously multiplexing a plurality of bit streams.

[0074] Each embodiment exemplifies the case where two type of input speech signals are processed. An apparatus designed to process three or more types of input speech signals can be realized by adding necessary numbers of sampling frequency conversion circuits and input/output lines to be connected thereto.

[0075] As has been described above, according to the present invention, strange sounds that are produced when a plurality of different speech signals are reconstructed and switched can be reduced.

[0076] This is because, in the present invention, matching the sampling frequencies and phases of signals before and after switching of a plurality of speech signals obviates the necessity to change the sampling frequency settings.

[0077] In addition, by weighting/adding speech signals before and after switching for a predetermined interval, discontinuity between samples at the start and end of the interval can be reduced.


Claims

1. A speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising:

at least one sampling frequency conversion circuit for converting a sampling frequency of at least one of the plurality of input signals;

a delay adjustment circuit for adjusting a phase of the input signal, of the plurality of input signals whose sampling frequency is converted by said sampling frequency conversion circuit and a phase of the remaining input signal, and outputting the signals; and

a switching circuit for selecting one of a plurality of output signals from said delay adjustment circuit in accordance with the control signal.


 
2. A speech switching apparatus according to claim 1, characterized in that said delay adjustment circuit makes an adjustment to match the phase of the signal whose sampling frequency is converted to the phase of the remaining input signal.
 
3. A speech switching apparatus according to claim 1, characterized in that said switching circuit switches outputs at a timing set in consideration of a delay time in said delay adjustment circuit with respect to a switching timing designated by the control signal.
 
4. A speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising:

a plurality of sampling frequency conversion circuits for converting sampling frequencies of the plurality of input signals to a predetermined frequency;

a delay adjustment circuit for adjusting phases between output signals from said plurality of sampling frequency conversion circuits and outputting the signals; and

a switching circuit for selecting one signal from a plurality of output signals from said delay adjustment circuit in accordance with the control signal.


 
5. A speech switching apparatus according to claim 4, characterized in that said delay adjustment circuit makes an adjustment to match the phase of the signal whose sampling frequency is converted to the phase of the remaining input signal.
 
6. A speech switching apparatus according to claim 4, characterized in that said switching circuit switches outputs at a timing set in consideration of a delay time in said delay adjustment circuit with respect to a switching timing designated by the control signal.
 
7. A speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising:

at least one sampling frequency conversion circuit for converting a sampling frequency of at least one of the plurality of input signals;

a delay adjustment circuit for adjusting a phase of the input signal, of the plurality of input signals whose sampling frequency is converted by said sampling frequency conversion circuit and a phase of the remaining input signal, and outputting the signals;

an addition circuit for selecting and weighting two signals from a plurality of output signals from said delay adjustment circuit in accordance with the control signal; and

a switching circuit for selecting one signal from a plurality of output signals from said delay adjustment circuit and an output signal from said addition circuit in accordance with the control signal.


 
8. A speech switching apparatus according to claim 7, characterized in that said switching circuit switches a signal before switching of output signals from said delay adjustment circuit to an output signal from said addition circuit at a timing set in consideration of a delay time in said delay adjustment circuit from a switching timing designated by the control signal, outputs the output signal from said addition circuit for a predetermined interval, and then outputs the signal after switching.
 
9. A speech switching apparatus for receiving a plurality of input signal sampled with a plurality of different sampling frequencies and a control signal for designating a signal of the plurality of input signals which is to be reconstructed, and selecting and outputting one of the plurality of input signals in accordance with the control signal, characterized by comprising:

a plurality of sampling frequency conversion circuits for converting sampling frequencies of the plurality of input signals to a predetermined frequency;

a delay adjustment circuit for adjusting phases between output signals from said plurality of sampling frequency conversion circuits and outputting the signals;

an addition circuit for selecting and weighting two signals from a plurality of output signals from said delay adjustment circuit in accordance with the control signal; and

a switching circuit for selecting one signal from a plurality of output signals from said delay adjustment circuit and an output signal from said addition circuit in accordance with the control signal.


 
10. A speech switching apparatus according to claim 9, characterized in that said switching circuit switches a signal before switching of output signals from said delay adjustment circuit to an output signal from said addition circuit at a timing set in consideration of a delay time in said delay adjustment circuit from a switching timing designated by the control signal, outputs the output signal from said addition circuit for a predetermined interval, and then outputs the signal after switching.
 
11. A switching apparatus according to claim 1, characterized in that
   said apparatus further comprises a speech decoding circuit for decoding a plurality of signals sampled from one bit stream with different sampling frequencies, and outputting the signals as the plurality of input signals to said sampling frequency conversion circuit or said delay adjustment circuit; and
   one signal is selected from a plurality of output decoded signals from said speech decoding circuit in accordance with a bit rate at the time of reception and the control signal and output.
 
12. A switching apparatus according to claim 4, characterized in that
   said apparatus further comprises a speech decoding circuit for decoding a plurality of signals sampled from one bit stream with different sampling frequencies, and outputting the signals as the plurality of input signals to said plurality of sampling frequency conversion circuits; and
   one signal is selected from a plurality of output decoded signals from said speech decoding circuit in accordance with a bit rate at the time of reception and the control signal and output.
 
13. A speech switching apparatus according to claim 1, characterized in that
   said apparatus further comprises a bit stream switching circuit for receiving bit streams obtained by multiplexing a plurality of bit streams in which a plurality of types of signals having different sampling frequencies, and switching/outputting the bit streams to a plurality of output terminals in accordance with types of bit streams, and
   a plurality of speech decoding circuits for decoding the respective bit streams output from said bit stream switching circuit, and outputting the bit streams as the plurality of input signals to said sampling frequency conversion circuit or said delay adjustment circuit, and
   one signal is selected from output decoded signals from said plurality of speech decoding circuits in accordance with the control signal and output.
 
14. A speech switching apparatus according to claim 1, characterized in that
   said apparatus further comprises a bit stream switching circuit for receiving bit streams obtained by multiplexing a plurality of bit streams in which a plurality of types of signals having different sampling frequencies, and switching/outputting the bit streams to a plurality of output terminals in accordance with types of bit streams, and
   a plurality of speech decoding circuits for decoding the respective bit streams output from said bit stream switching circuit, and outputting the bit streams as the plurality of input signals to said plurality of sampling frequency conversion circuits, and
   one signal is selected from output decoded signals from said plurality of speech decoding circuits in accordance with the control signal and output.
 




Drawing






















Search report