From 670c4dd9bce09143ca3ceb38a32c690d80b91783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Wed, 13 Jul 2022 00:30:56 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20speexdsp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/thirdparty/speexdsp/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dev/thirdparty/speexdsp/.keep diff --git a/dev/thirdparty/speexdsp/.keep b/dev/thirdparty/speexdsp/.keep new file mode 100644 index 00000000..e69de29b -- Gitee From 22e0482683c4ab1ddd4008600f2a2696259f13e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Wed, 13 Jul 2022 00:33:18 +0000 Subject: [PATCH 2/5] =?UTF-8?q?rename=20dev/thirdparty/speexdsp/.keep=20to?= =?UTF-8?q?=20dev/thirdparty/speexdsp/README.md.=20Signed-off-by:=20?= =?UTF-8?q?=E8=B4=BE=E4=BD=B3=E8=B1=AA=20<2692032597@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/thirdparty/speexdsp/.keep | 0 dev/thirdparty/speexdsp/README.md | 62 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) delete mode 100644 dev/thirdparty/speexdsp/.keep create mode 100644 dev/thirdparty/speexdsp/README.md diff --git a/dev/thirdparty/speexdsp/.keep b/dev/thirdparty/speexdsp/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/thirdparty/speexdsp/README.md b/dev/thirdparty/speexdsp/README.md new file mode 100644 index 00000000..85e54ac8 --- /dev/null +++ b/dev/thirdparty/speexdsp/README.md @@ -0,0 +1,62 @@ +## Introduction to Speex + + + +The Speex codec (http://www.speex.org/) exists because there is a need for a speech codec that is open-source and free from software patent royalties. These are essential conditions for being usable in any open-source software. In essence,Speex is to speech what Vorbis is to audio/music. + +Unlike many other speech codecs, Speex is not designed for mobile phonesbut rather for packet networks and voice over IP (VoIP) applications. File-based compression is of course also supported.The Speex codec is designed to be very flexible and support a wide range of speech quality and bit-rate. Support for very 12489good quality speech also means that Speex can encode wideband speech (16 kHz sampling rate) in addition to narrowband speech (telephone quality, 8 kHz sampling rate). + +Designing for VoIP instead of mobile phones means that Speex is robust to lost packets, but not to corrupted ones. This is based on the assumption that in VoIP, packets either arrive unaltered or don’t arrive at all. Because Speex is targeted at a wide range of devices, it has modest (adjustable) complexity and a small memory footprint.All the design goals led to the choice of CELP as the encoding technique. One of the main reasons is that CELP has long proved that it could work reliably and scale well to both low bit-rates (e.g. DoD CELP @ 4.8 kbps) and high bit-rates (e.g.G.728 @ 16 kbps). + +## The main characteristics of Speex + +The main characteristics of Speex can be summarized as follows: +- Free software/open-source, patent and royalty-free. +-Integration of narrowband and wideband using an embedded bit-stream. +- Wide range of bit-rates available (from 2.15 kbps to 44 kbps). +- Dynamic bit-rate switching (AMR) and Variable Bit-Rate (VBR) operation. +- Voice Activity Detection (VAD, integrated with VBR) and discontinuous transmission (DTX). +- Variable complexity. +- Embedded wideband structure (scalable sampling rate). +- Ultra-wideband sampling rate at 32 kHz. +- Intensity stereo encoding option. +- Fixed-point implementation. + +## Compiling and Porting + +Compiling Speex under UNIX/Linux or any other platform supported by autoconf (e.g. Win32/cygwin) is as easy as typing: + +``` +% ./configure [options] +% make +% make install +``` +The options supported by the Speex configure script are: + +–prefix= Specifies the base path for installing Speex (e.g. /usr) + +–enable-shared/–disable-shared Whether to compile shared libraries + +–enable-static/–disable-static Whether to compile static libraries + +–disable-wideband Disable the wideband part of Speex (typically to save space) + +–enable-valgrind Enable extra hits for valgrind for debugging purposes (do not use by default) + +–enable-sse Enable use of SSE instructions (x86/float only) + +–enable-fixed-point Compile Speex for a processor that does not have a floating point unit (FPU) + +–enable-arm4-asm Enable assembly specific to the ARMv4 architecture (gcc only) + +–enable-arm5e-asm Enable assembly specific to the ARMv5E architecture (gcc only) + +–enable-fixed-point-debug Use only for debugging the fixed-point code (very slow) + +–enable-epic-48k Enable a special (and non-compatible) 4.8 kbps narrowband mode (broken in 1.1.x and 1.2beta) + +–enable-ti-c55x Enable support for the TI C5x family + +–enable-blackfin-asm Enable assembly specific to the Blackfin DSP architecture (gcc only) + +–enable-vorbis-psycho Make the encoder use the V orbis psycho-acoustic model. This is very experimental and may be removed in the future. -- Gitee From 5c8e45590d5b0749237d54e98a38af4a33da0b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Wed, 13 Jul 2022 00:33:47 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/thirdparty/speexdsp/media/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dev/thirdparty/speexdsp/media/.keep diff --git a/dev/thirdparty/speexdsp/media/.keep b/dev/thirdparty/speexdsp/media/.keep new file mode 100644 index 00000000..e69de29b -- Gitee From 5dfc0d2dab6674151536e610d10847a15c10ee51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Wed, 13 Jul 2022 00:35:16 +0000 Subject: [PATCH 4/5] =?UTF-8?q?update=20dev/thirdparty/speexdsp/README.md.?= =?UTF-8?q?=20Signed-off-by:=20=E8=B4=BE=E4=BD=B3=E8=B1=AA=20<2692032597@q?= =?UTF-8?q?q.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/thirdparty/speexdsp/README.md | 2 +- dev/thirdparty/speexdsp/media/speex.png | Bin 0 -> 4470 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 dev/thirdparty/speexdsp/media/speex.png diff --git a/dev/thirdparty/speexdsp/README.md b/dev/thirdparty/speexdsp/README.md index 85e54ac8..61a5cd2a 100644 --- a/dev/thirdparty/speexdsp/README.md +++ b/dev/thirdparty/speexdsp/README.md @@ -1,6 +1,6 @@ ## Introduction to Speex - +![speecdsp logo](media/speex.png) The Speex codec (http://www.speex.org/) exists because there is a need for a speech codec that is open-source and free from software patent royalties. These are essential conditions for being usable in any open-source software. In essence,Speex is to speech what Vorbis is to audio/music. diff --git a/dev/thirdparty/speexdsp/media/speex.png b/dev/thirdparty/speexdsp/media/speex.png new file mode 100644 index 0000000000000000000000000000000000000000..4db28733e672a821351514567ed57c5850f6fbef GIT binary patch literal 4470 zcmV-+5sB`JP)@D00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3labT3lag+-G2N4000McNliru(ghU+0v7%5Kvn<%5d%p? zK~#90?OlCrRYev*r`9YWvZQEGY!wMef)YZiSU$8N>2`WK8 z8f4WJ7e(W;1eF+sf-G(b#40vjl=2}#BuI=bVnM_#B7#|UweRd7_sx5A=grKUx%a;J z+Qzf4FIZgrk#UB02Bj21IP(2yBcz%rh|hWs=%|zro?7fSuT`ya4|#DYjRw^ zLms0r$K?;tarq2vW2giGCL73CfqwzJ0s!_zq>GsMNdR~rqB|T`7SF$g`!08VjFnYwhH_kW;PbrWRRPZQ%CF|b?tD-=HVyZG|Dc1fop0}gHFdh z!Ni5Ns^e|I=g|nMR@qj6KEJkjo{gYxQ(dqi9kKHwYNoOvQC6@F%t^|ujoA2&Tw1Y4 zZ&Pyf_p9m|hTI|%W$uQo4l4a?xV&Vfm9?*`USiueKyt=n1}HCfo5iys;o5Fp|+Mw zB)5)CGE1p~I0#G$A=XKCUnbAM%UnJ7H}Cyx6QuLOqi8Hyezp(?qK+gYVND|mro@&l z=wuKLNYuV>Ci*Jxpo?gjSV|paRy0T_%cfu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$OnPXzZ#(k3Y6 z#}UC8L)~sAf>Mim^s|udsgV5*5nLX!?W}z6%MrEyY7t^0?LTqFP7}d(+$iiTrb3cqRuP04w%o$J#7f&0VrVV92w+jC@l7ex3qMB7=pCBF!b&|OpTH;M*3A$)(6kjG&m zUA3Sbg_v+nm`gH7BD>9i{ObjohlG6oCZx+2ls0&>0}RM);CdoBndKRrN2Hef91(m= zl<>C!0QzLGa(4=On=B|NA;P^mZ176~e6*y*a3Ehv1l@_C8xeFNN-QV~iJ%~$F^F_Q z$)h*7K;RM8f|9{zK`AQ_Al!m72%eUdS9^(A^K2qg%UzU1i&&AvvQ?qLOh6S1R6!LA z1b{>+P>hy{xHUliPH=f%r@5bn0xu%M4~XzzMED7@V=gFr#g$U|+)?2JBHt#?&Ky|2 zKXV-*+r(jU?!^)4_IIu<*(MH)b5D+^ZQgbPbsEOW9ke7|n@0XyE={(H^BeBF zprOEwo-H{;l;U$owV-4Wqb1|wE`$xjEGXw9CSu*sCJd1O&kXY6&$%892^`R92^`R92^`R92^`R94-m`AG)J#y^0u6zyJUM07*qo IM6N<$f>hgE5&!@I literal 0 HcmV?d00001 -- Gitee From ef439875c343ddf4b923b14d6e4589e430964e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Wed, 13 Jul 2022 00:35:32 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20dev/?= =?UTF-8?q?thirdparty/speexdsp/media/.keep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/thirdparty/speexdsp/media/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 dev/thirdparty/speexdsp/media/.keep diff --git a/dev/thirdparty/speexdsp/media/.keep b/dev/thirdparty/speexdsp/media/.keep deleted file mode 100644 index e69de29b..00000000 -- Gitee