search for: pcm2speex

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

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....
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
q about jspeex
Hi, 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 transcode it. Are you sur...
2004 Aug 06
0
q about jspeex
...argetInfo); 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(&quot...
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...
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...
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 trans...
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>...
2004 Aug 06
0
q about jspeex
...he read method after constructing a pipedinputstream/opipedoutputstream to int n=auin.read(frame, 0, frame.length); System.out.println(""+n+" bytes read."); pout.write(frame); int m=pcm2speex.read(); System.out.println("something recieved"); and still can't recieve a single value from the pipe .. thanks, ulrich Ulrich B. Staudinger wrote: > Hi Marc, > thanks for the quick reply. > > Marc Gimpel wrote: > >> It would...
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 = (Targe...
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 = (Tar...