New Post: Capture stream audio by internet
can i get continuos stream by internet and tell it by program (vb.net) that must record every 20 seconds for minute without stop record stream ?
View ArticleNew Post: Capture stream audio by internet
I don't see why not. You need to know what compression type you are receiving, but just write 20 seconds worth to a file, and then throw away the next 20 seconds and so on.
View ArticleNew Post: Capture stream audio by internet
When I capture where record stream go ? Inside memory ? like arraybyte ?
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
NAudio includes a fully managed A law encoder, in the ALawEncoder class, allowing you to pass in 16 bit samples and get out 8 bit a-law encoded bytes. Alternatively, the simplest way to convert files...
View ArticleNew Post: Capture stream audio by internet
well NAudio doesn't do any receiving of audio from the internet - you need to write that bit yourself, so it depends on your program. If you are using a NetworkStream, you will get data into a byte...
View ArticleNew Post: NAudio AudioSessionEnumerator ??
yes, if it's not in the NAudio\CodeAudioApi\Interfaces folder, then it's not in NAudio. I mainly focussed on what was needed to get simple WASAPI playback and recording working. Mark
View ArticleNew Post: NAudio AudioSessionEnumerator ??
Thanks for the reply. OK, so no inherrent reason. Just seems a big gap as sessions would seem to be quite key! It there an update on the way - or should I get coding? nick
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
Thanks Mark, I went with the ALawEncoder class and it works like a charm. I had a look here http://bit.ly/wp45x5 and reused like this byte[] GetALawBytes(ref MemoryStream ms) { byte[] data =...
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
I have another question though: how do I strip the wav header from the memoryStream? Or, on the other hand, how can I determine how long the wav header is? Is it like 16 bytes, 32? What else? In this...
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
use the WaveFileReader - it can read from a MemoryStream, and then just call the Read method to get the actual audio data out.
View ArticleNew Post: NAudio AudioSessionEnumerator ??
Sorry, but no plans to do this myself at the moment. NAudio tends to get new features as and when I need them for something. Mark
View ArticleSource code checked in, #6993618a0fba
fixed M:B:T calculation in Audio File Inspector for MIDI
View ArticleNew Post: How to convert WAV file to GSM file
I'd like to know how to convert wav file to gsm file. I found mp3->wav conversion sample, but I couldn't find the way to convert wav->gsm. Can you help me? Thanks in advance.
View ArticleNew Post: NAudio - Peak Meter in C#
Hello. I've been searching for the better part of a week for this now and I see nothing, anywhere, showing me if and/or how I can do this using NAudio. I guess my question would be: Can it be done?...
View ArticleNew Post: NAudio - Peak Meter in C#
NAudio comes with a project called NAudioDemo, that shows how to implement a peak meter during playback, as well as how to record. Have a play with the demo application, and then browse the source code...
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
Hmm, I'm having some troubles with the recorded audio. Basically the above function do the job pretty well. But, there is some noise at the beginning of the file and this noise is a consequence of the...
View ArticleNew Post: NAudio - Peak Meter in C#
Thanks for a quick reply. I will give it another look (can't compile any of it, it gives tons of errors VS 2010) and reply back if I find a solution.
View ArticleNew Post: NAudio - Peak Meter in C#
Okay... found what I needed. Any hints on how to make this work globally instead of just with a file? I'd like to see the peak meter for every sound that plays... I am thinking just setting up a record...
View ArticleNew Post: Recording audio and save as Raw data (A-Law)
To write a WAV file, you must use the WaveFileWriter. To read a .raw file, you should use the RawSourceWaveStream (or similar name, can't remember it off the top of my head) and tell it exactly what...
View ArticleNew Post: NAudio - Peak Meter in C#
A good place to look for peak metering on a recording stream is my voicerecorder.codeplex.com app. It's WPF, but the principle is essentially the same.
View Article