New Post: NAudio now playing FLAC files!
Hi guys, Sorry for the late response, I'm pretty busy at work. I already emailed rogdart and asked for more evidence - I need the flac file and full steps to reproduce it. NAudioFlac is a wrapper over...
View ArticleNew Post: Play PCM generated stream
I'm not sure exactly what you are asking. Are you trying to repeat a short sound 50 times a second?
View ArticleCommented Unassigned: WasapiLoopbackCapture - Dataavailable not working as...
Made a post in the forum about it.Not exactly sure if it´s just me that have done something wrong, but i can´t see what the issue can be so.When i use .Dataavailable and send it through UDP and play it...
View ArticleNew Post: WasapiOut exclusive mode problem
WASAPI exclusive mode is very fussy about what formats it will work in. It's almost certainly the sample rate that's the issue here. Upsample to 44.1kHz
View ArticleNew Post: "Watermarking" a wav file
Hello, I was wondering if there were any examples of "watermarking" a wav file. For example, every 10 seconds, play a 2nd wav file, and then mix with the original wav file, then save that mixed stream...
View ArticleNew Post: "Watermarking" a wav file
no examples of exactly this, but you could make it with a MixingSampleProvider and OffsetSampleProvider. The best way would be to create a custom ISampleProvider that emitted your watermark at regular...
View ArticleNew Post: NAudio now playing FLAC files!
I managed to re-produce the problem. It is not a private case - the get current position logic was done incorrectly in FLACReader/NAudioFlac. The root cause is (well me) the weird and inconsistent way...
View ArticleNew Post: Unsupported wave format
I am using nAudio for wasapi loopback capture in a c# application (my first!), so a big thank you for Naudio! I have handed the application to a few friends, to test and it seems to run fine for them...
View ArticleNew Post: Unsupported wave format
do you get the error recording, or trying to replay the file?
View ArticleNew Post: Unsupported wave format
Thanks for the reply, the error comes when trying to record, interestingly the only difference in setup I have found so far is that he is running win 7 professional.
View ArticleNew Post: Unsupported wave format
I've experienced this when the format listed on the advanced tab of the microphone properties doesn't match the wave format in the code
View ArticleNew Post: Unsupported wave format
WasapiLoopbackCapture will usually be 44.1kHz or 48kHz, stereo, and 32 bit floating point. What might be catching you out is that WASAPI likes to use WAVEFORMATEXTENSIBLE in preference to a regular...
View ArticleNew Post: IMMNotificationClient questions
Hi, I've recently been trying to detect the insertion and removal of USB headsets, and after reading the Microsoft documentation on IMMDeviceEnumerator, IMMNotificationClient and IMMDevice I've tweaked...
View ArticleNew Post: Unsupported wave format
@erminh Will double check that when I can tonight, thank you. @Mark I am not actually setting it directly, would make sense that this is the issue - am curious as to why it would work for others in...
View ArticleNew Post: Unsupported wave format
normally you should not be setting it at all, which is why I am interested in finding out what it actually is
View ArticleNew Post: Unsupported wave format
Sorry edited before I had refreshed to check answers, Checking the contents on my machine it is: IeeeFloat, so looks as though I do need to change that to WAVEFORMATEXTENSIBLE. Will try and find out...
View ArticleNew Post: "Watermarking" a wav file
Thanks again Mark. I think I have this solved by creating a wav file in my DAW that emits a watermark every 10 seconds for 10 minutes, and then I created my own MixingWaterMarkProvider that mixes the...
View ArticleNew Post: Detect DRM?
Is there a way to detect DRM on the files? Right now i'm just getting an unknown exception, i would like to detect if the exception is bacause of DRM or just a error.
View ArticleNew Post: NAudio in a game ?
Hello, I'm really interested in using NAudio with the Unity game engine to implement it with a game I'm working on. However, after reading the docs and checking the example projects I still have a...
View ArticleNew Post: WasapiOut exclusive mode problem
Thanks for an answer. I changed sample rate and it works now. My source of wave is MS Speech. reader = new SpeechSynthesizer(); reader.SelectVoice(AppSettings.VoiceName);...
View Article