ponytracker/documentation/html/motifs_8h.html

704 lines
33 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.h</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>
<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)">
<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>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><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="#nested-classes">Structures de données</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Définitions de type</a> &#124;
<a href="#func-members">Fonctions</a> </div>
<div class="headertitle">
<div class="title">Référence du fichier motifs.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
</div>
<p><a href="motifs_8h_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="nested-classes"></a>
Structures de données</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__note.html">_note</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__motif.html">_motif</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aaf37e7b044bcdb8ee75fd121f1813dbe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf37e7b044bcdb8ee75fd121f1813dbe"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DEFNBRTMP</b>&#160;&#160;&#160;16</td></tr>
<tr class="separator:aaf37e7b044bcdb8ee75fd121f1813dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Définitions de type</h2></td></tr>
<tr class="memitem:aa91cd673616dc1bdd76e9ab0d1121110"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa91cd673616dc1bdd76e9ab0d1121110"></a>
typedef struct <a class="el" href="struct__note.html">_note</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Note</b></td></tr>
<tr class="separator:aa91cd673616dc1bdd76e9ab0d1121110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1507fd96f9b21d8e3ebff92453ac728"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1507fd96f9b21d8e3ebff92453ac728"></a>
typedef <a class="el" href="struct__note.html">Note</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Portee</b> []</td></tr>
<tr class="separator:aa1507fd96f9b21d8e3ebff92453ac728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a091db5cd81926e197f2ded329c0f913b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a091db5cd81926e197f2ded329c0f913b"></a>
typedef Portee *&#160;</td><td class="memItemRight" valign="bottom"><b>Mesure</b> []</td></tr>
<tr class="separator:a091db5cd81926e197f2ded329c0f913b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ad48e14f9d1942401858dab039b3449"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ad48e14f9d1942401858dab039b3449"></a>
typedef struct <a class="el" href="struct__motif.html">_motif</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Motif</b></td></tr>
<tr class="separator:a1ad48e14f9d1942401858dab039b3449"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a7d602ef1c04ef5126146f9b1b3c71c8f">getIdMotif</a> (<a class="el" href="struct__motif.html">Motif</a> *m)</td></tr>
<tr class="separator:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a> (<a class="el" href="struct__motif.html">Motif</a> **pliste, int nbrTmp, int nbrPortees)</td></tr>
<tr class="separator:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#acc86e3bfa2b84ae375ca472e95967ac6">definirNomMotif</a> (<a class="el" href="struct__motif.html">Motif</a> *m, char *nom)</td></tr>
<tr class="separator:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd5428841ea3c29a618974d40bc9efe9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#acd5428841ea3c29a618974d40bc9efe9">supprimerMotif</a> (<a class="el" href="struct__motif.html">Motif</a> **cellule, int nbrPortees)</td></tr>
<tr class="separator:acd5428841ea3c29a618974d40bc9efe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42173fbd180b1aa00e97a49d77f56f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int note)</td></tr>
<tr class="separator:af42173fbd180b1aa00e97a49d77f56f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46fa52652960a1485a604a3e1017e3cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int octave)</td></tr>
<tr class="separator:a46fa52652960a1485a604a3e1017e3cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cd4b2ed51ecbaeb3ecd64da4127c2cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a8cd4b2ed51ecbaeb3ecd64da4127c2cc">definirInstrument</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int intrument)</td></tr>
<tr class="separator:a8cd4b2ed51ecbaeb3ecd64da4127c2cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aee8833f47e110e27de823ac557e8ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int volume)</td></tr>
<tr class="separator:a8aee8833f47e110e27de823ac557e8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0b31b456f810c890b94357f3ba8a85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int effet)</td></tr>
<tr class="separator:adc0b31b456f810c890b94357f3ba8a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#aa74ce94a714f4487b60b3ddcac7bb645">supprimerNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a8c81aabb9b5fa55bad1c2ddb8d2ee6a9">getVolume</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
<tr class="separator:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6e71f1d25b4a9fba76a3527a592a8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8h.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a> (<a class="el" href="struct__motif.html">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>Gestion des motifs</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>
</div><h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="ad004e9f91ca7bcc9411c549a4fe62451"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ajouterMotif </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="adc0b31b456f810c890b94357f3ba8a85"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirEffet </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="a8cd4b2ed51ecbaeb3ecd64da4127c2cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirInstrument </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="acc86e3bfa2b84ae375ca472e95967ac6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirNomMotif </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="af42173fbd180b1aa00e97a49d77f56f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirNote </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="a46fa52652960a1485a604a3e1017e3cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirOctave </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="a8aee8833f47e110e27de823ac557e8ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void definirVolume </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</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>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="acd5428841ea3c29a618974d40bc9efe9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void supprimerMotif </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
<a class="anchor" id="aa74ce94a714f4487b60b3ddcac7bb645"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void supprimerNote </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct__motif.html">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>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi 15 Mai 2014 16:53:16 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>