Simple and intuitive, thank you so freaking much. I have been spending two days trying to find a good solution for FFT graphing audio data.
@erikvdmerwe69084 жыл бұрын
Dude, you might not get this a lot... but you Sir are a FUCKING GENIUS... Thank you very much for making this code open source... you just saved my entire semester...
@Protocat7 жыл бұрын
Awsome! Taking multiple mic inputs for a 3rd year project at uni so this is very helpful!
@TrevorVonSeggern6 жыл бұрын
Nice project Scott. Really cool stuff!
@laureven5 жыл бұрын
WOW ...Thank YOU for sharing this with everybody :)
@aarongarcia54587 жыл бұрын
Woo Fantastic, thank you for this. This is very cool and so interesting.
@thefront58712 жыл бұрын
Very nice!! Can't wait to check it out!
@TonyFDiego6 жыл бұрын
Pretty neat. Awesome applications possibilities
@use_FongSha2 жыл бұрын
Hi Mr.Harden, I cannot find the project you shared on Github, did it's be removed?
@Ben-oni44211 ай бұрын
you are a genius bring some bread, wine and women to this MAN
@AxelPLasg7 жыл бұрын
Just for you to know, I'm going to base my EEG sleep monitor on this project ;) Instead of soundcard I'm feeding it data from embedded device via USB. Your code is going places man ;p However I find lack of configurability in scottplot a little frustrating tbh. Great work, thank You very much :)
@farhanr.walidina30742 жыл бұрын
does anyone has the source program from this video? i need it urgently. Thank you for response
@jeffbeck65015 жыл бұрын
Well done Scott. I like the ScottPlot. You could also make a ScottBot. ...because it rhymes.
@exlpt22349 ай бұрын
Outstanding project and good explanation! I'm wondering if you've worked with WasapiLoopbackCapture though. I can't find any way to change its buffer size, do you know if that's possible?
@eschewary3673 жыл бұрын
Would it be possible to implement this in a Unity project to get the microphone input to play through an AudioSource? What's the absolute simplest way that could be done?
@aspenbucky2 жыл бұрын
I want to know this too!
@toerti95895 жыл бұрын
Thanks! Nice topic, well explained.
@johnsonisreal45303 жыл бұрын
Thanks, a Nice project I like ScottPlot, Just replacing the WinForms chart now.
@dungnguyenthanh63904 жыл бұрын
Hi Sir!, how to show the Plot on the Screen use ScottPlot? (not save namepicture.png)
@Protocat7 жыл бұрын
I have a question about the FFT function. When I pass a simple sine or square wave through it, if I decrease the amplitude of the wave, the array I am getting back has the correct frequencies, but the intensities do not change. For my project however I need to preserve the intensities at different levels. Do you know why this might be happening?
@neonsloth6 жыл бұрын
can this tell the difference between left and right audio? can it take headphone, 5.1, 7.x input in separate channels or is it just mono?
@ceticosp6 жыл бұрын
What would I have to do to create an app that captures the sound from a cell phone mic?
@eduardofernando66955 жыл бұрын
Xamarin
@joseluisbz6 жыл бұрын
Hi, Scott, according to your code, you are using interval of 10mS *_this.timer1.Interval = 10;_* and the *_wi.BufferMilliseconds_* is 46, maybe you are showing two times APROX the same "screenshoot"? I want to understand the code, because I don't know C#. WaveIn *wi* is constantly reading from microphone and the bytes (of sample) are placed in the buffer *bwp* . With this sentence *_bwp.Read(frames, 0, frameSize);_* from *timer1* put the samples in arrays. Is like producer consumer problem?
@swharden6 жыл бұрын
kzbin.info/www/bejne/p4bPdHyjjrR2bsU is a better example which may answer your question
@salimhamouda34832 жыл бұрын
i cant find the project in github ? link does not work
@amirshahbazi27035 жыл бұрын
Great video.. very nice job..
@themonkeyminds72527 жыл бұрын
Thanks sir for replying...
@naderhany36392 жыл бұрын
great project thank you
@GSR600Relaxed7 жыл бұрын
Cool project!
@prabowohadip69226 жыл бұрын
Hi sir I have a question, How to convert the Ys2 to dB? Or is this already in dB? Thanks
@swharden6 жыл бұрын
Prabowo Hadi P dB = 20 * log10(amplitude)
@shielacabahug1946 жыл бұрын
Can waveviewer of NAudio be use instead of the ScottPlot API for displaying the graph? Thank you
@drusttaib6075 жыл бұрын
nice question without an answer. I am currious too because the Usercontrol is not working.
@edmobe20006 жыл бұрын
What if I want to use the audio output instead of the audio input?
@MS13375 жыл бұрын
Take a 3.5mm male-male cable and plug your output into your input.
@TylerTimoJ5 жыл бұрын
@@MS1337 haha, or look into wasapi, it's window's audio API and it allows you to get samples from whatever is playing on your speakers.
@luckycreate89015 жыл бұрын
hi scott, i just want to ask what type of microphone did you use for the sensor? and what type of communication wire from the microphone to computer? it's XLR to USB or what? hope u answer my question please.. 👍
@swharden5 жыл бұрын
LUCKY CREATE it’s just a plain old headset with a 1/8” stereo connector plugged into the microphone hole of my PC sound card
@Leon-Jordan4 жыл бұрын
Hey im very new to FFT and audio processing programatically. I am trying to get a pitch of a sine wave real time, but I have no idea how FFTs work and I have no idea which FFT to use. For example, if I try to use an FFT from the spectogram (you made), there are 133 different FFTs and i have no idea which one to use. Its all very confusing. Please point me to a good example. Thank you for your work :)
@swharden4 жыл бұрын
I just added a link to the bottom of the description called "Graphing FFT Audio Data Notes". I hope you find it useful! It outlines how to use NAudio to calculate FFT. FWIW I'm also working on a website (Google csharpdatavis) that will include a video walkthrough of how to do exactly this from start to finish. It might be a few more months before I finish it, but it'll get uploaded to KZbin eventually!
@Leon-Jordan4 жыл бұрын
@@swharden Hia! My project im working on is now working. Basically my project using audio signals to transmit on a lower power radio sine waves. Each tone corresponding to a char. The message is encrypted and the tones played are the encrypted string chars. A listener client will then clean up the received data and decrypt it back into its original form. So far it works exceptionally well, even with radio noise. Thank you :)
@datachronicless5 жыл бұрын
i'm not able to make graph,can anyone help me with the steps to make it?
@flueepwrien65875 жыл бұрын
how did you make the user interface so smooth with the drag controls
@laurafarias23297 жыл бұрын
Nice!! How to modify so that the received signal is from the audio input of the audioboard instead of the microphone?
@swharden7 жыл бұрын
Laura Farias change the default recording device (by right-clicking the speaker icon by the clock in windows). You can set it to be a microphone, or any other drive hooked up to your computer
@themonkeyminds72527 жыл бұрын
Also I have one topic for u sir ...can I tell sir ??
@locnhumai13144 жыл бұрын
nice video, How to show frequency and dB in scottplotUC2?
@swharden4 жыл бұрын
What is shown here is RMS spectral power. Show 20*Log10(power) to yield power in dB units
@canakgol21806 жыл бұрын
I have seen the error of "Could not record from audio device! " how can I fix this ?
@canakgol21806 жыл бұрын
I have a mac notebook
@shwetaachakroborti57754 жыл бұрын
Is there a working solution for Xamarin Forms Application ? I am in urgent need.
@swharden4 жыл бұрын
I don't think so. System.Drawing.Common doesn't support Xamarin Forms (yet?) and I'm not sure about NAudio
@azabanful6 жыл бұрын
I'm only cared about Microphone input real time frequency. Any suggestions?
@swharden6 жыл бұрын
webaudiodemos.appspot.com/pitchdetect/
@binibiru58045 жыл бұрын
hello Scott can you Upload all tutorials about this project i couldn't find it
@binibiru58045 жыл бұрын
hey scott it gives me this error how can i solve NAudio.MmException:BadDeviceld calling WaveInOpen
@binibiru58045 жыл бұрын
hey scott it gives me this error how can i solve NAudio.MmException:BadDeviceld calling WaveInOpen
@swharden5 жыл бұрын
bini biru make sure you have a microphone plugged in and enabled in the windows sound manager
@binibiru58045 жыл бұрын
@@swharden ok but i can`t use earphone ?
@binibiru58045 жыл бұрын
@@swharden i used micro phone but still not working
@shashankgarewal6 жыл бұрын
Is it possible to develop realtime noise "cancellation" software. I know fully cancellation but we can get close to cancel.
@swharden6 жыл бұрын
Yes
@swharden6 жыл бұрын
kzbin.info/www/bejne/gXnWiXSVgapmm5Y
@shashankgarewal6 жыл бұрын
+Scott thanks for the quick reply but i also want to know how can i develop one (i know C/C++ java and python). from where should i get start with it. I also have some knowledge about speech processing and also made a vowel recolonization program, where i used wrote function for noise removal, but that wasn't realtime, that was taking data from text file of audio sample. How can i make the same so other people while i am using mic would hear no/lesss noise while voice chatting.
@swharden6 жыл бұрын
Would a technique like this help? kzbin.info/www/bejne/qJjZgHybrs2LrtE
@MeehaiChannel7 жыл бұрын
What is added ScottPlot ? Thank you very much. ^^
@swharden7 жыл бұрын
I don't understand your question. However, all code is available on the github (link in description)
@MeehaiChannel7 жыл бұрын
I download project "Csharp-Data-Visualization" and open project "17-07-16_microphone" on Visual but (References>ScottPlot Error) and ScottPlot(load failed) . (I speak a little English. I want to send you a picture. Please ask for your email.) Thank you very much.
@swharden7 жыл бұрын
ScottPlot is in ScottPlot.zip in the download folder. Extract it, and it should work.
@MeehaiChannel7 жыл бұрын
I succeeded.✌✌✌ I add Reference>> projects>> solution>> ScottPlot . Thank you very much.
@pipocket7 жыл бұрын
Hi bro, i trying add this ScottPlot, but i dont have a sucess , u can help me to find the file??
@anupnadagouda82403 жыл бұрын
how to get scottplotuc
@themonkeyminds72527 жыл бұрын
Sir very nice video .. Please make a video on real time ECG with LabVIEW..or any other ......real time ...with the help of node MCU esp8226... I hope u will make it..
@swharden7 жыл бұрын
I plan to do exactly this, and I'll upload the video probably within the next few weeks!
@aarongarcia54587 жыл бұрын
Hellow Scott I'am new programming with c# and visual studio, I have some questions about, Can you say me how add reference with the ScottPlot?, I'am trying but I Can't. I hope you can answer the cuestion please. Other question, is this only to the VS 17?. if work with VS15 will this work? Thank for your time, an thank´s for make this.
@milinddabhade52806 жыл бұрын
Hey Scott Can You upload Full Tutorial on this how to make it
@swharden6 жыл бұрын
Just download the GitHub project! The link is in the description. Open it up, hit F5, and it runs.
@milinddabhade52806 жыл бұрын
Thank You Very Much Sir
@themonkeyminds72527 жыл бұрын
Sir are u doing with LabVIEW ??
@swharden7 жыл бұрын
C#. You will be able to double-click "something.exe" and this project will run. Free software.
@phisitja014 жыл бұрын
Nice. Thank.
@rbushlow4 жыл бұрын
Hay Scott, How do I find this in GitHub?
@swharden4 жыл бұрын
Source code link in description
@DontMansion5 жыл бұрын
can I show my python code. It has noise in low friquency
@technofeeliak2 жыл бұрын
Fourier Transform Equation Explained So, it's simple... but don't ask simple questions. It's vague, it's not complete... OMG, shoot me now. And the github link doesn't work... 404. Good job!
@matimekonen74307 жыл бұрын
Thank u bro ++++++
@energy-tunes7 ай бұрын
zoomers really use math pow to raise 2 to some power instead of shifting
@technofeeliak2 жыл бұрын
Can you please explain the concepts in *layman terms? *a person without professional or specialized knowledge in a particular subject It's great that you know what you're talking about. How long did it take you to fully grasp and implement these ideas? Right... so I'm here trying to follow your explanation. Not having had the same experiences. What's my point of reference? What do you and I, or what does your general audience and you have in common? Almost anyone can picture and even draw a wave. Okay, that's a start. Just about everyone who's been through high school has seen a cartesian plane. Great, so now we're cooking. Can you describe sound using a wave on a cartesian plane? Can you tell me how frequency works? Can you tell me as a math formula? Now can you explain how the computer interprets the data generated from the microphone? Is it simple pulses that are turned into digital information? Time + frequency = ? Pict vs note vs tone? Are there classes you want to point out that handle audio in Unity? What elements make up this formula? Instead of clarifying what you're doing you're just mentioning parts. But someone who doesn't understand the overall way this works, or someone who doesn't have a point of reference, doesn't know how to put all this together to get the results they want. Can you please change your approach?
@soulshine32943 жыл бұрын
có thể gửi giúp tôi file này qua gmail được không? tôi rất cảm ơn gmail: boyfantis@gmail.com