![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Greetings,
I'm a Deaf gamer and I tend to go to LAN parties and get my ass handed to me in counter strike. The reason I don't do so well is I can't hear the enemy's footsteps, which opponents take advantage of real quick by never walking/croutch walking to muffle the sounds. I thought I should make a led light project that will show led lights in directions from where footsteps are heard. I tried looking at a few projects out on the web, but my lack of sound knowledge makes it difficult to figure out which project I should get or if those projects aren't what I have in mind. Here's what I'm thinking of.. The led light board will hook up to where the stereo speakers come from. If a sound comes from it, the led lights will light up, but there is no sound. There should be a range of loudness so I could tell how far away. In retrospect, maybe a surround sound would be better as it should tell me if the sounds are coming from behind or ahead. any ideas would be helpful.. I'm hoping to get this project done by next lan party, on may 5th. Thanks |
|
|
|
|
|
|
(permalink) |
|
If your system is only stereo and not surround sound then you can only get a visualisation of left and right.
This is a pretty easy project as you just need a circuit diagram for a VU (Volume Unit) meter but you will need one for each channel. It is then just a matter of making up a display unit that suits you and then fine tuning it during play to give you the best audio visualization during play. |
|
|
|
|
|
|
(permalink) |
|
An LM3914??? Bar/Dot driver might be a quick and simple solution, fairly cheap as well. The louder the sound, the closer they be, right?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
A Google search for VU meter schematics should throw up some suggestions.
__________________
''It was working when it went out'' |
||
|
|
|
|
|
(permalink) |
|
The LM3914 has linear voltage steps for a voltmeter. For sound levels you need an LM3915 that has logarithmic steps that are 3dB apart.
The LM3914 would make a couple of huge steps at the quiet end and a few very close together steps at the loud end. The LM3915 lights the next LED when the sound is a little louder than the sound that lighted the previous LED. Each step indicates a small increase in loudness.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
Hi,
I wasted far too much time on CS a few years ago (student days) and I remember the gun sounds/voices/grenades being far louder than the footsteps. You'll see a pretty light show, that will obviously indicate 'sounds' but I doubt it'll be really useful, unless you're on a large map, with few players, so 'footsteps' are really the main source of noise (think 'italy', is that still played?). Saying that, as the other guys said, a half decent VU meter would safice. You could make a bargraph, horizontally, with one one LED lit at a time (dot bar graph). The LM3915 has that ability (bar/dot). The further 'left' the left channel bargraph goes, the quieter the sound, as with the right. Both graphs going directly to the centre of the display would indicate a big sound directly in front, or behind. Its a great idea you've got there, as hearing the footsteps is another advantage although many used to play sans sound, as it can improve your game One more idea, I tend to over complicate things, all my projects balloon in complexity over time, so I'll stick with my little tradition. [wacky idea] You *could* (probably considered hacking/cheating/exploiting) replace the wav file for foot steps with a unique waveform. Something which a circuit can detect easily and distinguish it from other sounds. This would only be for footsteps though, or a single sound (like a grenade). If you add a transistor the the ground of all the LED's in your display, you can turn the display on/off with a single digital line, 1/0. And with a suitable detector circuit, only turn them on when this unique sound is detected. That way, your bargraph will only show footsteps noises, plus their direction, and volume/proximity. Thats probably a crap idea, because explosions produce a multitude of frequencies, hence false triggering, so maybe a 'tone decoder' or two, and the wave file will be two or three distinct tones, lasting 0.5s?. Only when all these tones are detected do you light up your display. [/wacky idea] There may even be a way to bypass the wav file altogether, and replace it with a script that sends a msg out the serial/USB port to a back of led's every time the 'wav' is called by HL. Zed, harvey, audioguru has this pretty much covered I think. I just tend to rant in the wee hours. Blueteeth
__________________
Inconsistency is the key to flexibility! |
|
|
|
|
|
|
(permalink) |
|
If you want to get funky, could you add a differential circuit so that it showed when there was a louder noise from one direction than another ? i.e. for stereo, subtract left from right, rather than watching two bars go up and down in sync.
The alternative would be to unplug the headphones from your speakers, and overwhelm everyone else I think a guy in our office has a hearing aid he can patch directly into a phone - is that an option for you ? Edit: Going back to BlueTeeth's idea, you could edit the footstep sounds to make them louder relative to the other stuff (like explosions) so you can crank your volume a bit more, or depending on your particular hearing capabilities replace it with a tone or something that registers better for you. This is actually a really dangerous idea. With powerful enough sound processing, and enough knowledge of how CS and other FPS attenuate sound you could develop a system that should let you locate almost EVERYONE on the map. You know the EXACT sounds they are making, and have stereo or surround input ! Last edited by mroberts; 10th April 2007 at 01:59 AM. |
|
|
|
|
|
|
(permalink) |
|
hi,
If you can write code in Visual Basic, you could display the left/right sound channel waveforms on a small area of the screen. Or, [ I'm doing a Blueteeth, help!] you could download the free Audacity sound program and give that a try.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
Its pretty much a standard to have at least 5.1 sound, even the original CS (HL1, not source) has EAX 3D surround, so maybe a true 3d type display, maybe a circle of LED's should be doable. Sorry, ranting again, I don't wanna waste posts. Blueteeth
__________________
Inconsistency is the key to flexibility! |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
hi,
There are plenty of open source VB files on the web for using the sound card and displaying waveforms. You could modify one to suit your application
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
Last edited by Rainsforth; 10th April 2007 at 07:08 PM. |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
Wow, I didn't think of that at all. Steam can get funny with file changes (like the start up music). You may have to make wav files, of the same length (and therefore the same size) but with no change in sample numbers (all 0x000's, or 0xFFFF). Either that or make them all 'read-only'. Then I guess you're just choosing between coding or something external. If your programming is up to it, it'll be damn cool. I always go for 'glowing' things, regardless of the work involved. Depends on what youa re more experienced in. There are however, some kits available, specifically for VU meters. You could move the bargraphs into an arrangement that suits you, or slightly modify it, that way the bulk of the work is already done for you. Blueteeth
__________________
Inconsistency is the key to flexibility! |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Request for help on an LED bar graph circuit by an electronics noob. | ThrowingChicken | Electronic Projects Design/Ideas/Reviews | 38 | 14th April 2007 01:08 AM |
| Flashing a LED with Mouse | Gayan Soyza | Electronic Projects | 12 | 28th March 2007 10:53 PM |
| Accessing EEPROM | Clayton | Micro Controllers | 15 | 23rd March 2007 03:00 AM |
| negative sound | Kane2oo2 | Electronic Projects Design/Ideas/Reviews | 14 | 29th September 2004 01:40 AM |