unispeech / swig-wrapper Goto Github PK
View Code? Open in Web Editor NEWSWIG bindings of UniMRCP API to higher level languages such as C#, Java, Python
Home Page: http://www.unimrcp.org
License: Apache License 2.0
SWIG bindings of UniMRCP API to higher level languages such as C#, Java, Python
Home Page: http://www.unimrcp.org
License: Apache License 2.0
I am getting below error while building swig wrappers
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function UniMRCPLogger::UniMRCPLogger()': UniRecog.cpp:(.text._ZN13UniMRCPLoggerC2Ev[_ZN13UniMRCPLoggerC5Ev]+0xf): undefined reference to
vtable for UniMRCPLogger'
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function UniMRCPClientResourceChannel<(UniMRCPResource)1>::CreateMessage(UniMRCPRecognizerMethod, bool)': UniRecog.cpp:(.text._ZN28UniMRCPClientResourceChannelIL15UniMRCPResource1EE13CreateMessageE23UniMRCPRecognizerMethodb[UniMRCPClientResourceChannel<(UniMRCPResource)1>::CreateMessage(UniMRCPRecognizerMethod, bool)]+0x66): undefined reference to
UniMRCPResourceMessage<(UniMRCPResource)1>::UniMRCPResourceMessage(mrcp_session_t*, mrcp_channel_t*, mrcp_message_t*, bool)'
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI28UniMRCPClientResourceChannelIL15UniMRCPResource1EE[typeinfo for UniMRCPClientResourceChannel<(UniMRCPResource)1>]+0x10): undefined reference to typeinfo for UniMRCPClientChannel' CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI19UniRecogTermination[typeinfo for UniRecogTermination]+0x10): undefined reference to
typeinfo for UniMRCPAudioTermination'
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI15UniRecogSession[typeinfo for UniRecogSession]+0x10): undefined reference to typeinfo for UniMRCPClientSession' CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI14UniRecogLogger[typeinfo for UniRecogLogger]+0x10): undefined reference to
typeinfo for UniMRCPLogger'
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function UniMRCPClientResourceChannel<(UniMRCPResource)1>::OnMsgReceive(mrcp_message_t*)': UniRecog.cpp:(.text._ZN28UniMRCPClientResourceChannelIL15UniMRCPResource1EE12OnMsgReceiveEP14mrcp_message_t[UniMRCPClientResourceChannel<(UniMRCPResource)1>::OnMsgReceive(mrcp_message_t*)]+0x5c): undefined reference to
UniMRCPResourceMessage<(UniMRCPResource)1>::UniMRCPResourceMessage(mrcp_session_t*, mrcp_channel_t*, mrcp_message_t*, bool)'
collect2: ld returned 1 exit status
make[2]: *** [Cpp/UniRecog_Cpp] Error 1
make[2]: Leaving directory /home/divyanshu/swig-wrapper' make[1]: *** [CMakeFiles/UniRecog_Cpp.dir/all] Error 2 make[1]: Leaving directory
/home/divyanshu/swig-wrapper'
Please help.
Also I have attached CMakeCache.txt for your reference.
CMakeCache.txt
My Environment:
Red Hat Enterprise Linux Server release 6.2
I am using unimrcp-1.4.0 and unimrcp-deps-1.4.0 packages from official webpage.
If you need any more info then kindly let me know.
Hello, im using java wrapper for unimrcp and example UniSynth.java
When im trying to synth speech with mrcpv1 im getting file filled by zero bytes.
When im trying to synth speech with mrcpv2 im getting empty file.
Im capturing packets with wireshark and i can see that server responds with rtp packets that contains audio data, but client cant write data to file.
Im running this code from intellij idea, output file path in my home directory, there is no proplems like permission denied etc.
Using debug shows me that there is no callings to method public boolean WriteFrame() during client execution.
But when im running client using terminal like:
./umc -> run synth %myProfileName% result file in /usr/loca;/unimrcp/var/synth-8k-*.pcm contains valid output audio.
Im so bad at JNI, so can anyone explain me, whats the problem? Thanks.
Hi Team,
I am currently working on developing my own ASR plugin. I am able to send audio signals to my Python socket-based component and save these signals into a file. However, when I playback the file, there is a significant amount of background noise (buzzing/zapping sound) along with the human voice. I suspect there may be an issue with the audio codec or formatting between the modified UniMRCP plugin and the Python socket code.
Could anyone guide me on the exact format I should follow in Python when saving these signals into a file? Any assistance or suggestions would be greatly appreciated.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.