New Post: Playback plays at 50% speed with AAC files
I'd be very interested in seeing what you come up with One thing I have been contemplating is for a WaveFormatChanged event to be raised by MediaFoundationReader (i've actually added one in a recent...
View ArticleNew Post: Playback plays at 50% speed with AAC files
Wouldn't it be easier to keep the output at 44100 and convert the input stream to 44100 on the fly?
View ArticleCreated Unassigned: sound buffer size [16427]
can I increase my sound buffer size?right now I am getting 17640 bytes coming in at a time.theni do this code: int bytesRecorded = e.BytesRecorded; buffer1 = new double[(8192)];// WriteToFile(buffer,...
View ArticleNew Post: sound buffer size
can I increase my sound buffer size? right now I am getting 17640 bytes coming in at a time. then i do this code: int bytesRecorded = e.BytesRecorded; buffer1 = new double[(8192)]; //...
View ArticleCreated Unassigned: BPM detection [16428]
It could be good fiture to add beat-per-minute detection int library.Probably, it's already done, but I cany find?
View ArticleCommented Unassigned: BPM detection [16428]
It could be good fiture to add beat-per-minute detection int library.Probably, it's already done, but I cany find?Comments: Unfortunately, NAudio does not contain a BPM detection algorithm. If a good...
View ArticleNew Post: real-time Audio data fetching using USB microphone
Hello, I was wondering if it is possible to write the code to fetch real-time audio data using multiple USB microphone using NAudio. If so, how would I do it? (I was looking at the sample code for...
View ArticleNew Post: sound buffer size
Use a SampleChannel or ToSampleProvider to capture the audio samples using an event/callback function. In the event/callback function you capture each sample (L and R values) one by one and add them to...
View ArticleNew Post: sound buffer size
K24A3 I do not understand... can you upload some sample code? also 2048 samples is less than 8192 samples I want to do 65536 samples or more
View ArticleNew Post: sound buffer size
This is for playback, but recording should be a similar setupInit() { WaveStream _waveStream = new AudioFileReader(sAudioFile); SampleChannel _waveChannel = new SampleChannel(_waveStream, true);...
View ArticleNew Post: Playback plays at 50% speed with AAC files
btw I found a bug in MP3FileReader.cs, ID3v1 only reads 3 bytes instead of 128 I tried using TortoiseHG on the fork but its giving an error Internal Server error 500 // try for an ID3v1 tag as well...
View ArticleNew Post: Playback plays at 50% speed with AAC files
I found out why that halfspeed.aac file was playing at half speed in NAudio, it is because the AAC file uses SBR (spectral band replication) for low quality AAC files which halves the sample rate of a...
View ArticleNew Post: sound buffer size
_postVolumeMeter.StreamVolume += OnPostVolumeMeter; is a event? so does it happen when the microphone buffer is full?
View ArticleNew Post: sound buffer size
you can adjust the buffer sizes for recording (e.g you could increase latency), but with some types of recording device this is not necessarily possible or desirable. So the general approach suggested...
View ArticleNew Post: sound buffer size
Specify it in the constructor. For example: _wavein = new WaveIn() { BufferMilliseconds = 100; // Default 100 };
View ArticleNew Post: Playback plays at 50% speed with AAC files
wow, sounds like you are making some great progress. Your pull request had no commits in it, but I'll try to get your MP3 tag fix in anyway. thanks
View Article