search for: testenc_uwb

Displaying 14 results from an estimated 14 matches for "testenc_uwb".

2004 Aug 06
0
Sphinx work-in-progress sourcecode
...on the same directory level as the sphinx filder. peex-1.0.1 (ideally the folder from within the SpeexACM source archive) sphinx-1.0.1 I am doing development on Visual C++ .NET Basic (2002). The solution file to open would be libspeex.sln I am currently testing the code with a modified 'testenc_uwb" version. This links against both speex and sphinx and the Visual C++ project file expects to find speex includes and libraries in that above cited speex-1.0.1 folder. ample commandline: testenc_uwb.exe elfi.snd elfi_out.snd elfi.bits where elfi.snd would be a 32kbit/s raw soundfile, 16 bit s...
2009 Dec 30
0
[PATCH] Link libspeexdsp with libfftw3 when needed
...arch_s libspeex_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ +libspeexdsp_la_LIBADD = @FFT_LIBS@ libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ noinst_PROGRAMS = testenc testenc_wb testenc_uwb testdenoise testecho testjitter @@ -55,8 +56,8 @@ testenc_wb_LDADD = libspeex.la $(VPSY_LIB) testenc_uwb_SOURCES = testenc_uwb.c testenc_uwb_LDADD = libspeex.la $(VPSY_LIB) testdenoise_SOURCES = testdenoise.c -testdenoise_LDADD = libspeexdsp.la @FFT_LIBS@ +testdenoise_LDADD = libspeexdsp.la te...
2017 Feb 20
0
compiling with --enable-valgrind
...d reference to `VALGRIND_MAKE_READABLE' collect2: error: ld returned 1 exit status Makefile:498: recipe for target 'testenc' failed make[2]: *** [testenc] Error 1 make[2]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status Makefile:502: recipe for target 'testenc_uwb' failed make[2]: *** [testenc_uwb] Error 1 collect2: error: ld returned 1 exit status Makefile:506: recipe for target 'testenc_wb' failed make[2]: *** [testenc_wb] Error 1 make[2]: Leaving directory '/home/mimiko/src/speex/libspeex' Makefile:497: recipe for target 'all-recur...
2004 Aug 06
4
Framesize for UWB vs. WB encoding
Hi there. I am having a little trouble understanding the frame sizes chosen by the codec. testenc_uwb.c from the speex-1.0 source distribution has a framesize of 640 hardcoded and makes use of this value exclusively. However, a mode query on the actual codec returns 320 as a framesize for this mode. int tmp; speex_mode_query(&speex_uwb_mode, SPEEX_MODE_FRAME_SIZE, &tmp); <p>t...
2017 May 29
0
[PATCH] Add CMake build script
...d_executable(testenc_wb libspeex/testenc_wb.c) +target_include_directories(testenc_wb + PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>) +target_link_libraries(testenc_wb + PRIVATE ${LIBM} + PUBLIC speex) +target_compile_definitions(testenc_wb + PRIVATE -DHAVE_CONFIG_H) +add_executable(testenc_uwb libspeex/testenc_uwb.c) +target_include_directories(testenc_uwb + PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>) +target_link_libraries(testenc_uwb + PRIVATE ${LIBM} + PUBLIC speex) +target_compile_definitions(testenc_uwb + PRIVATE -DHAVE_CONFIG_H) + +endif() + +# Installation + +set...
2009 Mar 17
2
Resample UltraWideBand to NarrowBand
Hi List, Now I will send to you more specific what I am trying to do. I have one Asterisk Channel where receives Midia Frames in the codecs format: Speex UltraWideBand and Speex NarrowBand. When I use Speex NarrowBand the Asterisk is able to convert this frame to G711. But when I use Speex UltraWideBand the Asterisk don't convert it. Then I need in my Asterisk Channel Source include the Speex
2004 Aug 06
2
testenc and snr calculation
Hi all, I'm new to the group. I'm looking at the speex code with an eye towards maybe helping out with either codec optimization or fixed-point implementation, The SNR calculation in testenc.c and testenc_uwb.c doesn't make sense to me. The code is { float enoise=0, esig=0, snr; for (i=0;i<FRAME_SIZE;i++) { enoise+=(bak2[i]-input[i])*(bak2[i]-input[i]); esig += bak2[i]*bak2[i]; } snr = 10*log10((esig+1)/(enoise+1));...
2004 Aug 06
0
Framesize for UWB vs. WB encoding
...that call. Anyway, it's now fixed in CVS (both trunk and 1.0.x branch). Thanks for the bug report. Jean-Marc Le mar 03/06/2003 à 01:16, Christian Buchner a écrit : > Hi there. > > I am having a little trouble understanding the frame sizes chosen > by the codec. > > testenc_uwb.c from the speex-1.0 source distribution has a framesize > of 640 hardcoded and makes use of this value exclusively. > > However, a mode query on the actual codec returns 320 as a framesize > for this mode. > > int tmp; > speex_mode_query(&speex_uwb_mode, SPEEX_MODE...
2004 Aug 06
0
testenc and snr calculation
...Jean-Marc Le lun 01/09/2003 à 13:12, Mike Dunn a écrit : > Hi all, > > I'm new to the group. I'm looking at the speex code with an eye towards > maybe helping out with either codec optimization or fixed-point > implementation, The SNR calculation in testenc.c and testenc_uwb.c > doesn't make sense to me. The code is > > { > float enoise=0, esig=0, snr; > for (i=0;i<FRAME_SIZE;i++) > { > enoise+=(bak2[i]-input[i])*(bak2[i]-input[i]); > esig += bak2[i]*bak2[i]; > } >...
2008 Oct 18
0
how to fix high freq noise?
...is works fine. But when I try to encode speex, and decode it, it works, but some high frequency noise is added. How can I fix it? The noise isn't the microphone <-> speaker positive feedback, cause it doesn't appear when not using speex. I think it's almost the same as your testenc_uwb.c included in speex distribution, but mine maybe something wrong... Source code is here. http://maaash.jp/lab/speex/main.cpp and Windows binaries here. http://maaash.jp/lab/speex/speexecho.zip There's a switch to enable speex in main.cpp #define USE_SPEEX Thanks in advance!
2008 Oct 18
0
how to fix high freq noise?
...works fine. But when I try to encode speex, and decode it, it works, but some high frequency noise is added. How can I fix it? The noise isn't the microphone <-> speaker positive feedback, cause it doesn't appear when not using speex. I think the code is almost the same as your testenc_uwb.c included in speex distribution, but mine maybe something wrong causing the noise... Source code is here. http://maaash.jp/lab/speex/main.cpp and Windows binaries here. http://maaash.jp/lab/speex/speexecho.zip There's a switch to enable speex in main.cpp #define USE_SPEEX Thanks in advanc...
2009 Mar 18
0
Resample UltraWideBand to NarrowBand
The resampler will convert raw audio from one sample rate to another. You are starting with Speex-encoded audio frames. So, what you need to do is: 1. Run the media frames through the Speex decoder (look at Speexdec or testenc_uwb). This will give you raw audio with a 32 KHz sample rate. 2. Use the resampler to convert the audio from 32 KHz to 8 KHz sample rate. 3. Run the 8KHz audio through a G711 encoder. For the narrowband case, Asterisk is doing steps 1 and 3. ----- Original Message ----- From: Thiago Maluf T...
2009 Aug 25
0
Need some help about speex settings
...the voice quality seems to be better comparing to 32 KHz. 2) When I use wideband mode with 16 KHz sampling rate bandwidth usage is greater comparing to 32 KHz, ultra-wideband. Why? Voice quality is worse when using 16KHz wideband comparing to ultra-wideband coding. 3) Speex samples testenc_wb and testenc_uwb gets SPEEX_GET_LOOKAHEAD parameter and skip appropriate number of samples. Should I do the same in VoIP ? What this value means and how is it used in Speex? 4) If sampling rate is 44100 and I use wideband (not ultra) coding bandwidth usage is very high (about 9 KB/sec). Is it normal and just happe...
2013 Apr 24
0
vorbis-psy compilation fix
...y=yes; AC_DEFINE([VORBIS_PSYCHO], , [Enable support for the Vorbis psy model]) diff -r -u speex/libspeex/Makefile.am speex/libspeex/Makefile.am --- speex/libspeex/Makefile.am 2013-04-24 19:08:00.729566052 +0400 +++ speex/libspeex/Makefile.am 2013-04-24 20:05:18.870721435 +0400 @@ -55,8 +55,8 @@ testenc_uwb_SOURCES = testenc_uwb.c testenc_uwb_LDADD = libspeex.la $(VPSY_LIB) testdenoise_SOURCES = testdenoise.c -testdenoise_LDADD = libspeexdsp.la @FFT_LIBS@ +testdenoise_LDADD = libspeexdsp.la libspeex.la @FFT_LIBS@ testecho_SOURCES = testecho.c -testecho_LDADD = libspeexdsp.la @FFT_LIBS@ +testecho_LD...