Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: hanelyp on January 07, 2006, 11:40:24 pm

Title: analog controler through sound card
Post by: hanelyp on January 07, 2006, 11:40:24 pm
Dusting out the inside of my computer this morning, it occurred to me that the line-in port of the sound card is a 2 channel analog input, which with the right interface hardware and software could accommodate an analog stick.  Since the port doesn't respond to DC levels, It'll necessary to use an AC tone, which introduces to possability of more channels encoded as different tones, pealed off in software.  Funneling the decoded data into a stream that most game software recognises threatens to be the hardest part on a certain OS.
Title: Re: analog controler through sound card
Post by: Ed_McCarron on January 08, 2006, 07:47:01 pm
I gotta ask why?

If you've got a sound card, you probably have a joystick port, no?

If its the "Because its there" factor, I understand and wish you luck. :)
Title: Re: analog controler through sound card
Post by: hanelyp on January 09, 2006, 06:15:19 pm
In my case I have a 'sound card on motherboard', but no joystick port.
Interfacing through USB might be easier.
Title: Re: analog controler through sound card
Post by: ahofle on January 09, 2006, 06:45:23 pm
Or you could just buy a cheap $10 sound card.

 ;D
Title: Re: analog controler through sound card
Post by: hanelyp on January 10, 2006, 10:59:09 pm
No ISA slots inside, just 3 PCI.
Title: Re: analog controler through sound card
Post by: tetsujin on January 11, 2006, 12:37:32 pm
In my case I have a 'sound card on motherboard', but no joystick port.
Interfacing through USB might be easier.

You can buy an adaptor at Radio Shack for around $20 that connects to USB and gives you a game port.  (Four analog axes and four buttons.)  There are also similar devices you can buy elsewhere, but which will provide more buttons.  (I know there's the AKI control boards, at least...  but I don't remember their cost.)

This assuming you don't want to go the DIY route and make your own USB device as I have.  :)

Sending analog axes into a soundcard's audio input, and then digitizing and measuring frequencies seems like more trouble than it's worth.  There's easier and cheaper ways to measure analog axes with a computer.
Title: Re: analog controler through sound card
Post by: ahofle on January 11, 2006, 01:12:31 pm
No ISA slots inside, just 3 PCI.

Huh?  The only sound cards made anymore are PCI.  Here's a cheapo for $9 shipped:

http://cgi.ebay.com/NEW-4-Ch-ESS1938-Audio-PCI-Internal-PC-Sound-Card-PC_W0QQitemZ6837957884QQcategoryZ3701QQrdZ1QQcmdZViewItem