Click here to Skip to main content
15,888,271 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Vaclav_6-Sep-14 5:59
Vaclav_6-Sep-14 5:59 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan6-Sep-14 6:10
mveRichard MacCutchan6-Sep-14 6:10 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Stefan_Lang2-Sep-14 21:11
Stefan_Lang2-Sep-14 21:11 
AnswerRe: Another academic question - ANSI C standard on optional function parameters Pin
Stefan_Lang2-Sep-14 0:52
Stefan_Lang2-Sep-14 0:52 
QuestionHow to Resolve the Below Error? Pin
Sunil931-Aug-14 5:37
Sunil931-Aug-14 5:37 
AnswerRe: How to Resolve the Below Error? Pin
«_Superman_»31-Aug-14 6:04
professional«_Superman_»31-Aug-14 6:04 
GeneralRe: How to Resolve the Below Error? Pin
Sunil931-Aug-14 18:23
Sunil931-Aug-14 18:23 
Questionhow to print the value of variable which is define in header file.? Pin
mybm129-Aug-14 21:14
mybm129-Aug-14 21:14 
#ifndef _MFCC_DEFINES_H_
#define _MFCC_DEFINES_H_

#define PI 3.1415926536
#define framesize1 20
#define frameshift1 10
#define DFT_POINT 1024
#define NUM_OF_FILTER 22
#define NUM_OF_COEFFICIENTS 13
#define NUM_OF_GAUSSIANS 1024 /*1024=POW(2,NODES)*/
#define NUM_OF_MIX 512
#define TOTAL_MODEL 13312 /*13312=NUM_OF_GAUSSIANS*NUM_OF_COEFFICIENTS*/
#define EPS 0.01
#define THRESHOLD 0.01
#define NODES 10 /* Total no of nodes******/
#define NUM_OF_SPEAKERS 30
#define FILE_NAME_LENGTH 30
#define SPEAKERIDSTART 9000
#define FIVESPEAKERS 5
#define VALID "V" // Valid
#define INVALID "I" // Invalid
#define CHANNELFLAG 0 // If CHANNELFLAG is 1 Cepstral Mean Substraction will be done.
#define SIZE_FULLPATH 150
#define maxtrain 20 // number of train model
#define maxtest 1000 // number of testing wav file

#define now_test "./"
#define curenttraingtest "./curentlist1.txt"
#define testpath "./"
#define result12 "./result04.txt";



#define SPEECH_NONSPEECH "./speech_nonspeech.txt" // Consists boolean array of size equal to total no. of frames, for a speeched frame value is 1 and for nonspeeched frame value is 0.
#define NO_SPEECH_FRAMES "./no_speech_frames.txt"
#define STARTING_POINT "./starting_point.txt"
#define END_POINT "./end_point.txt"

#define ID_EXTENSION "_AM03MENR" // Common extension to all the speaker ID's. AM03MENR - session(A) OnlineMobile(M03) (M)ultienvironment (EN)glish (R)eading
#define FILE_EXTENSION ".wav" // File name extension for wave file
#define AVR_ENR "./avr_enr.txt"


#define PATH_TEXT "./" // Path to the directory which contains all the text files
#define PATH_TRAIN "/home/ast9/text_independent/recorded_files/train/"// Path to the directory which contains all the recorded training files
#define PATH_TEST "/home/ast9/text_independent/recorded_files/test/" // Path to the directory which contains all the recorded testing files
#define PATH_TEXT_MULTI "/home/ast9/textfiles/" //Path to the directory which contains all the multilevel text files.
#define PATH_COUNT "/home/ast9/textfiles/count.txt" //Path to the directory which contains count.txt file.
#define spechmfcc "./"

char * mfcc_computation(char *id, int, char *fullpath_input, int,int,int,int,int);
#endif

here is the header.h code.
From this if i try to print the NUM_OF_COEFFICIENTS in main program using
coefficients=(details.NUM_OF_COEFFICIENTS);
printf("Num of ceptral coefficients=%d",coefficients);
but error is generating undeclared details.

modified 30-Aug-14 5:58am.

AnswerRe: how to print the value of variable which is define in header file.? Pin
Richard MacCutchan29-Aug-14 22:57
mveRichard MacCutchan29-Aug-14 22:57 
GeneralRe: how to print the value of variable which is define in header file.? Pin
mybm129-Aug-14 23:06
mybm129-Aug-14 23:06 
GeneralRe: how to print the value of variable which is define in header file.? Pin
Richard MacCutchan29-Aug-14 23:44
mveRichard MacCutchan29-Aug-14 23:44 
GeneralRe: how to print the value of variable which is define in header file.? Pin
mybm129-Aug-14 23:59
mybm129-Aug-14 23:59 
AnswerRe: how to print the value of variable which is define in header file.? Pin
Richard MacCutchan30-Aug-14 0:48
mveRichard MacCutchan30-Aug-14 0:48 
GeneralRe: how to print the value of variable which is define in header file.? Pin
mybm130-Aug-14 19:09
mybm130-Aug-14 19:09 
AnswerRe: how to print the value of variable which is define in header file.? Pin
Stefan_Lang2-Sep-14 2:36
Stefan_Lang2-Sep-14 2:36 
QuestionDisplaying the output of another program Pin
oldbritthumper29-Aug-14 4:49
oldbritthumper29-Aug-14 4:49 
QuestionRe: Displaying the output of another program Pin
Richard MacCutchan29-Aug-14 5:37
mveRichard MacCutchan29-Aug-14 5:37 
AnswerMessage Closed Pin
29-Aug-14 5:59
oldbritthumper29-Aug-14 5:59 
GeneralRe: Displaying the output of another program Pin
Richard MacCutchan29-Aug-14 6:05
mveRichard MacCutchan29-Aug-14 6:05 
Questionbattleship game code using c language Pin
Member 1104199227-Aug-14 20:37
Member 1104199227-Aug-14 20:37 
AnswerRe: battleship game code using c language Pin
Richard MacCutchan27-Aug-14 22:15
mveRichard MacCutchan27-Aug-14 22:15 
AnswerRe: battleship game code using c language Pin
Member 1048772029-Aug-14 0:30
Member 1048772029-Aug-14 0:30 
QuestionTEventLogger Pin
Zdravko Donev25-Aug-14 9:34
Zdravko Donev25-Aug-14 9:34 
AnswerRe: TEventLogger Pin
Freak3027-Aug-14 1:25
Freak3027-Aug-14 1:25 
QuestionCMFCOutlookBar cannot return to pane 0. Pin
Drakesal25-Aug-14 0:12
Drakesal25-Aug-14 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.