Re: new to audio programming
- From: "audiocoder" <audiocoder@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 14:17:08 -0700
If you want to use C#, check out FMOD's new API: FMOD Ex.
They have a C# version of the API, and it is very easy to work with.
The Ex API is still beta software, but it's coming along quite well... I
believe it is more powerful than straight DirectX at this point.
"jtharkey" wrote:
> thanks for the reply.
>
> i was hoping to use c# to get this going, so i hope i can get it to work in
> direct sound. i was wondering; do i have to actually capture the sound that
> is coming from the input on the sound card, or will the sound from the input
> already be present in the output buffer? is there a way i could just attach
> the dsound effects to the sound that is coming thru the input on the sound
> card without actually recording it? im confused.
>
> i guess what i need is a good tutorial explaining how sound is processed in
> windows and thru directx.
>
> thanks
>
> "Chris P. [MVP]" wrote:
>
> > On Thu, 14 Apr 2005 14:20:06 -0700, jtharkey wrote:
> >
> > > im new to audio programming and need a few questions answered. let me start
> > > out by saying what i am trying to accomplish.
> >
> > I would forget about DMusic, it has its uses but is useless for live sound.
> >
> > Your choices are DSound or DShow.
> >
> > DSound lets you use effects on your output buffers. The effects go
> > directly to the audio output, so you can't capture your processing except
> > by capturing the general "Stereo Mix" which will include sound from
> > anything else that is running at the time. You cannot record the stereo
> > mix if you are already recording from another input such as a mic or line
> > in. There also seems to be a limit of 1 instance of each type of filter,
> > or at least I haven't figure out how to get more than one of each.
> >
> > DShow lets you do all of the above, but you can have more than one instance
> > of a filter, and you can direct the output to a file or DirectSound output
> > or both. You can even prototype what it's going to sound like without
> > writing any code by using the GraphEdit utility. DirectShow will have a
> > little more live latency unless you use the "WDM Streaming Capture Devices"
> > as the source. General latency can be control by controlling buffer sizes
> > at the application level. If you aren't writing your own filters, DShow is
> > easy enough to program, but there's a bit of a learning curve if your not
> > familiar with COM. Punching effects in or out during a recording can be a
> > little tricky unless the filter has a disable option. See attached picture
> > for a GraphEdit sample
.
- References:
- new to audio programming
- From: jtharkey
- Re: new to audio programming
- From: jtharkey
- new to audio programming
- Prev by Date: Re: Correlating SecondaryBuffer PlayCursor Position and Time in VB.NET
- Next by Date: Listener Orientation
- Previous by thread: Re: new to audio programming
- Next by thread: Sending PCM samples to DirectSound(Show?) for playing.
- Index(es):
Relevant Pages
|