diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2009-08-13 00:32:36 +0200 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2009-08-13 01:30:27 +0200 |
commit | 3fcb1f38d96cd2b5d49deebcde8b476ff96430e4 (patch) | |
tree | de750c4e73199299a74fda1e2c7eca1b8f963e83 /Documentation/automated-engraving/problem-statement.itexi | |
parent | 480e203052571809f1a11ee7c7728f08aa042fe9 (diff) |
Doc: automated-engraving: build fixes and images.
Diffstat (limited to 'Documentation/automated-engraving/problem-statement.itexi')
-rw-r--r-- | Documentation/automated-engraving/problem-statement.itexi | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Documentation/automated-engraving/problem-statement.itexi b/Documentation/automated-engraving/problem-statement.itexi index d4219dbe77..8d00b54cdd 100644 --- a/Documentation/automated-engraving/problem-statement.itexi +++ b/Documentation/automated-engraving/problem-statement.itexi @@ -22,14 +22,14 @@ At first sight, music notation follows a straightforward hierarchical pattern. Consider the example below, with two staves containing two measures. -@image{pictures/naive-notation,,,.png} +@sourceimage{naive-notation,,,.png} Isn't writing software all about finding hierarchies and modeling the real world in terms of trees? In the view of a naive programmer, the above fragment of notation is easily abstracted to a nested set of boxes -@image{pictures/naive-notation-uml,,,.png} +@sourceimage{naive-notation-uml,,,.png} It's easy to follow this model when writing software. It's obvious how to store this data in memory, and writing on disk can be easily @@ -37,18 +37,18 @@ mirrored. In an XML-file you could write something like @verbatim - <score> - <staff> - <measure id="1"> - <chord length="1/2"> - <pitch name="c"> - </chord> - <chord> + <score> + <staff> + <measure id="1"> + <chord length="1/2"> + <pitch name="c"> + </chord> + <chord> .... - </measure> - </staff> - </score> + </measure> + </staff> + </score> @end verbatim @@ -57,7 +57,7 @@ used by a lot software. Unfortunately, it's also wrong. The hierarchical representation works for a lot of simpler music, but it falls apart for advanced use. Consider the following example: -@image{pictures/nonnaive-notation,,,.png} +@sourceimage{nonnaive-notation,,,.png} In this example, several assumptions of the previous model are violated: staves start and stop at will, voices jump around between @@ -69,7 +69,7 @@ simpler musical concept. Hence, software should reflect that separation. @divClass{float-right} @divEnd -Next: @ref{divide-and-conquer.html,Divide and conqueror}, +Next: @ref{divide-and-conquer,Divide and conqueror}, a blue print for automated notation @bye |