Speex LSP Converter (libspeex/lsp.c)

cloudtalk · android/app/src/main/jni/libspeex/lsp.c · c · Apache-2.0
voice, tag:speex, tag:codec, tag:dsp

Converts linear prediction coefficients to line spectral pairs and back for Speex audio codec processing. Reuse when integrating Speex voice encoding or low-level speech signal conversion.

// Source: https://github.com/177kp/cloudtalk | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
/*---------------------------------------------------------------------------*\
Original copyright
	FILE........: lsp.c
	AUTHOR......: David Rowe
	DATE CREATED: 24/2/93

Heavily modified by Jean-Marc Valin (c) 2002-2006 (fixed-point, 
                       optimizations, additional functions, ...)

   This file contains functions for converting Linear Prediction
   Coefficients (LPC) to Line Spectral Pair (LSP) and back. Note that the
   LSP coefficients are not in radians format but in the x domain of the
   unit circle.

   Speex License:

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key