This is using command strings, but there is also a more API-like message
interface.
You can google for the correct imports, command reference, etc.
For simple stuff, this could be sufficient for you. (You can also access the
cdplayer, midi file and other devices this way.)
m
"Peter Bromberg [C# MVP]" <pbromberg@yaho o.nospammin.com > wrote in message
news:C85BF4B0-C5D3-4C9B-BA53-62D94BD799D3@mi crosoft.com...[color=blue]
> Here is a C# implementation of a wrapper using Ianier Munoz' WaveOut
> class:
>
> http://www.eggheadcafe.com/articles/20050611.asp
>
> Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "Andrea" wrote:
>[color=green]
>> Hello All,
>> I need to record voice from a mic, in the simplest way, any idea???
>>
>> tks a lot
>>
>> Andrea
>>
>>
>>[/color][/color]
"Mike" <vimakefile@yah oo.com> wrote in message
news:uOJbBdlNGH A.2012@TK2MSFTN GP14.phx.gbl...[color=blue]
> For a much higher level interface, you may want to look at the MCI command
> strings.
> The calls can be as simple as: (untested)
>
> mciSendString( "record waveaudio alias a", null, 0, IntPtr.Zero);
> mciSendString( "pause a", null, 0, IntPtr.Zero);
> mciSendString( "save waveaudio c:\foo.wav", null, 0, IntPtr.Zero);[/color]
That should be "save a c:\foo.wav"... (But it may have worked anyway...)
[color=blue]
> mciSendString( "close a", null, 0, IntPtr.Zero);
>
> This is using command strings, but there is also a more API-like message
> interface.
> You can google for the correct imports, command reference, etc.
> For simple stuff, this could be sufficient for you. (You can also access
> the cdplayer, midi file and other devices this way.)
>
> m
>
>
>
> "Peter Bromberg [C# MVP]" <pbromberg@yaho o.nospammin.com > wrote in message
> news:C85BF4B0-C5D3-4C9B-BA53-62D94BD799D3@mi crosoft.com...[color=green]
>> Here is a C# implementation of a wrapper using Ianier Munoz' WaveOut
>> class:
>>
>> http://www.eggheadcafe.com/articles/20050611.asp
>>
>> Peter
>>
>> --
>> Co-founder, Eggheadcafe.com developer portal:
>> http://www.eggheadcafe.com
>> UnBlog:
>> http://petesbloggerama.blogspot.com
>>
>>
>>
>>
>> "Andrea" wrote:
>>[color=darkred]
>>> Hello All,
>>> I need to record voice from a mic, in the simplest way, any idea???
>>>
>>> tks a lot
>>>
>>> Andrea
>>>
>>>
>>>[/color][/color]
>
>[/color]
Comment