1 package fr.ifremer.tutti.util;
2
3 /*
4 * #%L
5 * Tutti :: Persistence
6 * $Id:$
7 * $HeadURL:$
8 * %%
9 * Copyright (C) 2012 - 2016 Ifremer
10 * %%
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation, either version 3 of the
14 * License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this program. If not, see
23 * <http://www.gnu.org/licenses/gpl-3.0.html>.
24 * #L%
25 */
26
27 /**
28 * @author Kevin Morin (Code Lutin)
29 * @since 4.3
30 */
31 public enum BeepFrequency {
32
33 A1(880),
34 B1(987),
35 C1(1046),
36 D1(1174),
37 E1(1318),
38 F1(1396),
39 G1(1567),
40 A2(1760),
41 B2(1975),
42 C2(2093),
43 D2(2349),
44 E2(2637),
45 F2(2793),
46 G2(3135);
47
48 private final int frequency;
49
50 BeepFrequency(int frequency) {
51 this.frequency = frequency;
52 }
53
54 public int getFrequency() {
55 return frequency;
56 }
57 }