search for: sig_scal

Displaying 6 results from an estimated 6 matches for "sig_scal".

2006 Jun 01
1
Fixed-point version
...e LSP_SCALING. But in the case above, which scaling must I use? The float constant is -1e-5, a very small value to be represented in fixed-point using a 16 bit value, effectively yielding a zero if I just multiply it by the appropriate scale factor. 3) In arch.h, shouldn't LPC_SCALING, SIG_SCALING and GAIN_SCALING be declared floats like LSP_SCALING and GAMMA_SCALING? Or will the compiler handle the conversion accordingly? Hope this questions aren't silly, or I will be very ashamed ;-) Or should I read Knuth's books? Cheers to all Angelo
2004 Aug 06
0
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
...#if defined(_WIN32_WCE) && defined(_MSC_VER) typedef __int64 spx_word64_t; #else typedef long long spx_word64_t; #endif typedef spx_word32_t spx_mem_t; typedef spx_word16_t spx_coef_t; typedef spx_word16_t spx_lsp_t; typedef spx_word32_t spx_sig_t; #define LPC_SCALING 8192 #define SIG_SCALING 16384 #define LSP_SCALING 8192. #define GAMMA_SCALING 32768. #define GAIN_SCALING 64 #define GAIN_SCALING_1 0.015625 #define LPC_SHIFT 13 #define SIG_SHIFT 14 #define VERY_SMALL 0 #ifdef ARM_ASM #include "fixed_arm.h" #elif defined (FIXED_DEBUG) #include "fixed_debug.h...
2007 Aug 06
2
11kbps narrowband on a 24bit DSP
.../*shape_bits*/ 0, I have three problems. 1. My DSP has 24 bits register and memory with a 24 X 24 = 48 bit multiply and a 56 bit accumulator. I see scaling shifts when using 32 bit registers. Can anyone tell me what scaling values like #define LPC_SCALING 8192 #define SIG_SCALING 16384 #define LSP_SCALING 8192. #define GAMMA_SCALING 32768. #define GAIN_SCALING 64 #define GAIN_SCALING_1 0.015625 #define LPC_SHIFT 13 #define LSP_SHIFT 13 #define SIG_SHIFT 14 Would be required for a 24 bit register? 2. I would like to only include...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...typedef spx_int32_t spx_word32_t; #ifdef _MSC_VER typedef __int64 spx_word64_t; #else typedef long long spx_word64_t; #endif typedef spx_word32_t spx_mem_t; typedef spx_word16_t spx_coef_t; typedef spx_word16_t spx_lsp_t; typedef spx_word32_t spx_sig_t; #define LPC_SCALING 8192 #define SIG_SCALING 16384 #define LSP_SCALING 8192. #define GAMMA_SCALING 32768. #define GAIN_SCALING 64 #define GAIN_SCALING_1 0.015625 #define LPC_SHIFT 13 #define SIG_SHIFT 14 #define VERY_SMALL 0 #ifdef ARM5E_ASM #include "fixed_arm5e.h" #elif defined (ARM4_ASM) #include "fixed_arm4.h...
2004 Aug 06
2
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
Hi Jean-Marc, Based on the wonderful Speex project, I've created SpeexOutLoud, essentially a Speex codec port for Windows Mobile 2003 devices. I've included a sample project intended to show the usage of SpeexOutLoud codec in a Pocket PC application based on .NET Compact Framework. I'd request you to please go through the attached build, and include it as a contribution to the
2007 Aug 06
0
11kbps narrowband on a 24bit DSP
...> > > > 1. My DSP has 24 bits register and memory with a 24 X 24 = 48 bit > multiply and a 56 bit accumulator. I see scaling shifts when using 32 > bit registers. Can anyone tell me what scaling values like > > > > #define LPC_SCALING 8192 > > #define SIG_SCALING 16384 > > #define LSP_SCALING 8192. > > #define GAMMA_SCALING 32768. > > #define GAIN_SCALING 64 > > #define GAIN_SCALING_1 0.015625 > > > > #define LPC_SHIFT 13 > > #define LSP_SHIFT 13 > > #define SIG_SHIFT 14 > > &g...