Reply
Please Help me build a flash Metronome.
Old 02-25-2007, 01:17 AM Please Help me build a flash Metronome.
Junior Talker

Posts: 3
Trades: 0
I have no experience with programming, but I'm desperately in need of a simple but reliable flash metronome that has a range of 40-440 b.p.m (beats per minute). The outlook should look exactly like so:



I need the output to be a .swf file. The timing should also be precise on both the higher and lower end. Can anyone make this project for me? I'd be incredbly grateful. You'd totally make my day...

Here are some examples, if that helps:

http://www.all-guitar-chords.com/metronome.php
http://www.metronomeonline.com/
http://board.flashkit.com/board/arc...p/t-342455.html
http://board.flashkit.com/board/sho...017&postcount=9

Code:
startTime = getTimer();
minTimer = startTime;
n = 1;
freq = 333;  // <- 3 beats per second or 180 bpm
metroI = setInterval(metroF, freq, freq);
function metroF(compensatedFreq) {
    errorTime = getTimer()-startTime-freq;  // this is a correction factor used 2 lines below
    clearInterval(metroI);
    metroI = setInterval(metroF, compensatedFreq-errorTime, compensatedFreq-errorTime);
    if (getTimer()-minTimer>=60000) {  // this allows a test of the number of beats recorded in about 1 min
        clearInterval(metroI);
        trace(n);
    }
    startTime = getTimer();
    n++;
}
helloall22 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 02-25-2007, 10:21 AM Re: Please Help me build a flash Metronome.
LadynRed's Avatar
Super Moderator

Posts: 9,036
Location: Tennessee
Trades: 0
Try this - you can d/l the source FLA file too
http://multimedia.utsa.edu:16080/mp/...ash/metronome/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 11:12 AM Re: Please Help me build a flash Metronome.
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Try this - you can d/l the source FLA file too
http://multimedia.utsa.edu:16080/mp/...ash/metronome/
Wow, thank you very much. That's surely better than anything I've been able to find on google, but I was looking for one what a bit less space consuming, and able to handle chromatic increments of bpm, not so much a slider.

Still an amazing resource though, if all else fails. But I hope actually hoping someone could make this for me, while maintaining the accuracy of it all...
helloall22 is offline
Reply With Quote
View Public Profile
 
Old 02-26-2007, 03:09 PM Re: Please Help me build a flash Metronome.
LadynRed's Avatar
Super Moderator

Posts: 9,036
Location: Tennessee
Trades: 0
You might want to head over to Flashkit - www.flashkit.com, someone there might be able to help you out.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-26-2007, 06:14 PM Re: Please Help me build a flash Metronome.
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by LadynRed View Post
You might want to head over to Flashkit - www.flashkit.com, someone there might be able to help you out.
Can't you program it for me, LadynRed? I hear its fairly simple to make, given the criteria...? I'd very much appreciate the help. I'd do it myself if I knew how...
helloall22 is offline
Reply With Quote
View Public Profile
 
Old 02-26-2007, 06:34 PM Re: Please Help me build a flash Metronome.
LadynRed's Avatar
Super Moderator

Posts: 9,036
Location: Tennessee
Trades: 0
I'm afraid that would be more Actionscript than I could handle, which is why I made the suggestion.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Please Help me build a flash Metronome.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11015 seconds with 13 queries