New Post: Adding a detailed info function to all WaveFormats
yes, I tried to use MFCreateMFByteStreamOnStream instead, but that just crashed for me.
View ArticleNew Post: Adaptive Mic Recording (Fill glap with silence to keep accurate time).
You just put this in your signal chain e.g.: BufferedWaveProvider -> CustomWavWritingProvider -> WaveOutEvent The output device is doing all the calls to Read, and BufferedWaveProvider is doing...
View ArticleNew Post: Stuttering audio as the player slows down
OK, that class is rather old, and I'd like to replace it at some point with something better. Possibly it is clipping going on, especially with that amount of makeup gain.
View ArticleNew Post: ASIO filereader playback problem
well on EOF it comes up to ASIODriver.stop(), but never returning from:return asioDriverVTable.stop(pASIOComObject); unfortunatly this is where my debugging came to an end (-:
View ArticleNew Post: Adding a detailed info function to all WaveFormats
DLL entry not found? Dont have access to a Win7 machine right now. I suppose if all else fails we could create our own MFCreateMFByteStreamOnStream function.
View ArticleNew Post: Adding a detailed info function to all WaveFormats
no the method was found. I think it was an access violation or similar. I'll test again and see if I can get further. I'll also post up my current attempt at getting a managed MFByteStream
View ArticleNew Post: ASIO filereader playback problem
oh dear, that's not good at all. I wonder if its your ASIO driver not liking being called from within the BufferUpdate callback. I know certain laptop chipsets (RealTek) have that problem with their...
View ArticleNew Post: Odd byte[] array behaviour in WaveFormat
yes, I don't actually pass WaveFormatExtraData directly into an interop signature, just use Marshal.StructToIntPtr (and vice versa). I thought that was working, as I used it quite a lot with the ACM...
View ArticleNew Post: ASIO filereader playback problem
Well I kinda stumbled onto this problem by chance, since the application;s main function will not be playing files and the target machine will have a MADI card which will be used, so hopefully this is...
View ArticleNew Post: Adaptive Mic Recording (Fill glap with silence to keep accurate time).
But how can i write, and then tell it to play it? Cause currently, if i add samples to the buffer and then write it, i will not hear anything, which i guess means reading clears it.
View ArticleNew Post: Spectrum Analyzer FFT
You probably dont need the MaximumCalculated volume for a freq graph.
View ArticleNew Post: WaveOut a DeviceNumber
Thanks Mark. Good to know. His problem is gone now since he swapped out the soundcard. Hardware issue apparently. And thanks for the release notes link. Good stuff. I'm glad I upgraded.
View ArticleNew Post: AsioOut - AsioSampleType (Int32LSB24) and channel question
Hi! At the moment I have some troubles at playing audio using the methods WaveOutEvent (too high latency), DirectSound (application crashes randomly [DirectSound buffer full]) and Wasapi (the soundcard...
View ArticleNew Post: AsioOut - AsioSampleType (Int32LSB24) and channel question
for the converter, you coiuld try with ConvertorFloatToIntGeneric, but using clampTo24Bit instead of clampToInt Basically I think its 24 bit samples in 32 bit words, so the only real challenge is...
View ArticleNew Post: Spectrum Analyzer FFT
ya.. You have told me.. But how do I call OnFftCalculated? since it requires a FftEventArgs as parameter. What I doing is create a line chart that will add all the x and y points to draw out a line...
View ArticleNew Post: real-time Audio data fetching using USB microphone
s2moon wrote: Hello, I was wondering if it is possible to write the code to fetch real-time audio data using multiple USB microphone using NAudio. If so, how would I do it? (I was looking at the sample...
View ArticleNew Post: AsioOut - AsioSampleType (Int32LSB24) and channel question
hi! Thanks for the very quick response. I've copied the Convertor and changed what you have suggested. Now that the "Int32LSB24 is not yet supported" Exception isn't thrown anymore I have a new...
View ArticleNew Post: real-time Audio data fetching using USB microphone
Actually, I want to draw a dynamic waveform figure of the voice. (It's in real-time) The X axis is time, Y axis is frequency. Maybe you can help me. Thanks!
View ArticleNew Post: Spectrum Analyzer FFT
When you create the aggregator, use this line to create the event aggregator.FftCalculated += (s, a) => OnFftCalculated(a); // <<< EVENT fftEventArgs is handled by Linq using => If you...
View Article