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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleCreated 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 ArticleNew 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 ArticleCommented 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleCommented 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 ArticleCommented 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 ArticleEdited 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 ArticleSource 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 ArticleEdited 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 ArticleSource code checked in, #26ccacb7271b
merging in position reporting capabilities from ioctlLR
View Article