- **summary**: Add support for isolated durations as an expression (ly:music?) 
--> Accept isolated durations as music function arguments
- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -4,27 +4,7 @@
 > % create functions expecting either music or isolated durations with an
 > % arbitrary number of post events.
 > % http://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00478.html
->
-> \version "2.19.33"
->
-> tieFixSlash = #(define-music-function (parser location rhythm tie)
->                  (ly:duration? ly:event?)
->                  #{
->                    \shape #'((0.5 . 0) (0.5 . 0) (0.8 . 0) (0.8 . 0)) Tie
->                    $rhythm $tie
->                    \once \override TieColumn.tie-configuration = #'((2 . 1))
->                  #})
->
-> \new Voice \with {
->   \consists "Pitch_squash_engraver"
-> } {
->   \improvisationOn
->   \tieFixSlash 4~ 4 \tieFixSlash 4(~ 4)
-> }
->
-> _______________________________________________
-> bug-lilypond mailing list
-> [email protected]
-> https://lists.gnu.org/mailman/listinfo/bug-lilypond
->
->
+
+Example code not quoted: it demonstrated a limitedly useful circumvention 
rather than the problem.  One straightforward fix would be to provide for 
supporting an `event-list?` predicate that would then deliver an 
arbitrary-length (including zero) list of post-events.  Another somewhat more 
cumbersome way would be to allow the PostEvents container music type (used in 
some restricted manners inside of the parser) to package multiple events also 
for post-event function arguments.  However, that would likely complicate 
matters for the user since it might make that music event pop up in a number of 
places where it's never seen before.
+
+For better or worse, this issue here is only about allowing bare rhythmic 
durations, previously allowed only inside of music sequences, as proper 
function arguments.

~~~~

- **status**: New --> Started
- **assigned_to**: David Kastrup



---

** [issues:#4779] Accept isolated durations as music function arguments**

**Status:** Started
**Created:** Sun Feb 21, 2016 08:59 PM UTC by pkx166h
**Last Updated:** Sun Feb 21, 2016 08:59 PM UTC
**Owner:** David Kastrup


On 19/02/16 03:11, Peter Crighton wrote:
> % As discussed on the User mailing list, isolated durations are currently not
> % accepted as expressions of type ly:music?, thus making it impossible to
> % create functions expecting either music or isolated durations with an
> % arbitrary number of post events.
> % http://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00478.html

Example code not quoted: it demonstrated a limitedly useful circumvention 
rather than the problem.  One straightforward fix would be to provide for 
supporting an `event-list?` predicate that would then deliver an 
arbitrary-length (including zero) list of post-events.  Another somewhat more 
cumbersome way would be to allow the PostEvents container music type (used in 
some restricted manners inside of the parser) to package multiple events also 
for post-event function arguments.  However, that would likely complicate 
matters for the user since it might make that music event pop up in a number of 
places where it's never seen before.

For better or worse, this issue here is only about allowing bare rhythmic 
durations, previously allowed only inside of music sequences, as proper 
function arguments.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to