Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 3
    $\begingroup$ What type of data are you using in your testing (is it mic input only?) ? You could try by feeding 0 - Fs/2 sweep signal (constant amplitude) from file? $\endgroup$ Commented May 2, 2024 at 7:00
  • $\begingroup$ So the microphone produces 44.1kHz, 16-bit audio. I suppose I could re-jigger it to run off an imported sound file, but that's not really the use-case for the final implementation. I played some opera with sopranos singing VERY high notes and still only my bottom quarter of bins (0-255) showed any movement. $\endgroup$ Commented May 2, 2024 at 12:28
  • 1
    $\begingroup$ Use sweep etc. generated audio signal for testing purposes ... . Soprano goes little above 1kHz (+ few harmonics) so, if bins in your implementation covers whole frequency range (0 - 22.05kHz @ 44.1kHz sampling) you sure understand that using vocals in testing your software is not the best practice. $\endgroup$ Commented May 2, 2024 at 14:58
  • $\begingroup$ Point taken. I'm playing a little fast and loose as this is just for a simple animation, not a scientifically or statistically valid analysis of a waveform. $\endgroup$ Commented May 2, 2024 at 16:18
  • 1
    $\begingroup$ You can prepare such constant amplitude sweep (chirp) signal file with Audacity. $\endgroup$ Commented May 2, 2024 at 18:19