Re: How to write notes for drums?
Hello Отправлено, I send you an example privately. JM > Le 12 mai 2019 à 08:04, Malte Meyn a écrit : > > > > Am 12.05.19 um 07:53 schrieb Данил Костенков: >> Hello everybody! >> I want to write notes for drums. But I don’t know how it do. Give me some >> advices and instructions about this. Thank you in advance. > > Hi Danil, > > have a look at the “Percussion” section of the Notation Reference: > http://lilypond.org/doc/v2.19/Documentation/notation/percussion > > Cheers, > Malte > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
On 2019-05-11 11:55 pm, Jacques Menu wrote: Hello Отправлено, By the by, "Отправлено с iPhone" means "Sent from iPhone". -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Sadly, we are not all comprehensive polyglots. I could not refer to our new friend by name as I could not figure it out. a On Sun, 12 May 2019 at 17:26, Aaron Hill wrote: > On 2019-05-11 11:55 pm, Jacques Menu wrote: > > Hello Отправлено, > > By the by, "Отправлено с iPhone" means "Sent from iPhone". > > > -- Aaron Hill > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Definitely Jacques drums should be played in private. Andrew On Sun, 12 May 2019 at 17:01, Jacques Menu wrote: > Hello Отправлено, > > I send you an example privately. > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Andrew Bernard writes: > Sadly, we are not all comprehensive polyglots. > > I could not refer to our new friend by name as I could not figure it out. Well, From: Данил Костенков would suggest Danil to be a reasonably good guess. I find that just knowing the alphabet brings a lot of Russian into familiarity enough that I can figure out what good amounts in my spam filter try selling me. It tends to work better than Greek (which has similar letters) for me in that respect. In contrast, most other languages with different alphabet are hopeless (Yiddish is cheating since it uses Hebrew letters for transliterating what amounts to a German dialect with a long separate history). -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
On 2019-05-12 12:37 am, Andrew Bernard wrote: Sadly, we are not all comprehensive polyglots. Oh, to be an actual polyglot I could only wish. But I have always been far more interested in writing systems and scripts than the languages themselves. As such, I am resigned to utilizing online translation, with all of its foibles. I could not refer to our new friend by name as I could not figure it out. My email client makes the sender's name and email reasonably prominent--enough so, that Jacques' salutation confused me. I had to read Danil's email again to see where "otpravleno" came from. Once I saw the final line ending in "iPhone", I was fairly certain I knew what the line meant. A quick Google Translate confirmed it. I do owe Jacques an apology. I had only intended to call out the error just for clarity to others on the mailing list, but I fear I may have offended by pointing out the mistake. -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Hello Aaron and all, No offense, and thanks for the translation. I sent the file privately because it’s no MWE and I don’t have any way to make it available on the net. I can share it on this list of course if that fits. A nice day! JM > Le 12 mai 2019 à 10:13, Aaron Hill a écrit : > > On 2019-05-12 12:37 am, Andrew Bernard wrote: >> Sadly, we are not all comprehensive polyglots. > > Oh, to be an actual polyglot I could only wish. But I have always been far > more interested in writing systems and scripts than the languages themselves. > As such, I am resigned to utilizing online translation, with all of its > foibles. > >> I could not refer to our new friend by name as I could not figure it out. > > My email client makes the sender's name and email reasonably > prominent--enough so, that Jacques' salutation confused me. I had to read > Danil's email again to see where "otpravleno" came from. Once I saw the > final line ending in "iPhone", I was fairly certain I knew what the line > meant. A quick Google Translate confirmed it. > > I do owe Jacques an apology. I had only intended to call out the error just > for clarity to others on the mailing list, but I fear I may have offended by > pointing out the mistake. > > > -- Aaron Hill > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Writing a function
Hi! I would like to write a function for the next music expression: \once \override TextScript.extra-offset = #'(0 . 1) c^"o" Here is my try: f = #(define-music-function (parser location offset music) (number? ly:music?) #{ \once \override TextScript.extra-offset = #'(0 . $offset) $music ^"o" #}) When I call this function: \f #1 c I get syntax error: unexpected '^' What am I doing wrong? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Writing a function
Rok Kršmanc writes: > Hi! > > I would like to write a function for the next music expression: > \once \override TextScript.extra-offset = #'(0 . 1) > c^"o" > > Here is my try: > f = > #(define-music-function (parser location offset music) > (number? ly:music?) > #{ > \once \override TextScript.extra-offset = #'(0 . $offset) > $music ^"o" > #}) > > When I call this function: > \f #1 c > > I get syntax error: > unexpected '^' > > What am I doing wrong? First it seems like a bad idea to redefine \f ("forte"). But the main problem is that an expression like $music cannot take articulations (this has been ameliorated to some degree in current development, likely appearing as 2.21 eventually). You can achieve about the same effect with << $music <>-"o" >> namely putting the articulation instead on a simultaneously executing empty chord. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Hi Jacques, I was of course joking about drums! But I was hoping we might see a nice example here from you on the list, which I am sure would be helpful to people. cheerio! Andrew On Sun, 12 May 2019 at 19:13, Jacques Menu wrote: > > I sent the file privately because it’s no MWE and I don’t have any way to > make it available on the net. > I can share it on this list of course if that fits. > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Writing a function
On 2019-05-12 3:40 am, David Kastrup wrote: Rok Kršmanc writes: Hi! I would like to write a function for the next music expression: \once \override TextScript.extra-offset = #'(0 . 1) c^"o" Here is my try: f = #(define-music-function (parser location offset music) (number? ly:music?) #{ \once \override TextScript.extra-offset = #'(0 . $offset) $music ^"o" #}) When I call this function: \f #1 c I get syntax error: unexpected '^' What am I doing wrong? First it seems like a bad idea to redefine \f ("forte"). But the main problem is that an expression like $music cannot take articulations (this has been ameliorated to some degree in current development, likely appearing as 2.21 eventually). You can achieve about the same effect with << $music <>-"o" >> namely putting the articulation instead on a simultaneously executing empty chord. Would an event function possibly make more sense? Consider: \version "2.19.82" foo = #(define-event-function (offset) (number?) #{ \tweak extra-offset #(cons 0 offset) ^"foo" #}) { b'4 \foo #0.5 b' b' \foo #-1 } -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write notes for drums?
Hello Andrew,Here is this example, for what it’s worth: PercussionsPourLeConcertDeMars2019.ly Description: Binary data JMLe 12 mai 2019 à 14:24, Andrew Bernarda écrit :Hi Jacques,I was of course joking about drums! But I was hoping we might see a nice example here from you on the list, which I am sure would be helpful to people.cheerio!AndrewOn Sun, 12 May 2019 at 19:13, Jacques Menu wrote: I sent the file privately because it’s no MWE and I don’t have any way to make it available on the net. I can share it on this list of course if that fits. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Color parenthesized accidentals with \accidentalStyle teaching
Just in case anyone is wondering, `AccidentalCautionary` is the GROB to override to color the parenthesized accidentals you get with `\accidentalStyle teaching`. -Paul %%% \version "2.21.0" \new Staff { \key g \major \accidentalStyle teaching \override AccidentalCautionary.color = #red { fis' f' } } %%% ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
re: multiple cues with lyrics 2.19..83
On Sat, 11 May 2019 09:25:42 +0200 (CEST), Remy CLAVERIE wrote: Hi Paul, Thank you for your reply, Remy. I don' know why the code doesn't work as expected because I dislike the cueDuring function. Are you willing to share what you don't like about cueDuring. I used to make cues similar to what you do and was very happy to find cueDuring. (You did show me some improvements over what I used to do.) I should have given an example with transposition to use one other important feature of CueDuring. Paul Nevertheles, here is a proposal with an other solution : \version "2.18.2" oboeNotes = \relative c' { R1 a'1 R1 } CueNotes = \relative c' { c1 s1 d } words = \lyricmode { worda wordc } oboeAndCueNotes = \new Voice \relative { << { \new Voice { \oboeNotes } }\\ {\new CueVoice = "cue" { \CueNotes } }>> } \new Staff << \new Voice { \oboeAndCueNotes } \new Lyrics = "cueLyrics" \lyricsto "cue" { \set fontSize = #-4 \words } HTH The best, Rémy > Message du 11/05/19 01:21 De : waterho...@ultrasw.com A : lilypond-user@gnu.org Copie à : Objet : multiple cues with lyrics 2.19..83 This is an example that I reduced from a snippet. Can someone please tell me why the lyrics ("wordc") don't show up on the third note (from the 2nd cueDuring)? TIA, Paul version "2.19.83" vcNotes = relative{ c'1 a d } addQuote qvc vcNotes oboeNotes = relative{ cueDuring qvc #down R1 a'1 cueDuring qvc #down R1 } addQuote oboeNotes new Voice = "cue" oboeNotes words = lyricmode{ worda wordb wordc } new Staff new Voice oboeNotes new Lyrics = "cueLyrics" lyricsto "cue" { set fontSize = #-4 words } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Percussion code that didin't work.
Hi there: This is the same issue as in previous message: The examples on common notation for percussion, doesn't worked for me; manual isn't clear on this session. Here is the code that i typed : %% Drums = \new DrumStaff << \bongos-style \drummode { % Enter Line 1 << { }\\{ % Enter Line 2 } >> }>> \layout { \override Beam.concaveness = #1 } \score { \Drums \layout { } \midi { } } %% Can someone, show me how to fix it ? Thank you, again : Glauco. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
ChordName Font Size
I want to use an alternative font for ChordNames, but the font I have chosen is not exactly the same size as the default font. The result is that musical symbols (sharps, flat, etc) appear too large. How can I change the size of the musical symbols in ChordNames so that they match the size of the font? %%% \version "2.19" % Default ChordName font ChordsA = \chordmode { c2:7 g2:dim aes2:m fis2 } << \new ChordNames { \ChordsA } >> % Alternative ChordName font ChordsB = \chordmode { \override ChordName #'font-name = #"Source Sans Pro" \override ChordName #'font-size = #3 c2:7 g2:dim aes2:m fis2 } << \new ChordNames { \ChordsB } >> %%% Thank you for your help, Greg ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ChordName Font Size
On 2019-05-12 5:29 pm, Gregory Hollands wrote: I want to use an alternative font for ChordNames, but the font I have chosen is not exactly the same size as the default font. The result is that musical symbols (sharps, flat, etc) appear too large. How can I change the size of the musical symbols in ChordNames so that they match the size of the font? Here is a bit of a hack: \version "2.19.82" embiggenChordNames = #(define-scheme-function (size) (number?) #{ \with { chordNameFunction = #(lambda (in-pitches bass inversion context) (define (helper mu) (if (list? mu) (if (eq? (car mu) musicglyph-markup) (markup (#:fontsize (- size) mu)) (map helper mu)) mu)) (let ((orig (ignatzek-chord-names in-pitches bass inversion context))) (markup (#:fontsize size (helper orig) } #} ) theChords = \chordmode { c2:7 g2:dim aes2:m fis2 } << \new ChordNames \theChords \new ChordNames \with \embiggenChordNames #5 \theChords \new ChordNames \with \embiggenChordNames #-3 \theChords >> This applies a global \fontsize to the markup to scale everything up by a specified amount; however, it also looks within the markup for occurrences of \musicglyph and applies an inverse \fontsize so they remain the original size. Wouldn't be surprised to learn there is some built-in procedure like map-some-music but for markup that would obsolete my helper function above. But I threw this together pretty quickly. -- Aaron Hill___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Inserting lyrics in a global situation
Hi, I'm editing the Mozart's Ave Verum for a college work. As there are many instruments and voices, i tried to organize things separating notes from staff and layout information, but i don't know how to insert lyrics in such organizational structure. the skeleton of the doc looks like this: \version "2.18.2" \header { title = "Ave Verum" composer = "W. A. Mozart" } global = { \key d \major \time 2/2 \tempo "Adagio." \repeat unfold 18 { s1*2/2 | } \bar "|" } vlnOne = \relative c'' { } vlnTwo = \relative c'' { } vla = \relative c'' { \clef alto } sop = \relative c''{ } alt = \relative c''{ } ten = \relative c''{ \clef "treble_8" } bass = \relative c' { } dbo = \relative c' { \clef bass } \book { \score { \new StaffGroup << \new GrandStaff << \new Staff \with { instrumentName = #"Violino I." } << \global \vlnOne >> \new Staff \with { instrumentName = #"Violino II." } << \global \vlnTwo >> >> \new Staff \with { instrumentName = #"Viola." } << \global \vla >> \new StaffGroup << \new Staff \with { instrumentName = \markup {\bold #"Soprano." }} << \global \sop >> \new Staff \with { instrumentName = \markup {\bold #"Alto." }} << \global \alt >> \new Staff \with { instrumentName = \markup {\bold #"Tenore." }} << \global \ten >> \new Staff \with { instrumentName = \markup {\bold #"Basso." }} << \global \bass >> >> \new Staff \with { instrumentName = #"Basso ed Organo." } << \global \dbo >> >> } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user