Dear Inmoov Team,

My self sunil from INDIA - MAHARSTRA - PUNE .

We buit all the stl file and attached all head part right now ( other part are printed and ready for fitting). we connect all servos of head and arduino MEGA and UNO.

all functioning well with Myrobolab commnnd.

But when we say " play music " the bot say seraching file and srarting service but it will not run any mp3 file.

also we highly appriciate if Hindi Translator add in the total program..

otherwise the existing command are working very well and much sync in movement.

Thanks for all giving such a product.

 

regard,

 

sunil

kwatters

7 years 4 months ago

The AudioFile service can be  used to play an MP3 file for you.

audioFile = Runtime.createAndStart("af1", "AudioFile");
audioFile.playFile("my.mp3" False);
 
 
The second argument is if it should be blocking or not..  If it's False, it starts playing and returns immediately, if set to True , the command will block until the playing of the file is done.
 
Good luck!
 
 

first of all thanks sir for giving reply,

we are unable to start any mp3 file by giving ' Play music " or "play audio" with voice commnad.

the bot say's serching file but it cant play any file.

 

the below file has the details,

 

Read AIML Set familiarname
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/familiarname
.txt
fastfood.txt
Read AIML Set fastfood
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/fastfood.txt

foo.txt
Read AIML Set foo
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/foo.txt
food.txt
Read AIML Set food
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/food.txt
gender.txt
Read AIML Set gender
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/gender.txt
is.txt
Read AIML Set is
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/is.txt
language.txt
Read AIML Set language
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/language.txt

letter.txt
Read AIML Set letter
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/letter.txt
modal.txt
Read AIML Set modal
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/modal.txt
month.txt
Read AIML Set month
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/month.txt
name.txt
Read AIML Set name
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/name.txt
nation.txt
Read AIML Set nation
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/nation.txt
numbername.txt
Read AIML Set numbername
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/numbername.t
xt
ordinal.txt
Read AIML Set ordinal
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/ordinal.txt
place.txt
Read AIML Set place
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/place.txt
preposition.txt
Read AIML Set preposition
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/preposition.
txt
profile.txt
Read AIML Set profile
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/profile.txt
pronoun.txt
Read AIML Set pronoun
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/pronoun.txt
quantifier.txt
Read AIML Set quantifier
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/quantifier.t
xt
spatialprep.txt
Read AIML Set spatialprep
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/spatialprep.
txt
sphere.txt
Read AIML Set sphere
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/sphere.txt
starsign.txt
Read AIML Set starsign
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/starsign.txt

state.txt
Read AIML Set state
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/state.txt
state2.txt
Read AIML Set state2
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/state2.txt
was.txt
Read AIML Set was
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/was.txt
weekday.txt
Read AIML Set weekday
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/weekday.txt
wet.txt
Read AIML Set wet
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/wet.txt
wh.txt
Read AIML Set wh
Reading AIML Set C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/sets/wh.txt
Loaded 40356 set elements.
Loading AIML Map files from C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps
be2been.txt
Read AIML Map be2been
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/be2been.txt
be2being.txt
Read AIML Map be2being
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/be2being.txt

be2is.txt
Read AIML Map be2is
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/be2is.txt
be2was.txt
Read AIML Map be2was
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/be2was.txt
been2be.txt
Read AIML Map been2be
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/been2be.txt
being2be.txt
Read AIML Map being2be
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/being2be.txt

er2est.txt
Read AIML Map er2est
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/er2est.txt
est2er.txt
Read AIML Map est2er
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/est2er.txt
familiargender.txt
Read AIML Map familiargender
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/familiargend
er.txt
familiarpredicate.txt
Read AIML Map familiarpredicate
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/familiarpred
icate.txt
familiarpronoun.txt
Read AIML Map familiarpronoun
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/familiarpron
oun.txt
gendermap.txt
Read AIML Map gendermap
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/gendermap.tx
t
gendername.txt
Read AIML Map gendername
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/gendername.t
xt
is2be.txt
Read AIML Map is2be
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/is2be.txt
name2number.txt
Read AIML Map name2number
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/name2number.
txt
nation2capital.txt
Read AIML Map nation2capital
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/nation2capit
al.txt
next.txt
Read AIML Map next
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/next.txt
number2ordinal.txt
Read AIML Map number2ordinal
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/number2ordin
al.txt
opposite.txt
Read AIML Map opposite
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/opposite.txt

ordinal2number.txt
Read AIML Map ordinal2number
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/ordinal2numb
er.txt
phonetic.txt
Read AIML Map phonetic
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/phonetic.txt

profile2predicate.txt
Read AIML Map profile2predicate
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/profile2pred
icate.txt
rhyme.txt
Read AIML Map rhyme
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/rhyme.txt
sign2date.txt
Read AIML Map sign2date
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/sign2date.tx
t
state2capital.txt
Read AIML Map state2capital
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/state2capita
l.txt
state2largestcity.txt
Read AIML Map state2largestcity
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/state2larges
tcity.txt
tomorrow.txt
Read AIML Map tomorrow
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/tomorrow.txt

was2be.txt
Read AIML Map was2be
Reading AIML Map C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/maps/was2be.txt
Loaded 49279 map elements
Read pronouns: [she, it, he, they, we]
AIML modified Sun Aug 20 11:41:30 IST 2017 AIMLIF modified Sun Aug 20 11:41:31 I
ST 2017
Loading AIML files from C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/aimlif
animal.aiml.csv
bot_profile.aiml.csv
client_profile.aiml.csv
contactaction.aiml.csv
contactfunctions.aiml.csv
date.aiml.csv
dialog.aiml.csv
familiar.aiml.csv
firstrest.aiml.csv
help.aiml.csv
inappropriate.aiml.csv
inquiry.aiml.csv
insults.aiml.csv
keywords.aiml.csv
knowledge.aiml.csv
learnf.aiml.csv
Reading Learnf file
lists.aiml.csv
ontology.aiml.csv
oob.aiml.csv
personality.aiml.csv
picture.aiml.csv
profanity.aiml.csv
reductions1.aiml.csv
reductions2.aiml.csv
reductions_update.aiml.csv
roman.aiml.csv
rsvp.aiml.csv
sraix.aiml.csv
sraix_combine.aiml.csv
that.aiml.csv
triple.aiml.csv
udc.aiml.csv
update.aiml.csv
utilities.aiml.csv
_inmoovApps.aiml.csv
_inmoovChatbot.aiml.csv
_inmoovGestures.aiml.csv
_inmoovKnowledge.aiml.csv
_inmoovTranslator.aiml.csv
Loaded 6541 categories in 2.674 sec
en (brain): 6541 categories 38793 nodes 30358 singletons 6541 leaves 0 shortcuts
 1894 n-ary 38792 branches 0.99997425 average branching
en (learnf): 72 categories 672 nodes 579 singletons 72 leaves 0 shortcuts 21 n-a
ry 671 branches 0.9985119 average branching
Loading Triples from C:/mrl/inmoov-develop/InMoov/chatbot//bots/en/config/triple
s.txt
Loaded 5676 triples
Chat Session Created for bot en
EstimatedChargeRemaining
36

Exit Value : 0
EstimatedChargeRemaining
36

Exit Value : 0
EstimatedChargeRemaining
36

Exit Value : 0
EstimatedChargeRemaining
36

Exit Value : 0
input: WAKE_UP, that: unknown, topic: default, chatSession: org.alicebot.ab.Chat
@a64259, srCnt: 0
Matched: WAKE_UP <THAT> * <TOPIC> * _inmoovChatbot.aiml
writeCertainIFCaegories learnf.aiml size= 72
input: play music, that: lt slash li gt, topic: default, chatSession: org.aliceb
ot.ab.Chat@a64259, srCnt: 0
Matched: PLAY * <THAT> * <TOPIC> * oob.aiml
writeCertainIFCaegories learnf.aiml size= 72
13:50:13.906 [Timer-2] ERROR class org.myrobotlab.arduino.Msg - Ack not received

EstimatedChargeRemaining
38

Exit Value : 0
EstimatedChargeRemaining
38

Exit Value : 0
EstimatedChargeRemaining
39

Exit Value : 0
EstimatedChargeRemaining
39

Exit Value : 0