Search results

  1. M

    Drawing a WaveForm from Line In

    Thanks Thanks a lot for your help, I'm sure this example will help me out. It's funny, I really couldn't find examples of this on google, ah well. Just for information purposes, the problem with all the data being all over the place was stupidity on my part. I had input set to 16bits, so of...
  2. M

    Peculiar API Return from WaveInAddBuffer

    Hello all. Hope you're all having good holidays. I'm writing a guitar tuner in VB.NET. It's coming along well, the program will tell you what note/octave you are playing and how much the note deviates from the frequency of the in-tune note. Once i get this working I plan to release it on...
  3. M

    Drawing a WaveForm from Line In

    Waveforms Woah, sorry man. I actually plain forgot, I do apologise. The program crashes if I up the size of the buffer. But the error messages given vary. But that's not really the problem. What I don't understand and was hoping someone might be able to help me with was the fact that the bytes...
  4. M

    Drawing a WaveForm from Line In

    Hello everyone. This is quite a hard problem so any help AT ALL would be awesome. I've got a program (below) which sets up 2 buffers and starts filling them with bytes from the microphone. I've got another thread running which analyses these bytes and plots a graph on a window. However, the...
  5. M

    Callback Functions in VB.NET

    Done That's done it! Thanks John. It's weird, i got the value for that constant directly from Winmm.h. Ah well. Thanks again! Mike
  6. M

    Callback Functions in VB.NET

    Hello everyone. I'm trying to implement a callback function for processing digital audio input in VB.NET. Here is my code: Imports System.Runtime.InteropServices Module modWave 'Constants... Const WAVE_FORMAT_PCM As Integer = 1 Const WAVE_MAPPER As Integer = -1 Const...
Top Bottom