~ubuntu-branches/ubuntu/saucy/solfege/saucy

« back to all changes in this revision

Viewing changes to help/pl/idbyname-module.html

  • Committer: Bazaar Package Importer
  • Author(s): Tom Cato Amundsen
  • Date: 2010-03-28 06:34:28 UTC
  • mfrom: (1.1.10 upstream) (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100328063428-wg2bqvoce2aq4xfb
Tags: 3.15.9-1
* New upstream release.
* Redo packaging. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>The idbyname module</title><link rel="stylesheet" href="../style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="GNU Solfege 3.14.5 Podręcznik Użytkownika"><link rel="up" href="extending-solfege.html" title="Rozdział 4. Extending GNU Solfege"><link rel="prev" href="harmonicinterval-module.html" title="The harmonicinterval module"><link rel="next" href="idproperty-module.html" title="The idproperty 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">idbyname</code> module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="harmonicinterval-module.html">Poprzedni</a> </td><th width="60%" align="center">Rozdział 4. Extending GNU Solfege</th><td width="20%" align="right"> <a accesskey="n" href="idproperty-module.html">Następny</a></td></tr></table><hr></div><div class="sect1" lang="pl"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idbyname-module"></a>The <code class="literal">idbyname</code> module</h2></div></div></div><p>Here is a minimal lesson file:</p><pre class="programlisting">
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>The idbyname module</title><link rel="stylesheet" href="../style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="index.html" title="GNU Solfege 3.15.9 Podręcznik Użytkownika"><link rel="up" href="extending-solfege.html" title="Rozdział 4. Extending GNU Solfege"><link rel="prev" href="harmonicinterval-module.html" title="The harmonicinterval module"><link rel="next" href="identifybpm-module.html" title="The identifybpm 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">idbyname</code> module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="harmonicinterval-module.html">Poprzedni</a> </td><th width="60%" align="center">Rozdział 4. Extending GNU Solfege</th><td width="20%" align="right"> <a accesskey="n" href="identifybpm-module.html">Następny</a></td></tr></table><hr></div><div class="sect1" title="The idbyname module"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idbyname-module"></a>The <code class="literal">idbyname</code> module</h2></div></div></div><p>This is a very generic exercise. In its most basic form, the program will
 
2
play some sound, and you have to select among several buttons that in some way
 
3
represents the music.</p><p>Here is a minimal lesson file:</p><pre class="programlisting">
2
4
header {
3
5
  <a class="xref" href="lesson-files.html#lf-module">module</a> = idbyname
4
6
  <a class="xref" href="lesson-files.html#lf-lesson_id">lesson_id</a> = "a400df62-e007-4a1b-9057-cd05397e88a2"
13
15
 name = "Minor"
14
16
 music = chord("c' es' g'")
15
17
}
16
 
</pre><div class="variablelist"><p class="title"><b>Optional idbyname header variables</b></p><dl><dt><span class="term"><code class="literal">filldir = vertic</code></span></dt><dd><a class="indexterm" name="id3021541"></a><p>Tell the direction the buttons are filled. Default value is <code class="literal">horiz</code>.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd><dt><span class="term"><code class="literal">fillnum</code></span></dt><dd><a class="indexterm" name="id3021570"></a><p>Tell how many buttons there are in each row or column. 
17
 
     The default value is 1.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd><dt><span class="term"><code class="literal"><a name="lf-labelformat"></a>labelformat</code><code class="literal"> = progression</code></span></dt><dd><a class="indexterm" name="id3021601"></a><p>The default value is <code class="literal">normal</code>.
 
18
</pre><div class="variablelist" title="Optional idbyname header variables"><p class="title"><b>Optional idbyname header variables</b></p><dl><dt><span class="term"><code class="literal">filldir = vertic</code></span></dt><dd><a class="indexterm" name="id3048420"></a><p>Tell the direction the buttons are filled. Default value is <code class="literal">horiz</code>.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd><dt><span class="term"><code class="literal">fillnum</code></span></dt><dd><a class="indexterm" name="id3048449"></a><p>Tell how many buttons there are in each row or column. 
 
19
     The default value is 1.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd><dt><span class="term"><code class="literal"><a name="lf-labelformat"></a>labelformat</code><code class="literal"> = progression</code></span></dt><dd><a class="indexterm" name="id3048479"></a><p>The default value is <code class="literal">normal</code>.
18
20
    Set to <code class="literal">progression</code> for lesson files where the name of the
19
21
    questions is a harmonic progression, written in a undocumented, but not
20
22
    difficult format. Check some existing lesson file to see how it works.
21
 
    </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Ostrzeżenie</h3><p>Using this variable is deprecated. Do not use it for new
 
23
    </p><div class="warning" title="Ostrzeżenie" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Ostrzeżenie</h3><p>Using this variable is deprecated. Do not use it for new
22
24
    lesson files.</p></div><p>
23
25
    </p><p>Modules: <code class="literal">idbyname</code></p></dd><dt><span class="term">
24
26
    
25
27
    <code class="varname"><a name="lf-have_repeat_slowly_button"></a>have_repeat_slowly_button</code>
26
28
    
27
 
    <code class="literal">= yes</code></span></dt><dd><a class="indexterm" name="id3021652"></a><p>Set to <code class="literal">yes</code> if you want the exercise to have a "Repeat slowly" button.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd></dl></div><p>
 
29
    <code class="literal">= yes</code></span></dt><dd><a class="indexterm" name="id3048531"></a><p>Set to <code class="literal">yes</code> if you want the exercise to have a "Repeat slowly" button.</p><p>Modules: <code class="literal">idbyname</code>.</p></dd></dl></div><p>
28
30
See also <a class="xref" href="lesson-files.html#lf-at_question_start">at_question_start</a>
29
31
and <a class="xref" href="lesson-files.html#lf-music_displayer_stafflines">music_displayer_stafflines</a>.
30
 
</p><div class="sect2" lang="pl"><div class="titlepage"><div><div><h3 class="title"><a name="id3021690"></a>Question block</h3></div></div></div><div class="itemizedlist"><p class="title"><b>Required question variables</b></p><ul type="disc"><li><p><a class="xref" href="lesson-files.html#lf-name">name</a>. Can be a string
31
 
or a label created by the <a class="xref" href="lesson-files.html#labelfunctions" title="Label functions">label functions</a>.</p></li><li><p><a class="xref" href="lesson-files.html#lf-music">music</a></p></li></ul></div><div class="variablelist"><p class="title"><b>Optional question variables</b></p><dl><dt><span class="term"><code class="varname">vmusic</code></span></dt><dd><a class="indexterm" name="id3021739"></a><p>See <a class="xref" href="lesson-files.html#lf-vmusic">vmusic</a>.</p></dd><dt><span class="term"><code class="varname">cuemusic</code></span></dt><dd><a class="indexterm" name="id3021765"></a><p>Will be displayed in the music displayer when the user clicks New.
 
32
</p><div class="sect2" title="Question block"><div class="titlepage"><div><div><h3 class="title"><a name="id3048569"></a>Question block</h3></div></div></div><div class="itemizedlist" title="Required question variables"><p class="title"><b>Required question variables</b></p><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="xref" href="lesson-files.html#lf-name">name</a>. Can be a string
 
33
or a label created by the <a class="xref" href="lesson-files.html#labelfunctions" title="Label functions">label functions</a>.</p></li><li class="listitem"><p><a class="xref" href="lesson-files.html#lf-music">music</a></p></li></ul></div><div class="variablelist" title="Optional question variables"><p class="title"><b>Optional question variables</b></p><dl><dt><span class="term"><code class="varname">vmusic</code></span></dt><dd><a class="indexterm" name="id3048617"></a><p>See <a class="xref" href="lesson-files.html#lf-vmusic">vmusic</a>.</p></dd><dt><span class="term"><code class="varname">cuemusic</code></span></dt><dd><a class="indexterm" name="id3048641"></a><p>Will be displayed in the music displayer when the user clicks New.
32
34
    Ignored if <code class="literal">at_question_start = play, show</code> or
33
35
    <code class="literal">at_question_start = show</code>, because then the content of
34
36
    <code class="varname">music</code> or <code class="varname">vmusic</code> is displayed when the
35
 
    user clicks New. (Added in Solfege 2.5.1)</p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="harmonicinterval-module.html">Poprzedni</a> </td><td width="20%" align="center"><a accesskey="u" href="extending-solfege.html">Początek rozdziału</a></td><td width="40%" align="right"> <a accesskey="n" href="idproperty-module.html">Następny</a></td></tr><tr><td width="40%" align="left" valign="top">The <code class="literal">harmonicinterval</code> module </td><td width="20%" align="center"><a accesskey="h" href="index.html">Spis treści</a></td><td width="40%" align="right" valign="top"> The <code class="literal">idproperty</code> module</td></tr></table></div></body></html>
 
37
    user clicks New. (Added in Solfege 2.5.1)</p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="harmonicinterval-module.html">Poprzedni</a> </td><td width="20%" align="center"><a accesskey="u" href="extending-solfege.html">Początek rozdziału</a></td><td width="40%" align="right"> <a accesskey="n" href="identifybpm-module.html">Następny</a></td></tr><tr><td width="40%" align="left" valign="top">The <code class="literal">harmonicinterval</code> module </td><td width="20%" align="center"><a accesskey="h" href="index.html">Spis treści</a></td><td width="40%" align="right" valign="top"> The <code class="literal">identifybpm</code> module</td></tr></table></div></body></html>