naudio Questions

3

Solved

I already have the code of the mp3/wma audio playing/stopping and browsing. I just need to know how can I loop the song? Thank you.
Tentage asked 9/1, 2012 at 17:22

3

Solved

I've got a project that uses NAudio to convert from mp3 to wav. (using the WaveFormatConversionStream.CreatePcmStream() method) It worked fine on my development machine but now I'm trying it on a ...
Derange asked 13/4, 2011 at 16:20

2

Solved

I'm trying to read a MIDI file and I want to determine the exact time of a NoteOn event from it in C#. I tried to use absolute time, but the output was something like 256632. What is this number ? ...
Aldas asked 14/4, 2014 at 21:11

3

I'm using a package called Visualizer Studio (http://www.alteredr.com/visualizer-studio/) to make a game where objects react to music. My goal is to have the user be able to load a song at any time...
Clementia asked 13/10, 2013 at 20:0

1

I've managed to successfully get a stream of audio data going to an output device (speaker) using NAudio: private void OnDataAvailable(object sender, WaveInEventArgs e) { var buffer = e.Buffer; ...
Glucoside asked 15/2, 2017 at 18:22

2

Solved

byte[] bytes = new byte[1024]; Assume bytes is an array filled with audio raw data. How can I play this byte array using a WaveOut object? _waveOut.Init(bytes); // <- Error: cannot resolve m...
Alvie asked 1/3, 2015 at 10:35

0

This is similar question to the other questions but not a duplicate one. However, I am still not able to get the correct result. I am basically trying to record two Wav files (1 - Base File 2 -Te...
Sickness asked 19/10, 2016 at 23:39

2

I'm trying to store my 16000hz 16bit mono PCM audio bytes to a wav file in a Windows 10 app. NAudio normaly has a WavFileWriter, but it seems to be gone in the Windows 10 version. I can only seem ...
Discriminative asked 13/9, 2016 at 15:52

1

Solved

I'm trying to draw out a waveform using ASP.net on an Azure Website (which doesn't have the ACM or DMO codecs installed), so I had to use NLayer to read the mp3 file. The code I have below works pe...
Singhal asked 8/9, 2016 at 19:19

1

I am trying to attach USB device used for tele calling which have pnp sound controller for mic and speaker. Now i have two speaker and two mic for input output as shown in image below.. Now my moti...
Reredos asked 7/7, 2016 at 8:16

2

Solved

I am new to both NAudio and C# and I managed to create a simple MP3 player where you can choose a file and play it. It also has a play/pause button. I would now like to add a seek bar but have no...
Thrower asked 7/1, 2014 at 22:4

2

Solved

I am trying to record audio in C# using NAudio. After looking at the NAudio Chat Demo, I used some code from there to record. Here is the code: using System; using NAudio.Wave; public class FOO ...
Falconer asked 8/8, 2011 at 16:45

2

Solved

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 h...
Barbarossa asked 1/12, 2015 at 15:39

4

Solved

I am trying to use the NAudio.Lame library in an MVC4 application and am getting the error: Unable to load DLL 'libmp3lame.32.dll': The specified module could not be found. I added the library v...
Emulate asked 20/11, 2013 at 6:13

1

Solved

I am using nAudio Library to capture microphone input. But I have run into a problem. I am using the code(which I have modified slightly) from an nAudio sample app. The codes generates a WAV file b...
Wildfowl asked 1/9, 2015 at 11:31

1

Solved

I am trying to make a basic MP3 player in C# and WPF, along with NAudio. I recently added a slider that tracks the current position in the song as well as allows you to drag it to a different posit...
Oder asked 19/8, 2015 at 16:6

2

Solved

I have a C# project working with input audio Stream from Kinect 1, Kinect 2, Microphone or anything else. waveIn.DataAvailable += (object sender, WaveInEventArgs e) => { lock(buffer){ var pos...
Orsino asked 3/7, 2015 at 14:6

3

Solved

I was trying to develop a Voice recorder in C#. I have tried many ways, like NAudio, DirectX, Microsoft.Xna.Framework.Audio, etc. Everything gives the same result. After we stop the recording, the...
Lumen asked 7/5, 2015 at 11:13

1

Solved

I want to get the default output audio device (i.e. my speakers) using NAudio, to get the master sound volume as in this question. I am trying to use MMDeviceEnumerator.GetDevice(), but the id it ...
Snowblink asked 27/9, 2014 at 18:39

3

I'm working on a C#4.0/WPF Real time Spectrum Analyser (as a base of another project). I use NAudio last version to get real time audio output on sound card, and WPFSoundVisualizationLib (http://wp...
Antione asked 15/11, 2012 at 13:47

3

I am currently using NAudio to capture the sound and it only creates a wav file. I am looking for a way to encode it to an mp3 before saving the file. I found LAME but when ever i try to add the la...
Macomber asked 3/10, 2013 at 18:8

2

Solved

Hi All I have an application which receives simultaneously wav data through multiple threads from different UDP ports: Is it possible to play all received wav data at same time, simultaneously, u...
Injustice asked 25/4, 2014 at 12:22

3

Solved

I need to convert a continuous stream of PCM, or encoded audio (ADPCM, uLaw, Opus), into MP3/OGG format so that it can be streamed to a browser (using html's audio tag). I have the "stream-mp3/ogg-...
Bicorn asked 10/12, 2013 at 17:9

2

Solved

given that I have a .wav file, what would be best way to read its Bit rate property in C#. I have tried Shell, and asked a question Is "Bit rate" property fixed in index 28? with no asnw...
Guenevere asked 5/2, 2014 at 3:12

3

Solved

I've been looking for an answer everywhere and I was only able to find some bits and pieces. What I want to do is to load multiple mp3 files (kind of temporarily merge them) and then cut them into ...
Grosswardein asked 16/1, 2014 at 9:4

© 2022 - 2024 — McMap. All rights reserved.