Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: preproc_patch_dth_10_26_05.patch Type: application/octet-stream Size: 8774 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20051026/c27a3ed6/preproc_patch_dth_10_26_05.obj
> Add the ability to set adaptation time and min noise duration,What do you use that for in practice?> and also provides ability to reset the state of the pre- > processor via reset function.that's a good idea.> Moves initialization of old_ps > into < 10 block so it doesn't get called as much.Why?> The rest > are just my annoying reformats that happened when I > was trying to synch my version of preprocess with the > latest from subversion.That would actually make it a pain to merge.> In my version I also added a finite check for the echo > buffer, but probably it should go in the mdf.c (echo canceller). > So that isn't in there.What do you mean? Jean-Marc
Jean-Marc Valin wrote:>>Add the ability to set adaptation time and min noise duration, >> >> > >What do you use that for in practice? > >I use this same ideas: (1) As far as "min noise duration", I basically run the preprocessor VAD inside of some code which continues to call audio "speech" for about 10 frames past the last time the preprocessor called it speech. In theory, if the VAD were perfect, I'd be calling 10 extra (non-speech) frames speech, but in practice, this helps reduce false-negatives, and only gives my up to 10 extra false-positives at the end of each spurt. I think I do this now in app_conference, but not in iaxclient anymore. http://cvs.sourceforge.net/viewcvs.py/iaxclient/app_conference/member.c?rev=1.7&view=markup around line 66. (2) In my distribution of things with the preprocessor, I've slowed the adaption time (I think this is the same as tom has), because otherwise, I've gotten both false-negatives on VAD, and the related issue where the denoiser was removing the speech intonations of particularly monotonic speakers. (actually, looking at it now, it seems that the slower adaptation constant I've used is what's in SVN now). if (st->nb_preprocess%250==0) -SteveK -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051031/f6bbb9b6/attachment.html
At 12:38 AM 10/31/2005, Jean-Marc Valin wrote:> > Add the ability to set adaptation time and min noise duration, > >What do you use that for in practice?I have found that in some cases a smaller/larger adaptation time works better- it is nice to be able to set it at run time. Min noise duration affects vad accuracy. Steve said it a bit more eloquently.> > and also provides ability to reset the state of the pre- > > processor via reset function. > >that's a good idea.great!> > Moves initialization of old_ps > > into < 10 block so it doesn't get called as much. > >Why?Doesn't need to get checked every iteration- no other reason. Easy to remove.> > The rest > > are just my annoying reformats that happened when I > > was trying to synch my version of preprocess with the > > latest from subversion.I can clean this up-i.e. resubmit it without that->That would actually make it a pain to merge. > > > In my version I also added a finite check for the echo > > buffer, but probably it should go in the mdf.c (echo canceller). > > So that isn't in there. >What do you mean?I do an isfinite check on the input samples- typically this never happens, but i have gotten NaN data from the AEC. Not sure what caused it though. Is this fixed already?> Jean-Marc______________________________________________ Tom Harper Lead Software Engineer SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/ 918 Parker St, Suite A14 Berkeley, CA 94710 Email: tharper@sightspeed.com Phone: 510-665-2920 Fax: 510-649-9569 My SightSpeed Video Link: http://tom.sightspeed.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051031/8da0ea2d/attachment.html
Does anyone have a tip for compiling for SSE extensions under Visual Studio and Windows? If I add _USE_SSE to the preprocessor directives, I get a successful compile, but speex_encode-int blows up when it's working (if it tries to compress anything other than silence). If I remove the _USE_SSE from the preprocessor directives everything works perfectly. I'm using VC6 under windows. Thanks! ______________________________________________________________________ Steve.