New Post: byte array to WAV?
Thanks for replying Mark. Â do you know how this would be done? i am trying to use visual c#, using a GUI to open the ASCII .txt file then write the samples to wave format. I am not to clear on the...
View ArticleNew Post: Decoding IeeeFloat 32 bits per channel
drmo wrote: just for other peoples benefit. this is actually called BitConverter.ToSingle() for some strange reason The C# float keyword is really just a compiler alias for the BCL type System.Single,...
View ArticleNew Post: connect input channels and output channels??how?
Pro audio interfaces tend to have good ASIO drivers but not so good if you want to use any other driver model. Unfortunately, NAudio hasn't got ASIO in support yet (something I want to add really...
View ArticleCommented Issue: WaveOut playback fails in a remote desktop session [7257]
When I connect to a machine via remote desktop, the WaveOut playback fails with a MmException: WaveBadFormat calling waveOutOpen. The callstack is: NAudio.dll!NAudio.MmException.Try(NAudio.MmResult...
View ArticleCommented Issue: MidiFileConverter missing in NAudio-Source.zip [16339]
F.Y.I. The MidiFileConverter project is missing missing from the NAudio-Source.zip.RegardsComments: I've updated the script that makes the source zip, so should be correct in next NAudio release
View ArticleCommented Issue: WaveOut playback fails in a remote desktop session [7257]
When I connect to a machine via remote desktop, the WaveOut playback fails with a MmException: WaveBadFormat calling waveOutOpen. The callstack is: NAudio.dll!NAudio.MmException.Try(NAudio.MmResult...
View ArticleNew Post: BufferedWaveProvider run out
Hi all. We are doing a stream audio application and using BufferedWaveProvider to try to provide a smooth audio sensation. Although we have a thread trying to track the buffer filling level to avoid...
View ArticleNew Post: BufferedWaveProvider run out
BufferedWaveProvider should just be returning zeros if there is no data in the buffer, so you should hear silence. Are you using NAudio 1.5?
View ArticleNew Post: BufferedWaveProvider run out
I think so. The .dll files are created at 2011 - 12 -118 21:03. To give more information, it seems that NAudio arises an exception prior to the noise to appear (I don't kow what, because it doesn't...
View ArticleNew Post: BufferedWaveProvider run out
if you can debug with break on all exceptions set in Visual Studio, it would help to know the details of the exception being thrown
View ArticleNew Post: Midi Sequencer
Wondering since you have sf2 done and sfz started if your going to eventually have midi playback within Naudio without having to use an external sequencer.
View ArticleNew Post: Midi Sequencer
It has always been my plan to make a synth/sampler in NAudio, and I've got some basic prototype code, but its not ready yet. Once a sampler has been done, midi playback would be a good next step, but...
View ArticleNew Post: byte array to WAV?
well to parse samples in a text file you would use float.Parse. For a binary file, you would need to use a FileStream and read into a buffer, and then use the BitConverter to get the data out as samples
View ArticleNew Post: WasapiCapture not reusable
yes, WasapiCapture just works for one-time recording, and it is best to create a new one. Probably is something that should be fixed in a future NAudio. Will turn this into a work item. Mark
View ArticleNew Post: WasapiCapture not reusable
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleCreated Issue: WasapiCapture not reusable [16341]
I've been writing an app that records chunks of input audio to multiple files, with gaps between, but I discovered that if I try a call sequence which essentially boils down to this:WasapiCapture...
View ArticleCommented Issue: WasapiCapture not reusable [16341]
I've been writing an app that records chunks of input audio to multiple files, with gaps between, but I discovered that if I try a call sequence which essentially boils down to this:WasapiCapture...
View ArticleCommented Issue: WasapiCapture not reusable [16341]
I've been writing an app that records chunks of input audio to multiple files, with gaps between, but I discovered that if I try a call sequence which essentially boils down to this:WasapiCapture...
View ArticleUpdated Wiki: Documentation
The NAudio Documentation Wiki NAudio FAQ What is NAudio? NAudio is an open source audio API for .NET written in C# by Mark Heath, with contributions from many other developers. It is intended to...
View ArticleCommented Issue: WasapiCapture not reusable [16341]
I've been writing an app that records chunks of input audio to multiple files, with gaps between, but I discovered that if I try a call sequence which essentially boils down to this:WasapiCapture...
View Article