[go-nuts] Re: mic input level

2020-12-22 Thread ccahoon
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: >

[go-nuts] Re: get decibel level from audio stream or file

2020-12-16 Thread ccahoon
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

[go-nuts] Misunderstanding interface types as return types

2016-06-16 Thread ccahoon
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