#include "Test_Support.cpp"#include "SoundFile.h"#include "LPC.h"Defines | |
| #define | IN_FILE_NAME "/Volumes/Content/Sound/3-IKnowGod/MKGandhi/1.2a.aif" |
| #define | LPC_FILE_NAME "lpc-coeff.data" |
| #define | RESIDUAL_FILE_NAME "lpc-residual.aiff" |
| #define | WINDOW_SIZE 1024 |
| #define | LPC_ORDER 20 |
| #define | ANALYZE_FILE |
Functions | |
| int | main (int argc, const char *argv[]) |
| #define IN_FILE_NAME "/Volumes/Content/Sound/3-IKnowGod/MKGandhi/1.2a.aif" |
Test_LPC.cpp -- a simple CSL LPC vocoder program -- load a file and display it See the copyright notice and acknowledgment of authors in the file COPYRIGHT Cmd-line options (see the handler in Test_Support.cpp): -r samp-rate -b blk-siz -o num-out-ch -i num-in-ch -v verbosity -l log-period -p out-port -u
Referenced by main().
| #define LPC_FILE_NAME "lpc-coeff.data" |
Referenced by main().
| #define RESIDUAL_FILE_NAME "lpc-residual.aiff" |
Referenced by main().
| #define WINDOW_SIZE 1024 |
Referenced by main().
| #define LPC_ORDER 20 |
Referenced by main().
| #define ANALYZE_FILE |
| int main | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
MAIN -- Save 2 files for the LPC and residual of the given input file This plays the residual on analysis
References testkiss::e, FALSE, IN_FILE_NAME, csl::kLogError, csl::logMsg(), LPC_FILE_NAME, LPC_ORDER, READ_CSL_OPTS, RESIDUAL_FILE_NAME, csl::CGestalt::setBlockSize(), csl::sleepSec(), theIO, and WINDOW_SIZE.
1.5.8