Welcome to one of the most active flamenco sites on the Internet. Guests can read most posts but if you want to participate click here to register.
This site is dedicated to the memory of Paco de Lucía, Ron Mitchell, Guy Williams, Linda Elvira, Philip John Lee, Craig Eros, Ben Woods, David Serva and Tom Blackshear who went ahead of us.
We receive 12,200 visitors a month from 200 countries and 1.7 million page impressions a year. To advertise on this site please contact us.
|
|
####A FREE 12 Count flamenco Metronome####
|
You are logged in as Guest
|
Users viewing this topic: none
|
|
Login | |
|
stevefox
Posts: 17
Joined: Nov. 5 2004
From: West
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
hi guys thanks for the opinions, your reviews are of great encouragement to me. ok, let me clear some of the questions first- software and source code actually i was using FLASH to build the whole scene and graphics, and all the timing part are using Action Script 2.0. learning AS2.0 is far more easier than learning Visual C(i think ...), later i will make the source code available the timing problem there is one lacking point of the AS2.0 - the minimum time step is not exactly fixed, AS2.0 is embeded in the FLASH so, it is associated with the minimum time frame of the flash movie. i set the movie time frame to be 120f/s, which means minimum time step is around 8ms. so the biggest time error should be 4ms. if speed is 280bpm, then there will be around 2% mistake. but actually when the PC is busy, the time frame rate will drop and the timing error some times up to 10% probably, this is quite noticeable. so, the faster tempo, the more timing error. i tested at speed below 180 it should be working fine. and another thing i still haven't figure out is that the first beat always takes longer time. i guess it take time to load the scripts ....maybe the sound the sound formats are using both windows wave and mp3. so if pc can't decode the mp3(maybe) the sound will be missing. if i try using totally wave format then it should be better(but larger size). i am still considering making the volume adjustable and more sound effect to choose from. ---------------------------------------------------------------------------------------- hi ron, thank you for the nice comments, i have totally no idea about VB(plus the software is expensive and huge), anyhow perhaps VB should be more accurate in time dividing? the wave file i use windows recorder to record and edit, tried countless times then finally got a better timing. the wave is only 18ms~30ms long( the timing problem should be originated from here!!!!), so they are short enough for one beat. hi cheston, how are you lately? sorry long time haven't contact you, last month i was just back from phuket, i was so darn lucky man. so how's everything going? i listened all your recordings from the website, very good, you are really talented : ) steven
Images are resized automatically to a maximum width of 800px
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Jan. 17 2005 5:18:49
|
|
stevefox
Posts: 17
Joined: Nov. 5 2004
From: West
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
The source code is Action Script 2.0 embeded in the Flash. source file has '.fla' extention which can be opened by Flash MX. you may want to adopt it into other programme language, here is the idea, the basic flow is - 1. obtain the parameters needed (compas type and speed) from the user interface. when the compas is selected, rotate the accent circle according to the rythm pattern. 2. when play started, calculate the speed and change it into time step 'ts' 3. rotate the pointer by 30 degree every ts. this interval is performed by setInterval(function(),time) 4. play sound each time when the pointer is rotated, and choose which sound to play according to the selected compas pattern. just that simple! the most tricky part is the rythm pattern. it is very difficult to implement a logical way to tell the pc when to play strong beat and when to play weak beat, it is possible by using complicated 'if' combinations, but the judgements will slow down the speed which is not within control. so i use 'pattern numbers' - e.g. for bulerias, the compas is O-X-X-O-X-X-O-X-O-X-O-X, then if '1' stands for strong beat and '0' for weak beat, we get a 12 bit binary number 100100101010, so, each time we judge the beat by the 1 & 0, the souce code is - TYPE = 0b10101001001 /*pattern reversed N = (TYPE >> B) && 1 /*B is the beat count, right shift the binary code by B bits and use logic 'AND 000000000001' to get the last digit if (N == 1) { playsound(strongbeat.wav) } else { playsound(weakbeat.wav) } that is how the core part is simply implemented. so at the interface, i used a select box to get the information of desired compas, Bulerias = 1353 /* decimal number of 010101001001 Soleares = 2724 /* decimal number of 101010100100 Siguiriyas = 1173 /*decimal number of 010010010101 ...... once the value is selected, the back ground of the 12 count numbers will rotate by certain degrees to mark out the accent beat if(TYPE == 1353) { background._rotation = 0 } /*default value else if (TYPE == 2724) { background._rotation = -30 } /*for soleares & the like else if (TYPE == 1173) { background._rotation = 120 } /*for siguiriyas these are the most part of the source code, others are interface design, just drag and drop. i wish someone could adopt this program into VB or VC etc, which should have a more accurate timing structure. any questions and discussion plz feel free to voice out, thank you !:)
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Jan. 17 2005 7:18:44
|
|
Jamey
Posts: 187
Joined: Jul. 7 2004
From: Winnipeg, Canada
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
Steve, I am a Flash developer. If you drop your movie's base frame rate, despite it seeming counter intuitive, your time delay/decay problem should decrease. The higher you set the framerate in Flash, the more you're asking it to do "on the fly". It's akin to having a digitial video clip at 30 frames per second or higher. Some machines will simply bottleneck. If you hit ctrl-F while it's running (this is a display toggle which will set it to full screen), you'll likely get an exaggerated example of what I'm talking about since the graphics display will take precedence and will bog down due to calculating bitmap and vector scaling at runtime "on the fly". Flash can be clunky. I think Gerhard used Macromedia Director for his metronome but it suffers many of the same ills that Flash does (I.E. Director does, not Gerhard's metronome). I usually set my Flash projects to no higher than 20 fps. You can probably get away with 30 fps as well, but when you bump it to 120, you aren't getting anywhere near 120fps performance and are actually causing the playback engine to slow down. It then starts to pile up a backlog of scripts and "behaviors" that it's trying to run in the order than they are called. Eventually it will really slow down unless you additionally code in some memory purging functions. You should probably also employ a discreet preload sequence to buffer the sound so that the first beat doesn't take longer. Flash buffer's internally so you have to work around it a bit when creating a desktop app. This is what's happening initially, your sound is being buffered the first time.
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Jan. 17 2005 16:55:52
|
|
stevefox
Posts: 17
Joined: Nov. 5 2004
From: West
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
hi everyone, i have just been back from my holidays. many thanks to Jamey, it is really embarassed to present my ameture software before real programmers. thanks a lot for your help buddy, here is the link to the source code - http://sg.geocities.com/stevefox_sg/zipfile.zip i was considering adding more functions and implementing the 4/4 timing mode to metronome but i was rather busy flying around these days, so here is the source code with every element inside, if you would like to make modifications that would be my greatest pleasure. :) hi Roberto, thanks a lot for wasting time on this freeware, yes absolutely, it is imperfect, this is why i share it to get precious help from our fellow guitarists. i have been learning flamenco guitar for 6 years and thank you for questioning me for the alegrias compas, i dont think i will explain that. and, very unfortunately, i have had the dvds for quite a long time. steven
Images are resized automatically to a maximum width of 800px
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Jan. 22 2005 16:04:45
|
|
Guest
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
never mind....figured out the link! I was looking for more of an http-type link... Randy
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Jan. 29 2005 18:18:11
|
|
Guest
|
RE: ####A FREE 12 Count flamenco Met... (in reply to stevefox)
|
|
|
Does anyone know why the Gerhard-Graf Metronome software isn't available to download anymore?
|
|
|
REPORT THIS POST AS INAPPROPRIATE |
Date Feb. 8 2006 14:19:44
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|
Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET |
0.109375 secs.
|