hi
i'm doing a project which concerns an audio chat, but not understand how to do some things:
I capture the audio through microphone with "wavein" into the buffer type "BufferedWaveProvider", but I need that the file is lightweight, because I should send it.
how i do it ??, how compress it ??
sorry for my english.
i'm doing a project which concerns an audio chat, but not understand how to do some things:
I capture the audio through microphone with "wavein" into the buffer type "BufferedWaveProvider", but I need that the file is lightweight, because I should send it.
how i do it ??, how compress it ??
sorry for my english.
Dim inp As WaveIn
Dim sampleRate As integer = 8000
Dim channels As Integer = 1
Dim bitrate As Integer = 16
Dim wav As New WaveFormat(sampleRate,bitrate,channels)
Dim buffer As New BufferedWaveProvider(wav)
//here start recording
inp=New WaveIn()
inp.DeviceNumber=0
inp.WaveFormat = New WaveFormat(sampleRate,bitrate,channels)
AddHandler inp.DataAvailable, AddressOf upd
inp.StartRecording()