/usr/share/solfege/help/fr/dictation-module.html is in solfege-doc 3.20.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>The dictation module</title><link rel="stylesheet" href="../style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="GNU Solfege 3.20.6 Manuel utilisateur"><link rel="up" href="extending-solfege.html" title="Chapitre 4. Extending GNU Solfege"><link rel="prev" href="compareintervals-module.html" title="The compareintervals module"><link rel="next" href="elembuilder-module.html" title="The elembuilder module"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The <code class="literal">dictation</code> module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compareintervals-module.html">Précédent</a> </td><th width="60%" align="center">Chapitre 4. Extending GNU Solfege</th><td width="20%" align="right"> <a accesskey="n" href="elembuilder-module.html">Suivant</a></td></tr></table><hr></div><div class="sect1" title="The dictation module"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dictation-module"></a>The <code class="literal">dictation</code> module</h2></div></div></div><p>Example:</p><pre class="programlisting">
header {
<a class="xref" href="lesson-files.html#lf-module">module</a> = dictation
<a class="xref" href="lesson-files.html#lf-title">title</a> = _("Norwegian children songs")
<a class="xref" href="lesson-files.html#lf-version">version</a> = "2.1.10"
}
question {
<a class="xref" href="lesson-files.html#lf-name">name</a> = "Bæ, bæ, lille lam"
<a class="xref" href="lesson-files.html#lf-tempo">tempo</a> = 130/4
<a class="xref" href="dictation-module.html#lf-breakpoints">breakpoints</a> = 2/1, 4/1, 8/1, 10/1, 12/1, 14/1
music = <a class="xref" href="lesson-files.html#lfunc-rvoice">rvoice</a>("""
\time 4/4
c'2 g' | e4 e c2 | d4 d g, g | c1 |
c2 g' | e4 e c2 | d4 d g, g | c1 |
a'4 f f f | g2. e4 | f d d d | e2. c4 |
a'2 f | g e4 e | f b, b b | c1 |
""")
}
question {
# this tempo definition overrides the global
<a class="xref" href="lesson-files.html#lf-tempo">tempo</a> = 160/4
<a class="xref" href="lesson-files.html#lf-name">name</a> = "Lisa gikk til skolen"
<a class="xref" href="dictation-module.html#lf-breakpoints">breakpoints</a> = 2/1, 4/1, 6/1
music = <a class="xref" href="lesson-files.html#lfunc-rvoice">rvoice</a>("""
\time 4/4
c' d e f | g2 g2 | a4 a a a | g1 |
f4 f f f | e2 e | d4 d d d | c1
""")
}
question {
name = "Det satt to katter på et bord..."
tempo = 96/4
music = rvoice("""
\key g \major \time 2/4
d'8 | [g g] [fis e] | [fis g] a4 | [d,16 d d d] [e8 fis] | g2 """)
}
</pre><p>By default, the dictation exercise will show the first column of music,
and then the user should write the rest. But if the first column is not good
enough, for example if there are only rests on the first beat, these two
variables can tell the program how much music to display:</p><div class="variablelist"><dl><dt><span class="term"><code class="literal"><a name="lf-clue_end"></a>clue_end</code></span></dt><dd><p>The following example will display the music on all staffs in
the first quarter note:</p><pre class="programlisting">clue_end=1/4</pre></dd><dt><span class="term"><code class="literal"><a name="lf-clue_music"></a>clue_music</code></span></dt><dd><p>
This is an alternative to <code class="varname">clue_end</code>. The music assigned
to <code class="varname">clue_music</code> will be shown to the user when he should
start the dictation. You should not use both <code class="varname">clue_end</code>
and <code class="literal">clue_music</code> in the same question.</p></dd><dt><span class="term"><code class="literal"><a name="lf-breakpoints"></a>breakpoints</code></span></dt><dd><p>Set breakpoints in the music, so you can hear the music in parts
when doing the dictation.</p></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="compareintervals-module.html">Précédent</a> </td><td width="20%" align="center"><a accesskey="u" href="extending-solfege.html">Niveau supérieur</a></td><td width="40%" align="right"> <a accesskey="n" href="elembuilder-module.html">Suivant</a></td></tr><tr><td width="40%" align="left" valign="top">The <code class="literal">compareintervals</code> module </td><td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td><td width="40%" align="right" valign="top"> The <code class="literal">elembuilder</code> module</td></tr></table></div></body></html>
|