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

New Post: Equalizer issues

$
0
0
Hello,

I was trying out the Graphic Equalizer WPF Demo, and I've found that when modifying the slider for Frequency 4800 i could here no more sound. The other sliders were handling correctly. The .wav file was 8 kHz sampling rate, 32 bits per sample and 1 channel.

What can be the problem?

New Post: Equalizer issues

$
0
0
that demo assumes you are working with sample rates of 44.1kHz or higher. 4800 is above the Nyquist frequency for an 8kHz sample rate file, so its not surprising that it behaves strangely.

New Post: Equalizer issues

$
0
0
Max frequency is half Samplerate (Nyquist criteria).

E.g.:
Samplerate 8000Hz -> FFT -> Frequency range: 0-4000Hz -> Max frequency: 4000Hz
Samplerate 44100Hz -> FFT -> Frequency range: 0-22050Hz -> Max frequency: 22050Hz
Samplerate 48000Hz -> FFT -> Frequency range: 0-24000Hz -> Max frequency: 24000Hz

and so on.

Note, that in reality (my own experience) Min frequency is not exactly at 0Hz, but near to it with ~20-40Hz.

New Post: I need, only graph for .wav file.

New Post: DSP SimpleCompressor to WaveStream

New Post: Mpeg layer 2 audio.

$
0
0
Mpeg Audio Layer 2 is actually not supported

New Post: Trouble With Speed Optimization. Any Advice?

$
0
0
Any advice on on my last comment?

New Post: How to generate musical sounds?

$
0
0
I am very new to NAudio. I have been playing with pulling data in from the microphone with some success. I now want to manipulate this data and generate musical sounds in response. I thought a good way to do this would be to use MidiOut and the Windows built-in Microsoft WaveSynth.

However it appears this does not work correctly in NAudio. See for example:
https://naudio.codeplex.com/discussions/435145#

I found an article which suggests that it did work in an earlier version of NAudio:
http://stackoverflow.com/questions/30349066/cannot-play-a-note-with-naudio-midi

So it appears that a bug has crept in somewhere. Is there any likelihood of this being fixed in the near future? Am I best off downloading the older version, or is there some other way that I could generate musical sounds using .NET?

Thanks
Phil.

New Post: Audio in and sound analysis

$
0
0
Yes. It's quite straightforward to get data from the audio input using the WaveIn class.

New Post: How to generate musical sounds?

$
0
0
I can confirm that the old version 1.3.8 works and the latest version 1.7.3 does not produce any sound. I did have to change the target CPU from Any CPU to x86, or I get an error. I assume the older version didn't support x64?
Unfortunately most of the other code I have written relies on features in the new version. I have managed to get around this by rebuilding the old version from the source code and changing the namespace and assembly names so that I can use both versions side-by-side. Not an ideal solution, but seems to work.

New Post: How to generate musical sounds?

$
0
0
Update: OK. It seems that the latest version does work, but it doesn't support setting the channel number to zero, which the example code that I found uses.

New Post: How to generate musical sounds?

$
0
0
Ah, possibly it is a case of switching from 0 based channel numbers to 1 based at some point. Glad you've tracked down the cause

New Post: How to generate musical sounds?

$
0
0
Would be nice if it raised an ArgumentOutOfRangeException.

New Post: How to generate musical sounds?

$
0
0
It does if you create a NoteOnEvent. Those MidiMessage helpers are a bit outdated, but I've updated with some validation

New Post: Trouble With Speed Optimization. Any Advice?

$
0
0
Any reason why you need to use WASAPI out? WaveOutEvent will probably be easier if you are working at 16 bit 8kHz mono. Wasapi likes to run stereo, floating point, and 44.1kHz or 48kHz.

New Post: Mpeg layer 2 audio.

$
0
0
NAudio does not include any MP3 decoding, it simply provides access to the codecs available on your machine (e.g. ACM or Media Foundation Transforms).

New Post: Waveoutevent player Fade In/Out

$
0
0
Hi ,

I have developed NAudio waveoutevent player. I want to developed Fade In/Out option alsio. Ex: While playing the sounds,if i click FadeOut / FadeIn .
Please help me to do this



Thanks
AthiVarathan.

New Post: NAudio player PLAYING sounds in Same "PITCH"

$
0
0
Hi team,

I have developed NAudio waveoutevent player. It's working good. If i play sounds some sounds volume is too high and the another one is low . So, I want to play all sounds in same volume . Please help to do this ..



Thanks
AthiVarathan.

New Post: NAudio player PLAYING sounds in Same "PITCH"

$
0
0
Normalize all your wavestreams and mix them together before playback

New Post: Waveoutevent player Fade In/Out

Viewing all 5831 articles
Browse latest View live


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