A simple flamenco metronome for Mac (Full Version)

Foro Flamenco: http://www.foroflamenco.com/
- Discussions: http://www.foroflamenco.com/default.asp?catApp=0
- - General: http://www.foroflamenco.com/in_forum.asp?forumid=13
- - - A simple flamenco metronome for Mac: http://www.foroflamenco.com/fb.asp?m=164996



Message


Paul Magnussen -> A simple flamenco metronome for Mac (Mar. 17 2011 19:34:03)

Here's a simple AppleScript that will count soleares compás for you.

1) Double-click the Script Editor.
2) Past the following code into the Edit window.
3) Click the Compile button
4) From the File menu, choose the Save As… menu item.
5) Change the File Format from script to application.
6) Change the name to FlamencoMetronome.app, and save.
7) Double-click the resulting app to run.

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
-- Flamenco Metronome
-- By Paul Magnussen
-- Version 1.0
--------------------------------------------------------------------------------

property secondsBetweenCounts : 0
property secondsDelay : 10
property counter : -1

display dialog "Beats per minute?" default answer "120" buttons {"OK", "Cancel"}
set secondsBetweenCounts to 60 / (text returned of the result) as number

on idle
activate
if counter = -1 then
say "Starting in " & (secondsDelay as string) & " seconds."
set counter to 1
return secondsDelay
else
if counter is in {3, 6, 8, 10, 12} then
say counter
else
beep 1
end if

if counter = 12 then
set counter to 1
else
set counter to counter + 1
end if
end if

return secondsBetweenCounts
end idle




Tomrocker -> RE: A simple flamenco metronome for Mac (Mar. 17 2011 20:31:09)

Hey Paul, nice idea and great work. Only that when i open the app, the books pops up to ask for the choice of the beat i want to use. As a default it gives 120. When i press ok, nothing actually happens. I'm using a Macbook Bro with a Snow Leopard operative system.

Any idea why it's not running?

Thanks in advance[:)]




Paul Magnussen -> RE: A simple flamenco metronome for Mac (Mar. 17 2011 20:50:24)

quote:

When i press ok, nothing actually happens


The dialog box doesn't close?

If it does close: are you sure you haven’t you got the volume turned all the way down?




Tomrocker -> RE: A simple flamenco metronome for Mac (Mar. 18 2011 17:40:31)

The volume is ok and set. the box is closing when i press ok but i hear nothing!! I controlled the audio and it is regular but no beats though..




Adam -> RE: A simple flamenco metronome for Mac (Mar. 18 2011 18:27:11)

Hey Paul, interesting idea and thanks for sharing! In order to make it run, you have to check the "stay open" box when you save. At least, that's what I had to do.

Is there a way to have it just play the accent beeps louder than the surrounding beeps? The problem is that it doesn't keep compás when it says the beat number, as it takes longer to say the word than it does to beep, and there's nothing keeping the script in strict rhythm. I couldn't find a command that would change the volume of the beep, though, in my ~5 minutes of looking.

To be fair, there are quite a few free metronomes out there for Mac (though I don't know of any which can be programmed to play flamenco rhythms) and Jason's flamenco metronome at www.doctorcompas.com is absolutely brilliant, and is also free and works on Macs (use Safari, it's better than Firefox or Chrome for Java).




orsonw -> RE: A simple flamenco metronome for Mac (Mar. 18 2011 18:56:30)

Here is another free online metronome I found today.
It's useful as you can set the number of beats to a cycle and accent any of those beats you choose.

E.g 12 beat cycle accent 12,3,7,8,10.

Or for a arpegio or rasgeo exercise you could set the appropriate number of beats to a cycle and then accent which ever finger you want to strengthen.

http://www.webmetronome.com/




Tomrocker -> RE: A simple flamenco metronome for Mac (Mar. 18 2011 22:12:27)

quote:

In order to make it run, you have to check the "stay open" box when you save.


Thanks ramparts, now it's woking!! Long live the kingdom and the queen[;)]




Adam -> RE: A simple flamenco metronome for Mac (Mar. 18 2011 23:48:24)

quote:

ORIGINAL: Tomrocker

quote:

In order to make it run, you have to check the "stay open" box when you save.


Thanks ramparts, now it's woking!! Long live the kingdom and the queen[;)]


Um, indeed, old chap [:D] Doesn't change the fact that the AppleScript won't stay in compás though...




Paul Magnussen -> RE: A simple flamenco metronome for Mac (Mar. 19 2011 0:13:15)

Yes, it's probably a bit erratic at the moment; I'll rewrite it shortly to fix that.

Whatever I do, I won't work properly if you've got a lot of other apps running though, since it's driven by the idle handler.




Paul Magnussen -> RE: A simple flamenco metronome for Mac (Mar. 19 2011 0:20:01)

quote:

In order to make it run, you have to check the "stay open" box when you save.


Oops, sorry! I overlooked that: I adapted from another app that I wrote for my wife to time her exercises [8|]




Page: [1]

Valid CSS!




Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET