Convert .WAV file in-memory to byte Array [C#]
Adrian
1
Reputation point
Hi,
I have seen documentation to convert a .WAV file to a byte array using File.ReadAllBytes(//filePath).
I have a .WAV file saved to a variable in my program which is microphone input from the user. I would like to avoid I/O operations if a solution to convert a variable in memory into a byte array is possible.
Thank you for your time.
Community Center Not monitored
46,185 questions
Sign in to answer