similar to: Getting a Side band error when decoding with Jspeex

Displaying 20 results from an estimated 500 matches similar to: "Getting a Side band error when decoding with Jspeex"

2004 Aug 06
0
Lost ogg sync using jspeex
Hi I am getting lost ogg sync exception when I tried to decompress a speex stream. I am using the following program for both compressing as well as decompressing. I am just planning to test how jspeex works. // File AudioCapture.java import javax.sound.sampled.spi.*; import javax.sound.sampled.*; import org.xiph.speex.spi.*; import java.util.*; import java.net.*; import java.io.*; public
2004 Aug 06
0
Lost ogg sync using jspeex
Hi I am getting lost ogg sync exception when I tried to decompress a speex stream. I am using the following program for both compressing as well as decomressing. I am just planning to test how jspeex works. // File AudioCapture.java import javax.sound.sampled.spi.*; import javax.sound.sampled.*; import org.xiph.speex.spi.*; import java.util.*; import java.net.*; import java.io.*; public
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
<HTML dir=ltr><HEAD></HEAD> <BODY> <DIV id=idOWAReplyText8852 dir=ltr> <DIV dir=ltr><FONT face=Arial color=#000000 size=2><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV></DIV> <DIV dir=ltr> <DIV dir=ltr> <DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial
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
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 sure that you are receiving data from the underlying
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
2004 Aug 06
0
q about jspeex
Hi, i have: public void run(){ try{ System.out.println("Opening mic"); // AudioInput ai=new AudioInput(t); // ai.start(); if(t.input==null){ AudioFormat format = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 44100, 16, 2, 4, 44100, false);
2004 Aug 06
2
q about jspeex
Ulrich B. Staudinger wrote: > Hi, > > i have: > > public void run(){ > try{ > System.out.println("Opening > mic"); // AudioInput > ai=new AudioInput(t); > // ai.start(); > if(t.input==null){ > AudioFormat format = new
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(),
2010 Nov 05
2
herky-jerky audio
Jeff, > I found the problem I was having (described below), and I'm now able to > hear the audio at the destination. > > However, the audio does not play smoothly. It has hiccups and jumps and > stops. I can't guarantee this is the problem, but it may be related to > delays > caused when the Speex2PcmAudioInputStream needs to process an Ogg > page header. >
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
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
2010 Nov 09
3
herky-jerky audio
Just an update, and a follow-up question: I'm making progress on this issue, and will likely have something working very soon, now that I understand how the jspeex transcoding classes work. Unfortunately, I will need to make a couple small changes to the jspeex source code. My question is - is anybody using jspeex for streaming speex-encoded audio? It works great for static audio, but seems
2010 Nov 09
0
herky-jerky audio
Is Jspeex still being worked on? Is there somewhere I can send the code changes I've made to facilitate smooth streaming? On 11/09/2010 11:33 AM, Jeff Ramin wrote: > > Just an update, and a follow-up question: > > I'm making progress on this issue, and will likely have something working > very soon, now that I understand how the jspeex transcoding classes work. >
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
Hi everyone, I'm trying to encode/decode with speex, when I do not, the audio is loud and clear, but when I encode/decode to test audio quality, I get a really poor audio quality and a robotic sound. Here's my init audio method : #define AUDIO_QUALITY 10 - (void) initAudio { try { //SPEEX CONFIG speex_bits_init(&bits_in);
2010 Nov 05
0
herky-jerky audio
On 11/05/2010 02:13 PM, Pascal Pochol wrote: > Jeff, > >> I found the problem I was having (described below), and I'm now able to >> hear the audio at the destination. >> >> However, the audio does not play smoothly. It has hiccups and jumps and >> stops. I can't guarantee this is the problem, but it may be related to >> delays >> caused when