Skip to content

Java examples

The Java sample programs and code snippets are available in sample/java/ in the TrulyNatural installation directory.

See ~/Sensory/TrulyNaturalSDK/7.6.1/sample/java/

Examples

segmentSpottedAudio.java
Runs a wake word followed by a VAD, and saves the captured audio to file.
enrollUDT.java
Enrolls a user-defined wake word.
evalUDT.java
Runs the wake word enrolled by enrollUDT.java.
SnsrEnrollmentTest.java
Unit tests for UDT enrollment and evaluation.
SnsrStreamAudioDeviceGeneric.java
Source for the fromAudioDevice implementation for Java Audio.