New Post: Accessing Individual Mic From a Microphone Array
If there are two microphones it should provide a stereo input, so record them both and throw away the samples from the channel you don't want.
View ArticleNew Post: Accessing Individual Mic From a Microphone Array
Thanks a lot for reply Mark. Following is my data available event // bwp is BufferedWaveProvider // wo.init(bwp) void wi_DataAvailable(object sender, WaveInEventArgs e) { bwp.AddSamples(Make2Bytes0(e),...
View ArticleNew Post: Accessing Individual Mic From a Microphone Array
so instead of zeroing the left channel, copy the samples from the right channel. By the way, unless you are working with 8 bit audio, you'll need to treat every pair of two bytes as a single sample
View ArticleNew Post: Accessing Individual Mic From a Microphone Array
Hi Mark, Thanks A lot that did work :) . But just one last question, I know that microphone arrays are used to process data from the two mics(Determine direction and enhance the quality and stuff) , so...
View ArticleNew Post: Equalizer
I was thinking about that, but I guess it requires a lot of testing and comparing against a known working sample. I just wish there was an easy way to incorporate Audacity's equalizer into the NAudio...
View ArticleNew Post: Equalizer
a signal with no effects is called "dry", a signal with effects is called "wet". With some effects, you mix the dry in with the wet (e.g. reverb). It's not so common with EQ though.
View ArticleNew Post: Accessing Individual Mic From a Microphone Array
It depends on your soundcard drivers. But I would expect it to normally just give the raw samples without any processing.
View ArticleNew Post: Convert Multi-Channel .wav to Mono .wav
in a loop call reader.Read to read all channels (make sure you read in multiples of BlockAlign). Then just copy the samples for the channel you want into an array, and write it to a WaveFileWriter
View ArticleNew Post: Combining 2 mono wavestreams to 1 stereo wavestream
the length will be the longer of the two input streams,
View ArticleNew Post: Can I save Captured audio as amr file?
I'm afraid NAudio has no support for creating AMR files. However if you have an ACM codec that can encode AMR, then you could use WaveFormatConversionStream to encode PCM to AMR.
View ArticleCommented Unassigned: Exception When Calling...
I have been trying to use the new media foundation facilities in NAudio version 1.7 pre release (downloaded 2013-08-05 @ 15:20 UTC) and have come across the following issue. I am writing a program...
View ArticleEdited Unassigned: Exception When Calling MediaFoundationEncoder.EncodeToWma...
I have been trying to use the new media foundation facilities in NAudio version 1.7 pre release (downloaded 2013-08-05 @ 15:20 UTC) and have come across the following issue. I am writing a program...
View ArticleNew Post: Coding Encoding in memory (NAudio 1.7 alpha)
hi Roman, MediaFoundationEncoder is still a fairly new part of NAudio, and it would be nice to support encoding in memory. If you want to create your own patch to NAudio to support this I would...
View ArticleNew Post: Must read complete blocks. Using Wave16ToFloatProvider
When calling wave16.Read below, I get the error "Must read complete blocks". Have been fiddling with this for a few hours and not managed to find a resolution. Can anybody help me out please?WaveStream...
View ArticleNew Post: Combining 2 mono wavestreams to 1 stereo wavestream
I've created my own implementation. I did try to use the Buffer helper functions, but am getting strange memory corruptions (due to the trick with mapping floats over bytes etc) so I ended up just...
View ArticleNew Post: wave file amplify
mark, i used VolumeSampleProvider as you told me...but no change occure at output file. i changed the volume value in volule sample provider. but not effecting, my code is below... var mySample = new...
View ArticleNew Post: Output mp3 stream, playback G722 stream
First of all, thanks for the great audio library! You have done a fantastic job at both development and support. Questions 1) If I want to stream an MP3 (not playback a stream) do I simply put the MP3...
View ArticleNew Post: Cue Reader Example
Thanks Mark. That worked to display in my listbox. I know your busy. Another question. How could I seek to next cue position? Or wavestream.Position = cue.Label ? Sorry for the noob questions. Many...
View ArticleNew Post: Is it possible to record mic and speaker to mp3?
Hi I’m new to naudio and I want to record the audio in (mic) and audio output (speakers). Is it possible using naudio to capture boot in and output sounds to one file? Code sample please thanks.
View ArticleNew Post: Can I save Captured audio as amr file?
thanks,by the way why can i capture sound in same pc but others cant
View Article