search for: speex_warn

Displaying 20 results from an estimated 23 matches for "speex_warn".

2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
...y eliminating some of them, but I have a feeling that generic mechanism for picking only those modes needed (either through conditional compilation or may be even with configuration perl script) would be simple than specific DISABLE_VOCODER. Another potential saving could be achieved by replacing speex_warning, speex_notification and speex_error with user-modifiable defines. The existing DISABLE_WARNING/ OVERRIDE_SPEEX_WARNING method is not efficient in reducing the code footprint because the majority of the overhead happens in the points of invocation of the speex_warning rather than in the function...
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
...g after WIDEBAND that the users are likely to never need or never want. Ant take it off efficiently requires the widest knowledge of internal functioning of the library. I think, DISABLE_VBR is a good candidate for official release. >> Another potential saving could be achieved by replacing speex_warning, speex_notification >> and speex_error with user-modifiable defines. The existing DISABLE_WARNING/ >> OVERRIDE_SPEEX_WARNING method is not efficient in reducing the code footprint because the >> majority of the overhead happens in the points of invocation of the speex_warning r...
2004 Aug 06
1
narrowband embedded in wideband
...e I'll need to go further into the guts of speex to do this. I do, however, see some lines in nb_celp.c/nb_decode() that look interesting. I guess I'll play with it. I doubt that it will be terribly clean, though. Jean-Marc: Take a look at line 1195 in nb_celp.c (CVS). It reads "speex_warning ("More than to wideband layers found: corrupted stream?");" when it should be "More than two wideband layers..." "Christian.Buchner" <Christian.Buchner1@epost.de> writes: >> Is there any way to access only the narrowband portion of a wideband &gt...
2005 Feb 27
2
SPEEX_GET_QUALITY
...map[quality]; } break; + case SPEEX_GET_QUALITY: + { + int quality; + + for(quality=0;quality <=10; quality++) + if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]) break; + + if (quality>10) { + (*(int*)ptr) = -1; + speex_warning("quality not set"); + return -1; + } else + (*(int*)ptr) = quality; + } + break; case SPEEX_SET_COMPLEXITY: st->complexity = (*(int*)ptr); if (st->complexity<1) $ diff -u ../original/speex-1.1.6/libspeex/sb_celp.c libspeex/sb_celp.c --- ../o...
2006 Nov 15
2
[PATCH] symbian port
hi, this patch should fix the symbian build. /alfred -------------- next part -------------- A non-text attachment was scrubbed... Name: speex-symbian2.patch Type: text/x-patch Size: 2669 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20061115/5ac4915e/speex-symbian2.bin
2006 Nov 15
1
[PATCH] symbian port
...================================================================= >> --- libspeex/fftwrap.c (revision 12114) >> +++ libspeex/fftwrap.c (working copy) >> @@ -103,8 +103,9 @@ >> if (in==out) >> { >> int i; >> + float scale; >> speex_warning("FFT should not be done in-place"); >> - float scale = 1./((struct drft_lookup *)table)->n; >> + scale = 1./((struct drft_lookup *)table)->n; >> for (i=0;i<((struct drft_lookup *)table)->n;i++) >> out[i] = scale*in[i]; >...
2004 Oct 29
2
speex on TI C5x fixed-point DSP
Jean-Marc Valin wrote: >Hi Jamey, > >Really cool to see Speex being ported to the C55xx and I'd be glad to >integrate the changes required in Speex (and the style's fine with me). > > I have the encoder and decoder running now and have verified that the encoder is bit-exact wrt to the fixed-point code running on x86 for the same 30-second audio sample. Encode and
2011 Aug 29
3
Speex VAD always returning 1
...if (st->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speech_prob > st->speech_prob_continue)) { st->was_speech=1; return 1; } else { st->was_speech=0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewrite"); st->vad_enabled = (*(spx_int32_t*)ptr); break; As you can see, it is a hack, not supposed to be very good. Still, weird that you get this result. If you want a sample to test it, check speexenc.c file in speex s...
2004 Aug 06
1
[PATCH] Re: Decoding .spx with 1.0 on ppc produces noise!
...hannels); --- speex-1.0-works/libspeex/nb_celp.c.orig Thu Apr 17 06:13:47 2003 +++ speex-1.0-works/libspeex/nb_celp.c Thu Apr 17 06:13:52 2003 @@ -1067,7 +1067,7 @@ wideband = speex_bits_unpack_unsigned(bits, 1); if (wideband) { - speex_warning ("More than to wideband layers found: corrupted stream?"); + speex_warning ("More than two wideband layers found: corrupted stream?"); return -2; } <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg...
2004 Aug 06
4
Decoding .spx with 1.0 on ppc produces noise!
Hi, I got my hands on the LCA 2003 CD today and I tried to listen to it on my powerbook running Linux. Instead of getting speech, I got an earfull of noise! Attempting the same experiment on an i386 with the same CD produced understandable speech. It seems that the output routine in speexdec converts the output data to little endian short format, which is incorrect on the ppc architecture. The
2004 Oct 29
0
speex on TI C5x fixed-point DSP
...ARC64 and probably x86-64. I suggest either an explicit check for C55xx (and later others) or a test in configure.ac. Also, I'm not sure I get your use of "+#ifdef UNUSED" in the SpeexBits code. Finally, there's a few changes which I think should be removed, like for speex_alloc, speex_warning, ... same as the "#if 0" for wideband and other debug stuff. Could you clean the patch and send it back to me so I can apply it? Jean-Marc
2005 Feb 27
0
SPEEX_GET_QUALITY
...SPEEX_GET_QUALITY: > + { > + int quality; > + > + for(quality=0;quality <=10; quality++) > + if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]) break; > + > + if (quality>10) { > + (*(int*)ptr) = -1; > + speex_warning("quality not set"); > + return -1; > + } else > + (*(int*)ptr) = quality; > + } > + break; > case SPEEX_SET_COMPLEXITY: > st->complexity = (*(int*)ptr); > if (st->complexity<1) > > $ diff -u ../original/speex-1....
2006 Nov 15
0
[PATCH] symbian port
...ndex: libspeex/fftwrap.c > =================================================================== > --- libspeex/fftwrap.c (revision 12114) > +++ libspeex/fftwrap.c (working copy) > @@ -103,8 +103,9 @@ > if (in==out) > { > int i; > + float scale; > speex_warning("FFT should not be done in-place"); > - float scale = 1./((struct drft_lookup *)table)->n; > + scale = 1./((struct drft_lookup *)table)->n; > for (i=0;i<((struct drft_lookup *)table)->n;i++) > out[i] = scale*in[i]; > } else { &g...
2010 Jun 07
0
No subject
...t->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speec= h_prob > st->speech_prob_continue)) { st->was_speech=3D1; return 1; } else { st->was_speech=3D0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewri= te"); st->vad_enabled =3D (*(spx_int32_t*)ptr); break; As you can see, it is a hack, not supposed to be very good. Still, weird th= at you get this result. If you want a sample to test it, check speexenc.c file in spee...
2010 Jun 07
0
No subject
...t->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speec= h_prob > st->speech_prob_continue)) { st->was_speech=3D1; return 1; } else { st->was_speech=3D0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewri= te"); st->vad_enabled =3D (*(spx_int32_t*)ptr); break; As you can see, it is a hack, not supposed to be very good. Still, weird th= at you get this result. If you want a sample to test it, check speexenc.c file in spee...
2011 Aug 29
0
Speex VAD always returning 1
...(st->was_speech && > st->speech_prob > st->speech_prob_continue)) > { > st->was_speech=1; > return 1; > } else > { > st->was_speech=0; > return 0; > } > } else { > return 1; > } > > AND > > case SPEEX_PREPROCESS_SET_VAD: > speex_warning("The VAD has been replaced by a hack pending a complete > rewrite"); > st->vad_enabled = (*(spx_int32_t*)ptr); > break; > > > As you can see, it is a hack, not supposed to be very good. Still, weird > that you get > this result. If you want a sample to test i...
2004 Aug 06
2
narrowband embedded in wideband
Is there any way to access only the narrowband portion of a wideband stream? I'd like to be able to encode the audio only once, but allow members in a conference to have some rough selection of bandwidth, and allow them to move to a lower-bitrate stream if there is a need to do so. Thanks, Matthias -- Matthias Granberry matthias@utdallas.edu (469) 371-0596 --- >8 ---- List archives:
2011 Aug 29
2
Speex VAD always returning 1
I have been trying to understand how to get the VAD algorithm working. I sent an input stream of all zeros into the preprocessor but still got a return value of 1 indicating that speech was detected. Is this feature not available with the latest release? I thought at the very least it would detect this as silence and return 0 but that does not seem to be the case. Does anyone have any
2008 May 03
2
Resampler (no api)
...ilt_len-1 + st->buffer_size; + st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); + for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) st->mem[i] = 0; - st->mem_alloc_size = st->filt_len-1; /*speex_warning("init filter");*/ } else if (!st->started) { spx_uint32_t i; - st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*(st->filt_len-1) * sizeof(spx_word16_t)); - for (i=0;i<st->nb_channels*(st->filt_len-1);i++) + st->mem...
2004 Nov 01
4
speex on TI C5x fixed-point DSP
...86-64. I suggest either an explicit check for C55xx (and >later others) or a test in configure.ac. > >Also, I'm not sure I get your use of "+#ifdef UNUSED" in the SpeexBits >code. Finally, there's a few changes which I think should be removed, >like for speex_alloc, speex_warning, ... same as the "#if 0" for >wideband and other debug stuff. Could you clean the patch and send it >back to me so I can apply it? > > I'll clean up the patch as suggested. I meant to remove all the extraneous changes but I guess I missed some. A test in configure...