search for: pframe

Displaying 20 results from an estimated 52 matches for "pframe".

Did you mean: frame
2018 Jun 05
0
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
...false \ ) -__inline static int IS_MCAST(unsigned char *da) +static inline int IS_MCAST(unsigned char *da) { if ((*da) & 0x01) return true; @@ -363,20 +363,20 @@ __inline static int IS_MCAST(unsigned char *da) return false; } -__inline static unsigned char * get_ra(unsigned char *pframe) +static inline unsigned char * get_ra(unsigned char *pframe) { unsigned char *ra; ra = GetAddr1Ptr(pframe); return ra; } -__inline static unsigned char * get_ta(unsigned char *pframe) +static inline unsigned char * get_ta(unsigned char *pframe) { unsigned char *ta; ta = GetAddr2Ptr(pf...
2009 Jun 23
2
Speech switching in speakerphone?t
...e on the timing to set this parameter less aggressive. Depending on the how loud the near end is talking it may detect double talk but most often it does not detect double talk and near end is suppressed by amount of ECHO_SUPRESS. >> The important parameter for the speech switching is the Pframe. >> Pframe is as you know based on the SNR estimation. However when the >> near-end signal is low compared to the far-end signal (coming from >> the close speaker element) the SNR is not distinctly increased when >> near-end talks. > >Yes, Pframe estimation is one of t...
2018 Jun 05
3
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > Functions marked extern inline do not emit an externally visible > function when the gnu89 C standard is used. Some KBUILD Makefiles > overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without > an explicit C standard specified, the default is gnu11. Since c99, the > semantics of extern inline have changed
2018 Jun 05
3
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > Functions marked extern inline do not emit an externally visible > function when the gnu89 C standard is used. Some KBUILD Makefiles > overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without > an explicit C standard specified, the default is gnu11. Since c99, the > semantics of extern inline have changed
2009 Jun 22
2
Speech switching in speakerphone?
...al talk > SPEEX_PREPROCESS_SET_ECHO_SUPPRESS_ACTIVE: echo suppression in double-talk Yes, I am aware of these parameters and are familiar with how they affect the gain. However they do not affect the timing of speech switching very much. The important parameter for the speech switching is the Pframe. Pframe is as you know based on the SNR estimation. However when the near-end signal is low compared to the far-end signal (coming from the close speaker element) the SNR is not distinctly increased when near-end talks. > Can you explain what ... problem you've encountered? Our main probl...
2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...Dirac elementary stream isn't the same as theora. Index: tools/oggz_tools.c =================================================================== --- tools/oggz_tools.c (revision 3759) +++ tools/oggz_tools.c (working copy) @@ -454,7 +454,15 @@ iframe = granulepos >> granuleshift; pframe = granulepos - (iframe << granuleshift); - ret = fprintf (stream, "%" PRId64 "|%" PRId64, iframe, pframe); + if (oggz_stream_get_content (oggz, serialno) != OGGZ_CONTENT_DIRAC) { + ret = fprintf (stream, "%" PRId64 "|%" PRId64, iframe, pfra...
2008 Dec 16
3
liboggz: use ogg_int64_t instead of C99 int64_t for the benefit of you-can-guess-who
...s allows building with it. Reported by sirlemonhead on IRC. Index: src/tools/oggz_tools.c =================================================================== --- src/tools/oggz_tools.c (revision 3827) +++ src/tools/oggz_tools.c (working copy) @@ -450,7 +450,7 @@ dg->pt = (iframe + pframe) >> 9; dg->dist = ((iframe & 0xff) << 8) | (pframe & 0xff); dg->delay = pframe >> 9; - dg->dt = (int64_t)dg->pt - dg->delay; + dg->dt = (ogg_int64_t)dg->pt - dg->delay; } int Index: src/liboggz/metric_internal.c ==========================...
2008 Feb 21
0
st->nb_loudness_adapt removal patch
...st->max_gain = 30; st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); @@ -585,7 +583,6 @@ loudness*2 > pow(st->loudness, 1.0/LOUDNESS_EXP))*/ if (Pframe>.3f) { - st->nb_loudness_adapt++; /*rate=2.0f*Pframe*Pframe/(1+st->nb_loudness_adapt);*/ rate = .03*Pframe*Pframe; st->loudness = (1-rate)*st->loudness + (rate)*pow(AMP_SCALE*loudness, LOUDNESS_EXP);
2012 Jan 30
1
Linear Mixed Model set-up
Hello, I have some data covering contaminant concentrations in fish over a time period of ~35 years. Each year, multiple samples of fish were taken (with varying sample sizes each year). Ultimately, I want an estimation of the variance between years, and the variance within years + random effects. I used a linear mixed model to estimate these variances, but after reading a number of different
2005 Sep 10
1
Readding Zlast info to the preprocessor
This small patch will make st->Zlast = Zframe, to allow applications access to an estimate of the signal-to-noise level. This used to be in there earlier, but was removed when Zlast was no longer used to compute Pframe. -------------- next part -------------- Index: preprocess.c =================================================================== --- preprocess.c (revision 10007) +++ preprocess.c (working copy) @@ -761,7 +761,8 @@ } Zframe /= (freq_end-freq_start); } - + st->Zlast = Zf...
2009 Jun 23
0
Speech switching in speakerphone?
...the timing of speech > switching very much. What happens if you make SPEEX_PREPROCESS_SET_ECHO_SUPPRESS_ACTIVE less aggressive. Does it end up with too much echo or it just doesn't realise that it's in double-talk conditions? > The important parameter for the speech switching is the Pframe. > Pframe is as you know based on the SNR estimation. However when the > near-end signal is low compared to the far-end signal (coming from > the close speaker element) the SNR is not distinctly increased when > near-end talks. Yes, Pframe estimation is one of the main problems I was h...
2009 Jun 23
0
Speech switching in speakerphone?t
...nd is suppressed by amount of ECHO_SUPRESS. The only thing it *could* have help for is making the clipping less severe, but apparently the proprocessor thinks there's no double-talk. > I think the residual echo estimation is fairly reliable but I do not know > how to use this to improve Pframe and in that way solve our main problem > with the gain during near end talk. How can you tell that the residual echo estimation is reliable? in any case, I suspect that the whole Pframe idea might have to be revised (i.e. computing it completely differently or even not having a Pframe at all)....
2023 Aug 01
2
Plotting Fitted vs Observed Values in Logistic Regression Model
Dear friends, I hope this email finds you all well. This is the dataset I am working with: dput(random_mod12_data2) structure(list(Index = c(1L, 5L, 11L, 3L, 2L, 8L, 9L, 4L), x = c(5, 13, 25, 9, 7, 19, 21, 11), n = c(500, 500, 500, 500, 500, 500, 500, 500), r = c(100, 211, 391, 147, 122, 310, 343, 176), ratio = c(0.2, 0.422, 0.782, 0.294, 0.244, 0.62, 0.686, 0.352)), row.names = c(NA, -8L),
2008 Feb 12
0
Second part of data export patch
...spx_word16_t *frame; /**< Processing frame (2*ps_size) */ spx_word16_t *ft; /**< Processing frame in freq domain (2*ps_size) */ @@ -994,9 +996,10 @@ st->outbuf[i] = st->frame[st->frame_size+i]; /* FIXME: This VAD is a kludge */ + st->speech_prob = Pframe; if (st->vad_enabled) { - if (Pframe > st->speech_prob_start || (st->was_speech && Pframe > st->speech_prob_continue)) + if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speech_prob > st->speech_prob_conti...
2008 Nov 13
5
ogg dirac granulepos in oggz tools
Hi, I'm wondering if the Dirac granulepos parsing in liboggz and display in the oggz tools is currently correct, as I'd like to do a release of these soon. A couple of days ago David Schleef mentioned there were some problems. David, is that currently true (ie. since David Flynn's recent updates to support Dirac), and if so could you please explain what the problems are, or point me
2008 Nov 13
1
ogg dirac granulepos in oggz tools
..., i've obviously made an error. This will fix it: Index: src/tools/oggz_tools.c =================================================================== --- src/tools/oggz_tools.c (revision 3775) +++ src/tools/oggz_tools.c (working copy) @@ -460,7 +460,7 @@ uint32_t pt = (iframe + pframe) >> 9; uint16_t dist = ((iframe & 0xff) << 8) | (pframe & 0xff); uint16_t delay = pframe >> 9; - int64_t dt = pt - delay; + int64_t dt = (int64_t)pt - delay; ret = fprintf (stream, "(pt:%u,dt:%" PRId64 ",di...
2009 Jun 24
2
Speech switching in speakerphone?
>> I think the residual echo estimation is fairly reliable but I do not know >> how to use this to improve Pframe and in that way solve our main problem >> with the gain during near end talk. > > How can you tell that the residual echo estimation is reliable? in any > case, I suspect that the whole Pframe idea might have to be revised > (i.e. computing it completely differently or even not ha...
2010 Dec 29
1
logistic regression with response 0,1
Dear Masters, first I'd like to wish u all a great 2011 and happy holydays by now, second (here it come the boring stuff) I have a question to which I hope u would answer: I run a logistic regression by glm(), on the following data type (y1=1,x1=x1); (y2=0,x2=x2);......(yn=0,xn=xn), where the response (y) is abinary outcome on 0,1 amd x is any explanatory variable (continuous or not)
2006 Jun 26
1
apparent problem in how PDF evaluates its arguments (PR#9035)
Full_Name: Wolfgang Huber Version: 2.4.0 (2006-06-24 r38403) OS: i686-pc-linux-gnu Submission from: (NULL) (134.60.107.160) The simple example script below fails in the call to makepdf1 with "Error in eval(expr, envir, enclos) : object "p" not found" I believe this is a problem in the pdf() function, having to do with the line: lapply(Call, function(x) eval.parent(x, 2))
2006 Jun 26
0
(PR#9035) apparent problem in how PDF evaluates its arguments
...rror in eval(expr, envir, enclos) : object "p" not found" >> >> I believe this is a problem in the pdf() function, having to do with the line: >> lapply(Call, function(x) eval.parent(x, 2)) > > Yup. Should be 3, as far as I can see. Or maybe better > > pframe <- parent.frame() > new <- lapply(Call, function(x) eval(x, pframe)) > >> The error does not happen, for example, when "pdf" is replaced by "png". >> >> options(error=recover) >> ## debug(pdf) >> >> makepdf1 = function(p=1) { >...