New Post: Ima Adpcm Error during Compression
Hi Mark, CreateWaveFile() method you posted is same as which i am already using. Can you please try once by your self considering above WaveFormat Structure . Please reply as early as possible Regards,...
View ArticleNew Post: Complicated demo source?
hi Rimsey, I'm sorry you find the code complicated. NAudio is a library for going beyond simple tasks like audio playback, which you can use SoundPlayer or MediaElement for. It is for when you want...
View ArticleNew Post: TTS to non-default audio device
I've not used TTS very much, but if it doesn't offer output to a specific soundcard, you couold use output to stream, and then put the contents of that stream into a BufferedWaveProvider as they are...
View ArticleNew Post: Complicated demo source?
markheath wrote: Â NAudio is a library for going beyond simple tasks like audio playback, which you can use SoundPlayer or MediaElement for. It is for when you want access to the raw samples, so by its...
View ArticleNew Post: wavePlayer.Init
The Init function of the IWavePlayer does not seem to work well when used inside threads. When it encounters a badwaveformat it destroys the thread. This still seems not to affect to main program...
View ArticleNew Post: wavePlayer.Init
This is probably the solution ? http://naudio.codeplex.com/discussions/222379
View ArticleNew Post: wavePlayer.Init
IWavePlayer is an interface. What implementation are you using? Also, it runs on whatever thread you call it from. What is your application written in - WinForms, WPF, something else?
View ArticleNew Post: wavePlayer.Init
This is done in WinForms. IWavePlayer wavePlayer = new WaveOut(WaveCallbackInfo.FunctionCallback()); This is not a problem any more since I am now using AudioFileReader and returning WaveStream:...
View ArticleNew Post: wavePlayer.Init
I strongly recommend against using Function callback. It has been the source of endless problems. Just go with the default windowed callbacks and you will be fine. If you must have another thread, use...
View ArticleNew Post: Upconvert WAV sample rate
I have a WAV file at 8000 samples/sec and 8 bits per sample. It's stored as a C# byte array in memory. It needs to be converted to a 16000 samples/sec, 16 bits/sample WAV. The converted WAV can be...
View ArticleNew Post: Error :- MemoryAllocationError calling waveOutOpen while playing in...
I have a waveOut that plays inside a while loop which receives data from a udp socket.But unfortunately it trows an error after around 30 secs saying "MemoryAllocationError calling waveOutOpen"I use...
View ArticleNew Post: Error :- MemoryAllocationError calling waveOutOpen while playing in...
you should be doing your waveOutStream Init and Play outside the loop, and use a BufferedWaveProvider to feed wave out. Inside the loop, you shuold put the data received into the BufferedWaveProvider....
View ArticleNew Post: Upconvert WAV sample rate
You can use WaveFormatConversionStream to upsample, or convert from one bit depth to another. It seem likely that your original audio was a-law or u-law, so your conversion to 16kHz 16 bit would need...
View ArticleUpdated Wiki: Home
NAudio Overview NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET. It has been in...
View ArticleNew Comment on "Convert a MP3 to WAV"
Could it be possible to change the bitrate from 1411 kbps to 128kbps?
View ArticleCreated Issue: 1.5.9 build from source runtime error [16344]
just download latest source 1.5.9 buid release any cpurun naudiodemo.exe from bin release and crushmy os win 7 ultimate x64 sp1any idea?Problem signature: Problem Event Name: APPCRASH Application Name:...
View ArticleEdited Issue: 1.5.9 build from source naudiodemo crush on launch [16344]
just download latest source 1.5.9 buid release any cpurun naudiodemo.exe from bin release and crushmy os win 7 ultimate x64 sp1any idea?Problem signature: Problem Event Name: APPCRASH Application Name:...
View ArticleCreated Issue: Destination array was not long anough when reading mp3 file...
I've got this code static void Main(string[] args) { try { Mp3FileReader reader = new Mp3FileReader(@"C:\testAudio.mp3"); long count = reader.Length; if (count <= int.MaxValue) { byte[] info = new...
View ArticleCommented Issue: 1.5.9 build from source naudiodemo crush on launch [16344]
just download latest source 1.5.9 buid release any cpurun naudiodemo.exe from bin release and crushmy os win 7 ultimate x64 sp1any idea?Problem signature: Problem Event Name: APPCRASH Application Name:...
View Article