Displaying 5 results from an estimated 5 matches for "resample2".
Did you mean:
resample
2016 Feb 04
2
Resampler set_rate improvements
Hi Jean-Marc,
Thanks for taking a look.
I've added an example program in the patches that changes the rate
frequently. You can run test-resample2 >test.raw and open in audacity or so
to look at the spectrum etc. I've attached a before/after screenshot.
In theory, depending on the current phase and the rate changes that are
applied, the error can be audible as a pop when changing rates. I've tested
this with a sine wave, it might...
2016 Feb 04
0
Resampler set_rate improvements
Hi Wim,
On 02/04/2016 10:14 AM, Wim Taymans wrote:
> I've added an example program in the patches that changes the rate
> frequently. You can run test-resample2 >test.raw and open in audacity or so
> to look at the spectrum etc. I've attached a before/after screenshot.
I'll have a closer look at your test program.
> In theory, depending on the current phase and the rate changes that are
> applied, the error can be audible as a pop whe...
2016 Feb 04
2
Resampler set_rate improvements
Hi,
These patches improve the resampler set_rate function.
The first 2 patches do some cleanups in the GCD calculation and avoid an
overflow when calculating the new phase. This patch could probably be
simplified
if we allowed 64bits operations in speexdsp.
The 3rd patch avoid rounding errors in the phase calculation. The problem
is that the new rate is calculated with the reduced rate, which
2009 Apr 10
3
turning list into vector/dataframe
Hi,
I have used this command :
resamples<-lapply(1:1000,function(i) sample(lambs,replace=F))
resamples2<-lapply(resamples,Cusum)
to get a list of 1000 samples of my data. The function Cumsum is defined as
follows:
Cusum<-function(x){
SUM<-cumsum(x)-(1:length(x))*mean(x)
min<-min(cumsum(x)-(1:length(x))*mean(x))
max<-max(cumsum(x)-(1:length(x))*mean(x))
diff<-max-min
2009 Jul 03
3
ffmpeg and zoneminder install problems
...uot;/root/software/ffmpeg" -I"/root/software/ffmpeg"
-I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
-Wwrite-strings -O3 -c -o resample2.o resample2.c
gcc -I"/root/software/ffmpeg"/libswscale
-I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
-I"/root/software/ffmpeg" -I"/root/software/ffmpeg"
-I"/root/software/ffmpeg"...