New Post: where is Mp3Frame::FrameLengthMs()
Hi, I had one project, which used this method. I don't have clue which version of NAudio was used in this project. But when I tried to check the source code of this method, I couldn't find this method...
View ArticleNew Post: where is Mp3Frame::FrameLengthMs()
no idea when this was removed. I have no memory of it. You could always check the source control history. It's easily calculated using SampleCount and SampleRate Mark
View ArticleNew Post: where is Mp3Frame::FrameLengthMs()
Hi Mark, Sorry for rockie question. I just started audio programming. Don't really know the concepts yet. Could you please tell me how to use SampleCount and SampleRate to calculate to get the same...
View ArticleNew Post: where is Mp3Frame::FrameLengthMs()
var milliseconds = (SampleCount * 1000.0) / SampleRate
View ArticleNew Post: Can WaveFormatConversionStream(WaveFormat targetFormat, WaveStream...
My case is to fade in/out a mp3 file. Searched the forum, looks I need to conver it to wav first, after editing, I need to convert the wav back to mp3 again. I am reading the APIs from NAudio....
View ArticleNew Post: A working MIDI tutorial, please?
sorry the tutorial isn't working for you. I'm afraid that one wasn't written by me, so I am not in a position to update it. All my tutorials are available on my blog at...
View ArticleNew Post: Can WaveFormatConversionStream(WaveFormat targetFormat, WaveStream...
Yes, you can use NAudio to do most of this. The AudioFileReader class will read the MP3 file. Then use FadeInOutSampleProvider to perform the fade. Then you would convert to WAV file using...
View ArticleNew Post: Can WaveFormatConversionStream(WaveFormat targetFormat, WaveStream...
markheath wrote: Yes, you can use NAudio to do most of this. The AudioFileReader class will read the MP3 file. Then use FadeInOutSampleProvider to perform the fade. Then you would convert to WAV file...
View ArticleNew Post: A working MIDI tutorial, please?
No need to apologize! Thanks for all of the great work! I'll grab an example. Thanks
View ArticleNew Post: Playlist in NAudio
Hello everyone, Now I'm working on an audioplayer project, that requires playing multiple audio files one by one, just like some kind of playlist. For playing it uses DirectSoundOut. Well, at this...
View ArticleNew Comment on "MP3"
I created a player using VB.NET. It was very easy to follow your example. It only plays MP3 files. What other file types are supported/allowed? I am hoping for M4A and AIFF; WMA would be nice but not...
View ArticleNew Comment on "MP3"
To answer my own question: MP3, WMA, and AIFF are possible; no sign of M4A. Here is my version of CreateInputStream: Private Function CreateInputStream(ByRef fileName As String) As WaveStream Dim...
View ArticleCommented Issue: MP3FileReader.Length property is not correct [16359]
I use the MP3FileReader to open a mp3 which is in the attachments , the total time returned is 05:09. And I use the NAudio demo to play this mp3, the sound is slower than expected.But if I use other...
View ArticleCommented Issue: Streaming MP3, wrong bitrate. creates incorrect sound [16328]
So, i was streaming some Mp3's and noticed that some song were being play'd to fast and some to slow.After checking what bitrate the Mp3Frame were returning, i found that some songs got 128kbps when...
View ArticleCommented Issue: Streaming MP3-files, error decompressing last frame [16322]
Hi!I'm trying to make a program that can stream audio from a server.I all works fine, until i get to the last frame, then i get the following error:Object reference not set to an instance of an...
View ArticleSource code checked in, #68fa6828b5a6
AcmMp3FrameDecompressor better exception if null frame passed in (see issue 16322)
View ArticleEdited Issue: Streaming MP3-files, error decompressing last frame [16322]
Hi!I'm trying to make a program that can stream audio from a server.I all works fine, until i get to the last frame, then i get the following error:Object reference not set to an instance of an...
View ArticleCommented Issue: Streaming MP3-files, error decompressing last frame [16322]
Hi!I'm trying to make a program that can stream audio from a server.I all works fine, until i get to the last frame, then i get the following error:Object reference not set to an instance of an...
View ArticleEdited Issue: 1.5.9 build from source naudiodemo crash on launch [16344]
just download latest source 1.5.9 buid release any cpurun naudiodemo.exe from bin release and crushmy os win 7 ultimate x64 sp1any idea?Problem signature: Problem Event Name: APPCRASH Application Name:...
View Article