You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm getting audio input and I would like to save it to file but after adding wav header file.
Then save it to .wav file instead of .pcm now..
How to proceed using your library ? Here is my code:
nowS := now.Format("20060102150405")
pcmFile := fmt.Sprintf("%s/%s_%s.pcm", common.DISK, uid, nowS)
//[]byte data add header wav here before save
ioutil.WriteFile(pcmFile, data, 0644)
The text was updated successfully, but these errors were encountered:
Hello,
i'm getting audio input and I would like to save it to file but after adding wav header file.
Then save it to .wav file instead of .pcm now..
How to proceed using your library ? Here is my code:
The text was updated successfully, but these errors were encountered: