danny at spesh.com
Mon Jan 3 15:13:01 PST 2011
On Mon, Jan 3, 2011 at 1:51 PM, <girlgeek at wt.net> wrote:
> "and I'm considering if I can get the doorbell
> to play "This Is Gallifrey (Our Childhood, Our Home)" whenever I enter
> the space."
> Now THAT sounds scary! ;-))
> otoh, can you get it to play the Toreodore song from Carmen each time I enter?
> While I'm at it, which song for Isky? Mike? Miloh?
Well, not when you exactly *enter* the space, but the doorbell has the
capability to play different tunes based on how you access it. I'll
leave it as a challenge for others to work out how to get this
working for themselves.
Right now (well not *right* now, I'm working *right now*), I'm playing
around with beep, midi2abc and a broken yakk parser to try and
produce the tune programatically in the form that the Mystery Item
needs without all that tedious messing around learning to actually
read or understand music.
 in accordance with the U23 pattern:
 http://inst.eecs.berkeley.edu/~cs164/sp10/TA.d/sdt-of-abc.html --
if you get this far, it seems to need this patch:
--- playabc.y.orig 2010-02-09 13:58:04.000000000 -0800
+++ playabc.y 2011-01-03 02:48:08.000000000 -0800
@@ -55,9 +55,9 @@
triplet : '(' '3' ':' num pitch pitch pitch
- play($5.frequency, default_length * $4 / $2);
- play($6.frequency, default_length * $4 / $2);
- play($7.frequency, default_length * $4 / $2);
+ play($5.frequency, default_length * $4 / 3);
+ play($6.frequency, default_length * $4 / 3);
+ play($7.frequency, default_length * $4 / 3);
More information about the Noisebridge-discuss