HomeSort by relevance Sort by last modified time
    Searched full:loudness_weight (Results 1 - 1 of 1) sorted by null

  /external/speex/libspeex/
preprocess.c 236 float *loudness_weight; /**< Perceptual loudness curve */ member in struct:SpeexPreprocessState_
505 st->loudness_weight = (float*)speex_alloc(N*sizeof(float));
509 /*st->loudness_weight[i] = .5f*(1.f/(1.f+ff/8000.f))+1.f*exp(-.5f*(ff-3800.f)*(ff-3800.f)/9e5f);*/
510 st->loudness_weight[i] = .35f-.35f*ff/16000.f+.73f*exp(-.5f*(ff-3800)*(ff-3800)/9e5f);
511 if (st->loudness_weight[i]<.01f)
512 st->loudness_weight[i]=.01f;
513 st->loudness_weight[i] *= st->loudness_weight[i];
548 speex_free(st->loudness_weight);
579 loudness += 2.f*N*st->ps[i]* st->loudness_weight[i]
    [all...]

Completed in 521 milliseconds