Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-03-2007, 08:01 AM   #1
ash_man_06
Registered User
 
Join Date: Nov 2007
Posts: 4
Default Frequency Variable? its a toughie.

Hey everyone, I'm planning on making a game that requires a player to make a certain frequency noise through their microphone, like a 'simon says' for noises.

I've been searching the internet for ages now, and I can't find a single thing.

Is there any way of getting the Khz frequency of a sound using javascript?

Thanks in advance. Hope you can help
ash_man_06 is offline   Reply With Quote
Old 11-04-2007, 07:08 PM   #2
majicassassin
Demigod
 
majicassassin's Avatar
 
Join Date: Aug 2005
Posts: 282
Send a message via AIM to majicassassin
Default

Search for 'Fast Fourier Transform', that's the general concept (tough one though) that you have to understand. Flash has one built into the spectrum analyzer, and I'm sure there's a few lying around for javascript or similar somewhere...
majicassassin is offline   Reply With Quote
Old 11-05-2007, 12:17 AM   #3
ash_man_06
Registered User
 
Join Date: Nov 2007
Posts: 4
Default

What do you mean by flash havng one built into the spectrum analyzer? Does flash have an inbuilt one or is there source code on the internet?
ash_man_06 is offline   Reply With Quote
Old 11-05-2007, 01:04 AM   #4
majicassassin
Demigod
 
majicassassin's Avatar
 
Join Date: Aug 2005
Posts: 282
Send a message via AIM to majicassassin
Default

Flash CS3 ships with a spectrum analyzer.

http://flashenabled.wordpress.com/20...yzer-with-as3/
majicassassin is offline   Reply With Quote
Old 11-05-2007, 12:29 PM   #5
ash_man_06
Registered User
 
Join Date: Nov 2007
Posts: 4
Default

Oh ok, thanks. I'm still on MX 2004 Pro, so I've gotta wait a bit until I can buy a computer with the min sys req's. Thanks a lot for your help
ash_man_06 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Skinning components with embedded components epeace Components 5 06-16-2005 08:35 PM
Watcher and variable update pinkaboo ActionScript 1.0 (and below) 3 06-26-2003 11:01 PM
Variable musings retrotron ActionScript 1.0 (and below) 8 06-24-2003 10:33 PM
strange variable behavior flashdudette ActionScript 1.0 (and below) 3 05-09-2003 06:49 PM
checking variable problem flashdudette Server-Side Scripting 0 04-29-2003 05:51 PM


All times are GMT. The time now is 03:26 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.