Clownfish Voice Changer |
您所在的位置:网站首页 › 邓稼先精神品质 › 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 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. |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |