赛派号

烘干机推荐排行榜第一名格力 Clownfish Voice Changer

Clownfish's API

You can control Clownfish by sending windows messages from your application( see Data Copy ) Sent command should be utf8 encoded string in this format "X|Y". X - numeric comand, Y-string/numeric value Command X=0 ( start audio file ) , Y - is file location Command X=1 ( start text to speech ), Y - text to be converted Command X=2 ( enable/disable Clownfish ), Y - 0/1 Command X=3 ( set voice changer ), Y - (0-14) - selected voice (0:none) Command Custom pitch 3|13|Z - Z float pitch level (-15.0 to +15.0) ex. "3|13|2.55" Command X=4 ( set sound fx ), Y - (1-4) - selected effect (0:disable) Command X=5 ( set sound volume ), Y - (0-100) Command X=6 ( enable VST effect ), Y - (string) - "disable", "configure", "VST name" Command X=7 ( music control ), Y - 0:pause 1:resume Command X=8 ( activate profile ), Y - profile name Examples: "0|C:\music\good.mp3" - start playing good.mp3 file "0|" - stop playing any music "1|How are you?" - start text to speech conversion with current selected narrator "2|0" - turn Clownfish off "2|1" - turn Clownfish on

Example connection from C/C++ application:

char* sendCommand="0|C:\\music\\test.mp3"; COPYDATASTRUCT MyCDS; MyCDS.dwData = 42; //the ultimate answer is used for ID MyCDS.cbData = strlen(sendCommand); MyCDS.lpData = sendCommand; //utf8 char* HWND hwdClownfish = FindWindow(L"CLOWNFISHVOICECHANGER", L"Clownfish Voice Changer" ); if (hwdClownfish) { SendMessage( hwdClownfish, WM_COPYDATA, NULL, (LPARAM) (LPVOID) &MyCDS ); }

Contact me if you need more information.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了