Gmc Metronome - Flash Coding Help Needed!
Kristofer Dahl
Jul 2 2007, 10:06 AM
GMC Founder
Posts: 18.752
Joined: 15-August 05
From: Stockholm, Sweden
Hey there,

We have a very helpful user named Marraboy, who is a flash programer (check his site here) and who has decided to donate a flash metronome to GMC. He has insisted to do it for free so be sure to help him out in the forum as much as you can! smile.gif

Either way - there seems to be a slight bug, we have agreed to ask openly about it. So if anyone has a suggestion how to solve this, please let us know here.

Check out the metronome in Wallimann's most recent lesson (found here).

You might notice that the metronome clicks unevenly at higher speeds - which is what we would like to fix. This is only a problem when the flash video player is open simultaneously.

Kris

You are at GuitarMasterClass.net


Don't miss today's free lick. Plus all our lessons are packed with free content!

Don't miss today's free blues, jazz & country licks. Plus all our lessons are packed with free content!


--------------------
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Resurrection
Jul 2 2007, 10:49 AM
GMC:er
Posts: 202
Joined: 22-May 07
QUOTE (Kristofer Dahl @ Jul 2 2007, 10:06 AM) *
Hey there,

We have a very helpful user named Marraboy, who is a flash programer (check his site here) and who has decided to donate a flash metronome to GMC. He has insisted to do it for free so be sure to help him out in the forum as much as you can! smile.gif

Either way - there seems to be a slight bug, we have agreed to ask openly about it. So if anyone has a suggestion how to solve this, please let us know here.

Check out the metronome in Wallimann's most recent lesson (found here).

You might notice that the metronome clicks unevenly at higher speeds - which is what we would like to fix. This is only a problem when the flash video player is open simultaneously.

Kris



I don't have experience of flash programming, but I do have quite a lot of experience in developing software generally. My question would be how is the timing of the metronome ticks generated? Is it from a hardware timer? When the time expires and a new tick is needed, how is this event serviced? The problem sounds like the flash player sometimes has to do a higher-priority thing rather than play the tick when requested, resulting in uneven ticking at higher speeds. The fact that the problem is worse when the flash video player is active would also indicate this. Can the metronome 'tick' routine be put on a higher priority? The only other explanation I can come up with is that the timer is very inaccurate in counting out the required delay.

Not much of a solution I'm afraid, but maybe it will give Marraboy a few ideas about how to tackle the problem.

You are at GuitarMasterClass.net


Don't miss today's free lick. Plus all our lessons are packed with free content!

Don't miss today's free blues, jazz & country licks. Plus all our lessons are packed with free content!


--------------------
QUOTE
If you think you can, you can. And if you think you can't, you're right.
Go to the top of the page
 
+Quote Post

Posts in this topic
- Kristofer Dahl   Gmc Metronome - Flash Coding Help Needed!   Jul 2 2007, 10:06 AM
- - MickeM   There must be Flash forums where people can help. ...   Jul 2 2007, 10:33 AM
|- - Andrew Cockburn   I would echo what Ressurection says, but wanted t...   Jul 2 2007, 02:00 PM
nnn
- - Kaneda   I'll have a go, although I gave up on the Flas...   Jul 2 2007, 02:03 PM
|- - Andrew Cockburn   As ever, Kaneda gives a complete and well resoned ...   Jul 2 2007, 02:46 PM
||- - Kaneda   QUOTE (Andrew Cockburn @ Jul 2 2007, 03:4...   Jul 2 2007, 03:14 PM
nnn
|- - Resurrection   QUOTE (Kaneda @ Jul 2 2007, 02:03 PM) I...   Jul 2 2007, 03:35 PM
|- - fkalich   QUOTE (Resurrection @ Jul 2 2007, 09:35 A...   Jul 2 2007, 03:46 PM
nnn
nnn
- - Kristofer Dahl   Thanks Kaneda - even though this obviously is way...   Jul 2 2007, 04:24 PM
- - Eat-Sleep-andJam   Thats strange that it does that .. Have you aske...   Jul 2 2007, 05:03 PM
|- - fkalich   QUOTE (Eat-Sleep-andJam @ Jul 2 200...   Jul 2 2007, 05:34 PM
|- - Kaneda   QUOTE (fkalich @ Jul 2 2007, 06:34 PM) I ...   Jul 2 2007, 06:03 PM
nnn
nnn
- - Marraboy   Blimey!!! A few posts here then!...   Jul 2 2007, 07:02 PM
|- - Kaneda   QUOTE (Marraboy @ Jul 2 2007, 08:02 PM) B...   Jul 2 2007, 07:25 PM
|- - fkalich   have you played with the AS3 Timer class? My down...   Jul 2 2007, 07:55 PM
nnn
nnn
- - Marraboy   I haven't even looked at AS3 yet, as I have to...   Jul 2 2007, 09:08 PM
|- - fkalich   QUOTE (Marraboy @ Jul 2 2007, 02:08 PM) I...   Jul 3 2007, 12:42 AM
|- - Kaneda   Instantiating a Date object every 5 ms at least wo...   Jul 3 2007, 08:11 AM
|- - fkalich   QUOTE (Kaneda @ Jul 3 2007, 02:11 AM) Ins...   Jul 3 2007, 08:41 AM
|- - Kaneda   QUOTE (fkalich @ Jul 3 2007, 09:41 AM) Th...   Jul 3 2007, 09:50 AM
|- - fkalich   Everything you say sounds right. To be looping ev...   Jul 3 2007, 05:34 PM
nnn
nnn
nnn
nnn
nnn
- - Hardtail   Here just use this maybe. I uploaded to my websit...   Jul 3 2007, 06:01 PM
- - Hardtail   Also, I didn't realize until I reread Kris...   Jul 3 2007, 06:12 PM
nnn
nnn


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




RSS Lo-Fi Version Time is now: 23rd April 2024 - 05:15 PM