New Post: Creating metronome track to play along with my ASIO input
Hello, I am trying to implement a click track (metronome) that will play simultaneously with the asio input. The click track will be 120 beats per minute, so I need to play a certain wav file twice...
View ArticleNew Post: Creating metronome track to play along with my ASIO input
Probably the best place to look is in the source code for the NAudio WPF demo app which has a drum machine sample. It doesn't require any timers so you can get sample accuracy in your timing.
View ArticleNew Post: Converting RTP Packets into wav format and writing to a wav file...
mixing on the fly is tricky. I use bufferedwaveproviders for each input, and then only mix the number of samples available in both If there can be discontinuities in the signals it becomes even more...
View ArticleNew Post: NAudio MIDI editing questions
I do not. All my problem test midis are in that file I linked to earlier. The reason we know it's down to this library is because my buddy can process them on his program, which is coded in C and I...
View ArticleNew Post: NAudio MIDI editing questions
there's an article here http://home.roadrunner.com/~jgglatt/tech/midispec/run.htm that might be useful. The strange thing about the one test file I looked at was that the running message seemed to come...
View ArticleNew Post: NAudio MIDI editing questions
I've been working with trojannemo on this issue. That article mentions Sysex messages (events 0xF0 and 0xF7) cancel running status, but clarifies that meta events have no effect on a running status in...
View ArticleNew Post: NAudio MIDI editing questions
I have little experience with object oriented programming, but it seems ReadNextEvent() is parsing running status events by fetching previous.CommandCode, and I'm guessing that variable is allowed to...
View ArticleNew Post: MidiOut is not working
Hi Mark, I have also tried to use the code above and got no sound. I don't have any "real" synthesizer" connected to my computer, but I do have soundfonts that I use for Midi playback, and also the...
View ArticleNew Post: MidiOut is not working
well it would need to appear as a MIDI out device in order to be usable easily from NAudio, and I'm not sure the MS synthesizer does this.
View ArticleNew Post: NAudio MIDI editing questions
thanks raynebc, I'll give that a try next time I get a chance to work on this. I think part of the reason the running event handling is flakey in NAudio is that I never encountered it. Most sequencers...
View ArticleNew Post: MidiOut is not working
Actually I have only one device in my MidiOut, and when getting it's info I get Manufacturer = Microsoft Notes = 32 ProductName = "Microsoft GS Wavetable Synth" Technology = SoftwareSynth .. But still...
View ArticleNew Post: MidiOut is not working
I'm afraid not. I've never used the wavetable synth. To use soundfonts you would need to create your own software synthesizer. This is quite a big task. If you are interested in some of the basic...
View ArticleCreated Unassigned: Microphone Data to FFT [16415]
I have a working FFT, I need to know how to get RAW data from my microphone in real time.this is the code I have so far:```private NAudio.Wave.WaveIn sourceStream = null; private...
View ArticleNew Post: MidiOut is not working
I have already created a basic software synthesizer in the past, reading the samples from external mp3 files (no effects, pitch wheel etc.), does the course include using soundFonts?
View ArticleNew Post: NAudio MIDI editing questions
So I got some news. I was testing things and realized along the way I broke something. So I went back to using the compiled library instead of the source code. With my new code in place to avoid...
View ArticleCreated Unassigned: High resolution timing with WaveStream.Position [16416]
I'm working on a project that will change the color of lights based on the position in a song. I decided to use WaveStream.Position to do all of the timing and triggering for these color changes. First...
View ArticleCommented Unassigned: High resolution timing with WaveStream.Position [16416]
I'm working on a project that will change the color of lights based on the position in a song. I decided to use WaveStream.Position to do all of the timing and triggering for these color changes. First...
View ArticleNew Post: MidiOut is not working
No, as I've said, NAudio only offers very basic parsing of SoundFont files, nothing more. It was one of the first features I ever wrote back in 2003, and I haven't used it since. The course shows...
View ArticleNew Post: Mixing 2 audio inputs
I have a need to record the audio coming in from a web cam to the speakers and the audio from a mic together into a mp3 file. (letting the mic listen to the open air speakers is not an option :) Is...
View ArticleNew Post: play pcm raw data "Not a WAVE file - no RIFF header"
works like magic. Thanks, :)
View Article