Displaying 9 results from an estimated 9 matches for "recordbuff".
Did you mean:
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.printl...
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.printl...
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....
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 afte...
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 writ...
2007 Apr 11
0
Problem with speex
...ex_bits_init(@decbits);
decstate := speex_decoder_init(speex_lib_get_mode(SPEEX_MODEID_WB));
speex_decoder_ctl(decstate,SPEEX_GET_FRAME_SIZE,@decframe);
speex_decoder_ctl(decstate,SPEEX_SET_ENH,@enh);
SetLength(buffDec,decframe);
Encode:
s3:string;
for j:=0 to encframe-1 do
buffenc[j]:=RecordBuff[j];
speex_bits_reset(@encbits);
speex_encode(encstate,@buffenc[0],@encbits);
sz := speex_bits_nbytes(@encbits);
SetLength(buffBytes,sz);
speex_bits_write(@encbits,@buffBytes[0],sz);
setlength(s3,length(buffbytes));
CopyMemory(@s3[1],@buffbytes[0],length(buffbytes)...
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, i...