ponytracker/documentation/html/motifs_8c.html

713 lines
36 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>PonyTracker: Référence du fichier sources/motifs/motifs.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="vinyl.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">PonyTracker
</div>
<div id="projectbrief">Un projet de tracker de musique</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Page&#160;principale</span></a></li>
2014-05-20 13:17:26 +02:00
<li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
<li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
<li class="current"><a href="files.html"><span>Fichiers</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Recherche" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
<li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2014-05-20 13:17:26 +02:00
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Définitions de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_7616fbad042c86c3e2bddfa190c5322d.html">motifs</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Fonctions</a> </div>
<div class="headertitle">
<div class="title">Référence du fichier motifs.c</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="motifs_8h_source.html">motifs.h</a>&quot;</code><br/>
2014-05-20 13:17:26 +02:00
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de motifs.c:</div>
<div class="dyncontent">
<div class="center"><img src="motifs_8c__incl.png" border="0" usemap="#sources_2motifs_2motifs_8c" alt=""/></div>
<map name="sources_2motifs_2motifs_8c" id="sources_2motifs_2motifs_8c">
</map>
</div>
</div>
<p><a href="motifs_8c_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a7d602ef1c04ef5126146f9b1b3c71c8f">getIdMotif</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m)</td></tr>
<tr class="separator:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> **pliste, int nbrTmp, int nbrPortees)</td></tr>
<tr class="separator:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#acc86e3bfa2b84ae375ca472e95967ac6">definirNomMotif</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, char *nom)</td></tr>
<tr class="separator:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:acd5428841ea3c29a618974d40bc9efe9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#acd5428841ea3c29a618974d40bc9efe9">supprimerMotif</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> **cellule, int nbrPortees)</td></tr>
<tr class="separator:acd5428841ea3c29a618974d40bc9efe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:af42173fbd180b1aa00e97a49d77f56f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp, int note)</td></tr>
<tr class="separator:af42173fbd180b1aa00e97a49d77f56f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a46fa52652960a1485a604a3e1017e3cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp, int octave)</td></tr>
<tr class="separator:a46fa52652960a1485a604a3e1017e3cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:af1e94966c6af95f5a3091721dd62f7db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp, int instrument)</td></tr>
<tr class="separator:af1e94966c6af95f5a3091721dd62f7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a8aee8833f47e110e27de823ac557e8ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp, int volume)</td></tr>
<tr class="separator:a8aee8833f47e110e27de823ac557e8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:adc0b31b456f810c890b94357f3ba8a85"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp, int effet)</td></tr>
<tr class="separator:adc0b31b456f810c890b94357f3ba8a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#aa74ce94a714f4487b60b3ddcac7bb645">supprimerNote</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8c81aabb9b5fa55bad1c2ddb8d2ee6a9">getVolume</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-05-20 13:17:26 +02:00
<tr class="memitem:a8c6e71f1d25b4a9fba76a3527a592a8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a> (<a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a8c6e71f1d25b4a9fba76a3527a592a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
<div class="textblock"><p>Ce module implémente les fonctions du fichier <a class="el" href="motifs_8h.html">motifs.h</a></p>
<dl class="section version"><dt>Version</dt><dd>1 </dd></dl>
<dl class="section author"><dt>Auteur</dt><dd>Module CSC3502 : Projet Informatique 1ère année TELECOM SudParis </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Mai 2014 </dd></dl>
2014-05-20 13:17:26 +02:00
<p>Définition dans le fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div><h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="ad004e9f91ca7bcc9411c549a4fe62451"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> ajouterMotif </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> **&#160;</td>
<td class="paramname"><em>pliste</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbrTmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbrPortees</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'ajouter un nouveau motif </p>
<dl class="params"><dt>Paramètres</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">pliste</td><td>: liste de motifs </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">nbrTmp</td><td>: nombre de temps que doit contenir le motif </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">nbrPortees</td><td>: nombre de portées que doit contenir le motif </td></tr>
</table>
</dd>
</dl>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00022">22</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="adc0b31b456f810c890b94357f3ba8a85"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirEffet </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>effet</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de définir l'effet donné à une note param[out] m : motif dans lequel on ajoute l'effet param[in] portee : portée du motif dans laquelle on ajoute l'effet param[in] tmp : temps du motif dans lequel on ajoute l'effet param[in] effet : effet donné à la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00069">69</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="af1e94966c6af95f5a3091721dd62f7db"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirInstrument </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>intrument</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de définir l'instrument jouant une note param[out] m : motif dans lequel on utilise cet instrument param[in] portee : portée du motif dans laquelle on utilise cet instrument param[in] tmp : temps du motif dans lequel on utilise cet instrument param[in] instrument : instrument que l'on utilise </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00061">61</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="acc86e3bfa2b84ae375ca472e95967ac6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirNomMotif </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>nom</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de nommer un motif </p>
<dl class="params"><dt>Paramètres</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">m</td><td>: motif que l'on veut nommer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">nom</td><td>: nom que l'on donne au motif </td></tr>
</table>
</dd>
</dl>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00038">38</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="af42173fbd180b1aa00e97a49d77f56f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirNote </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>note</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de définir une note param[out] m : motif dans lequel on ajoute la note param[in] portee : portée du motif dans laquelle on ajoute la note param[in] tmp : temps du motif dans lequel on ajoute la note param[in] note : note que l'on ajoute </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00053">53</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a46fa52652960a1485a604a3e1017e3cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirOctave </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>octave</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de définir une octave param[out] m : motif dans lequel on ajoute l'octave param[in] portee : portée du motif dans laquelle on ajoute l'octave param[in] tmp : temps du motif dans lequel on ajoute l'octave param[in] octave : octave que l'on ajoute à la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00057">57</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a8aee8833f47e110e27de823ac557e8ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> definirVolume </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>volume</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de définir le volume d'une note param[out] m : motif dans lequel on modifie le volume param[in] portee : portée du motif dans laquelle on modifie le volume param[in] tmp : temps du motif dans lequel on modifie le volume param[in] volume : volume de la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00065">65</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a8c6e71f1d25b4a9fba76a3527a592a8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getEffet </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'afficher un effet donné param[out] m : motif dans lequel on affiche l'effet donné param[in] portee : portée du motif dans laquelle on affiche l'effet donné param[in] tmp : temps du motif dans lequel on affiche l'effet donné </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00093">93</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a7d602ef1c04ef5126146f9b1b3c71c8f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getIdMotif </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'obtenir le numéro d'un motif </p>
<dl class="params"><dt>Paramètres</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">m</td><td>: Mmtif dont on veut déterminer le numéro </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>Le numéro du motif </dd></dl>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00014">14</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a6b6a18807e4f73c7710d611c7ff6d9f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getInstrument </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'afficher un instrument utilisé param[out] m : motif dans lequel on affiche l'instrument utilisé param[in] portee : portée du motif dans laquelle on affiche l'instrument utilisé param[in] tmp : temps du motif dans lequel on affiche l'instrument utilisé </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00085">85</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="ad9706b025d4ab4474778af8b6a3c1a66"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getNote </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'afficher une note param[out] m : motif dans lequel on affiche la note param[in] portee : portée du motif dans laquelle on affiche la note param[in] tmp : temps du motif dans lequel on affiche la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00077">77</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a5e7e5ab1812e838fddfa82c3682c4708"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getOctave </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'afficher une octave param[out] m : motif dans lequel on affiche l'octave param[in] portee : portée du motif dans laquelle on affiche l'octave param[in] tmp : temps du motif dans lequel on affiche l'octave </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00081">81</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getVolume </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet d'afficher une volume de note param[out] m : motif dans lequel on affiche le volume de la note param[in] portee : portée du motif dans laquelle on affiche le volume de la note param[in] tmp : temps du motif dans lequel on affiche le volume de la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00089">89</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="acd5428841ea3c29a618974d40bc9efe9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> supprimerMotif </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> **&#160;</td>
<td class="paramname"><em>cellule</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbrPortees</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de supprimer un motif </p>
<dl class="params"><dt>Paramètres</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">cellule</td><td>: adresse de l'élément de la liste </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">nbrPortees</td><td>: nombre de portées que l'on supprime </td></tr>
</table>
</dd>
</dl>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00042">42</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
<a class="anchor" id="aa74ce94a714f4487b60b3ddcac7bb645"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2014-05-20 13:17:26 +02:00
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> supprimerNote </td>
<td>(</td>
2014-05-20 13:17:26 +02:00
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>portee</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tmp</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet de supprimer une note param[out] m : motif dans lequel on supprime la note param[in] portee : portée du motif dans laquelle on supprime la note param[in] tmp : temps du motif dans lequel on supprime la note </p>
2014-05-20 13:17:26 +02:00
<p>Définition à la ligne <a class="el" href="motifs_8c_source.html#l00073">73</a> du fichier <a class="el" href="motifs_8c_source.html">motifs.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2014-05-20 13:17:26 +02:00
Généré le Vendredi 16 Mai 2014 12:37:44 pour PonyTracker par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>