Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / CD Player

Author
Message
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 20th Feb 2005 02:30
Hello i'm sure it's already been done many times but i made a little cd player pop in 1 of your music cd and check it out


David
Monsieur Mort
19
Years of Service
User Offline
Joined: 12th Feb 2005
Location:
Posted: 20th Feb 2005 03:55
No offense but... why would you post that? It only plays the first nine tracks and would break if a CD with less than 9 tracks was put in. There are no rewind, fast forward, next track, previous track or stop options. There's nothing wrong with CD Player programs, but maybe it could do with being finished before it's posted?

Why do you sink I ave zees outRAGEOUS accente?!
dj blackdragon3710
20
Years of Service
User Offline
Joined: 5th Nov 2004
Location: In LaLa land
Posted: 20th Feb 2005 08:09
Did you ever think that maybe he thought he finaly did a good job on something? Maybe he will upgrade or something.

It has been said that the body is a slave to the mind. Only the mind knows no freedom.
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 20th Feb 2005 09:40
Yes i thought it was kind of a stupid post too but i was bored thx for flaming tho

David
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 20th Feb 2005 19:15
Twould be better if you made it find out the tracks, list them and play them, so it wont read tracks that dont exist...that's not hard

:: AphoticVM oGL Plugin : 0% Complete ::
NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 21st Feb 2005 03:00
Oh? I made a simple player (Maybe I'll post it when I get home) and in the beginning I tried to "find out the tracks". I couldn't figure out how. Please tell us how. Maybe that's why he didn't do it.

END TRANSMISSION
Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 22nd Feb 2005 00:06 Edited at: 22nd Feb 2005 00:07
you maybe could ,also make it better by doing this

code from BiggAdd

Working for ELB software on Realms of Tutopia!
NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 22nd Feb 2005 01:54
Cool what else does that DLL let you do?
I'd go to/ask BiggAdd but I don't know what/who it/he/she is

END TRANSMISSION
Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 22nd Feb 2005 02:06
lol you can just simply copy that into another db window and whenever u press up it opens the disktry and whenever you press downkey then it closes. Quit good really!

Working for ELB software on Realms of Tutopia!
NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 22nd Feb 2005 06:55
No I mean what other calls can you do to that dll to do different things?


Again, I'd go to/ask BiggAdd but I don't know what/who it/he/she is.

END TRANSMISSION
Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 23rd Feb 2005 02:24
oh soz didn't get question was tired though, so not surprised.....
But to be honest i don't really know but try this
http://www.andreavb.com/API_USER32.html
That is a list of all tht dll can do. Hope it helps

Working for ELB software on Realms of Tutopia!
NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 26th Feb 2005 07:05
Yea only thing is that the code is in VB.

END TRANSMISSION
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 26th Feb 2005 09:00 Edited at: 26th Feb 2005 09:02
Here's a simple cd player:


You could add a "Pause\Resume" key to it too if you want. And to really improve it you should make a GUI.

NinJA99
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 26th Feb 2005 09:04
'K here's mine. I am not typing well because I am in a hurry here's the code for CD Player Pro (really made in Dark Basic Classic)



END TRANSMISSION
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 26th Feb 2005 10:00
Nice, it worked great

I made a media player recently for my current project, but it doesn't support .cda (Cd Audio) files. However, it does support wav, mp3, and mid files. You guys check it out if you want.

The .exe file:
http://UnderworldGaming.hellmutharts.com/AudioOptionsDemo.zip

The Fourm Thread:
http://forum.thegamecreators.com/?m=forum_view&t=47579&b=8&p=0

Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 27th Feb 2005 14:18
@under
try using animation commands
not only do they play movies but they play music and display pics
and are much more stable
here is my simple non text based meida player using animation commands so it plays movies or well everything windows media player 9 plays and displays pics

mplayer 3.5 will introduce playlists btw so dont complain
http://hckr83.freefronthost.com/mplayer30c-src.zip

and you will need to create a file in your %system% directory named mplayer.ini containing


the ini file is because the dbp registry functions are screwed and the permanent bug that when you try to open a fiel with it using open with.. it will change the path to the path of the file so you have to reset it

quit hiting the computer; computers can only do what they are told so we must be telling them to do wrong things

Login to post a reply

Server time is: 2024-11-23 14:16:05
Your offset time is: 2024-11-23 14:16:05