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

New Post: Question about the Framework (record only when dB high enough)

sure, you call "StartRecording", but every time a buffer of audio is available (DataAvailable event), you examine the value of each sample. If the volume is greater than a particular threshold, you...

View Article


Commented Issue: What could cause a "InvalidParameter calling acmStreamClose"...

Some of my users are randomly getting a "InvalidParameter calling acmStreamClose"Sad thing, I can't reproduce this on my machine and I have no hardware information about the users machine.Here is the...

View Article


New Post: Question about the Framework (record only when dB high enough)

markheath wrote:sure, you call "StartRecording", but every time a buffer of audio is available (DataAvailable event), you examine the value of each sample. If the volume is greater than a particular...

View Article

New Post: Question about the Framework (record only when dB high enough)

Do you know how the bytes are sorted? I mean I got to record sound to a .mp3 (there is a less space consuming file type? quality is no issue) but I want to know how the bytes are sorted in the 'buffer'...

View Article

New Post: Playing output from self made MP3 Decoder

Thanks for all the respones, i really like that.So its bug killing time, i think i will use NLayer to see where it goes wrong. I dont know how yet, existing decoders are really well optimised making it...

View Article


New Post: Voice Activated Switch

Hi Everyone,I have to implement a sound recorder, that activates with sound and deactivates with silence. It is known as voice activated switch.Is there anyone that has implemented this kind of...

View Article

Created Issue: WaveStillPlaying calling waveUnprepareHeader [16385]

I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.I am occasionally getting a NAudio.MmException "WaveStillPlaying calling...

View Article

Created Issue: System.NullReferenceException in...

I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.I am occasionally getting a System.NullReferenceException from...

View Article


Created Issue: NAudio.MmException - WaveStillPlaying calling waveOutWrite...

I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.I am occasionally getting a NAudio.MmException from...

View Article


New Post: NAudio Error question

Ok so I have one last question, I hope you dont mind: so now I have a timer which update every 10 miliseconds, after the timer starts i do this : waveOutDevice.Dispose();...

View Article

New Post: NAudio Error question

you're disposing the waveOutDevice every 10ms? It needs to be kept alive. Really you should open it once and keep it open for the whole duration of your playback.

View Article

New Post: NAudio Error question

well I removed the Dispose() line but I can hear sound only if I add Thread.Sleep at the end of the timer. :)

View Article

Commented Issue: AddTrack [16336]

I noticed what looks like odd behavior while using the AddTrack() method... I might be misunderstanding how to use it but here is some brief debug code to illustrate the situation:{{...

View Article


New Post: NAudio Error question

The idea is you create just one device, and only call Init and Play once. Then in your timer, you add inputs to the mixer. Also, starting sounds every 10ms is pretty heavy-duty. You'll be playing 100...

View Article

New Post: Question about the Framework (record only when dB high enough)

In a WAV file the bytes are little endian (intel byte order) and are interleaved left channel, right channel. In an MP3 file, you cannot access the samples directly. To make MP3, you record as WAV and...

View Article


Commented Issue: System.NullReferenceException in...

I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.I am occasionally getting a System.NullReferenceException from...

View Article

Commented Issue: System.NullReferenceException in...

I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.I am occasionally getting a System.NullReferenceException from...

View Article


New Post: Compare two different audio samples in real-time (karaoke)

Hi zassadgh, did you found a solution for the comparison?

View Article

New Post: Sample audio input for square waves

you can examine the value of each sample, by handling the DataAvailable property of WaveIn. This comes as a byte array, so if it was 16 bit samples, you'd use BitConverter.ToInt16 on each pair to get...

View Article

New Post: Sample audio input for square waves

Could you show some sudo code as I'm not sure about the bitconverter on each pair. Many thanks.

View Article
Browsing all 5831 articles
Browse latest View live


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