naudio Questions
4
Solved
I am using the NAudio library to write a simple WinForms audio recorder/player. My problem is how can I tell that playback is completed? I need to close the wave stream after that.
I knew there is...
7
Solved
Hi there iam trying to convert text to speech (wav) in the memorystream convert it to mp3 and then play it on the users page.so need i help what to do next?
here is my asmx code :
[WebMethod]
pu...
10
Solved
5
Solved
4
Solved
I'm using NAudio library in a C# application. I'm trying to seek an audio (*.mp3 file) to the position I want.
However I didn't figure out how to do it.
//Play the file starting from 16th second
...
1
Solved
I am trying to convert a .wav to an .mp3 file.
My code usually works but now I have gotten a .wav file that was exported with Imovie and I get the error 'NoDriver calling acmFormatSuggest'.
The int...
1
Requirement:
I am trying to capture Audio/Video of windows screen with SharpAPI Example with Loopback audio stream of NAudio Example.
I am using C#, wpf to achieve the same.
Couple of nuget pac...
Doubtless asked 15/2, 2020 at 11:51
1
Solved
I am trying to convert .vox to .mp3 or .wav with NAudio with the code below:-
var bytes = GetBytes(new FileInfo(@"D:\path\to\vox-file.vox"));
using (var writer = new WaveFileWriter(@&quo...
6
Solved
3
The below is my sample code to record audio coming from a speaker. It is working fine. But it is recording audio only when some audio is coming out from speaker. If there is no audio then it is not...
3
Solved
I want to record raw audio from WASAPI loopback by NAudio and pipe to FFmpeg for streaming via memory stream. As from this document, FFmpeg can get input as Raw However, I got result speed at 8~10x...
3
Solved
I'm trying to convert a WAV file(PCM,48kHz, 4-Channel, 16 bit) into mono-channel WAV files.
I tried splittiing the WAV file into 4 byte-arrays like this answer and created a WaveMemoryStream like ...
0
I have a requirement to use IBM Watson SDK to record the audio using microphone and send it to IBM Watson speech-to-text using C#. I am able to achieve this functionality by saving the audio file l...
Writ asked 30/8, 2020 at 7:18
4
Solved
2
Solved
I'm using NAudio in my with my Wpf app first time.
Steps:
1) Recording to MemoryStream using NAudio (C#, Wpf). This is my recording code:
public void StartRecording()
{
this.waveSource = new ...
3
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...
Irritating asked 27/2, 2017 at 10:48
2
How can you get a list of all the recording devices on a computer using NAudio? When you want to record, you have to give it the index of the device you want to use, but there's no way of knowing w...
2
Solved
Enabling recording devices programmatically
I want to enable the disabled device in Sound - Recording devices list programmatically
I was able to get a list of disabled devices using Naudio
Bu...
3
Solved
WaveStream waveStream = new Mp3FileReader(mp3FileToPlay);
var waveOut = new WaveOut();
waveOut.Init(waveStream);
waveOut.Play();
This throws an exception:
WaveBadFormat calling waveOutOpen
...
2
Solved
Is Media Foundation supported on Windows 2012 64 bit server? We can not have Windows 7 or Windows 8 as the server and that's the reason we are opting for Windows 2012 server.
As NAudio 1.7 i...
3
Solved
I'm working on a project which requires me to add beat detection when a song is playing in the application (WinForms - C#).
I'm currently using NAudio.NET for playing the song & displaying det...
2
I have a program that takes in mp3 data in a byte array. It has to convert that mp3 data into wav format and store it in a byte data. I am trying to use NAudio for this purpose. I am using the foll...
1
Solved
I am using NAudio to record and play the audio file. Now, I want to add silence or beep in an audio file for a given duration. Could you please suggest the NAudio provider name in order to achieve ...
2
Solved
so, sorry if this is a stupid question, but I've been working with audio a lot, and I'm going to try out NAudio, so I went to the website (which, by the way, is blocked in Chrome), and downloaded i...
2
I have a background sound playing in an endless loop. I want it to fade out when the user does press a button.
I tried the following:
A DirectSoundOut is initiated with the WaveStream
A Timer ch...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.