Directory

Voice Engine Add-on for Vaadin - Vaadin Add-on Directory

An addon for voice recognition and speach text Voice Engine Add-on for Vaadin - Vaadin Add-on Directory
# Voice Addon An addon for voice recognition and speach text ## Example ```java @Route("") public class VoiceEngineView extends Div { public VoiceEngineView() { setSizeFull(); Button clearButton = new Button(LumoIcon.CROSS.create()); VoiceEngine voiceEngine = new VoiceEngine().setButtons(MICROPHONE, PLAY, LANG, VOICE); voiceEngine.add(clearButton); TextArea textArea = new TextArea(); textArea.setSizeFull(); add(new VerticalLayout(voiceEngine, textArea)); clearButton.addClickListener(e -> textArea.clear()); voiceEngine.addStartListener(e -> textArea.clear()); textArea.addValueChangeListener(e -> voiceEngine.setSpeech(e.getValue())); voiceEngine.addEndListener(e -> { if (voiceEngine.getRecorded() != null) { textArea.setValue(voiceEngine.getRecorded()); } if (!textArea.getValue().isEmpty()) { voiceEngine.setSpeech(voiceEngine.getRecorded()); } }); } } ```
View on GitHub

Voice Engine Add-on for Vaadin version 1.0.0

Voice Engine Add-on for Vaadin version 1.0.1
fixed place to put static TS file

Voice Engine Add-on for Vaadin version 1.0.2
fix firing end event twice

Voice Engine Add-on for Vaadin version 1.0.3