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

New Post: How to set a MIDI instrument on a Chanel

Hello, I would like to create .mid MIDI songs with NAudio and play them with Media Player. I can create a MidiEventCollection and fill it with many NoteOnEvent, prepare for export and export the song....

View Article


Updated Wiki: Documentation

The NAudio Documentation WikiNAudio FAQWhat is NAudio?NAudio is an open source audio API for .NET written in C# by Mark Heath, with contributions from many other developers. It is intended to provide a...

View Article


New Post: isochronic tone

does anyone know about this?

View Article

New Post: savefile

does anyone know what I am doing wrong?

View Article

New Post: savefile

are you getting an error?

View Article


New Post: too many samples?

are you making sure you only use BytesRecorded from the record buffer? It may not be full

View Article

New Post: Error: "object reference not set to an instance of an object" in...

Visual Studio should tell you which line the null reference exception was on.

View Article

New Post: savefile

no, it just stops at the point.. the program freezes up

View Article


New Post: how to add a beat

I'm afraid I don;t have experience trying to add a beat to a frequency, but I'd recommend you write your audio to a file and look at it in a wave editor, and see what your code is actually creating.

View Article


New Post: savefile

well you probably have a never-ending stream. You'll just fill up your hard disk. I'd recommend only passing something that actually ends in. Or don't use CreateWaveFile, actually write audio to a...

View Article

New Post: savefile

I cannot click on anymore buttons

View Article

New Post: How to set a MIDI instrument on a Chanel

Add patch change events for the other channels.

View Article

New Post: right speaker and left speaker

Use MultiplexingWaveProvider or MultiplexingSampleProvider to combine two mono signals into a stereo. Or alternate left and right samples.

View Article


New Post: savefile

i am making my own tones, and mix then with other files... is that a way to add a timer ? so it will stop. this is what I am doing now:{ public class BinauralBeats : WaveProvider32 { int sample;...

View Article

New Post: Setting waveViewer1 to a array of float values

waleedmakarem does you still need an FFT? I got minez to work a while ago.. let me know if you need one

View Article


New Post: too many samples?

Yeah i'm using BytesRecorded

View Article

New Post: too many samples?

This is a code snippet and a debug log of bytes recorded against time. In about 24 seconds there is about 5 seconds of drift (stereo 8khz). WaveOutProvider.AddSamples(e.Buffer, 0, e.BytesRecorded);...

View Article


New Post: How to set a MIDI instrument on a Chanel

Oh! So easy! It works really fine. I can even change the instrument after some notes without changing the chanel. Thank you.

View Article

New Post: too many samples?

it could be a soundcard driver issue. Are you using WaveIn? It's likely that your mic is actually capturing audio at 44.1kHz and the driver is resampling it. Try capturing at 44.1kHz or 48kHz and...

View Article

New Post: savefile

markheath, how do i use WaveFileWriter ? I do not see any examples ? I need to have my tones stop a set time, how do i add that?

View Article
Browsing all 5831 articles
Browse latest View live


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