English
Source / code snippets

Sapi Sprachausgabe

 
- Page 1 -



Frank
Abbing
A small Testprogramm of me. Happert it yet somewhere?

5 kB
Hochgeladen:06/17/06
Downloadcounter384
Download
 
06/17/06  
 



 
- Page 2 -


The dt. voices from the link of Frank wanted to itself not at me install let, there probably the Hauptanwendung (Reader?) missing. Have here but too another Downloadmöglichkeit for dt. voices, of IBM, ought to compatible his, with my TTS-Lib functions it. [...] 
integrally under left are different Languages, too German. are well Trialversionen, but no Einschränkungen.

Have now by me:
[quote:0eb5146c9e]There are 9 voices installed in your system
Voice index = 0 , Voice name = Microsoft Sam
Voice index = 1 , Voice name = Default
Voice index = 2 , Voice name = Gisela
Voice index = 3 , Voice name = Gisela-ph
Voice index = 4 , Voice name = Matti
Voice index = 5 , Voice name = Max
Voice index = 6 , Voice name = Max-ph
Voice index = 7 , Voice name = nanny
Voice index = 8 , Voice name = grandfather[/quote:0eb5146c9e]
Perhaps finds someone link Yes useful
white now but not, whether The Lib of Frank SAPI 4 and 5 supported, or. obs used becomes.
 
06/18/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

@ Frank: Yes, very something like!
Gibts there, where You the since have, yet More? MS holds itself since some Time quite overcast with such Info

@ All: in the SAPI-Help becomes somewhere described, How which Buchstabenkombinationen of SAM expressed go. so ought to itself still a manner Wrapper write let (something like I had then already for C64 and Sam/Reciter gebastelt). then must one not first whom whole Kram of MS runterladen

SeeYou
Pascal
 
06/18/06  
 




Frank
Abbing
[quote:28a564f433]The dt. voices from the link of Frank wanted to itself not at me install let, there probably the Hauptanwendung (Reader?) missing. Have here but too another Downloadmöglichkeit for dt. voices, of IBM, ought to compatible his, with my TTS-Lib functions it. [/quote:28a564f433]
whether the Reader circumstance for installation the german voices is, knows I do not very. though have I it installs.

The german voices of IBM find itself by me only into SAPI4-Settings, can but not for Sprachausgabe benefit.

[quote:28a564f433]@ Frank: Yes, very something like!
Gibts there, where You the since have, yet More? MS holds itself since some Time quite overcast with such Info [/quote:28a564f433]
unfortunately not. I had only these Inc-File and a rudimentären, older Source found.

what me yet nervt is, that one The actually Sprachausgabe not interrupting can. there have I yet nothing discover. but probably Gibts there somewhere a Callback-Possibility. One Thread would too yet possible. once I again Time have, probier I moreover on it.
 
06/18/06  
 




Frank
Abbing
be one bit moreover come. The Texts go now independent of restlichen Progamm vorgelesen and can gestoppt go. here again one Testprogramm.

67 kB
Hochgeladen:06/18/06
Downloadcounter197
Download
 
06/18/06  
 




Frank
Abbing
so, I have the whole time in a Dll umgesetzt and circa a Test-Source in XProfan extended. I hope, your testing too fleissig, whether it everywhere functions. would be still pity, if this issue again einschläft.
with sufficient Resonanz I will The Dll Piece for Piece strain and More functions furnish. sees in the Hinsicht integrally well from.

enclosed Dll and Profancode.

[quote:cfe4a2392b]@ All: in the SAPI-Help becomes somewhere described, How which Buchstabenkombinationen of SAM expressed go. so ought to itself still a manner Wrapper write let (something like I had then already for C64 and Sam/Reciter gebastelt). then must one not first whom whole Kram of MS runterladen [/quote:cfe4a2392b]
Yes, habs found:

[quote:cfe4a2392b]American English Phoneme Representation
Diese is a letter introduction to the use and implementation of the SAPI phoneme representations.

Symbolic and Numerical Representation
Application developers can create pronunciations for words that are hardship currently in the lexicon by using the English phonemes represented in the following table. The phoneme set is composed of a symbolic phonetic representation (SYM).

The application developer wants be able to enter the SYM representation to create the pronunciation using the XML PRON day, or creating by a new lexicon entry. Each phoneme entry should be space delimited.

day Description
PRON SYM day used to insert a pronunciation using symbolic representation.

Example: pronunciation for hello:

<PRON SYM = h eh l ow/>

For improved accuracy, the primary (1), secondary (2) stress markers, and the syllabic markers (-) can be added to the pronunciation.

Example: pronunciation for hello using the primary stress (1) and syllabic (-) markers:

<PRON SYM = h eh - l ow 1/>
American English Phoneme Table
SYM Example PhoneID
- syllable boundary (hyphen) 1
! Sentence terminator (exclamation marrow) 2
& word boundary 3
, Sentence terminator (comma) 4
. Sentence terminator (period) 5
? Sentence terminator (question marrow) 6
_ Silence (underscore) 7
1 Primary stress 8
2 Secondary stress 9
aa father 10
ae cat 11
ah cut 12
ao dog 13
aw foul 14
ax ago 15
ay bite 16
b big 17
ch chin 18
d dig 19
dh then 20
eh pet 21
it fur 22
ey ate 23
f fork 24
g well 25
h help 26
ih fill 27
iy feel 28
jh joy 29
k cut 30
l lid 31
m mat 32
n no 33
ng sing 34
ow go 35
oy toy 36
p put 37
r red 38
s sit 39
sh she 40
t talc 41
th thin 42
uh book 43
uw too 44
v vat 45
w with 46
y yard 47
z zap 48
zh pleasure 49 [/quote:cfe4a2392b]
so one Wrapper would find so did i vorteilhaft what about me would you there gladly support. you mean sure, that one Sam so german talk let could, without extra German voices runterladen To must, or?
Sam is Yes on jedenfall everywhere there already präsent, where windows 2000/XP installs is, if I the right see. And if I right informed be, can The Sprachausgabe manually on Sam adjust, before one tappt im dunkeln outputs. accordingly could eachone The Texts german listen, without Extra-Installationen distinguished To must.

2 kB
Hochgeladen:06/18/06
Downloadcounter218
Download
 
06/18/06  
 




Michael
Wodrich
[quote:fdf3e8a134]The dt. voices from the link of Frank wanted to itself not at me install let, there probably the Hauptanwendung (Reader?) missing. Have here but too another Downloadmöglichkeit for dt. voices, of IBM, ought to compatible his, with my TTS-Lib functions it.[/quote:fdf3e8a134]
The TTS-Lib fractures Yes with the Message MS Reader 2.1 not found ex. I have means as Suchbegriff ms reader 2.1 with Date association and I immediate The German Downloadseite serviert get - 3 MB.
The voices: LH Anna, LH Stefan
Anna hears itself so nastily on, means have I for Stefan decided and it immediate with Pascals code fed. first Lesung OK - second is well one Eunuch.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
06/19/06  
 




Clemens
Meier
by me dito, though without Eunuch How comes one on The others voices ran? have all sorts of things attempts. there's of course Trial-voices, download floppy 70 MB (The reading there well novels to ). knows someone a good fountain for voices?
 
XProfan 9.1; XP SP2; FF; Editpad
06/19/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

have another little gebastelt; The Umsetzung the Laute is certainly not yet entire, but the principle ought to discernible his
has though a mörderischen accent, the part...
!
window 50,50-500,200
 $H windows.ph

proc MultiToWide--------------------------------------------------------------

    parameters Text$,Ziel&
    return ~MultiByteToWideChar(0,0,addr(Text$),-1,Ziel&,250)
    endproc-----------------------------------------------------------------------

    proc StringToGUID-------------------------------------------------------------

        parameters GUID$,GUID&
        declare Temp$
        Temp$=space$(80)
        ~MultiByteToWideChar(1,1,addr(GUID$),-1,addr(Temp$),80)
        external("ole32","CLSIDFromString",addr(Temp$),GUID&)
        endproc-----------------------------------------------------------------------

        proc CallMethod---------------------------------------------------------------

            parameters IFace&,Method&
            declare VTable&
            VTable&=long(IFace&,0)
            Method&=long(VTable&,Method&*4)
            case %pcount=2:return call( Method&,IFace& )
            case %pcount=3:return call( Method&,IFace&,&(3) )
            case %pcount=4:return call( Method&,IFace&,&(3),$(4) )
            case %pcount=5:return call( Method&,IFace&,&(3),&(4),&(5) )
            endproc-----------------------------------------------------------------------

            proc speak-------------------------------------------------------------------

                parameters a$
                print a$

                whileloop len(a$),1,-1--space insert

                    a$=in that$(" ",a$,&loop+1)

                endwhile

                a$=lower$(a$)
                a$=translate $(a$,"s c h","sh ")
                a$=translate $(a$,"s t","sh t ")
                a$=translate $(a$,"e i ","ay ")
                a$=translate $(a$,"i e ","iy ")
                a$=translate $(a$,"e u ","oy ")
                a$=translate $(a$,"a ","aa ")
                a$=translate $(a$,"e ","eh ")
                a$=translate $(a$,"i ","iy ")
                a$=translate $(a$,"u ","uw ")
                a$=translate $(a$,"o ","ow ")
                a$=translate $(a$,"j ","jh ")
                a$=translate $(a$,"ö ","er ")
                a$=translate $(a$,"ä ","ae ")
                a$=translate $(a$,"ü ","er ")
                a$=translate $(a$," "," 1 ")--behind each Phonem a 1 continues The expressed
                a$="<lang langid=409><PRON SYM = "+a$+" /></lang>"--LangID $409 = english (Sam)
                MultiToWide(a$,a#)
                CallMethod(ISpVoice&,20,a#,0,0)
                endproc-----------------------------------------------------------------------

                proc SprichEx-----------------------------------------------------------------

                    parameters a$,b$
                    print a$,b$
                    a$="<context ID =  "+b$+" > "+a$+" </context>"
                    MultiToWide(a$,a#)
                    CallMethod(ISpVoice&,20,a#,0,0)
                    endproc-----------------------------------------------------------------------
                    declare ISpVoice&,a#
                    dim a#,1024
                    external("ole32","CoInitialize",0)
                    StringToGUID("{96749377-3391-11D2-9EE3-00C04F797396}",a#)
                    StringToGUID("{6C44DF74-72B9-4992-A1EC-EF996E0422D4}",a#+16)
                    external("ole32","CoCreateInstance",a#,0,23,a#+16,addr(ISpVoice&))
                    --here becomes in each drop with Sam spoken
                    speak("guten tag")
                    speak("schönes weather heute")
                    --here becomes The tuned Standart-voice uses
                    --this works naturally on the best with of/ one german Simme :-(
                    SprichEx("19.06.2006","date_dmy")
                    SprichEx("12:30","time")
                    SprichEx("1234","number_cardinal")
                    SprichEx("1234","number_digit")
                    SprichEx("123/4","number_fraction")
                    SprichEx("12,34","number_decimal")
                    CallMethod(ISpVoice&,2)
                    external("ole32","CoUninitialize")
                    dispose a#

@Roland:
[quote:3a09024a6a]
How could or ought to your opinion to a such Support looks?
[/quote:3a09024a6a]
without unbescheiden sound To want, but Perhaps should You The COM-routines, The I use (or something vergleichbares) with install. simply only, so The people, which with COM/OLE befassen (go), a joint Standart having.

SeeYou
Pascal
 
06/19/06  
 




Frank
Abbing
well, pointed looks, becomes The Dll not any more needed. I put tappt im dunkeln one. at least could I to a Topic vivify, to the for Profan yet nothing existing.

@Pascal: functions well! Meinst You, You get whom accent another little out?
 
06/19/06  
 




Michael
Wodrich
have yet complement
SprichEx("Guten day. beautiful weather today.","text")

...and it running on attempt. there can I each only guess, a German approve install (Sam should really Schmerzensgeld numbers, if it itself on german Texten vergreift).
it'll from the (german) Standardstimme everything TOP vorgelesen.

thanks Pascal - really class.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
06/19/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

@ Frank:
[quote:503f1884c5]well, pointed looks, becomes The Dll not any more needed. I put tappt im dunkeln one. [/quote:503f1884c5]
the was but not sense the thing
in the Zweifelsfall are your dlls anwenderfreundlicher as my Demos.
and the COM-stories walk Yes first ex Profan 7.

@ All: much better becomes The expressed of Sam well not go. want time know, what MS itself thereby virtual has...
the one the german mutants self procure must is already angry, but that one too yet this EBook-Reader need...
If I the right see, are so too functions to Voice Recognition available, and the are well too on The jeweilige Language tied

SeeYou
Pascal
 
06/20/06  
 




Frank
Abbing
[quote:fd812a2fd1]the was but not sense the thing
in the Zweifelsfall are your dlls anwenderfreundlicher as my Demos.
and the COM-stories walk Yes first ex Profan 7.[/quote:fd812a2fd1]
is correct indeed again...

Pascal, know You, How one best on The Info come can, which Language the User currently tuned has?
If there german tuned is, could one The German voice too use. is only Sam available, then must one even with the accent life.
 
06/20/06  
 




Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

36.388 Views

Untitledvor 0 min.
Jens-Arne ReumschüsselGestern (23:18)
Uwe Lang vor 5 Tagen
Roland Schäffer vor 6 Tagen
Georg Teles vor 7 Tagen
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie