+
Skip to content
/ nectar Public

detecting musical notes from an audio input through the use of (fast) fourier transforms in go

Notifications You must be signed in to change notification settings

fr3fou/nectar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nectar

Detecting musical notes from an audio input through the use of (Fast) Fourier Transforms in Go.

TODO

  • Read mic output
  • Parse samples
  • Implement DFT
    • Fix conjugate symmetry (ignore half the values)

      Here we note that there is a symmetry to the graph. This is not a coincidence: if the input signal is real-valued, it will always be the case that the Fourier transform is symmetric about its center value. The reason for this goes back to our first primer on the Fourier series, in that the negative coefficients were complex conjugates of the positive ones. In any event, we only need concern ourselves with the first half of the values.

    • Fix values being twice as big
    • Optimize (Implement FFT) - using gonum
  • Caclulate frequency
  • Calculate the offset from A440
  • Filter out noise
  • Fix chugging (take the FFT of a smaller chunk, rather than a full second)

References

About

detecting musical notes from an audio input through the use of (fast) fourier transforms in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载