Add voice test command for help in adjusting volume.
[fw/altos] / ao-tools / altosui / AltosUI.java
index 511c37093539fee08e7840862bc15e03088a807d..e1697ee1e280637524b15a8f96d0e051bd3f41e4 100644 (file)
@@ -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