1
2
3
4
5
6
7 package com.octo.captcha.component.sound.soundconfigurator;
8
9 /***
10 * Provide configuration of a sound
11 *
12 * @author Benoit Doumas
13 * @version 1.0
14 */
15 public interface SoundConfigurator {
16 /***
17 * @return the sound volume
18 */
19 float getVolume();
20
21 /***
22 * @return the sound level (hight or deep), pitch
23 */
24 float getPitch();
25
26 /***
27 * @return the sound name
28 */
29 String getName();
30
31 /***
32 * @return the sound speed rate
33 */
34 float getRate();
35
36 /***
37 * @return the location of the sound (package, jar, etc...)
38 */
39 String getLocation();
40 }