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 / Guitar Hero SG controller on a PC

Author
Message
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 8th Oct 2007 23:52
Using a PS2 to USB converter, Enhanced Audio Plugin and a C power cord sample I have created a little program in DBP that allows me to jam on my Cherry SG Guitar Hero controller

Sadly the converter doesn't recognize the whammy bar (or I could have made a GH remake) but I made it so the pitch go down when you tilt the guitar. Shaking the guitar makes it sound pretty cool This is probably the coolest thing ever on 33 lines!

I still have a lot of cool ideas to add to this little bedroom project. For example, I want to loop a part of the sample so I can sustain chords for as long as I want. When the fret buttons are released the sound is faded out.

This recording I've attached is made by looping the sound from my laptop speakers to my laptop mic, it sounds horrible so I only did a 64 bit MP3 encoding. If you listen closely you can hear me hitting the strum bar.


THIS PROGRAM IS NOTHING BUT A BLACK SCREEN SO DOWNLOAD THE MP3 INSTEAD!!!

[center]
CREATE games with ease! NO programming required!
WIP

Attachments

Login to view attachments
Windsept
18
Years of Service
User Offline
Joined: 9th Jun 2006
Location: United States
Posted: 9th Oct 2007 00:43 Edited at: 9th Oct 2007 00:43
Thats pretty cool!! I have never played Guitar Hero mostly because I never understood why I would play it when I could just pick up my real guitar and jam. But still good work!

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 9th Oct 2007 00:52
Because it's a rhythm game with rock/metal music? Because you get to play to music with the notes scrolling in front of you? Why do people sing karaoke or play Sing Star instead of just singing? Well, let's not make this a thread about Guitar Hero.

Thanks

[center]
CREATE games with ease! NO programming required!
WIP
Windsept
18
Years of Service
User Offline
Joined: 9th Jun 2006
Location: United States
Posted: 9th Oct 2007 03:56
Sorry, Still it is pretty cool what you did.

Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 9th Oct 2007 04:04
Is it just DBP that cant pick up the strum bar? Or is there no way to detect it using any language at all?

Your about to get pwned.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 9th Oct 2007 07:57
Windsept:
I didn't mind your previous post, I only meant not to continue the discussion

fxgamer:
The whammy bar (for altering the sound) not the strum bar you use to play. The driver for my PS2 to USB converter doesn't recognize it, Xpadder doesn't and I've tried all the joystick and device commands in DBP with no luck. I'm not even sure the converter have the hardware to detect it, if it does then I guess a new driver has to be made. Red Octane could have just made the whammy a PS2 joystick and it would have worked great but they didn't.

[center]
CREATE games with ease! NO programming required!
WIP
Wiggett
21
Years of Service
User Offline
Joined: 31st May 2003
Location: Australia
Posted: 10th Oct 2007 05:04
Can't check the program as I don't have a windoze box yet but it sounds like an awesome idea! yeah the adapter (I always spell it adaptor) I have also doesn't recognize the whammy bar, seems to be a common problem with adapters. Once I set up a new windows machien i will help out on the program, as I am looking to design a double gh guitar controller for another project that I wont announce just yet

Anyway keep up the good work!


Syndicate remastered: Corporate persuasion through urban violence.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 10th Oct 2007 12:41
Wiggett:
The thing is that the whammy is not made using a standard PS2 input like the other features. Like the strum bar is joystick Y axis and the tilt is a button.

Thanks

[center]
CREATE games with ease! NO programming required!
WIP
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 10th Oct 2007 13:15
That was neat, keep working at it buddy and you'll be a TGC rocker in no time .

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 10th Oct 2007 13:43
Quote: "Why do people sing karaoke or play Sing Star instead of just singing?"

Usually because they can't sing.

I've never played GH but nonetheless this looks like a pretty cool project.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 10th Oct 2007 13:56
Thanks guys

I've switched to a note sample instead of a chord, it think that's more useful for this program. It's hard to find a sound I really like though.

I've done modifications to the code and once I got it all working I'll post a new MP3. Modifications include program syncing, timer based code, variables for settings and partial sound looping. I'm also working on better fret combinations. Currently I'm using a simple binary system to interpret the frets pressed and while that's geeky it's not good for playing.

I'm thinking of supporting hammer-ons / pull-offs / slides, but maybe later.

[center]
CREATE games with ease! NO programming required!
WIP
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 10th Oct 2007 15:13
Seems like alot of work, just to get the PS2 one working; when the Xbox 360 ones is USB and works seemlessly with XInput.



Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 10th Oct 2007 15:47 Edited at: 10th Oct 2007 15:50
Well, 1) I don't have a 360 controller and 2) nor does most Guitar Hero players. And it's not any more problem. It's just that the whammy doesn't work. Getting the program to sound right is as much a problem with a 360 controller as with a PS2 controller.

[center]
CREATE games with ease! NO programming required!
WIP
NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 11th Oct 2007 17:58
I hope the Wii guitar gets implemented into GlovePIE. That'd be awesome.


Since the other one was scaring you guys so much...
demons breath
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 19th Oct 2007 01:15
how's the work going man?

http://jamesmason01.googlepages.com/index.htm
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 19th Oct 2007 15:18
Sorry about the lack of updates. I've been busy, tired and not in the mood for evening programming. Last weekend I spent cleaning my apartment and doing the laundry. I also got back to playing GH2 and couldn't really resist playing. I'll be going away this weekend but I'll be bringing my laptop and a Dualshock 2 with me and it's possible I do some coding.

I might have solved the whammy bar problem using 1 Dualshock 2 and 2 rubber bands I've not tested reading in the controller together with the SG in DBP yet, but I'm hopeful.

[center]
CREATE games with ease! NO programming required!
WIP
demons breath
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 19th Oct 2007 15:37
Rubber bands? Now that's the kind of fixing I like.

http://jamesmason01.googlepages.com/index.htm
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 19th Oct 2007 17:45
I just found some new cool guitar sound packs

[center]
CREATE games with ease! NO programming required!
WIP
NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 20th Oct 2007 00:32
Where? Do any of the sounds loop?


Since the other one was scaring you guys so much...
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 20th Oct 2007 19:04
I found a site with free downloadable sounds, I don't have the URL here but I'll post it as soon as I'm back home again.

[center]
CREATE games with ease! NO programming required!
WIP
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 21st Oct 2007 21:04
Ok, now I'm back!

Been doing some testing with AdvancedSPRITES this weekend but I also coded in the new whammy bar, fully working

Here's a link to Freesound!

[center]
CREATE games with ease! NO programming required!
WIP
Beast E Gargoyle
17
Years of Service
User Offline
Joined: 15th Feb 2007
Location: Sunny San Diego, CA
Posted: 1st Nov 2007 03:46
Great work Digital Awakening. I have guitar hero 2 and 3 for ps2 they both rock! Keep adding things and maybe redoctane could use it for guitar hero for pc if they ever make it.

Winner my a longshot!
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 1st Nov 2007 14:17
I don't think they would ever use anything made in DBP. BTW, Guitar Hero 3 is coming for both PC and Mac.

On a sidenote, I've been doing a bit of soul searching or whatever you wanna call it. Been feeling low on energy lately and I'm on a quest to find more, so to speak I think that's why I've really had no interest in writing a single line on this program. It's not like I've scrapped the idea, but it's gonna take a while.

[center]
CREATE games with ease! NO programming required!
WIP
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 6th Nov 2007 00:51


Its okay DA, we all get programming woes and life woes, take as long as you need, we'll always be here .

Dr. Mannete- OMG It's Zombie's voice, it's so Suave!

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 6th Nov 2007 12:13
Thanks

Now, back to worrying about coding SGT...

[center]
CREATE games with ease! NO programming required!
WIP

Login to post a reply

Server time is: 2024-09-29 22:29:08
Your offset time is: 2024-09-29 22:29:08