X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fextending%2Fscheme-tutorial.itely;h=bfb39c7f45228cbe80cb8598f5db7528efeee280;hb=958e95822083954cad00e0a598eb9f12ceba67b9;hp=e08cc0a1c9821c86b6233dc8dca0f639b937ab6d;hpb=f809d8dbd69fab7d23c8fae198269984d918778b;p=lilypond.git diff --git a/Documentation/fr/extending/scheme-tutorial.itely b/Documentation/fr/extending/scheme-tutorial.itely index e08cc0a1c9..bfb39c7f45 100644 --- a/Documentation/fr/extending/scheme-tutorial.itely +++ b/Documentation/fr/extending/scheme-tutorial.itely @@ -1,14 +1,14 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 5a6340b7f319802a7313c0e6b82eef96909cde42 + Translation of GIT committish: e8c4826ed3fca952984600bcce60b53e76aff5d2 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' Guide, node Updating translation committishes.. @end ignore -@c \version "2.17.11" +@c \version "2.19.22" @c Translators: Jean-Charles Malahieude @@ -1472,7 +1472,7 @@ vide), aucune vérification n'est requise avant d'introduire un nouvel élément en tête de la propriété @code{articulations}. @example -doubleSlur = #(define-music-function (parser location note) (ly:music?) +doubleSlur = #(define-music-function (note) (ly:music?) "Renvoie : @{ note ( note ) @}. `note' est censé être une note unique." (let ((note2 (ly:music-deep-copy note))) @@ -1656,7 +1656,7 @@ fonction musicale, à l'aide d'un peu d'enrobage syntaxique et mention du type de son unique argument « réel ». @example -ajouteAccent = #(define-music-function (parser location note-event) +ajouteAccent = #(define-music-function (note-event) (ly:music?) "Ajoute un accent (ArticulationEvent) aux articulations de `note-event', qui est censé être une expression NoteEvent." @@ -1699,13 +1699,13 @@ TODO Find a simple example @ignore @lilypond[quote,verbatim,ragged-right] -padText = #(define-music-function (parser location padding) (number?) +padText = #(define-music-function (padding) (number?) #{ \once \override TextScript.padding = #padding #}) -\relative c''' { - c4^"piu mosso" b a b +\relative { + c'''4^"piu mosso" b a b \padText #1.8 c4^"piu mosso" d e f \padText #2.6 @@ -1722,16 +1722,16 @@ We can use it to create new commands: @lilypond[quote,verbatim,ragged-right] -tempoPadded = #(define-music-function (parser location padding tempotext) +tempoPadded = #(define-music-function (padding tempotext) (number? markup?) #{ \once \override Score.MetronomeMark.padding = #padding \tempo \markup { \bold #tempotext } #}) -\relative c'' { +\relative { \tempo \markup { "Low tempo" } - c4 d e f g1 + c''4 d e f g1 \tempoPadded #4.0 "High tempo" g4 f e d c1 } @@ -1741,7 +1741,7 @@ tempoPadded = #(define-music-function (parser location padding tempotext) Even music expressions can be passed in: @lilypond[quote,verbatim,ragged-right] -pattern = #(define-music-function (parser location x y) (ly:music? ly:music?) +pattern = #(define-music-function (x y) (ly:music? ly:music?) #{ #x e8 a b $y b a e #})