Technical discussion about Matlab and issues related to Digital Signal Processing.
Hi.
Mam,Hope u all doing gr8.hws ur college,
iam doing thesis on "Speech Process , synthesis and recognition .as
an
aid for hearing impaired".I wanted abit of help in matlab, basically,
i hv this doubt
.C i hv 6 audio files tht i hv recorded using speech synthsizer,
now iam plying each file 10 times in a random order which means
60 in all.
iam assinging numbers 1 to 6 for all six soundssounds,
Now what i want is tht hearing impaired person should listen to
these sounds
and he should press the key on keyboarb corresponding to each sounds
he hears,if he hears smthg wrong and presses the key corresponding to
tht, tht also i shd come to knw, U gt my point.
.iam copy pasting my program
Mam, iam sorry for dusturbing , if u get time reply then only
------------------------------
------------------------------
-------------------------------------------------
[a,f1]=wavread('aba.wav'); %reading aba.wav
[b,f2]=wavread('ada.wav'); %reading ada.wav
[c,f3]=wavread('aga.wav'); %reading aga.wav
[d,f4]=wavread('apa.wav'); %reading apa.wav
[e,f5]=wavread('ata.wav'); %reading ata.wav
[f,f6]=wavread('aka.wav'); %reading aka.wav
%P=[24],[31],[8],[42],[21],[25
],[55],[15],[50],[51],[27],[30],[39],[26],[2],[29],[53],[49],[22],
[57],[44],[16],[19],[36],[48],[10],[33],[7],[35],[4],[46],[38],[54],
[60],[28],[3],[11],[40],[43],[52],[56],[47],[14],[32],[6],[12],[23],
[9],[45],[41],[37],[59],[58],[5],[20],[18],[13],[34],[17],[1]
P=[ 24 31 8 42 21 25 55 15 50 51 27 30 39 26 2 29 53 49 22 57 44 16
19 36 48 10 33 7 35 4 46 38 54 60 28 3 11 40 43 52 56 47 14 32 6 12
23 9 45 41 37 59 58 5 20 18 13 34 17 1]
for i=1:60
if(P(i) <= 10 )
wavplay(a,f1)
end
if(P(i) > 10 & P(i) <=20)
wavplay(b,f2)
end
if(P(i) > 20 & P(i) <=30)
wavplay(c,f3)
end
if(P(i) > 30 & P(i) <=40)
wavplay(d,f4)
end
if(P(i) > 40 & P(i) <=50)
wavplay(e,f5)
end
if(P(i) > 50 & P(i) <=60)
wavplay(f,f6)
end
end
end
----------------------------------------------------------------------
-------------------------
it will be something like this, he hears a sound then presses a key
corresponding to tht, then another sound will play and he will press
key corresponding to tht, final data i shd knw, i mena whn he has
presses a right key and whn a wrong key.
-------------------------------
Like iam assinging numbers from 1to 6
1.aba
2.ada
3.aga
4.apa
5.ata
6.aka
ih he hears ada , he shd press 2 on keyboard, second word he hears
is ata, he shd press 5. and so on , if for eaxample he hears apa
instead of aka, tht shd also be stored somewhere in the database. i
mailny wantd to analyse the final data in the confusion matrix
ideally it shd be like this ( for a normal person)
aba ada aga apa ata aka
aba 10
ada 10
aga 10
apa 10
ata 10
aka 10
But i will get something like this for a hearing impaired person
aba ada aga apa ata aka
aba 8 2
ada 9 1
aga 6 4
apa 10
ata 2 3 5
aka 2 8
Then i will move further with this
Iam attaching the 6 audio files with tis mail,
I hope u understood what iam trying to do, i really need some1 help.
my faculty sucks,
he is not at all helping me, Iam frustrated right nw, next week hv my
presentation
plsssssssss help me. i am very good in PLC programming and Scada ,
home Automatiom, if u need any help in tht pls tell me
Thanks and Kind Regards
Shahnawaz Yousuf