Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14713)

Issue 22120043: Isolated durations in music sequences now stand for unpitched notes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by dak
Modified:
10 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Isolated durations in music sequences now stand for unpitched notes This allows for things like \new RhythmicStaff { 4 4. 8 4 | 4 \tuplet 3/2 { 2 4 } 4 } "unpitched" simply means that this is rendered as a normal NoteEvent, but the pitch information is missing and has to be filled in by some other means (RhythmicStaff is an exception since it ignores specified pitches anyway). Contains commits: Run scripts/auxiliar/makelsr.py Give examples of \RhythmicStaff without explicit pitches Regtest for rhythmic sequences. Let \displayLilyMusic deal with pure rhythms Pitchless durations inherit previous pitch when scorifying This turns { c4 4 4 4 } into { c4 c4 c4 c4 } and \drummode { tamb4 4 4 4 } into \drummode { tamb4 tamb4 tamb4 tamb4 }. Isolated durations in music sequences now stand for unpitched notes This allows for things like \new RhythmicStaff { 4 4. 8 4 | 4 \tuplet 3/2 { 2 4 } 4 } "unpitched" simply means that this is rendered as a normal NoteEvent, but the pitch information is missing and has to be filled in by some other means (RhythmicStaff is an exception since it ignores specified pitches anyway). Interpret #{ -3 #} as postevent rather than negative number Since #{ 4 #} is interpreted as duration rather than number, interpreting negative integers as numbers rather than fingering is not really helpful. Use #{ 4 #} and #{ c #} for duration/pitch in optional-args regtest Let #{ 4 #} be a duration while #{ 4 \cm #} stays a length An UNSIGNED not followed by a NUMERIC_IDENTIFIER inside of #{ ... #} is interpreted as a duration rather than a number. Also, inside of #{ ... #} no "numeric expressions" using binary operators +-*/ are interpreted. The behavior of (signed and unsigned) integers and numeric expressions in assignments and as function arguments rather than inside of #{ ... #} is not affected.

Patch Set 1 #

Patch Set 2 : Be more thorough. A bit of enthusiasm for this one, please. #

Patch Set 3 : A bit more documentation #

Total comments: 4

Patch Set 4 : Implement chord repetition, make RhythmicStaff examples more defensive in return #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -144 lines) Patch
M Documentation/included/note-head-style.ly View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ly-examples/orchestra.ly View 1 2 3 2 chunks +12 lines, -12 lines 0 comments Download
M Documentation/notation/changing-defaults.itely View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Documentation/notation/rhythms.itely View 1 2 3 5 chunks +20 lines, -3 lines 0 comments Download
M Documentation/notation/spacing.itely View 1 2 3 9 chunks +16 lines, -13 lines 0 comments Download
M Documentation/snippets/flat-flags-and-beam-nibs.ly View 1 2 3 3 chunks +17 lines, -16 lines 0 comments Download
M Documentation/snippets/modifying-tuplet-bracket-length.ly View 1 2 3 2 chunks +11 lines, -10 lines 0 comments Download
A + Documentation/snippets/new/flat-flags-and-beam-nibs.ly View 1 2 3 4 chunks +11 lines, -18 lines 0 comments Download
A + Documentation/snippets/new/modifying-tuplet-bracket-length.ly View 1 2 3 3 chunks +5 lines, -12 lines 0 comments Download
M Documentation/snippets/new/staff-headword.ly View 1 3 chunks +7 lines, -17 lines 0 comments Download
M Documentation/snippets/staff-headword.ly View 1 2 chunks +7 lines, -16 lines 0 comments Download
M input/regression/display-lily-tests.ly View 1 1 chunk +3 lines, -0 lines 0 comments Download
M input/regression/optional-args.ly View 1 2 chunks +4 lines, -9 lines 0 comments Download
A input/regression/rhythmic-sequence.ly View 1 1 chunk +11 lines, -0 lines 0 comments Download
M lily/parser.yy View 1 2 3 5 chunks +60 lines, -8 lines 0 comments Download
M scm/define-music-display-methods.scm View 1 1 chunk +11 lines, -2 lines 0 comments Download
M scm/music-functions.scm View 1 2 3 4 chunks +71 lines, -3 lines 0 comments Download

Messages

Total messages: 20
dak
Be more thorough. A bit of enthusiasm for this one, please.
10 years, 5 months ago (2013-11-08 17:52:59 UTC) #1
dak
A bit more documentation
10 years, 5 months ago (2013-11-09 14:48:44 UTC) #2
Trevor Daniels
I like this. Maybe we ought also to make a small change to the LM. ...
10 years, 5 months ago (2013-11-09 17:12:51 UTC) #3
benko.pal
https://codereview.appspot.com/22120043/diff/40001/scm/music-functions.scm File scm/music-functions.scm (right): https://codereview.appspot.com/22120043/diff/40001/scm/music-functions.scm#newcode780 scm/music-functions.scm:780: ;;; that don't interpret them is harmless. does that ...
10 years, 5 months ago (2013-11-09 18:46:29 UTC) #4
dak
https://codereview.appspot.com/22120043/diff/40001/lily/parser.yy File lily/parser.yy (right): https://codereview.appspot.com/22120043/diff/40001/lily/parser.yy#newcode649 lily/parser.yy:649: | FRACTION On 2013/11/09 17:12:52, Trevor Daniels wrote: > ...
10 years, 5 months ago (2013-11-09 18:51:38 UTC) #5
dak
https://codereview.appspot.com/22120043/diff/40001/scm/music-functions.scm File scm/music-functions.scm (right): https://codereview.appspot.com/22120043/diff/40001/scm/music-functions.scm#newcode780 scm/music-functions.scm:780: ;;; that don't interpret them is harmless. On 2013/11/09 ...
10 years, 5 months ago (2013-11-09 19:05:29 UTC) #6
janek
Awesome!! could you push it in a branch, so that I could read the commits ...
10 years, 5 months ago (2013-11-10 11:48:13 UTC) #7
ckenneth721
10 years, 5 months ago (2013-11-10 11:59:58 UTC) #8
ckenneth721
On 2013/11/10 11:59:58, ckenneth721 wrote: Hey
10 years, 5 months ago (2013-11-10 12:04:57 UTC) #9
dak
On 2013/11/10 11:48:13, janek wrote: > Awesome!! > > could you push it in a ...
10 years, 5 months ago (2013-11-10 12:11:09 UTC) #10
ckenneth721
On Nov 10, 2013 5:11 AM, <dak@gnu.org> wrote: > On 2013/11/10 11:48:13, janek wrote: > ...
10 years, 5 months ago (2013-11-10 13:15:53 UTC) #11
janek
2013/11/10 <dak@gnu.org>: > On 2013/11/10 11:48:13, janek wrote: >> could you push it in a ...
10 years, 5 months ago (2013-11-10 18:06:04 UTC) #12
dak
Some more thoughts about the chord issue: I agree that it sounds somewhat icky to ...
10 years, 5 months ago (2013-11-12 10:23:56 UTC) #13
benko.pal
On 2013/11/12 10:23:56, dak wrote: > a) we don't commit ourselves either way: it is ...
10 years, 5 months ago (2013-11-12 15:35:42 UTC) #14
dak
On 2013/11/12 15:35:42, benko.pal wrote: > On 2013/11/12 10:23:56, dak wrote: > > a) we ...
10 years, 5 months ago (2013-11-12 16:46:21 UTC) #15
janek
2013/11/12 <dak@gnu.org>: > It still would not be fun in connection with TabStaff, not repeating ...
10 years, 5 months ago (2013-11-12 21:58:13 UTC) #16
janek
2013/11/12 <dak@gnu.org>: > So this patch leaves open questions, and people might give themselves > ...
10 years, 5 months ago (2013-11-12 22:01:42 UTC) #17
dak
On 2013/11/12 21:58:13, janek wrote: > 2013/11/12 <dak@gnu.org>: > > It still would not be ...
10 years, 5 months ago (2013-11-13 13:22:06 UTC) #18
janek
LGTM. 2013/11/13 <dak@gnu.org>: > On 2013/11/12 21:58:13, janek wrote: >> >> 2013/11/12 <dak@gnu.org>: >> > ...
10 years, 5 months ago (2013-11-13 13:59:48 UTC) #19
dak
10 years, 5 months ago (2013-11-14 14:49:41 UTC) #20
Implement chord repetition, make RhythmicStaff examples more defensive in return
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b