Hangz-nju-cuhk / Talking-Face-Generation-DAVS

Code for Talking Face Generation by Adversarially Disentangled Audio-Visual Representation (AAAI 2019)
MIT License
819 stars 173 forks source link

Undefined function or variable 'vec2frames'. #11

Closed zzzzhuque closed 5 years ago

zzzzhuque commented 6 years ago

Hello, I use the savemfcc.m to generate *.bin file but when I execute the code, an error occurred.

savemfcc('~/talkingface//20180619_1_M.wav','~/talkingface/tlkface/wav')
Undefined function or variable 'vec2frames'.

Error in mfcc (line 151) frames = vec2frames( speech, Nw, Ns, 'cols', window, false );

Error in runmfcc (line 5) [ CC, FBE, frames ] = mfcc( speech, opt.fs, opt.Tw, opt.Ts, opt.alpha, hamming, opt.R, opt.M, N, opt.L );

Error in savemfcc (line 17) [ MFCCs, ~, ~ ] = runmfcc( Speech, opt );

Could you please tell me where to find 'vec2frames'?

Hangz-nju-cuhk commented 6 years ago

Sorry that this part of the code is borrowed from SyncNet, and the original intention is only to upload a savemfcc function.

Now I have updated the code. Please check again.

zzzzhuque commented 5 years ago

Thanks very much.