search for: pcm2speexaudioinputstream

Displaying 11 results from an estimated 11 matches for "pcm2speexaudioinputstream".

2004 Aug 06
2
q about jspeex
...> t.input.open(format,44100); > System.out.println(" Mic opened"); > > t.input.start(); > System.out.println("Constructing speex encoder."); > pcm2speex=new Pcm2SpeexAudioInputStream(new > AudioInputStream(t.input), format, AudioSystem.NOT_SPECIFIED); > System.out.println("Speex encoder constructed."); > System.out.println("*** Speex info: "); > System.out.println("Bitrate: &g...
2004 Aug 06
3
Mixing audio
Is There any intension to deal with mixing two or more streams encoded with "speex". Most voice wise applications (such as conference) need this feature. Oded Rephael <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org'
2004 Aug 06
0
JSpeex help
I am not sure if this is right place to ask for help on jspeex or can some one suggest. I have tried on jspeex sourceforge.net page. I am trying to use Pcm2SpeexAudioInputStream by creating it from tdl which received pcm_signed audio data as follows: AudioFormat format = new AudioFormat (AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true); DataLine.Info targetInfo = new DataLine.Info (TargetDataLine.class, format, 8000); TargetDataLine tdl = (TargetDataLine) Audio...
2004 Aug 06
0
q about jspeex
...>> t.input.open(format,44100); >> System.out.println(" Mic opened"); >> >> t.input.start(); >> System.out.println("Constructing speex encoder."); >> pcm2speex=new Pcm2SpeexAudioInputStream(new >> AudioInputStream(t.input), format, AudioSystem.NOT_SPECIFIED); >> System.out.println("Speex encoder constructed."); >> System.out.println("*** Speex info: "); >> System.out.println(&q...
2004 Aug 06
0
JSpeex help
...Return-Path: MIME-Version: 1.0 To: Sender: owner-speex-dev@xiph.org <p><p><p><p><p><p><p><p>I am not sure if this is right place to ask for help on jspeex or can some one suggest. I have tried on jspeex sourceforge.net page.   I am trying to use Pcm2SpeexAudioInputStream by creating it from tdl which received pcm_signed audio data as follows:AudioFormat format = new AudioFormat (AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true);DataLine.Info targetInfo = new DataLine.Info (TargetDataLine.class, format, 8000);TargetDataLine tdl = (TargetDataLine) Aud...
2004 Aug 06
0
Lost ogg sync using jspeex
...rceDataLine = (SourceDataLine) AudioSystem.getLine(outputDataLineInfo); AudioInputStream auin=new AudioInputStream(targetDataLine); PipedOutputStream pout=new PipedOutputStream(); //PipedInputStream pin=new PipedInputStream(pout); //ServerSocket serverSocket = new ServerSocket(5555); Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED); SpeexPlayer speexPlayer = new SpeexPlayer(pout); //Speex2PcmAudioInputStream speex2pcm=new Speex2PcmAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED); //Socket clientSocket = serverSocket....
2004 Aug 06
0
Lost ogg sync using jspeex
...rceDataLine = (SourceDataLine) AudioSystem.getLine(outputDataLineInfo); AudioInputStream auin=new AudioInputStream(targetDataLine); PipedOutputStream pout=new PipedOutputStream(); //PipedInputStream pin=new PipedInputStream(pout); //ServerSocket serverSocket = new ServerSocket(5555); Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED); SpeexPlayer speexPlayer = new SpeexPlayer(pout); //Speex2PcmAudioInputStream speex2pcm=new Speex2PcmAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED); //Socket clientSocket = serverSocket....
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
...tLine(outputDataLineInfo);<BR> AudioInputStream auin=new AudioInputStream(targetDataLine);<BR> PipedOutputStream pout=new PipedOutputStream();<BR> //PipedInputStream pin=new PipedInputStream(pout);<BR> //ServerSocket serverSocket = new ServerSocket(5555);<BR> Pcm2SpeexAudioInputStream pcm2speex=new Pcm2SpeexAudioInputStream(auin, audioFormat, AudioSystem.NOT_SPECIFIED);<BR> SpeexPlayer speexPlayer = new SpeexPlayer(pout);<BR> //Speex2PcmAudioInputStream speex2pcm=new Speex2PcmAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED);<BR> <BR> /...
2004 Aug 06
0
q about jspeex
...t.input.open(format,44100); System.out.println(" Mic opened"); t.input.start(); System.out.println("Constructing speex encoder."); pcm2speex=new Pcm2SpeexAudioInputStream(new AudioInputStream(t.input), format, AudioSystem.NOT_SPECIFIED); System.out.println("Speex encoder constructed."); System.out.println("*** Speex info: "); System.out.println("Bitrate: "+pcm2speex.ge...
2004 Aug 06
0
Getting a Side band error when decoding with Jspeex
Hi., I am trying to implement speex. Currently i am capturIng sound and encoding it using Pcm2SpeexAudioInputStream. I am feeding bytes from this stream to Speex2PcmAudioInputStream and trying to read decoded bytes. But here the decoder is giving me an error "saying sideband error" and values after it vary with every message. I donno the reason for this, but I guess it is because of the format in whi...
2004 Aug 06
3
q about jspeex
Hi Marc, thanks for the quick reply. Marc Gimpel wrote: > It would appear the the 'pcm2speex.read(frame, 0, frame.length)' is > blocking which means that it is waiting for data from the underlying > inputstream (i.e.AudioInputStream(t.input)). If it could read > sufficient data it would transcode it. If it recieved an EOF, it > should do some zero padding and then