HOME | DD

AddestorionVayanis — MMDAgent Tutorial by-nc

Published: 2011-09-18 06:10:54 +0000 UTC; Views: 125751; Favourites: 394; Downloads: 6934
Redirect to original
Description In the same vein as the Artoolkit_MMD tutorial [link] , the following is what I currently know about MMDAgent Voice Recognition software developed by the Nagoya Institute of Technology

Other tutorial links (VMDSpectrum [link] )

NOTICE - 5 September 2012
This tutorial may be out of date compared to MMDAgent 1.3 which was released last august. I am having issues changing all my commands to suit the newer version, so i am still using a backdated version. However, the sample.fst and .mdf files do have some pointers on what the slight alterations are.

MMDAgent
A speech recognition program developed by the Nagoya Institute of Technology using a variety of open source software, namely the OpenJTalk voice synthesizer, Julius voice recognition and MikuMikudance 3D rendering program.
Nico-nico douga - [link]

This is roughly what it would look like and what you could do with it: (this is after my edits)
[link]
summary of things you can do with it:
- have her respond to your vocal commands
- have all your motion datas and wave files on standby
- drag and drop models, even while halfway dancing
- can detect certain keyboard commands to replace vocal commands.

This is how i usually use MMDAgent to proofcheck models that i download from here.
[link]


-------------------------------------------------------------------------
Downloading
1. Go to [link]
2. Download the MMDAgent binary package for 32 bit windows
3. Download the Sample Script Binary Package
4. Unzip both files

Executing
1. The binary package for 32 bit windows has a .exe file named mmdagent.exe
2. The Sample Script Binary Package has a file named MMDAgent_Example.mdf
3. To run it, you need to drag the MMDAgent_Example.mdf and drop it onto the MMDAgent.exe icon. (you can’t run mmdagent.exe first, and then drag and drop the mmdagent_example.mdf onto it. Nothing happens)
4. A window should appear with a model named mei.
5. To make things run faster, you could just right click the .mdf file and set it to always open with mmdagent.exe. Doing so will enable you to just doubleclick the .mdf and it will load up in mmdagent.exe.

Usage
1. The default sample script responds to very limited words. This is a list of [command] – (response) - - {additional notes}
a. [konnichiwa] – (konnichiwa) -
b. [sayonara/bai bai] – (sayonara) -
c. [homupeji] – (MMDAgent no, hōmupēji o hyōji shimasu) - d. [Furusukurīn] – (Sukurīn no settei o, henkō shimashita) -
e. [toshokan] – (gives you directions to the library) -
f. [anata _ dare] – (self introduction of herself) - - {it doesn’t matter what you say in between anata and dare, but both words need to be said in the same sentence}
g. [Arigato] – (youre welcome, speak to me at any time) - - {notice a tone of voice shift between youre welcome and the second sentence. Demonstrates the different expressions available for use}
h. [kawaii/ kirei] – (Either says arigato or Hazukashiidesu using embarrassed tone) - - {demonstrates use of random numbers to vary responses}
2. Keyboard commands are available in the readme file included in the mmdagent32. Notable commands are:
a. lowercase d – toggles the full log. You will be able to see a transcript of what she thought you heard, and any actions she is undertaking.
b. Capital J – toggles the microphone input bar. The blue bar indicates current sound level, the white line indicates the sound detection treshhold and the orange line indicates speech detection. Use your control panel>>sound >>recording>>microphone to control the sensitivity of the microphone. If it is noisy, set it to lower values, but you’ll have to talk louder into the microphone. Adjust it until the ambient noise doesn’t cause the blue bar to exceed the white line.
c. lowercase l (elle, not eye) – toggles head looking at mouse. mei’s head will track your mouse.
d. capital F – toggles event/detection logs. These logs are to the right of mei (your right). You’ll have to rotate the view so you can see it.
e. Other commands are in the readme file.
3. if you drag and drop music files or mikumikudance .vmd files onto the mmdagent, it will play or run the motion. If the music file is in the same folder as a motion data (.vmd) file with the exact same name as the music file, both the motion data and music will play together.

Editing
1. The sample script has a file named mmdagent_example.fst.
2. By default it is not associated with a program, but you can open it in notepad.
3. You will be able to see its full programming, with instructions on how to program it, plus all events and actions which can be taken.
4. The codes are arranged neatly so that you will learn how to perform your own basic programming. Note that the symbol # means comment (whatever is written along that same line will not affect the code and is used just as a comment)
a. 0011-0020 – initial setup and loading of models
b. 0021-0030 – teaches you how to use timers and single loop motions
c. 0031-0040 – teaches you how to use simple voice recognition, speech synthesis and motion.
d. 0041-0050 – teaches you how to queue two or more speech sentences together using SYNTH_EVENT_STOP
e. 0051-0060 – teaches you how to use different voice types. They are; normal, angry, bashful, happy and sad (the folder names in MMDAGENT>>Voice)
f. 0061-0070 – teaches you how to use random numbers to varied responses. This is the basis of IF/THEN/ELSE type programming. The random number in question is the command line 23 (VALUE_SET|random|0|100)
g. 0071-0090 – Teaches you how to add, delete, load, add motion to and change motion of models.
h. 0091-0100 – similar to 0031-0040. No need to reexplain myself.
i. 0101-0110 – Teaches you how to run programs. Webpages will load in your default browser. Programs can be loaded if you provide the full path to it (C:folder1subfolder3whatever.exe). Note: there must be NO SPACEBARS in between the path or else it will not load. You could either:
i. delete any spacebars in the path {may cause programs to not work}
ii. change any spacebars to an underscore ( _ ) {may cause programs to not work}
iii. (recommended) create a shortcut to the program you want to run, and place it in a place where the path to the shortcut has no spacebars. The shortcut name must have no spacebars. Shortcuts have an ending file extension .lnk, so you will have to run it like this: C:folder1subfolder3whatever.exe.lnk
j. 0111-0120 – teaches you about issuing keyboard commands. For now, it can issue commands to mmdagent, but if you know whats a windows class type, you can use this program to issue keyboard commands to other programs as well. Mine is able to control my windows media player classic. Will post more info on this subtopic if response to this article is good.
5. You should be able to program a variety of commands

Other Notes:
1. .pmx files will not work
2. Some models which contain certain abnormal textures will also not work.
3. Whether or not mikumikueffect works or not has yet to be determined


WARNING
1. This girl is hot. Literally. Activating MMDAgent raises the temperature of my intel i5 core to 83 degrees celcius from its usual 60 celcius. The temperature drops almost immediately back to 60 degrees once I shut her off.
2. She’s also high maintenance. She also uses my GeForceGT420M graphics card to an average of 60 % of the GPU clock, making it hard to run any other graphics demanding program at the same time. The clock increases if you activate self shadow (lowercase x keyboard)
3. And she’s a gold digger. A fully charged battery on my laptop can last 90 minutes on average, but only 45 minutes if she’s constantly running (discharge rate of 2.5 Watthour on standard, 5.3 Watthour when she’s running)


I’ld write more, but I figure those who are interested in this will either figure it out eventually, or ask in the comments.

Currently, my programming of my MMDAgent can do the following:
1. Replaces NIT’s Mei with LAT Kagamine Rin Append when starting up
2. Has 20 .pmd models on standby, switchable either by voice command or keyboard key hit.
3. Can play and dance to 18 songs and dance motions on command
4. Loads most of my programs on command.
5. Loads most of my regular webpages on command
6. Loads ALL my regular webpages on a single command.
7. Can stop music and dance when halfway playing, either by voice command or keyboard hit
8. Can change models while dancing
9. Can load up videos and music playlists in media player class, and control Play/Pause, Next or Previous Track, Volume adjustment, and Quitting on command.
10. Can shut herself down on command
11. Can interrupt herself shutting down in case the shutdown command was given unintentionally.
12. And finally, she can counter most Japanese swearing words with more than just 1 or 2 responses.

Disclaimer:
as per the readme agreement in MMDAgent, the pictures used for this deviation is based on a personal edit of the MMDAgent and should not be confused with the base program which this tutorial is meant to clarify.

--------------------------------------------------------------------------------
Edit 3/10/2011
--------------------------------------------------------------------------------
I changed the file download to a .zip file containing my edited mmdagent_example.fst.
It is my personal edits to see my present code condition, and not the .fst file initially distributed with the sample_script zip file.
To use this file, just copy it over the .fst file in the sample_script folder and use as described above. You are advised to keep your own backup copy of your .fst file just in case.

you may use this for your own entertainment and such. No credits to me are required, although i would be very interested to hear about your own additions, discoveries and innovations that you may develop.

However, I will not be held responsible for any problems it may cause, nor am i obliged to ensure that it works. This is merely to be used as a suggestion on how to code. All other copyrights are in their respective copyright readme files.


[new version uploaded on 18/11/2011 highlighting Value_GET functions and how they are used]

------------------------------------------------------------------------
Update 8/10/2011
-------------------------------------------------------------------------
you can open up the .mdf file in notepad, and there are some initial settings which you can modify at will

notably, the parameter you want to probably reduce is the one named Bullet frames per second (Bullet fps)
The standard 120 frames per second puts a heavy toll on your graphics card. Reducing it down to 30 or so will significantly reduce this load. You're free to set it to any value which suits you.

--------------------------------------------------------
update 29/11/2012
---------------------------------------------------------

And because i have been testing way too many models as of late, a new deviation would just about sum up some of the working ones i've been testing. Therefore, some models from pretty serious modelmakers on deviantart are in order...

V3 From middle and clockwise,
~Xenosnake 's Cyber Lat Gear Miku [link] performing Interstellar Flight sm8568000 using a different stage model (credits still being sourced)
MSN-04 Char's Sazabi (sm8550675) performing Packaged (mylist25972080)
~JessHolysAngel 's Electric Love Miku [link] performing Electric Love sm14410247
Nanami's Kisaragi Chihaya (sm12140696) performing Little Match Girl (sm13952228)
~Hanaminasho 's Artistic Miku [link] showing the menu attaching itself to the center of the model regardless of how short it is (shadow problem self repaired)
LAT Heart Beats Miku (sm15355081), LAT Rin Append [link] and ~Mamama7028 schoolgirl project diva Miku showing multiple model functionality [warning: every extra model puts extra strain on your CPU and GPU]
~midnighthinata 's Daughter of Evil Rin [link] performing Romeo and Cinderella (with the event/action log activated)
*capriciously-calm 's Yellow LAT Miku [link] performing Yellow [link] with Bone detection activated
=Jjinomu 's Rolling Girl LAT Miku [link] performing Two Faced Lovers sm15356537 showing how some shiny effects still load in MMDagent, although not sure why some do not.
LAT Rin Append [link] displaying a little menu which i created from the Library menu model included in MMDAgent.


V2 Preview inside the zip file credits:
MSN-04 Char's Sazabi (sm8550675) performing Packaged (mylist25972080)
Lat Rin Append [link] performing Go My Way [link]
Nanami's Kisaragi Chihaya (sm12140696) performing Little Match Girl (sm13952228) [note: voice monitor turned off]
Saboten Sakura Miku [link] performing Disappearance of Hatsune Miku ([link] )
Kio Gothic Miku [link] performing Disappearance of Hatsune Miku [side logs activated (shift + f)]
~Xenosnake 's Cyber LAT Miku with Bits [link] showing the menu function i added (menu model edited from the library.pmd model in MMDAgent. [note: all event log turned off ]
LAT Heart Beats Miku (sm15355081), LAT Rin Append and ~Mamama7028 schoolgirl project diva Miku showing multiple model functionality [warning: every extra model puts extra strain on your CPU and GPU]

-----------------------------------------------------------------------------------------
update 13/11/2011
------------------------------------------------------------------------------------------
been browsing nico-nico douga
[link]
this guy apparently has also been tweaking MMDAgent, although in japanese.

However, his .fst file gave me one important piece of information: how VALUE_GET function works.

in non-programmerish how to use:
State1 State2 VALUE_GET|variablename
state 2 State3 VALUE_EVAL_GET|variablename|variablevalue3
state 2 State4 VALUE_EVAL_GET|variablename|variablevalue4
state 2 State5 VALUE_EVAL_GET|variablename|variablevalue5
state 2 State6 VALUE_EVAL_GET|variablename|variablevalue6
this replaces the extra long code i used to detect the value of the datas.


in iostream.h C++:
this is the switch x function.


Also, check out the readme file he included.
It has like, super loads of credits and references to models, stages and motion datas across nico-nico douga. Trying them out. lol

update 12/12/2011
.pmx files may not be able to be loaded directly, but convert the .pmx to .pmd files using PMDEditor and it will work okay. Generally.

-------------------------------------------------------------------------
List of tested models
-------------------------------------------------------------------------
Before we proceed, there are a list of problems i'ld like to abbreviate, explain and propose solutions to:

Ground Shadow problem (GS)
Description - There is a problem which causes ground and self shadows to not load
Cause - MA Ambient Line value set to less than 1 (no edge lines)
Solution - change the value of MA Ambient Line value to at least 1. This will load up the shadow properly in MMDAgent.
Solution Flaw - Sometimes however, this will reveal unsightly black blotches on the model, and currently i am thinking of how to solve this. If you are a modelmaker, your help would be much appreciated because i dont know crap about whats going on in PMDEditor. Worse to worse, turn as many MA bones as possible to 1. If a tested model is marked with GS, it will be followed by MA bones which should be skipped to avoid black blotches

Skirt Physics (SP)
Description - skirt or other parts have physics which cause it to move upwards.
Cause - The Physics (PH in PMDeditor) setting for the loc y coordinate is too high (about 7-10 is considered high)
Solution - change that value to a lower value (i set it to 3 so that its same as the Lat Miku White model)

Texture Not Loading (TNL)
Descriptions - Textures appear white in MMDagent, but work fine in MikuMikuDance/PMDEditor
Cause - Textures may be non-RGB colored (Indexed color)
Identifying cause - jpeg and BMP files cannot be index color and will always load. PNG and TGA files may be indexed color, so if you have to take a wild guess, start with the PNG and TGA files first.
Solution 1 (if you have a photo editing software) - Convert the texture image back to RGB from whatever it was.
Solution 2 (if you dont have a photo editing software) - Open the texture with Paint and save it as jpeg. Then use PMDEditor to make it use the jpeg file as the texture.


All YM_model type kaito, gakupo and hiyama kyoteru [link] - no problems

All Nakao mikus - works
All Yukiwane (ゆきはね) mikus [link] - works after PMX conversion

All Saboten Miku Models [link] - no problems

All LAT type miku, rin and tetos - (for LAT neru, see nico links below) [miku] [link] [teto] [link] [rin] [link] - the face MA does not have a line ambient value of 1. When you do set it to 1, black patches appear above. There is a way to fix it, which is:
Select only the face MA, select the vertices and mesh, then apply Edit>Outline>Average Apex with a very very small number, followed by Edit>Outline>Average. This however will reduce the maximum framerate that can be achieved by this model in MMDAgent.

Saboten Aoki Lapis - GS

Onto Deviantart modelmakers

~Mamama7028 [link]
Project Diva Miku [link] - no problems whatsoever
Project Diva Miku Chibi - [link] - no problems

~Xenosnake 's Cyber LAT Mikus [link] [link] [link] [link] - no problems whatsoever (may contain Kios, Nakaos, Pirons, CSs)

~SakuneUtau04 's Dancer Miku [link] - no problems whatsoever

=Kaida19th
SeeU version 3.0 - [link] - Seeu 3.0 and 3.0s will work fine. But the 2.5 version and Nio version - SP
Meltdown Rin take 2 - [link] - no problems
Saihate Miku - [link] - a part of her jacket is permanently pointed upwards. Solution: use the PMDViewer to select and delete the bones attached to her jacket, but dont seem to be a part of the IK bones. (using the bone menu wont work, you have to use your mouse to do this)

*capriciously-calm 's Yellow LAT Miku [link] - no problems

~daybreak123
Saihate Hatsune and Zatsune Miku [link] : GS - MA8
Rockish punkish miku - [link] - no problems
Rolling Girl (Diva Extend type) - [link] - no problems
Joker LAT Miku - [link] - GS - MA 4, 6, 12 and 15. You may also want to delete the mesh for MA18 (fangs). Then it loads up without problems

~kurumi13 's Neko Miku v2 [link] - GS - MA MA4,11,16,17,18,19, 23,27,28,29,30,31,32 (most of them are extra facial effects)
Notably, this is among the few models with special features which dont crash MMDAgent (the other being the xenosnake models). Even her tail's physics work. Figuring out why.

~JessHolysAngel 's Electric Love, Melody Line and Sweet Devil mikus [link] - no problems whatsoever

*RavenUzuki-Chan
Punk Miku, Rin, Teto [link] - Miku and Teto - no problems. Rin - GS - MA6, 12, 24 and 33. Additionally, rin has a glasses positioning problem.

~YamiSweet :
Kokoro Rin - [link] - no problems
Rock Luka Kio type - [link] - GS


~midnighthinata
Untouchable miku [link] - Advised to use the version without wing physics. For the model with the wing physics enabled, the wings just fall to oblivion, never to be seen again. The same applies to ARToolkit_MMD
Victorian style Miku, Neru, Teto [link] , [link] , [link] . - no problems
Eager Love Revenge Lat miku [link] , - no problems
sweet lolita LAT miku [link] - no problems
Daughter of Evil and World is Mine Rin [link] [link] - no problems

~Hanaminasho
Artistic Miku [link] - GS and TNL
Snow Miku [link] - crashes
Bride Animasa Miku [link] - no problems at all
Dreamy Theather type Luka [link] - GS

~TwilightAnimeLife 's Tonio model - [link] - crashes

=Jjinomu
Rolling Girl LAT Miku [link] - no problems in MMDAgent. Shininess effect doesnt load in ARToolkit_MMD
LAT Len [link] - no problems
Meltdown Rin - [link] - TNL
Little Red Riding Miku (limited time)- [link] - TNL

*SachiShirakawa
cantarella kaito and miku version 2 [link] - no noticable problems
Kon version 2 [link] - GS
Kimono Luka [link] - GS - change Line Ambient vakue to 1 for all except MA9, 12 and 13

~DG-H
DT Append Miku [link] - crashes. May be a non-standard bone problem. Loads normally in ARToolkit_MMD though.

~Haruhi-chan4ever 's Space Miku [link] - GS

~L3nkun 's SeeU version 1.5 - [link] - GS

*shadoouge
Sekiranun Graffiti Miku [link] - her chest appears brighter than every other part of the model for some reason. Fix: change all MA diffusions set at 0.8 to 1. Shirt also has a noticeable texture change. Fix: change the texture for MA5, 6 and 7 from 4,5 and 4.bmp to 6.bmp.
Snow LAT Miku [link] - no problems

=kogaan
Kagamine Len LAT type - [link] - no problems

=kogaan 's LAT Kagamine Len - [link] - no problems

*VocaloidAddict922
Sega Meltdown Rin - [link] - ground shadow problem requires complicated fix with some tradeoffs, but can work in MMDAgent. Awaiting creator's response.

~Bloodobsessed
Disappearance LAT Rin - [link] - GS - MA28, 29 and 45.
Disappearance Miku - [link] - no problems

~Alelokk
DT Disappearance Miku ~Hanaminasho collab - [link] - crashes MMDAgent, but will load in ARToolkit_MMD. ARToolkit_MMD reveals no ground shadow, so apply the fix below and it should have shadows even in ARToolkit. Source of crash still being assessed

~Ame-Yuki 's Formal Dress LAT Miku [link] - no problems. This model loads up the shininess effect in both MMDAgent and ARToolkit_MMD

=ZiiiChan 's Rolling Girl Miku [link] - change v_nor.png to RGB and delete 01.spa association to MA15, then everything loads fine.

~Kanahiko-chan 's Beach PD Len [link] - GS

~YellowDesuCake 's Conflict Miku [link] - no problems

~iiRichie 's Summer Miku [link] - GS. Delete all MAs which use t005.spa for it to work in ARToolkit_MMD

~SatariaMityo 's Monochrome sky LAT miku [link] - no problems

Kio Gothic Miku [link] (新キオ式ミク ゴス衣装) - no problems

Masisi's Chihaya Kisaragi models - [link] - no problems


Obtained via Niconicodouga or Youtube

sm8550675 - Sazabi model - no problems
sm9965772 - Rockman zero model - no problems
sm13567741 - Piron Miku Maid models - no problems
Project Diva Snow miku - [link] - crashes
sm13824038 - 'Gosick' miku (password required) [officially discontinued. Dont bother asking me for it, i abide strictly by author's rules]
sm11360016 - petite miku - SP & (model with groove bones (Grv) causes it to crash)
sm15355081 - Heart Beats miku - no problems
sm14113395 - LAT type Neru - white, normal and black school uniforms no problem. White school uniform crashes
sm14475754 - Aoi Tori Kisaragi Chihaya - hair physics makes it defy gravity (video merely links to the download account, does not actually show the model in question)
TheAnimeLover40's Standard Rin - [link] - no problems
sm14913870 - Kyun Vampire Girl LAT Miku - PMX model - conversion to pmd required. Works normally once in PMD form.





-------------------------------------------------------------------------+++++
Current crazy ideas
-------------------------------------------------------------------------+++++
In theory, the following two projects are possible, though both of them will be extremely long because of the sheer number of keyboard detection and the inability of MMDAgent to do simple math:

Project Diva within MMDAgent - using timers and keyboard inputs, it will be possible to have a rhythm game inside MMDAgent, possibly using new models and motion data. However, detecting the time will be the single hardest part, and it gets longer and tougher depending on how many 'keys' you want to key in for a song. (World is Mine has 383 keys)

Raising Simulation - after going through some of the base ideas behind Idolmaster, it may be possible to program MMDAgent to randomly behave and evolve according to some code. The code would probably use 'emotion' variables, and its up to you to balance out these variables, decide what factors influence them, and work out scenarios on how she'ld respond to all of them. It would be a potentially endless code, even if you dont expect her to retain her personality across your usage of the program.

The ideas mentioned above are not easy one bit. It may be simple in concept, but the implementation will be brutal. If you do choose to pursue such projects, i either recommend you to program it in a simpler programming language like Warcraft Map Editor or C++. If it cant work there, dont even think about trying it with MMDAgent.
Since we now know how VALUE_GET works, it may be a lot simpler and faster compared to what i had to use before

-------------------------------------------------------------------------
References:
-------------------------------------------------------------------------
MMDAgent homepage - [link]

The wiki of MMDagent. Note that its in japanese. Google translate it if you have to: [link]

Google translate - [link]
VocaloidOtaku.net MMDAgent specific thread - [link]
Mikuchan.org MMDAgent specific thread - [link]
LAT Kagamine Rin Append Module - [link]

got a youtube video up for starters - [link]
Related content
Comments: 330

LeeCHEF [2014-01-22 13:48:37 +0000 UTC]

hi there?! on this tutorial, i really wish to know how to add commends but i really do not understand how. would you please help me god ......

👍: 0 ⏩: 1

AddestorionVayanis In reply to LeeCHEF [2014-01-22 16:03:00 +0000 UTC]

open up sample_script.fst using notepad.  Then see how the code is arranged.

Use google translate to get the japanese characters you need.

You will also need to have japanese language enabled
Control panel > Language settings > add a language > japanese

👍: 0 ⏩: 1

LeeCHEF In reply to AddestorionVayanis [2014-01-23 03:40:08 +0000 UTC]

hello again! thanks for the response! i have tried what you said, however she does not reconize the pronouciation or perhaps it's just me who programed it wrong, would you happened to have an exemple of how it works?? thx for replying and sorry for the bother

👍: 0 ⏩: 1

AddestorionVayanis In reply to LeeCHEF [2014-01-23 05:11:42 +0000 UTC]

press 'd' when the thing starts up.  Then you'll need to speak out the words and see what MMDagent detects them as.  For instance, my command to load up the miku model is 'midori' (green) instead of 'miku' because MMDagent can more reliably.  Only after you can confirm that MMDagent consistently detects the same characters, then you should use those words as a command.

Also, your microphone.  When you arent talking, the orange bars should not be moving across the screen.  If they are, it means that background noise is disrupting the audio input.  Use control panel> sound > recording > microphone > levels to adjust the microphone input until it behaves.  When you talk, the orange bars are supposed to move depending on the sound it received.

👍: 0 ⏩: 1

LeeCHEF In reply to AddestorionVayanis [2014-01-23 06:23:44 +0000 UTC]

 ohhhh now i understand!! thank you so much! the only problem now is my katakanna LOL.... and one more thing, how can i make her speak the words i want her to say,,, do you have any idea? like for exemple when i say "how are you?" than i want her to react "i'm fine (space) thank you"...do you have any idea how? i read your wonderful tutorial for 4 times now but still can not understand how

👍: 0 ⏩: 1

AddestorionVayanis In reply to LeeCHEF [2014-01-23 11:29:42 +0000 UTC]

this command:

SYNTH_START|mei|mei_voice_normal|時間を無駄ストップ

If you check the MMDagent_example.fst, you will see how it is used.  The command is for synthesis start, the model that is going to talk, the tone of voice its going to use, and finally the text that she is going to say.

Google translate will do a good enough job to make her say what you want her to say.

always refer to mmdagent_example.fst.  The first part of that file will tell you the list of commands and how they are to be used.

👍: 0 ⏩: 0

FrankHoTPE [2013-09-19 12:34:20 +0000 UTC]

Hi boss, could you teach me how to change language if I want mei to speak English, where is the voice learning system?

👍: 0 ⏩: 1

AddestorionVayanis In reply to FrankHoTPE [2013-09-19 14:47:38 +0000 UTC]

that i dont know.  lol....

Anyway, the voice synthesizer is OpenJtalk, so if you find out a way to replace it, let me know.  lol....

as for me, i usually make her speak engrish by using hiragana approximations of english words.  Some work better than others...

👍: 0 ⏩: 0

etherwavezonda [2013-09-16 03:43:52 +0000 UTC]

Hi friend, can you help me with insert a path in the .FST file please? , greetings.

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-16 04:46:42 +0000 UTC]

you just need to copy down the address of whatever you want to load on your hard drive without any spaces.  If it has a space in the name, you need to change its name so it has no space, or else it will not work.

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-16 12:52:22 +0000 UTC]

Yes, I tried this, but I don't know how to put into the clipboard in this lines:


# 0101-0110 Browsing

1    101  RECOG_EVENT_STOP|ƒz[ƒ€ƒy[ƒW       EXECUTE|www.google.cl/
1    101  RECOG_EVENT_STOP|‚l‚l‚c‚`‚‡‚…‚Ž‚”   EXECUTE|www.google.cl/
101  102                                 SYNTH_START|mei|mei_voice_normal|‚l‚l‚c‚`‚‡‚…‚Ž‚”‚ÌAƒz[ƒ€ƒy[ƒW‚ð•\ަ‚µ‚Ü‚·B
102  2    SYNTH_EVENT_STOP|mei                


Where do I put the path? and what should I say to MMDAgent open my documents?



Greetings from Chile and thanks for your answers

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-16 15:43:22 +0000 UTC]

you need to activate Japanese language first.  The reason why it isnt working is because it cant detect the japanese language.  Probably because it isnt turned on.

For windows 8 it should be
Control Panel>> Language >> Add a language >> Japanese [OK everything, then restart]

For windows 7
Control panel >> Region and language >> Keyboards and languages >> Change Keyboards >> Add >> Japanese   [OK everything, then restart]

When you check the .fst file, it should be showing japanese text instead of the    #$(!@[;.'{:>">++_)(..'  that you see right now.
Then try again

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-16 16:17:05 +0000 UTC]

Ok, thanks but I have windows XP, also serves in this OS?

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-16 18:13:35 +0000 UTC]

follow the instructions similar to windows 7 then.  Its not working because japanese language hasnt been turned on.

After that, it should work fine.

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-16 19:05:08 +0000 UTC]

ok, I activated the japanese language and I can write in hiragana and katakana in the .fst file, but the original text of the .fst file still remain the same, like ^%$&&%*&^&*%$# 

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-17 00:22:34 +0000 UTC]

now change the nonsense you see after RECOG_EVENT_STOP|
to a japanese word of your choice and it should begin registering.  (check by turning on the log, which is pressing a lowercase 'd')

I also think you may need to re-download the .fst file if you previously pressed save.  That is because the original file was probably japanese, but by saving the file without japanese language enabled, the file saved the data as ^%$&&%*&^&*%$# instead of japanese.

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-17 16:20:22 +0000 UTC]

wow it's so hard , because I re-downloaded the .fst file and contains the same characters again! , now I'll try change the word after the RECOG_EVENT_STOP| , and I'll try change the path in the EXECUTE| too.

Greetings and thanks for your help again, because it is not easy

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-17 16:38:35 +0000 UTC]

this was easier to figure out than ARToolkit_MMD, so its fine.  But programming it to make it behave will take up a lot of your time to get her to do what you want.

Mine basically runs most of the tasks i regularly do.

Also, if you cannot change the paths of the EXECUTE| command (you may have to if you have spacebars in your folder names), you can make it execute a shortcut instead.  Make a shortcut to whatever you want opened, but make sure the link to the shortcut has no spaces.  It works fine.

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-17 17:58:06 +0000 UTC]

Ok, I'm trying this, let me show you an example:


# 0101-0110 Browsing

1    101  RECOG_EVENT_STOP|ƒz[ƒ€ƒy[ƒW       EXECUTE|www.google.cl/
1    101  RECOG_EVENT_STOP|‚l‚l‚c‚`‚‡‚…‚Ž‚”   EXECUTE|www.google.cl/
1    101  RECOG_EVENT_STOP|ブンショ                EXECUTE|C:\Documents_and_Settings\alfacom\Mis_documentos

101  102                                 SYNTH_START|mei|mei_voice_normal|‚l‚l‚c‚`‚‡‚…‚Ž‚”‚ÌAƒz[ƒ€ƒy[ƒW‚ð•\ަ‚µ‚Ü‚·B
102  2    SYNTH_EVENT_STOP|mei                



It's right?

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-18 08:20:39 +0000 UTC]

it should work if you can pronounce documents properly (use 'd' and see if your pronounciation comes out exactly as the characters you keyed in.  If it doesnt, try using other similar terms instead). 

But you also need to change what she says (SYNTH_START) or else it will just load your documents, but wont say anything and then you wont be able to do anything else after that.

👍: 0 ⏩: 1

etherwavezonda In reply to AddestorionVayanis [2013-09-19 15:46:47 +0000 UTC]

hahahaha thanks friend, I'll try this configurations

👍: 0 ⏩: 1

AddestorionVayanis In reply to etherwavezonda [2013-09-20 01:47:54 +0000 UTC]

sure sure

👍: 0 ⏩: 0

MisaKisuru99 [2013-07-13 19:19:18 +0000 UTC]

Excuse me, but what is this program and what is it for?

👍: 0 ⏩: 1

AddestorionVayanis In reply to MisaKisuru99 [2013-07-14 01:56:13 +0000 UTC]

its a voice recognition software, which you can program to make mikumikudance models do things when they recognize certain commands.

It can give responses, dance, open webpages and control other programs (limited functionality). i usually use her to open webpages and test mikumikudance motion data because i can change the models halfway through dance motions.

👍: 0 ⏩: 0

snakethehedgehog12 In reply to ??? [2013-04-12 01:08:46 +0000 UTC]

Hey I need help I drag the mdf. file on the exe file but when it opens the only thing that appears is a blue screen and a bar.

👍: 0 ⏩: 1

AddestorionVayanis In reply to snakethehedgehog12 [2013-04-12 05:08:02 +0000 UTC]

you need to drag MMDagent_example.mdf onto it, which is downloadable on the same page.

If you just drag MMDagent.mdf, then all you should see is a blue screen and a bar.

👍: 0 ⏩: 1

snakethehedgehog12 In reply to AddestorionVayanis [2013-04-12 20:56:36 +0000 UTC]

That is what I do , I drag MMDagent_example.mdf on the exe. file and it only appears a Blue Screen and a bar

👍: 0 ⏩: 1

AddestorionVayanis In reply to snakethehedgehog12 [2013-04-13 04:52:54 +0000 UTC]

in that case, you may need to copy everything you got in the MMDAgent_example folder into the MMDAgent folder.

If youre still getting a blue screen, it means either:
- the folder links do not work. The folders for model, background, voice, stage, etc, should be inside the MMDagent folder

or

- your computer did not enable japanese language or its applocale location is not set to japan. If this is the case, then the data itself may not be read properly

👍: 0 ⏩: 1

snakethehedgehog12 In reply to AddestorionVayanis [2013-04-13 19:54:20 +0000 UTC]

It worked thanks!

👍: 0 ⏩: 0

Jkman121 In reply to ??? [2013-02-27 01:44:08 +0000 UTC]

i dont have the example, it just gives me MMDagent.mdf and no model appears when i open that with the .exe, what do i do?
Im using windows 7 and have a 64 bit computer

👍: 0 ⏩: 1

AddestorionVayanis In reply to Jkman121 [2013-02-27 01:48:01 +0000 UTC]

you need the 'sample script' binary package.

MMDagent_example.mdf is the one which loads up a working model and the ability to talk to it.

MMDagent.mdf is only going to load up a blank blue screen with the voice input bar and nothing more

👍: 0 ⏩: 1

Jkman121 In reply to AddestorionVayanis [2013-03-23 02:34:27 +0000 UTC]

i honestly dont have the example

👍: 0 ⏩: 1

AddestorionVayanis In reply to Jkman121 [2013-03-24 08:46:42 +0000 UTC]

you download it separately. but both are on mmdagent website.

sample_script binary package

👍: 0 ⏩: 1

Jkman121 In reply to AddestorionVayanis [2013-04-05 00:26:43 +0000 UTC]

thanks, i didnt know that

👍: 0 ⏩: 1

AddestorionVayanis In reply to Jkman121 [2013-04-05 02:35:37 +0000 UTC]

sure sure. have fun with it.

👍: 0 ⏩: 0

elizabethpredators [2013-02-09 16:02:26 +0000 UTC]

can you make a tutoral video ? this is kinda hard to do by words (they don't talk to me )

👍: 0 ⏩: 1

AddestorionVayanis In reply to elizabethpredators [2013-02-11 11:31:17 +0000 UTC]

the new version is quite different, so i need to change most of the commands.

i can only begin doing it in about 1 week from now.

👍: 0 ⏩: 0

GJYYNGII In reply to ??? [2013-02-01 23:43:30 +0000 UTC]

Wow.

👍: 0 ⏩: 1

AddestorionVayanis In reply to GJYYNGII [2013-02-03 09:05:12 +0000 UTC]

helps force you learn how to pronounce japanese properly. Even if it, it helps you become lazy if you take time to program her nicely

👍: 0 ⏩: 0

OceanR1 In reply to ??? [2012-12-19 16:15:27 +0000 UTC]

I will have a look at this later

👍: 0 ⏩: 1

AddestorionVayanis In reply to OceanR1 [2012-12-19 18:03:00 +0000 UTC]

sure sure. but dont expect to comprehend it in a day or two. Took me two months to get her to the way she currently serves me.

👍: 0 ⏩: 1

OceanR1 In reply to AddestorionVayanis [2012-12-19 18:50:24 +0000 UTC]

I don't expect to get it straight away.

👍: 0 ⏩: 1

AddestorionVayanis In reply to OceanR1 [2012-12-20 02:01:19 +0000 UTC]

yep. usually you'ld want to start off trying with ARToolkit_MMD first. That at least is more fun to play with initially.

👍: 0 ⏩: 1

OceanR1 In reply to AddestorionVayanis [2012-12-21 16:26:43 +0000 UTC]

ok where do I look for this one

👍: 0 ⏩: 1

AddestorionVayanis In reply to OceanR1 [2012-12-21 17:36:08 +0000 UTC]

[link]

may behave differently for different computers though.

👍: 0 ⏩: 1

OceanR1 In reply to AddestorionVayanis [2012-12-21 17:53:29 +0000 UTC]

Ok I'll look at this thank you

👍: 0 ⏩: 0

EmeraldTahWolf In reply to ??? [2012-12-09 05:44:23 +0000 UTC]

Too... many.... WORDS... XD So what does this do?

👍: 0 ⏩: 1

EmeraldTahWolf In reply to EmeraldTahWolf [2012-12-09 05:49:42 +0000 UTC]

OH i get it, so it fixes your models?

👍: 0 ⏩: 1

EmeraldTahWolf In reply to EmeraldTahWolf [2012-12-09 06:13:29 +0000 UTC]

nope still lost >_< i downloaded it and i put a model i made in. P is for physics on and her dress (that i extend) still does the floaty thingy

👍: 0 ⏩: 1

AddestorionVayanis In reply to EmeraldTahWolf [2012-12-09 08:57:28 +0000 UTC]

voice recognition software.

try saying ohaiyo to her. You must pronounce it properly.

👍: 0 ⏩: 1


| Next =>