Computer Science Canada Music player v2 |
Author: | petree08 [ Thu May 01, 2008 9:58 am ] |
Post subject: | Music player v2 |
read the readme file . Anyway .. media player wrote it cuz windows media player at home is broken |
Author: | Clayton [ Thu May 01, 2008 4:43 pm ] |
Post subject: | RE:Music player v2 |
VLC |
Author: | petree08 [ Fri May 02, 2008 8:02 am ] |
Post subject: | RE:Music player v2 |
may be a noob question... what does VLC mean? |
Author: | petree08 [ Fri May 02, 2008 8:10 am ] |
Post subject: | RE:Music player v2 |
oh... i googled VLC , thanks man |
Author: | Clayton [ Fri May 02, 2008 9:01 am ] |
Post subject: | RE:Music player v2 |
I linked it in my post. That's what that nice light blue means generally on the internet. |
Author: | petree08 [ Fri May 02, 2008 10:58 am ] |
Post subject: | RE:Music player v2 |
lol, my computer was set to black and white at the time.. some moron set it up that way |
Author: | ums [ Thu May 08, 2008 9:06 pm ] |
Post subject: | Re: Music player v2 |
hey i had one question for my grade 10 final i was making a media player aswell..i had one question how did u get the user to locate the music folder and how can u get the music to play all i have so far is music.playfile and then the title of the song in brackets it plays that song but i want more songs to play ..and i also wanted to get to locate it so they could listen a bunch of songs at once, not one at a time..i need help my teacher is being a douche and not helping he says to ask some ppl in class but no one knows so the help will be greatly appreciated |
Author: | petree08 [ Fri May 09, 2008 8:19 am ] |
Post subject: | RE:Music player v2 |
okay so the first thing you need to do is open the folder the music is in. I had the user specify the name of the folder . open folder using the Dir.Open command to use the Dir.Open Commad you neeed a DirID var and a Folder name var DirID needs to be an int UserInput needs to be a string DirID := Dir.Open (UserInput) I then used the File.Get command to search for every file with the extensions - .mp3 -.wav -.mid (turings supportable audio files) i saved every filename into an array of strings - The GUI and play interface is a little harder to explain, but if you understand the above then you should at least have a list of songs going - good luck |
Author: | ums [ Sat May 10, 2008 1:07 pm ] |
Post subject: | Re: Music player v2 |
yah i tired what u said to do but the program asks u to enter the folder and once u've entered the file it won't play the songs...here is what i have so far var DirID : int var foldername : string setscreen("text") put "Enter a file where your music is locate" get foldername DirID := Dir.Open (foldername) process music Music.PlayFile (foldername) end music fork music Dir.Close(DirID) if possible could u help me with my problem...i have the music files in a folder that is called music and is in the same folder as the program above but it still doesn't work |
Author: | darkangel [ Sat May 10, 2008 5:44 pm ] | ||
Post subject: | Re: Music player v2 | ||
ums @ Sat May 10, 2008 1:07 pm wrote: process music Music.PlayFile (foldername) end music you can't play a folder so what you have to do is...
use that bit of code to find all the files that CAN be played, then use the Music.PlayFile on the files that you FIND IN IT. |
Author: | ums [ Sat May 10, 2008 8:57 pm ] |
Post subject: | Re: Music player v2 |
thanx for the help in opening the folder...the program now outputs the songs that are located in that folder but i still don't understand how i can make the Music.PlayFile to play the files that are in the folder where do i put this in the programe code: process music Music.PlayFile ("") end music fork music and one last thing what do i put in the brackets for the Music.PlayFile ...and thanx for the help guys |
Author: | gitoxa [ Sat May 10, 2008 9:07 pm ] |
Post subject: | RE:Music player v2 |
Music.PlayFile("SongName.mp3") or Music.PlayFile(String_Variable_Holding_Song_Name) |
Author: | petree08 [ Sun May 11, 2008 12:59 pm ] |
Post subject: | RE:Music player v2 |
i saved the song names into an array of strings that way i could scroll through them and use gui |
Author: | ums [ Tue May 13, 2008 5:55 pm ] |
Post subject: | Re: Music player v2 |
one last question i hope, how do u get the songs in to an array |
Author: | petree08 [ Tue May 13, 2008 8:49 pm ] |
Post subject: | RE:Music player v2 |
using the file.get command, get individual file names and place it into an array. |
Author: | petree08 [ Wed May 21, 2008 8:50 am ] |
Post subject: | Re: Music player v2 |
okay so i've sort of turned this program into a little project for myself New features - new tittle -in this version i've added a stop/play button (kinda glitchy) -i added a scrolling song display, -user can now tell program where the music is using paths Future features -splash screen (logo and such) -changable color scheme -program searches computer for all music, instead of being limited to one folder -a song library -playlists -removing songs from library anyway here it is so far |