similar to: Regarding problem with encoding / decoding

Displaying 20 results from an estimated 2000 matches similar to: "Regarding problem with encoding / decoding"

2010 Apr 05
2
Regarding problem with encoding / decoding
Hi, Tank you for your reply. I have tried the sample programs given the manual and done encoding and decoding a wave file. That is working fine. I have already read the manual and API reference. But this problem did not occured with the wave file encoding/decoding. While capturing the data from MIC and encoding/decoding is giving this problem. Thanks and Regards, Vijender Reddy, -----
2010 Apr 20
0
Regarding problem with encoding / decoding
Hi, I got the following problem with speex. Could you help me to resolve the following issue. Description: I am taking speech input from MIC storing in a buffer after that i will encode by using speex then decoding and sending to output(speakers). it is small demo project of speech encoding/decoding in VC++. I am reading the data from buffer in the following way where data is short[] type and
2004 Aug 06
2
1.1 api suggestion
On Mon, Apr 19, 2004 at 02:46:44AM -0400, Jean-Marc Valin wrote: > OK, I'll try to do *something* about it. It'll be either "support the > 1.0 ABI" or "make sure the link will break". While the former would be > nice, I'm not sure I want to really want to force 1.2 to have the same > ABI as 1.0.x. More on this when I have some time to think about it.
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the constructor and destroyed in the destructor of the object. However I'm still getting the same issue although I'm sure that would have bit me sooner or later. The new code is as follows. virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize, size_t& outputSize) { short *in=(short*)inputBuffer;
2007 Nov 04
2
WaveIn/WaveOut and Speex
Thank you for such a quick response. The only reason I started with Char buffers is because WaveIn and WaveOut on Windows XP accept/emit WAVEHDR structures, which store audio data in LPSTR, which is Char*. typedef struct { LPSTR lpData; DWORD dwBufferLength; ... } WAVEHDR; When I was going from Char to float and back looked very wrong to me as well, but I was just not
2005 Feb 09
2
encoding speex, (insanity looming)
Hi All, I'm very new to speex and in fact handling audio at all, it seems I have run in to a problem I seem unable to fix. I'm trying to take audio from a microphone using alsa, then encode it as speex and save to disk. I have been wondering if it has something to do with endian type, but speexenc and speexdec works fine. Currently I have the following setup: Platform:
2005 Oct 17
1
Function call order on libspeex
Hello, I intend to make a speex port for freescale DSP56F800/E. I downloaded the source code, but I not realize which function are called in which order for encode after calling speex_encode (or speex_encode_int) and speex_decode (or speex_decode_int). Could anybody help me on this? Thanks in advance Alexandre Penna
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) {
2004 Aug 06
2
does installed lib support _int()s ?
Assuming one prefers to use the speex_encode_int() and speex_decode_int() when available, but fallback to speex_encode() and speex_decode() if an older version if the lib is installed, how does one best make the determination? The only thing I can see to do is call speex_init_header() and look at the result. Even at compile time it seems one must compile a test app that outputs that data and then
2015 Jan 28
5
[LLVMdev] RFC: generation of PSAD instruction
On Wed, Jan 28, 2015 at 7:50 AM, Hal Finkel <hfinkel at anl.gov> wrote: > Hi Vijender, > > Thanks for posting this, there is wide support here for improving our support for reductions of various kinds, both in flavor and robustness. I've cc'd some others who have previously discussed this. > > James has advocated in the past for an intrinsic for horizontal reductions,
2015 Jan 28
2
[LLVMdev] RFC: generation of PSAD instruction
Hello, I was looking at the following test case which is very relevant in imaging applications. int sad(unsigned char *pix1, unsigned char *pix2) { int sum = 0; for( int x = 0; x < 16; x++ ) { sum += abs( pix1[x] - pix2[x] ); } return sum; } The llvm IR generated after all the IR
2005 Sep 19
1
Samples per frame.. fixed or variable with configuration?
I'm having trouble with a Speex VOIP effort ... my first use of Speex. My development platform is Windows XP, but I intend to bring this up on OS X as well. At the moment, I send across speex frames (say 4 per packet... a configurable setting), and the settings of both encoder and decoder are simply fixed in code at the moment (wideband, short format input). I am fairly confident that I
2007 Nov 04
3
WaveIn/WaveOut and Speex
Hello, I know my question has been asked before because I spent the last week searching the web for how to use Speex in combination with WaveIn/WaveOut and I ran into a few posts, but none of them answer the question. There is still a lot of confusion how to use WaveIn/WaveOut and Speex by junior developers such as myself. Even after examining code for SpeexDec and SpeexEnc, I cannot get clear
2004 Aug 06
3
1.1 api suggestion
Hi Jean-Marc, randoms, I've been playing with the 1.1.x api, more specifically modifying code to conditionally build against the 1.0.x api or the 1.1.x api. Code written for 1.0.x builds, with a few warnings, against 1.1.x. The major API change is of course that the type of PCM buffers has changed from float to int. This causes a few warnings related to speex_encode() and speex_decode()
2008 Apr 21
3
Decoding multiple Speex frames
Hello, Could you please explain or send an example for decoding a packet that contains multiple Speex frames. According to the API document the speex_decode_int() decodes only one frame of speech. Best regards, Danny Peled R&D Software Engineer Intelligence Solutions NICE Systems Ltd. ISRAEL *+ (972) 9 769 7161 ? + (972) 54 4 602840 *Danny.Peled at nice.com <mailto:*Danny.Peled at
2006 Sep 15
2
Constant noise in the background in realtime data
Hi everyone, Our team is working on a realtime voice communication application. We are using openAL 1.1 to capture the samples and then encode them using speex. On the remote machine we decode the samples and play them using openAL again. Capture and play formats for the samples is AL_FORMAT_MONO16 and frequency is 22050. we are using wide band encoding/decoding. The encoding sample
2008 Oct 09
2
Decoding multiple encoded frames
Jean-Marc Valin wrote: > > > The decoder will return -1 if it can't decode anything else, so you just > do something like: > > while(1) { > err = speex_decode_int(state, bits, pcm); > if (err==-1) > break; > output_data(pcm); > } I think I still didn't fully understand. As a test I encoded some frames (wideband, with quality set to 8),
2013 Jun 25
2
/etc/passwd Centos + dovecot
Hi group , I use system users with passwords defined in /etc/passwd. How can users change their passwords ? BR Dejan
2011 Oct 04
2
segfault after .C call.
Hi there, I think I'm encountering a bug, and I already reported it here: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14695 But meanwhile, could you help me by any suggestions about the problem? I'll place the content of the reported bug here. You can find attachments on bugzilla if you were that generous to check it for me. Best and Thanks in Advance, Adrin. Bug report
2008 Oct 07
2
Decoding multiple encoded frames
Hi, I've been looking at using speex over RTP. Section 3.3 of draft-ietf-avt-rtp-speex-05 states that: "For the purposes of packetizing the bit stream in RTP, it is only necessary to consider the sequence of bits as output by the Speex encoder [speex_manual], and present the same sequence to the decoder." So, I assume that I just pass the whole contents of the RTP packet (less the