Displaying 20 results from an estimated 1000 matches similar to: "Speex questions"
2006 Feb 28
2
Sipura SPA-3000 and PSTN dtmf
Greetings,
What is the recommended settings for using SPA-3000's FXO port for
dialing out to PSTN in regard of the DTMF?
The voip lan contains SPA-2100 and SPA-3000, with all fxs/fxo ports
registered to the Asterisk box with unique username/passwords.
The inbound PSTN DTMF works excellently, e.g. people calling from PSTN
into the * box are able to pick IVR items with DTMF reliably.
The
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
Hello,
in my project im using speex 1.2rc1 and the preprocessor VAD seems to
only separate complete silence from not complete silence frames.
The Speex Manual, you can read "The voice activity detector (VAD)
provided by the preprocessor is more advanced than the one directly
provided in the codec."
but if you go to the source code in preprocess.c line 995 "/* FIXME:
This VAD
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
2008 Dec 15
0
preprocessor VAD only rocognize between silence andnot silence
Jesus,
Unfortunately, FFT and magic algorithms don't work (yet?). You
might want to try this if you're not satisfied with Speex VAD:
http://lists.xiph.org/pipermail/speex-dev/2008-August/006860.html
It won't perform any miracles, but I think it works pretty well
and is easy to tweak.
Tom
>---- Original Message ----
>From: jmorion at toomeeting.com
>To: speex-dev at
2010 Feb 26
2
Decoding multiple frames
Hi all,
I'm using speex through my own python wrapper based on ctypes. In my application I'm forced to process relatively large chunks of audio data (250ms). I was able to supply sufficiently large buffer to the SpeexBits structure and then encode using (code snippet)
_speex.speex_bits_reset(byref(self.bits))
for i in range(0, len - self.frameSize, self.frameSize):
2005 Apr 26
1
tgAudioCodec.zip
I have (finally) posted my Speex wrapper classes. They are at:
http://www.grandgent.com/spx/tgAudioCodec.zip
I followed your recommendations and they worked fine with 1.1.0.
However, I'm still having the same problem with 1.1.7 that I had the
last time I tried to upgrade. I'm using the same code with both versions,
except for calling speex_encode_int instead of speex_encode, and
2005 Dec 12
0
Real time in ARM - please help
Thanks for the advice. With complexity=1, bit rates 5950,8000 and 15000 (CBR
only), I'm still getting 30-50 seconds encoding time for a 10-second file.
To anyone who has made this work in ARMv4, or knows how to, can I get some
advice on the settings? FIXED_POINT is already defined in all relevant
files. My source code is patterned after sampleenc and I haven't tried using
Ogg.. my source
2006 Jan 29
1
is it ok to call speex_encode_int after speex_bits_write?
I'm reliably getting a corrupt stream when I do a certain encoding and
decoding test.
I've pegged it down to this: encoding some frames, calling
speex_bits_write() and then encoding another frame produces a corrupt
stream.
My question is, is this a speex bug or incorrect API use?
I can provide a test case (currently in python, will translate to c if
needed).
Thanks,
Micky
2008 Aug 28
2
speex encode and speex_bits_write buffer size
how many calls can I make to speex_encode_int before calling
speex_bits_write? Can I stuff 10 frames?
- farhan
2004 Aug 06
4
speex_encode / speex_encode_int ... already sorry =)
Hi, i know this question has already been asked, i've checked mailing
list logs but ...
I didn't figure out the solution for my question.
I want to use basic functionnality of speex, only VAD, no pre/post
filter, even no VBR. But i *really* want to use less mem/cpu i can.
So in which format should i pass data to speex_encode(_int) , float or
short ?
I quickly looked at the source code
2011 Nov 17
1
Just getting noise
I'm only doing one frame using speex_encode_int greatly simplifies my
code I'm not sure why the sample I was working off of was converting
the shorts to floats then calling the other encode/decode methods.
Based off of your suggestions I tried the following but I get the same
result.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
2009 Jun 08
1
Quick question
Hi,
I am developing my own file format and I have a question about the
standard encode method:
speex_encode_int(st, raw, &bits);
nbBytes = speex_bits_write(&bits, s+1, 255);
My question is : Will nbBytes ever be 0 ? (even with an empty
frame of all 0's passed to speex_encode_int) In other words is it
possible for the encoder to return
a compressed bit stream that is 0
2006 Nov 15
2
[PATCH] symbian port
hi,
this patch should fix the symbian build.
/alfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speex-symbian2.patch
Type: text/x-patch
Size: 2669 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20061115/5ac4915e/speex-symbian2.bin
2004 Aug 06
2
rgding VAD
hi,
How do i detect whether there is silence in media using speex?
Is there any API which decides that the audio data only contains
silence?
Basically i will have PCM linear data, I want to know whether it is
complete silence.
Is it that during encoding speex_bits_write will return a lesser
number if the audio at byte_ptr contains silence?
thanx,
Rahul
--
Rahul Arvind Jadhav
2005 Jun 27
1
VAD encoder sensitivity?
Hi,
When using the encoder function, speex_encode_int(st, in_short, &bits),
with VBR disabled and VAD enabled, the function always return a 1.
Also, when enabled DTX along with VAD enabled, most of the time the
function return a 1 even when it is silence.
Is there a way to change the sensitivity of the VAD by changing some
parameters in the source code, so when it is silence, the
2012 Jan 20
1
speex_encode_int performance iphone4 + iOS5
Hi,I'm having performance issues encoding with speex on an iphone4 + iOS5. The same code yields excellent results on iPad2 + iOS5, Mac OS X 10.6 as well as Windows 7. The call to speex_encode_int is takes 0.0065 to complete. Because encoding is so latent the receiver incurs underruns.
Here is my speex setup:
? ? unsigned val = 0;
? ? /**? ? ?* Initialize the encoder in narrow band mode.? ?
2007 Jan 08
1
VAD in preprocessor
Hi all and Jean-Marc,
Firstly thanks a lot to you for helps, at last I accomplished to use
speex-1.2beta1 in my speech application. I try to understand speex source
code and improve speech quality. The problem in my application (like many
people in the list says) is noise. So I've added VAD in preprocessor as
following. VAD in preprocessor is very good, there is not noise outside
speech. I
2005 Jan 17
1
Programming questions
On Mon, 17 Jan 2005, Jean-Marc Valin wrote:
> > 0) Is it possible to manipulate voice data representing more than
> > the frame size of encoder (this seems possible in Speex Java code
> > used until now).
>
> Speex itself manipulates audio one frame at the time, but what you do
> after that if up to you.
>
What about the section 4.5 of the
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Dear Jean,
Thank you so much for reply my message.
I am sorry the function return 38 is speex_bits_write(). This function doesn't work on one of my computers. But after I add the function speex_preprocess(), it works well. I am wondering what is the possible reason? What the function speex_preprocess() does?
Another problem I have now is when I enable dtx and vad with function
2004 Aug 06
0
DTX and VAD doesn't work on one of my computers.
Dear Jean,
> Actually, 38 is normal for the 15 kbps mode. For the rest, could you
> give more details. Also, what platform is the problematic machine? (What
> CPU, what OS, what compiler).
Thanks for your reply.
The platform is WindowsXP Professional with SP1.
CPU is Celeron CPU 1.70GHz.
Compiler is VC++ 6.0.
I have enabled VAD and DTX . In this computer, speex_bits_write() still