An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
I am trying to record audio stream from a microphone to file (wav format).
By default, the file is recorded in stereo, the IEEE Float codec, but I need to record audio in PCM-format (16 kHz, Mono)
Where should this format be used in this program code?
(variable need_wave_format)
I am trying to record audio stream from a microphone to file (wav format). By default, the file is recorded in stereo, the IEEE Float codec, but I need to record audio in PCM-format (16 kHz, Mono)
Where should this format be used in this program code? (variable need_wave_format)
The project uses NuGet CSCore.
Link to this sample project: https://github.com/LordKmon/CsCoreRecordProblem
Code from winform:
Where do I should to use variable "need_wave_format" in this code so that the output is a file of the Wav-PCM format?