Hi again!
Is your program getting the audio from the mic already? If so, can you give
some details about that? If not, to build the line chart, you will first
need to have access to the audio data from the mic in some way.
On Monday, December 21, 2020 at 9:25:05 AM UTC-5 Jeff Mangan wrote:
>
I believe https://github.com/mdlayher/waveform does what you're hoping to
do, and uses it to generate waveform images.
Matt Aimonetti, a co-founder of Splice, has several audio-related libraries
at https://github.com/go-audio, and a great non-Go-specific article about
generating waveform data
I haven't fully grasped the type inference/promotion/demotion rules yet,
particularly with respect to having function arguments & return values with
interface types.
Here is a distilled example that I think illustrates some confusion I have:
https://play.golang.org/p/-1YXdK1R0T
Any clues on wh