Monday, 29 March 2010

Transposing in LilyPond

Now I always suspected that there is an easy way of transposing music. But with LilyPond, it is just ridiculously easy. To transpose from pitch x to pitch y one simply has to insert \transpose x y in front of the expression to be transposed. For instance, to transpose The Pink Panther Theme from E minor to A minor all I had to do was to add \transpose e a, just after \new Staff line. (If I type \transpose e a it works too but the resulting score is one octave higher than I want.) Voilà!

The Pink Panther Theme in Am

Roman mosaic

by Timur Kulikov

Yesterday, Timur spent a good few hours designing some “Roman mosaics” with the help of this website. (The orange and black designs look more like Greek to me.) Interestingly, you can save your mosaic (a) as a text string (b), and then regenerate the mosaic from this string.

Spiral
(a)
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjffffffffffffffffffffffffffffjjfjjjjjjjjjjjjjjjjjjjjjjjjjjfjjfjffffffffffffffffffffffffjfjjfjfjjjjjjjjjjjjjjjjjjjjjjfjfjjfjfjffffffffffffffffffffjfjfjjfjfjfjjjjjjjjjjjjjjjjjjfjfjfjjfjfjfjffffffffffffffffjfjfjfjjfjfjfjfjjjjjjjjjjjjjjfjfjfjfjjfjfjfjfjffffffffffffjfjfjfjfjjfjfjfjfjfjjjjjjjjjjfjfjfjfjfjjfjfjfjfjfjffffffffjfjfjfjfjfjjfjfjfjfjfjfjffffffjfjfjfjfjfjjfjfjfjfjfjfjjjjjjjjfjfjfjfjfjjfjfjfjfjfjffffffffffjfjfjfjfjjfjfjfjfjfjjjjjjjjjjjjfjfjfjfjjfjfjfjfjffffffffffffffjfjfjfjjfjfjfjfjjjjjjjjjjjjjjjjfjfjfjjfjfjfjffffffffffffffffffjfjfjjfjfjfjjjjjjjjjjjjjjjjjjjjfjfjjfjfjffffffffffffffffffffffjfjjfjfjjjjjjjjjjjjjjjjjjjjjjjjfjjfjffffffffffffffffffffffffffjjfjjjjjjjjjjjjjjjjjjjjjjjjjjjj
(b)

Here are some more:

Double PathTwo spirals
Four spirals IFour spirals II
CerberusDiamond repetition

Saturday, 27 March 2010

The Pink Panther Theme

by Henry Mancini

To engrave The Pink Panther theme using LilyPond, I had to learn a few more useful tricks.
  1. To display upbeats, use the \partial command followed by duration of the interval before the start of the first complete measure. In the beginning of The Pink Panther theme, we have
    \partial 16 dis16( |
    i.e. the duration of the interval is 1/16. The semiquaver D♯ is followed by the enforced bar line | (after which, by default, bar lines and bar numbers are calculated automatically).
  2. Slur (or legato) is indicated with parentheses, ( and ), placed after the first and last note of the legato group, respectively.
  3. Similarly, phrasing slur is indicated with \( and \).
  4. To add staccato articulation, place either \staccato or its shorthand -. after a note. For illustration purposes, I used both in my source.
  5. Similarly, to add accent, place either \accent or -> after a note.
  6. To write a tuplet, one has to multiply the durations by a fraction. In triplet, the three notes have the duration of two notes, thus the fraction is 2/3. For example,
    \times 2/3 { e8 d8 e8 }
  7. To introduce repeat, use
    \repeat volta number of repeats {music expression to be repeated}
    For alternate endings, type
    \alternative { {alternative ending A} {alternative ending B} }
    In the example below, I repeat the whole theme twice (hence \repeat volta 2) and use two alternate endings.
That’s how the whole source thing looks:
% ****************************************************************
% The Pink Panther Theme (Henry Mancini)
% ****************************************************************
\version "2.12.3"
\score {
  \new Staff 
 {
  \clef bass
  \key e \minor
   \partial 16
   dis16( |
   \repeat volta 2 {
   e4\staccato) r8. fis16( g4-.) r8. dis16(
   e8.-.) fis16( g8.-.) c'16( b8.-.) e16( g8.-.) b16\(
   bes2( \times 2/3 { bes8) a8 g8 } \times 2/3 { e8 d8 e8( }
   e2.)\) r8. dis16( 
   e4-.) r8. fis16( g4-.) r8. dis16(
   e8.-.) fis16( g8.-.) c'16( b8.-.) g16( b8.-.) e'16
   ees'1(
   ees'2.)( ees'8) r16 dis16
   e4-. r8. fis16( g4-.) r8. dis16(
   e8.-.) fis16( g8.-.) c'16( b8.-.) e16( g8.-.) b16\(
   bes2( \times 2/3 { bes8) a8 g8 } \times 2/3 { e8 d8 e8( }
   e1)\)
   r4 e'8. d'16 b8. a16 g8. e16
   bes16\accent( a8.) bes16->( a8.) bes16->( a8.) bes16->( a8.) }
   \alternative {
    { \times 2/3 { g8 e8 d8 } e8 e8( e2)(
      e2.) r8. dis16 }
    { \times 2/3 { g8 e8 d8 } e8 e8( e2)
      \times 2/3 { g8 e8 d8 } e8 e8( e2)
      \times 2/3 { g8 e8 d8 } e8 e8( e2)(
      e1) }
    }
  }
}
And here’s the result:

The Pink Panther Theme

Ta-da!

Thursday, 25 March 2010

20 Fragments of a Ravenous Youth

by Xiaolu Guo

Dear friend, you get the picture by now: reading three books of Xiaolu Guo in a row probably means that I am getting addicted. But, really, it is not my fault: her books are simply too short!

20 Fragments was originally written in Chinese. Ten years later, Guo started to collaborate with Rebecca Morris and Pamela Casey on the English translation of the novel. However, she ended up completely rewriting it:

Ten years on, I found I didn’t agree with the young woman who had written it. Her vision of the world had changed, along with Beijing and the whole of China. I wanted to rework each sentence of my Chinese book, and fight with its young author who knew so little about the world. Although Fenfang, the heroine of the novel, should still be desperate about her life, I wanted to convince her to become an adult.

Fair enough: I liked the result. However, now (that I read the Acknowledgements) I can’t help thinking about the “original” 20 Fragments. The only way to know is to learn Chinese.

I’ve been blessed with cockroaches in every place I’ve lived in Beijing, but it was in the Chinese Rose Garden that I was truly anointed. My apartment was their Mecca. They spent the entire time multiplying.
The thing about my cockroaches, they were very cinematic, like the birds in that Alfred Hitchcock film. I was under constant attack. Singled out, they were weak and destructible, but collectively they were unbeatable. Still, I wasn’t going to take it lying down. Once, I was stalking an enormous one when it made a surprise move and vanished into an electric socket. There was a crackle, a few sparks, and that was the end of that. Heavenly Bastard in the Sky, these cockroaches were sadomasochists, looking for the most painful way to die.

Monday, 22 March 2010

L’Amande

by Nedjma

L’Amande is a book that is simply asks to be attacked: for being too explicit; for being not erotic enough for an erotic novel; for being a story of a sexually liberated Muslim woman, written by the sexually liberated Muslim woman. For not stopping the protagonist at “just” sexual liberation but liberating her — o horror — from dependence on men altogether. Nedjma meant to épater and succeeded at that. Yet, inside the shell, L’Amande hides a story of true love.

Any reservations? Reviewing L’Amande in The Independent, Victoria James said:

The writing is bold and ornate and probably sounded a whole lot better in French.

Yes, yes, and I do hope so.

The Arab woman is three quarters Berber and despises those who think she’s good only for emptying chamber pots. I, too, watch television and could have been a Stephen Hawking if they had told me about quantum physics early on. Or given a concert in Cologne like Keith Jarrett, whom I just discovered. I might even have been a painter and exhibited at the Metropolitan Museum in New York. For I, too, am stardust.

Friday, 19 March 2010

A Concise Chinese—English Dictionary for Lovers

by Xiaolu Guo
Passport typeP
Passport No.G00350124
Name in fullZhuang Xiao Qiao
SexFemale
Date of birth23 JULY 1979
Place of birthZhe Jiang, P.R. China

Zhuang arriving London, study English. English peoples even they read spelling of name Zhuang Xiao Qiao, they have no idea how saying it. Unprononcable Ms Z. having little Concise Chinese—English Dictionary, look just like Little Red Book. Is most important thing from China, but it not having all English words meaning. For example, properly. Or fart. Or homosexual. Ms Z. want write newly learned words, make own dictionary. So she learn English fast. One day Z. meet English man.

‘Love’, this English word: like other English words it has tense. ‘Loved’ or ‘will love’ or ‘have loved’. All these specific tenses mean Love is time-limited thing. Not infinite. It only exists in particular period of time. In Chinese, Love is ‘愛’ (ai). It has no tense. No past and future. Love in Chinese means a being, a situation, a circumstance. Love is existence, holding past and future.

If our love existed in Chinese tense, then it will last for ever. It will be infinite.

Thursday, 18 March 2010

In the Name of Peace and Progress

by Klever

About four years ago, I came across the website of a (then completely unknown to me) band from St. Petersburg. Next thing I did was to download this album to my MP3 player and listen to it few times in a row. My, they are good. I’d say Клевер (“Clover”) are the best prog-rock outfit I heard since Godspeed You! Black Emperor. If they are still relatively unknown in the West, it is because — to quote Jordan Volz —

the promotion coming out of Russia makes Japan look like MTV.
In the Name of Peace and Progress