Giter Club home page Giter Club logo

swig-wrapper's People

Contributors

achaloyan avatar mayamatakeshi avatar tomas-valenta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

swig-wrapper's Issues

Error while building from source

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.

Empty output file.

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.

Unimrcp Python ASR Integration

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.