search for: speex_resampl

Displaying 19 results from an estimated 19 matches for "speex_resampl".

Did you mean: speex_resampler
2019 Nov 06
0
【SPEEX】 use speex resample make noise
...g for other reasons). Jean-Marc On 11/6/19 1:56 AM, zhouyuchen at iauto.com wrote: > Hello, > I printed the log, in/out len is not truncated, which means that the > input and output are not truncated, > but the sound quality is very bad, what would be the cause? > I tried to call speex_resampler_reset_mem before each sample, but the > effect is not as good as usual. > > int main() > { >     int err; >     SpeexResamplerState *speex_resampler; >     speex_resampler = speex_resampler_init(1, 16000, 48000, 10, &err); >     FILE *fp = fopen("/data/zhou....
2019 Nov 05
0
【SPEEX】 use speex resample make noise
...each time, I found that the sound after the sound > conversion is very noisy, > but if I read 6400bytes each time. The conversion will be much better, > the line is my sample code, am I using it incorrectly? please help confirm? > > int main() > { >     SpeexResamplerState *speex_resampler; >     int err; >     speex_resampler = speex_resampler_init(1, 16000, 48000, 10, &err); >     FILE *fp = fopen("/data/zhou.wav", "rb+"); >     FILE *fp2 = fopen("/data/zhou2.wav", "ab+"); >     spx_int16_t inbuff[640] = {0}; >  ...
2013 Oct 28
1
how to Build .opus file
That's true I'm trying to build it to use in android I used the -DOUTSIDE_SPEEX. and i get speex_resampler.h:51:2: error: #error "Please define RANDOM_PREFIX (above) to something specific to your project to prevent symbol name clashes" 2013/10/28 Gregory Maxwell <gmaxwell at gmail.com> > On Mon, Oct 28, 2013 at 11:26 AM, Antonio Juan <anquegi at gmail.com> wrote: > &gt...
2013 Oct 28
2
how to Build .opus file
Hi and thanks for your interest! this is the error, i need to add the speex folder and a path to the .h file and it works Compile thumb : opus-proj <= audio-in.c In file included from jni/../../opus-tools-0.1.7/src/audio-in.c:74:0: proj/../../opus-tools-0.1.7/src/speex_resampler.h:90:32: fatal error: speex/speex_types.h: No such file or directory compilation terminated. make: *** [/opus-tools-0.1.7/src/audio-in.o] Error 1 but then i have this error: error: undefined reference to 'opus_multistream_surround_encoder_create', this I think that is for I'm not us...
2008 May 29
2
FFT Resampler
...tput latency? As a user, I think there is only one latency, > latency between data I passed to resampler and data I've got from it. > I suppose there may be some internal idea behind this division of latency, > but is end user interested in it? > It's copied directly from the speex_resampler.h; it's the same latency, but measured in input and output samples. So if I resample from a blocksize of 320 to 960 with 50% overlap, the input latency is 160 samples and the output latency is 480 samples.
2007 Dec 11
0
[PATCH] update symbian build
...an/bld.inf (working copy) @@ -40,6 +40,7 @@ ..\include\speex\speex_header.h \epoc32\include\speex\speex_header.h ..\include\speex\speex_jitter.h \epoc32\include\speex\speex_jitter.h ..\include\speex\speex_preprocess.h \epoc32\include\speex\speex_preprocess.h +..\include\speex\speex_resampler.h \epoc32\include\speex\speex_resampler.h ..\include\speex\speex_stereo.h \epoc32\include\speex\speex_stereo.h ..\include\speex\speex_types.h \epoc32\include\speex\speex_types.h @@ -47,3 +48,4 @@ PRJ_MMPFILES speex.mmp +speexdsp.mmp Index: symbian/speex.mmp ====...
2016 Jul 29
2
SPEEX and OPUS questions and minor issues
I recently stumbled upon <speex/speex_resampler.h> and made a chain of discoveries: - "http://speex.org/downloads" some links are broken ("rarewares" and git) - there is some (minor) development (whitespace and more) of the "dead" Speex codec ... will there be a release? (I don't really need such myself)...
2007 Mar 22
1
[SPAM] RE: Encoding audio sampled at 44.1 khz?
...at is currently the only file I tested it with. What am I doing wrong in the below code? I look forward to any replies. Best regards, Peter. -- Code -- /* Compiler: Visual Studio 2005 Express OS: Windows XP Pro SP 2 Program used to play back the output file: GoldWave */ #include <speex/speex_resampler.h> #include <stdio.h> //#pragma comment(lib, "libspeex_test.lib") #define ReadSize 16384 int main(int argc, char* argv[]) { // First of all, declare the resampler state SpeexResamplerState* State = speex_resampler_init(2, 44100, 22050, 5); short in[ReadSize]; short out[...
2013 May 08
3
Upsampling while decoding / Updating
Dear Nikos, thanks! But you use Opus only for resampling, not for entirely replacing Speex, don't you? Greetings! Hermie Am 07.05.2013 22:53, schrieb Nikos Chantziaras: > The Opus resampler is actually a bugfixed version of the Speex one. Same > interface/API, but with the bugs removed. It's why I recommended it :-) > Otherwise I would have recommended something entirely
2016 Aug 02
0
SPEEX and OPUS questions and minor issues
Hi, On Fri, Jul 29, 2016 at 1:50 PM, dos386 <dos386 at gmail.com> wrote: > I recently stumbled upon <speex/speex_resampler.h> and made a chain of > discoveries: > > - "http://speex.org/downloads" some links are broken ("rarewares" and git) What do you mean by broken? Those links seem to work here. > - there is some (minor) development (whitespace and more) of the "dead"...
2008 May 29
0
FFT Resampler
...is only one > latency, > > latency between data I passed to resampler and data I've got from it. > > I suppose there may be some internal idea behind this division of latency, > > but is end user interested in it? > > > > > It's copied directly from the speex_resampler.h; it's the same latency, but > measured in input and output samples. So if I resample from a blocksize of > 320 to 960 with 50% overlap, the input latency is 160 samples and the output > latency is 480 samples. Aha, got it. Documentation is very unclear at this point. =\ It should...
2013 May 08
0
Upsampling while decoding / Updating
...not using Opus at all. I'm just including its resampler in my own sources. It's not even a DLL; it's directly compiled together with the rest of my code. You need these sources from the opus-tools package (http://www.opus-codec.org/downloads/): arch.h resample.c resample_sse.h speex_resampler.h stack_alloc.h In your project file, define these macros: #define SPX_RESAMPLE_EXPORT #define OUTSIDE_SPEEX #define RANDOM_PREFIX NAME_OF_YOUR_SOFTWARE If your software is actually a library itself, you might to instead: #define SPX_RESAMPLE_EXPORT __declspec(dllexport) or whate...
2013 Oct 28
2
how to Build .opus file
Thanks for your help, I will follow that, so in order to sum up I need: - libopus 1.0.3 compiled as static or shared library - libogg 1.3.1 compiled as static or shared library - opus-tools 0.1.7 and then follow the example in opus-tools opusenc.c to get things ready, because if I try to compile opus-tools, this ask for me for the speex library, and other things I think that that will we all.
2010 Jun 26
3
Down Convertion from 32Khz to 16Khz
hi on my device i can sample only at 32khz and want to use speex at 16khz so i need to down-convert the input signal by factor of 2. does anyone provide me a reference to some code that does that? are there any trick to do that? i tried to add to subsequent sample but the result was very bad. what are the requrment from a decimation filter for audio? thanks, nir -------------- next part
2008 May 28
2
FFT Resampler
Attached is a snapshot of work-in-progress of a FFT based resampler. At the moment it works in floating point only, and only basic quality inspection has been done. Some benchmarks comparing the filter-based resampler at Q3 with the FFT resampler with overlap = in_len / 2, using 20ms chunks of data. (-O3 -ffast-math, FFTW3, gcc 4.3.0 on x86_64) 16=>48: 59us vs 19us 16=>44.1: 204us vs
2008 May 03
0
Resampler, memory only variant
Hi, Here's the (hopefully) final version of the resampler, now always using st->mem as the buffer area. It only allocates buffers on the stack when it's necesarry to convert the output between int and float. -------------- next part -------------- Index: include/speex/speex_resampler.h =================================================================== --- include/speex/speex_resampler.h (revision 14829) +++ include/speex/speex_resampler.h (working copy) @@ -73,6 +73,8 @@ #define speex_resampler_get_output_stride CAT_PREFIX(RANDOM_PREFIX,_resampler_get_output_stride) #defin...
2008 May 29
0
Again, teach me speex AEC please!
...int, jbyteArray); #ifdef __cplusplus } #endif #endif /************************************************************************************************************/ /** * com_peterhi_Speex.c */ #include <speex/speex.h> #include <speex/speex_preprocess.h> #include <speex/speex_resampler.h> #include "com_peterhi_Speex.h" #define TYPE_ENCODE 1 #define TYPE_DECODE 2 #define DSP_FRAME_SIZE 160 #define ENC_FRAME_SIZE 320 #define FRAME_RATE 8000 int yes = 1; int quality = 10; float rate = 8000; typedef struct { int type; SpeexBits bits; void* pSt; Speex...
2007 Mar 21
2
Encoding audio sampled at 44.1 khz?
Hi everyone, I recently began using libspeex 1.2 Beta 1 on Windows using MS Visual C++. I have gotten a decoder and an encoder to work fine from the excellent sample code posted at the website. But I face a problem. I am working on using Speex in a program to play and create audio books encoded using Speex (currently testing it only; for these tests, I do not use Ogg to save the encoded
2008 May 29
2
FFT Resampler
...latency between data I passed to resampler and data I've got from it. >>> I suppose there may be some internal idea behind this division of latency, >>> but is end user interested in it? >>> >>> >>> >> It's copied directly from the speex_resampler.h; it's the same latency, but >> measured in input and output samples. So if I resample from a blocksize of >> 320 to 960 with 50% overlap, the input latency is 160 samples and the output >> latency is 480 samples. >> > > Aha, got it. Documentation is very u...