Displaying 20 results from an estimated 300 matches similar to: "DirectSound ?? WaveIn ?? MM ??"
2007 Nov 05
2
WaveIn/WaveOut and Speex
Evgueni,
Don't listen to 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
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
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
2006 May 02
4
ordering after a inject
Hi,
My results are getting out of order after I do the following command:
count = result.inject({}) { |hsh, row| hsh[row[''name'']] = row[''count''].to_i;
hsh }
Why?
Here are more specifics:
My complete method is this (based off of acts_as_taggable code - not'' DHHs,
but the original one):
def self.sql_to_count_plays(lookback)
sql =
2001 Jul 26
1
Band-In-a-Box
Does anyone know how to get this MIDI program working under Wine? In fact,
I have it running, but as it starts I get a message saying:
"There are no MIDI output drivers installed"
and there is no sound from the program. Otherwise it seems to run correctly.
I'm using the most recent version of CodeWeavers Wine under Mandrake 8.0 -
do not have Windows proper installed on this
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on
http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code
is based on the acts_as_taggable gem,anybody has done that using the
acts_as_taggable plugin?thanks!
btw:the code above uses the tag_count method,which is defined in the
gem:
def tags_count(options = {})
options = {:order => ''count DESC''}.merge(options)
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
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.
2007 Nov 05
0
WaveIn/WaveOut and Speex
Evgueni Tsygankov wrote:
> Again, thank you for helping me. I know this might seem like a
> trivial matter to you and other experts in the field,
Sorry, Jean Marc and many others, including me, care very little
about an crappy OS produced by that company in the US which has been
convicted of (but not punished for) anti-competitive behaviour.
> but believe me, there are a lot of
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 May 26
2
music complexity
hi,
Is it true the flac encoder can compress music better when the
complexity of the music is low?
I'm compressing some tunes of old MS DOS games (pc speaker, sound
blaster 16 OPL3 chip music) and I saw a *huge* compression ratio (some
files where only 1/3th of the original file in filesize after
compressing to flac), so I was wondering if less complex music always
means better compression.
2008 Sep 12
1
Echo Cancellation not working on WinCE
Hello Friends,
I am trying to use speex-1.2beta3 version for echo cancelling.
On my WinCE board I am using WaveIn/WaveOut functions to record and playback
audio.
I am receiving audio data on udp socket, then playing it on speaker using
WaveOutWrite function.
I registered callback to capture microphone data, then data chunk came from
socket ( which I played on speaker) and data captured from
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups,
thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2003 Aug 12
1
Gigabyte GA-7DPXDW+ sound problems
Hi, I recently changed my motherboard to Gigabyte GA-7DPXDW+ and I can't get onboard AC97 sound to work. I added 'device pcm' to my kernel config file and sndstat returns FreeBSD Audio Driver (newpcm) Installed devices:", nothing ;( Any hints ? I'm running FreeBSD 4.8-STABLE
2006 Aug 24
3
Mousehole stuff
Hey everyone,
I''m using mousehole for the first time today (love the artwork, btw) and I
seem to be having problems with Camping and Markaby. When I go to the Apps
page I get:
Camping Problem! MouseHole::Controllers::RApps.GET TypeError
/Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t
convert String into Array:bla bla bla...
The line in question
2006 Jun 22
2
How to get audio data from microphone on pocketPC ?
Hi,
My name is Patrick, i am french, and i am developping a softphone for pocket
PC using speex.
Sorry in advance for my bad english.
So i have make an GUI in C# that use the speex functions through dll write
in C++.
And the encoding and the decoding using speex seems to work not too badly.(i
test with a wave file)
My problem is that i need to get audio data from the microphone.
In order to do
2008 Dec 10
1
No Sound in Wine - disable / remove pulseaudio
>Hello,
>
>PulseAudio is not a problem. You can use the OSS Emulation of PA, it works perfectly. (I saw a test with Dragon NaturallySpeaking, and it seems imply that it's good, isn't it ?)
>
>I used padsp for a while when a beautiful project was born : WinePulse. I'm actually testing it with the main (and only) developer of this PulseAudio backend for Wine and recently
2005 Nov 29
1
Problem in encoding/decoding speech in Win CE
Hi,
I am trying to encode raw wave data stored in a buffer using the
Speex API (The raw wave data is created using the waveIn* functions -
probably irrelevant information here).
It is a 5 second clip, 16bits/sample, 8000Hz mono (which gives a
buffer size of 80kb for the wave data).
I have followed the exact procedure found in the manual available
from the web site, except that
2007 Dec 05
1
AEC diagnistics generated files
Hi Guys,
I am trying to incorporate the speex AEC into my RTP stack.
Trying to diagnose why the echo is not being cancelled I enabled
DUMP_ECHO_CANCEL_DATA as per the docs.
The problem is that the dump files the AEC generates are of different
size.
As I understand this and looking at echo_diagnostic.m, the files are
supposed to be of same size.
Can someone give me a hint as to why this could