cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
283
Views
0
Helpful
3
Replies

play rendom wav file

shouyisun
Level 1
Level 1

How can I make the Cisco IPCC (ICD) play random wav file? Thanks.

3 Replies 3

carenas123
Level 5
Level 5

As far as I know, you cannot play random files.

gilherreras
Level 1
Level 1

There is no specific tool to do this but you have a palette of tools. Create your wav files, name them whatever. Create a switch, the case is merely an index which is detrmined by your expression. The expression is where you'll need to come up with a algorithm to generate a case number within the range of cases/wav files that you have defined. Each case has a label to goto based on the evaluation of the expression each label has a play prompt associated wiht each of your wav files and then as with case statements once played will fall out the bottom (only one case evaluation per pass through) and on through your script. A routine like this could be designed as a called sub-routine. Good luck.

hai.vo
Level 1
Level 1

To play random prompts you can use the Container Prompt object. This is located in the Prompts folder in your palette. Just specify a Container Prompt object with a type of Random and assign a frequency percentage in how often you want it to play.

Hope that helps.