how to map a kannada unicode value to a particular audio file from a speech database
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Swapna Havalgi
am 19 Jan. 2016
Kommentiert: Swapna Havalgi
am 21 Jan. 2016
Actually i am working on a project which converts kannada text to speech.As of now i am able to read the text document and able to generate unicode out of text document.now i have to map each obtained unicode to the speech database containing sounds of each kannada alphabet saved each audio file with the hex value of each unicode. can anyone suggest any solution to this problem.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 19 Jan. 2016
Bearbeitet: Walter Roberson
am 19 Jan. 2016
If U holds the Unicode code point number, then
filename = sprintf('pronounce_%04X.wav', U)
this would produce, for example, 'pronounce_30DB.wav' for codepoint U+30DB (decimal 12507), ホ
6 Kommentare
Walter Roberson
am 19 Jan. 2016
projectdir = '/folder/where/files/are';
[data, fs] = wavread( fullfile(projectdir, filename) );
Or when you say "database" do you mean something like an SQL database? If so then you need to say more about what kind of database it is and what fieldname is going to be used and what the format of the key will be.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Other Formats finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!