Skip to main content

Java interface


audio(Number windowsize,Number samplerate)->Stream of Vector of Number

Reads from the computer microphone. Supported sample rates differs on different systems byt should always be one of the following: 8000, 16000, 22050, 44100. Each datapoint is normalized between -1 and 1

enable_java()->Bag of Charstring

Connect to Java Runtime Environment in environment variable JAVA_HOME or sa.engine/jre folder


Call Java's garbage collector

output_audio(Stream of Vector windows,Number buffersize,Number samplerage)