Displaying 9 results from an estimated 9 matches for "recordbuffer".
2004 Aug 06
0
Lost ogg sync using jspeex
...javax.sound.sampled.spi.*;
import javax.sound.sampled.*;
import org.xiph.speex.spi.*;
import java.util.*;
import java.net.*;
import java.io.*;
public class AudioCapture
{
public static void main(String args[])
{
int bufferlength=44100;
int framelength=1280;
int frameduration=1000;
Vector recordBuffer=new Vector();
try
{
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true);
System.out.println("AudioFormat Created");
DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class,audioFormat,8000);
System.out.println(...
2004 Aug 06
0
Lost ogg sync using jspeex
...javax.sound.sampled.spi.*;
import javax.sound.sampled.*;
import org.xiph.speex.spi.*;
import java.util.*;
import java.net.*;
import java.io.*;
public class AudioCapture
{
public static void main(String args[])
{
int bufferlength=44100;
int framelength=1280;
int frameduration=1000;
Vector recordBuffer=new Vector();
try
{
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true);
System.out.println("AudioFormat Created");
DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class,audioFormat,8000);
System.out.println(...
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
...;BR>import java.io.*;</FONT></DIV>
<DIV><FONT face=Arial size=2>public class AudioCapture{<BR> public static void main(String args[])<BR> {<BR> int bufferlength=44100;<BR> int framelength=1280;<BR> int frameduration=1000;<BR> Vector recordBuffer=new Vector();<BR> try<BR> {<BR> AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 8000, 16, 1, 2, 8000, true);<BR> System.out.println("AudioFormat Created");<BR> DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.cl...
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
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
2
q about jspeex
...byte[] frame=new
> byte[t.framelength]; while(true){
> int n=pcm2speex.read(frame, 0, frame.length);
> System.out.println(""+n+" bytes read.");
>
> t.recordBuffer.addElement(frame);
> }
> }
> catch(Exception e){
> e.printStackTrace();
> }
> }
>
> now all this code does, is sitting and doing nothing after...
2004 Aug 06
0
q about jspeex
...}
byte[] frame=new byte[t.framelength];
while(true){
int n=pcm2speex.read(frame, 0, frame.length);
System.out.println(""+n+" bytes read.");
t.recordBuffer.addElement(frame);
}
}
catch(Exception e){
e.printStackTrace();
}
}
now all this code does, is sitting and doing nothing after 'everything
ok in writer...
2007 Apr 11
0
Problem with speex
Hello!
I am downloaded last version of speex library and did compile DLL.
But I am have not good sound : Please see my code (Delphi) and say me
please WHat I am do not right.
Or please send me correct compiled DLL and example of correct using
SPEEX_MODEID_WB and SPEEX_MODEID_UWB , denoise, and other effects.
How I can set MONO mode in decode?
My Code:
smpRt:=32000;
n:=10;
encbits:
2004 Aug 06
0
q about jspeex
...byte[] frame=new
>> byte[t.framelength]; while(true){
>> int n=pcm2speex.read(frame, 0, frame.length);
>> System.out.println(""+n+" bytes read.");
>>
>> t.recordBuffer.addElement(frame);
>> }
>> }
>> catch(Exception e){
>> e.printStackTrace();
>> }
>> }
>>
>> now all this code does, is...