Displaying 20 results from an estimated 187 matches for "mdf".
Did you mean:
md5
2005 Nov 08
1
[PATCH] build warnings in mdf.c
Hi
I just upgraded to http://svn.xiph.org/trunk/speex r10357
and got this build warning:
alfredh@io:$ make -s mdf.o
libspeex/mdf.c: In function 'speex_echo_cancel':
libspeex/mdf.c:321: warning: statement with no effect
libspeex/mdf.c:317: warning: `adapt_rate' might be used uninitialized in this function
Is this intentional? In any case here is a simple fix:
Index: libspeex/mdf.c
==============...
2012 Oct 07
2
Reshape2, melt, order of categorical variable and ggplot2
...16585 16672
3 bench1_100 183924 185563
4 bench1_100 169310 184806
5 bench1_300 514430 516834
6 bench1_300 510743 514062
7 bench1_500 880146 877882
8 bench1_500 880146 857359
9 bench1_1k 880146 1589600
10 bench1_1k 880146 1709990
>
I'd like to melt it by using id=V1:
> mdf <- melt(df)
Using V1 as id variables
> mdf
V1 variable value
1 bench1_10 V2 16675
2 bench1_10 V2 16585
3 bench1_100 V2 183924
4 bench1_100 V2 169310
5 bench1_300 V2 514430
6 bench1_300 V2 510743
7 bench1_500 V2 880146
8...
2005 Nov 07
1
Some problems with mdf.c
Hello...
I want to ask you something about your software implementation of MDF filter with DTD machanism.
(mdf.c speex_echo.h files)
My questions are:
1. What are theoretical (using in your articles) equivalents of index symbols from your program?
2. Could you describe or give me an algorith which was using during software implementation of the MDF+DTD
3. How I could freeze...
2008 May 19
2
recoding data with loops
...sks,
# I'd be much obliged.
# First, i'd like to generate some random data in a dataframe
# to efficiently illustrate what I'm up to.
# let's say I have six variables as listed below (I really
# have hundreds, but a few will illustrate the point).
# I want to generate my dataframe (mdf)
# with the 6 variables X 100 values with rnorm(7).
# How do I do this? I tried many variations on the following:
var_list <- c("HEQUAL", "EWEALTH", "ERADEQ", "HREVDIS1", "EDISCRIM",
"HREVDIS2")
for(i in 1:length(var_list)) {var_list[...
2011 May 26
0
Reference Classes: getter and setter functions/methods and possible shortcuts
...,
idx.col,
drop=if(missing(idx.row)) TRUE else length(src$PRIMARYDATA) == 1,
...
){
if(!inherits(src, "MyDataFrame")){
stop("Expecting 'src' to be of class 'MyDataFrame")
}
return(src$PRIMARYDATA[idx.row, idx.col, drop=drop])
}
mdf <- myDataFrameCreate(a=1:5, b=1:5)
mdf
mdf$PRIMARYDATA
mdf$getPRIMARYDATA() # automaticall set via
'getRefClass("MyDataFrame")$accessors()'
mdf$subsetGet(1,1)
mdf$subsetGet(1,)
mdf$subsetGet(,1)
mdf$subsetGet(,1,drop=FALSE)
mdf[1,1]
mdf[1,]
mdf[,1]
mdf[,1, drop=FALSE]
Thanks...
2009 Feb 27
1
levelplot help needed
...<- data.frame(x_label = factor(x_label),y_label = factor(y_label), values =
as.vector(my.data))
df1 <- data.frame(df, group = rep("Group 1", xl*yl))
df2 <- data.frame(df, group = rep("Group 2", xl*yl))
df3 <- data.frame(df, group = rep("Group 3", xl*yl))
mdf <- rbind(df1,df2,df3)
# plot
# --------------------------------------
graph <- levelplot(mdf$values ~ mdf$x_label * mdf$y_label | mdf$group,
aspect = "xy", layout = c(3,1),
scales = list(x = list(labels = substr(levels(factor(mdf$x_label)),0,5),
rot = 45)))
p...
2006 Jan 19
1
Compile error (svn 10743)
...nb_mode->frameSize = frameSize;
nb_mode->subframeSize = subframeSize;
nb_mode->lpcSize = lpcSize;
nb_mode->bufSize = bufSize; <<<---
1>d:\voip\mod_speexrefcode\modes_noglobals.c(198) : error C2039: 'bufSize' : is not a member of 'SpeexNBMode'
2. mdf.c
- speex_echo_cancel()
/* Update weight to prevent circular convolution (MDF / AUMDF) */
for (j=0;j<M;j++)
{
/* This is a variant of the Alternatively Updated MDF (AUMDF) */
/* Remove the "if" to make this an MDF filter */
if (j==M-1 || st->cancel_count...
2007 Mar 01
1
compiling echo cancellation
dear all
I got this error when I try to use libspeex in visual studio. when I
include speex/speex_echo.h, it complains about unresolved external symbol
_speex_echo_state_init. And when I include mdf.c into the source, it
generates whole bunch of errors. Any idea? thanks so much
--------------------Configuration: audio - Win32 Debug--------------------
Compiling...
mdf.c
C:\Documents and Settings\Min Qin\Desktop\speex\audio\mdf.c(156) : error
C2054: expected '(' to follow 'inline...
2005 May 10
0
Cross-compiling with Cirrus Logic MaverickCrunch support
...port CPPFLAGS='-mcpu=ep9312 -mfix-crunch-d1'
but it seems libtool does not like it, while the object files are
compiled fine:
...
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I/home/llandre/devel/zephyr/sw/rootfs/usr/local/include/ogg -mcpu=ep9312
-mfix-crunch-d1 -g -O2 -c mdf.c -MT mdf.lo -MD -MP -MF
.deps/mdf.TPlo -fPIC -DPIC -o .libs/mdf.o arm-linux-gcc -DHAVE_CONFIG_H
-I. -I. -I.. -I../include
-I/home/llandre/devel/zephyr/sw/rootfs/usr/local/include/ogg -mcpu=ep9312
-mfix-crunch-d1 -g -O2 -c mdf.c -MT mdf.lo -MD -MP -MF .deps/mdf.TPlo -o
mdf.o >/dev/null 2&g...
2011 May 09
2
reading a ".mdf" file in R
Hi,
I have a very large ".mdf" database (36 GB) that I want to import to R.
I'm using a computer with 64 GB of RAM, running on windows server 2008 R2
with SQL.
Could anyone guide me through the process. I have absolutely no idea what to
do.
Thanks,
Mauricio Romero
[[alternative HTML version dele...
2005 Dec 09
0
Patch for mdf.c without fixedpoint
The latest SVN version breaks mdf.c when running without fixed point.
Patch:
Index: mdf.c
===================================================================
--- mdf.c (revision 10563)
+++ mdf.c (working copy)
@@ -169,6 +169,8 @@
acc[i+1] += (X[i+1]*Y[i] + X[i]*Y[i+1]);
}
acc[i] += X[i]*Y[i];
+ X +...
2008 Feb 13
1
Fixed-point scaling of mdf impulse response
...ll overflow unless it's properly scaled.
This patch uses the same scaling as that used when updating the filters,
and the outputs now have the same shape and the same scale in fixed
and floating point.
Best regards,
Thorvald
-------------- next part --------------
diff -ubBwr clean/libspeex/mdf.c impulse_scale/libspeex/mdf.c
--- clean/libspeex/mdf.c 2008-02-13 11:12:13.000000000 +0100
+++ impulse_scale/libspeex/mdf.c 2008-02-13 22:47:44.000000000 +0100
@@ -1180,13 +1180,13 @@
{
#ifdef FIXED_POINT
for (i=0;i<N;i++)
- st->wtmp2[i] = EXTRACT16(PSHR...
2005 May 10
2
Encoder performance on ARM9
Hi Jean-Marc,
>I think it's worth trying the float version on your CPU. However, I
>wouldn't be surprised if the fixed-point was still faster than float.
ok, I'll try both configurations.
>BTW, you can use --enable-arm5-asm instead of --enable-arm4-asm. While
>both are currently almost the same, eventually it would be possible to
>get better performance using the
2005 Jul 07
1
Tables: Invitation to make a collective package
...tart=0, end=10, h=.5)
print(tbl); cat('\n')
# First and last class forced (fi=0)
tbl <- tb.table(x, start=1, end=9, h=1)
print(tbl); cat('\n')
tbl <- tb.table(x, start=1, end=10, h=2)
print(tbl); cat('\n')
# 1.2. Tables from data.frame
# 1.2.1. Making a data.frame
mdf=data.frame(X1=rep(LETTERS[1:4], 25),
X2=as.factor(rep(1:10, 10)),
Y1=c(NA, NA, rnorm(96, 10, 1), NA, NA),
Y2=rnorm(100, 58, 4),
Y3=c(NA, NA, rnorm(98, -20, 2)))
tbl <- tb.table(mdf)
print(tbl)
# Equal to above
tbl <- tb.table(m...
2005 Nov 10
2
Re: aec
...o cancellation (but not as good as when
> the files are perfectly aligned). When I invert the
> inputs, there is no noticeable cancellation.
> I'm using testecho with the preprocess line commented
> out. Preprocess seems to work very well at cleaning
> up the residual echo when mdf does its job, so I'm
> just focusing on testing mdf.
>
> -Jason
>
> --- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
> wrote:
>
> > First try your test #4 (same signal and offset) and
> > swap the inputs.
> >
> > Jean-Marc
> >
&...
2011 Aug 27
2
Am having trouble calling a function
...0)) # get 10-minute bin
dfm$flightfact = drop.levels(dfm$flightfact)
row.names(dfm) = seq(1:dim(dfm)[1])
#Find max and min error for each flight
library(zoo)
maxes = tapply(dfm$dt,dfm$flightfact,FUN=max) # Returns a list
mins = tapply(dfm$dt,dfm$flightfact,FUN=min)
mdf = data.frame(flight=index(maxes), maxes=as.numeric(maxes),
mins=as.numeric(mins))
# Add a column for colors
mdf$clr = as.factor((mdf$flight - 1) %% 5)
mc = c("red","cyan","green","blue","magenta","black")
# Plot the...
2007 Jan 22
2
Speex Options
Hi all,
I have been trying to implement audio echo cancellation using mdf.c from
opal-2.2.2. Using testecho.c the output obtained is not satisfactory. It
is cancelling the far end signal instead of the near end signal as per
requirement. I have been moving in circles figuring how to approach the
problem. Is there something wrong with the mdf that I am using?
I would...
2006 Feb 06
2
Problems with MDF
Hi, I'm still trying to implement speex AEC into my VOIP project and I have some problrm with MDF filter response. I have plots of ref(near-end), y(filter response) signals and from plots I obtain that filter response is to small so when i substruct it from ref signal there is no efect. Is there any way to make filter giving response about ref signal amplitude?
/Przemek Stajniak.
2008 Aug 17
1
MDF filter coefficients
Hi,
I would like to compute the inverse FFT of the MDF coefficients. I have noticed that some coefficients are obviously missing since I do not see the mirror effect, neither find the purely real frequency 0 coefficent that have to be found for a "real" signal.
I guess the frequency 0 coefficient is 0 (average energy 0), but how should I do t...
2006 Jan 19
0
Compile error (svn 10743)
...nb_mode->frameSize = frameSize;
nb_mode->subframeSize = subframeSize;
nb_mode->lpcSize = lpcSize;
nb_mode->bufSize = bufSize; <<<---
1>d:\voip\mod_speexrefcode\modes_noglobals.c(198) : error C2039: 'bufSize' : is not a member of 'SpeexNBMode'
2. mdf.c
- speex_echo_cancel()
/* Update weight to prevent circular convolution (MDF / AUMDF) */
for (j=0;j<M;j++)
{
/* This is a variant of the Alternatively Updated MDF (AUMDF) */
/* Remove the "if" to make this an MDF filter */
if (j==M-1 || st->cancel_count...