Skip to content

Commit b69b579

Browse files
uliskajpvoigt
authored andcommitted
Move music-is? function to (oll-core internal music-tools)
This relies on oll-core being updated, currently to the state of openlilylib/oll-core#41
1 parent cc12baf commit b69b579

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Humdrum.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
(use-modules
3939
(oll-core tree)
40+
(oll-core internal music-tools)
4041
(lilypond-export api)
4142
(lily))
4243

MusicXML.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
(use-modules
3939
(oll-core tree)
40+
(oll-core internal music-tools)
4041
(lilypond-export api)
4142
(lily))
4243

api.scm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
(use-modules
4040
(oll-core tree)
41+
(oll-core internal music-tools)
4142
(lilypond-export lily)
4243
(lilypond-export MusicXML)
4344
(lilypond-export Humdrum)
@@ -77,9 +78,6 @@
7778
((@@ (lily) translator-property-description) ctprop::export-step tree? "Music export step store")
7879
((@@ (lily) translator-property-description) ctprop::lyrics list? "current lyric events")
7980

80-
; check name property of music object ... just a shortcut
81-
(define-public (music-is? m n) (and (ly:music? m)(eq? n (ly:music-property m 'name))))
82-
8381
; combine note-events to event-chord
8482
(define (combine-notes current music)
8583
(define (artic-type music) (ly:music-property music 'articulation-type))

lily.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
(use-modules
3939
(oll-core tree)
40+
(oll-core internal music-tools)
4041
(lilypond-export api)
4142
(lily))
4243

0 commit comments

Comments
 (0)