LMMS
Loading...
Searching...
No Matches
lsp.c File Reference
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "lsp.h"
#include "os.h"
#include "misc.h"
#include "lookup.h"
#include "scales.h"

Macros

#define EPSILON   10e-7

Functions

void vorbis_lsp_to_curve (float *curve, int *map, int n, int ln, float *lsp, int m, float amp, float ampoffset)
static void cheby (float *g, int ord)
static int JUCE_CDECL comp (const void *a, const void *b)
static int Laguerre_With_Deflation (float *a, int ord, float *r)
static int Newton_Raphson (float *a, int ord, float *r)
int vorbis_lpc_to_lsp (float *lpc, float *lsp, int m)

Macro Definition Documentation

◆ EPSILON

#define EPSILON   10e-7

Function Documentation

◆ cheby()

void cheby ( float * g,
int ord )
static

◆ comp()

int JUCE_CDECL comp ( const void * a,
const void * b )
static

◆ Laguerre_With_Deflation()

int Laguerre_With_Deflation ( float * a,
int ord,
float * r )
static

◆ Newton_Raphson()

int Newton_Raphson ( float * a,
int ord,
float * r )
static

◆ vorbis_lpc_to_lsp()

int vorbis_lpc_to_lsp ( float * lpc,
float * lsp,
int m )

◆ vorbis_lsp_to_curve()

void vorbis_lsp_to_curve ( float * curve,
int * map,
int n,
int ln,
float * lsp,
int m,
float amp,
float ampoffset )