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
WAV's header contains a filesize. For streaming audio the size isn't known so this wouldn't work.
What you could do is use the functions on the Format struct to encode audio samples manually. You just have to make sure that the client and server agree on the format by either hardcoding it or sending your own custom header. You can use the wav encoding/decoding implementation for an example on how to use Format.
Normally a more compact format is used to stream audio like mp3 (I think). But beep can't encode that so yeah...
hello.
please add to wav package functions and types to parse and generate wav file headers directly, without decoding other data.
this can be very usefull for internet streamming when we need to send header to each new client and then start to transmit raw data from some source
The text was updated successfully, but these errors were encountered: