search for: samplingrate

Displaying 15 results from an estimated 15 matches for "samplingrate".

Did you mean: sampling_rate
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
...encoder_init(&speex_nb_mode); // obtenemos tama?o frame speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &frame_size); // configuramos parametros int complexity = 5; speex_encoder_ctl(enc_state, SPEEX_SET_COMPLEXITY, &complexity); int samplingrate = 8000; speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE, &samplingrate); int quality = 8; //Calidad relativa de 0 a 10 speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &quality); int dtx = 0; speex_encoder_ctl(enc_state, SPEEX_SET_DTX, &dtx...
2012 Feb 10
3
Creating XML document extremely slow
...0 nodes per second on an Intel i5 machine. There's clearly something wrong but I don't see what. Here's a sample of the XML document: <?xml version="1.0" encoding="utf-8"?> <MarkerSet xmlns="http://www.brainproducts.com/MarkerSet"> <SamplingRate>512.032770097286</SamplingRate> <SamplingInterval>1.953</SamplingInterval> <Markers> <Marker> <Type>Stimulus</Type> <Description>prr_156</Description> <Position>397497</Position> <Points>1</P...
2008 Dec 15
0
preprocessor VAD only rocognize between silence andnot silence
...ncoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, >&frame_size); >>> >>> // configuramos parametros >>> int complexity = 5; >>> speex_encoder_ctl(enc_state, SPEEX_SET_COMPLEXITY, >&complexity); >>> >>> int samplingrate = 8000; >>> speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE, >>> &samplingrate); >>> >>> int quality = 8; //Calidad relativa de 0 a 10 >>> speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &quality); >>> >&...
2004 Aug 06
0
libspeex crash with RC3
...oding the second frame if the first encoded frame was all zeros. Can someone else reproduce this or am I on crack and should look for a bug elsewhere? // Initialize speex encoder. SpeexEncoderBits = new SpeexBits; SpeexEncoderState = speex_encoder_init(&speex_nb_mode); INT FrameSize, SamplingRate = 8000, // 8000 Hz BitRate = 4000; // 4kbps == 10 bytes per 20 ms peex_encoder_ctl( SpeexEncoderState, SPEEX_SET_BITRATE , &BitRate ); speex_encoder_ctl( SpeexEncoderState, SPEEX_SET_SAMPLING_RATE , &SamplingRate ); speex_encoder_ctl( SpeexEncoderState, SPEEX_GET_FRAME_SIZE...
2008 Nov 14
3
SPEEX on iPhone ?
...; Thus if you feed algorithm with wrong freq, you'll fool it and it might > even not detect speech at all. Do you mean that speex is working at 44.1 Khz like at 32Khz without samplerate conversion ? It seems you suggest that working with 44.1 Khz signal instead of 32Khz (wich is the native samplingrate for the ultra -wide-band mode as far as i understand) ask for more CPU load. Since YOU have already worked with SPEEX, do you know how much CPU load it takes ? 10% more ? 50% more ? > In short - you must do up/down-sampling by yourself. There're a lot of > nice libraries for this. One of...
2005 Dec 12
0
Real time in ARM - please help
...ampleenc and I haven't tried using Ogg.. my source code is attached below in case anyone's interested. I wonder what I'm doing wrong.. Appreciate any help, thanks a lot. Mon int PCMToSpx (BSTR FileOpen, BSTR FileSave, bool VAD, short BitRateChoice) { __int8 Speex [6]; __int16 SamplingRate = 8000; __int8 BitsPerSampleX8 = 2 /* ie 2*8=16-bit */, NumBytes /*aka nBytes or nbBytes */; FILE *fin, *fout; void *state; int FrameSize, NumFrames = 0; int BitRate, temp; __int16 in [MaxFrameSize]; __int8 cbits [MaxFrameBytes]; SpeexBits bits; // ****************...
2004 Aug 06
3
libspeex crash with RC3
I tried to compress 160 samples of random garbage (range 0-500.f) at 4kbps and got a crash in nb_encode -> forced_pitch_quant because start was -858993460 (== ol_pitch). -- Daniel, Epic Games Inc. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org'
2013 May 27
1
Empty buffer on encoder write byte
...32 frames, AudioBufferList *bufferList) { UInt32 numberOfBuffers = bufferList->mNumberBuffers; for (int bufferIndex = 0; bufferIndex < numberOfBuffers ; ++bufferIndex) { AudioBuffer audioBuffer = bufferList->mBuffers[bufferIndex]; int frameSize = (samplingRate/1000) * sampleDuration; // sampling rate is 8000, sample duration is 20ms size_t count = frameSize*channels / sizeof(opus_int16); __block opus_int16 *pcmInput = calloc(count, sizeof(opus_int16)); memcpy(pcmInput, audioBuffer.mData, count * sizeof(opus_int16));...
2005 Aug 22
0
the complexity of ogg-vorbis
Hi I download the libvorbis-1.1.1 and use the encoderexample.c and decoderexample.c to drive it. The parameters i used is samplingrate: 44.1kbps, channel number: 2, quality :0.4. Now I want to compare it\\\'s complexity with MPEG-2 AAC, but don\\\'t know how to trace into the lib , can you tell me how to do that or tell me how many addtions and multiples does the vorbis use under those parameters ?...
2008 Nov 14
0
SPEEX on iPhone ?
...wrong freq, you'll fool it and it might > > even not detect speech at all. > > Do you mean that speex is working at 44.1 Khz like at 32Khz without > samplerate conversion ? > > It seems you suggest that working with 44.1 Khz signal instead of 32Khz > (wich is the native samplingrate for the ultra -wide-band mode as far as i > understand) ask for more CPU load. Since YOU have already worked with > SPEEX, > do you know how much CPU load it takes ? 10% more ? 50% more ? Standard sample rate used with speex is 8kHz. Speex wideband uses 16kHz Speex ultra-wideband uses 32...
2011 Jun 20
3
oggenc -q switch vs -b switch
Hello folks I am encoding music to ogg vorbis format for the first time. From what i have researched, ogg vorbis is natively a vbr format. Also encoding using the -q switch is encouraged instead of specifying a bitrate through -b. Now, while encoding using -b i get this: Encoding "file.wav" to "file.ogg" at approximate bitrate 224 kbps (VBR encoding enabled) Notice
2007 Feb 09
1
speex in C# please help
...peex_lib_get_mode")] public static extern IntPtr speex_lib_get_mode (int modein); [DllImport(libpath)] public static extern int speex_encoder_ctl(void *state , int request , void *ptr); [DllImport(libpath)] public static extern int speex_encoder_settings(void *state , int complexity , int samplingrate,int quality , int bitrate); [DllImport(libpath)] public static extern int speex_encoder_int(void *state , short *input , SpeexBits *bits); //exported bit operation methods [DllImport(libpath)] public static extern void speex_bits_init(SpeexBits *bits); [DllImport(libpath)] public static exte...
2008 Nov 13
2
SPEEX on iPhone ?
----- Original Message ----- From: "Conrad Parker" <conrad at metadecks.org> To: "Vincent Burel" <vincent.burel at vb-audio.com> Cc: "Jean-Marc Valin" <jean-marc.valin at usherbrooke.ca>; <speex-dev at xiph.org> Sent: Thursday, November 13, 2008 1:18 AM Subject: Re: [Speex-dev] SPEEX on iPhone ? > 2008/11/13 Vincent Burel
2006 Dec 29
0
using speex in C#
...public static extern int speex_encoder_ctl(void *state, int request, void *ptr); /* default this function doesn't exist but same job is done speex_encoder_ctl function too. */ [DllImport("libspeex.dll")] public static extern int speex_encoder_settings(void *state, int complexity, int samplingrate, int quality, int bitrate); [DllImport("libspeex.dll")] public static extern int speex_encode_int(void *state, short *input, SpeexBits *bits); // IntPtr ... /* EXPORTED BIT-OPERATION METHODS */ [DllImport("libspeex.dll")] public static extern void speex_bits_init(SpeexBits *bi...
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...atic extern IntPtr speex_lib_get_mode (int modein); > > [DllImport(libpath)] > > public static extern int speex_encoder_ctl(void *state , int request , void *ptr); > > [DllImport(libpath)] > > public static extern int speex_encoder_settings(void *state , int complexity , int samplingrate,int quality , int bitrate); > > [DllImport(libpath)] > > public static extern int speex_encoder_int(void *state , short *input , SpeexBits *bits); > > //exported bit operation methods > > [DllImport(libpath)] > > public static extern void speex_bits_init(SpeexBits *bit...