save Pcm To Wav
Saves PCM byte array as a WAV file.
Parameters
pcm Data
Raw PCM data
file Path
Path to save the WAV file (e.g., "output.wav")
sample Rate
Sampling rate (e.g., 24000.0f or 44100.0f)
channels
Number of channels (1 for mono, 2 for stereo)