Displaying 20 results from an estimated 400 matches similar to: "DSP C5xx decode to pcm 16bit"
2006 Oct 04
1
Decode win32 encoded files on TI C5x???
> For encoding into and decoding from "raw Speex stream" (if you can call
> it that), I suggest you start with the sampleenc.c and sampledec.c
> example code in Appendix B of the Speex Manual.
There is no such a thing as a "raw Speex format". Also, sampleenc.c and
sampledec.c are good for learning how to use the API, but the compressed
format shouldn't be used in
2006 Oct 04
3
Decode win32 encoded files on TI C5x???
I have successfully DECODED speex on TI C5509:
#define TESTENC_BYTES_PER_FRAME 20 /* 8kbps */
#define TESTENC_QUALITY 4 /* 8kbps */
I am trying to generate the files I need with speexenc.exe:
speexenc -n --quality 4 -V male.wav male.spx
But I can't decode the files on C5x.
Yes, I have seen that speexenc.exe adds Ogg header and
2003 Aug 27
2
How to test a model with two unkown constants
Hi all,
suppose I've got a vector y with some data (from a repeated measure
design) observed given the conditions in f1 and f2. I've got a model
with two unknown fix constants a and b which tries to predict y with
respect to the values in f1 and f2. Here is an exsample
# "data"
y <- c(runif(10, -1,0), runif(10,0,1))
# f1
f1 <- rep(c(-1.4, 1.4), rep(10,2))
# f2
f2 <-
2009 Nov 08
2
linear trend line and a quadratic trend line.
Dear list users
How is it possible to visualise both a linear trend line and a quadratic trend line on a plot
of two variables?
Here my almost working exsample.
data(Duncan)
attach(Duncan)
plot(prestige ~ income)
abline(lm(prestige ~ income), col=2, lwd=2)
Now I would like to add yet another trend line, but this time a quadratic one. So I have two
trend lines. One linear trend line
2004 Aug 06
3
What is the format of the PCM/WAV data for speex_encode & speex_decode?
I'm confused about the format of the PCM/WAV data for speex_encode &
speex_decode
speex_encode(enc_state, input_frame, &bits);
In the manual, it says "input_frame is a (float *) pointing to the beginning
of a speech frame" (for encode)
But I've found that in speexenc.c and testenc.c, short* is used instead of
float*
So, isn't it signed 16 bit samples(if
2006 Apr 20
5
Major internal changes, TI DSP build change
Hi Jim,
> Build 11169 in SVN works correctly.
Good. I'll try not to forget the EXTEND32 from now on.
> I have attached a zip file (renamed
> .txt) with a patch to bits.c to make the byteswapping for TI DSPs
> consistent.
Seems like unzip can't read it. Either it's in an unknown format or the
file got corrupted. Could simply send as multiple (uncompressed)
2004 Oct 29
2
speex on TI C5x fixed-point DSP
Jean-Marc Valin wrote:
>Hi Jamey,
>
>Really cool to see Speex being ported to the C55xx and I'd be glad to
>integrate the changes required in Speex (and the style's fine with me).
>
>
I have the encoder and decoder running now and have verified that the
encoder is bit-exact wrt to the fixed-point code running on x86 for the
same 30-second audio sample. Encode and
2004 Aug 06
2
testenc and snr calculation
Hi all,
I'm new to the group. I'm looking at the speex code with an eye towards
maybe helping out with either codec optimization or fixed-point
implementation, The SNR calculation in testenc.c and testenc_uwb.c
doesn't make sense to me. The code is
{
float enoise=0, esig=0, snr;
for (i=0;i<FRAME_SIZE;i++)
{
2006 Aug 22
2
Please test upcoming release
Hi Jim,
Actually, I don't see anything wrong with the internal structure having
a different type than the interface, as long both types are big enough
to hold the possible values (in this case 0 and 1). Though, as you
pointed out, testenc needs to be fixed to use spx_int32_t instead of
int. I'll change that.
Jean-Marc
Jim Crichton a ?crit :
> st->highpass_enabled is typed
2004 Sep 16
3
speex on TI C5x fixed-point DSP
Greetings,
I've just started porting speex to a TI C5509 DSP. It doesn't look like
it's going to be too painful, but there are a couple of quirks about the
C5x.
1) chars are 16 bits because memory addresses are for 16bit words
2) ints and short are also 16 bits (so sizeof(char) = sizeof(short) =
sizeof(int) = 1)
3) the c5x is essentially big endian
My plan is to change int and
2004 Nov 01
4
speex on TI C5x fixed-point DSP
Jean-Marc Valin wrote:
>>I have the encoder and decoder running now and have verified that the
>>encoder is bit-exact wrt to the fixed-point code running on x86 for the
>>same 30-second audio sample. Encode and decode together run in
>>real-time for 8KHz data, complexity=3, on 120MHz C5509 when code and
>>data are all in on-chip SRAM. I have not tested the
2004 Aug 06
1
testenc and snr calculation
I submitted a version of testenc.c to this list MONTHS ago that fixed this
problem. It uses a reconfigurable group delay. If you had given me cvs
access I could've committed the changes myself.
Anyway, the file is attached (again). Maybe this time you'll actually
notice the email.
Sorry if I seem a little short. It's just very annoying to put the time
into learning and improving a
2006 Aug 17
7
Please test upcoming release
Hi everyone,
I'm about to release version 1.2-beta1 (which I could have called
1.1.13), which includes many, many changes. It would help if everyone
could give the svn version (http://svn.xiph.org/trunk/speex/) a try and
see if it works fine. I'll check my email next week when I'm back from
some vacations and if nothing bad has been reported, I'll make the release.
Have fun,
2008 Feb 13
2
Determine number of 20ms frames in packet - without decoding
> Ok, here is cleaned up and fixed version.
>
> * Function is named speex_get_num_frames() now and return
> number of frames, as you suggested.
> * WB layers sizes are taken from wb_skip_table[], while NB frame
> sizes are calculated with speex_mode_query().
Looking better. Just make sure to remove the stuff that isn't
C99-compatible (e.g. // comments).
> I've
2006 Jul 21
2
Using Speex on OMAP5910 OSK board
Hello,
I have an OMAP5910 OSK board with C55 dsp and ARM9 processor. I just want to
use speex as a simple application on the platform in order to check dsp's
working well or not.
First, I found speex's source codes include "ti/speex_C55_test" directory so
I thought speex could run on my platform well.
Second, I open "Code Composer
2004 Aug 06
0
What is the format of the PCM/WAV data for speex_encode & speex_decode?
Speex 1.0.3 uses floats, but the unstable version 1.1.x uses short.
Jean-Marc
Le ven 16/04/2004 16:04, Kenji Chan a crit :
> Im confused about the format of the PCM/WAV data for speex_encode &
> speex_decode
>
> speex_encode(enc_state, input_frame, &bits);
>
> In the manual, it says input_frame is a (float *) pointing to the
> beginning of a speech
2003 Dec 03
1
More voicemodem
Hi,
I got this setup.
analog phone (ext7) ---> analog pbx ----- (ext 6 analog) voicemodem (ext 3
asterisk) ---- ttyS0/asterisk ---- sipphones
q1:
I got the voicemodem to work, but oneway only. I can talk from my analog
phone, to my sipphone, but not the other way ? I know it only suppose to
works in half duplex, but nothing come TO the phone.
q2:
2005 Oct 14
2
bug with tabs
Hi!
I have already in an other post mentioned IBasic.
But if I use tabs in IBasic and the word which comes after it is a internal
command, so that it will be colered, in wine-20050930 it looks like that on
the right side:
http://user.web-gear.com/theuserbl/newwine.png
I think using spaces works still very well. Only tabs for it makes this
problem.
An other thing (I don't know if it is
2007 Jul 12
2
Quality degradation on new versions
Hi,
I have been using speex version 1.0.5 on a text-to-speech program. Recently
I upgraded to version 1.2beta1
and noticed that the waveform the I got after encoding and decoding on the
new versions (beta1,beta2) is much
more different than the original than on version 1.0.5. I also ran a PESQ
comparison test on 700 voice samples
and got better results in the older version (I used quality 9, and
2007 Nov 21
4
Blackfin port on Visual DSP, Michael Shatz ?
> -----Original Message-----
> From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca]
> Sent: Wednesday, October 17, 2007 1:56 AM
> To: St?phane Lesage
> Cc: speex-dev@xiph.org
> Subject: Re: [Speex-dev] Blackfin port on Visual DSP, Michael Shatz ?
Salut Jean-Marc,
After 1 month busy on other projects, I can finally answer you:
> Some things to check. Do you