Comments (8)
Just ran your program and ran into a similar issue. If I yell at my microphone when I click run it works perfectly. Must have to do with some audio level input calibration in first run. Any ideas on if it is your code or if it is a libraries?
from csharp-data-visualization.
Just ran your program and ran into a similar issue. If I yell at my microphone when I click run it works perfectly. Must have to do with some audio level input calibration in first run. Any ideas on if it is your code or if it is a libraries?
I haven't looked into it specifically yet (I know this issue is a bit old), but I just uploaded a similar program a few days ago: https://github.com/swharden/ScottPlot/tree/master/demos#realtime-audio-data
You can download compiled versions here:
https://github.com/swharden/ScottPlot/tree/master/demos/AudioMonitor/compiled
Do they present the same problems?
from csharp-data-visualization.
I just ran the compiled version of the FFT AudioMonitor, and it presented the same issue. If I yell into the mic, it has far less 'mic noise' than the times that I open the program in silence.
from csharp-data-visualization.
One thought I had is that I'm trying to force the sound card to operate in 16-bit mode, but perhaps not all sound cards are happy with this. I made an alternate version which auto-detects the bit rate the sound card wants to operate at. Does this version have the same problem? autoBitRateFFT.zip
I'm starting to wonder if it may be an issue with NAudio (the library I'm using to access the microphone). They have demo code on their website you could use to test it out if you want...
https://github.com/naudio/NAudio/blob/master/Docs/RecordWavFileWinFormsWaveIn.md
ps: Thanks for helping me debug this! I can't recreate the issue on my home computer (but I can at my work computer).
from csharp-data-visualization.
I'm so sorry - I sent you the wrong ZIP. Does this version have the same problem?
from csharp-data-visualization.
I know what the problem is. I way over-thought it!
- left-click-drag to pan
- right-click-drag to zoom
- middle-click once to auto-scale
Just zoom out! It auto-zooms based upon the peak volume it hears in the first half-second or so.
Let me know how that works for you!
from csharp-data-visualization.
Haha yeah, sorry...That definitely solves it! I should have noticed the units were off. Speaking of which, your y-axis is labeled Hz, but it is definitely not 1 Hz up there. Does it maybe mean kHz? or are the graph units arbitrary...
from csharp-data-visualization.
Glad you got it working!
Yeah, that was a typo in the axis label. Those units are kHz. You can test it with http://www.szynalski.com/tone-generator/ to be sure.
from csharp-data-visualization.
Related Issues (20)
- PCM audio input clips HOT 1
- Values go out of graph area HOT 1
- Linux support? HOT 1
- How to, Detect sound Frequancy sample ( 10KHZ ) HOT 3
- What to use for Graphs visualization? HOT 1
- WPF: What is the best way to achieve continuous rendering? HOT 1
- drawtext-rectangle missing words HOT 2
- ImageSharp's relationship with the .NET Foundation
- add information about LightningChart
- add information about GrapeCity ComponentOne
- The Type or namespace "RectangleF' could not be found (are you missing a using directive or assembly reference) HOT 1
- FFt audiomonitor output hangs after a few minutes, or skips HOT 5
- SkiaSharp SVG export page
- Problem with conversion to Int16 HOT 3
- website contains dev pages that should be deleted
- Does this work with ASIO? HOT 1
- An unhandled exception of type 'System.NullReferenceException' occurred HOT 2
- How can I 2d-FFT fo Image using this NAudio.FFT? HOT 1
- provide compiled binaries for every project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp-data-visualization.