Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HELP !
I'm writing a VB.net program that needs an audio Spectrum Analyzer to display a spectrum as part of an Test program to setup an audio system.
I’m using VB.net. There are some examples on this site and the wider web but they all use C#. I can't get my head around C#.
What I'm doing is, using the PC's sound card, is capture spectrum and then look for harmonic distortions or strange results, using a signal source controlled by the PC with pink noise generator and variable sinewaves to test an audio amp setup. Such as in a home cinema setup where phasing and distortion can be a problem.
What I really need is a small piece of VB code that :
1, selects the audio i/p,
2, reads the data from the i/p,
3, perform the FFT on it,
4, and stores the results so the main program an work on it.
Once I have a block of spectrum data (from the FFT) I can display or analyse the data. By moving the microphone around I can test the home cinema sound setup.
I do hope someone can help.
Posted
Comments
Pheonyx 4-Sep-14 6:18am    
C# and VB.Net are very similar in how you have to do things, the main difference is syntax.
However, there are alot of C# to VB.Net converters available.
There are some online and some offline services and there a good free ones (I don't think I've seen a paid one yet). I suggest you take the C# code you don't understand and put it in a converter and get the VB.Net.
Sinisa Hajnal 4-Sep-14 6:19am    
Ninjaed :) I second the converter suggestion.
Robopike 5-Sep-14 8:39am    
thank you for your suggeston. I found a converter and converted the c# code to vb. the resulting code still had many problems but it gave many clues and i've been able to progress with my project.
Pheonyx 5-Sep-14 9:29am    
Pleased it helped :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900