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

New Post: Sample audio input for square waves

for 16 bit audio it would be something like this:void waveIn_DataAvailable(object sender, WaveInEventArgs e) {for (int i = 0; i < e.BytesRecorded; i += 2) {short sampleValue =...

View Article


New Post: Can NAudio read MIDI

HiI would like to know if NAudio can read MIDI, and if it's possible read the values of each frequency (value of each signal) of this file

View Article


New Post: Multiple Wav with different volumes for a drum kit

I have started with an electronic drum kit project at home and made progress to the point where I have data streaming over serial port from my kit. Now I need to play wav files to represent the drum...

View Article

New Post: Can NAudio read MIDI

NAudio has classes to read MIDI events from standard MIDI files. MIDI events do not contain frequency information, but you can get the Note numbers from the Note On events.

View Article

New Post: Multiple Wav with different volumes for a drum kit

If you have a look at the source code for the WPF Demo app you'll see a drum machine sample app which should give you a good starting point. It uses a MixingSample provider and then inserts the drum...

View Article


New Post: Can NAudio read MIDI

Ok, and the read of MIDI file is like a WAV or MP3 file ?? or is most complex ... Do iu have examples about it ???

View Article

New Post: Can NAudio read MIDI

There is a MidiFileReader class you can use. MidiFileMapper is an example of an application that uses it. You should probably also do some reading up on the difference between WAV and MIDI files, as...

View Article

New Post: Playing output from self made MP3 Decoder

Hi again,I wanted to share updates and ask some questions :)Bugs fixed until now:Small bug in sideinfo decoding Alias reduction block was not working IMDCT: i misunderstood how the overlapping worked...

View Article


New Post: Microphone boost and volume with NAudio

Hello,how can I increase Microphone boost and volume using NAudio library?Is it possible?

View Article


New Post: Multiple Wav with different volumes for a drum kit

I ran the pre-compiled demo and it look exactly like what i am looking for.  Thank you for the info.I downloaded the demo source, but cannot get it to compile. I get the following error in...

View Article

New Post: Multiple Wav with different volumes for a drum kit

MediaFoundation is new to NAudio 1.7 (still in alpha). It's not part of the drum machine demo though, so you should be able to use that code with 1.6

View Article

New Post: Playing output from self made MP3 Decoder

wow, wish I knew enough about the inner workings of MP3 to be able to offer help with this. Good luck and let us know how you get onMark

View Article

New Post: Microphone boost and volume with NAudio

NAudio does contain wrappers for the Windows mixer... APIs, which in theory can be used for this. In practice, it turns out to be incredibly hard to work out exactly which control you need to adjust...

View Article


New Post: Microphone boost and volume with NAudio

Thank you!

View Article

New Post: Volume control of multiple channels (using USB sound card)

Hello,I have a question:I'm using an USB external Sound Card (http://www.sweex.com/en/assortiment/sound-vision/sound-cards/SC016/) and it's SW is not working on one of my PCs(running win XP), so I...

View Article


New Post: Playing output from self made MP3 Decoder

@MrGroovy:The Hybrid (IMDCT) step is really close, so you may just be using too large of a datatype (NLayer and MPEG dist10 use 32-bit floats, libMAD uses 24-bit fixed point [which has about the same...

View Article

New Post: Playing output from self made MP3 Decoder

Whoohoo!!It works :D:D So what was the bug? I had found a usefull PDF that contained a formula but it has a flaw in it! see: http://www.reinverberne.nl/tmp/9_error.pngso small, so deadly

View Article


New Post: Playing output from self made MP3 Decoder

congratulations, a great achievement. what are your plans for this decoder?

View Article

New Post: Playing output from self made MP3 Decoder

Thanks :)I dont really have plans for it, it is the slowest possible decoder, no optimisations so it cant decode in real time. Maybe i will try to optimise it. Once i cleaned up the source i will share...

View Article

New Post: Volume control of multiple channels (using USB sound card)

I haven't personally used the IAudioEndpointVolume interface, but I'd assume you can use this on any OS you can use WASAPI. However, XP does not support WASAPI, so you're options there are very limited.

View Article
Browsing all 5831 articles
Browse latest View live


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