Omnimaga
General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Munchor on February 13, 2011, 06:27:30 am
-
I just created a media player for Windows users that can read several video and music files like .mp3, .wav, .wma, .wmv, .avi and many more.
Attached is the setup program that will install the program in your computer in a few seconds, hope you like it ;D
I didn't code the setup, I used a setup maker for that purpose.
-
**UPDATE**
(http://img.removedfromgame.com/imgs/mePlaysMediaScreenshot.png)
It can now open folders, read images, videos and music! It's also a bit faster due to changes in the loading event :D
Not attached, though, I'll try to add another neat option before that.
-
what language? C#?
-
what language? C#?
Yup. C#.
-
hmm lets see i like it its simple and clean looks alot like a remake of wmp though but it does use
less resourcesuses more ram but is nicer on cpu loads so no complaints i really do like it ^_^
othere than that needs a few more features on the playlist and i deem it very useable ^_^ (and a cmdline command to add to the playlist for like rightclicking files and adding)
-
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
-
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
I'll upload the source as soon as I can (probably tomorrow).
I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.
-
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
I'll upload the source as soon as I can (probably tomorrow).
I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.
ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...
I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there? ???
-
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
I'll upload the source as soon as I can (probably tomorrow).
I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.
ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...
I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there? ???
I'm not really user. For mePlaysMedia I don't use a single method for the sound playing.
Also, I think I'm gonna stop using the windows media player dll and make something of my own. I found a tutorial on it, I'll check that built-in method to manipulate the System Sound.
-
Good idea might cut down on the ram foot print a lot which will be nice ^_^
-
Good idea might cut down on the ram foot print a lot which will be nice ^_^
Yes, maybe the Windows Media Player component uses a lot of ram.
-
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
I'll upload the source as soon as I can (probably tomorrow).
I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.
ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...
I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there? ???
I'm not really user. For mePlaysMedia I don't use a single method for the sound playing.
Also, I think I'm gonna stop using the windows media player dll and make something of my own. I found a tutorial on it, I'll check that built-in method to manipulate the System Sound.
ah, do tell when you find it. I think it was under System.Media or something `-`
I forgot where it was and I would like to screw with it a bit :D
-
ah, do tell when you find it. I think it was under System.Media or something `-`
I forgot where it was and I would like to screw with it a bit
I really have to make a C# virus that makes the sound maximum from 15 to 15 minutes and plays a very LOL song.
-
That looks nice and it seems to work well. The interface is simple so a lot of people might like it.
-
That looks nice and it seems to work well. The interface is simple so a lot of people might like it.
Thanks :)
-
@qazz42:
Here it is:
using System.Media;
private void PlaySound()
{
SoundPlayer simpleSound = new SoundPlayer(@"c:\Windows\Media\chimes.wav"); //Change the string to the location of the song
simpleSound.Play(); // Plays the song
}
-
niiiice, that was/looks easy
-
niiiice, that was/looks easy
Not sure how to play .mp3 and other stuff, though.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Media;
namespace meHides
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.WindowState = FormWindowState.Minimized;
this.ShowInTaskbar = false;
this.Hide();
this.Visible = false;
timer1.Start();
timer1.Interval = 600000;
timer1.Enabled = true;
}
private void timer1_Tick(object sender, EventArgs e)
{
SoundPlayer simpleSound = new SoundPlayer("boot");
simpleSound.Play();
}
}
}
Just made this little neat program that plays a sound every minute. Just change 600000 to whatever you want.
Note: boot is a wave file.