New Post: NAudio Performance
that's interesting. LowLatency mode has been on my list of things to experiment with for some time, but I haven't got round to it yet. It it does work like that, that will be excellent for audio. You...
View ArticleNew Post: NAudio Performance
markheath wrote:that's interesting. LowLatency mode has been on my list of things to experiment with for some time, but I haven't got round to it yet. It it does work like that, that will be excellent...
View ArticleNew Post: G.727 Support
Hi Mark,I fully agree that BlockAlign for A-law should be 1. But as far as I can see, it can be greater. In this short example I wanted to show what happens, if you use a BlockAlign 1024, which I use.I...
View ArticleNew Post: PanSlider Object - How to use?
Hello and Thanks! I have already a IWavePlayer using a MeteringSampleProvider. So how can I use a MeteringSampleProvider and a PanningSampleProvider in the same Player? Does it work with Stereo Sound...
View ArticleNew Post: Asio Channel offset pairs
I mean is there a way to get the number of Asio Channels, and display them to a combo box?Like there is for WaveOut.DeviceCount, but add AsioOut.ChannelCount?
View ArticleNew Post: Asio Channel offset pairs
I recently checked in a change that adds properties for this (DriverInputChannelCount and DriverOutputChannelCount)
View ArticleNew Post: Asio Channel offset pairs
Any chance of a code snippet, or could it be included in the NAudio Demo?Thanks, Wyatt
View ArticleNew Post: WaveFormatConversionStream on WP7
I'm trying to implement a converter such that the 16KHz audio that is recorded by WP7's microphone can be down sampled to 8KHz, ideally ALaw, as is required by an API I'm using and I'd like to use...
View ArticleNew Post: G.727 Support
Hi Mark,do you think it is a calibration thing, or do you suggest to solve it differently?
View ArticleNew Post: WaveFormatConversionStream on WP7
You can't use WaveFormatConversionStream on the Windows Phone as it calls into the ACM APIs which are not available.However, I have implemented fully managed a-law encoding and decoding in NAudio, so...
View ArticleNew Post: Asio Channel offset pairs
Just call those properties on AsioOut. They return integers.
View ArticleNew Post: WaveFormatConversionStream on WP7
Ah, good to hear it is possible and thanks for setting me on the right track. No pun intended... I'll have a look for the ALaw conversion methods and will give them a go.Thanks, JB
View ArticleNew Post: PanSlider Object - How to use?
You pipe them through each other. So pass the MeteringSampleProvider into the PanningSampleProvider (or the other way round, depending if you want to meter the sound before it is panned or not).Mark
View ArticleNew Post: G.727 Support
I'm not sure what you mean by "stumbling". 24000 is also possibly not suppored by all soundcards. 22050 is more likely.
View ArticleNew Post: G.727 Support
Hi Mark,I have PCM, aLaw and ADPCM2, 3, 4 & 5 data with sample rates of 8000, 12000, 16000 and 19200. For PCM and aLaw also 24000. My soundcard had never a problem with any of these sample rates....
View ArticleNew Post: Asio Channel offset pairs
Thanks Mark.Is there a way to get AsioOut.GetCapabilities?Sorry for the confusion.Heres what I'm trying to do.Here's an example on a windows form with a button and listbox using WaveOut.Is it possible...
View ArticleNew Post: Need help with exception thrown by NAudio
Thanks, it doesn't seem like there has been any progress in the bug report you listed. Is there anything I can do to help? What I'm working on is a simple tool to help friends and family and while...
View ArticleNew Post: Need help with exception thrown by NAudio
Yes, you could do a null check, although I can't understand what is causing it to be null. What callback model are you using.Alternatively, you could try using WaveInEvent instead, which may be more...
View ArticleNew Post: Asio Channel offset pairs
unfortunately I you have to open the ASIO device to query it for channel count, so you'd have to write your own code that creates a new instance of AsioOut for each driver and asks it for these...
View ArticleNew Post: G.727 Support
You can try wrapping your waveformatconversionstream in a blockalignreductionstream before passing it to waveout, which might help. I still can't understand why you'd need to change blockalign for...
View Article