Git Product home page Git Product logo

Comments (7)

mameisam avatar mameisam commented on August 29, 2024

Actually, after I moved Plugins directory from MMDAI, then padsp ./MMDAI started without any warnings:
maxim@sal:~/tmp/MMDAI$ padsp ./MMDAI
"[INFO] 2011/08/02 23:23:02 GLSceneRenderEngine.h:1010 Shadow mapping disabled
"

But does it mean no plugins are loaded? Also, for sure no .fst, .mdf, ,ojt files are loaded.

So, basically the question is:

  1. How to load fst, .mdf, ,ojt files from QMA/MMDAI ? Basically, how to make QMA/MMDAI work like QtMMDAI in QtMMDAI_lnx32 package.
  2. Have QMA/plugins been build when I build QMA, or do I have to build them separately? If so, then how?

Thanks,
Max

from mmdai.

hkrn avatar hkrn commented on August 29, 2024
  1. QMA's configuration file (.mdf) is loaded by QMA itself, the script file (.fst) is loaded by QMAVIManagerPlugin, and OpenJTalk configuration file (.ojd) is loaded by QMAOpenJTalkPlugin. So QMAVIManagerPlugin, QMAOpenJTalkPlugin and QMAJuliusPlugin are very important plugins to work like MMDAgent.
  2. I recommend QtCreator for developing MMDAI. What should do is to load QtCreator's project files (.pro), build them, and copy (or link) QMA's plugins (.so) to $MMDAI_BIN/Plugins directory manually.

from mmdai.

mameisam avatar mameisam commented on August 29, 2024

I had to do the following modification in QMAAudioPlugin.h:

#include <phonon/Phonon/AudioOutput>
#include <phonon/Phonon/MediaObject>

So I was able to compile all plugins except for Lua. Now, when I run padsp ./MMDAI I get:

maxim@sal:~/h/mmdaim_rel$ padsp ./MMDAI
"[INFO] 2011/08/08 13:13:02 GLSceneRenderEngine.h:1010 Shadow mapping disabled
"
"[INFO] 2011/08/08 13:13:02 QMAScenePlayer.cc:1132 QMAAquesTalk2Plugin was loaded successfully
"
"[INFO] 2011/08/08 13:13:03 QMAScenePlayer.cc:1132 QMAAudioPlugin was loaded successfully
"
"[WARNING] 2011/08/08 13:13:03 QMAScenePlayer.cc:117 libQMAJuliusPlugin.so was not loaded by an error: Cannot load library /home/maxim/h/MMDAIM/QMA/debug/Plugins/libQMAJuliusPlugin.so: (/home/maxim/h/MMDAIM/QMA/debug/Plugins/libQMAJuliusPlugin.so: undefined symbol: j_put_header)
"
"[INFO] 2011/08/08 13:13:03 QMAScenePlayer.cc:1132 QMALookAtPlugin was loaded successfully
"
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
"[INFO] 2011/08/08 13:13:03 QMAScenePlayer.cc:1132 QMAOpenJTalkPlugin was loaded successfully
"
"[INFO] 2011/08/08 13:13:03 QMAScenePlayer.cc:1132 QMAVIManagerPlugin was loaded successfully
"
./MMDAI: symbol lookup error: /home/maxim/h/MMDAIM/QMA/debug/Plugins/libQMAAquesTalk2Plugin.so: undefined symbol: Pa_Initialize

Do you have any suggestions? (I switched to Qt 4.7.0, by the way).

Thanks,
Max

from mmdai.

mameisam avatar mameisam commented on August 29, 2024

After I changed the following in QMAAquesTalk2Plugin.pro, it build OK!

 #LIBS:unix += -lportaudio
 #linux:LIBS += -lAquesTalk2 -lAqKanji2Koe

 # maxim's addition
 unix {
     LIBS +=  -lAquesTalk2 -lAqKanji2Koe -lportaudio
 }

from mmdai.

mameisam avatar mameisam commented on August 29, 2024

Is new Julius plugin not OSS-compatible?

Thanks,
Maxim

"[INFO] 2011/08/09 00:42:31 QMAScenePlayer.cc:1132 QMALookAtPlugin was loaded successfully
"
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
"[INFO] 2011/08/09 00:42:31 QMAScenePlayer.cc:1132 QMAOpenJTalkPlugin was loaded successfully
"
"[INFO] 2011/08/09 00:42:31 QMAScenePlayer.cc:1132 QMAVIManagerPlugin was loaded successfully
"
QSystemTrayIcon::setVisible: No Icon set
STAT: parsing option string: "-d /home/maxim/tmp/MMDAI//AppData/Julius/lang_m/web.60k.8-8.bingramv5.gz"
STAT: parsing option string: "-v /home/maxim/tmp/MMDAI//AppData/Julius/lang_m/web.60k.htkdic"
STAT: parsing option string: "-h /home/maxim/tmp/MMDAI//AppData/Julius/phone_m/clustered.mmf.16mix.all.julius.binhmm"
STAT: parsing option string: "-hlist /home/maxim/tmp/MMDAI//AppData/Julius/phone_m/tri_tied.list.bin"
STAT: include config: /home/maxim/tmp/MMDAI//AppData/Julius/jconf.txt
ERROR: m_options: "-input oss": OSS support is not built-in
"[WARNING] 2011/08/09 00:42:31 QMAJuliusPlugin.cc:237 Failed loading configuration for Julius: /home/maxim/tmp/MMDAI//AppData/Julius/jconf.txt
"

from mmdai.

mameisam avatar mameisam commented on August 29, 2024

Fixed the issue with: bt_audio_service_open: connect() failed: Connection refused (111)
by sudo apt-get purge bluez-alsa.

Still Julius does not get configured correctly:
STAT: parsing option string: "-d /home/maxim/tmp/MMDAI//AppData/Julius/lang_m/web.60k.8-8.bingramv5.gz"
STAT: parsing option string: "-v /home/maxim/tmp/MMDAI//AppData/Julius/lang_m/web.60k.htkdic"
STAT: parsing option string: "-h /home/maxim/tmp/MMDAI//AppData/Julius/phone_m/clustered.mmf.16mix.all.julius.binhmm"
STAT: parsing option string: "-hlist /home/maxim/tmp/MMDAI//AppData/Julius/phone_m/tri_tied.list.bin"
STAT: include config: /home/maxim/tmp/MMDAI//AppData/Julius/jconf.txt
ERROR: m_options: "-input oss": OSS support is not built-in

from mmdai.

mameisam avatar mameisam commented on August 29, 2024

OK... Made it work. the main problem is that one should use new MMDAgent_win32-1.1 files for AppData (and probably all the other stuff, not MMDAgent_win32_beta. It makes sense, I guess, since libjulius.a was compiled from new MMDAgent repository that includes julius4.2, and the original QtMMDAI-lnx32-v0.4-20110227-64daaee.zip used earlier Julius (4.5.1 I think).

Also, leave -input mic in jconf.txt -- that should work ok with portaudio. Default port ALSA:default worked fine. Did not need to set:
Stat: adin_portaudio: (you can specify device by "PORTAUDIO_DEV_NUM=number"

Yay!
max

from mmdai.

Related Issues (20)

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.