DevioLabавтоматичне керування капіталом
ПРАЦЮЄ 24/7
КРИПТОВАЛЮТИ · АКЦІЇ · 10 БІРЖ

Портфель, який керується автоматично

DevioLab підбирає стратегії, відстежує ринки та автоматизує купівлю і продаж активів. Кількість доступних криптовалют, акцій і торгових можливостей зростає щодня.

10підключених біржCrypto + Stocksв одному портфелі24/7автоматичний контроль

Joint source-cryptographic-channel coding for real-time secure voice communications on voice channels

Інформація про навчальний заклад

ВУЗ:
Université Côte d’Azur
Інститут:
I3S
Факультет:
Informatique
Кафедра:
Не вказано

Інформація про роботу

Рік:
2026
Тип роботи:
Thèse de doctorat
Предмет:
Cryptography and Security
Група:
DOCTORAT
Коротко про документ

Про що ця робота

This document explores joint source-cryptographic-channel coding schemes for real-time secure voice communications over modern digital voice channels. It presents distortion-tolerant speech encryption and data transmission techniques validated through simulations and real-world tests.

У роботі розглядаються

  • Secure voice communications
  • Data over voice channels
  • Speech encryption
  • Joint speech coding
  • Formal verification
  • Semantic security

Зміст і розділи

  1. Introduction
  2. Speech processing and voice communications
  3. Data transmission over voice channels
  4. Distortion-tolerant encryption of vectors on N-spheres
  5. Distortion-tolerant speech encryption
  6. Key exchange over voice channels
  7. Conclusion and Perspectives
Для кого:Researchers, cryptographers, telecommunications engineers, and students interested in secure voice communications and signal processing.
Викладачі:Bruno Martin, Jerome Lebrun

Ключові поняття

Voice encryptionDigital voice channelsLinear Predictive CodingTamarin ProverSpherical codesSecret key exchangeNeural-based voice synthesizerBitrateAcoustic distortionCrypto-security

Частина тексту файла (без зображень, графіків і формул):

HAL Id: tel-03370542 https://theses.hal.science/tel-03370542 Submitted on 8 Oct 2021 HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés. Joint source-cryptographic-channel coding for real-time secure voice communications on voice channels To cite this version: . Joint source-cryptographic-channel coding for real-time secure voice communica- tions on voice channels. Cryptography and Security [cs.CR]. Université Côte d’Azur, 2021. English. ￿NNT : 2021COAZ4029￿. ￿tel-03370542￿ THÈSE DE DOCTORAT Codage conjoint source-chiffrement-canal pour les canaux de communication vocaux s ´ecuris ´es en temps r ´eel Piotr K RASNOWSKI Laboratoire d’Informatique, Signaux et Systèmes de Sophia Antipolis (I3S) UMR7271 Université Côte d’Azur CNRS Présentée en vue de l’obtention du grade de docteur en Informatique de l’Université Côte d’Azur Dirigée par : Bruno MARTIN , Professeur Co-encadrée par : Jerome LEBRUN , Chercheur CNRS Soutenue le : 27 Mai 2021 Devant le jury, composé de : J.-C. RÉGIN , Professeur, Univ. Côte d’Azur W. PUECH , Professeur, Univ. de Montpellier T. van WATERSCHOOT , Professeur, KU Leuven J. LEBRUN , Chargé de Recherche, CNRS B. MARTIN , Professeur, Univ. Côte d’Azur M. PELLEAU , Maître de Conférences, Univ. Côte d’Azur T. PLESSE , Expert, Direction Générale de l’Armement J.-B. YUNÈS , Maître de Conférences HDR, Univ. de Paris P. ADENOT , Ingénieur de Recherche, Mozilla JOINT SOURCE -CRYPTOGRAPHIC -CHANNEL CODING FOR REAL -TIME SECURE VOICE COMMUNICATIONS ON VOICE CHANNELS CODAGE CONJOINT SOURCE -CHIFFREMENT -CANAL POUR LES CANAUX DE COMMUNICATION VOCAUX SÉCURISÉS EN TEMPS RÉEL [ім’я автора приховано] ▷ ◁ Jury : Président du jury Jean-Charles RÉGIN , Professeur des Universités, Université Côte d’Azur Rapporteurs William PUECH , Professeur des Universités, Université de Montpellier Toon van WATERSCHOOT , Professeur d’Établissement Étranger, KU Leuven, Belgique Examinateurs Jerome LEBRUN , Chargé de Recherche, CNRS Bruno MARTIN , Professeur des Universités, Université Côte d’Azur Marie PELLEAU , Maître de Conférences, Université Côte d’Azur Thierry PLESSE , Expert, Direction Générale de l’Armement Jean-Baptiste YUNÈS , Maître de Conférences HDR, Université de Paris Membres invités Paul ADENOT , Ingénieur de Recherche, Mozilla Université Côte d’Azur Codage conjoint source-chiffrement-canal pour les canaux de communication vocaux sécurisés en temps réel Résumé Les risques croissants de violation de la vie privée et d’espionnage associés à la forte crois- sance des communications mobiles ont ravivé l’intérêt du concept originel de chiffrement de la parole sous forme de signaux audio transmis sur des canaux vocaux non spécifiques. Les méthodes habituelles utilisées pour la transmission de données cryptées par téléphonie analo- gique se sont révélées inadaptées pour les communications vocales modernes (réseaux cellu- laires, V oIP) avec leurs algorithmes de compression de la voix, de détection d’activité vocale et de suppression adaptative du bruit. La faible bande passante disponible, les distorsions non linéaires des canaux et les phénomènes d’évanouissements du signal motivent l’introduction d’une approche conjointe du codage et du chiffrement de la parole adaptée aux distorsions in- troduites par les canaux vocaux modernes. Dans cette thèse sont développés, analysés et validés divers schémas sûrs et efficaces pour le chiffrement et la transmission de la parole en temps réel pour les canaux vocaux modernes. En plus du chiffrement de la parole, cette étude couvre les aspects sécurité et algorithmique de l’ensemble du système de communication vocale - aspects critiques d’un point de vue indus- triel. La thèse détaille un système de chiffrement de la parole associé à un codage avec perte, par brouillage aléatoire des paramètres vocaux (volume, hauteur, timbre) de certaines représenta- tions de la parole. En résulte un pseudo-signal vocal chiffré robuste aux erreurs ajoutées par les canaux de transmission modernes. La technique de chiffrement repose sur l’introduction de translations et rotations aléatoires sur des maillages de tores plats associés à des codes sphériques. Face aux erreurs de transmission, le schéma déchiffre approximativement les para- mètres vocaux et reconstruit, grâce à un synthétiseur vocal utilisant un réseau de neurones par apprentissage, un signal de parole perceptuellement très proche du signal d’origine. Le dispo- sitif expérimental a été validé par la transmission de signaux de type pseudo-voix chiffrés sur un canal vocal réel. Les signaux de parole déchiffrés ont été favorablement notés lors d’une évaluation subjective de qualité incluant environ 40 participants. La thèse décrit également une nouvelle technique de transmission de données sur canaux vo- caux en utilisant un dictionnaire d’ondes harmoniques courtes représentant les mots d’un code quaternaire. La technique fournit un débit binaire variable allant jusqu’à 6.4 kbps et a été testée avec succès sur différents canaux vocaux réels. Enfin, est présenté aussi un protocole d’échange de clés cryptographiques dédié pour les canaux vocaux authentifiés par signatures et vérifica- tion vocale. La sécurité du protocole a été vérifiée sous forme d’un modèle symbolique par l’assistant de preuve formelle Tamarin. L’étude conclut qu’une communication vocale sécurisée sur des canaux vocaux numériques réels est techniquement et de fait viable lorsque les canaux vocaux utilisés pour la communi- cation sont suffisamment stables et ne présentent que des distorsions prévisibles. Mots-clés : Communications vocales sécurisées, Données sur les canaux vocaux, Chiffrement de la voix, Codage conjoint de la parole, Vérification formelle, Sécurité sémantique. vi Joint source-cryptographic-channel coding for real-time secure voice communications on voice channels Abstract The growing risk of privacy violation and espionage associated with the rapid spread of mo- bile communications renewed interest in the original concept of sending encrypted voice as audio signal over arbitrary voice channels. The usual methods used for encrypted data trans- mission over analog telephony turned out to be inadequate for modern vocal links (cellular networks, V oIP) equipped with voice compression, voice activity detection, and adaptive noise suppression algorithms. The limited available bandwidth, nonlinear channel distortion, and signal fadings motivate the investigation of a dedicated, joint approach for speech encoding and encryption adapted to the distortion introduced by modern voice channels. This thesis aims to develop, analyze, and validate secure and efficient schemes for real-time speech encryption and transmission via modern voice channels. In addition to speech encryp- tion, this study covers the security and operational aspects of the whole voice communication system, as this is relevant from an industrial perspective. The thesis introduces a joint speech encryption scheme with lossy encoding, which randomly scrambles the vocal parameters of some speech representation (loudness, pitch, timbre) and outputs an encrypted pseudo-voice signal robust against channel distortion. The enciphering technique is based on random translations and random rotations using lattices and spherical codes on flat tori. Against transmission errors, the scheme decrypts the vocal parameters ap- proximately and reconstructs a perceptually analogous speech signal with the help of a trained neural-based voice synthesizer. The experimental setup was validated by sending encrypted pseudo-voice over a real voice channel, and the decrypted speech was tested using subjective quality assessment by a group of about 40 participants. Furthermore, the thesis describes a new technique for sending data over voice channels that re- lies on short harmonic waveforms representing quaternary codewords. This technique achieves a variable bitrate up to 6.4 kbps and has been successfully tested over various real voice chan- nels. Finally, the work considers a dedicated cryptographic key exchange protocol over voice channels authenticated by signatures and a vocal verification. The protocol security has been verified in a symbolic model using Tamarin Prover. The study concludes that secure voice communication over real digital voice channels is tech- nically viable when the voice channels used for communication are stationary and introduce distortion in a predictable manner. Keywords: Secure V oice Communications, Data over V oice Channels, V oice Encryption, Joint Speech Coding, Formal Verification, Semantic Security. vi Acknowledgements Undertaking this PhD has been a truly life-forming experience that broadened my horizons and profoundly changed my view of the world. However, it would not have been possible without many people who provided me the guidance and support. First of all, I am deeply grateful to the Agence de l’Innovation de Défense and the Direction Générale de l’Armement for the funding needed to pursue my research and the financial and administrative support when the future of my PhD project was at risk. I would like to sincerely thank my joint supervisors, Professor Bruno Martin and Dr.-Sc. Je- rome Lebrun, for being my real academic and life mentors. I cannot fully express my gratitude for your wise scientific guidance and your help in solving all the hurdles I encountered during my stu- dies. Thank you very much for every inspiring discussion, your encouraging words in challenging situations, and all your hard work until late night hours. I gratefully appreciate the work of my tutor Thierry Plesse from the Direction Générale de l’Armement, who supervised the progress of my research, and whose unwavering support enabled me to continue this PhD. I thank my former company advisor Arnaub Graube for his in-depth technical advice, his patience with explaining to me all the subtleties of engineering work, and for showing that solving any scientific problem does not end just by publishing a research article. I express my gratefulness to Professor Cheon Jung-Hee and Professor Park Hyung-Ju for in- viting me to Seoul National University. It was a great honor to work with you and a wonderful experience I will always keep in my memory. I would like to thank all the professors and researchers I had a pleasure to collaborate with during my work at I3S: Professor Enrico Formenti, Dr. MCF Cinzia Di Giusto, Dr. MCF Sandrine Julia, Dr. MCF Marie Pelleau, Professor Jean-Charles Régin, and the PhD students: Marie Baillet, Samvel Balassanian Dersarkissian, François Doré, Rémy Garcia, Loïc Germerie, Laetitia Gibart, Assia Kamal-Idrissi, Nicolas Isoart, Laetitia Laversa, Ninad Manerikar, Sara Riva, and Giulia Rocco. I appreciate all the time we spent together in a friendly atmosphere. Without your help and advice, my PhD would have been far incomplete. Many thanks to all my colleagues from I3S-CNRS and INRIA whom I met during my stu- dies: Dmitry Anisimov, Eva Gil San Antionio, Jean-Philippe Bauchet, Denys Bulavka, Fernando Ireta, Franco Fusco, Nicolas Girard, Jean-Marie Kai, Lyes Khacef, Ivana Kojcic, Muxingzi Li, Pedro Marinho, Timothée O’Donnel, Cédric Portaneri, Siddharth Pritam, Flora Quilichini, Miguel Romero, Melissa Sanabria, Méliné Simsir, Onur Tasar, Carlos Jorge Zubiaga Peña. I was truly impressed by the vibrant, diverse, and inclusive community you have built. It has made my PhD such an exciting experience. I offer my special thanks to Arnab Dey, Sardor Israilov, and Giulia Rocco for bringing hope during the sombre and solitary lockdown periods and helping me to re-discover the meaning of friendship. Finally, I would like to thank my dear Polish friends: Małgorzata Drozd, Nikodem Dymski, Pa- weł Młynarski, and Katarzyna Tomasiak, with whom I spent many joyful moments on discussing the specificities of the French life and on exploring the beautiful French Riviera. Publication List Journal papers — Krasnowski, P., Lebrun, J., and Martin, B. (2020). Introducing a Novel Data over V oice Technique for Secure V oice Communication. Submitted to Wireless Personal Communi- cations. Springer. Preprint: https://arxiv.org/abs/2102.10869. — Krasnowski, P., Lebrun, J., and Martin, B. (2021). Introducing an Experimental Distortion- Tolerant Speech Encryption for Secure V oice Communication. Submitted to Speech Com- munication, Elsevier. Preprint: https://arxiv.org/abs/2102.09809. Conference paper — Krasnowski, P., Lebrun, J., and Martin, B. (2020). Introducing a Verified Authenticated Key Exchange Protocol over V oice Channels for Secure V oice Communication. In 6th International Conference on Information Systems Security and Privacy (pp. 683-690). SCITEPRESS-Science and Technology Publications. DOI: 10.5220/0009156506830690. Posters — [ім’я автора приховано], Bruno Martin, Jerome Lebrun. Enciphered data/voice over real-time voice channels. European School of Information Theory (ESIT 2019), Apr. 2019, Sophia- Antipolis, France. <hal-02337668> — [ім’я автора приховано]. Introducing a Verified Authenticated Key Exchange Protocol over V oice Channels for Secure V oice Communications. 6th International Conference on Information Systems Security and Privacy, Feb. 2020, Valetta, Malta. <hal-03059639v2> Presentations — [ім’я автора приховано]. Joint source-cryptographic-channel coding real-time secured voice communications on voice channels. Summer School on Real-World Crypto and Privacy, Jun. 2019, Sibenik, Croatia. <hal-02337657> — [ім’я автора приховано]. Secure voice communications over voice channels. Seoul National Uni- versity, Dec. 2019, Seoul, South Korea. <hal-02561994> List of contents 1 Introduction 1 1.1 Problem outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Research rationale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 Origins of secure voice communications . . . . . . . . . . . . . . . . . . . . . . 3 1.4 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Data over V oice (DoV) technique . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Distortion-tolerant encryption of vectors on N-spheres . . . . . . . . . . 5 1.4.3 Distortion-tolerant speech encryption . . . . . . . . . . . . . . . . . . . 6 1.4.4 Authenticated Key Exchange over voice channels . . . . . . . . . . . . . 6 1.5 Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.6 Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 Speech processing and voice communications 9 2.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 The speech chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 Source-filter model and Linear Predictive Coding . . . . . . . . . . . . . . . . . 14 2.4 Psychoacoustics and perceptual speech coding . . . . . . . . . . . . . . . . . . . 19 2.5 V oice coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.1 Waveform coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.2 LPC coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.3 Perceptual coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.4 Low-bitrate parametric coders . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Digital voice channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3 Data transmission over voice channels 35 3.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.2 Digital voice channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.2.1 V oice channel characteristics . . . . . . . . . . . . . . . . . . . . . . . . 39 3.2.2 LPC coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3 Data over LPC voice coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 3.3.1 Multi-tone modulation over LPC voice coders . . . . . . . . . . . . . . 41 3.4 Proposed DoV technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.4.1 Codebook design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.5 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.5.1 Channel estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.5.2 Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.5.3 Real-world tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.6 Secure voice communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.6.1 Communication system . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 xi xii TABLE DES MATIÈRES 3.6.2 Security discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.6.3 Computational complexity . . . . . . . . . . . . . . . . . . . . . . . . . 58 3.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4 Distortion-tolerant encryption of vectors on N-spheres 61 4.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.2 Lattices and lattice packings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 4.2.1 Lattices and lattice packings . . . . . . . . . . . . . . . . . . . . . . . . 65 4.2.2 Special lattices and finding the closest lattice points . . . . . . . . . . . . 67 4.3 Spherical commutative group codes from lattices . . . . . . . . . . . . . . . . . 68 4.3.1 Spherical commutative group codes . . . . . . . . . . . . . . . . . . . . 68 4.3.2 Torus mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 4.3.3 Spherical commutative group codes from lattices . . . . . . . . . . . . . 70 4.4 Asymptotic secrecy of pseudo-random generators . . . . . . . . . . . . . . . . . 74 4.5 Distortion-tolerant encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 4.6 Enciphering using spherical codes . . . . . . . . . . . . . . . . . . . . . . . . . 77 4.6.1 Overview of the encryption scheme . . . . . . . . . . . . . . . . . . . . 77 4.6.2 Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4.6.3 Decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 4.6.4 Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 4.6.5 Decryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 4.6.6 Transmission over the Gaussian channel . . . . . . . . . . . . . . . . . . 85 4.7 Scrambling of image colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 5 Distortion-tolerant speech encryption 91 5.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.2 Speech encryption scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5.2.1 Speech encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.2.2 Enciphering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.2.3 Pseudo-speech synthesis . . . . . . . . . . . . . . . . . . . . . . . . . . 100 5.2.4 Signal transmission and analysis . . . . . . . . . . . . . . . . . . . . . . 103 5.2.5 Deciphering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 5.2.6 Speech resynthesis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.3.1 Security considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.3.2 Tolerance to signal distortion and large deciphering errors . . . . . . . . 109 5.3.3 Selection of bounds for the signal parameters . . . . . . . . . . . . . . . 111 5.3.4 The narrowband LPCNet training data . . . . . . . . . . . . . . . . . . . 112 5.4 Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 5.4.1 Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 5.4.2 Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 5.4.3 Speech quality evaluation . . . . . . . . . . . . . . . . . . . . . . . . . 122 5.4.4 Algorithmic latency and computational complexity . . . . . . . . . . . . 126 5.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 xii LIST OF CONTENTS xiii 6 Key exchange over voice channels 131 6.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 6.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 6.3 Key exchange protocols and symbolic security verification . . . . . . . . . . . . 136 6.3.1 Simple example of a protocol verification using Tamarin . . . . . . . . . 137 6.4 Protocol description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 6.4.1 Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 6.4.2 Symbolic model of the protocol . . . . . . . . . . . . . . . . . . . . . . 141 6.5 Formal verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 6.5.1 Protocol modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 6.5.2 Security properties and verification results . . . . . . . . . . . . . . . . . 143 6.6 Security considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 6.6.1 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 6.6.2 Possible attacks and threats . . . . . . . . . . . . . . . . . . . . . . . . . 146 6.6.3 Protocol with identity protection . . . . . . . . . . . . . . . . . . . . . . 148 6.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 7 Conclusion and Perspectives 151 Bibliography 157 Annexes A Authenticated Key Exchange Protocol . . . . . . . . . . . . . . . . . . . . . . . 183 B Authenticated Key Exchange Protocol with Identity Protection . . . . . . . . . . 192 xiii CHAPTER 1 Introduction 1.1 Problem outline The mainstreaming of mobile networks opens new possibilities for personal communication. Ho- wever, the rising numbers of reported privacy violations and cyber-espionage cases undermine confidence in the communication infrastructure. Another issue is inadequate security of many voice communication systems, such as GSM which encrypted voice traffic using the insecure A5/1 stream cipher with a 64-bit key [Biham and Dunkelman, 2000]. Low trust results in a growing need for alternative methods of securing vocal communication. This work addresses the issue of secure voice communications over untrusted voice channels. The procedure for establishing a secure vocal link is illustrated in Figure 1.1. In the first step, two users carrying dedicated devices initiate an insecure call using a preferred communication technique, like cellular telephony, V oice over Internet Protocol, or fixed-line telephone circuits. Then, the two devices securely acknowledge their cryptographic keys by sending binary messages over the voice channel, the same way as ordinary voice. Once the cryptographic key is computed and authenticated, the speakers can start a secure conversation. Each device encrypts speech in real-time into an incomprehensible noise and sends the encrypted signal over the channel. Upon reception, the paired device decrypts the signal and restores the initial voice. (a) Key exchange and authentication with short codes displayed on the devices. (b) Encrypted conversation. Figure 1.1 – Establishing a secure vocal link over a voice channel. The outlined communication scheme involved into sending the encrypted audio is more com- plicated than exchanging encrypted bits over digital packet networks. Modern voice channels aim at preserving speech intelligibility at an acceptable speech quality degradation. This goal is ac- complished by applying perceptual speech processing, such as voice compression, voice activity detection, and adaptive noise suppression. All these operations considerably modify the synthetic signal, hindering secure communication. 1 2 C HAPTER 1 — Introduction On the other hand, secure communication over voice channels is supposed to be more ver- satile because the encrypted audio signal can be made compatible with arbitrary communication infrastructure. Furthermore, the encrypted audio signal is more likely to pass through firewalls without being blocked [Lee et al., 2017]. Finally, the system can protect against spying malware installed on the portable device if speech encryption is done by an external unit [Krasnowski et al., 2020]. The mentioned advantages suggest that the proposed setting could be especially useful for diplomatic and military services, journalists, lawyers, and traders who require secure communica- tions in an unreliable environment and without confidential communication infrastructure. Conse- quently, the system should reflect high security requirements by elevating the level of secrecy, privacy, and authentication. 1.2 Research rationale Transforming speech into an encrypted signal is a multi-step process that consists of speech enco- ding, enciphering, appending redundancy for error protection, and signal synthesis. The classical and also the most straightforward approach is to treat each of these steps separately, as depicted in Figure 1.2. However, this approach is not suitable in secure voice communications because the information conveyed in speech is non-uniformly distributed in the time-frequency plane. Conse- quently, the system ignores the fact that some speech parameters are more relevant in terms of privacy and intelligibility, resulting in suboptimal bandwidth allocation and data protection. It is especially true in communication over a very low-bitrate vocal channel with distortion. Figure 1.2 – Separated processing chain in digital speech encryption. Firstly, the error-protection block does not prioritize the most relevant voice parameters needed to maintain the speech quality. In parallel, the speech encoder cannot be sensibly tuned to mitigate typical transmission errors introduced by the voice channel. Secondly, classical cryptographic algorithms are unsuitable for enciphering speech as they usually require error-less data for decryption. In the discussed setting, however, transmission er- rors are unavoidable. On the contrary, one may observe that perfect data decryption is not man- datory, and small imperfections are likely to be perceptually irrelevant. Consequently, it would be advantageous to design a cryptographic scheme aware of the channel constraints and the unequal importance of vocal parameters. The aforementioned interdependencies suggest that speech encoding, encryption, error- correction, and signal synthesis must be considered jointly. As a result, robust real-time com- munication over voice channels requires combining the processing blocks into a single unit, as shown in Figure 1.3. This thesis aims to develop, analyze, and validate secure and efficient schemes for real-time speech encryption and transmission via real voice channels in the form of pseudo-voice in the audio domain. This multi-domain study combines elements from the fields of audio signal pro- cessing, cryptography, cybersecurity, and error-correcting codes, encouraging the joint approach for speech encryption schemes with lossy encoding and resistant to the distortion introduced by digital voice channels. 1.3 – Origins of secure voice communications 3 In addition to developing algorithms for speech encryption, this study covers the relevant as- pects of the whole voice communication system from an industrial perspective. Cryptographic key management, key exchange protocols, and usage scenarios are important parts of this work. Figure 1.3 – Joint source-cryptographic-channel coding of speech. 1.3 Origins of secure voice communications The history of secure voice communications is marked by various inventions that progressively shaped our modern understanding of secure communications. The first ‘secure’ speech scrambler patented in 1881 alternated speech signal between multiple telephone circuits at a high rate [Ro- gers, 1881]. The system did not offer high protection, and until the First World War was replaced by analog frequency inverters making the speech signal incomprehensible for an ordinary listener (Figure 1.4). Again, it turned out that trained operators could understand inverted speech, effec- tively breaking the secrecy of communication [Kak, 1983]. In the third attempt, engineers added analog band splitters for permuting speech subbands, as shown in Figure 1.5. The A-3 splitter installed by AT&T in 1937 for radiotelephone service used five subbands with 5!· 25 = 3840 combinations of permutations and inversions. However, only 11 codes were considered suitable for privacy, which was far too low to resist cryptanalysis [Kahn, 1996]. Figure 1.4 – Frequency inverter in which speech is band limited. Figure 1.5 – Bandsplitting, and band permuta- tion with band inversions. The progress in analog speech scrambling moved towards higher permutation complexity and reached maturity by introducing sequentially updated time-frequency segment permutations (TFSP) [Jayant et al., 1983]. In these systems, speech was scrambled by combined time and fre- quency permutations using permutation matrices. Moreover, the matrices were frequently updated according to a random sequence to improve robustness to cryptanalysis. Despite these efforts, novel analog speech scramblers were consistently broken during the wartime period and later [Goldburg et al., 1993, Kahn, 1996, Zhao et al., 2007, Ghasemzadeh et al., 2014]. Another family of analog speech scramblers altered speech with additive or multiplicative masking noise that could be filtered out at the unscrambler (Figure 1.6) [Sugar, 1974,MacKinnon, 1980]. First systems superimposed masking tones or white noise [Sivian, 1928], whereas more advanced systems used chaotic maps [Kocarev et al., 1992]. Unfortunately, transmission errors and imperfect filters significantly degraded the speech quality at the receiving end. In consequence, designers faced a negative tradeoff between speech quality and secrecy. 4 C HAPTER 1 — Introduction The limitations of analog speech scrambling encouraged engineers to experiment with digital speech encryption. The inspiration was the famous Vernam cipher patented in 1919 [Vernam, 1919, Vernam, 1926], the electronic realization of an unbreakable ‘one-time pad’ used during the First World War for telegram communication. The initial idea was to encipher a digital representation of the speech samples with a random digital keystream (Figure 1.7) [MacKinnon, 1980]. While highly secure, the technique required wide bandwidth (12-18 kbps), error-less digital channels, which were prohibitively expensive at that time. The technical challenge remained unresolved until the late 30s when first voice coders (vocoders) were proposed [Dudley, 1939]. V ocoders enabled speech compression and reduction of encrypted data to be send. Figure 1.6 – Speech masking. Figure 1.7 – Digital speech enciphering. Probably the first secret telephony system using a vocoder was SIGSALY 1 (‘X-System’), constructed in 1943 for secure communication during the Second World War [Bennett, 1983]. Figure 1.8 illustrates the block diagram of the transmitting part. The input speech was filtered by ten band splitters distributed nearly uniformly over the 150-3000 Hz range. The amplitudes of filtered streams were sampled by a six-level non-uniform quantizer, resulting ten trains of numbers between 0 and 5. Parallelly, a separate unit performed a two-step pitch prediction. The output was two numbers between 0 and 5 representing the coarse pitch value and the pitch refinement, or a single voicing bit. The twelve trains of encoded values were independently enciphered with twelve trains of ran- dom six-valued numbers by a modulo-6 addition. The random numbers were obtained by conti- nuously sampling white noise generated by a hot gas tube, based on the one-time-pad principle. The result of enciphering were twelve trains of randomly-looking numbers. The last step of speech encryption involved signal synthesis. Each of the twelve trains had an assigned subchannel in the telephone band. Data transmission was done by modulating twelve fre- quency carriers, each carrier occupying one subchannel. The encoding and enciphering operations were repeated every 20 milliseconds, resulting in the 3.6 kbps transmission bitrate. Figure 1.8 – Block diagram of a SIGSALY transmitter. 1. https://www.nsa.gov/about/cryptologic-heritage/historical-figures- publications/publications/wwii/sigsaly-story/ 1.4 – Contributions 5 A successful deployment of SIGSALY , sometimes viewed as one of the most outstanding technical achievement, marked the beginning of the vocoder era in secure voice communications. Over the years, as more data bandwidth became available, the quality of speech synthesis was improved, and the price of computing units went down, vocoder-based speech communication became the predominant technique in the military and civilian applications. Around 1972, there were first attempts to replace secure voice communication over fading telephone lines with packet networks [Forgie, 1975], paving the way to modern secure V oIP communication. 1.4 Contributions 1.4.1 Data over Voice (DoV) technique In Chapter 3, we propose a novel technique for data transmission over digital voice channels with Linear Predictive Coding (LPC), such as cellular networks and V oIP. The technique relies on codebooks of short waveforms with 7-10 phase-modulated harmonics over the 0 to 4 kHz audio band. The solution’s novelty comes from the simplified codebook building process, which uses short quaternary error correction codes to determine appropriate phases of the harmonics. Moreover, the structure of the codebook of symbols enables many computational optimizations at the receiving side and partial compensation of channel distortion. The method is more versatile than other data transmission techniques over digital voice channels, often trained to a specific channel model. The possibility of variable transmission rate up to 6.4 kbps gives control over the robustness against channel distortion. The DoV technique has been successfully validated in experiments with mobile phones and real-world voice channels (3G networks, WhatsApp, Skype, FaceTime, Signal Messenger). We achieved robust data transfer up to 2.4 kbps over 3G networks and 6.4 kbps over V oIP. The high throughput and the robustness enabled transmission of encrypted speech in a setting simulating real-time communication. As a result, the proposed method can be used in cryptographic key exchange and secure voice communications over voice channels. The work has been presented in the article ‘Introducing a Novel Data over V oice Technique for Secure V oice Communication’ and submitted to the journal of Wireless Personal Communications, Springer. 1.4.2 Distortion-tolerant encryption of vectors on N-spheres In Chapter 4, we describe a new method of enciphering unit vectors on a hypersphere that is robust against transmission error. The technique exploits spherical group codes and rotations from a commutative group of orthogonal matrices introduced by Slepian [Slepian, 1968] in the new context of securing data. The scrambled data are indistinguishable from uniformly distributed noise in the presence of an eavesdropper when the matrices are selected according to a secure pseudo-random sequence with fresh secret seed. The presented encryption scheme decrypts data approximately despite channel distortion. It makes the scheme suitable for protecting voice or images in real-time applications that priori- tize robustness over representation’s fidelity. To describe the scheme’s ability to decrypt mildly distorted ciphertexts, we defined a new notion of distortion-tolerant encryption. 6 C HAPTER 1 — Introduction The enciphering technique is an essential building block in the experimental speech encryption scheme described later in Chapter 5. The scheme is used to securely scramble multi-dimensional spectral envelopes, which are responsible for speech timbre perception. 1.4.3 Distortion-tolerant speech encryption In Chapter 5, we present a novel distortion-tolerant speech encryption scheme for secure voice communications over voice channels that combines the robustness of analog speech scrambling and a higher security level offered by digital ciphers. The system scrambles vocal parameters of a speech signal (loudness, pitch, timbre) using random translations and the previously mentioned random rotations on a hypersphere of parameters. In the next step, randomized parameters are encoded to a pseudo-speech signal adapted to transmission over digital voice channels equipped with voice activity detection. The use of translations and rotations in enciphering makes the speech decryption algorithm tolerant against moderate channel distortion. Upon reception of some pseudo-speech signal, the receiver restores distorted copies of the initial vocal parameters. Despite some deciphering errors, an integrated neural-based vocoder based on the LPCNet architecture [Valin and Skoglund, 2019] reconstructs an intelligible speech. The experimental implementation of this speech encryption scheme has been tested by simu- lations and sending an encrypted signal over FaceTime between two iPhones 6 connected to the same WiFi network. Moreover, speech excerpts restored from encrypted signals were evaluated by a speech quality assessment on a group of about 40 participants. The experiments demonstra- ted that the proposed scheme produces intelligible speech with a gracefully progressive quality degradation depending on the channel distortion. Finally, the preliminary computational analysis suggested that the presented setting may operate on high-end portable devices in nearly real-time. 1.4.4 Authenticated Key Exchange over voice channels In Chapter 6, we designed a two-party authenticated key exchange (AKE) protocol for secure voice communication over fading voice channels. The protocol does not require any reliable data- driven side-channel nor a remote trusted party like a Certificate Authority (CA). The protocol is based on the Ephemeral Elliptic Curve Diffie-Hellman key exchange and provides a flexible double authentication mechanism with cryptographic signatures, and Short Authentication Strings (SAS) pronounced aloud by the users. Considerable protocol simplifications lead to robustness against signal fading and message dropouts. The protocol’s security properties were successfully verified in a symbolic model using Ta- marin Prover [Meier et al., 2013], a cryptographic protocol verification tool. Formal symbolic verification can be considered as the first important step in evaluating the protocol security. Pa- rallelly, the work emphasizes some practical aspects of the cryptographic key exchange such as user-friendliness, easiness of implementing, and resilience against adversarial attacks. The protocol and the symbolic verification in Tamarin Prover were published in ‘Introducing a Verified Authenticated Key Exchange Protocol over V oice Channels for Secure V oice Commu- nication’ at the 6th International Conference on Information Security and Privacy [Krasnowski et al., 2020]. 1.5 – Organization 7 1.5 Organization Figure 1.9 – Flow diagram of the manuscript. Chapter 2 reviews the principles of speech parametrization, speech synthesis, and digital voice communication, which help to understand some challenges related to secure communi- cations over voice channels. The investigation revealed that many real voice channels (cellular networks, V oIP) rely on Linear Predictive Coding (LPC), inspiring the robust DoV technique pre- sented in Chapter 3. Furthermore, the analysis of various speech coding techniques concluded that achieving error-less data transmission over general voice channels is very unlikely. This result motivated the work on distortion-tolerant encryption techniques in Chapter 4 and Chapter 5. Fi- nally, the characterization of cellular networks and V oIP highlighted their susceptibility to signal dropouts, which encouraged designing a robust AKE protocol detailed in Chapter 6. Chapter 3 describes the DoV technique based on codebooks of harmonic waveforms. The technique description is preceded by an examination of the typical signal distortion introduced by a selection of LPC coders. This chapter details an efficient codebook design method using qua- ternary codes and derives a demodulation rule with distortion compensation. Transmission perfor- mance over cellular networks and V oIP is presented and discussed. Finally, the chapter outlines an experimental secure voice system using DoV and proposes a technique countering voice activity detection by repetitive silence insertion. Chapter 4 details the distortion-tolerant encryption scheme for scrambling spherical data using commutative spherical group codes. The chapter starts by recalling the fundamental theory of lattices, spherical codes, and secure pseudo-random generators. The chapter then introduces the notion of distortion-tolerant encryption that describes the system’s capability to decipher distorted ciphertexts approximately. 8 C HAPTER 1 — Introduction The encryption scheme using spherical codes is thoroughly detailed. The chapter explains the computational indistinguishability of encryptions in the presence of an eavesdropper when the source of randomness is a secure pseudo-random number generator (PRNG). For illustration, the chapter finishes with a toy example of distortion-tolerant color scrambling of an RGB image. Chapter 5 introduces the distortion-tolerant speech encryption scheme. The chapter details all processing steps, including speech encoding, enciphering, pseudo-speech synthesis, and final speech reconstruction using so-called LPCNet voice synthesizer based on Machine Learning. Fur- ther, the chapter investigates the security, operational, and computational aspects of the system. Finally, it presents the results of some simulations and a speech quality assessment. Chapter 6 presents the authenticated key exchange protocol over fading voice channels. The chapter enlists the security requirements posed by secure voice communication systems and dis- cusses some typical use cases. Moreover, the chapter briefly describes a symbolic protocol verifi- cation in Tamarin Prover from the user perspective. The protocol properties and verification results are thoroughly discussed. Chapter 7 concludes the manuscript and gives prospects for future work. 1.6 Highlights My PhD started in December 2017 as a DGA 2 CIFRE 3-Defense fellowship at the cyber- security startup BlackBoxSécu in Sophia Antipolis, France, and in cooperation with I3S4-CNRS 5 and the Université Côte d’Azur, France. The project was co-funded by BlackBoxSécu and the DGA grant No 01D17022178. During my PhD at BlackBoxSécu, I helped with developing a stand-alone device for speech encryption that could be connected to a mobile phone in tandem, and would enable a secure com- munication over voice channels. This application-oriented study resulted in a new Data over V oice technique and an optimized Authenticated Key Exchange protocol over voice channels, both des- cribed in this manuscript. In December 2019, I was a visiting student at the group of Prof. Cheon Jung-hee at Seoul National University, South Korea, where I had a great pleasure to observe the cutting-edge research on homomorphic encryption, and to exchange valuable ideas. In February 2020 my DGA CIFRE-Defense grant was converted to a fully academic PhD at I3S and the Université Côte d’Azur due to some financial difficulties faced by BlackBoxSécu. The studies were funded by AID6 from the grant No SED0456JE75. Starting from that moment, I moved my attention towards more theoretical aspects of my project, which was a new distortion- tolerant speech encryption scheme using spherical commutative group codes. 2. Direction Générale de l’Armement 3. Conventions Industrielles de Formation par la Recherche 4. https://www.i3s.unice.fr/ 5. http://www.cnrs.fr/ 6. Agence de l’Innovation de Défense CHAPTER 2 Speech processing and voice communications Secure voice communication over voice channels encompasses three technical problems associated with speech processing: ensuring conversation secrecy, maintaining high speech quality at the reception side, and enabling robust and low-latency signal trans- mission via vocal channels. These seemingly different topics should be considered jointly due to severe constraints posed by voice channels, which operate differently than tradi- tional data-driven communication channels. This chapter provides some essential background for understanding challenges related to secure voice communication over voice channels. The chapter reviews the principles of speech parametrization, speech synthesis, and digital voice communication. Further- more, it gives a general overview of popular voice coding techniques, briefly characte- rizes vocal channels, and points out some relevant state-of-the-art solutions. The chapter concludes with some guiding rules for designing a robust communication system over voice channels. 2.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 The speech chain . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 Source-filter model and Linear Predictive Coding . . . . . . . . 14 2.4 Psychoacoustics and perceptual speech coding . . . . . . . . . . 19 2.5 Voice coders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.1 Waveform coders . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.2 LPC coders . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.3 Perceptual coders . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.4 Low-bitrate parametric coders . . . . . . . . . . . . . . . . 28 2.6 Digital voice channels . . . . . . . . . . . . . . . . . . . . . . . . 30 2.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9 2.1 – Motivation 11 2.1 Motivation The secure voice communication setting considered in this study involves sending a synthetic signal with data using some voice-oriented application. This seemingly simple problem, however, turns out to be rather challenging. For example, Figure 2.1 illustrates a received and recorded synthetic signal sent between two mobile phones through WhatsApp. The signal consisted of eight phase-modulated harmonics in the 0.4-3.2 kHz range with short repeated synchronization tones at 3.6 kHz. Harmonics were modulated using traditional Phase-Shift-Keying (PSK) modulation, and carried some binary information. After a few seconds of transmission, WhatsApp suppressed these modulated harmonics and significantly amplified the synchronization tones instead. The binary data encoded into harmonics were irreversibly lost. This experiment revealed that real-world digital voice channels cannot be considered as classi- cal communication channels. V oice channels aim at preserving speech intelligibility, which is quite a different goal than of data-driven channels. Consequently, voice-oriented applications perform complex processing that may completely disarrange the fine time-structure of the input signal. V oice channels are the primary limiting factor for a secure communication system. The pseudo-speech signal must conform with the speech model implemented in a particular voice channel, otherwise risking signal distortion or suppression. Moreover, some channel characteris- tics (e.g., audio bandwidth, signal compression ratio, latency) limit the available data throughput for sending encrypted speech. Consequently, robust communication is possible only if the avai- lable channel throughput (i.e., determined by compression bitrate) is sufficiently high. 0 2 4 6 8 10−215 −214 0 214 215 time (s) 0 2 4 6 8 100 1 2 3 4 time (s) frequency (kHz) Figure 2.1 – Received and recorded signal sent over the WhatsApp application presented in the time domain (left) and the time-frequency domain (right). The signal consisted of eight phase-modulated harmonics in the 0.4-3.2 kHz range and short repeated synchronization tones at 3.6 kHz. After a few seconds of the transmission, WhatsApp suppressed the phase-modulated part of the signal and amplified synchronization tones. This chapter reviews the principles of speech coding and communication and gives some es- sential background needed to answer the three questions: how modern voice channels process and transmit the input signal, how to produce pseudo-speech that conforms with digital voice channels, and what speech data to protect. The chapter outlines speech production and perception mecha- nisms that underlie speech parameterization, speech compression, and speech synthesis. Further- more, it focuses on the core elements and parameters of 2G/3G cellular networks and V oice over Internet Protocol (V oIP), which are anticipated to cover most usage scenarios for the secure voice system. 12 C HAPTER 2 — Speech processing and voice communications This chapter is organized as follows. Section 2.2 recalls the speech chain concept, helpful in understanding speech processing paradigms. Section 2.3 describes the source-filter speech pro- duction model and the speech encoding method based on Linear Predictive Coding. Section 2.4 focuses on the auditory system and perceptual speech parametrization. Section 2.5 overviews four prominent voice coding families: waveform coders, LPC coders, perceptual coders, and parametric coders, which are widely adopted in digital voice communications and can be used in speech en- cryption with lossy encoding. Moreover, the section enlists possible speech synthesis methods, in- cluding autoregressive-moving-average (source-filter) synthesis, sinusoidal speech synthesis, and synthesis using trained neural networks. Finally, Section 2.6 briefly characterizes voice channels in cellular networks and V oIP with an emphasis on operational constraints (delay, bandwidth, re- liability) and algorithms such as V oice Activity Detection (V AD), Adaptive Gain Control (AGC), and Noise Suppression (NS). Section 2.7 summarizes the chapter. 2.2 The speech chain The speech signal is an acoustic, analog waveform that conveys some encoded message and is used in natural human communication [Benesty et al., 2008, Chap. 1, Rabiner and Schafer, 2011, Chap. 1]. Apart from the linguistic content, speech provides much paralinguistic informa- tion such as the speaker’s identity [Furui, 1996, Campbell, 1997], age and gender [Ptacek and Sander, 1966, Childers and Wu, 1991, Metze et al., 2007, Li et al., 2013], emotions [Nwe et al., 2003, V ogt and André, 2006], and the linguistic origin [Hanani et al., 2013, Kolly and Dellwo, 2014]. From a security standpoint, all this information is considered sensitive and must be protec- ted by the speech encryption system. If protection of some paralinguistic information becomes too burdensome for the system (for example, due to insufficient bandwidth), this information should be suppressed rather than leaked. The linguistic and paralinguistic information conveyed in the speech signal may be seen as a multi-step speech production process, shown in Figure 2.2. Speech production involves an abstract message formulation, language-level representation, and physiological articulation. These enco- ding steps add natural redundancy that robustifies communication in a noisy environment. The speech signal captured at the ear is decoded in the reversed order. Firstly, the auditory system per- forms a spectral analysis of the received speech and extracts the spectral features. In the next step, the auditory nerves forward the spectral information to the brain, which recognizes particular pho- nemes, and forms words and sentences. Finally, the brain translates the linguistic representation into the initial message [Rabiner and Schafer, 2011, Chap. 1]. These combined speech production and perception processes are called the speech chain [Denes and Pinson, 1993]. The speech chain intuitively describes the information flow in vocal communication. The ini- tial message formulation, described as a product of the syllable-level information density (in bits/ syllable) and the average utterance speed (in syllables/second), is done approximately at the rate of 39 bps [Coupé et al., 2019]. This estimated value is believed to reflect the neurocognitive capa- bilities of the human brain and be independent of the speaker’s language. Another approach is to represent the message as a sequence of phonemes. For example, the English phonological system consists of 42 phonemes [Cohen, 1971] where each phoneme could be encoded with 6 bits. As- suming an average utterance speed of 10 phonemes/seconds, we obtain 60 bps of the information rate [Ramasubramanian and Doddala, 2015]. Appending the minimum prosodic information (e.g., duration, intensity, intonation) also adds some redundancy [Rabiner and Schafer, 2011, Chap. 1]. 2.2 – The speech chain 13 Figure 2.2 – Diagram of speech production and perception. Speech articulation transforms the discrete message into the analog, continuous domain. The slowly moving articulatory system needs about 100 ms to significantly change the produced soun- d’s characteristic [Gay et al., 1974, Tasko and Westbury, 2004, Flanagan, 1972]. The result of speech articulation is a speech signal that could be represented as a sequence of speech samples. Since the audible spectrum ranges between 20 Hz to 20 kHz (the upper bound drops somewhat in adulthood) [Purves et al., 2018, Chap. 13], one may assume the ‘CD-quality’ sampling rate of 44.1 kHz and 16-bit quantization. The data rate of such sampled signal goes up to 705 kbps. Interestingly, there is growing evidence for some physical correlation between the production and perceptual systems [Miller et al., 1986, Wilson et al., 2004, Ackermann et al., 2007]. Thus, it is believed that the information rates associated with respective speech production and perception steps are comparable to each other [Rabiner and Schafer, 2011, Chap. 1]. The last important element of the speech chain is the transmission channel. In natural conver- sation, the channel is a noisy acoustic connection between the speaker and the listener. In long- distance communication, an acoustic speech signal is transduced to electric intensity and sent in the analog or the digital domain over the network. Modern digital voice channels encode and compress speech signals to reduce the data to send. Again, the speech chain provides a good outline of strategies for extracting relevant information from the speech signal. For instance, increasingly popular speech-to-text applications mimic the whole speech perception process, firstly converting the speech signal into a sequence of features, and then mapping these features into phonemes, syllables, and finally into full words [Huang et al., 2001, Chap. 9, Gold et al., 2011, Chap. 22-24, Rabiner and Schafer, 2011, Chap. 14]. However, building highly abstract representations of the speech signal requires some computational effort and introduces a significant processing delay. Thus, coding algorithms intended for real-time voice communications are mostly inspired by physiological voice production and perception mecha- nisms. The same processing constraint applies to securing speech and to producing an encrypted pseudo-speech signal in real-time. 14 C HAPTER 2 — Speech processing and voice communications 2.3 Source-filter model and Linear Predictive Coding One of the most efficient techniques used in real-time voice compression (and hence popular in vo- cal communications) takes inspiration from the mechanism of speech production by phonatory and articulatory systems, illustrated in Figure 2.3. The phonatory system, consisting of lungs, a larynx, and vocal cords, is responsible for producing excitation sound. The role of articulatory organs - a lower jaw, a velum, a tongue, and lips - is to change the shape of avocal tract, which begins at the opening of the glottis, and then continues through a pharynx, oral and nasal cavities, and finishes at lips and nostrils [Benesty et al., 2008, Chap. 2, Rabiner and Schafer, 2011, Chap. 3, Bäckström, 2017]. Figure 2.3 – Phonatory and articulatory systems. Krasnowski. According to the source-filter model of speech [Müller, 1840,Fant, 1960,Kelly and Lochbaum, 1962], voice production starts with the air pushed out by the lungs and flowing through the vocal cords located in the larynx. When the vocal cords are tense, the air pressure causes the organ to open and close in a quasi-periodic manner. As a result, the vibrating vocal cords generate pulse- shaped buzzing sound. The cords’ tension and size, combined with the airflow speed, control the sound frequency. Then, the buzzing excitation propagates through the vocal tract, where it is spectrally and temporarily shaped. A continuous movement of the tongue, the teeth, and the lips change the tract’s transfer function, resulting in different sounds emitted by the speaker. The size and the shape of the tract may significantly differ between each person, resulting in the unique prosodic voice characteristics that enable speaker identification. Table 2.1 lists ranges of the sound frequency produced in glottis for male, female and child speakers [Rabiner and Schafer, 2011, Chap. 3], and Table 2.2 describes the average size of the vocal tract [Fitch and Giedd, 1999]. Table 2.1 – The range of frequencies (pitch periods) produced in glottis by male, female and child speakers [Rabiner and Schafer, 2011, Chap. 3]. Minimum Average Maximum Male 80 Hz (12.5 ms) 125 Hz (8.0 ms) 200 Hz (5.0 ms) Female 149 Hz (6.7 ms) 227 Hz (4.4 ms) 345 Hz (2.9 ms) Child 200 Hz (5.0 ms) 303 Hz (3.3 ms) 500 Hz (2.0 ms) 2.3 – Source-filter model and Linear Predictive Coding 15 Table 2.2 – The average ‘curved’ lengths (in millimeters) of lip, tongue blade, tongue dorsum, velum and pharynx in male, female and child speakers [Fitch and Giedd, 1999]. Lip Blade Dorsum Velum Pharynx Total Male 14.5 25.5 26.8 34.0 60.4 161.2 Female 12.8 24.8 24.6 37.2 46.9 146.4 Child (5-10) 13.5 20.0 22.6 27.5 35.7 119.5 The sound characteristics produced by the vocal cords and the moving vocal tract can be well observed on a spectrogram (Figure 2.4). The voiced parts of the signal have a clear harmonic structure, with the harmonics located at the multiples of the fundamental frequency of excitation. On the contrary, the unvoiced signal resembles noise of intensity concentrating at higher frequen- cies. The darker lines in the spectrogram correspond to formants, the tract’s resonant frequencies. When the articulatory organs are moving, formants are continuously changing their position and amplitude. In practice, variation and relative position of formants are crucial in phonemic classifi- cation [Lindblom and Studdert-Kennedy, 1967, Syrdal and Gopal, 1986]. Figure 2.4 – Spectrogram of the recorded speech signal. In speech coding, the outlined speech production system is often approximated by a simplified, discrete-time model illustrated in Figure 2.5. According to the model, speech production consists of two distinct elements: a discrete-time excitation (source signal) generator and a filtering transfer function. The latter element represents the combined effect of the glottal pulse shaping, the vocal tract, and radiation at the lips [Rabiner and Schafer, 2011, Chap. 3]. An excitation signal can take two different forms, depending on whether a generated sound is classified as voiced or unvoiced. When the sound is voiced, the excitation generator simulates vibrating vocal cords and produces an impulse train (Dirac comb) with a specified period. In another case, the generator outputs white noise. The resulted excitation signal is amplified by some gainG. Derivation of the correct tract transfer function is challenging because it requires the exact knowledge of the transient tract shape and the soft tissue covering. Instead, the vocal tract is approximated by N concatenated lossless tubes, as illustrated in Figure 2.6. Then, the transfer 16 C HAPTER 2 — Speech processing and voice communications Figure 2.5 – Simplified discrete-time, source-filter model for speech synthesis. function V(z) representing the vocal tract (without the glottal shaping and the lips radiation) takes the form of theN-pole filter with coefficientsa1, ..., aN: V(z) = 1 1−∑N k=1akz−k. (2.1) The function V(z) is experimentally extended to an all-pole transfer function H(z) with 12-16 coefficients to include effects introduced by the glottal shaping, the nasal cavity, and the lips ra- diation: H(z) = 1 1−∑p k=1akz−k. (2.2) In real-world applications, the transfer function H(z) is usually not known a priori. It is pos- sible to estimate H(z) and the excitation signal from the sampled speech signals[n] in the process called linear prediction analysis. The big success of linear prediction popularized the term ‘linear predictive coding’ (LPC) when referring to all speech processing techniques based on the linear source-filter model shown in Figure 2.5 [Rabiner and Schafer, 2011, Chap. 9]. Figure 2.6 – Lossless acoustic tube model of a vocal tract. Krasnowski. Assuming that the recorded speech follows the source-filter model shown in Figure 2.5 with the excitationu[n] and the all-pole filter H(z) described by coefficientsa1, ..., ap, discrete-time speech sampless[n] can be expressed using the difference equation: s[n] = p∑ k=1 aks[n−k] +Gu[n]. (2.3) Thus, H(z) acts like a linear prediction filter. Since the true values of the coefficients ak and the excitation samplesGu[n] are not known beforehand, the prediction algorithm searches coefficients αk such that the prediction errore[n] (the residual) has the minimum energy∑ ne2[n]: 2.3 – Source-filter model and Linear Predictive Coding 17 s[n] = p∑ k=1 αks[n−k] +e[n]. (2.4) The resulting coefficients αk and the residual e[n] are assumed to be the true coefficients ak and the excitationGu[n], respectively. In practical realizations, the algorithm processes only short portions of the speech signal, as- sumed to be stationary [Elliott and Theunissen, 2009]. For the speech interval of length L and starting at ˜n, sampless˜n[ℓ] used in the prediction analysis have the following form: s˜n[ℓ] =s[ℓ + ˜n]w[ℓ], ℓ = 0,...,L − 1, (2.5) wherew[ℓ] is the Hamming window centered at⌊L/2⌋ and equal to 0 outside 0,..., L− 1. In such a case, the prediction algorithm aims at minimizing the residual energy over the interval: E˜n = L−1+p∑ ℓ=0 ( s˜n[ℓ]− p∑ k=1 αks˜n[ℓ−k] )2 . (2.6) The minimization of E˜n has a unique solution. Taking the partial derivatives ∂E˜n/∂αi for i = 1, ..., p, and equating them to 0 givesp linear equations withp unknowns: L−1+p∑ ℓ=0 s˜n[ℓ−i]s˜n[ℓ] = p∑ k=1 αk L−1+p∑ ℓ=0 s˜n[ℓ−i]s˜n[ℓ−k], 1≤i≤p. (2.7) Equations 2.7 can be efficiently solved by the Levinson-Durbin algorithm [Makhoul, 1975]. With the H(z) finally obtained, the signal residual e[n] is further processed to compute the gainG and estimate the harmonicity ratio (voicing). When the signal is sufficiently harmonic, the speech encoder estimates the pitch period. Otherwise, the excitation is replaced with white noise. The two-level excitation model is sufficient for typical vocal sounds. For instance, Figures 2.7 and 2.8 present residual signals obtained from LPC analysis of the real vowel/e/ and the fricative /s/ recordings. It can be noticed that the residual of the voiced vowel is similar to a pulse train and the residual of the unvoiced fricative resembles noise. 0 20 40 60 80 100 −212 0 212 time (ms) 0 20 40 60 80 100 −212 0 212 time (ms) Figure 2.7 – LPC analysis of vowel /e/: (left) time-domain waveform, (right) filtering residual obtained with the 12th order LPC filter. 18 C HAPTER 2 — Speech processing and voice communications 0 20 40 60 80 100 −211 0 211 time (ms) 0 20 40 60 80 100 −211 0 211 time (ms) Figure 2.8 – LPC analysis of fricative/s/: (left) time-domain waveform, (right) filtering residual obtained with the 12th order LPC filter. Figure 2.9 displays the LPC filter frequency response obtained from a linear predictive analysis of vowel /e/. The filter phase response is highly nonlinear, whereas magnitude has distinguishable resonances corresponding to the vowel’s formants. Despite its simplicity, linear predictive coding achieves satisfactory results in representing speech signals at medium bitrates (4-16 kbps). In consequence, LPC became a popular technique in voice communication systems, including cellular networks and V oIP. For this reason, it seems natural that the encrypted pseudo-speech used in secure communication must fit into the source- filter speech model and be robust against LPC processing. For example, linear filtering is likely to change the complex spectral profile of the transmitted signal. The crucial question is how a particular voice channel corrupts unvoiced residuals. When the coder replaces unvoiced sounds with synthetic white noise, information encoded into an encrypted signal can be irreversibly lost. Fortunately, a majority of voice coders adopted in digital communications do not replace noisy residuals entirely. Instead, coders often apply sophisticated encoding techniques in order to re- present the residual faithfully. In practice, the encoding method of the residual determines the distortion characteristics introduced by the voice channel. A more detailed characterization of LPC-based voice channels and some strategies for produ- cing conforming pseudo-speech signal is covered in Chapter 3. 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0-60 -30 0 30 60 frequency (kHz) magnitude (dB) −π −3π/4 −π/2 −π/4 0 angle (rad) Figure 2.9 – Magnitude (blue line, left y-axis) and phase (red line, right y-axis) response of the LPC filter of order 12, obtained by the LPC analysis of vowel/e/. 2.4 – Psychoacoustics and perceptual speech coding 19 2.4 Psychoacoustics and perceptual speech coding An alternative method to encode speech relies on the psychoacoustic properties of the human auditory system. Unlike source-filter modeling, which simulates the voice production, perceptual speech coding aims at preserving signal information relevant for the listener. This approach is the one underlying general audio coding as done in MPEG-2 Audio Layer III (MP3) [ISO/IEC, 1998], and Advanced Audio Coding (AAC) [ISO/IEC, 2006]. Speech perception is determined primarily by the physiological processing of sound captured by the pinna. The processing starts at the eardrum, which transforms acoustic pressure waves into mechanical vibrations. Next, the vibrations are transduced by the adjoint auditory ossicles (malleus, incus, and stapes) and transmitted through the oval window to the cochlea. Inside this snail-shaped organ filled with fluid, the mechanical vibrations produce multiple resonances at different longitudinal locations corresponding to specific frequency components (Figure 2.10). Finally, the frequency-sensitive hair-cell sensors distributed along the basilar membrane detect the resonances and trigger the generation of electric pulses transmitted to the brain by the auditory nerve. Figure 2.10 – Simplified model of the cochlea and the cochlea longitudinal frequency distribution. The basilar membrane may be seen like a bank of non-linear filters transforming the time- domain signal into its short-time spectral representation [Rabiner and Schafer, 2011, Chap. 4, Gold et al., 2011, Chap. 14, Fastl and Zwicker, 2006]. The frequency response of the membrane is often compared to a set of intensity-sensitive, overlapping bands. The number and widths of the filters have been estimated experimentally [Kiang and Moxon, 1974], leading to the idealized concept of 24 critical bands [Fastl and Zwicker, 2006] that covers the audible band in average adults. Ac- cording to the model, the bands are approximately constant below 500 Hz and are logarithmically widening at higher frequencies. The non-linear band distribution is usually represented in the Bark scale, which numbers center frequencies of bands by integers from 1 to 24 (Table 2.3). The Bark scale approximates the octave-based perception of notes [Kallman, 1982]. The auditory filter-bank model is extensively used in perceptual speech coding for represen- ting the short-time speech spectrum. To improve encoding efficiency, speech perception models consider non-linear sound perception and temporal/frequency masking [Lyon, 1982, Kubin and Kleijn, 1999]. 20 C HAPTER 2 — Speech processing and voice communications Table 2.3 – Bark scale critical bands [Fastl and Zwicker, 2006]. Bark Center Freq. (Hz) Bandwidth (Hz) Bark Center Freq. (Hz) Bandwidth (Hz) 1 50 100 13 1850 280 2 150 100 14 2150 320 3 250 100 15 2500 380 4 350 100 16 2900 450 5 450 110 17 3400 550 6 570 120 18 4000 700 7 700 140 19 4800 900 8 840 150 20 5800 1100 9 1000 160 21 7000 1300 10 1170 190 22 8500 1800 11 1370 210 23 10500 2500 12 1600 240 24 13500 3500 Perceptual speech coding proved to be very useful in speech recognition [Huang et al., 2001, Chap. 9, Rabiner and Schafer, 2011, Chap. 14], voice transformation [Benesty et al., 2008, Chap. 24] and speech synthesis [Kondoz, 2004,Milner and Shao, 2006,Juvela et al., 2018]. Howe- ver, speech coders relying solely on auditory models provide lower voice quality than source-filter coders at the same compression rate. It is because source-filter coding makes stronger assumptions about the encoded speech signal, enabling sparser representation [Bäckström, 2017, Benesty et al., 2008, Chap. 18]. The physiological properties of the auditory system enable the listener to distinguish three components of a vocal (or a musical) sound: loudness, pitch, and timbre [Huang et al., 2001, Chap. 2]. Although sound perception varies among listeners, a considerable effort has been under- taken to relate sound perception with objective signal properties [Stevens, 1956, V on Békésy and Wever, 1960,Goldstein, 1973]. The studies revealed that these perceptual qualities can be roughly related to three signal characteristics: signal intensity, fundamental frequency, and spectral en- velope, as listed in Table 2.4. Moreover, it can be assumed that these components are roughly independent of each other, i.e., a modification of one physical parameter changes only the corres- ponding perceptual component. Table 2.4 – Simplified relation between the perceptual and the physical qualities of speech signal. Perceptual Quality Physical Quality loudness signal intensity pitch fundamental frequency timbre spectral envelope Speech loudness is perceptually related to sound intensity, which is defined as the ratio bet- ween the average flow of the energy through a unit areaI and the accepted referential threshold of hearingI0 = 10−12 W/m2. Sound intensity is usually represented in the logarithmic scale: IL = 10 log10 (I I0 ) dB. (2.8) 2.4 – Psychoacoustics and perceptual speech coding 21 Sound intensity of a natural speech varies usually between 20 dB - 80 dB [Rabiner and Schafer, 2011, Chap. 4]. The sensitivity of the auditory system to sound intensity varies in frequency. Figure 2.11 pre- sents the equal-loudness curves [Fletcher and Munson, 1933], indicating the sound intensity levels perceived by an average listener as equally loud. The highest sensitivity to sound intensity is lo- cated between 500 Hz and 5 kHz, and largely overlaps with the speech spectrum between 150 Hz and 7 kHz [Rabiner and Schafer, 2011, Chap. 4]. Subband speech and audio coders often exploit the nonlinear sound perception by optimizing the quantization of frequency bands [Benesty et al., 2008, Chap. 18]. Pitch, expressed in mel units, is a perceptual quantity describing the frequency of a tone. The nonlinear relation between the pitch and the true frequency is fitted by the following formula: pitch = 1127 log10 ( 1 + f 700 ) mel, (2.9) wheref is the tone frequency in Hz [Stevens et al., 1937, Rabiner and Schafer, 2011, Chap. 4]. 102 103 1040 20 40 60 80 100 120 frequency (Hz) sound intensity (dB) Figure 2.11 – Equal-loudness curves as a func- tion of frequency and for different values of the sound intensity [ISO, 2003] 102 103 1040 500 1,000 1,500 2,000 2,500 3,000 3,500 frequency (Hz) pitch (mel) Figure 2.12 – Subjective pitch in mels as a func- tion of the actual frequency of a pure tone. As suggested by Figure 2.12, the listener’s ability to discriminate two similar tones decreases when the frequency of the lower tone goes up. This observation agrees with the critical band theory because two close tones are more likely to fall into the same spectral band at higher frequencies than at lower frequencies [Fastl and Zwicker, 2006]. The third perceptual component, timbre (the color of sound), is sometimes described as a quality distinctive from pitch and loudness [ANSI, 1994]. The research on describing timbre per- ception is still ongoing (for a relevant discussion, see [Sethares, 2004, Aucouturier and Bigand, 2012, Siedenburg et al., 2016]). Nevertheless, it is generally agreed that timbre is a multidimen- sional property describing spectro-temporal characteristic of a sound. In the case of voice, timbre is usually associated with formants or spectral envelope [Huang et al., 2001, Chap. 2]. Such an interpretation links timbre with the vocal tract’s shape, contrarily to pitch and loudness related to excitation. Compared to pitch and loudness, an efficient parametrization of timbre appears troublesome. There are many propositions for approximate spectral envelope representations, such as Per- ceptual Linear Prediction (PLP) model or LPC filter frequency response [Rabiner and Schafer, 22 C HAPTER 2 — Speech processing and voice communications 2011, Chap. 8]. One efficient representation of timbre in the speech recognition domain are Mel- Frequency Cepstral Coefficients (MFCC) [Davis and Mermelstein, 1980]. MFCC are defined as the discrete-cosine transform (DCT) of the logarithm of the mel-spectrum of a speech frame: MFCC[n] = 1 R R∑ r=1 log10(MF[r]) cos [2π R ( r + 1 2 ) n ] , where MF is the mel-spectrum of the speech frame computed based upon a filter bank of R≥ n weighting functions (Figure 2.13) that approximate the critical band spacing: MF[r] = ∑Ur k=Lr|Wr[k]X[k]|2 ∑Ur k=Lr|Wr[k]|2 , r= 1, 2,...,R, where X is the Discrete Fourier Transform (DFT) of the speech frame, andWr[k] is the weighting function of the r-th filter ranging over DFT indices Lr toUr. The number R and the distribution of filters may slightly differ among various implementations. 0 2 4 6 80 0.5 1 frequency (kHz) 0 2 4 6 8-5 0 5 10 frequency (kHz) log magnitude C0 = 1 C1 = 1 C2 = 1 C3 = 1 C4 = 1 Figure 2.13 – (Left) Weighting functions for mel-scale filtering and (right) smooth interpolation of the DFT spectra X obtained when looking for all MFCC forced to zero except a single one in{C0,...,C 4} equal to 1. The computation of these MFCC is done using the bank of weighting functions in the left figure. This somehow unobvious MFCC definition reflects the nonlinearity of timbre perception. The filter distribution roughly corresponds to critical bands, whereas the logarithm of windowed ener- gies approximates loudness perception. Finally, DCT decomposes the filtered spectrum into ortho- gonal elements. Since the speech energy tends to concentrate in the first 13-19 coefficients, compu- ted MFCC are often truncated [Benesty et al., 2008, Chap. 9, Rabiner and Schafer, 2011, Chap. 8]. The popularity of MFCC in the speech recognition domain comes from their ability to extract relevant features from spectral envelopes. There had been even an interesting attempt to introduce MFCC as an objective timbre measure [Terasawa et al., 2012,Terasawa et al., 2005]. Nevertheless, provided that many MFCC-based speech synthesizers perform rather poorly [Chazan et al., 2000, Milner and Shao, 2006,Yoon et al., 2007,Boucheron et al., 2011,Juvela et al., 2018], it seems that the transformation removes some salient information from a signal. Speech parametrization using the signal energy, the fundamental frequency, and the spectral envelope works especially well for voiced sounds. As an example, Figure 2.14 presents the spectral magnitude of the same vowel /e/ as in Figure 2.7. It can be noticed that the mentioned parameters 2.5 – V oice coders 23 accurately describe the magnitude of the harmonic signal. However, the representation almost entirely ignores the phases of harmonics. Discarding the phase information is motivated by partial agnosticism of the auditory system to signal phase, especially above 1 kHz [Benesty et al., 2008, Chap. 4]. This effect could be caused by a roll-off of firing synchrony in auditory nerves above 2 kHz [Alves-Pinto et al., 2014]. Several speech encoding techniques used in vocal communication originate from major stu- dies on sound perception, i.e., signal pre-emphasis, frequency masking of weak tones, nonlinear quantization, and noise shaping [Bäckström, 2017, Chap. 4]. Consequently, the pseudo-speech si- gnal used in secure communication should be robust against perceptually-oriented processing in the spectral domain, not only against source-filter coding. 0 20 40 60 80 100 −212 0 212 time (ms) 0.0 0.5 1.0 1.5 2.00 223 frequency (kHz) Figure 2.14 – LPC analysis of vowel /e/: (left) time-domain waveform and (right) spectrum of the waveform (blue solid line), frequency response of the 18th order LPC filter (red dashed line), and the mel cepstrum smoothing obtained using the MFCC analysis and truncating MFCC above n = 13 (green dashed line). 2.5 Voice coders Digital voice communication systems send encoded speech as binary data and re-synthesize signal at the reception side. The paramount role of voice codecs, orvocoders, is to reduce the transmission bitrate without a significant perceptual quality degradation of decoded voice. Concurrently, voice coding algorithms have to meet several operational goals, such as a small computational delay, low computational and memory requirements, and finally, robustness to channel imperfections (e.g., lost frames, bit errors) [Benesty et al., 2008, Chap. 14]. Figure 2.15 illustrates a simplified diagram of a generic speech codec. The encoder’s input is a low-passed speech signal sampled typically at 8 kHz (narrowband speech) or 16 kHz (wideband speech). Low-pass filtering is done in accordance with the Nyquist-Shannon sampling theorem which states that the highest signal’s frequency component should be at most half the sampling rate. The reduction of the signal bandwidth from 20 kHz to 4 kHz or 8 kHz significantly lowers the data rate for sending. On the other hand, reduced bandwidth degrades speech quality. The speech samples are modeled as representing stationary signal segments (frames), usually of some fixed or variable duration between 5 ms - 20 ms. V oice encoders map these input speech frames into a set of parameters linked to the selected speech model...
Допоможи студентському архіву

Ми допомогли тобі — допоможи наступному студенту

Файл ще не обрано

Оголошення від адміністратора

Антиботан аватар за замовчуванням

Подякувати Студентському архіву довільною сумою

Admin

26.02.2023 12:38

Дякуємо, що користуєтесь нашим архівом!