{"id":2638,"date":"2019-12-07T11:24:51","date_gmt":"2019-12-07T10:24:51","guid":{"rendered":"https:\/\/fodina.de\/?p=2638"},"modified":"2023-01-03T22:12:33","modified_gmt":"2023-01-03T21:12:33","slug":"harmonyli-ly-intro","status":"publish","type":"post","link":"https:\/\/2022.fodina.de\/en\/harmonyli-ly-intro\/","title":{"rendered":"Harmonyli.ly &#8211; Harmonieanalysen f\u00fcr LilyPond"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignleft is-resized\"><a href=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2019\/12\/harmonyli-ly-logo-160x160.png\" data-fancybox=\"\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2019\/12\/harmonyli-ly-logo-160x160.png\" alt=\"\" class=\"wp-image-2414\" width=\"80\" height=\"80\"><\/a><\/figure><\/div>\n\n\n\n<p>There was a gap: The extraordinary and marvelous music notation software LilyPond could not adequately deal with harmony analysis symbols. As a last consequence, musicologists could not really use it. But the gap was closed &#8211; by <em>harmonyli.ly<\/em>. Here comes a very first introduction <!--more--><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What it is:<\/h3>\n\n\n\n<blockquote><p><span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> is a <em>LilyPond<\/em> library for integrating harmony analysis symbols into a score. It can provide the symbols of the <em>scale step theory<\/em> as well as the more complex symbols of the <em>functional harmony theory<\/em>.<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Where you can get it:<\/h3>\n\n\n\n<blockquote><p><span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> is offered as a <a href=\"https:\/\/github.com\/kreincke\/harmonyli.ly\/\">Github repository<\/a>: either you clone the repository or you download it as zip file.<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">How you integrate it:<\/h3>\n\n\n\n<blockquote><p>Actually, you need only the file <code>harmonyli.ly<\/code> from the package <span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span>: copy the file to the place from which you want to include it into your LilyPond files.<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">How you use it:<\/h3>\n\n\n\n<blockquote>You need four steps for using <span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> successfully:<\/blockquote>\n\n\n\n<blockquote><ul><li>At first you write your score.<\/li><li><span style=\"font-weight: bold; color: #008;\">Then you include harmonyli.ly file on top of the score section.<\/span><\/li><li><span style=\"font-weight: bold; color: #808;\">Below the voice to which you want to bind your analysis, you insert a lyric section.<\/span><\/li><li><span style=\"font-weight: bold; color: #900;\">And into this lyric section you write your analysis symbols.<\/span><\/li><\/ul><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">How it looks:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&bsol;version \"2.18.2\"\n<span style=\"font-weight: bold; color: #008;\">&bsol;include \"harmonyli.ly\"<\/span>\nanalysis = &bsol;lyricmode {<span style=\"font-weight: bold; color: #900;\">\n  &bsol;markup &bsol;setHas \"T\" #'() \n  &bsol;markup &bsol;setImHas \"D\" #'((\"B\".\"3\")(\"a\" . \"7\")(\"b\" . \"9\u266d\"))\n  &bsol;initTextSpan \"   \"\n  &bsol;markup &bsol;openZoomRow \"Sp\" #'((\"a\".\"9\")) \n  &bsol;startTextSpan\n  &bsol;markup &bsol;expZoomRow #'((\"a\".\"8\")) \n  &bsol;stopTextSpan<\/span>\n}\n&bsol;score {\n  &bsol;new GrandStaff <<\n    &bsol;new Staff << &bsol;clef treble &bsol;key c &bsol;major  &bsol;time 4\/4\n      &bsol;new Voice = \"top\" { &bsol;stemUp e''4 e'' e''( d'')  }\n      &bsol;new Voice = \"middle\" { &bsol;stemDown <g' c''>4 <g' bes'>4 <f' a'>2\n      }\n      >> \n    &bsol;new Staff << &bsol;clef bass  &bsol;key c &bsol;major  &bsol;time 4\/4\n      &bsol;new Voice = \"down\" { &bsol;stemUp c4 cis4 d2 }\n      &bsol;new NullVoice = \"rhythm\" { &bsol;stemDown c,4 c,4 c,4 c,4 }\n    <span style=\"font-weight: bold; color: #808;\">  &bsol;new Lyrics &bsol;lyricsto \"rhythm\" {&bsol;analysis}<\/span>\n      >>\n  >>\n  &bsol;layout {\n    &bsol;context {\n      &bsol;Score &bsol;override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1\/32) \n    }\n    &bsol;context {\n       &bsol;Lyrics &bsol;consists \"Text_spanner_engraver\" \n    }\n  }\n} <\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">What it provides:<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"180\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2019\/12\/hlily-minimal.png\" alt=\"\" class=\"wp-image-2673\"\/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">How one can learn it:<\/h3>\n\n\n\n<blockquote><ul><li>The best method to become familiar with <span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> should be the reading of the <a href=\"https:\/\/kreincke.github.io\/harmonyli.ly\/tutorial.pdf\">harmonyli.ly tutorial<\/a>. Beside the online version, you get an offline version as part of the <a href=\"https:\/\/github.com\/kreincke\/harmonyli.ly\/\">harmonyli.ly repository<\/a>.<\/li><li>Additionally, the <a href=\"https:\/\/github.com\/kreincke\/harmonyli.ly\/\">harmonyli.ly repository<\/a> provides example files which can be studied in <em>Frescobaldi<\/em> or compiled by the commands <code>make example.png<\/code> resp. <code>make examples.pdf<\/code>. The code of these examples shows, how harmonyli.ly works.<\/li><li>Finally, the <a href=\"https:\/\/github.com\/kreincke\/harmonyli.ly\/\">harmonyli.ly repository<\/a> contains also all LaTeX sources for compiling the pdf version of the tutorial: change into <code>doc<\/code> and type <code>make<\/code> if you want to recompile it. With the help of these files you will be enabled to embed analyzed examples into your scientific texts.<\/li>\n<li>The state of the art to deal with LaTeX and music is described in the German eBook <a href=\"http:\/\/kreincke.github.io\/mycsrf\/examples\/latex-musicology.pdf\">&#8220;Musikwissenschaft und LaTeX&#8221;<\/a>. But there exists at least an <a href=\"https:\/\/2022.fodina.deen\/2019\/musikwissenschaft-plus-latex\/\">English summary<\/a>.<\/li>\n<li>Last, but not least <span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> has its  <a href=\"https:\/\/2022.fodina.deen\/harmonyli-ly\/\">own project page<\/a>, which also points to current events.<\/li>\n<\/ul><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">What you may do:<\/h3>\n\n\n\n<blockquote><ul><li><span style=\"font-family: 'Arima Madurai'; font-style: normal; color: #900;\"><span style=\"font-weight: bold; color: #008;\">harmony<\/span>li.ly<\/span> itself is licensed under two licenses: feel free to use it under the terms of the MIT-license or under the terms of the GPLv3.<\/li><li>The examples are distributed under the terms of the MIT license.<\/li><li>The tutorial is published under the Creative Commons License CC-BY-SA.<\/li><\/ul>\n<p>For clarifiying the details, take a look at the compliance files in the repository.<\/p><blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Bisher gab es eine L\u00fccke: Das au\u00dfergew\u00f6hnliche und wunderbare freie Notensatzprogramm LilyPond konnte nicht angemessen mit Harmonyanalysen umgehen. Damit war es f\u00fcr Musikwissenschaftler nicht wirklich brauchbar. Aber diese L\u00fccke ist geschlossen &#8211; von harmonyli.ly. Hier ein erstes 5-Minuten-Tutorial:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[30,60,61,35,50],"translation":{"provider":"WPGlobus","version":"2.12.2","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":false,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/2638"}],"collection":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/comments?post=2638"}],"version-history":[{"count":66,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/2638\/revisions"}],"predecessor-version":[{"id":4390,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/2638\/revisions\/4390"}],"wp:attachment":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/media?parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/categories?post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/tags?post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}