Home > database >  Pb how to achieve speech read name function, is to invoke the API?
Pb how to achieve speech read name function, is to invoke the API?

Time:09-25

Pb how to achieve speech read name function, is to invoke the API?

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 files

CodePudding user response:

You have to get a voice ah, ha ha, pb alone do more troublesome

CodePudding user response:

Can use office little helper to achieve

Callback 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:

reference 4 floor gui41021 response:
can use small office assistant to achieve

Callback 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 have a written this object may need to leave a mailbox


I have to mail is [email protected], thank you!

CodePudding user response:

This is done before the hospital system of charging implementation of
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 files

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:

http://download.csdn.net/source/3528794

CodePudding user response:

Seen the offer of money, is indeed a spell every number record again

CodePudding user response:

This is trouble!

CodePudding user response:

Friend, # 6 floor is correct, and understand the TTS technology, everything with respect to OK, TTS, dynamic speech, just some Chinese characters can be automatically converted into speech, best recombination, sound card, TTS is responsible for the Chinese characters into audio files, sound card is responsible for,

CodePudding user response:

Sound card can contact, Beijing yue xin

CodePudding user response:

To buy a sound development of DLL, PB routines, as long as a library can solve
  • Related