Click here to Skip to main content
13,143,637 members (30,186 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 anything usefull... :(

So i got the idea to ask for help here. our goal is to make the player work with atleast mp3 and cda(music cd format) but we would really like to be able to suport ogg, wave, flac and wma too. also a "nice to have" feature we talked about was to have a way to be able to play videos on youtube as mp3. Also we wanna try to have some cross over music (fade in and fade out) so the music never will be comletely silent and keep on playing in song switches and so on.

So all in all my/our question is: are there a really nice/good and easy to use reference(s) (more than one is okay) to C# that can play a lot of the formats as mentioned above, and also have option to play more than one number at once, turn volume up/down(fade in/fade out) etc.? also a little guide on how to use would be nice.

TY for your time and understanding - Jackie

PS. we have tried WMPLib but it is abit messy to work with we think.

PPS. if any one can help me in an old thread about webbrowers please check this link: C# Webbrowser help/Website/html scans[^]
Posted 6-Sep-11 9:56am
Updated 6-Sep-11 10:05am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Take a look at DirectShow MediaPlayer in C#[^]

The last three links at the bottom of the article is quite good.

Best regards
Espen Harlinn
Jackssen 6-Sep-11 16:36pm
Ty alot all the links you linked to are awsome im already looking into the "QuartzTypeLib" it seems okay but havn't yet found any way to play multiply songs or add "fades" but otherwise ty very help full :)
Espen Harlinn 6-Sep-11 17:01pm
If you're really motivated take a look at - that should definitely help you out, a bit of work though ...
Jackssen 6-Sep-11 17:10pm
yeah, tryed to look at that in the start but it seems very complex and also it is written in C++ but i may have an additional look at it :)
Mika Wendelius 6-Sep-11 17:48pm
Excellent link, my 5
Espen Harlinn 6-Sep-11 17:53pm
Thank you Mika!
Jackssen 6-Sep-11 19:54pm
hey i've found a volume control but cant change it to anything it saying wrong vaule on everything but 0 any idea? :S
SAKryukov 6-Sep-11 19:54pm
How, how... by using DirectShow, that's how. My 5.
Espen Harlinn 7-Sep-11 4:36am
Thanks Sergey
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 7 Sep 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100