(version 5.0) offers speech quality and intelligibility that were previously achievable only at double or higher bitrates. Below are the results of comparative tests with the MELPe 2400 bps vocoder and with 3GPP AMR-NB 4750 bps vocoder, which operates at twice the bitrate.

For Digital HF Radio and other markets.

TWELP Technology Features. The vocoder is based on newest technology of speech coding called "Tri-Wave Excited Linear Prediction" (TWELP) that was developed by experts of DSPINI. 

TWELP technology is a new class of vocoders that differs from any other LPC-based vocoders by:

  • advance reliable method of pitch estimation
  • pitch-synchronous analysis
  • advance tri-wave model of excitation
  • newest quantization schemes
  • pitch-synchronous synthesis

Thanks to these unique features, TWELP technology provides significantly better speech quality than other well-known technologies—including AMBE+2, MELPe, ACELP, and others—at equivalent bit rates ranging from 300 bps to 4800 bps and beyond.

Additionally, unlike other low-bitrate vocoders (such as MELPe, for example), TWELP delivers much higher quality for non-speech signals, including sirens, background music, and similar audio.

Speech Quality. This is a comparison with the 3GPP AMR-NB 4750 bps vocoder and MELPe 2400 bps vocoder.
The vocoders were tested using the ITU-T P.50 speech database in 20 different languages.

Note: 
We have updated the speech database by minimizing inter-speech pauses to eliminate their impact on the evaluation results. Therefore, the numbers obtained from the quality measurements using this updated speech database differ from those previously obtained with the original speech database, where speech pauses were not removed.

The ITU-T P.862 tool was used to evaluate speech quality in terms of PESQ scores:
Created with Highcharts 4.1.9Chart context menuP E S QSpeech Quality ComparisonTWELP 2400 bps vs 3GPP AMR 4750 bps and MELPe 2400 bpsAMR-NB 4750 bpsTWELP 2400 bpsMELPe 2400 bpsAmericanArabicBritishChineseDanishDutchFinnichFrenchGermanGreekHindiHungarianItalianJapaneseNorwegianPolishPortugueseRussianSpanishSwedish2.72.82.933.13.23.33.43.5
The diagram demonstrates that the speech quality of the TWELP 2400 bps vocoder is closer to that of the AMR-NB 4750 bps vocoder and significantly better than that of the MELPe 2400 bps vocoder. Exact numbers are shown in the table below.
LanguageAMR-NB
4750 bps
TWELP
2400 bps
MELPe
2400 bps
American 3.274 3.213 2.967
Arabic 3.246 3.214 3.024
British 3.170 3.098 2.885
Chinese 3.176 3.249 2.871
Danish 3.264 3.268 2.946
Dutch 3.072 3.070 2.856
Finnich 3.108 2.989 2.820
French 3.236 3.281 3.018
German 3.314 3.189 2.986
Greek 3.209 3.262 2.950
Hindi 3.250 3.247 3.070
Hungarian 3.300 3.245 3.060
Italian 3.454 3.399 3.213
Japanese 3.327 3.353 3.133
Norwegian 3.270 3.264 3.007
Polish 3.241 3.213 3.027
Portuguese 3.355 3.314 3.113
Russian 3.163 3.153 2.863
Spanish 3.312 3.244 3.046
Swedish 3.360 3.256 3.119
Average3.2553.2262.999

The average difference between AMR-NB 4750 bps and TWELP 2400 bps is 0.029 PESQ, while the average difference between TWELP 2400 bps and MELPe 2400 bps is 0.227 PESQ.

 Speech Intelligibility. Here is a comparison with the 3GPP AMR-NB vocoder, which operates at twice the bitrate (4750 bps) and with the MELPe at the same bitrate (2400 bps) . The  vocoders were tested using the ITU-T P.50 speech database, covering 20 different languages.
STOI (Short-Time Objective Intelligibility) and ESTOI (Extended Short-Time Objective Intelligibility) metrics were used to assess speech intelligibility: 
Created with Highcharts 4.1.9Chart context menu % (STOI score) Speech Intelligibility Comparison (STOI metric)TWELP 2400 bps vs 3GPP AMR-NB 4750 bps and MELPe 2400 bpsAMR-NB4750 bpsTWELP2400 bpsMELPe2400 bpsAmericanArabicBritishChineseDanishDutchFinnichFrenchGermanGreekHindiHungarianItalianJapaneseNorwegianPolishPortugueseRussianSpanishSwedish82838485868788899091929394
The diagram demonstrates the advantage of the TWELP 2400 bps vocoder over both the MELPe 2400 bps and AMR-NB 4750 bps vocoders, despite the latter operating at twice the bitrate. Exact values are provided in the table below:
LanguageAMR-NB
4750 bps
TWELP
2400 bps
MELPe
2400 bps
American 91.89 92.69 87.43
Arabic 91.36 92.03 87.70
British 90.43 90.98 85.10
Chinese 90.63 92.00 86.78
Danish 92.06 93.00 87.30
Dutch 90.63 91.58 86.19
Finnich 89.29 89.54 82.94
French 91.16 92.33 87.35
German 91.86 92.28 87.10
Greek 91.64 92.54 86.96
Hindi 91.43 92.37 86.89
Hungarian 91.40 92.05 87.85
Italian 91.44 92.36 87.57
Japanese 91.87 92.53 88.88
Norwegian 92.39 93.13 87.97
Polish 91.56 92.68 87.66
Portuguese 91.64 91.77 87.68
Russian 90.28 91.38 86.89
Spanish 91.43 91.96 86.57
Swedish 90.46 91.02 85.92
Average91.2492.0186.94

The average difference between the TWELP 2400 bps and the AMR-NB 4750 bps vocoders is 0.77%, while the average difference between the TWELP 2400 bps and the MELPe 2400 bps vocoders is 5.07%.

Considering that a low-bitrate vocoder is a nonlinear device that significantly distorts the spectrum of the original speech signal, the ESTOI metric provides more accurate assessments of speech intelligibility after vocoding:
Created with Highcharts 4.1.9Chart context menu % (ESTOI score) Speech Intelligibility Comparison (ESTOI metric)TWELP 2400 bps vs 3GPP AMR-NB 4750 bps and MELPe 2400 bpsAMR-NB4750 bpsTWELP2400 bpsMELPe2400 bpsAmericanArabicBritishChineseDanishDutchFinnichFrenchGermanGreekHindiHungarianItalianJapaneseNorwegianPolishPortugueseRussianSpanishSwedish767778798081828384858687888990
The diagram demonstrates the advantage of the TWELP 2400 bps vocoder over both the MELPe 2400 bps and AMR-NB 4750 bps vocoders, despite the latter operating at twice the bitrate. Exact numbers are shown in the table below.
LanguageAMR-NB
4750 bps
TWELP
2400 bps
MELPe
2400 bps
American 86.39 87.35 81.43
Arabic 86.48 87.59 82.61
British 84.71 85.55 79.35
Chinese 85.83 88.03 82.03
Danish 86.75 87.91 81.22
Dutch 84.90 86.47 80.88
Finnich 83.66 83.80 77.26
French 85.63 87.69 82.03
German 85.75 86.69 80.14
Greek 87.19 88.52 82.55
Hindi 85.81 86.62 80.48
Hungarian 85.55 86.83 80.57
Italian 86.22 87.52 81.95
Japanese 87.49 88.62 83.96
Norwegian 87.86 88.65 82.53
Polish 86.71 88.20 82.26
Portuguese 86.46 86.87 81.94
Russian 84.47 86.25 80.86
Spanish 86.47 87.22 81.18
Swedish 84.33 84.82 79.60
Average85.9387.0681.24

The average difference between the TWELP 2400 bps and the AMR-NB 4750 bps vocoders is 1.13%, while the average difference between the TWELP 2400 bps and the MELPe 2400 bps vocoders is 5.82%.

You can download the P.862 and STOI/ESTOI utilities, along with all speech samples, by using the links in the 'Downloads' section at the bottom of the page, and then check all the numbers presented above.


Speech Samples (WAV-files). 
A few independent experts compared the TWELP 2400 bps vocoder with the AMR-NB 4750 bps and MELPe 2400 bps vocoders using the preference method.
Although opinions were almost evenly split, the majority of listeners preferred the TWELP vocoder over the AMR-NB vocoder, noting that the speech sounded clearer and more natural. All listeners preferred the TWELP vocoder over the MELPe vocoder, noting that the speech sounded more natural and less synthetic.

You can play and listen to short samples of the source speech, as well as the speech processed by the AMR-NB 4750 bps vocoder, MELPe 2400 bps vocoder and the TWELP 2400 bps vocoder, using the links in the table below.

For the best listening experience, we recommend using high-quality headphones or premium audio equipment to hear the nuances and differences in the vocoder sound more clearly.

You can also download the complete set of P.50 samples as zip files for all languages simultaneously by using the links in the 'Downloads' section at the bottom of the page.

LanguageSource
speech
AMR-NB
4750 bps
MELPe
2400 bps
TWELP
2400 bps
American
Arabic
British
Chinese
Danish
Dutch
Finnich
French
German
Greek
Hindi
Hungarian
Italian
Japanese
Norwegian
Polish
Portuguese
Russian
Spanish
Swedish

Superiority In Quality Of The Non-speech Signals. In contrast to other LBR vocoders (MELPe, AMBE+2, etc.), TWELP vocoders provide high quality of non-speech signals, including police, ambulance, fire sirens, etc. This feature in conjunction with high quality natural human-sounding of voice makes TWELP vocoders well suitable for replacement of analog radio by digital radio and also for other applications where high quality transmitting of non-speech signals is relevant along with high quality transmitting of speech signals.

Source
signal
AMR-NB
4750 bps
MELPe
2400 bps
TWELP
2400 bps
You can hear that the TWELP vocoder processes non-speech signals just as well, if not more accurately, than the waveform AMR-NB codec.

High Robustness To Acoustic Noise. In contrast to other LBR vocoders, TWELP vocoders are highly robust to acoustic noise due to a reliable pitch estimation method and other features of TWELP technology.
Created with Highcharts 4.1.9Chart context menu% ESTOI scoreSpeech Intelligibility Comparison (ESTOI metric)TWELP 2400 bps vs 3GPP AMR-NB 4750 bps and MELPe 2400 bps in Acoustic Noise AMR-NB4750 bpsTWELP2400 bpsMELPe2400 bpsAmericanArabicBritishChineseDanishDutchFinnichFrenchGermanGreekHindiHungarianItalianJapaneseNorwegianPolishPortugueseRussianSpanishSwedish6465666768697071727374757677787980
The diagram demonstrates the advantage of the TWELP 2400 bps vocoder over both the MELPe 2400 bps and AMR-NB 4750 bps vocoders, despite the latter operating at twice the bitrate. Exact numbers are shown in the table below.
LanguageAMR-NB
4750 bps
TWELP
2400 bps
MELPe
2400 bps
American 73.26 74.70 70.09
Arabic 74.92 76.56 72.88
British 71.00 72.18 68.02
Chinese 76.39 78.73 73.16
Danish 72.52 74.29 68.87
Dutch 70.99 72.06 68.01
Finnich 70.64 71.56 65.96
French 74.32 77.23 72.39
German 71.96 73.04 68.23
Greek 74.55 77.26 71.61
Hindi 70.92 72.90 71.61
Hungarian 75.41 76.83 71.84
Italian 72.22 74.19 70.28
Japanese 76.99 78.40 75.04
Norwegian 76.76 78.31 73.14
Polish 73.70 75.47 71.40
Portuguese 74.12 75.40 71.25
Russian 72.22 74.27 69.19
Spanish 75.51 77.32 71.55
Swedish 68.48 69.17 65.02
Average73.3474.9570.33

The average difference between the TWELP 2400 bps and the AMR-NB 4750 bps vocoders is 1.61%, while the average difference between the TWELP 2400 bps and the MELPe 2400 bps vocoders is 4.62%.

Additionally, the TWELP vocoder features an NCSE (Noise Cancellation Speech Enhancement) preprocessor, which cleans the input speech signal from noise and enhances speech quality. 
Below, you can listen to a short fragment of heavily noisy English speech after passing through MELPe and TWELP vocoders, with NPP (Noise Pre-Processor) and NCSE disabled and enabled, respectively.
NPP
NCSE
Input speech
(SNR=10dB)
AMR-NB
4750 bps
MELPe
2400 bps
TWELP
2400 bps
Disabled
Enabled  
The NCSE integrated into the TWELP vocoder is described in more detail on the webpage for our standalone product, 'NCSE-AGC Preprocessor'.
High Robustness To The Channel Errors. 
The TWELP technology offers highly efficient speech compression by eliminating redundancy while preserving excellent quality and intelligibility. To enhance robustness against transmission errors, we provide specialized versions called TWELP Robust.
These vocoders are based on an effective Joint Source-Channel Coding approach. Each vocoder is equipped with a custom-designed FEC, tailored to its specific characteristics and operational conditions. 
TWELP Robust vocoders provide high speech quality simultaneously in noisy channel as well as in noiseless channel. FEC can operate with "soft decisions" as well as with "hard decisions" from a modem. "Soft decisions" mode provides much better robustness in comparison with the "hard decisions" mode.
For all users of our non-robust vocoder versions, we offer the following recommendations.
 
The diagram below illustrates the sensitivity of bits at the output of the vocoder to communication channel errors.
Essentially, the diagram shows by what percentage speech quality is reduced when a specific bit is distorted. The first bits in order cause catastrophic distortions, while the latter bits have significantly less impact on quality.
Created with Highcharts 4.1.9Chart context menuBit numberSensitivity, %Bit Sensitivity to ErrorsTWELP 2400 bps vocoderTWELP 2400 bps Vocoder510152025303540450102030405060708090100
We strongly recommend using FEC (Forward Error Correction) with unequal protection of the bits in strong accordance with their sensitivity to errors and utilizing 'Soft Decisions' decoding. This will provide the highest robustness of the vocoder against errors in the channel.

Additional Functionalities. The following additional functionalities are developed by DSPINI and integrated into TWELP vocoders:

  • Noise Cancellation Speech Enhancement (NCSE)
  • Automatic Gain Control (AGC),
  • Voice Activity Detector (VAD),
  • Discontinuous Transmission (DTX),
  • Tone Detection/Generation (Single tones and Dual tones). The tones are transmitted by the vocoder facilities.

Note: 
The Tone Detector/Generator functionalities are not integrated into the code by default but can be added free of charge upon request.

Each functionality has unique features, performance and characteristics, providing significant superiority over any well-known implementations on the market.

Technical Characteristics And Resource Requirements:

Technical characteristics
Bit Rate
(bps)
AlgorithmFrame size
(ms)
Algorithmic delay
(including frame size)
(ms)
Sampling rate
(kHz)
Signal formatBit stream format
2400 TWELP 20 40 8 Linear
16-bit
PCM
48
Additional functionalities
NameFunctionalityTechnical characteristics
NameValue
AGC Automatic Gain 
Control
Control range: 0 ... +42 dB
NCSE Noise Canceller -
Speech Enhancer
SNR increasing  20 dB
Speech quality
improvement
> 0.1 PESQ
Tone
Detector
Single/Dual tones 
detection
In accordance with international standards
Tone
Generator
Single/Dual tones 
generation
Special generator, kept continuity of signal 
(phase and amplitude of signal of previous frame)
DTX Discontinuous 
Transmission
Reduces bit rate down to 110 bps in pauses
between active speech regions
VAD Voice Activity 
Detection
High reliability even with pink noise at an SNR < 0 dB.
CNG Comfort Noise 
Generation
Type of noise "white"
Level - 60 dB
The NCSE and AGC integrated into the TWELP vocoder are described in more detail on the webpage for our standalone product, 'NCSE-AGC Preprocessor'.

Resources for ARM Cortex-M4 platform
ModuleMIPS*
peak
Memory (KBytes)
ProgramData
ConstantsChannelHeapStack
Voice Encoder 46.6 52 39 4.5 3.7 2.1
NCSE 5.8
AGC 0.4
Voice Decoder 13.5
Voice Encoder +
Voice Decoder
60.1
Total 66.3

Resources for TI's C64 DSP platform
ModuleMIPS*
peak
Memory (KBytes)
ProgramData
ConstantsChannelHeapStack
Voice Encoder 18.4 63 40 4.5 3.7 2.1
NCSE 2.7
AGC 0.1
Voice Decoder 4.3
Voice Encoder +
Voice Decoder
22.7
Total 25.5

Resources (estimated) for TI's C55 DSP platform
ModuleMIPS*
peak
Memory (KBytes)
ProgramData
ConstantsChannelHeapStack
Voice Encoder 33.0 21 39 4.5 3.7 2.1
NCSE 7.0
AGC 0.2
Voice Decoder 10.0
Voice Encoder +
Voice Decoder
43.0
Total 50.2

* DSPINI continues optimization of the TWELP algorithm and code in order to minimize computational complexity of the vocoder.

Software Integrity and Security. DSPINI guarantees the ABSOLUTE integrity of its software, free from any undocumented features, undeclared capabilities, or hidden functions. Our customers can be assured that none of our software/code contains any secret features or functionalities concealed from the user. If necessary, we are ready to provide the source code of our software products for appropriate certification.
Moreover, our software is available in source code form—you simply need to purchase the appropriate license to use it.

Guarantee And Support.  DSPINI guarantees a quality and accordance of all technical characteristics of the product to requirement of current specifications. Testing and other method of quality control are used for guarantee support.

Any Platforms.  DSPINI can port this vocoder software into any other DSP, RISC or general- purposes platform inshort time: 1-2 months.

Licensing Terms.  To use the vocoder, customer should obtain a license from DSPINI only.

Customization.  The vocoder can be customized under any specific requirements- other bit rate, frame size, any other robustness to channel errors, etc. Please contact with us for details.

Prospects.  DSPINI is impoving and developing continuously a set of new vocoders with range from 300 bps up to 9600 bps, based on TWELP technology.

Related Software.  This vocoder may be effectively used in a bundle with other DSPINI's products:

  • Linear and acoustic echo cancellers,
  • Multichannel noise cancellers (including two-microphone adaptive array),
  • Wired or radiomodems for any types of channels and bitrates,
  • Other products.

Downloads: