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

New Post: streaming real time audio from bluetooth stethoscope

try using the BufferedWaveProvider and putting audio into that as you receive it. Then just play from the BufferedWaveProvider.

View Article


New Post: Is NAudio feasible for live SoundFont playback?

I want to use NAudio to playback multiple SoundFont tracks in parallel (basically an 8-Track MIDI File) and I wonder if it is feasible for that task or if SoundFonts are more intended as a "Save to WAV...

View Article


New Post: Is NAudio feasible for live SoundFont playback?

Certainly this is feasible in realtime. You'll have to write the wavetable synthesis logic, but most of the rest of the plumbing is available in NAudio already. I would suggest implementing...

View Article

New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

Hi, I'm trying to read samples from a sound file into an array of floats but it seems that the array gets filled with 0s each time, I have no clue what I'm doing wrong...class Naudio{ public static...

View Article

Created Unassigned: Wrong BitsPerSample with WasapiLoopbackCapture [16401]

HelloI have a 24 bits per sample / 192kHz sound board and I am using the Wasapi Loopback Capture method to get data from it.When I print out the capabilities of the board, it shows 32 bits per sample...

View Article


New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

it might be because you are trying to read such a low number of samples - only 100 which is just 2ms worth of sound. Try increasing the amount you read at once and see if that helps

View Article

Commented Unassigned: Wrong BitsPerSample with WasapiLoopbackCapture [16401]

HelloI have a 24 bits per sample / 192kHz sound board and I am using the Wasapi Loopback Capture method to get data from it.When I print out the capabilities of the board, it shows 32 bits per sample...

View Article

New Post: Stop writing to file when no audio detected

use WaveFormat.AverageBytesPerSecond to convert between bytes and time DataAvailable is called whenever a buffer full of audio is returned by the soundcard

View Article


New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

No dice, it only seems to work if I put the mysample.Read(sampleData, 0, 1000); in a for loop that loops 1000 times. It's strange I have no clue why it works with the loop and not without it...

View Article


New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

well the start of most files would likely be silence, so it would be quite normal for the first few hundred or thousand samples to be all zeros

View Article

New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

Really? Even for a file that starts instantaneously? Sorry, I'm not exactly an expert with sound related programming or anything related to sound at all... Edit: while(mysample.Read(sampleData, 0, 8)...

View Article

New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

Well I haven't seen your audio file, so I'm only guessing. 100 samples is only 2ms though, so it wouldn't surprise me at all if you had an empty buffer in your first read. One thing you haven't said is...

View Article

New Post: How does ISampleProvider.Read(float[] buffer, int offset, int...

Alright, System.Console.WriteLine(mysample.Read(sampleData, 0, 8)); returns 8 if called before the while statement but if called after it returns 0. Edit: I also tried putting...

View Article


Commented Unassigned: Wrong BitsPerSample with WasapiLoopbackCapture [16401]

HelloI have a 24 bits per sample / 192kHz sound board and I am using the Wasapi Loopback Capture method to get data from it.When I print out the capabilities of the board, it shows 32 bits per sample...

View Article

Commented Unassigned: Wrong BitsPerSample with WasapiLoopbackCapture [16401]

HelloI have a 24 bits per sample / 192kHz sound board and I am using the Wasapi Loopback Capture method to get data from it.When I print out the capabilities of the board, it shows 32 bits per sample...

View Article


Edited Unassigned: Deadlock in Callback with WaveOut.GetPosition [16398]

I call WaveOut.GetPosition up to 60 times per second to sync an animation, and when using the Callback strategy, I get deadlocks very quickly (within 20-30 seconds) and consistently (all the time)....

View Article

Source code checked in, #95581002359a

attempting to make MP3 file reader able to cope with problem MP3s where the first frame is some kind of special header, but was not correctly identified as one

View Article


Edited Unassigned: Wrong BitsPerSample with WasapiLoopbackCapture [16401]

HelloI have a 24 bits per sample / 192kHz sound board and I am using the Wasapi Loopback Capture method to get data from it.When I print out the capabilities of the board, it shows 32 bits per sample...

View Article

Source code checked in, #fd13cf4e4119

updating nuspec for another alpha release

View Article

Source code checked in, #26ccacb7271b

merging in position reporting capabilities from ioctlLR

View Article
Browsing all 5831 articles
Browse latest View live


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