Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ham.c
Package: celp_3.2a.tar.gz [view]
Upload User: szhypcb168
Upload Date: 2007-01-06
Package Size: 2187k
Code Size: 1k
Category:
Voice Compress
Development Platform:
Unix_Linux
- /**************************************************************************
- *
- * ROUTINE
- * ham
- *
- * FUNCTION
- * creates hamming window
- *
- * SYNOPSIS
- * subroutine ham(win, n)
- * formal
- *
- * data I/O
- * name type type function
- * -------------------------------------------------------------------
- * win(n) float i/o hamming window
- * n int i dim of win
- *
- ***************************************************************************
- *
- * DESCRIPTION
- *
- *
- *
- ***************************************************************************
- *
- * CALLED BY
- *
- * celp delay
- *
- * CALLS
- *
- *
- *
- **************************************************************************/
- #include <math.h>
- ham(win, n)
- int n;
- float win[];
- {
- int i;
- float pi;
- pi = 4.0 * atan(1.0);
- for (i = 0; i < n; i++)
- win[i] = 0.54 - 0.46 * cos((2.0 * pi * (i)) / (n-1));
- }