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

New Post: Best strategy to avoid gaps in playing MP3s

Try changing "waveOutDevice = new WaveOut()" to "waveOutDevice = new WaveOutEvent()".  This will move the decoding to a background thread so your UI updates don't affect the playback.This should also...

View Article


New Post: Best strategy to avoid gaps in playing MP3s

also, NumberOfBuffers should not be 64. It should be 2 or at most 3. You're giving the soundcard much more work than it needs by constantly cycling through very short buffers. Pushing latency up also...

View Article


New Post: How to increase volume of an audio file?

I have a bunch of audio files that are super quiet. I would like to increase the volume on these files. I was planning on using theAudioFileReader.Volume member to increase the volume and then save the...

View Article

New Post: How to increase volume of an audio file?

the reader volume is not telling you how loud the audio is, 1.0 simply means that every sample will be left at an unchanged volume. If you set volume to 2.0, then every sample value will be doubled,...

View Article

New Post: Best strategy to avoid gaps in playing MP3s

The change to WaveOutEvent and setting number of buffers to 2 did the trick.The latency I need to experiment with, so that it corresponds roughly to the wireless sending of the fire message and...

View Article


New Post: NAudio Audio Playback

Hi,   I need to set audio output device(sound card) how can i assign that using naudio.

View Article

New Post: Best strategy to avoid gaps in playing MP3s

One thing to note about the "latency" is that really I shouldn't have called it latency. It is the total duration of all the buffers. Actual latency is half that if you are working with two buffers...

View Article

New Post: Multiple Audio Device

Hi,   I need to set audio output device(sound card) how can i assign audio device using naudio in normal form in normal form. can you please tell the sample code. public...

View Article


New Post: NAudio Multiple audio out

Hi,    In NAudio from where you are calling[ImportingConstructor] public AudioPlaybackPanel([ImportMany]IEnumerable<IOutputDevicePlugin> outputDevicePlugins){            InitializeComponent();...

View Article


New Post: NAudio Multiple audio out

To play sound in multiple soundcards, you need an output device per soundcard. So for example create two instances of WaveOut, and set the DeviceNumber property on each one.Mark 

View Article

New Post: NAudio Multiple audio out

hi,   In NAudio how I get output device and set device number... Thanks & Regards,Hinshin

View Article

New Post: NAudio Multiple audio out

var outputDevice = new WaveOut() outputDevice.DeviceNumber = 1;

View Article

New Post: NAudio Multiple audio out

Thankyou I got the solution.

View Article


New Post: WAV File Frequency Change

Is there a way to modify a WAV file's frequency?

View Article

New Post: NAudio Multiple audio out

Hi,   Thanks for your quick response. 

View Article


New Post: WAV File Frequency Change

do you mean change the sample rate? If so you can use WaveFormatConversionStream or DmoResamplerStream

View Article

New Post: Audio Samplerate

Hi Mark - thanks for the reply.  In Windows Vista and later, you can use the core audio library to control the sample rate from the application.  It's a big pain though, so I've abandoned this effort...

View Article


New Post: Converting WAVs to AIFFs

Hi Mark and Keith,You're more than welcome to use the AiffFileWriter that I wrote, which is here:  http://giawa.com/tutorials/src/AiffFileWriter.csIt depends on an IEEE floating point library, which is...

View Article

New Post: NAudio eating memory

I am using NAudio to play Mp3 files in my .NET 4 app. First of all I initialize WaveOut: IWavePlayer^ waveOutDevice = gcnew WaveOut();  Then I have 2 buttons. Play button :(code) volumeStream = gcnew...

View Article

New Post: Converting WAVs to AIFFs

Much appreciated!

View Article
Browsing all 5831 articles
Browse latest View live


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