Displaying 14 results from an estimated 14 matches for "waveformat".
2007 Nov 04
3
WaveIn/WaveOut and Speex
...and SpeexEnc, I cannot get clear sound when I try to
Get PCM Char buffer from the microphone
Encode Char buffer using Speex
Decode Speex Char buffer into PCM char buffer
Play PCM char buffer using WaveOut
The end-result is very distorted sound.
I use the following PCM format:
waveFormat.nChannels = 1;
waveFormat.nSamplesPerSec = 8000;
waveFormat.wBitsPerSample = 8;
Once sound is aquired by the mic, I send it to Speex in a Char buffer.
It looks something like this:
Encode(char* inBuffer, DWORD bufferLength)
...
float* input = new float[frameSize];
ZeroMemory(input, fra...
2007 Nov 04
2
WaveIn/WaveOut and Speex
...t;
> Encode Char buffer using Speex
>
> Decode Speex Char buffer into PCM char buffer
>
> Play PCM char buffer using WaveOut
>
>
>
> The end-result is very distorted sound.
>
>
>
>
>
> I use the following PCM format:
>
>
>
> waveFormat.nChannels = 1;
>
> waveFormat.nSamplesPerSec = 8000;
>
> waveFormat.wBitsPerSample = 8;
>
>
>
> Once sound is aquired by the mic, I send it to Speex in a Char buffer.
> It looks something like this:
>
>
>
> Encode(char* inBuffer, DWORD bufferLength)...
2007 Nov 05
2
WaveIn/WaveOut and Speex
...eem 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 the audio buffer describes an audio sample using 8 bits. On the output side, WaveOut expects each Char to describe an 8-bit audio sample as well. If we deal with 16-bit samples, then two Chars would describe a sample, and so on.
My question is on how to deal w...
2001 Aug 26
4
On the "broken" .WAV files issue
...use I was interested in the issue, I decided to take a look at
the oggenc source, and in fact, it is your .WAV reader that's wrong.
More precisely: there are two version of the format chunk, one that's
old and belongs to the original .WAV specification (the corresponding
structure is called WAVEFORMAT in the win32 sdk and has 14 bytes,
the variant you'll typically see in (PCM) wave files is called
PCMWAVEFORMAT and has 16 bytes - the size that you expect the format
chunk to be). But there's also a newer one, called WAVEFORMATEX,
which was created to suit the requirements of non-PCM codec...
2007 Nov 05
0
Fw: RE: WaveIn/WaveOut and Speex
...eem 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 the audio buffer describes an audio sample using 8 bits. On the output side, WaveOut expects each Char to describe an 8-bit audio sample as well. If we deal with 16-bit samples, then two Chars would describe a sample, and so on.
My question is on how to deal w...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...t;
> Encode Char buffer using Speex
>
> Decode Speex Char buffer into PCM char buffer
>
> Play PCM char buffer using WaveOut
>
>
>
> The end-result is very distorted sound.
>
>
>
>
>
> I use the following PCM format:
>
>
>
> waveFormat.nChannels = 1;
>
> waveFormat.nSamplesPerSec = 8000;
>
> waveFormat.wBitsPerSample = 8;
>
>
>
> Once sound is aquired by the mic, I send it to Speex in a Char buffer.
> It looks something like this:
>
>
>
> Encode(char* inBuffer, DWORD bufferLength)...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...eex Char buffer into PCM char buffer
>>
>> Play PCM char buffer using WaveOut
>>
>>
>>
>> The end-result is very distorted sound.
>>
>>
>>
>>
>>
>> I use the following PCM format:
>>
>>
>>
>> waveFormat.nChannels = 1;
>>
>> waveFormat.nSamplesPerSec = 8000;
>>
>> waveFormat.wBitsPerSample = 8;
>>
>>
>>
>> Once sound is aquired by the mic, I send it to Speex in a Char
>> buffer. It looks something like this:
>>
>>
>>
&g...
2007 Nov 05
0
WaveIn/WaveOut and Speex
...39;s profoundly crappy/stupid APIs and the incompetance of
programmers on the windows platform who are so used to their clicky
pointy IDEs that they can't even think for themselves.
> 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 the audio buffer describes an audio sample using
> 8 bits. On the output side, WaveOut expects each Char to describe an
> 8-bit audio sample as well. If we deal with 16-bit samples, then two
> Chars would describe a sample, and so on.
Like I sai...
2009 Apr 20
2
Voice mail does not contain a time?
Hello,
When a voice message is saved and e-mailed as a wav, the total time of the
voice mail does not show up in, e.g., windows media player, why is this?
I have only used wav49/wav:
; Use wav49 format for all voicemail messages
format=wav49|gsm|wav
Justin.
2001 Jul 29
1
WAVE Format info
At the risk of throwing more fuel on the fire, I found the following document
on the Microsoft website. It appears to be the file format counterpart to the
API documentation presented by Chris Wolf. I'm not familiar with the WAVE
format, so I'll let you guys interpret it (or tell me it is irrelevant):
http://www.microsoft.com/HWDEV/audio/multichaud.htm
[As an aside: Why does Microsoft
2000 Aug 10
3
WAV Header and Tagging
Thanks for the reply, I have just recently started looking at Ogg streaming
and wasn't sure if there was yet another playlist file for them, glad there
isn't personally! Are there any sites set up to stream Ogg?
Sorry about the confusion I was reading another thread on the discussion of
someone that was implementing an Ogg ACM. In that case a FACT chunk makes
peoples lives easier.
OK,
2017 May 26
2
warning that legacy WAVE file has format type 1 but bits-per-sample is 24
...t;legacy" WAVE file?
Second,
format type 1
What is that exactly? In the source code I see "format type" is
referred to as "format tag", since the variable name is "wFormatTag".
Is this what's referred to in this reference
http://soundfile.sapp.org/doc/WaveFormat/
as
AudioFormat
There it says
1 for PCM
Is there something about PCM format that implies either 8- or
16-bits-per-second?
I'm new at this and trying to understand it. Can someone explain?
Also, a related but more practical question: is there *any* way to
create a 24- or 32-bits-per-s...
2007 Nov 05
2
WaveIn/WaveOut and Speex
...this guy. The last thing someone confused about types
should use is a union. Listen, whatever types you're using, you're just
dealing with data in memory. For an array, it's just a big block of data in
memory. You need to know how that data is stored in memory. For audio data,
WAVEFORMATEX tells you that with its contents. Don't let types deceive you -
focus on the format of the actual data. Know that Speex needs either floats
or shorts, with a sample rate of 8000/16000/32000 samples per second, and
that it's your responsibility to pass it data in this format. If the...
2017 Jun 23
0
Wine release 2.11
...blitter_destroy callbacks.
wined3d: Trigger frontbuffer update in surface_cpu_blt.
Thomas Faber (2):
devenum/tests: Fix return value check for IEnumMoniker_Next.
advapi32/tests: Properly restore privileges in test_AdjustTokenPrivileges.
Zebediah Figura (14):
include: Pack WAVEFORMAT structs.
winemp3.acm: Fix error in acmStreamSize().
include: Add missing MSI message values.
msi: Use an external UI record handler before a string handler.
msi: Store string and record callback data separately.
msi: Pass the given record to the callback.
msacm32...