Skip to content
LameSpirale edited this page Sep 13, 2010 · 6 revisions

A php embedded c5 is already available

but beware : URL will change.

http://www.lame-spirale.net/c5.php

But you can’t access that page without specifying a circle, which you do by parameter “c”. Beginning at the top of the circle and going clockwise, just write a “1” to include the note in your chord or scale and “0” to exclude it. If you write less than 12 numbers, non specified notes are excluded.

http://www.lame-spirale.net/c5.php?c=11001
http://www.lame-spirale.net/c5.php?c=011001000001

Many other parameters exist :

  • “f” is to bring out the fondamental of your chord or scale. From 0 to 11, 0 being the top, and counting clockwise. Default is none.
  • “size” is the size of the square containing the c5. Default is 200.
  • “fill” is the color inside the circle
  • “draw” is the drawing color
  • “bg” is the backgroung color
http://www.lame-spirale.net/c5.php?c=011001&f=1&size=800&fill=000099&draw=BB0000&bg=FFEEFF

It can be embedded with an iframe or embed html tag :

<iframe src="http://www.lame-spirale.net/c5.php?c=001001101111&f=9&size=100" width="100" height="100"></iframe>


What’s left to be done

  • migration to Django
  • general title
  • switchable generic label for each dot of the circle (intervals in semi tones, invervals in musical language, notes names)

Clone this wiki locally