0% found this document useful (0 votes)
26K views7 pages

Contoh 2

The document contains a series of error messages from MATLAB code attempting to read audio files, extract features from audio signals, and apply speech processing and recognition functions. There are undefined functions, missing or incorrectly specified function arguments, and other errors indicating issues with the audio I/O, signal processing, and machine learning code.

Uploaded by

Yoshino Aoi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26K views7 pages

Contoh 2

The document contains a series of error messages from MATLAB code attempting to read audio files, extract features from audio signals, and apply speech processing and recognition functions. There are undefined functions, missing or incorrectly specified function arguments, and other errors indicating issues with the audio I/O, signal processing, and machine learning code.

Uploaded by

Yoshino Aoi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

???

Error using ==> <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\


toolbox\matlab\audiovideo\wavread.m',67,0)">wavread at 67</a>
Cannot open file.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\contoh2
.m',78,0)">contoh2 at 78</a>
[ speech, fs, nbits ] = wavread( wav_file );
opentoline('C:\Users\ACER\Documents\MATLAB\contoh2.m',78,0)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
contoh2
??? Undefined function or method 'readhtk_lite' for input arguments of type
'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\contoh2
.m',124,0)">contoh2 at 124</a>
htk.mfcc = readhtk_lite( htk.feature_file ); % requires 'vanilla'
implementation (included)
opentoline('C:\Users\ACER\Documents\MATLAB\contoh2.m',124,0)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
contoh2
??? Undefined function or method 'readhtk_lite' for input arguments of type
'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\contoh2
.m',124,0)">contoh2 at 124</a>
htk.mfcc = readhtk_lite( htk.feature_file ); % requires 'vanilla'
implementation (included)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'myAudioread' for input arguments of type 'char
'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',1,0)">whatFood at 1</a>
au=myAudioread('whatFood.wav');signal=1;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo

d.m',3,0)">whatFood at 3</a>
y=au.signal;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or variable 'signal'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
y=signal.au;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or variable 'signal'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
y=signal;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',2,0)">whatFood at 2</a>
fs=au.fs;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',2,0)">whatFood at 2</a>
n=au.signal;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo

d.m',2,0)">whatFood at 2</a>
n=au.signal
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',2,0)">whatFood at 2</a>
y=au.signal
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'myAudioRead' for input arguments of type
'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',2,0)">whatFood at 2</a>
au=myAudioRead(waveFile); y=au.signal; fs=au.fs
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'myAudioRead' for input arguments of type
'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au=myAudioRead(waveFile); y=au.signal; fs=au.fs
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'myaudioaead' for input arguments of type 'char
'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au=myaudioaead(wavefile); y=au.signal; fs=au.fs
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood

??? Undefined function or method 'waveread' for input arguments of type 'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au=waveread(wavefile); y=au.signal; fs=au.fs
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'waveread' for input arguments of type 'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au=waveread(wavefile);
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'waveread' for input arguments of type 'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au=waveread('whatFood.wav');
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'waveread' for input arguments of type 'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
[n,au] =waveread('whatFood.wav');
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Undefined function or method 'waveread' for input arguments of type 'char'.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
au = waveread('whatFood.wav');
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood

??? Attempt to reference field of non-structure array.


Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
y=au.signal;
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Error: <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFood.
m',2,11)">File: whatFood.m Line: 2 Column: 11</a>
Unexpected MATLAB expression.
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Error: <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFood.
m',2,11)">File: whatFood.m Line: 2 Column: 11</a>
Unexpected MATLAB expression.
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Error: <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFood.
m',2,11)">File: whatFood.m Line: 2 Column: 11</a>
Unexpected MATLAB expression.
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
whatFood
??? Attempt to reference field of non-structure array.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\whatFoo
d.m',3,0)">whatFood at 3</a>
y=au.signal;
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\audspec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\bark2hz.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\cep2spec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\deltas.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\dolpc.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\fft2barkmx.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\fft2melmx.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\hz2bark.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\hz2mel.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\invaudspec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\invmelfcc.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\invpostaud.m',1)

uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\invpowspec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\ispecgram.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\lifter.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\lpc2cep.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\lpc2spec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\mel2hz.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\melfcc.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\postaud.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\powspec.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\process_options.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\rastafilt.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\rastaplp.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\readhtk.m',1)
uiopen('C:\Users\ACER\Documents\MATLAB\rastamat\spec2cep.m',1)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
melfcc
??? Input argument "samples" is undefined.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\rastama
t\melfcc.m',65,0)">melfcc at 65</a>
samples = filter([1 -preemph], 1, samples);
/clc
??? /clc
|
Error: Unexpected MATLAB operator.
clc
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
audspec
??? Input argument "pspectrum" is undefined.
Error in ==> <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\rastama
t\audspec.m',15,0)">audspec at 15</a>
[nfreqs,nframes] = size(pspectrum);
uiopen('C:\Users\ACER\Documents\MATLAB\Speech_Codes\SpeechAud.m',1)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
SpeechAud
Warning: Name is nonexistent or not a directory: .\Training\A.
> In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\path.m',110,1)">path at 110</a>
In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\addpath.m',87,1)">addpath at 87</a>
In <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\Speech_Codes\Sp
eechAud.m',8,1)">SpeechAud at 8</a>
Warning: Name is nonexistent or not a directory: .\Training\B.
> In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\

general\path.m',110,1)">path at 110</a>
In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\addpath.m',87,1)">addpath at 87</a>
In <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\Speech_Codes\Sp
eechAud.m',9,1)">SpeechAud at 9</a>
Warning: Name is nonexistent or not a directory: .\Training\C.
> In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\path.m',110,1)">path at 110</a>
In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\addpath.m',87,1)">addpath at 87</a>
In <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\Speech_Codes\Sp
eechAud.m',10,1)">SpeechAud at 10</a>
Warning: Name is nonexistent or not a directory: .\Training\Five.
> In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\path.m',110,1)">path at 110</a>
In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\addpath.m',87,1)">addpath at 87</a>
In <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\Speech_Codes\Sp
eechAud.m',11,1)">SpeechAud at 11</a>
Warning: Name is nonexistent or not a directory: .\Training\Point.
> In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\path.m',110,1)">path at 110</a>
In <a href="matlab: opentoline('C:\Program Files\MATLAB\R2008a\toolbox\matlab\
general\addpath.m',87,1)">addpath at 87</a>
In <a href="matlab: opentoline('C:\Users\ACER\Documents\MATLAB\Speech_Codes\Sp
eechAud.m',12,1)">SpeechAud at 12</a>
Record your sound saying one of these (A,B,C,Five,Point,V)
Press any char when you are ready-

You might also like