set a new duration of this segment; if this segment is already ongoing, the
resulting duration cannot be shortend to less than what has already been going on (obviously, we can't revert the past)
there are two alternatives to set the offset:
- put an OffsetAdapter into the FrontEnd (after VAD)
- use signalOccurred() below; for this you have to call
FrontEnd.addSignalListener(deltifier) somewhere (CurrentHypothesis-setup)
here, the offset is given in centiseconds (frames)
create an AudioInputStream that contains that many milliseconds of silence
in 16000Hz, 1 channel, 16 bits per sample
(never mind signedness and endiannness: zero is zero)
SimpleMonitor is kind of a "mixer" application with several
input ports (microphone, OAA-goals, RTP, programmatically) and several
output ports (speakers or file).
simple interactive (and non-interactive) ASR simulator for the inpro project
Words are added to the IU list (and sent off to CurrentASRHypothesis'
HypothesisChangeListeners) as you type, revoked when you delete them
and committed when you press enter (or click on the "commit" button).