1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>The singinterval 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.16.4 Руководство пользователя"><link rel="up" href="extending-solfege.html" title="Глава 4. Extending GNU Solfege"><link rel="prev" href="singchord-module.html" title="The singchord module"><link rel="next" href="twelvetone-module.html" title="The twelvetone 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">singinterval</code> module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="singchord-module.html">Пред.</a> </td><th width="60%" align="center">Глава 4. Extending GNU Solfege</th><td width="20%" align="right"> <a accesskey="n" href="twelvetone-module.html">След.</a></td></tr></table><hr></div><div class="sect1" title="The singinterval module"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="singinterval-module"></a>The <code class="literal">singinterval</code> module</h2></div></div></div><p>This is an exercise where the program display an interval and play the
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>The singinterval 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.19.6 Руководство пользователя"><link rel="up" href="extending-solfege.html" title="Глава 4. Extending GNU Solfege"><link rel="prev" href="singchord-module.html" title="The singchord module"><link rel="next" href="twelvetone-module.html" title="The twelvetone 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">singinterval</code> module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="singchord-module.html">Пред.</a> </td><th width="60%" align="center">Глава 4. Extending GNU Solfege</th><td width="20%" align="right"> <a accesskey="n" href="twelvetone-module.html">След.</a></td></tr></table><hr></div><div class="sect1" title="The singinterval module"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="singinterval-module"></a>The <code class="literal">singinterval</code> module</h2></div></div></div><p>This is an exercise where the program display an interval and play the
2
2
first tone. Then the user should sing the interval, and then click a button to
3
3
hear the correct answer. There is no microphone support yet.</p><p>User documentation is in <a class="xref" href="singinterval.html" title="Sing interval">«Sing interval»</a>.</p><p>Here is a minimal lesson file:</p><pre class="programlisting">
5
5
<a class="xref" href="lesson-files.html#lf-module">module</a> = singinterval
7
6
<a class="xref" href="lesson-files.html#lf-version">version</a> = "3.1.4"
8
7
<a class="xref" href="lesson-files.html#lf-title">title</a> = "Thirds"
9
8
<a class="xref" href="lesson-files.html#lf-ask_for_intervals">ask_for_intervals_0</a> = [3, 4]