Displaying 20 results from an estimated 1100 matches similar to: "auto-detection of frame boundary"
2007 Aug 14
2
Question about unicode characters in tcltk
hello list,
Can someone help me figure out why the following code doesn't work?
I'm trying to but both Greek letters and subscripts into a tcltk menu.
The code creates all the mu's, and the 1 and 2 subscripts, but it
won't create the 0. Is there a certain set of characters that R won't
recognize the unicode for? Or am I input the \u2080 incorrectly?
library(tcltk)
m
2005 Aug 12
2
coercing created variables into a new data frame using na.omit()
Hi,
I am an R newbie and one thing I am having trouble with binding variables that
I have created within one data frame into a new data frame when using
na.omit(). To illustrate this problem I will give the example I am working on
and the approah I have been using:-
data.frame1<-filepath....
attach(data.frame1)
#create a new variable using a function
new.variable<-rep(1,length(weight3))
2004 Aug 06
1
auto-detection of frame boundary
Here's the situation: 3 frames are being transferred back to back over
RTP. The total payload is known (thus the TOTAL frame size). We'd like
to decode all 3.
According to IETF RTP Profile (appendix C, of Jean-Marc's Speex Codec
Manual, verison 1.0), "it's only necessary to consider the sequence of
bits as output by the Speex encoder, and present the same sequence to
2010 Sep 29
2
Adding two data.frames.
Hi
I have two data frames that contains the same sort of data and I want do add
them together to get one big data frame, anyone know how to do that?
ex:
data.frame1
A B C
1 2 3
4 5 6
7 8 9
and
data.frame2
A B C
9 8 7
6 5 4
3 2 1
Would then become one big set:
data.frame3
A B C
1 2 3
4 5 6
7 8 9
9 8 7
6 5 4
3 2 1
Thx for your help
//Joel
--
View this message in context:
2002 Jan 18
2
length of dimnames???
Hi:
I have made a lot of progress reading and manipulating large data
files, thanks to the help of several of you. I am now stuck with
writing the final file with the following error (see also the full
transcript below):
Error in as.matrix.data.frame(x) : length of dimnames[2] not
equal to array extent
I do not know what it means and could not find how to get around that
in the manual nor
2012 Jan 14
3
add column with values found in another data frame
I am positive this problem has a very simple solution, but I have been
unable to find it, so I am asking for your help. I need to know how to look
something up in one data frame and add it as a column in another. If I have
a data frame that looks like this:
> frame1
ID score test age
1 Guy1 10 1 20
2 Guy1 13 2 20
3 Guy2 9 1 33
4 Guy2 11 2 33
and another frame that looks like this:
2011 Apr 05
2
Help to check data before putting it in a database
The example scene:
I have a database with stats about each goal made by my soccer team. This
database (a data frame in R) is organized in lines (goals) with a set of
columns containing data about these goals (player name, tactic position,
etc). For now, this database will be called "data.frame1".
What I need is to feed this "data.frame1" with new information about my team
2004 Aug 06
3
Multiple Frames per Packet
David,
Here's the trick ... do this just before your speex_bits_write():
speex_bits_insert_terminator(&bits);
Then, when decoding, keep calling speex_decode() until it returns -1
or speex_bits_remaining(&bits) returns 0.
Works for me, anyway.
Tom
David Barrett (dbarrett@quinthar.com) wrote:
>
> Hi, I'm using Speex and I want to pack multiple frames into a single
>
2010 Apr 11
2
Is Speex 1.0 and >=1.1 compatible?
On Saturday 10 April 2010 21.51.55 Jean-Marc Valin wrote:
> All version after 1.0 are compatible with each other and with 1.0.
Hi Jean-Marc and thanks for the quick reply.
I have now looked at this further and got the idea to hard code the number of
frames in the decoder temporarily as a test and voil?, it works! The problem
seem to be some incompatibility in the termination handling. After
2010 Apr 10
2
Is Speex 1.0 and >=1.1 compatible?
Hi list,
I'm trying to figure out how to do the most compatible implementation that will
work with as many versions of Speex as possible. I am streaming multi frame
Speex blocks over a TCP connection which works fine as long as the version of
Speex is the same on both sides. When using a newer Speex (1.1.?) to encode
and an older version to decode (1.0.5), it does not work.
The encoder
2010 Jan 20
1
Merge and join data
Hi,
I'm looking to combine two data frames. Several of the columns are in
common while the others need to be summed up. The apply functions and
the merge functions don't seem to be working. I've included a basic
example of what I'm trying to do below. Thanks!
Sean
data.frame1<-as.data.frame(matrix(c('winter','dredge','515',100,150),1,5))
2010 Apr 15
2
Decoded output buffer size
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 15/04/2010 01:30, Conrad Parker wrote:
>
>> But how can I know the size of each speex frame into a multiframe payload?
>
> use speex_bit_read_from() just once on the packet, then call
> speex_decode() once for each frame.
>
> Conrad.
Thanks for the reply, Conrad.
What is not clear for me (and I didn't found it on the
2004 Aug 06
1
Packet Loss
I've just started testing Speex, and it seems very good so far. In
testing the Speex decoder and simulating packet loss, I noticed that simply
not calling speex_decode(st, NULL, output) when a packet is dropped doesn't
appear to degrade the quality of the audio later on.
The reason for this test is that in a real-time situation, you may not
know right away when a packet is dropped
2006 Oct 16
3
lda
I'm trying to do a linear discriminant analysis on a dataset of three
classes ("Affinities"), using the MASS library:
> data.frame2 <- na.omit(data.frame1)
>
> data.ld = lda(AFFINITY ~ ., data.frame2, prior = c(1,1,1)/3)
Error in var(x - group.means[g, ]) : missing observations in cov/cor
What does this error message mean and how can I get rid of it?
Thanks!
Pieter
2013 Feb 13
3
match in dependence of 2 columns
Hello,
i want to match a column of one data.frame to another, my problem is, that i
only want to match the data, if 2 columns are equal.
i have a example:
data.frame1
cu.nr. name value
A 1 Evo 100
B 1 Mer 80
C 2 Ford
2004 Aug 06
2
What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
I thought it would be more update/better/faster, any thing wrong?
In the future, would you use short, and forget about float?
If so, I use 1.1.4, I wouldn't need to change my code in the future, right?
You said, it's unstable, yes, I got compiling errors with MsVC6 and MsVC.net
And I modified it a bit to get it compiled. Should I post the errors here?
<p>-----Original Message-----
2002 Jan 02
1
Combining files
Hi:
I am a very recent user of R 1.40 for MacOSX and went through the
help files but did not not find the function that I am looking for.
I have two comma separated files which I want to partly combine.
File 1 has 49670 lines and 26 columns (separated by commas) and looks
like this:
...
2004 Nov 15
2
Jitter buffer
Jean-Marc Valin wrote:
>>I believe it is adaptive, but no, I haven't used it, because it's
>>coupled only to the speex codec. We're working on a generic
>>application and codec-independent jitter buffer algorithm, for use in
>>asterisk and iaxclient (at least). Some information is available at
2004 Aug 06
1
draft-herlein-speex-rtp-profile-01
Ok, I figured it out. :) This seems to work:
1) Call speex_bits_read_from() once, specifying the location in
memory of the compressed data, and the total length of that data.
2) Keep calling speex_decode() until speex_bits_remaining()
returns 0.
Then you don't have to keep track of the # of frames per packet,
or the size of each compressed frame. It's done magically by the
codec.
2004 Aug 06
2
What is the format of the PCM/WAV data forspeex_encode & speex_decode?
Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to
speex_encode()?
But the samplecode that comes with 1.1.4 shows me to put short in float
array, and pass the float array to speex_encode()
<p>-----Original Message-----
From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf
Of Jean-Marc Valin
Sent: Saturday, April 17, 2004 6:25 AM
To: speex