Can U Play Random Sounds ?
VoiceExpress
Member, PRO Posts: 102
Can you set it so when someone Pushes a button(Icon) it plays random sounds, So not just one sound,
so if you ask it a question it might say yes or no.....WHO KNOWS WAHT IT MIGHT SAY ?
ANY HELP PLEASE
THANKS
so if you ask it a question it might say yes or no.....WHO KNOWS WAHT IT MIGHT SAY ?
ANY HELP PLEASE
THANKS
Comments
rule
if self.(sound) is #
play sound
but does the iphone really need another "press button to hear annoying sound" app?
http://crapps.wordpress.com/2010/02/06/17-sound-grenade-app-free-itunes-store/
Sorry to butt in VE, but FTR I would've said what shaihalud said, although I am very intrigued with BTT's answer.
I was imagining that my rule would be like, if whatever equals whatever....
Change Attribute self.sound to 'hacked together filename using'..'and such'.ogg
But, alas, there is no self.sound attribute available - the only thing in any way relating to audio is the volume setting in the devices bit. So, looks like this won't work Tech :l
Also, if you were thinking it would be possible in the Play Sound action, that is only a single drop down list - there's no way to fudge an expression in there, only select a sound from the drop down.
Never mind, we can't have everything.....yet!
Cheers ;]
fairly straight forward
''
just make an attribute (i used integer) called "playsound"
make your button have a rule that when it is pressed it used changes attribute "playsound" to: (random1,5)
You can select this by pushing the little "e" and filling in the min and max of how many sounds you have.
Next have a set of rules for each sound that look like:
when attribute "play sound" = 1 play "whatever.ogg"
when attribute "play sound" = 2 play "that.ogg"
when attribute "play sound" = 3 play "this.ogg"
when attribute "play sound" = 4 play "etc.ogg"
etc, etc
The same can be used to spawn random actors
change the pull down to Attribute
select the :play sound" attribute you created
select a number 1-4
add plat sound attribute under behaviors
select your sound from your library
My change attribute is set to (random 1,8) and my rules also go 1-8.
Is there a way to see a log or something else to find out whats happening with my phantom silent sound!
Im assuming its something simple. Thanks in advance