Re: [Wikitech-l] Lowering limitation of the score extension

2013-12-18 Thread Mathieu Stumpf
Le mardi 17 décembre 2013 à 10:36 -0700, Brian Wolff a écrit :
> I'm not very familiar with lilypond, so there is probably a better
> way, but I was able to generate that fret board with code like:
> 
> 
> \markup {\fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"}
> \score {
>   \new Score { c1 }
>   \midi { }
> }
> \header { tagline = ##f}
> 
> 
> See 
> https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=586519066

Oh, great thank you. Do you have any idea how you may make a landscape
oriented diagram with the \markup function? Or more generaly, how do you
translate this kind of code : 

  \new FretBoards {
  \once \override FretBoard
#'(fret-diagram-details fret-count) = #3
\override FretBoard
#'(fret-diagram-details orientation) = #'landscape
\override FretBoard
#'(fret-diagram-details barre-type) = #'none
  \override FretBoard
#'(fret-diagram-details finger-code) = #'below-string
\override FretBoards.FretBoard #'size = #'2
\override FretBoard
  #'(fret-diagram-details finger-code) = #'in-dot
 …

to apply it to the \new Score { c1 } you are using ?

> 
> 
> --bawolff
> 
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Lowering limitation of the score extension

2013-12-17 Thread Brian Wolff
On 12/17/13, Mathieu Stumpf  wrote:
> Hello,
>
> I would like to use the score extension to generate guitar chords
> diagrams, but writing something like
> 
> \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"
> 
>
> I get this message error:
> Processing `.../file.ly'
> Parsing...
> .../file.ly:12:0: error: unknown escaped string: `\fret'
>
> \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"
> .../file.ly:12:0: error: syntax error, unexpected STRING
>
> \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"
> .../file.ly:21:24: error: syntax error, unexpected '}'
>
> }error: failed files: ".../file.ly"
>
> exited with status: 1
>
> The code works just fine when I compile it with my local lilypond. That
> functionality would be really interesting, since with a little scribunto
> module, it would allow to generate chords diagram on the fly, and even a
> chord book.
>
> Also I would like to make even more with colored diagrams showing a set
> of interval on the neck. It would be fine if the mediawiki environnement
> would allow this.
>
> kind regards
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

I'm not very familiar with lilypond, so there is probably a better
way, but I was able to generate that fret board with code like:


\markup {\fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"}
\score {
  \new Score { c1 }
  \midi { }
}
\header { tagline = ##f}


See https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=586519066


--bawolff

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Lowering limitation of the score extension

2013-12-17 Thread Mathieu Stumpf
Hello,

I would like to use the score extension to generate guitar chords
diagrams, but writing something like 

\fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;" 


I get this message error:
Processing `.../file.ly'
Parsing...
.../file.ly:12:0: error: unknown escaped string: `\fret'

\fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;" 
.../file.ly:12:0: error: syntax error, unexpected STRING

\fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;" 
.../file.ly:21:24: error: syntax error, unexpected '}'

}error: failed files: ".../file.ly"

exited with status: 1

The code works just fine when I compile it with my local lilypond. That
functionality would be really interesting, since with a little scribunto
module, it would allow to generate chords diagram on the fly, and even a
chord book.

Also I would like to make even more with colored diagrams showing a set
of interval on the neck. It would be fine if the mediawiki environnement
would allow this.

kind regards

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l