Foro Flamenco


Posts Since Last Visit | Advanced Search | Home | Register | Login

Today's Posts | Inbox | Profile | Our Rules | Contact Admin | Log Out



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 simple flamenco metronome for Mac   You are logged in as Guest
Users viewing this topic: none
  Printable Version
All Forums >>Discussions >>General >> Page: [1]
Login
Message<< Newer Topic  Older Topic >>
 
Paul Magnussen

Posts: 1805
Joined: Nov. 8 2010
From: London (living in the Bay Area)

A simple flamenco metronome for Mac 

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

_____________________________

  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 17 2011 19:34:03
 
Tomrocker

Posts: 404
Joined: Apr. 18 2010
From: Italy

RE: A simple flamenco metronome for Mac (in reply to Paul Magnussen

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

_____________________________

This is hard stuff!
Don't give up...
And don't make it a race.
Enjoy the ray of sunshine that comes with every new step in knowledge.
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 17 2011 20:31:09
 
Paul Magnussen

Posts: 1805
Joined: Nov. 8 2010
From: London (living in the Bay Area)

RE: A simple flamenco metronome for Mac (in reply to Tomrocker

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?

_____________________________

  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 17 2011 20:50:24
 
Tomrocker

Posts: 404
Joined: Apr. 18 2010
From: Italy

RE: A simple flamenco metronome for Mac (in reply to Paul Magnussen

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..

_____________________________

This is hard stuff!
Don't give up...
And don't make it a race.
Enjoy the ray of sunshine that comes with every new step in knowledge.
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 18 2011 17:40:31
 
Adam

Posts: 1156
Joined: Dec. 6 2006
From: Hamilton, ON

RE: A simple flamenco metronome for Mac (in reply to Paul Magnussen

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).
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 18 2011 18:27:11
 
orsonw

Posts: 1942
Joined: Jul. 4 2009
From: London

RE: A simple flamenco metronome for Mac (in reply to Adam

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/
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 18 2011 18:56:30
 
Tomrocker

Posts: 404
Joined: Apr. 18 2010
From: Italy

RE: A simple flamenco metronome for Mac (in reply to Adam

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

_____________________________

This is hard stuff!
Don't give up...
And don't make it a race.
Enjoy the ray of sunshine that comes with every new step in knowledge.
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 18 2011 22:12:27
 
Adam

Posts: 1156
Joined: Dec. 6 2006
From: Hamilton, ON

RE: A simple flamenco metronome for Mac (in reply to Tomrocker

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 Doesn't change the fact that the AppleScript won't stay in compás though...
  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 18 2011 23:48:24
 
Paul Magnussen

Posts: 1805
Joined: Nov. 8 2010
From: London (living in the Bay Area)

RE: A simple flamenco metronome for Mac (in reply to Adam

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.

_____________________________

  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 19 2011 0:13:15
 
Paul Magnussen

Posts: 1805
Joined: Nov. 8 2010
From: London (living in the Bay Area)

RE: A simple flamenco metronome for Mac (in reply to Adam

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

_____________________________

  REPORT THIS POST AS INAPPROPRIATE |  Date Mar. 19 2011 0:20:01
Page:   [1]
All Forums >>Discussions >>General >> Page: [1]
Jump to:

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.0625 secs.