search for: sampling_r

Displaying 20 results from an estimated 40 matches for "sampling_r".

Did you mean: sampling
2012 Sep 21
0
Xen 4.2.0 - CPU Frequency Scaling
...get-cpufreq-para cpu id : 0 affected_cpus : 0 2 3 4 5 6 7 8 9 10 11 cpuinfo frequency : max [2000000] min [800000] cur [800000] scaling_driver : scaling_avail_gov : userspace performance powersave ondemand current_governor : ondemand ondemand specific : sampling_rate : max [10000000] min [10000] cur [20000] up_threshold : 80 scaling_avail_freq : 2000000 1500000 1300000 1000000 *800000 scaling frequency : max [2000000] min [800000] cur [800000] cpu id : 1 affected_cpus : 1 cpuinfo frequency : max [2000000] min [800000...
2004 Aug 06
2
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi, I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE as in speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE, &m_SampleRate ); I get 2 The encoder is initialized with m_pEncoderState = speex_encoder_init ( &speex_wb_mode ); On the decoder side, the correct sampling rate is returned: m_pDecoderState = speex_decoder_init ( &s...
2004 Aug 06
1
One Minor Bug (Typo) in Speex 1.0
Speex 1.0 - in file sb_celp.c line 218 change speex_decoder_ctl(...) to speex_encoder_ctl(...): void *sb_encoder_init(SpeexMode *m) { . . . --> speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); // Replace <-- speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); st->sampling_rate*=2; return st; } -- Best regards Robert Milharcic e-mail: robert.milharcic@ib-caddy.si <p><p><p>--- >8...
2004 Aug 06
1
SPEEX_GET_SAMPLING_RATE of encoder is wrong
...only happens with speex_wb_mode. But like I said, it is because in wideband mode, the function sb_encoder_init is called and this function initializes the sampling rate using speex_*de*coder_ctl instead of speex_*en*coder_ctl In narrowband mode, the sampling rate is just initialized to 8000 st->sampling_rate=8000; BTW, I saw that my email was added to an existing thread instead of creating a new thread. Sorry about that. Best regards, Chris ----- Original Message ----- From: "Jean-Marc Valin" <Jean-Marc.Valin@USherbrooke.ca> To: "speex" <speex-dev@xiph.org>; <c...
2007 Jan 08
1
VAD in preprocessor
...he start of and end of sentences have clatter (maybe clatter does not meet that sound, there is a defect). To overcome this problem, are SPEEX_PREPROCESS_SET_PROB_START, SPEEX_PREPROCESS_SET_PROB_CONTINUE parameters or other anything useful? int param_enabled = 1; int param_disabled = 0; int sampling_rate = 8000; SpeexPreprocessState *preprocess; preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_VAD, &param_e...
2016 Jun 28
1
Patches for adding 120 ms encoding
...fect the code readability. On Mon, Jun 27, 2016 at 3:02 PM Ulrich Windl < Ulrich.Windl at rz.uni-regensburg.de> wrote: > Hi! > > A note on style: Looking at this chunk of the patch > -- > @@ -382,9 +382,15 @@ int main(int argc, char *argv[]) > frame_size = sampling_rate/25; > else if (strcmp(argv[ args + 1 ], "60")==0) > frame_size = 3*sampling_rate/50; > + else if (strcmp(argv[ args + 1 ], "80")==0) > + frame_size = 4*sampling_rate/50; > + else if (strcmp(argv...
2016 Jun 27
0
Antw: Re: Patches for adding 120 ms encoding
Hi! A note on style: Looking at this chunk of the patch -- @@ -382,9 +382,15 @@ int main(int argc, char *argv[]) frame_size = sampling_rate/25; else if (strcmp(argv[ args + 1 ], "60")==0) frame_size = 3*sampling_rate/50; + else if (strcmp(argv[ args + 1 ], "80")==0) + frame_size = 4*sampling_rate/50; + else if (strcmp(argv[ args + 1 ], "100&q...
2016 Jun 27
2
Patches for adding 120 ms encoding
Attached is the amended second patch. It now extends the multistream API as well to 80/100/120 ms and incorporates changes based on Mark's comments. Thanks, Felicia On Mon, Jun 13, 2016 at 4:21 PM Felicia Lim <flim at google.com> wrote: > Hi Mark, Jean-Marc, > > Thanks for your comments. > > On Sun, Jun 12, 2016 at 6:34 AM Mark Harris <mark.hsj at gmail.com>
2004 Aug 06
0
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi, Do you get that problem with speex_nb_mode too (or only speex_wb_mode)? Jean-Marc Le lun 29/03/2004 à 05:35, Chris Flerackers a écrit : > Hi, > > I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE > as in > speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE, > &m_SampleRate ); > I get > 2 > The encoder is initialized with > m_pEncoderState = speex_encoder_init ( &speex_wb_mode ); > > On the decoder side, the correct sampling rate is returned:...
2007 Jun 12
2
21bytes vs 38 bytes
...ex decodes the 21-byte packets I recieve into 160 bytes and I can play them fine, but when I encode, the result is 38-bytes long. I have read that 38 bytes means that it is encoding at 15KHz, but I have set it to nb-mode and when stepping through the libspeex encoding sourcecode, I see that st->sampling_rate is 8000. Any idea why I speex-compress 160 bytes to 38 and not 21? Thanks in advance. y -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070612/50c8cce8/attachment.html
2006 Sep 21
2
AEC in WB mode fixed yet ?
...> >------------------------------------------------------------------------- Hello, I think I will ask my question in an other way because It was not really a success :-) Does the AEC works in WB yet ? In mdf.c, I can read : /* FIXME: Make that an init option (new API call?) */ st->sampling_rate = 8000; Does it mean that the AEC in WB is not fixed yet ? Thank you for your answer, I really need to now if I have to work on that... JC.
2010 Jun 15
2
AEC init crashes
Hello, I've just caught a strange crash in speex_echo_state_init routine. It happened only on one WinXP machine, while on others using XP, Vista and 7 everything is fine. Crash occures in mdf.c line 434: st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); Got any ideas or should I provide more information of the OS? Thanks a lot! Regards, Anton A. Shpakovsky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100615/11d7036b/attachment.htm
2008 Feb 02
0
Patch to make analysis data available.
...3 + #ifdef __cplusplus } #endif Index: include/speex/speex_echo.h =================================================================== --- include/speex/speex_echo.h (revision 14443) +++ include/speex/speex_echo.h (working copy) @@ -51,6 +51,14 @@ /** Get sampling rate */ #define SPEEX_ECHO_GET_SAMPLING_RATE 25 +/* Can't set window sizes */ +/** Get weight sizes (int32[2]) */ +#define SPEEX_ECHO_GET_WEIGHT_SIZES 27 + +/* Can't set window content */ +/** Get weights (int32[]) */ +#define SPEEX_ECHO_GET_WEIGHTS 29 + /** Internal echo canceller state. Should never be accessed directly. */ s...
2008 Nov 10
3
SPEEX on iPhone ?
Hello Ashhar, thanks for your reply, but i'm a bit surprised. 1- Does it mean that it is possible to make a Real Time Encoding/Decoding with SPEEX on iPhone ? 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and what kind of CPU load do they measure for that ? Thanks by advance, Vincent ----- Original Message ----- From: "Ashhar Farhan" <farhan at phonestack.com> To: "Vincent Burel" <vincent.burel at vb-audio.com> Cc: <speex-dev at xiph.org> Sent:...
2006 Dec 29
0
VAD in preprocessor
...to use speex-1.2beta1 in my speech application. I try to understand speex source code and improve speech quality. The problem in my application (like many people in the list says) is noise. So I've added VAD in preprocessor as following: int param_enabled = 1; int param_disabled = 0; int sampling_rate = 8000; SpeexPreprocessState *preprocess; preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_VAD, &param_e...
2008 Feb 21
0
st->nb_loudness_adapt removal patch
...me to another */ @@ -516,7 +515,6 @@ /*st->loudness = pow(AMP_SCALE*st->agc_level,LOUDNESS_EXP);*/ st->loudness = 1e-15; st->agc_gain = 1; - st->nb_loudness_adapt = 0; st->max_gain = 30; st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); @@ -585,7 +583,6 @@ loudness*2 > pow(st->loudness, 1.0/LOUDNESS_EXP))*/ if (Pframe>.3f) { - st->nb_loudness_adapt++; /*rate=2.0f*Pframe*Pframe/(1+st->nb_loudness...
2012 Dec 25
0
Problem in using SpeexPreprocess
Hi, I wrote to a program looking at the api reference to pre-process noisy speech using SpeexPreprocess api. Code listing is the following: --------------------------------------- #include <stdio.h> #include <speex/speex_preprocess.h> #define FRAME_SIZE 160 #define SAMPLING_RATE 8000 int main(int argc, char **argv) { SpeexPreprocessState *preprocess_state = speex_preprocess_state_init(FRAME_SIZE, SAMPLING_RATE); FILE *fin = fopen(argv[1], "r"); FILE *fout = fopen(argv[2], "wb"); short in[FRAME_SIZE]; //float input[FRAME_SIZE];...
2007 Feb 06
2
svn AGC
Hi Jean Marc, I found that the AGC API and algorithm has changed in svn head trunk. Is it safe to use it? Or is it for testing purpose only? You also said that VAD in svn is broken in a previous post, is it related to the AGC change? or can we mix the old VAD algorithm with the new AGC safely? kind regards, fredo
2007 Jun 13
1
21bytes vs 38 bytes
...; play > > them fine, but when I encode, the result is 38-bytes long. > > > > I have read that 38 bytes means that it is encoding at 15KHz, but I have > > set > > it to nb-mode and when stepping through the libspeex encoding > sourcecode, I > > see that st->sampling_rate is 8000. > > > > Any idea why I speex-compress 160 bytes to 38 and not 21? Thanks in > > advance. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070613/3b73a728/attachment.html
2008 Nov 12
2
SPEEX on iPhone ?
...m> wrote: > > Hello Ashhar, > > > > thanks for your reply, but i'm a bit surprised. > > > > 1- Does it mean that it is possible to make a Real Time Encoding/Decoding > > with SPEEX on iPhone ? > > > > 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and > > what kind of CPU load do they measure for that ? > > > > Thanks by advance, > > Vincent