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

New Post: NAudio Audio Playback

Oh right, I must be doing something wrong then - doesn't show up in intellisense for me. Must have the wrong class I guess

View Article


New Post: multiple USB microphone recordng

Unfortunately it is not straightforward at all to record three devices and keep them in sync. WASAPI or ASIO will help you get lower latency which will help. All I can suggest is using timestamps for...

View Article


New Post: mixing audio received through serial port with a local audio file

you need to get to floating point first, then use a MixingSampleProvider to do the mixing. I'd use a BufferdWaveProvider and use ToSampleProvider() to get the recorded audio as floating point.

View Article

New Post: How to get preferred sample rate from the soundcard

I think if you simply create an instance of WasapiOut, its WaveFormat property should indicate the current device sample rate. In Windows is is usually 44.1kHz or 48kHz.

View Article

New Post: increase volumne of PCM file into byte array

Dear ioctlLR , Great and simple. Thanks man. really appreciated.

View Article


New Post: Is this a Bug for WaveFileWriter

Dear Sir, I am getting mad :( . I am getting sound over serial port , and I use WaveFilewriter class to write data to it at the DataReceived Event . It works great . Thanks, But ,at a certain time , I...

View Article

New Post: MFCreateWaveFormatExFromMFMediaType exception

I'm trying to get a WaveFormat from a MediaType via MediaFoundationReader but I'm not sure if this is the correct way of doing it. StructureToPtr is throwing an exception. Line:...

View Article

New Post: Is this a Bug for WaveFileWriter

Can you show us the code? It is difficult to see the problem otherwise.

View Article


New Post: why divide by 32768f

buffer1 is a double array I going send 32768 sample to my fft because it has to be 2^n number of sample sent to the fft I would told that double has more information than float and int and my graphic...

View Article


New Post: why divide by 32768f

It all makes sense now, casting to a double should work fine. Using a Sample Collector/Aggregator may be the best solution. It's a much cleaner way of sending samples to an FFT visualizer. Have a look...

View Article

New Post: MediaFoundation CreateWaveFormatFormMediaType

ManuN did you get this working?

View Article

New Post: MFCreateWaveFormatExFromMFMediaType exception

I got it working. In MediaFoundationInterop.cs I had to change internal static extern void MFCreateWaveFormatExFromMFMediaType(IMFMediaType pMFType, ref IntPtr ppWF, ref int pcbSize, int flags = 0); to...

View Article

Created Unassigned: PlaybackStopped event is not fired in Windows Embedded...

Using NAudio 1.6.0.0When the code below is running in a console application under Windows Embedded Standard 8, it doesn't raise the "PlaybackStopped" event.The exact same application works fine under...

View Article


New Post: Odd byte[] array behaviour in WaveFormat

I'm preparing AacWaveFormat based on WaveFormat which has a variable 'Extra Size' at the end. So I added a byte[] array at the end like in WaveFormatExtraData.cs In AacWaveFormat:...

View Article

Commented Unassigned: PlaybackStopped event is not fired in Windows Embedded...

Using NAudio 1.6.0.0When the code below is running in a console application under Windows Embedded Standard 8, it doesn't raise the "PlaybackStopped" event.The exact same application works fine under...

View Article


Commented Unassigned: PlaybackStopped event is not fired in Windows Embedded...

Using NAudio 1.6.0.0When the code below is running in a console application under Windows Embedded Standard 8, it doesn't raise the "PlaybackStopped" event.The exact same application works fine under...

View Article

New Post: Odd byte[] array behaviour in WaveFormat

what MF function are you actually calling that throws the exception? Maybe I used the NAudio custom waveformat marshaller for that bit, in which case you'll need to tell it about your AAC one.

View Article


New Post: Odd byte[] array behaviour in WaveFormat

Same as in CreateTransform in MediaFoundationResampler.cs. SetInputType()

View Article

Image may be NSFW.
Clik here to view.

New Post: failed to play the following sound file in naudiodemo

Hi .. in the naudio demo I tried to play back the following file (same file on both links...

View Article

New Post: why divide by 32768f

K24A3 I am a little lost here. I was able to find AudioPlayback demo file but I was not able to find AudioPlayback.cs or...

View Article
Browsing all 5831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>