search for: resample

Displaying 20 results from an estimated 987 matches for "resample".

2008 Feb 14
2
Speex Resampler quality
Hi, I just built a sample application with speex resampler in linux and I tried to resample 8K sine wave tone mono to 48k using speex_resample_process_int. I am using a tool called EAQUAL for audio quality. I find the quality of Speex resampler to be decreasing when I increase the quality q of the resampler init function. Can some one give me pointers r...
2003 Dec 16
6
Resampling Stats software
Hi, I am new to R (I have most of my experience in SAS and SPSS). I was wondering if anyone has used both Resampling Stats and R, and could comment on strengths/relationships. Also, I have no clue on how to do the various examples from the book "Resampling: The New Statistics" in R. Can anyone give me some possible starting points? Or websites/books? Thanks, Brandon
2012 Sep 12
1
opus-tools resampler
Hi, I've noticed that the opus-tools is using a really old version of Speex's resampler code - a version that I've seen fail in the wild first-hand under low resource circumstances. I've actually submitted patches for some issues in the Speex resampler a while ago (and IIRC they were accepted): http://lists.xiph.org/pipermail/speex-dev/2009-November/007541.html , http://lists...
2009 Mar 17
2
Resample UltraWideBand to NarrowBand
...s 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 Library in resample this frame in 32KHz to 8KHz. Searching for it in Speex Doc, I found it: SpeexResamplerState *resampler; resampler = speex_resampler_init(nb_channels, input_rate, output_rate, quality, &err); err = speex_resampler_process_int(resampler, channelID, in, &in_length, out, &out_length); Bu...
2012 May 02
1
[PATCH] resample: Fix input indexing bug from interleaved functions
...is not consumed because it is also needed to produce the next output sample. When resampling the next channel this peeked sample is not any more available because *in_len parameter value was updated when resampling the first channel. Signed-off-by: Jyri Sarha <jsarha at ti.com> --- libspeex/resample.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libspeex/resample.c b/libspeex/resample.c index 7957c61..d59508d 100644 --- a/libspeex/resample.c +++ b/libspeex/resample.c @@ -970,13 +970,15 @@ EXPORT int speex_resampler_process_interleaved_float(SpeexResampler...
2008 May 29
2
FFT Resampler
...it in a VoIP environment if I can get latency reduced to an acceptable level :) The latency depends directly on the overlap parameter, which also controls the quality. Higher quality => higher latency. You could set the overlap to 0, but that would give you some nasty artifacts. You can also resample with smaller block sizes. In the example I used 20ms blocks and 50% overlap. If you use 10ms blocks and 50% overlap, latency sinks to 5ms. It could be 50% overlap is complete overkill. It could be it's not enough. It could be how much overlap you need depends on the block size. I need to d...
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: 59...
2013 Sep 24
5
Problem compiling opus-tools-0.1.7
...recursive make[1]: Entering directory `/home/peppermint/build/opus-tools-0.1.7' Making all in . make[2]: Entering directory `/home/peppermint/build/opus-tools-0.1.7' ? CC?????? src/opusenc-opus_header.o ? CC?????? src/opusenc-opusenc.o ? CC?????? src/opusenc-picture.o ? CC?????? src/opusenc-resample.o src/resample.c: In function ?update_filter?: src/resample.c:607:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:688:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:696:23: warning: comp...
2008 May 04
1
Residual resampling for non linear reg model
I was attempting to use the residual resampling approach to generate 999 bootstrap samples of alpha and beta and find their confidence intervals. However, I keep getting the error message:Error in nls(resample.mp ~ cases/(alpha + (beta * cases)), start = init.values, : singular gradientafter R has only produced a few bootstraps.Could anyone suggest where I am going wrong? Would greatly appreciate it!Mary manpower<-read.table("http://www.creem.st-and.ac.uk/len/classes/mt3607/data/manhours...
2008 Feb 18
2
Speex Resampler quality
Hi, *"That's in general not very reliable. You can get PEAQ to say all sorts of silly things." Can you provide me links for any more effective tools other than PEAQ? Which is more reliable for Speex resampler? * *"strongly suspect that it's just not compensating for the delay introduced by the resampler. Because higher quality means higher delay, you'd find that PEAQ doesn't like it when you increase the resampler quality. You can easily remove the delay (well, not remove it but skip t...
2013 Sep 24
0
Problem compiling opus-tools-0.1.7
...rectory `/home/peppermint/build/opus-tools-0.1.7' > Making all in . > make[2]: Entering directory `/home/peppermint/build/opus-tools-0.1.7' > CC src/opusenc-opus_header.o > CC src/opusenc-opusenc.o > CC src/opusenc-picture.o > CC src/opusenc-resample.o > src/resample.c: In function ?update_filter?: > src/resample.c:607:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > src/resample.c:688:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > src/resample.c:6...
2005 Apr 06
5
bootstrap vs. resampleing
Hi, I understand bootstrap can be used to estimate 95% confidence interval for some statistics, e.g. variance, median, etc. I have someone suggesting that by resampling certain proportion of the total samples (e.g. 80%) without replacement, we can also get the estimate of confidence intervals. Here we have an example of 1000 obsevations, we would like to estimate 95% confidence intervals for odds
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
..., nothing big I'm not sure about how to submit patches, so this is a test balloon :) ultimately, I'd like to fix the FIXED_POINT issue, see http://lists.xiph.org/pipermail/speex-dev/2013-December/008465.html currently, I think the only way to find out how speexdsp has been compiled is to resample some bytes and observe the output; which is awkard I plan to post some patches in this direction shortly... thanks, regards, p. Peter Meerwald (3): Resampler buffer_size is always 160, drop FIXED_POINT #ifdef Use fabsf() instead of fabs() since we have floats, not double Fix file permissio...
2008 May 29
0
FFT Resampler
...t if I can get latency reduced to > an acceptable level :) > The latency depends directly on the overlap parameter, which also controls > the quality. Higher quality => higher latency. You could set the overlap to > 0, but that would give you some nasty artifacts. > You can also resample with smaller block sizes. In the example I used 20ms > blocks and 50% overlap. If you use 10ms blocks and 50% overlap, latency > sinks to 5ms. How quality and CPU usage depends from block size? Looking at edge case - 1 sample blocks - I should have <1 sample latency, but something should...
2016 Mar 15
3
Question on opus_decoder output sampling rate
Hi, another question on the same topic Speex resampler at 44.1kHz seems to be very CPU intensive on Android (even more than the Opus encoder) While Speex at 48kHz is just fine. I wonder any alternate solutions or ideas ? Improve it, look for alternate solution ... I am guessing the NEON optimization are still used for both, etc. On Thu, Apr 2, 20...
2010 Dec 06
2
Problems with Speex Resamplers
If you can produce a simple minimal repro that exhibits this issue on some procedural signal (sine wave, etc) I'd love to look into it some more - I'm maintaining a hardened version of the Speex Resampler and would be very concerned if this bug made it into production. - Sherief -----Original Message----- From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On Behalf Of Colin Guthrie Sent: Saturday, December 04, 2010 9:33 AM To: speex-dev at xiph.org Subject: Re: [Speex-dev]...
2008 May 29
2
FFT Resampler
...cy reduced to >> an acceptable level :) >> The latency depends directly on the overlap parameter, which also controls >> the quality. Higher quality => higher latency. You could set the overlap to >> 0, but that would give you some nasty artifacts. >> You can also resample with smaller block sizes. In the example I used 20ms >> blocks and 50% overlap. If you use 10ms blocks and 50% overlap, latency >> sinks to 5ms. >> > > How quality and CPU usage depends from block size? > Looking at edge case - 1 sample blocks - I should have <1 s...
2008 May 29
2
FFT Resampler
...quality tests. First off; never do quality tests with ints. I had serious problems interpreting my results until it dawned on me that the signal differences were just 0 or 1. So, after a lot of scratching my head, these are done comparing the result from the _float versions (which is how both resamplers work internally anyway). What I did was this: Load speex_wb.wav as one large chunk of data. Pad data with as many zeroes as there are samples. Convert to long double. Use one long double FFT for the entire thing. Insert or chop off zeroes so the new length is (input_length)*(sample_target)/(sam...
2013 Jan 18
0
repeat resampling with different subsample sizes
Hi, I'm trying to write a code (see below) to randomly resample measurements of one variable (say here the variable "counts" in the data frame "dat") with different resampled subsample sizes. The code works fine for a single resampled subsample size (in the code below = 10). I then tried to generalize this by writing a function with a loop,...
2008 Feb 05
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...est regards, Frank -----Urspr?ngliche Nachricht----- Von: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> Gesendet: 02.02.08 06:26:08 An: speex-dev <speex-dev@xiph.org> Betreff: Re: FW: Re: [Speex-dev] Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation??? Frank Lorenz a ?crit : > And yes, the same "overflow" happens even when I disable Blackfin ASM > optimizations. Indeed, that shouldn't happen. Just to make sure I understand, so far there's two problems: 1) DIV32_16() in Blackfin assembly causes problems 2)...