University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Interrupt Speech | Mobile platform | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Interrupt Speech
July 8, 2016
8:14 am
Avatar
Member
Members
Forum Posts: 12
Member Since:
January 28, 2016
sp_UserOfflineSmall Offline

I'm currently using the TTS of VHMobile. How do I interrupt the speech of a character?

I tried adding bml.interruptCharacter(myCharacter, 0); However it interrupts all the bml. 

July 12, 2016
5:53 pm
Avatar
Admin
Forum Posts: 980
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Each BML message can have a specific id associated with it. If you want to interrupt a particular group of behaviors, you can call the interrupt function with the BML id I don't as yet have a function that will interrupt, say, only the speech, or only the gestures, or only the walking.

 

Ari

July 13, 2016
6:23 am
Avatar
Member
Members
Forum Posts: 12
Member Since:
January 28, 2016
sp_UserOfflineSmall Offline

Thank you for your reply Ari. How do I get the specific id associated with the BML message?

July 27, 2016
10:34 am
Avatar
Admin
Forum Posts: 980
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

hmm...now that I look at this more carefully, I see that the BML id is automatically generated.

 

YOu can try:

 

mycharacter.interruptFace(0)

 

where 0 is the number of seconds before the interruption occurs.

 

Ari

July 28, 2016
4:11 am
Avatar
Member
Members
Forum Posts: 12
Member Since:
January 28, 2016
sp_UserOfflineSmall Offline

Hi Ari

Tried using the interruptFace method. It doesn't seem to work. The speech still overlaps from each other

July 30, 2016
3:25 am
Avatar
Member
Members
Forum Posts: 12
Member Since:
January 28, 2016
sp_UserOfflineSmall Offline

Nvm Ari. Got it working by getting the bml ID through this:

bmlID = bml.execXML(actor, bmlMsg)

Thanks

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: anton.1988dmon, hastingswiggins7, MyraRoberso52, Nasreen Zamir, skillfulgala4636, jeff345qs, ledretrofitlights, subduedcorps4964, JaimePatrick54, Herbertnes, OliveSantos53
58 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 51

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 67

Members: 55092

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 429

Posts: 2348