We had requests for a comparison of our vocoders with open-source CODEC2 vocoder.

Here, we present a comparison of the CODEC2 (ver 0.8) vocoder with TWELP vocoder for 700 bps bit rate.
We added to some tests MELPe 600 bps vocoder - just for an additional comparison with this well-known standard vocoder.

Technology Features. The TWELP vocoders are 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 much better speech quality in comparison with any well-known technologies, including AMBE+2, MELPe, ACELP, etc. at the same bit rate in range from 300 bps up to 9600 bps and more. Unlike other LBR vocoders (MELPe, etc.) TWELP also provides much better quality for non-speech signals like sirens, background music, etc.

CODEC2 is based on the older and simpler technology SHC (Sinusoidal Harmonic Coding), that was popular 30 years ago.

Speech Quality. Here is a comparison of the speech quality in noiseless channel. TWELP 700 bps vocoder and CODEC2 700 bps (700C mode) vocoder were tested, using ITU-T P.50 speech base for 20 different languages. ITU-T P.862 utility was used for estimation of the speech quality in PESQ terms:

 
A diagram demonstrates significant superiority of the TWELP vocoder over CODEC2 vocoder. Exact numbers of the PESQ-estimations are presented in the table below.
LanguageTWELP 700MELPe 600CODEC2 700
American 2.718 2.397 2.416
Arabic 2.594 2.254 2.262
British 2.671 2.414 2.237
Chinese 2.623 2.189 2.301
Danish 2.625 2.227 2.358
Dutch 2.484 2.173 2.030
Finnich 2.472 2.249 2.068
French 2.678 2.34 2.355
German 2.644 2.287 2.178
Greek 2.587 2.212 2.233
Hindi 2.646 2.403 2.270
Hungarian 2.644 2.359 2.369
Italian 2.824 2.428 2.462
Japanese 2.777 2.436 2.421
Norwegian 2.633 2.225 2.337
Polish 2.641 2.294 2.177
Portuguese 2.690 2.393 2.379
Russian 2.563 2.156 2.095
Spanish 2.623 2.389 2.483
Swedish 2.718 2.430 2.353
Average2.6432.3132.304

Superiority of the TWELP 700 and MELPe 600 over CODEC2 700 is on average 0.339 and 0.009 PESQ apropriately

Speech Samples (WAV-files). A few independent experts listened CODEC2 700 bps vocoder in comparison with TWELP 700 bps vocoder, using method of preferences. All experts preferred TWELP to CODEC2, having noted much better intellegibility and much more natural human-sounding of voice in the TWELP vocoder.

You can play and listen short samples of the source speech as well as the speech processed by these vocoders for any of 20 languages, using links in the table below.
Also, you can download full set of the P.50 samples as zip-files for all languages simultaneously, using the links in the "Downloads" para in a bottom of the page.

LanguageSource speechMELPe 600 bpsCODEC2 700 bpsTWELP 700 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 typeSource signalMELPe 600 bpsCODEC2 700 bpsTWELP 700 bps
Siren only
With voice

High Robustness To Acoustic Noise. In contrast to other LBR vocoders, TWELP vocoders are well robust to acoustic noise thanks to robust reliable method of pitch estimation and other features of TWELP technology.

Moreover, vocoder includes in-built Noise Cancellation—Speech Enhancement (NCSE) functionality that improves speech quality in noisy acoustic environment. Here, we used our NCSE-preprocessor for CODEC2 too

NCSE ModeSource signalMELPe 600 bpsCODEC2 700 bpsTWELP 700 bps
Disabled
Enabled

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 any vocoder software into any other DSP, RISC or general- purposes platform inshort time: 1-2 months.

Licensing Terms.  DSPINI is the exclusive owner of the rights to the TWELP vocoder software, a customer should obtain a license from DSPINI only.

Customization.  DSPINI can customize any vocoder under specific requirements - other bit rate, frame size, any other robustness to channel errors, etc. Please contact 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 SPR and TWELP technologies.

Related Software.  Any 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:

Conclusion.  The open-source CODEC2 vocoder is a very good achievement for a free codec at low bit rates, and if zero cost for your codec is a must for you, it's worth trying it in your application.

However, based on an older technology, Codec2 has lower speech quality, robustness to noise and not as effective with non-speech signals. We recommend taking into consideration all the factors in your specific application, consult with your engineers and make your decision what codec to use.

We'd be happy to provide you the detailed info on TWELP vocoder, consult you and help make a decision if it's worth buying for your application, please shoot us an email.