Displaying 20 results from an estimated 200 matches similar to: "Skipping of sample in ogg writing"
2009 Apr 06
3
how to subsample all possible combinations of n species taken 1:n at a time?
Hello
I apologise for the length of this entry but please bear with me.
In short:
I need a way of subsampling communities from all possible communities of n
taxa taken 1:n at a time without having to calculate all possible
combinations (because this gives me a memory error - using
combn() or expand.grid() at least). Does anyone know of a function? Or can
you help me edit the
combn
or
2012 Jun 20
1
prcomp: where do sdev values come from?
In the manual page for prcomp(), it says that sdev is "the standard
deviations of the principal components (i.e., the square roots of the
eigenvalues of the covariance/correlation matrix, though the
calculation is actually done with the singular values of the data
matrix)." ?However, this is not what I'm finding. ?The values appear
to be the standard deviations of a reprojection of
2005 Jun 22
1
Newbie - Encoding PCM
Hi all,
i've to encode voice from a voicemodem. I choose speex 1.0.5 for its quality
in voice encoding. I've tried to implement an encoder but unsuccesfully.
Here's my code:
/* ============ SPEEX stream ENCODER
============================================ */
int SPEEX_EncodePCM(struct _IDA_ClientSocket *IDA,char *buffer,unsigned char
*PCM,int num_samples) {
/* buffer point to the
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
Hello,
I'm having a problem using Speex - I'm getting white noise/static from the
following process:
(Load File) -> (Encode) -> (Decode) -> (Play)
I know there's no issue with the loading or playing because (Load File)->
(Play) plays the file properly.
I believe the problem lies with the speex_bits_write and
speex_bits_read_from functions, because if I change my encode
2008 Aug 29
0
Fw: Voice Activation Level (speex 1.1.11.1)
Manisha,
I'm still here. :-) Here's the function:
// Returns the average power level in the given signal
float getPower(signed short int *signal, int numSamples)
{
int i;
float amp;
float powerSum = 0.0f;
for (i = 0; i < numSamples; i++)
{
amp = (float) abs(signal[i]);
powerSum += amp * amp;
}
return powerSum / (32768.0f * 32768.0f *
2012 Jul 14
2
writing data into files whose names are in a vector
GuRus
How do I use the write function (or write.table or write.csv) to achieve
the following please?
age=c(32,37,39)
names=c("john","peter","jake")
I would like create in a directory 3 files each named as john.csv,peter.csv
and jake.csv and each file have data from the age vector. That is jon.csv
will contain 32, peter.csv will contain 37 and jake.csv will contain
2017 Jun 14
2
Regarding Bugzilla Register issue
> I am not able to register on bugzilla due to spam error.can someone help me with this issue?
support-bugzilla at lists.mozilla.org
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
Lis,
I suggest you try tweaking Speex's VAD probabilities as Steve suggested.
But consider a simple threshold-based approach as a backup option.
Personally, I struggled with Speex's VAD algorithms (both encoder and
preprocessor) for a long time, tweaked the probabilities, wrote special
case code to work around the mistakes, and was still never satisfied
with the results. In times
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
Hi...Tom,
How to use the code you written?
Can you show me some example?
Thanks,
-----Original Message-----
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On =
Behalf Of Tom Grandgent
Sent: Friday, March 03, 2006 12:57 AM
To: Steve Kann; Lis
Cc: speex-dev@xiph.org
Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1)
Lis,
I suggest you try tweaking Speex's
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
I implemented the calcPower().
It works perfectly.
The example is given you in just about 6 hours.
Cant paste the whole source here and need to
meet someone now.
Thanks all (particulary tom).
I try to figure out whitch problem exists with the
#define SPEEX_PREPROCESS_SET_PROB_START 14
theese days
----- Original Message -----
From: "¼Õ½Â¿ø" <ssw0725@ncsoft.net>
To: "Tom
2012 Nov 08
3
Beginner help about output in R
Dear R experts,
I am a beginner with R and I have a question regarding the output of a
function.
Basically, I created 2 functions, value1 and value2, that calculate two
values, and I would like to print those two values to an output datafile. I
tryed the following function:
function (x) {write.table(data.frame(value1(x),value2(x)),file=output.txt)}
My problem is that I would like to calculate
2017 Jun 16
3
Regarding Bugzilla Register issue
Sorry ,it's not bugzilla it's trac software and i have asked about this on
irc but i didn't get any reply.
On Thu, Jun 15, 2017 at 1:40 AM, Olly Betts <olly at survex.com> wrote:
> On Wed, Jun 14, 2017 at 09:26:37AM +0000, Eric Lindblad wrote:
> > > I am not able to register on bugzilla due to spam error.can someone
> help me with this issue?
> >
> >
2003 Mar 26
1
nls
Hi,
df <- read.table("data.txt", header=T);
library(nls);
fm <- nls(y ~ a*(x+d)^(-b), df, start=list(a=max(df->y,na.rm=T)/2,b=1,d=0));
I was using the following routine which was giving Singular Gradient, Error in
numericDeriv(form[[3]], names(ind), env) :
Missing value or an Infinity produced when evaluating the model errors.
I also tried the
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
Hello, guys!
I'm a novice at programming, learning about the speex and its applications
now. Specifically, my current goal is to encode microphone input on iOS
device in real-time, saving result to a file frame-by-frame.
So far, I've managed to:
1) compile speex static library (it works, at least for iPhone/iPad, but
not on iOS simulator; this is fine for now);
2) encode pcm data from
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
Hello, guys!
I'm a novice at programming, learning about the speex and its applications now. Specifically, my current goal is to encode microphone input on iOS device in real-time, saving result to a file frame-by-frame.
So far, I've managed to:
1) compile speex static library (it works, at least for iPhone/iPad, but not on iOS simulator; this is fine for now);
2) encode pcm data from
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
Hello, guys!
I'm a novice at programming, learning about the speex and its applications
now. Specifically, my current goal is to encode microphone input on iOS
device in real-time, saving result to a file frame-by-frame.
So far, I've managed to:
1) compile speex static library (it works, at least for iPhone/iPad, but
not on iOS simulator; this is fine for now);
2) encode pcm data from
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
Hello, guys!
I'm a novice at programming, learning about the speex and its applications now. Specifically, my current goal is to encode microphone input on iOS device in real-time, saving result to a file frame-by-frame.
So far, I've managed to:
1) compile speex static library (it works, at least for iPhone/iPad, but not on iOS simulator; this is fine for now);
2) encode pcm data from
2001 Sep 02
0
Encoding process
I apologize for bugging you all again, but I've been trying to wrap my head
around the encoding process and I'm about to have an aneurysm :P
I've gone through oggenc.c, encode.c, and audio.c and I think I have a basic
idea of what happens. I got it down in pseudocode as follows:
---
1 get parameters
2 init vorbis_comment -- vorbis_comment_init()
3 init vorbis_info --
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN?
At this point, I have written three examples of how to use the basics of
the ogg streaming and decoding in Tremor. I heartily welcome any
suggestions, improvements and corrections that you can point out in the
code.
The examples required me to make some small modifications to the main
tremor library. However, the changes
2007 Mar 13
2
flac fails encoding 88.2
I do the following to init flac:
encoder = FLAC__stream_encoder_new();
e = FLAC__stream_encoder_set_do_mid_side_stereo (encoder,
numChannels == 2);
e = FLAC__stream_encoder_set_loose_mid_side_stereo (encoder,
numChannels == 2);
e = FLAC__stream_encoder_set_channels (encoder, numChannels);
e = FLAC__stream_encoder_set_bits_per_sample (encoder, jmin (24,