Tag Archives: tones

Play tones with specific frequencies in C#

This example shows how you can play tones with a given frequency and duration. When the user clicks the Play button, the following code plays a tone. private void btnPlay_Click(object sender, EventArgs e) { int freq = int.Parse(txtFrequency.Text); int duration … Continue reading

Posted in audio, multimedia | Tagged , , , , , , , , , , , , | Leave a comment