CodePudding user response:
PB doesn't provide any multimedia function, to play music can only be done by the Win32 API PlaySound:The function Long PlaySound (String Filename, Int Mod, Int Flags) Library "winmm. DLL
"
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 in the background looping,
CodePudding user response:
All you need to pronounce (don't need to record every character, according to the phonetic recording) is a wav file, and then call in Chinese characters, pinyin DLL, made Chinese pinyin, then start playsound pronunciation corresponding wav filesCodePudding user response:
You have to get a voice ah, ha ha, pb alone do more troublesomeCodePudding user response:
Can use office little helper to achieveCallback system msagent dropped the little helper hidden
Heir name into play elves use the system language pack will automatically read out proved to be more blunt
Baidu PB call msagent
Or I wrote it has a good object may need to leave a mailbox
CodePudding user response:
Gui41021:I need to call your PB msagent object, send one to me, thank you!
Email address: [email protected]
CodePudding user response:
If is relatively fixed name, can record after playing, I made a server status test procedure, used access business group of Beijing hua sheng electronic online TTS, but I am a civil personal project, if is the commercial doesn't seem to authorize you use it casually,If it is used to real-time synthesis TTS technology, please check the relevant technology, such as audio messages,
If it is some fixed statement + amount, etc., can be segmented to record, again combination play, like 13800138000 calls it out for you,
Technology and PB no matter, don't humiliate PB, have you noticed a lot of CTI demo have provide PB sample, what to do?
CodePudding user response:
The friendship that,CodePudding user response: