Displaying 20 results from an estimated 1000 matches similar to: "High CPU usage"
2012 Jun 14
1
High CPU usage
Hi Mark,
Code below:
int16_t* samples;
int16_t* fbSilenceFrame;
void *fSpeexState;
float eng(0.f);
int speexFrameSize(0);
speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
for (int i = 0; i < speexFrameSize; i++)
{
eng += samples[i] * samples[i];
}
if (eng / speexFrameSize < 3.f)
{
memcpy(samples, silenceFrame, speexFrameSize * sizeof(int16_t));
}
where
2009 Oct 01
1
High CPU usage
Hi Jozsef,
this approach sounds interesting.
Do have you have some source code available ?
Thanks
Mark
-----Original Message-----
From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On Behalf Of Jozsef Vass
Sent: Friday, September 25, 2009 11:43 PM
To: mark_schilling at gmx.de
Cc: speex-dev at xiph.org
Subject: Re: [Speex-dev] High CPU usage
I have run into the same
2017 May 29
0
[PATCH] Add CMake build script
Description
===========
This patch adds support of CMake meta build system, so you can generate
Unix makefiles, VS 6.0-2017 projects and many more.
Features
========
* Win32 and Linux tested
* Travis CI test added
* Generates working Visual Studio 6.0-2017 solutions
* Generates working Unix Makefile
* Supported options (<option> - <default value>):
* `ENABLE_FLOATING_POINT` - on
2009 Nov 18
0
jspeex question
Thanks for the help folks, but I got this working a couple hours ago. =)
I'm quite please after struggling with it for a few days.
I just needed to take each audio tag from the FLV file and feed the contents
of the tag (except for the first byte) to the jspeex decoder and write the
results to a file.
Jozsef - it is possible to specify 8KHz in the flash client and decode it as
such. Speex
2010 Mar 31
1
Speex in flash player: how to work with?
What are you trying to accomplish? My code sample was about how Flash Player microphone input in speex.
If you want to do decode, please see speexdec.c
Jozsef
-----Original Message-----
From: Max Lapshin [mailto:max.lapshin at gmail.com]
Sent: Tuesday, March 30, 2010 8:53 AM
To: Jozsef Vass
Cc: speex-dev at xiph.org
Subject: Re: [Speex-dev] Speex in flash player: how to work with?
On Sat, Mar
2010 Mar 19
4
Speex in flash player: how to work with?
Nicer way:
void* speexState = speex_encoder_init(&speex_wb_mode);
int speexFrameSize, speexRate;
speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate);
SpeexPreprocessState* speexPreprocessState = speex_preprocess_state_init(speexFrameSize, speexRate);
Jozsef
-----Original Message-----
From: Max
2009 Nov 18
2
jspeex question
The link is http://www.adobe.com/devnet/rtmp/. TC Message stands for TinCan message. It is 11 bytes long, first byte is message type, three bytes of payload length four bytes of timestamp and three bytes of stream ID.
The first byte of the payload for audio message is the format byte and the rest of the byte is the payload.
Jozsef
----- Original Message ----
From: Jeff Ramin <jeff.ramin
2009 Sep 25
1
High CPU usage
I have run into the same issue. Before sending a frame to encoder, I calculate the energy. If it is less than a small threshold, I simply replace this frame with "silence frame," which is 320 random samples of values smaller than 3 (16 kHz).
BTW, I have only experience this problem with certain USB headsets that provide you all 0 samples when muted.
Jozsef
2009 Aug 12
1
CCF for hourly time series?
Hello,
I have a dataframe containing various time series (not time series objects though!)with hourly time steps. I?d like to perform ccf for I need to know the correlation factors for different lags.
Here is an example:
x<-as.POSIXct(c("2008-12-25 16:00:00", "2008-12-25 17:00:00", "2008-12-25 18:00:00", "2008-12-25 19:00:00", "2008-12-25
2010 Mar 22
0
Fwd: Re: Is winbindd required for Windows 7 clients
-------- Original-Nachricht --------
Datum: Sat, 20 Mar 2010 17:03:46 +0100
Von: "Rhshshgs Sdasdad" <r.s1 at gmx.at>
An: John Drescher <drescherjm at gmail.com>
Betreff: Re: [Samba] Is winbindd required for Windows 7 clients
No, because I dind't find any information about that share.
This is my profile share:
[nt-profile]
comment = Client Profiles
path =
2009 Oct 16
2
"negative length vectors are not allowed" in wilcox.exact() and perm.test()
Dear R friends,
I want to compare two datasets and I get the message
Error in .Call("cpermdist2", ma = as.integer(m), mb = as.integer(col), :
negative length vectors are not allowed
after specifying the exact test. I'm using the exactRankTests package. Do you suggest me using the coin library, or is there anything "wrong" with my data?
Kind regards,
David
--
2009 Dec 13
0
cross validation/GAM/package Daim
Dear r-helpers,
I estimated a generalized additive model (GAM) using Hastie's package GAM.
Example:
gam1 <- gam(vegetation ~ s(slope), family = binomial, data=aufnahmen_0708, trace=TRUE)
pred <- predict(gam1, type = "response")
vegetation is a categorial, slope a numerical variable.
Now I want to assess the accurancy of the model using k-fold cross validation.
I found the
2009 Sep 15
6
Thunderbird does not find the right folders :-(
Moika,
Overnight, I migrated my user-mails from uw-imap to dovecot-maildir. I used
the uw2dovecot.pl script to convert all mails and changed exim, too.
Receiving mails works fine allready, but nobody can access the usual
subscribed folders with thunderbird.
Via "subscriptions" I can find the converted folders in a folder called "_"
(underline).
People getting mad about me
2010 Dec 27
1
R-code to generate random rotation matrix for rotation testing
Dear list,
I am looking for an implementation of random rotation matrix generation in R to do a rotation test: I want to use the matrices to create random multivariate normal matrices with common covariance structure and mean based on an observed data matrix.
The rRotationMatrix-function in the mixAK-package is an option, but as far as I can tell I need to draw rotation matrices with determinant
2008 Apr 17
0
VAD CPU usage
Sounds strange. Can you reproduce the problem with speexenc/speexdec? If
so, can you send a short file that triggers that along with the exact
command line?
Jean-Marc
Jozsef Vass a ?crit :
> Hi Jean-Marc
>
> I am using speex in my voip app (wideband mode). I
> have noticed that when VAD kicks in, CPU considerably
> increases (bitrate decreases to 4 kbps). It takes
> about 7
2009 Nov 18
0
jspeex question
Is there a document somewhere that describes speex-encoded FLV files?
What is a TC message?
Thanks.
Jozsef Vass wrote:
> FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono.
>
> Jozsef
>
>
> Message: 1
> Date: Mon, 16 Nov 2009 14:40:20 -0600
>
2010 Mar 30
0
Speex in flash player: how to work with?
On Sat, Mar 20, 2010 at 12:04 AM, Jozsef Vass <jovass at adobe.com> wrote:
> Nicer way:
>
> void* speexState = speex_encoder_init(&speex_wb_mode);
> int speexFrameSize, speexRate;
> speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
> speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate);
> SpeexPreprocessState*
2011 Aug 24
0
Speex-dev Digest, Vol 87, Issue 12
rtmplite -- http://code.google.com/p/rtmplite/ -- can be used to
record Speex .flv audio and a/v files from Flash/Flex applets, and
ffmpeg can be used to extract the Speex audio from such files, which
can also be replayed on Flash.
> Date: Tue, 23 Aug 2011 14:53:52 -0700
> From: Jozsef Vass <jovass at adobe.com>
>
> The only way to do this is to publish from Flash Player and
2009 Aug 04
1
Sweave, cm-lgc and minus signs
Hello,
since a couple of days I'm trying hard to elicit a certain thing
out of the Sweave function of R. Unfortunately I'm quite unsuccessful.
It's only about a small, ridiculous minus sign, which does not appear
in the final pdf of a latex file, if I try to incorporate the Computer-
Modern fonts into the plot. It seems, that R uses different encodings
for minus signs, which are put
2010 Feb 14
2
revision control on maildir possible?
Hi,
I was wondering if it is possible to put a dovecot managed maildir under a vcs like system, for example git or bzr. I'd like to have a seamless history of all mail going in and out of my mailboxes, so a vcs like system seams a good choice for me. I'm not quite sure however if that would cause any problems to dovecot and what the best way of handling commits would be.
If anyone on the