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.

The 20 Line Challenge / Worlds Crappest Song Player!!!

Author
Message
Hyp3rSnip3r
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location: C:\\Documents and Settings\\llama!
Posted: 1st Oct 2005 13:56
Hey i'm new round here

Mine basically plays any song on your comp if you give a File Name and Path. It's alot of hastle just to play one song at a time but it's ok for a begginers work right?

Hyp3rSnip3r
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location: C:\\Documents and Settings\\llama!
Posted: 2nd Oct 2005 16:26
The "SOURCE" isn't working for me, might not work for you either so here it is.



` FPE MP3 Player
` By Tim Knight

` Welcome Text
Set Window On
Print "Welcome to FPE MP3 Media player"
Wait 2000
CLS
Do

` Get file name and path
Print "What is the song's File Name?"
Input "File Name: "; fn$
CLS
Print "What is the song's File Path?"
Input "File Path: "; fp$
CLS

` Load File
Print "Loading..."
Load Music "" + fp$ + "/" + fn$ + ".mp3", 1
CLS
Play Music 1
Print "Playing Music: " + fn$ + ".mp3"
Wait Key
Stop Music 1
CLS
Loop

Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Oct 2005 21:56
It's a start. Good job.

Login to post a reply

Server time is: 2024-04-26 05:29:29
Your offset time is: 2024-04-26 05:29:29