Synthesis of pure tones

Hi I'm an Audiologist (hearing scientist) who has been using Labview to create some basic frequency discrimination training and gap detection programs for various studies. I am looking to migrate these programs to C# which I am learning. That is I'm a beginner slowly working my way through C# tutorials having done a Java101 course in my undergrad about 5 years ago!

My question is how would people go about
1. synthesising a puretone whose frequency and level can be changed in real time?

And 2. windowing a puretone to any duration to avoid clicks?

[569 byte] By [MikeNZ] at [2007-12-16]
# 1

Mike

I haven't used LabView - but from your description it seems that it has prebuilt libraries for performing the operations you need. Unlike LabView C# standard does not have any libraries that let you deal with audio this deeply. I would suggest you look at the Managed DirectX API's to see if they let you sample frequencies.

The second one seems to be a Window Control - again there is no standard control in C# that gives you this capability. So you can either hunt for any 3rd party/open source control that renders the same. Or build it yourself (not that easy.. but can be done)

Regards,
Saurabh Nandu
www.MasterCSharp.com
www.AksTech.com

SaurabhNandu at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 2
Thanks Saurabh that gives me a place to start.
Cheers
Mike
MikeNZ at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...