Home > database >  Pb voice
Pb voice

Time:09-24

Now need to do a voice cry program, have voice package on hand, how can in pb will need to read the Chinese characters to read it out?? You have know hope to be able to post the code, thank you ~ ~

CodePudding user response:

What do you use voice package, see his explanation,

CodePudding user response:

refer to the original poster jaylue response:
now need to do a voice cry program, have voice package on hand, how can in pb will need to read the Chinese characters to read it out?? Hope to be able to post the code you have know, thank you ~ ~

Use the nextup library ~ ~ didn't find

CodePudding user response:

I just installed the library now, on the pb how to development?

CodePudding user response:

This with PB do not have what relation, to see your library interface, PB is invoked

CodePudding user response:

refer to 6th floor hsfeng75 response:
this with PB do not have what relation, to see your library interface, PB is call

Yes, have the library interface, also give me a
Ha ha

CodePudding user response:

If the request is not high, the use of MsCTTS51. Msi Chinese idea engine can

Kingsoft powerword is like calling this engine

CodePudding user response:

I also want a, thanks to [email protected]

CodePudding user response:

http://download.csdn.net/detail/wangyouren/2385688

Very simple, give it a try

CodePudding user response:

There is a simple solution, you not have a voice packet? Then all the audio files named according to the pronunciation, and then use Windows own function: PB doesn't provide any multimedia function, to play music can only be done by the Win32 API PlaySound:
The FUNCTION ulong PlaySound (ref string lpszName, ulong hModule, ulong dwFlags) LIBRARY "winmm. DLL" ALIAS FOR "PlaySoundA
"Parameters 1 is the wav file name, must take 2 0, parameter 3 1, said backstage, 8 said looping, so take 9 (=1 + 8) said backstage looping,
Use: for example: I want to read "please" voice
String ls_test, ls_path
Ls_path='c:/wave///voice packet placed file directory
Ls_test=ls_path + "please. Wav"
Playsound (ls_test, 0, 2)
  • Related