Quantcast
Channel: NAudio
Browsing all 5831 articles
Browse latest View live
↧

New Post: Microphone boost and volume with NAudio

yes, that's right. You could use a Pcm16BitToSampleProvider to get to IEEE float, then use a VolumeSampleProvider to modify the volume, before finally using a SampleToWaveprovider16 to clip and go back...

View Article


New Post: WaveOut FFT spectrum

Ok, so if I try to compile with .NET Framework 3.5 I get various errors listed:Fehler 1 "System.Windows.Controls.Canvas" enthält keine Definition für "CacheMode", und es konnte keine...

View Article


New Post: WaveOut FFT spectrum

it's a new property in .NET 4 to help optimise drawing. Just delete any lines of code that set it.

View Article

New Post: WaveOut FFT spectrum

Ok good. All errors resolved an I compiled with .Net Framework 3.5. SO far so good. But the example project still shows "some" error messages:Fehler 1 Der Name "InitializeComponent" ist im aktuellen...

View Article

New Post: WaveOut FFT spectrum

Or are the xaml files the winforms? I´m confused :S I´m a VB programmer...

View Article


New Post: WaveIn.Device not giving proper result if audio service is stopped

Thanks for your valuable reply, Yes sir, i checked code and i found that WaveIn internally using waveInGetNumDevs function to retrieve audio device count.but sir do we have any other way to get proper...

View Article

New Post: Attempted to read or write protected memory. This is often an...

generally Why system throws access violation error ?

View Article

New Post: Obtaining Audio Device GUIDs

Hi All, I'm trying to get the GUID for the system audio devices. The best NAudio API I could find is... MMDeviceEnumerator DevEnum = new MMDeviceEnumerator(); MMDeviceCollection devEnum =...

View Article


New Post: Obtaining Audio Device GUIDs

hi, this part of NAudio is really a fairly thin wrapper around the Windows Core Audio APIs, so the documentation you really want is MSDN. The ID property returns the value of the IMMDevice.GetId method...

View Article


New Post: Obtaining Audio Device GUIDs

Thanks Mark. I appreciate the reply.I looked at those MSDN API pages (pretty gorpy explanations) but thanks for the link. What I need to do is to determine which audio devices are "Speakers". Because...

View Article

New Post: Playback capture MMDevice to an specific render device

HiI tested the BufferedWaveProvider and worked like a charm, but I facing a strange issue: now I hear the stream in 2 different output devices (speakers and headphones (headphones is my default...

View Article

New Post: Device Name Truncation with WaveOut.GetCapabilities

I'm having a bit of a problem distinguishing device names due to the string truncation. I need to support XP users so I'm limited to WaveOut.GetCapabilities. This might be a possible fix to the problem...

View Article

New Post: Device Name Truncation with WaveOut.GetCapabilities

unfortunately, this is a limitation of the WaveOut APIs themselves. 32 is the value of MAXPNAMELEN as used by WAVEOUTCAPS. Changing this value in NAudio will not get you a longer product name. There is...

View Article


New Post: Device Name Truncation with WaveOut.GetCapabilities

Ok, Thanks Mark. The Ghost of Bill Gates strikes again. Who knew a device name would ever exceed a massive 32 bytes of memory? ;-)I'll make do with a 32 character name. I'm trying to get away from...

View Article

New Post: Detect digital silence in a wave file

Hi,my today's questions is how to detect digital silence (without noise, pure digital silence) in a (large) wave file and split it into pieces. As an example (--- means digital silence):Input wave:...

View Article


New Post: Mic input to effectStream Output

Thank you for answer. But I can't understand about to modify EffectStream to simply require an IWaveProvider. Please show me how to modify this. Thank you very much.

View Article

New Post: Can't make spectrum to work - VB 2010

I'm following the AudioPlaybackPanel.cs code and convert it to VB 2010 but just can't make the Spectrum to work. I mean, the PreVolumeMeter never firesI can play, pause, stop, move the position with a...

View Article


New Post: Why No MP3 License?

Windows comes with an MP3 decoder, which you are licensed to use already.Mark

View Article

New Post: Triming A wav file

you can look at the WaveFileFormat's AverageBytesPerSecond value, and use that to calculate the offsets needed. That's what I do in the blog post. Your xPos1 does not take this into account at all.Mark

View Article

New Post: Can't make spectrum to work - VB 2010

you are not using the SampleChannel at all. You are playing from the WaveChannel32. You need to pick one or the other.

View Article
Browsing all 5831 articles
Browse latest View live