|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
sound capture (record audio input) in VB.NET????VB.NET for days now. I find some references to "winmm.dll" calls, but they give VB5 or VB6 examples which won't code convert upgrade to VB.NET without warnings errors that I can understand how to fix. There's some ActiveX and OCX's floating around, some free some not, but in all cases they don't explain or give me access to the raw PCM data in some kind of familiar object like a string or array. DirectSound gives methods but code samples are all in C++ or C#. I'm not fluent enough with C++ lang to make C++ ---> VB conversions in my head. The DirectX DDK seems to be written for people that use C++, I find little in the way of practical VB.NET examples from Microsoft. I understand the idea of a buffer for storage of record/play audio but I really need a functional code sample or snippet demonstrating audio from a microphone being displayed on an oscilloscope type of graph, and how to number crunch to the raw audio data to do standard things like FFT, frequency shape, and audio effects. The math involved I already understand; but its the setting up of import directsound's capabilities and to see an actual working code sample on a form showing how to set up buffer(s), start stop sound capture, and read/interpret raw audio data (number representation) of the sample stream. Keep in mind I'm a hardware engineer that has dabbled in Basic over the years, and more recently VB.NET, so I have gaps in knowledge or understanding of some programming conventions. However I find I often can modify a working example and build upon it to accomplish end goals. Pointers or postings of any working code sample in VB.NET for sound capture and display greatly appreciated. ~Terry I've noticed a lot of people prefer VB6 to .NET, I can't answer your
question but there are plenty of people who can do all of this in VB6 I've seen. <Sirhcyar***@yahoo.co.uk> wrote in message
news:1157487461.065664.50420@p79g2000cwp.googlegroups.com... Really? People "prefer" VB6? Yuck, I can't stand VB6 lol...> I've noticed a lot of people prefer VB6 to .NET, I can't answer your > question but there are plenty of people who can do all of this in VB6 > I've seen. > In any case, one way to capture sound from an input device would be to use DirectX (DirectSound or DirectInput) :) HTH, Mythran
Diff between 'n-tier' vs 'distributed architecture' vs. 'multi-layered programming'?
Please, can anyone convert the following dot net snippet to pascal VB .NET FTP Read Javascript Messagebox content from webclient Loop Question get create table script for a SQL Server object VB2005 EXPRESS Why this warning in IDE? Photoshop from vb Q: Excel files |
|||||||||||||||||||||||