Questions tagged [naudio-framework]

34 questions
9
votes
2 answers

How to difference headphones from integrated audio in PC

I am using amazing NAudio framework to get the list of the audio devices. But as I see is impossible difference which audio device is PC's integrated audio and which is a headphones. I mean they have the same name and only if we plug the headphones…
NoWar
  • 36,338
  • 80
  • 323
  • 498
7
votes
3 answers

How to get float array of samples from audio file

I’m developing a UWP application ( for Windows 10) which works with audio data. It receives samples buffer at the start in the form of a float array of samples, which items are changing from -1f to 1f. Earlier I used NAudio.dll 1.8.0 that gives all…
D. Viktor
  • 111
  • 1
  • 7
5
votes
0 answers

Bad types trying to use audio recognition loopback

The Microsoft Speech system has a good example code, but I have a problem when adding loopback to record what it is playing not what is coming through mic. To give text description of a video for example while not playing it on the speaker. It seems…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
4
votes
1 answer

WasapiLoopbackCapture internal audio recognition gives jibberish and text when no audio

I finally have built a program to listen to the internal audio loopback using NAudio, and output recognized text. The problem is it listens, and always says, eg: Recognized text: had Recognized text: had Recognized text: had Recognized text:…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
4
votes
1 answer

wma compression audio files throwing error using Naudio

Here I have some codes for encoding wma audio files..Its works perfectly.but uploading out put file to server ,some error happend.Its shows output file should be meet the requirements like rate should be in 16000 public void ConvertToWMA(string…
user3277974
2
votes
1 answer

How to convert Linear16 PCM wav to G711 8-bit 8-khz MULAW wav with same quality as g711.org?

I am using NAudio to attempt to convert Linear16 PCM wav files that come out of a 3rd party Text-To-Speech API to G711 8-bit 8-khz MULAW that will work as a telephony prompt. Using techniques found in the library authors documentation and some…
xinunix
  • 561
  • 4
  • 15
2
votes
0 answers

Is Naudio suitable for real time audio processing?

I'm in the process of looking for an audio processing/dsp library. Thus far the most promising looking one has been the Naudio framework as it is feature rich and has some good learning materials. I was wondering if anyone here had used Naudio…
2
votes
1 answer

Copy and update content of actively recording Wav file to a new file

I have an active audio recording happening in WAV format with NAudio Library. private void RecordStart() { try { _sourceStream = new WaveIn { DeviceNumber = _recordingInstance.InputDeviceIndex, …
1
vote
1 answer

Choppy audio with NAudio using when trying to simulate a gameloop

I am trying to simulate a gameloop in NAudio, I have two loops one for recording and one for playing the audio back. Playback loop works every ~16ms but it sounds weird and choppy. Here is the code i'm using static void PlaybackLoop(double dt) …
Mentalrob
  • 11
  • 1
1
vote
0 answers

How to use VST3 plugin inside NET Application

I have NET application with input device and output device.. Now I have a VST3 plugin (speechextraction.vst3), and I need use this plugin (as affection) to take wave sound from input device and give wave to output device.. But How can I do in my…
1
vote
1 answer

Can real-time multi-channel audio convolution be performed in a C# application?

Specifically I'm looking to perform a two channel convolution operation on an audio file at playback. i.e. to add a reverb effect to the file using an impulse response, before it is sent to the sound card for playing. There is a distinct lack of…
AlexS
  • 510
  • 2
  • 7
  • 23
1
vote
1 answer

Unable to find an entry point named 'MFCreateMFByteStreamOnStreamEx' in DLL 'mfplat.dll'

We are using NAudio for MP4 to MP3 conversion. We are getting this error only for few MP4 files (not all MP4 files have this problem). Unable to find an entry point named 'MFCreateMFByteStreamOnStreamEx' in DLL 'mfplat.dll' The part of the code…
aaycee
  • 33
  • 1
  • 7
1
vote
1 answer

Where the segments listed in a HLS playlist are located?

I have the next HLS playlist: https://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master-128000.m3u8. It contains AAC audio file segments links. File content is: #EXTM3U #EXT-X-VERSION:3 ## Created with Z/IPStream R/2…
1
vote
1 answer

For microphone devices NAudio is not providing "Device Number"

I'm using NAudio to record audio from multiple microphone devices, but the problem is, to assign the device I have to provide device number (in WaveIn object), which is unknown. WaveIn _waveInMicrophone = new WaveIn { …
Amit Chauhan
  • 230
  • 2
  • 20
1
vote
1 answer

Output audio to speaker and headset at the same time?

I'm using NAudio to output audio files to both the speaker and a headset on a window 10 laptop. I created two WaveOut and assigned the corresponding device number. But I cannot here the audio from the speaker when the headset is plugged in. Can…
1
2 3