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

Username:   Password: 
 RegisterRegister   
 Guitar hero
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
nastynika




PostPosted: Wed Mar 26, 2008 8:56 am   Post subject: Guitar hero

is there a way i could make a guitar hero for turing that i could connect my guitar to and play and also be able to put the songs in it that i want
Sponsor
Sponsor
Sponsor
sponsor
jernst




PostPosted: Wed Mar 26, 2008 9:01 am   Post subject: Re: Guitar hero

I dont know all that much about turing, but in most other languages there is a way to get input from controllers and other such devices. And since the guitar hero controller seems to work in windows http://www.joystiq.com/2007/04/06/360s-guitar-hero-ii-guitar-works-in-windows-frets-on-fire/ you should be able to do it.

In terms of how it would actually work you could either hard code when the certain buttons on the guitar need to be pressed and check for input on the controller at the correct time. Or you could get more complicated and make the program figure out the buttons based on the frequencies in the music.
nastynika




PostPosted: Wed Mar 26, 2008 9:03 am   Post subject: Re: Guitar hero

hmm sounds like i have a lot of work ahead of me
Tony




PostPosted: Wed Mar 26, 2008 9:45 am   Post subject: RE:Guitar hero

I've seen some videos of splicing a USB connector into Xbox controllers. Not sure if Turing can read from USB though... figuring out the wiring of controller to parallel (do they still make computers with parallel ports?) will likely be a much more complex hack with less reference material.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
LaZ3R




PostPosted: Wed Mar 26, 2008 1:20 pm   Post subject: RE:Guitar hero

Turing ITSELF can not read from the USB. It is only capable of reading from parallel which is obsolete now. Computers these days do not come with that port mainly due to USB being around for many years now and much more effective on the market.

Unless you interface your own connecter from parallel to whatever the guitar hero controller uses, you won't have much luck with turing unfortunately Razz
Nick




PostPosted: Wed Mar 26, 2008 1:33 pm   Post subject: RE:Guitar hero

this is why I amde this tutorial http://compsci.ca/v3/viewtopic.php?t=17192

all joysticks I used were USB and it works perfectly and to boot I even tried my PS3 Rock Band guitar with great success
nastynika




PostPosted: Mon Mar 31, 2008 8:44 am   Post subject: Re: RE:Guitar hero

nick @ Wed Mar 26, 2008 1:33 pm wrote:
this is why I amde this tutorial http://compsci.ca/v3/viewtopic.php?t=17192

all joysticks I used were USB and it works perfectly and to boot I even tried my PS3 Rock Band guitar with great success


ok thanks this will help alot
andrew.




PostPosted: Sat Apr 05, 2008 6:44 pm   Post subject: Re: Guitar hero

Not sure if Turing can read from a USB controller. I know it can read from a parallel port, but I bet you don't even have it on your computer (nobody does anymore).
Sponsor
Sponsor
Sponsor
sponsor
Nick




PostPosted: Sat Apr 05, 2008 7:01 pm   Post subject: Re: Guitar hero

andrew. @ Sat Apr 05, 2008 6:44 pm wrote:
Not sure if Turing can read from a USB controller.


what did I just say?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: