Re: fret diagrams with no staffs

2013-11-04 Thread Renato
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 4 Nov 2013 03:15:34 +
Carl Sorensen  wrote:

> Have you read through the Learning Manual?  If you're trying to work
> your way through the Notation Reference without having read through
> the Learning Manual, it will be *very* difficult.

So far I've managed to hack my way through with lilypond having only
skimmed through it, but I guess now I need to find the time for a more
proper study. 

Thank you *very* much for your detailed reply, I'll try the suggestions
after reading the manual :)

cheers,
renato
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJSd6NfAAoJEBz6xFdttjrfO5gIALT7uvk27LOMb/pi3Gx4g9V2
T18adw0cO5p8BDNlNRJ/pkn1AW4pkRuyZtmL4oo69nzjVT69iLf0b32xeQdIaZ3W
Flr+k8siMf1kv9+wuzNgzHzvfO24n9XHf9B3FmRNh3r+zASHtejolL/cwSLv5hzh
QM3p+isCUc+N42pT3LcxfSCNX9hUZspvaBTWzIno5r122kq0R9tAdVcQ1Nz2SA3U
AC87fptqxk3caf4cmFUFdyeJ/h8EmLO3rDSQ/Tur8AcGLFvNlNLQihzO9EdlNT66
zPK33WXdpG2r1nF+GCMqMoHCR9OcylyUfe0W3BJsYfGMgqHxc3ZQxOB9NZreT1M=
=Vam3
-END PGP SIGNATURE-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fret diagrams with no staffs

2013-11-03 Thread Carl Sorensen
On 11/1/13 4:35 PM, "Renato"  wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On Fri, 1 Nov 2013 02:56:17 +
>Carl Sorensen  wrote:
>
>> 
>> 
>> On 10/31/13 8:47 AM, "Renato"  wrote:
>> 
>>For \markup fret diagrams, you override the fret-diagram-details
>> property of a TextScript object (see
>> http://lilypond.org/doc/v2.16/Documentation/snippets/fretted-strings
>> Customizing markup fret diagrams):
>> 
>> \override TextScript  #'(fret-diagram-details . (
>>(finger-code . below-string)
>>(number-type . arabic)
>>(label-dir . -1)
>>(mute-string . "M")
>>(orientation . landscape)
>>(barre-type . none)
>>(xo-font-magnification . 0.4)
>>(xo-padding . 0.3)))
>
>how/where should I put that in my example?

The \override should be placed before you enter a \markup \fret-diagram.
These settings will apply to all \markup \fret diagrams.  If you have
troubles with placing it somewhere, please look at
http://lilypond.org/doc/v2.16/Documentation/notation/input-structure


>The code in
>the link produces a staff, which I don't want (and I didn't find
>a way to remove it)... I might be missing something obvious, sorry for
>that, as I stated I don't have a good grasp of lilypond's fundamentals
>(yeah I know that's a fault on my part, but time is what it is)

Have you read through the Learning Manual?  If you're trying to work your
way through the Notation Reference without having read through the
Learning Manual, it will be *very* difficult.

>
>> >2) Display names on top of chords
>> 
>> For this, you probably don't want to use \markup fret diagrams.
>> 
>> You probably just want to create a score with a ChordNames
>
>Mmh, I've looked into this and made some tests, but I'd like to enter
>my chords with the \fret-diagram strings, not with  (or worse
>\chordmode{c}) - that is because I'm rather picky about fingerings and I
>want to input jazz "non-standard" chords, so I don't want lilypond to
>try to outsmart me, I want to enter exact strings and frets.

You can enter exact strings and frets as predefined fret diagrams, and
then use them with \chordmode{c}, or \chordmode{c''} (for a different
chord), etc.  Then the predefined fret diagrams will show up in the
fretboards context.


> 
>
>so, basically I'd want to:
>1) use \fret-diagram to input chords
>2) not have a staff
>3) display the chord names I want on top of the diagrams (I want
>control over that, not lilypond deciding my chord needs to be called a
>Csus13... possibly I'd like to put something like "CM7 or Am9")

You can have complete control over what LilyPond will call your chord in a
ChordNames context.  It's completely customizable.

>4) set the properties of fret-diagram-details (like if roman numbers
>for the fret number should be upper or lower and so on)

The \override will do this.

>
>I realise that listed like this it seems like asking much, but
>I thought that what I wante was actually pretty simple: just a sheet
>with some chords and a way to tune some aesthetics
>(fret-diagram-details). just to give an idea of what I'm after I made a
>picture of two books I own which have something similar:

If you totally separate your work from LilyPond's music layout by using
\markup for both the fret diagram and the chord name, then you are
responsible for all of the placement of the markups on the page.  I
haven't studied the text layout functions enough to give you good advice
on how to do that.

If I were trying to do this, I'd follow the methods shown in the NR
section on predefined fret diagrams:

http://lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-fr
etted-strings#predefined-fret-diagrams


To customize the Chord Names, I'd use chordNameExceptions.  See the
selected snippets in
http://lilypond.org/doc/v2.16/Documentation/notation/displaying-chords#cust
omizing-chord-names


If you can't figure out to apply these snippets, please first read through
the Learning Manual from start to finish.

Thanks,

Carl




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fret diagrams with no staffs

2013-11-01 Thread Renato
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 1 Nov 2013 02:56:17 +
Carl Sorensen  wrote:

> 
> 
> On 10/31/13 8:47 AM, "Renato"  wrote:
> 
> >However I have not been able to (due to my superficial knowledge of
> >lilypond and snippets dealing with "chord diagrams over a
> >staff" scenario):
> >1) use fret-diagram-details to set the various parameters it offers.
> >It would be best to set this once and for all instead of for every
> >single chord
> 
> For \markup fret diagrams, you override the fret-diagram-details
> property of a TextScript object (see
> http://lilypond.org/doc/v2.16/Documentation/snippets/fretted-strings
> Customizing markup fret diagrams):
> 
> \override TextScript  #'(fret-diagram-details . (
>(finger-code . below-string)
>(number-type . arabic)
>(label-dir . -1)
>(mute-string . "M")
>(orientation . landscape)
>(barre-type . none)
>(xo-font-magnification . 0.4)
>(xo-padding . 0.3)))

how/where should I put that in my example? The code in
the link produces a staff, which I don't want (and I didn't find
a way to remove it)... I might be missing something obvious, sorry for
that, as I stated I don't have a good grasp of lilypond's fundamentals
(yeah I know that's a fault on my part, but time is what it is)

> >2) Display names on top of chords
> 
> For this, you probably don't want to use \markup fret diagrams.
> 
> You probably just want to create a score with a ChordNames 

Mmh, I've looked into this and made some tests, but I'd like to enter
my chords with the \fret-diagram strings, not with  (or worse
\chordmode{c}) - that is because I'm rather picky about fingerings and I
want to input jazz "non-standard" chords, so I don't want lilypond to
try to outsmart me, I want to enter exact strings and frets. 

so, basically I'd want to:
1) use \fret-diagram to input chords
2) not have a staff
3) display the chord names I want on top of the diagrams (I want
control over that, not lilypond deciding my chord needs to be called a
Csus13... possibly I'd like to put something like "CM7 or Am9")
4) set the properties of fret-diagram-details (like if roman numbers
for the fret number should be upper or lower and so on)

I realise that listed like this it seems like asking much, but
I thought that what I wante was actually pretty simple: just a sheet
with some chords and a way to tune some aesthetics
(fret-diagram-details). just to give an idea of what I'm after I made a
picture of two books I own which have something similar:

http://i.imgur.com/lvAugEJ.jpg

something in that ballpark would be great :)

cheers,
renato

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJSdCzOAAoJEBz6xFdttjrf6kkH/j1L+XlE+hETqaR973KZTMkf
ofA2ciegy/jF3Lk3+ChtrE5tNKKKDJSnUPetGMXYek3RpdKT9sTJi3eGZEP/J/C1
N20gIwQ+j7P/JmytxcSFZTQHX6yq6luwhVu4dFzD3mYTQwK78pYzERot18cGnm3b
3pVgXvB2guENbI23+16F/7R9J5ZyuXqG2GDqKft/LgAnPIePYgbpQ0u4rniDmVZ6
ESZh8Tq0TMRIRimuKJrjX9roKr29d6gYcVjt1aVI2MfNKN8VPkcbXqS6fKnutW0J
66OtZRHi7ipFqgFdAPU9OIzC8J1NbNz+KublOvRt/43zdiTk2pTIcgWYMEsNAek=
=mOGA
-END PGP SIGNATURE-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fret diagrams with no staffs

2013-10-31 Thread Carl Sorensen


On 10/31/13 8:47 AM, "Renato"  wrote:

>However I have not been able to (due to my superficial knowledge of
>lilypond and snippets dealing with "chord diagrams over a
>staff" scenario):
>1) use fret-diagram-details to set the various parameters it offers. It
>would be best to set this once and for all instead of for every single
>chord

For \markup fret diagrams, you override the fret-diagram-details property
of a TextScript object (see
http://lilypond.org/doc/v2.16/Documentation/snippets/fretted-strings
Customizing markup fret diagrams):

\override TextScript  #'(fret-diagram-details . (
   (finger-code . below-string)
   (number-type . arabic)
   (label-dir . -1)
   (mute-string . "M")
   (orientation . landscape)
   (barre-type . none)
   (xo-font-magnification . 0.4)
   (xo-padding . 0.3)))


>2) Display names on top of chords

For this, you probably don't want to use \markup fret diagrams.

You probably just want to create a score with a ChordNames context and a
FretBoards context, as is demonstrated in
  :

\include "predefined-guitar-fretboards.ly"
mychords = \chordmode{
  c1 f g
}

<<
  \context ChordNames {
\mychords
  }
  \context FretBoards {
\mychords
  }
>>



Hope this helps,

Carl


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


fret diagrams with no staffs

2013-10-31 Thread Renato
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, I'd like to produce a sheet with guitar chord diagrams. For now I
have this, which is a good start

\version "2.16.2"

\markup{first set of chords}
\markup{ 
\fret-diagram #"s:3;f:1;6-x;5-3-1;4-2;3-o;2-1;1-1;" 
\fret-diagram #"s:3;f:2;6-x;5-3-1;4-2;3-o;2-1;1-1;"
\fret-diagram #"s:3;h:1;f:2;6-6;5-4;4-5;3-5;2-6;1-4;" 
\fret-diagram #"s:3;h:1;f:2;6-11;5-10;4-12;3-11;2-10;1-12;"
}

\markup{second set of chords}
\markup{ 
\fret-diagram #"s:3;f:1;6-x;5-3-1;4-2;3-o;2-1;1-1;" 
\fret-diagram #"s:3;f:2;6-x;5-3-1;4-2;3-o;2-1;1-1;"
\fret-diagram #"s:3;h:1;f:2;6-6;5-4;4-5;3-5;2-6;1-4;" 
\fret-diagram #"s:3;h:1;f:2;6-11;5-10;4-12;3-11;2-10;1-12;"
}



However I have not been able to (due to my superficial knowledge of
lilypond and snippets dealing with "chord diagrams over a
staff" scenario):
1) use fret-diagram-details to set the various parameters it offers. It
would be best to set this once and for all instead of for every single
chord
2) Display names on top of chords

If someone could help me with these I'd be most grateful.

best regards,
renato
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJScm2CAAoJEBz6xFdttjrfqeQIAMjGWQoS51NzwCmk1KPYBJ2i
7ZYKsXe6jtEjsgUJY/QTAqDdNwX56DBRbw/GAuw2rTra3nd51ubA2CoBGn2JzrY6
0B2VU3qoXxRCizbrMuhdyYYdmoVMJXjqoHtMKymPqPzVXS97tsd1ZqaEx+aUkRzD
Bdz473DQSdyWsNi5NKNWOmxJ+XRmogX9GNKYXk3cwX/8M4CjkftLb2CAGqpAc6Py
3Y7BNW9atg3mx9tYdlhb8rRwCpNrRpRJShxFB0Kpvxrty0vptGumb5t7/xPNmBFR
jY7pbb18uKmSz9OHHMUbfu1CgwAfnO4S9iP00SLZ7vXyJ2hkkHsBHwtS72SbinQ=
=S/tj
-END PGP SIGNATURE-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user