View Javadoc

1   /*
2    * JCaptcha, the open source java framework for captcha definition and integration
3    * Copyright (c)  2007 jcaptcha.net. All Rights Reserved.
4    * See the LICENSE.txt file distributed with this package.
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  }