From: Keith Packard Date: Wed, 28 Jul 2010 20:10:11 +0000 (-0700) Subject: Add voice test command for help in adjusting volume. X-Git-Tag: debian/0.6+268+gd0fd53b~9 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=826061eaca88c0dd75051a6006ef6703c91af595 Add voice test command for help in adjusting volume. Signed-off-by: Keith Packard --- 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