public SpeechData(byte[] data){
  AudioInputStream stream=AudioUtils.getAudioStream(data);
  format=stream.getFormat();
  this.data=data;
  isFinal=true;
}

public SpeechData ( byte [ ] data ) { AudioInputStream stream = AudioUtils . getAudioStream ( data ) ; format = stream . getFormat ( ) ; this . data = data ; isFinal = true ; }
creates a stream of speech data based on a pre - existing byte array .
