Search found 125 matches: sapi

Return to advanced search

Re: SAPI : change Voice

... := { "Voz", "File" }, cSelOutPutStream := "Voz"   local oFile := tOleAuto():New( "Sapi.SpFileStream" )   local nVolume := 50   local nVelocity := 0   local n := 0, n2 := 0   local oVoice := tOleAuto():New( "Sapi.SPVoice", ...
by Jimmy
Sat Feb 24, 2024 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Dear Jimmy,

Please post your current PRG and RC and I will help you to use RTF

thanks
by Antonio Linares
Sat Feb 24, 2024 5:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

hi, i have not post a Sample while Original Source use *.RC and EDITTEXT but for full working Sample i need RTF but don´t know how to change *.RC please can somebody change EDITTEXT to RTF to get it full working, please https://forums.fivetechsupport.com/viewtopic.php?t=12983 i have ...
by Jimmy
Sat Feb 24, 2024 5:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

... Function ChangeVoice()  //cambiar voz desde un doble click sobre la lista de narradores//oNarrator  := CreateObject( "Sapi.SPVoice" , "WithEvents" ) Local oVoice  For Each oVoice In oNarrator:GetVoices()           ...
by Danielmaximiliano
Sat Feb 24, 2024 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

... you too? ¿Puedes publicar la prueba completa con los recursos para que podamos ayudarte también? Hola Silvio ya está la solución con respecto a Sapi.Voice con la ayuda de Antonio Linares Yes It run ok but i Wish change the voices
by Silvio.Falconi
Fri Feb 16, 2024 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Silvio.Falconi wrote:please can you post the entire test with the recources so we can help you too?


¿Puedes publicar la prueba completa con los recursos para que podamos ayudarte también?


Hola Silvio
ya está la solución con respecto a Sapi.Voice con la ayuda de Antonio Linares
by Danielmaximiliano
Fri Feb 16, 2024 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

please can you post the entire test with the recources so we can help you too?


¿Puedes publicar la prueba completa con los recursos para que podamos ayudarte también?
by Silvio.Falconi
Fri Feb 16, 2024 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Hola Jmmy : yo lo resolví asi en HMG/Harbour Function Play()  oNarrator:EventInterests := SVEAllEvents + SVEAudioLevel oNarrator:Speak( Main.RichEdit_1.VALUE, ( SVSFlagsAsync + SVSFPurgeBeforeSpeak ))  Do While .NOT. (oNarrator:WaitUntilDone (.1) )    SetPrope...
by Danielmaximiliano
Wed Feb 14, 2024 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

hi Daniel, i have try to Debug Events (see last Page) and have ask "what does they mean" Antonio found Solution that 1st Parameter are the Event "Number" Events and meanings: 1 --> Start 3 --> An OLE object is received, probably self OLE object ? 5 --> Word, 4th param is...
by Jimmy
Wed Feb 14, 2024 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Hola Jimmy : me explicarias como se disparan los eventos al utilizar oSpVoice:__hSink := __axRegisterHandler( oSpVoice:__hObj, { | a, b, c, d, e | OnEvent( a, b, c, d, e ) } ) al hacer Play en el form DEFINE BUTTON oBtnPlay         ROW 160  &nb...
by Danielmaximiliano
Tue Feb 13, 2024 4:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

hi Antonio, Events and meanings: 1 --> Start 3 --> An OLE object is received, probably self OLE object ? 5 --> Word, 4th param is position, 5th param is length 6 --> ??? 7 --> Sentence, 4th param is position, 5th param is length 8 --> ??? 2 --> End thx for your List f Event mean...
by Jimmy
Mon Feb 12, 2024 6:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Hola Jimmy : Leyendo creo que se necesita la propiedad "Status" https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms723612(v=vs.85) pero no consigo descifrar bien el uso aqui https://learn.microsoft.com/en-us/previous-versions/windows/desktop/m...
by Danielmaximiliano
Mon Feb 12, 2024 3:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

hi Antonio, thx for the Idea. Result is same like using Property "Voice" Error description: (DOS Error -2147352573) WINOLE/1007 Argument error: VOICE Args: [ 1] = O Stack Calls =========== Called from: => TOLEAUTO:VOICE( 0 ) Called from: main.prg => CHANGEVOICE( 125 ) Called from: m...
by Danielmaximiliano
Sun Feb 11, 2024 11:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Thank you.
by Enrico Maria Giordano
Sun Feb 11, 2024 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094

Re: SAPI : change Voice

Events and meanings: 1 --> Start 3 --> An OLE object is received, probably self OLE object ? 5 --> Word, 4th param is position, 5th param is length 6 --> ??? 7 --> Sentence, 4th param is position, 5th param is length 8 --> ??? 2 --> End https://learn.microsoft.com/en...
by Antonio Linares
Sun Feb 11, 2024 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3094
Next

Return to advanced search

cron