Click here to Skip to main content
15,886,770 members
Everything / MP3

MP3

MP3

Great Reads

by Joe Dufresne
A small utility app which uses the excellent NAudio library to help organize backing tracks (audio files for band minus one situations), chord / lead sheets, lyrics, etc. Intended for Windows tablets running a full version of Windows 8.1.
by Dave_Voyles
In this tutorial, I’m going to walk you through the steps of how I set up my container to host all of the .mp3s of the podcast.
by ToughDev
How to interface VS1053 Audio Encoder/Decoder Module with PIC using SPI
by Christian Vos
Explains the issues of the mp3 player in the Ampera and Volt and how the playlist creator can solve this.

Latest Articles

by ToughDev
How to interface VS1053 Audio Encoder/Decoder Module with PIC using SPI
by Christian Vos
Explains the issues of the mp3 player in the Ampera and Volt and how the playlist creator can solve this.
by Dave_Voyles
In this tutorial, I’m going to walk you through the steps of how I set up my container to host all of the .mp3s of the podcast.
by Joe Dufresne
A small utility app which uses the excellent NAudio library to help organize backing tracks (audio files for band minus one situations), chord / lead sheets, lyrics, etc. Intended for Windows tablets running a full version of Windows 8.1.

All Articles

Sort by Score

MP3 

14 May 2012 by Sergey Alexandrovich Kryukov
If MIDI sound sounds not realistic enough to you (which I understand; it means you have some musical hearing — my congratulations :-)) you can only generate more realistic sound from scratch. It has nothing to do with MIDI: it can carry only as much information as it does, no more.You...
6 Sep 2011 by Espen Harlinn
Take a look at DirectShow MediaPlayer in C#[^]The last three links at the bottom of the article is quite good.Best regardsEspen Harlinn
28 Aug 2015 by Sergey Alexandrovich Kryukov
Wrong question. First, video is not converted to audio (what it would even possibly mean?) It's just video files contain several streams, and some of them are video, and some are audio, and you can have some different kinds of streams (subtitles, for example). So, you can first extract some...
21 Mar 2015 by Joe Dufresne
A small utility app which uses the excellent NAudio library to help organize backing tracks (audio files for band minus one situations), chord / lead sheets, lyrics, etc. Intended for Windows tablets running a full version of Windows 8.1.
23 Mar 2013 by André Kraak
You could try using the HTML5 audio[^] tag with a fallback option for browser that do not support it.Here are some resources that explain the fallback option:Using HTML5 audio and video[^]Learn HTML5 in 5 Minutes![^]Working with Media in HTML5[^]
26 Mar 2013 by Sergey Alexandrovich Kryukov
Both formats, and a lot more, are supported by FFmpeg or libavcodec, which are the best libraries I know. Please see:http://en.wikipedia.org/wiki/Ffmpeg[^],http://ffmpeg.org/[^],http://en.wikipedia.org/wiki/Libavcodec[^],http://libav.org/[^].You can use them on the server-side either...
18 Jul 2013 by Sergey Alexandrovich Kryukov
I would highly recommend the open-source FFmpeg or libavcodec library: http://en.wikipedia.org/wiki/Ffmpeg[^],http://ffmpeg.org/[^],http://en.wikipedia.org/wiki/Libavcodec[^],http://libav.org/[^].In both cases, you can get free open-source utilities which can make nearly everything,...
21 Nov 2013 by Motley Drew
I am currently working on a project where we stream (legal) MP3 files to users, and users can upload MP3s. I plugged the site into the Rackspace Cloud Files product. We want to make the site free for users, so we'll have to cover the bandwidth and storage cost.What is troubling me is the...
16 May 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question. There is no such thing as "convert".I want to explain to you at least the part of the problem. First of all, why the formulation of this problem makes no sense at all in general case? This is simple: MIDI operates with modern European 12-tone tonal...
12 Apr 2018 by KarstenK
You must understand the wave file format specifikations to write the data. But at first you must know which parameters your float array has to write the data in the wav file. First write some boilerplate information and than the RIFF and fmt chunk with correct data for the appended sound data. ...
6 Dec 2010 by Manfred Rudolf Bihy
Hi Be, ( ;) )I don't know why you insist on not using a codec. Anyhow there's an example of how to convert wav to mp3 right here on CP:http://www.codeproject.com/KB/audio-video/dshowencoder.aspxIt works by using DirectShow API and wiring together a filter graph.You would have of...
1 Nov 2011 by Sagar Rawal
Best Answer is Allow user to save that in his/her hard drive. that's the way it is possible....Have a nice day...
2 Feb 2012 by _Maxxx_
I don't think DirectSound handles MP3 format - so you would have to take the MP3, decompress it then play itSee here[^] for one way of doing so...
23 Mar 2012 by CPallini
It looks[^] you may actually (cross) compile ffmpeg.
11 Aug 2012 by Kenneth Haugland
The write a loop that goes through all the separate files in the directory and convert them one by one:http://msdn.microsoft.com/en-us/library/bb513869.aspx[^]The example code is in C# but you could easily convert it to VB.
21 Nov 2013 by Yvan Rodrigues
I'm not a big cloud user, but I do run dedicated servers through iWeb. One of the main reasons that I haven't adopted cloud computing is the cost.For $89 you can get a dedicated server with 20TB of bandwidth. For $150 you can get a Xeon E3 with 8GB RAM, 1TB disk in RAID1, and unmetered...
17 Apr 2015 by Sergey Alexandrovich Kryukov
First of all, please see my comment to the question. But in addition to my legal concerns, there is one much simpler thing: even if you download some video as MP3, the result… won't be video. "MP3" means "MPEG-1 or MPEG-2 Audio Layer III", an audio standard....
1 Dec 2015 by George Jonsson
Quote:I found some DLL ID3 . Is that possible do with that ?What library did you find?This might be a good start ID3.NET Tagging Library for MP3s[^]Maybe this what you found already.
4 Dec 2017 by Jochen Arndt
Upon each action you are creating a new PausablePlayer instance. If you have started playing and activate then another button, that will use the new instance and not the one that has been used to start playing. You have to use a single global PausablePlayer instance instead (like your...
15 May 2018 by Richard MacCutchan
10 Nov 2010 by fjdiewornncalwe
Hey Mahadevan,If you are doing this as a personal learning project, I encourage you to go ahead and do it, but if you just want to have a tool to help you organize the files, then I would suggest using iTunes or Winamp. Most of the library tools available have that capability built in...
5 Dec 2010 by Be Yourself
I want to know the logic on which the mp3 file can be converted to wave file(i.e the decoding logic used) Without using any codec can we simply convert the mp3 samples to wave samples??I can extract the samples from mp3 file by using snapshot of following code that I have provided.But I dont...
1 Feb 2011 by royzerr
Hello everyone...I am currently working on a project to hide data inside an mp3 file...What I did was, I replaced the last BYTE of every mp3 frame with the bytes from message file(the file to be hidden)... It works fine... I could hide the file in it and also successfully extract it... But...
16 Apr 2011 by funniezatee
Hi,I have a question here that I did not seem to be able to find a direct answer to.Is there any practical way now to put a non-flash music player on my site?Mainly so that users without flash support can hear the music.This is especially an issue for users surfing on mobile...
17 Apr 2011 by willempipi
http://www.dynamicdrive.com/forums/showthread.php?t=33001[^]
22 Apr 2011 by funniezatee
I found a sort of workaround.Just use php to stream the file to the user as x-mpeg content, and it should just play in both android and iphone.Brian
5 May 2011 by uploader33
Hi guys, I am planning to develop a web application with C#(ASP.NET) The application will consist of an mp3 player that plays the songs from user's local. The page will include a cool(in terms of visuality) playlist and cool play-stop buttons. Can I easily develop the mp3 player in C#(I mean...
5 May 2011 by anvas kuttan
better to use asp.net and implement flash for ui
8 May 2011 by uploader33
Hi, I am trying to develop a web application with flex. Application will have an mp3 player. When I upload some mp3 files on my website and write the proper url in the code(e.g. "songs/song1.mp3"), the songs can be played. However, my aim is to play the mp3 files from local. How can I achieve...
13 Jun 2011 by Henco Eloff
Good day.I have taken a look at the low level audio player on this site....I was wondering if there is any way of making it play mp3's or wma file formats. It should be done in C#Thank you sincerely
13 Jun 2011 by Sergey Alexandrovich Kryukov
First and most straightforward way to consider: you can use available System.Windows.Media.MediaPlayer component and use it in your WPF application.What it plays depends on installed codecs.For wma you need Windows Media (which you should already have):...
25 Jul 2011 by kailash solanki
I am creating application for play mp3 in iphone i copy .mp3 file in Resource folder and the framework is also availableand my code is runnig i am not getting any error but i am not hearing sound by headphonecode- (void)viewDidLoad { [super viewDidLoad]; NSString *path = [[NSBundle...
25 Jul 2011 by Maximilien
I'm not an export on Objective-C programming, but shouldn't the AVAudioPlayer variable be a class member ?Now, it seems your are creating an instance of the AVAudioPlayer and release it.what does that do ?self.player = p;[p release];will it also release self.player ? have a...
6 Sep 2011 by Jackie00100
Hi everyone.Me and a group on my university is about to make a "smart/inteligent" jukebox player in C# and we have searched alot on the internet to find some sort of references that can play a number of difference music formats but also is easy to use, but yet no one of us have found...
7 Sep 2011 by Jackie00100
I've found a kinda okay good solution by using Microsoft.DirectX.DirectSound kinda easy to use, and have alot of the features i need and also it can play multiple sounds at once so this is yet the best solution but ty to you harlinn anyway.
30 Nov 2016 by Vic91
Hi,I'm making an mp3 player using the AxWindowsMediaPlayer but I haven't figured out how to make one song play followed by the next without using wmp.playlist. And when I tried using the playlist I ran into a problem. I have a listbox with the files on the playlist and I want to be able to...
18 Nov 2011 by Jackie00100
Hi every one i've been trying for hours now to make WMPLib and AxWMPLib work to be able to rip a wished song from a cd. Before all this is done the user can search in a larger music database such as youtube, local music library and USB/removeable devices. the last thing i need now is to make it...
5 Dec 2011 by NguyenVanDuc
I'm using JWPlayer and using http pseudo streaming, i have add .mp4 to IIS MIME and config ASP.NET Handler but it still not work.Are there any body who had worked with JWPlayer? Can you guide me or send me demo project. Thanks very much. Sorry because my English :(
2 Feb 2012 by NeptuneHACK!
Hello Guys,I wish to know, how can I write a code that can utilize "DirectSound" Technologies to play my MP3 audio files.I couldn't figure it out, and I don't wanna use the Built-in MediaPlayer, I want to use a whole new separated way of playing Audio Sound.Awaiting your...
2 Feb 2012 by Silent Guardian
there is an opensource .net library called naudio which can provide lot of functionality including effects.check this out.
24 Mar 2012 by vonpik
What exactly you want to do with decoded file? a) If you want to play it, use irrKlang. I used it, is easy to understand. There are C++ and C# bindings. It also support many of files (*.mp3, *.ogg, *.wav, *.flac, *.ogg even *.mod (amiga modules). irrKlang have to licenses, free and...
24 Mar 2012 by Sergey Chepurin
How about BASS audio library [^]"BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M,...
13 May 2012 by Cheesecakelover
Hello everyone,I've been cruising around the net for some help, then I found this forum. Hope some developer guys can help me on this.I'm working on my own softphone application, but kind of bumping into some trouble when I try to play a sound file (mp3)into the call. For seeing it more...
11 Aug 2012 by iismoove
There is a article in here that has a class that puts a wrapper around "Lame.exe" so you can use Lame to convert .wav files to .mp3. It works great, but I cannot seem to get it to loop through a directory and convert all files in that directory. Does anyone know how to do it with this method, or...
12 Aug 2012 by Member 9326644
My jquery mp3 plugin plays a mp3 file that is placed on a remote serve.it is playing it in Firefox.But when i try to play it in internet explorer 9 ,it says. **Jplayer 2.1.0:id='jquery_jplayer_1':Error!Media URL could not be loaded.Check media URL is valid.Context:Address of mp3 file...
12 Aug 2012 by StianSandberg
Your server (lecion.blob.core.windows.net) is probably sending the wrong mime types for the mp3-file. You have to add audio/mpeg3 as mime type for .mp3 files.you have to do this on the server. If it supports .NET you can do this in a web.config file. ...
1 Oct 2012 by PGT
HelloI'm thinking of writing a c++ based HTPC (home theatre) running linux.This might be easy to do in python, but i also need more c++ experienceAs for now i think of something that can play MP3 and DAB (digital audio broadcasts)And can accept some typed command or by network recieved...
10 Oct 2012 by Sergey Alexandrovich Kryukov
PGT wrote:If it has been done, could you tell me?With pleasure. I think, there are many products, but the one I know well is VideoLAN. It's open-source and multiplatform:http://en.wikipedia.org/wiki/VideoLAN[^],http://www.videolan.org/[^].I use it on Windows and Linux. It's hard to say...
22 Oct 2012 by PGT
linux mint xfce + xbmc + an android app to control it over wifi as a remote.
27 Nov 2012 by Pascal van der Donk
I recently bought this module from DealExtreme but I can't seem to find any code for it. I asked DealExtreme if they knew any code but they don't send codes to customers.My question is: does anyone have any experience with this module and do you know any code to attach it to an arduino...
4 Mar 2013 by himanshu120
I am taking input from microphone which has audio format(sample rate=44100 hz,mono etc..).For creating databse of songs i am reading raw data from audio file using AudioInputStream.So is it necessary to first decode mp3 file in same audio format as user input or not required.
12 Mar 2013 by ghincelino
i don't have an idea,.. sorry:(
23 Mar 2013 by Motley Drew
I am developing a site that streams MP3 files. I just checked my iPad and my Android phone, and the player does not work on those mobile devices. The reason I am staying away from Flash is because MAC doesn't support Flash, and we want our users to be able to stream from the browsers in their...
26 Mar 2013 by Motley Drew
I am working on streaming audio files in HTML5. The requirements are to supply both mp3 and ogg files to handle different browsers. If a user uploads test.mp3, I need to generate a copy called test.off, and vice versa.I realize the conversion can be done manually with free tools users can...
18 Jul 2013 by longit644
I'm trying to find either a free .NET library to convert Acc file format to Mp3 format Please help.
2 Sep 2013 by Mohammad Yasir Awan
i m new in c# .net im working on mp3. i want to get the actual data of one frame of a mp 3 file, as there is first header then side information of the frame is also there. I only need to get the actual bits with no header and ancillary info. Can I use NAudio to do that? I have found...
8 Dec 2013 by Member 2204906
Imran Parvez Manager (IT) Bhopal
23 Jan 2014 by JayantaChatterjee
Hi, I searched on google and find code to play mp3 files, but the problems is when the files(.mp3) bit rate is more than 192kbps file not play.My code is(which i found on google) :-[DllImport("winmm.dll")] private static extern long mciSendString(string lpstrCommand,...
23 Jan 2014 by E.F. Nijboer
Try put [STAThread] above the main method of your application, like this:[STAThread]static void Main(string[] args) {...Good luck!
16 Apr 2014 by Sergey Alexandrovich Kryukov
Please see my comments to the question. I am shocked. Here is what you can do:using System.Diagnostics;//...string path // path to ffmpeg.exe, use MapPath...string commandLine // command line parameterts for ffmpeg; use string.Format("... {0} {1}", inputFileName, outputFileName)...
5 Sep 2014 by djdynamix
Here's my problem:I administer about 40 Windows 7 machines for a rental company, which are installed as media players providing background mp3 music and "cdg" karaoke in bars and restaurants. The media library and player software is quite old, proprietary, single-threaded, we don't have the...
28 Oct 2014 by Firo Atrum Ventus
I have a simple c# application that record & stream audio with naudio & lame. I use System.Net.Socket for the streaming, just wait for connection, read the header and then pass the socket to lame encoder that will send chunks of mp3.Problem is, FF's audio tag cannot play the thing, it just...
24 Nov 2014 by OriginalGriff
Download it again: the original RAR file has been corrupted, and you will spend a lot more time and effort trying to extract any valid portion than you would just re-downloading it.You paid for it - so you should be able to download an uncorrupted version. If you can't, then it may be that...
1 Dec 2014 by aj_scorpio
Hiiiiiiiii i want to capture MICROPHONE audio and convert it into MP3 format and save it on disk. I've done the same for WAV file using the AudioRecorder WAV Dest Filter but i'm not getting any filter to convert to MP3... pls help me i'm new in DIRECTSHOW programming
25 Nov 2014 by Kornfeld Eliyahu Peter
There is a lot of patent-related problems with the MP3 format, so be careful...Anyway you should check these libraries:http://ffmpeg.org/[^]http://gstreamer.freedesktop.org/[^]
22 Dec 2014 by ateneouw
Hi my app is generating video in realtime through directx9 as well as pcm sound with directsound.I want to record a "movie" of the genarated video.Im using compressed Microsoft 1 video for video but the thing is the sound. Its compressed in mp3 using lame, but i don't know how to mux mp3...
6 Feb 2015 by Richard MacCutchan
https://www.google.com/search?q=sound+mfc[^].
22 Apr 2015 by Maciej Los
You did not provide enough information to help you direct way. Nevertheless, i suppose that your code is incomplete or your logic is wrong. If you need to play songs in a loop, you have to check if user choose 'continuously play'.pseudo-code:bool playinloop =...
23 Apr 2015 by CBO1987
Sorry, I am just using a regular treeView control, one that is dragged from the toolbox to the designer form. Yes, I have a continuous play radiobutton. The code I have is within a timer. I am using Windows Media Player control to check a label for "MediaEnded" event that fires in Windows Media...
23 Apr 2015 by CPallini
Did you Google for[^]?
20 Jul 2015 by Dave_Voyles
In this tutorial, I’m going to walk you through the steps of how I set up my container to host all of the .mp3s of the podcast.
19 Jul 2015 by Mohammed Ibrahim.L
hi,try this code. its working i have testedinclude windows media player library before using the below code {OpenFileDialog dialog = new OpenFileDialog();dialog.Filter = "Audio Files (.mp3)|*.mp3";if(dialog.ShowDialog() == DialogResult.OK){ string path = dialog.FileName; ...
19 Jul 2015 by User 11060979
Something like this should do the Job:...WindowsMediaPlayer musicplayer = new WindowsMediaPlayer();// Add Event handlermusicplayer.PlayStateChange += new WMPLib._WMPOCXEvents_PlayStateChangeEventHandler(MusicPlayer_StatusChange);...// The eventhandlerprivate void...
21 Sep 2015 by WPDev@.net
I really want to record live audio that is currently streaming in the background audio player of the windows phone to an .mp3 file, simply the aim of the App is to record audio from internet radio stations. what i have done so far is thisprivate void Button_Click(object sender,...
1 Dec 2015 by Member 11865398
Hi, Am doing desktop player application. In that player main feature is showing lyrics while playing mp3 file song.I found some DLL ID3 . Is that possible do with that ? or any other third party libs available do this ?Any Ideas / suggestion need.Am using for development1#....
5 Aug 2016 by Richard MacCutchan
What do you mean you can't find it? You have the URL, all you need to do is paste it into the address bar.
17 Aug 2016 by MCSIDevelopers
What I want to do is not get the information about the file but I want to read the bits and also be able to locate bits positions within the frame header. The header is 32 bits (4 bytes) of which is what I want to get back or displayed as a message.I want to read it, edit it. The bit i want...
17 Aug 2016 by Paw Jershauge
You can use FileStream for that FileStream.ReadByte Method (System.IO)[^]
30 Nov 2016 by Beeftronix
Public Sub PlayNext() Try ColorSliderProgress.Value = 0 If Not ListBox2.SelectedIndex ListBox1.Items.Count - 1 Then ListBox1.SelectedIndex = ListBox1.SelectedIndex + 1 ...
31 Jul 2017 by Mehdi Gholam
Google is your friend, try searching for : tagging mp3 files
31 Jul 2017 by Graeme_Grant
This is a very popular metadata reader & writer, not just for MP3s: GitHub - mono/taglib-sharp: LIbrary for reading and writing metadata in media files[^] Just gave the lib a try. Here is my test code used: private static void Main(string[] args) { var path = @"E:\Music"; foreach (var...
15 Sep 2020 by Member 13776062
So I have an mp3 file (stereo, 44100 Hz) which I decoded with mpg123 and got a 32-bit float array. Now I want to write this array to .wav file and play it. What I have tried: I found several solutions in Java but they all used the tools from Java libraries
27 May 2018 by Raj Swami
hello everyone, i have done lots of research on mp3 file structure. i have understood all about mp3 file including how does it work, which type of data it consists, how to read mp3 file data ,how to write mp3 file data ect.now i'm trying to make my own mp3 file just like i'm adding my own audio...
16 Jul 2018 by Dave Kreskowiak
You don't have a simple method to do that. In order to use the built in player, the data has to be unencrypted. Now, that's not to say it's impossible. You just have to write an audio filter driver[^] (in C) that decrypts the stream on-the-fly. The filter driver would sit in the filter graph...
22 Dec 2019 by Dalerico
Hi everyone, I recently created a wcf service c# music app for listening and downloading music tracks for consuming data for a front-end Android music streaming app. Everything works good accept the performance of waiting for the music request to finish buffering the entire track from the...
22 Dec 2019 by Richard MacCutchan
Quote: which one will give me the best performance for streaming mp3 files on a web server (IIS). That is impossible to answer as it depends on many different factors, all of which will vary from country to country, ISP to ISP, and server to server. The only way to decide which is best for you...
22 Dec 2019 by MadMyche
IIS is best used as a web server utilizing the HTTP protocol, which operates in a download then render fashion; and not as a streaming media server which would use RTSP (real time streaming protocol)- self explanatory on purpose. Windows versions prior to Win 7 supported Windows Media Encoder...
14 Jan 2020 by Dalerico
Hi everyone, I recently created a wcf service c# music app for listening and downloading music tracks for consuming data for a front-end Android music streaming app. Everything works good accept the performance of waiting for the music request to finish buffering the entire track from the...
14 Jan 2020 by Dalerico
Well, shortly after posting this question, I stubled into finding my own solution. For anyone else who may have a similar question to know how to create a stream in a REST wcf service for a GET request, you can look below and see exactly where I implemeted a MemoryStream instance to wrap my data...
15 Jan 2020 by Dalerico
I have a wcf rest service, which I created a MemoryStream for one of my operation contracts that has an object, which encapsulates many properties. This is a GET HTTP request for data to the client (Android music app). I've wrote some code to take my service side MemoryStream into the java...
15 Jan 2020 by phil.o
A MemoryStream is just a stream, i.e. a list of byte values. You have to send the byte array over the wire (either directly by writing from memory stream to a network stream, or by encoding it, for example in Base64, and send the encoded value instead). In the receiving java application, you...
17 Jan 2020 by 49R
How raw data is divided into bytes. As present audio contains 32bit(2^32 tones) it ranges from 2^0 - 2^32. ex -> 6710497.. (Considering decimal) how is it divided to 67 104 97 Does FileInputStream has a method to check like if(671>256){send 67 , next append 1} What I have tried: ...