I used this prog as a platform to learn about
Fmod, I must admit it’s the best ! 😉
Anyway I’m after a little contructive criticism here, so tell me
what you think and the OS and directX version you ran it on.
The player can be downloaded from url below
What’s this file?
It’ a self extracting file which will create a folder on drive ‘C’ called
MpegFX ,extract the files and then run the mp3 player. The folder
contains all the files needed for it to run ( I hope ! ). When done
just delete the MpegFX folder to remove it.
- Leo asked 14 years ago
Ha ! 😉
Tainyu ! How you doing mate ? Not seen you for a bit ???
Yeah, I know about the display not being active whilst not in focus
I’m working on it at the moment. I’m looking at other ways to do
the graphics displays with other wrappers/routines. As for the volume
dispaly see code below.
[i:23cnf88v]FSOUND_GetCurrentLevels(0,@XLVOL,@XRVOL);// Channel 0 Vol Left ‘n’ right
LVOL:=trunc((((XLVOL)10))); // Drop Fraction and align
RVOL:=trunc((((XRVOL)10))); // Drop Fraction and align[/i:23cnf88v]
The value 10 is just to index it to the right volume level graphic. The code segment above would be placed inside some type of timer routine.
Anyway hope this helps.
Sorry not been intouch, been playing about with Mandrake 10 and Kylix. And yes it seems it is DelphiX which is maxing the CPU usage 😥
Will look at alternate ways to do the graphics stuff when I have time.
Thanks again for you input lads
PS Birty you know if this happens with Powerdraw or one of the
The player turns the directX display off now when it’s not
in focus so it will not hog the CPU cycles. One or two minor
[url=http://homepage.ntlworld.com/leo.parnell/Webpage/Programs/Mp3.exe:1oacgiwy]Download the player[/url:1oacgiwy]
I’ve resolved the issue with it not playing after another
player has been in focus this was to do with found_init_flags,
Globalfocus for Direct sound. Also the app. yields to system
messages and the like so, slightly improved. still hogging the
CPU at graphic updates though, will look into another wrapper
for it later.
Ps I’ve uploaded it to the link above if you want to look at it ?
Well, i like it, but the visualization is a bit slow and it turns off
when window is not in focus. Your visualization graphics are very good tho.
Also, i played another mp3 with another player that uses fmod and your
player quit producing sound, even after i stopped and closed the other player
I even tried to reload the song, but it didn’t work. But it is a nice player
I’m sure your not finished with it, but keep up the good work.
I ran it on Windows XP Pro and DirectX 9 700Mhz AMD Athlon Thunderbird
Did you write your player in VB? Just curious. I used to write my player
in VB, but then i switched to BCX Basic. Much better performance i think.
Well, good luck to you. You can check out the BCX version of our player
It looks nice for a basic player.
I like the EQ functionality. BUT when I loaded an MP3 from my hard drive my CPU maxed out and just dragged my computer through molasses.
Don’t know if it just my computer but it took my quite a bit of time just to open Task Manager and end the process. Might want to look into what is causing problem.
I using FMOD on my PC with my software at it works good.
Thanks for the input lads appreciate it !
Yeah I had ago myself, it stops ? 😕 I’ll look into it now. Will
have a look at the basic you said but to be truthful I’m quite
pleased with Delphi, has everything I’m after in a programming
Hmmmm 😕 , think I need to look again at the updates for the
graphics stuff. My machine spec is XP2600 CPU, 256 ram,
SB 1024 player and a GF4 128meg and it plays sweet with no
glitches at all when updating the graphics. Will load it into
the daughters machine which is an AMD 400Mhz CPU , 64Megs
and an old Voodoo 2 graphics card.
Hiya, will look into a setup for it. your right it's a little
more professional that way.
Thanks Leo. 😀
I do-not know why you are recieving the error as I’ve tested the
player both in XP and 98SE and all seems fine 😕 . Which OS are you
trying it in and or DirectX version ??
Thanks for the input Leo
Are all the files in the folder correct 😳 here’s a list of files
which should be in the folder.
If you can find out which file is missing I shall re-pack
and upload it. 😉
One thing I would like to point out is that your media player still hung onto the CPU after hitting the stop button and graphics stopped updating. I didn’t let it sit there for to long to see if it was cleaning up or something but I don’t know if that makes a difference.
But my system is this:
Just did some more testing and noticed that my CPU maxes out when it is playing and the window is focused. If I focus away the pictures don’t update and CPU drops to practically 0. If I click stop after playing a file then the CPU maxes out totally then 100% and molasses. When the CPU is maxing out at 100 while playing my computer isn’t bogging down. Quite strange.
That is my experiences.
I am the guest.Could you rember me?haha.Because of the directx version.But I have found a bug.When you play the song,and open a window in front of it,the spectrum is stop.You can test it.My platform is windows 2000 server.You are great.By the way how to get the volumn of the right channel and left channel like your player?
Please login first to submit.