⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftrf_01.cc

📁 这是一个从音频信号里提取特征参量的程序
💻 CC
字号:
// file: $isip/class/mmedia/FeatureFile/ftrf_01.cc// version: $Id: ftrf_01.cc,v 1.2 2002/07/11 02:43:12 picone Exp $//// isip include files//#include "FeatureFile.h"// method: debug//// arguments://  const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean FeatureFile::debug(const unichar* msg_a) const {  // local variables  //  String output;  String param;  String value;  String empty_str;  // output the parameters  //  value.assign(FILE_TYPE_MAP.getName(file_type_d));  output.debugStr(name(), msg_a, L"file_type", value);  Console::put(output);  value.assign(FILE_FORMAT_MAP.getName(file_format_d));  output.debugStr(name(), msg_a, L"file_format", value);  Console::put(output);  value.assign(COMP_TYPE_MAP.getName(compression_type_d));  output.debugStr(name(), msg_a, L"compression_type", value);  Console::put(output);  value.assign((double)amplitude_range_d);  output.debugStr(name(), msg_a, L"amplitude_range", value);  Console::put(output);  output.debugStr(name(), msg_a, L"name", name_d);  Console::put(output);  value.assign(num_channels_d);  output.debugStr(name(), msg_a, L"num_channels_d", value);  Console::put(output);  value.assign((long)tag_d);  output.debugStr(name(), msg_a, L"tag", value);  Console::put(output);  output.debugStr(name(), msg_a, L"id", id_d);  Console::put(output);  value.assign(num_features_d);  output.debugStr(name(), msg_a, L"number_of_features_d", value);  Console::put(output);  output.debugStr(name(), msg_a, L"coef_type_d", AlgorithmData::CTYPE_MAP(coef_type_d));  Console::put(output);    // display the data mode  //  output.debugStr(name(), msg_a, L"data_type_d",		  FeatureFile::DATA_TYPE_MAP.getName((long)data_type_d));  Console::put(output);  value.assign(frame_duration_d);  output.debugStr(name(), msg_a, L"frame_duration_d", value);  Console::put(output);  value.assign(sample_frequency_d);  output.debugStr(name(), msg_a, L"sample_frequency_d", value);  Console::put(output);  // output the information message  //  output.debugStr(name(), msg_a, L":");  Console::put(output);    // exit gracefully  //  return true;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -