similar to: Workflow question

Displaying 20 results from an estimated 3000 matches similar to: "Workflow question"

2007 Nov 05
0
Fw: RE: WaveIn/WaveOut and Speex
Begin forwarded message: Date: Mon, 5 Nov 2007 07:27:21 -0500 From: "Evgueni Tsygankov" <eugenet@rusmex.com> To: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> Cc: speex-dev@xiph.org Subject: RE: [Speex-dev] WaveIn/WaveOut and Speex Again, thank you for helping me. I know this might seem like a trivial matter to you and other experts in the field, but believe
2007 Nov 04
0
WaveIn/WaveOut and Speex
> When I was going from Char to float and back looked very wrong to me it not only *looked* wrong! > as well, but I was just not sure (and still am) how to translate the > Char* audio stream generated by WaveIn to a format that can be > understood by Speex. Would using speex_decode_int and > speex_encode_int instead of speex_decode and speex_encode be the > answer? Using
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
2007 Nov 05
2
WaveIn/WaveOut and Speex
Again, thank you for helping me. I know this might seem like a trivial matter to you and other experts in the field, but believe me, there are a lot of programmers, whose posts I saw on the web, who tried to use WaveIn/WaveOut and Speex and failed. As I understand it, WaveIn just buffers audio data according to the bit rate specified. So, if we use waveFormat.wBitsPerSample = 8, then each Char of
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
2011 Jul 26
0
More frames in one packet
Hi, I read in the documentation something about how to realize packing more than one encoded frame into a packet. Before I read this, I always encoded every frame seperate and packet them as following together: [encoded length][encoded frame][encoded length][encoded frame]... But if I understood the docu correct, it should be easier: I call speex_encode_int() for every frame until the whole
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) {
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
Hello, I'm having a problem using Speex - I'm getting white noise/static from the following process: (Load File) -> (Encode) -> (Decode) -> (Play) I know there's no issue with the loading or playing because (Load File)-> (Play) plays the file properly. I believe the problem lies with the speex_bits_write and speex_bits_read_from functions, because if I change my encode
2005 Sep 03
2
Library export file for Win32 (patch)
This patch will export new speex functions in the generated library, such as speex_encode_int as well as the preprocessor, echo-cancellation and jitterbuffers. The ordinals used matches the 1.1.6 release from the speex.org website, so any new library created with this def file should be binary compatible with that one. -------------- next part -------------- Index: speex.def
2011 Nov 16
0
Just getting noise
The way I do this is to compute the number of frames (by dividing the size of my input by the number of bytes per frame and then calling speex_encode_int() that many times. Something like speex_bits_reset( &bits ); for( n = 0; n < num_frames; ++n ) { speex_encode_int( enc_state, (int16_t*)input_tail,
2007 Sep 27
1
Need some clarifications about "speex_preprocess_run"
Simple questions:1. when this method is called for each frame, do I have to call them twice for both the encode process and the decode process?2. does preprocessor do preprocessing on raw PCM data or on encoded speex data? I need to clarify this because i want to know when should I call this function, before the encoding process (i.e. preprocess the pcm data) or after the encoding process (i.e.
2007 Jun 01
1
help on Blackfin
hello, i try to add a speex compression on the TDM Talkthrough on the BF-533 EZ-KIT LITE but when i compile i obtain the following errors: [Error li1021] The following symbols referenced in processor 'p0' could not be resolved: 'speex_bits_destroy [_speex_bits_destroy]' referenced from 'Debug\Process_data.doj' 'speex_bits_init [_speex_bits_init]' referenced from
2011 Sep 29
1
Nothing but rhythm was left after encoding and decoding by speex on ipad(XCode 4.1 48110)
hi, I tried to encode the voice data read from AudioQueue and then decode it. There was nothing but rhythm left, it sounds like robot's voice, but I cannot recognize any word. The app was compiled by XCode 4.1. Speex 1.0.5 and 1.2.rc1 gave the same result. When compiling speex 1.0.5, I added them to Xcode project, set the Header Search Paths, then compiled successfully. When compiling speex
2007 Nov 04
0
WaveIn/WaveOut and Speex
I'm not sure what input/output format you're trying to use, but it looks wrong. You're using the float functions that take +-32767 values and you're feeding (or converting) chars. Unless your machine has very special chars (which I doubt), a +-32767 value just isn't going to fit in. This has nothing to do with Speex BTW, it's just handling the audio data properly.
2005 Oct 04
1
Strange Problem
Hi I am facing a strange problem. I have integrated speex codec's narrowband mode in my SIP based server. Then I tried to integrate the wideband mode. But the program crashes mysteriously. My encode and decode codes for wide band mode are exact similiar to that of narrowband, except the mode initialization, where I put "speex_wb_mode" instead of "speex_nb_mode". My
2007 Jul 06
1
bitpack error message
i don't think so. this is my current code: for(i=0; i<samples;i++){ /*only get max 320 bytes at a time so bits can handle*/ Client->raw_audio[i] = *input++; Client->temp_audio[i] = Client->raw_audio[i]; Client->session_File[ndx] = Client->temp_audio[i]; ndx+=1; } speex_bits_reset(&ebits);
2006 Feb 10
0
Multiple frames in packet
Hi, what is the good way to encode / decode multiple frames in packet ? I read that I must do multiple call to encode and thats it. But when I'm trying to decode,, it doesn't work. Maybe, the problem is my decode function. Here is my encode function void ms_speex_enc_process(MSSpeexEnc *obj) { .... Do I need to increase gran value to 640 or read / encode (2 times)
2006 Sep 19
0
Multiple frame encode and decode
Hi, I have one rtp packet with multiple frame inside e.g 6 speex frames. I packed those frames manually by concating them into a buffer(memcpy at certain array index). Then at the other side, i decode them in a while loop using speex_decode_int(), and hoping that this function will decode one frame at a time. But when i inspected nbBits, it seemed all of 6 frames decoded at once. I guess the
2007 Apr 02
1
Problems with stereo data
Hi all, I have a problem when I am encoding (or decoding) stereo audio. With mono data, things are fine and everything works without any problems. When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong? Below is the code, first, of the encoder and next that of the decoder. Any information or
2008 Feb 17
1
Voice activity detection
Thanks for your reply. I changed my code to: if (speex_preprocess_run(preprocess_state, shortPointer) == 1) { speex_encode_int(enc_state, shortPointer, &enc_bits); } In the mobile version of the software, compiled against the mobile build of Speech, I get 1 and 0 based on whether the speech is detected. In the version of the software compiled against the Win32 version of Speex,