From 53e40f712229fed796c7fca8077d82a89190ffbe Mon Sep 17 00:00:00 2001 From: Hans Dijkema Date: Mon, 19 Jan 2026 21:20:56 +0100 Subject: [PATCH] added functions --- functions.ly | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/functions.ly b/functions.ly index 575681f..82fa843 100644 --- a/functions.ly +++ b/functions.ly @@ -102,3 +102,22 @@ frr = #(define-scheme-function (rep 8 n) ) +none = #(define-scheme-function + (n1 n2 n3 n4 n5 n6 n7 n8 n9) + (ly:music? ly:music? ly:music? + ly:music? ly:music? ly:music? + ly:music? ly:music? ly:music?) + #{ \times 2/3 { $n1 $n2 $n3 } + \times 2/3 { $n4 $n5 $n6 } + \times 2/3 { $n7 $n8 $n9 } + #} + ) + + +tri = #(define-scheme-function + (n1 n2 n3) + (ly:music? ly:music? ly:music?) + #{ + \times 2/3 { $n1 $n2 $n3 } + #} + ) \ No newline at end of file