similar to: endianess

Displaying 20 results from an estimated 1200 matches similar to: "endianess"

2010 Aug 27
0
Question about encoding
Hey there =] I intend to develop a voip application using the Jspeex (Java implementation of Speex) library. At this point, the progrm can capture the voice from the microphone to an "ByteArrayOutputStream" object and play it back. I`m willing to add the encode\decode features of Jspeex but I can't make it to work, I`m probably missing somethnig. The code (Part of it) : -----
2009 Jul 16
1
Encoding/Decoding doubts
Flash player encodes speex at 16 kHz, mono, 16 bit. Fields in the format byte should be ignored if the format is speex. You can set the quality by Microphone.encodeQuality (default 6). You can also set the number of speex frames per tc message using Microphone.framesPerPacket. Flash player can only decode speex at 16 kHz, so make sure you have the proper sample rate. Jozsef > > Message:
2006 Jul 18
1
SpeexEncoder requires 320 samples to process a Frame, not 160
Hi guys I have tried compiling this attached code, I made all the buffers 320, there is no trace of a 160 buffer, but I get a " SpeexEncoder requires 320 samples to process a Frame, not 160" error. Maybe there's something I'm missing, here's my code: import java.io.IOException; import java.io.FileOutputStream; import java.io.File; import
2004 Aug 06
2
optimization possible?
hi, i did some tests about performance in jspeex ... uls@mainframe:~/eclipse/avrelay$ java TestClient Diff1: 0 10 Diff2: 141 started. uls@mainframe:~/eclipse/avrelay$ <p>{ SpeexEncoder e1=new SpeexEncoder(); e1.init(0,1,44100,1); byte[] by1=new byte[320]; long l1=System.currentTimeMillis(); long l2=System.currentTimeMillis(); System.out.println("Diff1:
2007 Aug 24
0
speex DTX chore
hi there, I am new to mailing list so excuse me if I don't obey to the 'netiquette'. i am writing voice chat and speex is in the root of it. i write it in Java and use JNI to link with 'C'-based Speex 1.2beta. [I know of JSpeex but there are not implemented some features] recently i decided to use DTX feature of speex as well. the code follows. The problem is that no matter
2009 Nov 18
0
jspeex question
Thanks for the help folks, but I got this working a couple hours ago. =) I'm quite please after struggling with it for a few days. I just needed to take each audio tag from the FLV file and feed the contents of the tag (except for the first byte) to the jspeex decoder and write the results to a file. Jozsef - it is possible to specify 8KHz in the flash client and decode it as such. Speex
2009 Nov 18
3
jspeex question
FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono. Jozsef Message: 1 Date: Mon, 16 Nov 2009 14:40:20 -0600 From: Jeff Ramin <jeff.ramin at singlewire.com> Subject: [Speex-dev] jspeex question To: speex-dev at xiph.org Message-ID: <4B01B8B4.8020904 at
2009 Nov 18
2
jspeex question
The link is http://www.adobe.com/devnet/rtmp/. TC Message stands for TinCan message. It is 11 bytes long, first byte is message type, three bytes of payload length four bytes of timestamp and three bytes of stream ID. The first byte of the payload for audio message is the format byte and the rest of the byte is the payload. Jozsef ----- Original Message ---- From: Jeff Ramin <jeff.ramin
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
2009 Nov 18
0
jspeex question
Is there a document somewhere that describes speex-encoded FLV files? What is a TC message? Thanks. Jozsef Vass wrote: > FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono. > > Jozsef > > > Message: 1 > Date: Mon, 16 Nov 2009 14:40:20 -0600 >
2004 Aug 06
0
speed and memory
Hi Ulrich, I've never had any OutOfMEmoryExceptions in my tests, and I think I've been rather thourough, although probably much more thourought testing narrowband than wideband. Having said this, it is very hard to get memory leaks in java, so I am sceptical about that. That memory might not be used optimally is more likely the case. More often then not reducing memory use
2004 Aug 06
2
speed and memory
hello, i switched to use the encoder.processData() and encoder.getProcessedData() of jspeex. however it looks to me like a memory leak ... memory usage is increasing very fast and there is no visible stop ... after about five minutes java.lang.OutOfMemory occurs. I think it must be the jspeex component, because before i added jspeex to my app usage was constant at about 5mb. is it possible
2004 Aug 06
0
JSpeex help
Hi Sanjiv, There does indeed appear to be some trouble with the Javasound SPI encoder (the SPI decoder works well). I am working on it, and hope to have a fix soon. In the mean time, you can use the encoder outside of JavaSound, that one works well (see the command line encoder as example code of how to implement it). sincerely Marc Gimpel Head of research Wimba <p>On
2009 Jul 12
0
Encoding/Decoding doubts
Hi, I'm doing a VoIP related project where at some point i need to decode speex data gathered from a flash client, and then encode it to ulaw or alaw pcm so i can send it in rtp packets. On the other way, i get rtp packets with ulaw and alaw pcm data, then i need to decode them to linear pcm and feed the speex encoder, so i can send the data to the flash player. I'm using JSpeex, i know
2008 Jan 08
0
JSpeex - Unsupported conversion
This is best answered by the jspeex folks, as it is the interfacing code that you are having problems with. That being said, it looks like, just as it says, you have asked for a conversion it cannot do -- you want it to convert PCM data to speex data at 44.1kHz sample rate -- speex only supports 8kHz in standard operation. It can also support 16kHz (wb) and 32kHz (uwb), but nothing outside of
2008 Dec 17
0
help with jspeex
hello i use the java lib jspeex from http://jspeex.sourceforge.net/ now i use this java code to encode to speex audioInputStream = AudioSystem.getAudioInputStream(srcFile); AudioFormat srcFormat = audioInputStream.getFormat(); AudioFormat targetFormat = new AudioFormat(SpeexEncoding.SPEEX_VBR8 , srcFormat.getSampleRate(), -1, //
2010 Mar 20
0
Decode file written from JSpeex using C/C++ API?
I'm new to Speex and I'm trying to compress audio using JSpeex in a servlet then play it back on the iPhone. I've managed to get Speex to compile on the iPhone by copying the speex and libspeex folders into XCode. I've read the sample code and the PDF documentation and I have a rough idea how to decode a raw stream. (I'm assuming the sampledec source works with raw speex audio
2008 Jan 07
0
JSpeex - Unsupported conversion
I'm having difficulty encoding audio using the JSpeex Speex Encoder. My program throws an "Unsupported conversion" exception and I can't figure out why. I've read the related posts and I think I'm doing everything that was recommended. I'm working on Linux, by the way. Any help would be greatly appreciated. Richard Here is my program output: $ java -classpath
2010 May 06
1
Encoding a wave file with a bad header
If I use Speex, JSpeex actually, to compress an otherwise valid wave file with zero lengths in the header would it impact the compression at all? Here's what I'm doing during compression in Java: AudioFormat wavFormat = ais.getFormat(); AudioFormat speexFormat = new AudioFormat(SpeexEncoding.SPEEX_Q5, wavFormat.getSampleRate(),
2006 Jul 20
1
Invalid sideband mode encountered
Hi guys I succesfully got my encoder and decoder working after much hassles, but when I use the same code in another project, I get these following errors: Error ---> Invalid sideband mode encountered (1st sideband): 7 Error ---> Invalid sideband mode encountered (1st sideband): 7 Error ---> Invalid sideband mode encountered (1st sideband): 6 Error ---> More than two