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.

Work in Progress / BioMusic- A Music Player

Author
Message
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 24th Aug 2006 01:35 Edited at: 19th Sep 2006 00:53
Hey, I've been working on this music player for a few days now, and it's starting to have some nice features. Just recently I discovered the play cd command, which got me interested in making a music player and a sort of library type thing.

Current Features:
Can play music off a cd(mp3)
-Randomize Tracks
-Cycle Through Tracks
-Pause the music

Can load music from a playlist directory
-Switch between folders in the playlist directory
-Plays mp3,wav,and mid formats
-pause the music

Features to come:
Saving music off your cd
-putting them in a new folder or a current one
Visual Effects
Intetactive Buttons (instead of text input)
Skins

I'm not sure if there are many other things I could do with this, but hopefully all my features will come together nicely. Comments and suggestions welcome! (I will post a demo later on tonight)

Screen Shoot:
Check a little lower!


Updates:
I've updated the player so that you can play mp3,wav, and mid formats and pause the music. Not much progress, but it's enough to post. Check the bottom of the thread for the updated version. Also, the program reads the files in two parts (artist - song.extenstion. Don't put any of these: - in the file name, it will mess up the song title print out. Also, if there is no aritist, just call it song.extenstion.


~Dr. Manette

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 24th Aug 2006 01:39
Good luck with this, as I find it rather boring to code a music playing program.

But, I have something that you could find of very very great use, its a coding method I thought of. My msn is kronosdarkbasic@hotmail.com

Since, I'm not gonna make a music thing, you can know the thing, hehe, but I don't want anyone else to know


Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 24th Aug 2006 02:23 Edited at: 24th Aug 2006 02:30
Here is the program so far. You can do everything under the current features on the first post. To play a cd, it must be in the cd drive.
Make a folder called playlist and put it where ever the exe is, and put the .mp3 files in there. If you want folders in side the playlist folder, they must start with bio_ (example: bio_The Beatles).

Bio Fox...four guys, one computer, games like nobody's business.

Attachments

Login to view attachments
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 24th Aug 2006 02:26 Edited at: 24th Aug 2006 02:27
And here is a screen shot. Hey Xenocythe, thanks, I'll email you for that coding method!

---edit---
Wow, sorry for the horrible screenie. Ah well, there isn't much to show yet visual wise.

Bio Fox...four guys, one computer, games like nobody's business.

Attachments

Login to view attachments
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 24th Aug 2006 02:56
Might I recommend using Blue GUI?

Jrock is pronouned Jay-Rock
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 24th Aug 2006 03:30
Does anyone know how to save music files. I couldn't find a commands for it in the help files.... thanks for the tip Jrock, I'll check it out, looks pretty cool.

Bio Fox...four guys, one computer, games like nobody's business.
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 25th Aug 2006 04:21
Here is the newest version of BioMusic! Remember to add the playlist folder to the same directory as the exe and put your music in it.

Bio Fox...four guys, one computer, games like nobody's business.

Attachments

Login to view attachments
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 25th Aug 2006 11:45
Well, it could use a GUI, but I wouldn't use blueGUI for it. Unless you want to use the skinning commands of it. The loading and saving dialog could be useful though...

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 26th Aug 2006 02:02 Edited at: 26th Aug 2006 02:12
Quote: "The loading and saving dialog could be useful though..."


Thats the primary reason I recommened it.

For saving Music Files, I'd do something like this-


Jrock is pronouned Jay-Rock
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 26th Aug 2006 03:59 Edited at: 26th Aug 2006 05:52
Looks intriguing, Jrock.... from first glance it seems to be saving a .txt file. Might be wrong, I'll have to try it out.

---edit---
Is it supposed to be saving a .mp3 or just a text file with a name in it? I think you miss under stood me, I need help saving the music I get off the cd as a .mp3 file. I've looked on the help files but the only command close to this is save sound, which will only work for sound files, not music files.

Bio Fox...four guys, one computer, games like nobody's business.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 26th Aug 2006 10:52
I think that that just saves a list (For music playback?).

Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 26th Aug 2006 18:13 Edited at: 26th Aug 2006 18:59
Yes, that code just saves a list of songs that can be loaded with the array commands. There is no way to save a mp3 file, I think.

Jrock is pronouned Jay-Rock
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 26th Aug 2006 19:07
Oh, that's too bad. I was hoping to be able to take the music off with my program, but I suppose I will have to use another for now. Thanks for the help, Jrock.

Bio Fox...four guys, one computer, games like nobody's business.
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 26th Aug 2006 19:11
Well... maybe you could do something with the recording commands.

For example...



Yes... that should work!

Jrock is pronouned Jay-Rock
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 26th Aug 2006 19:13
I only see one problem with that...

He's using music, not sounds


Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 26th Aug 2006 19:14
But my code is a work around... You could have the user change the WAV to MP3 with an outside program.

Jrock is pronouned Jay-Rock
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 26th Aug 2006 21:43
use the copy file command

Naruto is the ninja...not really

Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 27th Aug 2006 01:26
Slayer, could you give some more information on how you could use copy file? I looked it over and it seems to only work if the file has a filename, which a music file gotten through load cdmusic 1,1 would not have.
By the way, I've checked out memblocks, and of course, you can't write music to a memblock, only sound! There seems to be a shortage of music commands these days...

Bio Fox...four guys, one computer, games like nobody's business.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 27th Aug 2006 01:39
Quote from Me:
Quote: "Good luck with this, as I find it rather boring to code a music playing program."




But don't worry, if there's a will, there's a way.


Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 28th Aug 2006 05:53
Yeh I just relized that maybe you could use the copy file command if you went into the cd

Naruto is the ninja...not really

Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 28th Aug 2006 17:30
@Xenocythe Thanks for the support!

@Slayer93 The problem with copy file is that there needs to be a file already on your hard drive, since you need to supply the original file name.

Bio Fox...four guys, one computer, games like nobody's business.
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 29th Aug 2006 01:32
there are files on cds that probably have filenames but it probably wont work so dont listen to me

Naruto is the ninja...not really

Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 29th Aug 2006 03:59
I know they store the track names on the cd, but how to get them... thanks for the suggestion, though, Slayer. I'm not giving up this easily!

Bio Fox...four guys, one computer, games like nobody's business.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 29th Aug 2006 05:49 Edited at: 29th Aug 2006 05:49
Would record sound work with recording music? I mean, It probably records from Mono track import, so it would record any sound playing I guess


Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 29th Aug 2006 16:10
It only records from a mic, so it would probably sound horrible.

Bio Fox...four guys, one computer, games like nobody's business.
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 19th Sep 2006 00:41
Well, I think I've got BioMusic pretty much wrapped up. I guess some of the more wmpesqe features will have to wait, my multiplayer fps awaits my attention. Here's a final version of BioMusic, I might update later on, using a gui if i get one. Till then!

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com

Attachments

Login to view attachments
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 19th Sep 2006 00:50
And a screen shot:

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com

Attachments

Login to view attachments
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 20th Sep 2006 03:01
Well if you want me to add a GUI for it, just email the source code (You don't have to, and I wouldn't steal it or anything like that). Then I could send it back and you could re-publish it.

Ok the mods got rid of my sig...
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 20th Sep 2006 03:16 Edited at: 20th Sep 2006 03:18
Really, that'd be great! Basically, I really just need away to scroll where it prints the files in the different folders. Well, I'll email it to you, thanks a lot Jrock!

edit
Except I need an email! hehe, you could just email me to give it if you want.

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 20th Sep 2006 04:00 Edited at: 20th Sep 2006 04:01
Oh ya sorry. Its jmjdenk@hotmail.com
I'll add play, pause, stop, and record buttons to it. I'll also add a volume trackbar and open/save dialogs. Tell me if you need anything else . I can also make a logo for it if you want (I got Photoshop).

I should finish this in about 1-2 weeks, and I'll email you screenshots or just post them here.

Cheers!

Ok the mods got rid of my sig...
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 20th Sep 2006 04:10
Everything you mentioned sounds great! I don't really need a logo, but the buttons are definately cool. If you have any trouble figuring out what goes where, just tell me. Sending as i type! Thanks again.

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 11th Oct 2006 01:39
Any progress with skinning it, Jrock? Not trying to rush you or anything, but if you have any questions ask.

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com

Login to post a reply

Server time is: 2024-11-23 20:12:21
Your offset time is: 2024-11-23 20:12:21