Search:

Type: Posts; User: Jenner

Search: Search took 0.12 seconds.

  1. Replies
    29
    Views
    3,539

    VS 2017 Re: Console.Beep Application

    You can use one provider and just change the Frequency

    In your NumericUpDown_Changed event handler, just put:
    provider.Frequency = NumericUpDown1.Value
  2. Replies
    29
    Views
    3,539

    VS 2017 Re: Console.Beep Application

    Haha, in all fairness, I looked up the tones and messed around with editing the SineWaveProvider to hum the 5 tones from Close Encounters not long after I posted my first reply...

    Probably to give...
  3. Replies
    29
    Views
    3,539

    VS 2017 Re: Console.Beep Application

    Of course. There's many ways to do it. You could write it into the SineGenerator for example:
    Close Encounters of the Third Kind anyone? (really sloppy example, but it's for demonstration)

    ...
  4. Replies
    29
    Views
    3,539

    VS 2017 Re: Console.Beep Application

    ...in fact, since it's been ages since I last used it. I decided to whip up a quick tone-generator with NAudio.

    Make a new Windows Forms project.
    Add the NuGet package "NAudio" from...
  5. Replies
    29
    Views
    3,539

    VS 2017 Re: Console.Beep Application

    Most any audio library out there can generate tones. NAudio works really well for this.
Results 1 to 5 of 5



Click Here to Expand Forum to Full Width