Comments (7)
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:
- How to load fst, .mdf, ,ojt files from QMA/MMDAI ? Basically, how to make QMA/MMDAI work like QtMMDAI in QtMMDAI_lnx32 package.
- 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.
- 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.
- 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.
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.
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.
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.
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.
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)
- Creating a project support for VPVM (MMDAI2) HOT 1
- OpenCL support for skinning transform HOT 1
- ARM Neon support for skinning transform HOT 1
- PMX support HOT 3
- Encoding video with audio support HOT 1
- Playing audio support HOT 1
- Implement self shadow feature HOT 2
- Implement MME compatible architecture using Cg HOT 2
- Importing BVH support HOT 1
- The slider of morph widget doesn't work
- Unexpected rendering result with specified models HOT 1
- Unexpected rendering result with the diffuse effect HOT 1
- Position of the asset will be reset after loading a model HOT 1
- MMDAI2 play does not play .wav file while mortion is playing
- FPS delay by m_progress->setWindowModality(Qt::ApplicationModal);
- use libav version 9.1 - no code change required
- Model position did not save into a project file when moved a model by keyboard short cut
- Cannot load sphere map texture with transparent
- Retina Display Support
- GNU/Linux向けの代替
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmdai.