We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
@SteveTanggithub Hi, You can refer to the following code:
int main(int argc, char const *argv[]){ SpectrogramObj spec=NULL; int status=0; int num=0; int samplate=32000; float lowFre=0; float highFre=16000; float *mDataArr=NULL; float *mDataArr2=NULL; int radix2Exp=12; // stft 4096 WindowType windowType=Window_Hann; int slideLength=(1<<radix2Exp)/4; int isContinue=0; SpectralDataType dataType=SpectralData_Power; SpectralFilterBankScaleType filterBankType; SpectralFilterBankStyleType filterBankStyle; SpectralFilterBankNormalType filterNormalType; filterBankType=SpectralFilterBankScale_Mel; filterBankStyle=SpectralFilterBankStyle_Slaney; filterNormalType=SpectralFilterBankNormal_None; num=128; status=spectrogramObj_new(&spec,num, &samplate,&lowFre,&highFre,NULL, &radix2Exp,NULL,NULL,&isContinue, &dataType,&filterBankType,&filterBankStyle,&filterNormalType); timeLength=spectrogramObj_calTimeLength(spec,dataLength); mDataArr=__vnew(timeLength*num, NULL); mDataArr2=__vnew(timeLength*num, NULL); spectrogramObj_spectrogram(spec,dataArr,dataLength,mDataArr,NULL); util_powerToDB(mDataArr, timeLength*num, -80, mDataArr2); }
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: