summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-07-28 13:10:11 -0700
committerKeith Packard <keithp@keithp.com>2010-07-28 13:10:11 -0700
commit826061eaca88c0dd75051a6006ef6703c91af595 (patch)
tree3aa6761ac2b349b9963c4efa59936c46d4dccef4
parent71da54a5ce255395376a44586782ab8b6f3b289f (diff)
Add voice test command for help in adjusting volume.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--ao-tools/altosui/AltosUI.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java
index 511c3709..e1697ee1 100644
--- a/ao-tools/altosui/AltosUI.java
+++ b/ao-tools/altosui/AltosUI.java
@@ -721,6 +721,13 @@ public class AltosUI extends JFrame {
}
});
menu.add(radioitem);
+ item = new JMenuItem("Test Voice",KeyEvent.VK_T);
+ item.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ voice.speak("That's one small step for man; one giant leap for mankind.");
+ }
+ });
+ menu.add(item);
}
// Channel menu