Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Playing Backround Music WITHOUT Slowing Turing.
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Fri Jun 12, 2009 12:51 am   Post subject: Playing Backround Music WITHOUT Slowing Turing.

Well Like The Topic Title Says I made a program that Runs Music in Turing but it doesn't affect your main programs speed! This is EXTREMELY useful. Now you dont have to worry about music slowing down turing's speed. The Music Is Controlled and The Program can be terminated with your main game. The Only reason the download is large is becase I uploaded 1 song with the program.


Play Music Without Slowing Turing!.zip
 Description:
Open The File"Runs Music.t" in turing.

Download
 Filename:  Play Music Without Slowing Turing!.zip
 Filesize:  5.33 MB
 Downloaded:  300 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Fri Jun 12, 2009 12:01 pm   Post subject: RE:Playing Backround Music WITHOUT Slowing Turing.

So you are essentially running a local server that listens for commands and plays music. That's actually rather clever. The same could be applied for any background process that could be done asynchronously, and is better know as task queue (and is widely used in web applications).
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
copthesaint




PostPosted: Fri Jun 12, 2009 12:13 pm   Post subject: RE:Playing Backround Music WITHOUT Slowing Turing.

Yes I Am Changing My progrma Currently though because I am Having Some Errors. My goal is Still the Same but I want to make this program as Efficiant as possible, and since I have only spent an hour on it, I still Have a lot to do. I just posted this to see if anyone would be interested.
tjmoore1993




PostPosted: Fri Jun 12, 2009 4:16 pm   Post subject: RE:Playing Backround Music WITHOUT Slowing Turing.

I'm very interested in understanding how this works and why it is a better way. Don't mind me asking but is it possible for you to release the code with some comments? I'm still getting familiar with Turings Net feature.
copthesaint




PostPosted: Sat Jun 13, 2009 6:30 pm   Post subject: Re: Playing Backround Music WITHOUT Slowing Turing.

Ok I have made the program working! You can close the Music launcher, Run Music, Stop Music, and Change TheMusic File!
All Without Slowing your game's Speed! If you are going to use this for your program from a culminating project, Make sure your teacher will allow it.

Also If you would like to make a online program, make a help thread and Im sure some people can help you, also try looking at the help menus and Online titorials.
Edit: I Fixed the error with closing the launcher. Right Now they are no problems with th two lauchers, but I will be remaking this program again to make it more efficiant.



Play Music Without Slowing Turing!.zip
 Description:
You Need a Music File to use this.

Download
 Filename:  Play Music Without Slowing Turing!.zip
 Filesize:  324.93 KB
 Downloaded:  224 Time(s)

andrew.




PostPosted: Sun Jun 14, 2009 6:04 pm   Post subject: Re: RE:Playing Backround Music WITHOUT Slowing Turing.

tjmoore1993 @ Fri Jun 12, 2009 4:16 pm wrote:
I'm very interested in understanding how this works and why it is a better way. Don't mind me asking but is it possible for you to release the code with some comments? I'm still getting familiar with Turings Net feature.
By a quick glance at his code, I think he's doing it by having a separate Turing program act as a server and when it gets a command from the main Turing program, it will start playing music. Since it's a completely separate program, it has no effect on the speed of the main Turing game. It's rather smart actually.
ProgrammingFun




PostPosted: Sun Jan 17, 2010 8:56 am   Post subject: RE:Playing Backround Music WITHOUT Slowing Turing.

So If I was to use this, I would just put these files in my program's directory and it should work?
copthesaint




PostPosted: Sat Feb 06, 2010 2:51 am   Post subject: RE:Playing Backround Music WITHOUT Slowing Turing.

Kinda late reply... but yea just add the 2 files and follow instructions for how to use in your program, and thats it.

Funny, I had, "at one point", a Version that used the same concept to be used as a loading screen, except it ACUALLY WAS a loading screen lol.

Also, and only saying this since I am the only one to make a program like this, If I made a great discription, would an admin let me create a new thread for this, and then sticky it? 9 people used it in my school for there music last semester, and I'm sure many other stundents would find it usefull aswell.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: