ponytracker/documentation/html/maintest_8c_source.html

572 lines
95 KiB
HTML
Raw Permalink Normal View History

2014-05-22 00:12:25 +02:00
<!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: Fichier source de sources/mainTest/maintest.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>
<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)">
<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_d99914945eea828be3b4d59022c488ca.html">mainTest</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">maintest.c</div> </div>
</div><!--header-->
<div class="contents">
<a href="maintest_8c.html">Aller à la documentation de ce fichier.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="motifs_8h.html">motifs/motifs.h</a>&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="melodie_8h.html">melodie/melodie.h</a>&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="lecture_8h.html">lecture/lecture.h</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="maintest_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6"> 10</a></span>&#160;<span class="preprocessor">#define DEF_NBR_TMP 16</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="maintest_8c.html#a24c48ef77929deff9e40e141a891dbb8"> 11</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MAX_PATTERNS 256</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600"> 13</a></span>&#160;<a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5"> 14</a></span>&#160;GtkBuilder *<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="maintest_8c.html#a8d6505e338c4f4ae581a37dee1a39612"> 15</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a8d6505e338c4f4ae581a37dee1a39612">Do</a>=<span class="stringliteral">&quot;Do&quot;</span>;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="maintest_8c.html#a22069243594f05a6adb627399ec47a38"> 16</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a22069243594f05a6adb627399ec47a38">DoD</a>=<span class="stringliteral">&quot;Do#&quot;</span>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="maintest_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1"> 17</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1">Re</a>=<span class="stringliteral">&quot;Re&quot;</span>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="maintest_8c.html#ad895e2de086bf4db1ebeb764c39cbb02"> 18</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#ad895e2de086bf4db1ebeb764c39cbb02">ReD</a>=<span class="stringliteral">&quot;Re#&quot;</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="maintest_8c.html#af26085d0c481a2fdfd01c3e8d209c57a"> 19</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#af26085d0c481a2fdfd01c3e8d209c57a">Mi</a>=<span class="stringliteral">&quot;Mi&quot;</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="maintest_8c.html#a78037187dd95d18c519a07ede6f6149f"> 20</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a78037187dd95d18c519a07ede6f6149f">Fa</a>=<span class="stringliteral">&quot;Fa&quot;</span>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="maintest_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935"> 21</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935">FaD</a>=<span class="stringliteral">&quot;Fa#&quot;</span>;</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="maintest_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3"> 22</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3">Sol</a>=<span class="stringliteral">&quot;Sol&quot;</span>;</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="maintest_8c.html#a81e340cabe465b9f73661275b49c2af4"> 23</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a81e340cabe465b9f73661275b49c2af4">SolD</a>=<span class="stringliteral">&quot;Sol#&quot;</span>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="maintest_8c.html#a5b97382699413e0e85e61f969866a380"> 24</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a5b97382699413e0e85e61f969866a380">La</a>=<span class="stringliteral">&quot;La&quot;</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="maintest_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2"> 25</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2">LaD</a>=<span class="stringliteral">&quot;La#&quot;</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="maintest_8c.html#a4a090768777344566bbfb753d85dde50"> 26</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a4a090768777344566bbfb753d85dde50">Si</a>=<span class="stringliteral">&quot;Si&quot;</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8"> 27</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>=<span class="stringliteral">&quot;1&quot;</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb"> 28</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>=<span class="stringliteral">&quot;2&quot;</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995"> 29</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>=<span class="stringliteral">&quot;3&quot;</span>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd"> 30</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>=<span class="stringliteral">&quot;4&quot;</span>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6"> 31</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>=<span class="stringliteral">&quot;5&quot;</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment">// Fonctions de débug</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="maintest_8c.html#aa014e8ed9cc5ef0372fce12f3351de71"> 35</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#aa014e8ed9cc5ef0372fce12f3351de71">afficherMotif</a>(<a class="code" href="struct__motif.html">Motif</a>* m, <span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>){</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; printf(<span class="stringliteral">&quot;%s :\n&quot;</span>,m-&gt;<a class="code" href="struct__motif.html#aa192e522685e809efc7e08f1a9fc3583">nom</a>);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> tmp = 0; tmp &lt; m-&gt;<a class="code" href="struct__motif.html#a2eabad4d5a8a75f82ac6f4a70ce453d3">nbrTmp</a>; tmp++){</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> portee = 0; portee &lt; <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>; portee++){</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; printf(<span class="stringliteral">&quot;%d &quot;</span>,<a class="code" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a>(m,portee,tmp));</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; }</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; }</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="comment">// Fin des fonctions de débug</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="maintest_8c.html#a9bcfe57b5b800770950552a070472b3b"> 47</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a>(<a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3">melodie</a>[], <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a>, <span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>){</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, <a class="code" href="maintest_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* m = <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="comment">// My Little Pony.</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,1);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,1);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,2,-1);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,4,1);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,4,0);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,5,1);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,5,1);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,6,-1);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,7,1);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,7,2);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,8,-1);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,9,1);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,9,1);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,12,-1);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, <a class="code" href="maintest_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* n = <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// I used to wonder what friendship could be.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,1,1);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,1,3);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,2,1);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,2,3);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,3,1);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,3,3);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,4,1);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,4,3);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,5,-1);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,6,1);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,6,1);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,7,1);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,7,2);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,8,-1);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,9,1);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,9,1);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,10,-1);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,11,1);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,11,3);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,12,-1);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,13,1);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,13,2);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,14,-1);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,15,1);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,15,1);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, <a class="code" href="maintest_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* p = <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="comment">// Until you all shared its magic with me.</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,0,1);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,0,3);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,1,1);</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,1,4);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,2,-1);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,3,1);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,3,4);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,4,-1);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,5,1);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,5,3);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,6,-1);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,7,1);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,7,2);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,8,-1);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,9,1);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,9,1);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,10,1);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,10,3);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,11,-1);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,12,1);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,12,2);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,14,-1);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,0,m);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,1,n);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,2,m);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,3,p);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;}</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="maintest_8c.html#aef05da9b1e434403fd2ffdfe6b2a14d7"> 130</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="maintest_8c.html#aef05da9b1e434403fd2ffdfe6b2a14d7">str_dup</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> *s)</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;{</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">char</span> *pc = NULL;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span> (s != NULL)</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; pc = malloc((strlen(s) + 1) * <span class="keyword">sizeof</span> *pc);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">if</span> (pc != NULL)</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; {</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; strcpy(pc, s);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">return</span> pc;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;}</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="maintest_8c.html#a0ddf1224851353fc92bfbff6f499fa97"> 146</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="maintest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] ){</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; GtkWidget *maFenetre;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">char</span> *str=NULL;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; gtk_init( &amp;argc, &amp;argv );</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a> = gtk_builder_new();</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; gtk_builder_add_from_file( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;GUI/ponytrackertest.glade&quot;</span>, NULL);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; gtk_builder_connect_signals( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, NULL);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; maFenetre = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;fenetreprincipale&quot;</span>));</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; GtkButton *button = (GtkButton*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;button16&quot;</span>);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a>(m,0,0)) {</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; str=<span class="stringliteral">&quot;Do &quot;</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">case</span> 1 :</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; str=<span class="stringliteral">&quot;Do# &quot;</span>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; str=<span class="stringliteral">&quot;Re &quot;</span>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; str=<span class="stringliteral">&quot;Re# &quot;</span>;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; str=<span class="stringliteral">&quot;Mi &quot;</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">case</span> 5 :</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; str=<span class="stringliteral">&quot;Fa &quot;</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">case</span> 6 :</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; str=<span class="stringliteral">&quot;Fa# &quot;</span>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">case</span> 7 :</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; str=<span class="stringliteral">&quot;Sol &quot;</span>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">case</span> 8 :</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; str=<span class="stringliteral">&quot;Sol# &quot;</span>;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordflow">case</span> 9 : </div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; str=<span class="stringliteral">&quot;La &quot;</span>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">case</span> 10 :</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; str=<span class="stringliteral">&quot;La# &quot;</span>;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordflow">case</span> 11 :</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; str=<span class="stringliteral">&quot;Si &quot;</span>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; }</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a>(m,0,0)) {</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; strcat(str, <span class="stringliteral">&quot;5 &quot;</span>);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; }</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a>(m,0,0)) {</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; strcat(str, <span class="stringliteral">&quot;5 &quot;</span>);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; }</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#a8c81aabb9b5fa55bad1c2ddb8d2ee6a9">getVolume</a>(m,0,0)) {</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; strcat(str, <span class="stringliteral">&quot;5 &quot;</span>);</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; }</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a>(m,0,0)) {</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; strcat(str, <span class="stringliteral">&quot;5 &quot;</span>);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; gtk_button_set_label(button, str);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; gtk_widget_show_all (maFenetre);</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; gtk_main();</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordflow">return</span> EXIT_SUCCESS;</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;}</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="maintest_8c.html#a12971de76b50d401b7b859c396194d8d"> 289</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a12971de76b50d401b7b859c396194d8d">fenetreSample</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;{</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; GtkWidget *maFenetreSample = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutsample&quot;</span>));</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; gtk_widget_show_all (maFenetreSample);</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;}</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="maintest_8c.html#a96c80115d05a50996f87ad2fa66d8193"> 297</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a96c80115d05a50996f87ad2fa66d8193">fenetreInstrument</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;{</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; GtkWidget *maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutinstrument&quot;</span>));</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; gtk_widget_show_all (maFenetreInstrument);</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;}</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="maintest_8c.html#a527c52ff5cf09f7fcd04e9209c590351"> 304</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a527c52ff5cf09f7fcd04e9209c590351">fenetreMotif</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;{</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; GtkWidget *maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutmotif&quot;</span>));</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; gtk_widget_show_all (maFenetreMotif);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;}</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="maintest_8c.html#abe71037061bc9d0550d27f75c2cd1183"> 311</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#abe71037061bc9d0550d27f75c2cd1183">fenetreNote</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;{</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutnote&quot;</span>));</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; gtk_widget_show_all (maFenetreNote);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;}</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="maintest_8c.html#ade467f02ecf40abff91d242c1c3d1c3c"> 318</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#ade467f02ecf40abff91d242c1c3d1c3c">remplissageNote</a> (GtkWidget *widget, gpointer *<a class="code" href="fmod__codec_8h.html#a4d218bb9f59bc8beef27e0ffb15af6db">data</a>){</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combonote&quot;</span>);</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combooctave&quot;</span>);</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;comboinstrument&quot;</span>);</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combovolume&quot;</span>);</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(<a class="code" href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;comboeffet&quot;</span>);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote));</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave));</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument));</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume));</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet));</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a8d6505e338c4f4ae581a37dee1a39612">Do</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,1);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keywordflow">else</span> </div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a22069243594f05a6adb627399ec47a38">DoD</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,2);</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1">Re</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,3);</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ad895e2de086bf4db1ebeb764c39cbb02">ReD</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,4);</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#af26085d0c481a2fdfd01c3e8d209c57a">Mi</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,5);</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a78037187dd95d18c519a07ede6f6149f">Fa</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,6);</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935">FaD</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,7);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3">Sol</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,8);</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a81e340cabe465b9f73661275b49c2af4">SolD</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,9);</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a5b97382699413e0e85e61f969866a380">La</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,10);</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2">LaD</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,11);</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a4a090768777344566bbfb753d85dde50">Si</a>,strnote)==0) <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,12);</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>,stroctave)==0) <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,0,1);</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>,stroctave)==0) <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,0,2);</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>,stroctave)==0) <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,0,3);</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>,stroctave)==0) <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,0,4);</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>,stroctave)==0) <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,0,5);</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>,strinstrument)==0) <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,1);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>,strinstrument)==0) <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,2);</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>,strinstrument)==0) <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,3);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>,strinstrument)==0) <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,4);</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>,strinstrument)==0) <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,5);</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>,strvolume)==0) <a class="code" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a>(m,0,0,1);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>,strvolume)==0) <a class="code" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a>(m,0,0,2);</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>,strvolume)==0) <a class="code" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a>(m,0,0,3);</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>,strvolume)==0) <a class="code" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a>(m,0,0,4);</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>,strvolume)==0) <a class="code" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a>(m,0,0,5);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>,streffet)==0) <a class="code" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a>(m,0,0,1);</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>,streffet)==0) <a class="code" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a>(m,0,0,2);</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>,streffet)==0) <a class="code" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a>(m,0,0,3);</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>,streffet)==0) <a class="code" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a>(m,0,0,4);</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>,streffet)==0) <a class="code" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a>(m,0,0,5);</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;}</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="maintest_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc"> 397</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc">lancerLecture</a> ()</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;{</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3">melodie</a>[<a class="code" href="maintest_8c.html#a24c48ef77929deff9e40e141a891dbb8">MAX_PATTERNS</a>] = {NULL};</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a> = NULL;</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a> = 1;</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; courant = 0;</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <a class="code" href="main_8c.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a> = 0;</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <a class="code" href="maintest_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a>(melodie, liste, nbrPortees);</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <a class="code" href="lecture_8c.html#a39c4b94e2de975ad6760aaeb30f1562a">lecture</a>(nbrPortees,480,melodie);</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;}</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="maintest_8c.html#a984049078b71eba9bfa968627bc7d2ec"> 408</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a984049078b71eba9bfa968627bc7d2ec">quitter</a> ()</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;{</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; gtk_main_quit();</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;}</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160;</div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="maintest_8c.html#a5f2e190b8261a98c97c2ea4e86670d54"> 413</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="maintest_8c.html#a5f2e190b8261a98c97c2ea4e86670d54">refresh</a>(){}</div>
<div class="ttc" id="maintest_8c_html_a96c80115d05a50996f87ad2fa66d8193"><div class="ttname"><a href="maintest_8c.html#a96c80115d05a50996f87ad2fa66d8193">fenetreInstrument</a></div><div class="ttdeci">void fenetreInstrument(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00297">maintest.c:297</a></div></div>
<div class="ttc" id="motifs_8c_html_a6b6a18807e4f73c7710d611c7ff6d9f6"><div class="ttname"><a href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a></div><div class="ttdeci">int getInstrument(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00085">motifs.c:85</a></div></div>
<div class="ttc" id="motifs_8c_html_ad004e9f91ca7bcc9411c549a4fe62451"><div class="ttname"><a href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a></div><div class="ttdeci">void ajouterMotif(Motif **pliste, int nbrTmp, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00022">motifs.c:22</a></div></div>
<div class="ttc" id="maintest_8c_html_a5b956416a06f4aa8665dd6a4af3e04e6"><div class="ttname"><a href="maintest_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a></div><div class="ttdeci">#define DEF_NBR_TMP</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00010">maintest.c:10</a></div></div>
<div class="ttc" id="motifs_8c_html_ad9706b025d4ab4474778af8b6a3c1a66"><div class="ttname"><a href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a></div><div class="ttdeci">int getNote(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00077">motifs.c:77</a></div></div>
<div class="ttc" id="maintest_8c_html_a12971de76b50d401b7b859c396194d8d"><div class="ttname"><a href="maintest_8c.html#a12971de76b50d401b7b859c396194d8d">fenetreSample</a></div><div class="ttdeci">void fenetreSample(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00289">maintest.c:289</a></div></div>
<div class="ttc" id="struct__motif_html_aa192e522685e809efc7e08f1a9fc3583"><div class="ttname"><a href="struct__motif.html#aa192e522685e809efc7e08f1a9fc3583">_motif::nom</a></div><div class="ttdeci">char nom[10]</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00032">motifs.h:32</a></div></div>
<div class="ttc" id="maintest_8c_html_ac40192e3e23a44637d81f0c9a2030600"><div class="ttname"><a href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a></div><div class="ttdeci">Motif * m</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00013">maintest.c:13</a></div></div>
<div class="ttc" id="maintest_8c_html_aa014e8ed9cc5ef0372fce12f3351de71"><div class="ttname"><a href="maintest_8c.html#aa014e8ed9cc5ef0372fce12f3351de71">afficherMotif</a></div><div class="ttdeci">void afficherMotif(Motif *m, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00035">maintest.c:35</a></div></div>
<div class="ttc" id="maintest_8c_html_a81e340cabe465b9f73661275b49c2af4"><div class="ttname"><a href="maintest_8c.html#a81e340cabe465b9f73661275b49c2af4">SolD</a></div><div class="ttdeci">char * SolD</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00023">maintest.c:23</a></div></div>
<div class="ttc" id="motifs_8c_html_a8c6e71f1d25b4a9fba76a3527a592a8b"><div class="ttname"><a href="motifs_8c.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a></div><div class="ttdeci">int getEffet(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00093">motifs.c:93</a></div></div>
<div class="ttc" id="maintest_8c_html_a13bb869ee82de1e97f7fa09e8b6157fc"><div class="ttname"><a href="maintest_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc">lancerLecture</a></div><div class="ttdeci">void lancerLecture()</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00397">maintest.c:397</a></div></div>
<div class="ttc" id="maintest_8c_html_a64bb72eb67166344f5703ab2ecf571eb"><div class="ttname"><a href="maintest_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a></div><div class="ttdeci">char * N2</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00028">maintest.c:28</a></div></div>
<div class="ttc" id="maintest_8c_html_a73bf402cc4f5a23d6976a1090f809995"><div class="ttname"><a href="maintest_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a></div><div class="ttdeci">char * N3</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00029">maintest.c:29</a></div></div>
<div class="ttc" id="struct__motif_html"><div class="ttname"><a href="struct__motif.html">_motif</a></div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00031">motifs.h:31</a></div></div>
<div class="ttc" id="maintest_8c_html_abe71037061bc9d0550d27f75c2cd1183"><div class="ttname"><a href="maintest_8c.html#abe71037061bc9d0550d27f75c2cd1183">fenetreNote</a></div><div class="ttdeci">void fenetreNote(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00311">maintest.c:311</a></div></div>
<div class="ttc" id="motifs_8c_html_a46fa52652960a1485a604a3e1017e3cc"><div class="ttname"><a href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a></div><div class="ttdeci">void definirOctave(Motif *m, int portee, int tmp, int octave)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00057">motifs.c:57</a></div></div>
<div class="ttc" id="maintest_8c_html_a20c5163cf0990f5bbe2a231f4d5750f5"><div class="ttname"><a href="maintest_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a></div><div class="ttdeci">GtkBuilder * monBuilder</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00014">maintest.c:14</a></div></div>
<div class="ttc" id="melodie_8h_html"><div class="ttname"><a href="melodie_8h.html">melodie.h</a></div></div>
<div class="ttc" id="maintest_8c_html_a23a397421380a9ef6df89b0530dc20bd"><div class="ttname"><a href="maintest_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a></div><div class="ttdeci">char * N4</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00030">maintest.c:30</a></div></div>
<div class="ttc" id="main_8c_html_a29bf3fc0ffe4e72e45f0c84ab4f8cd1e"><div class="ttname"><a href="main_8c.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a></div><div class="ttdeci">int taille</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00046">main.c:46</a></div></div>
<div class="ttc" id="motifs_8c_html_af42173fbd180b1aa00e97a49d77f56f6"><div class="ttname"><a href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a></div><div class="ttdeci">void definirNote(Motif *m, int portee, int tmp, int note)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00053">motifs.c:53</a></div></div>
<div class="ttc" id="struct__motif_html_a2eabad4d5a8a75f82ac6f4a70ce453d3"><div class="ttname"><a href="struct__motif.html#a2eabad4d5a8a75f82ac6f4a70ce453d3">_motif::nbrTmp</a></div><div class="ttdeci">int nbrTmp</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00033">motifs.h:33</a></div></div>
<div class="ttc" id="maintest_8c_html_ad895e2de086bf4db1ebeb764c39cbb02"><div class="ttname"><a href="maintest_8c.html#ad895e2de086bf4db1ebeb764c39cbb02">ReD</a></div><div class="ttdeci">char * ReD</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00018">maintest.c:18</a></div></div>
<div class="ttc" id="maintest_8c_html_a7c59d92cd62d9b9bac8f4ccf36129cc3"><div class="ttname"><a href="maintest_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3">Sol</a></div><div class="ttdeci">char * Sol</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00022">maintest.c:22</a></div></div>
<div class="ttc" id="main_8c_html_ac4217b7299530f2c17a7aeb96395e853"><div class="ttname"><a href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a></div><div class="ttdeci">Motif * liste</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00042">main.c:42</a></div></div>
<div class="ttc" id="maintest_8c_html_a4a090768777344566bbfb753d85dde50"><div class="ttname"><a href="maintest_8c.html#a4a090768777344566bbfb753d85dde50">Si</a></div><div class="ttdeci">char * Si</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00026">maintest.c:26</a></div></div>
<div class="ttc" id="maintest_8c_html_a0ddf1224851353fc92bfbff6f499fa97"><div class="ttname"><a href="maintest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a></div><div class="ttdeci">int main(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00146">maintest.c:146</a></div></div>
<div class="ttc" id="maintest_8c_html_af26085d0c481a2fdfd01c3e8d209c57a"><div class="ttname"><a href="maintest_8c.html#af26085d0c481a2fdfd01c3e8d209c57a">Mi</a></div><div class="ttdeci">char * Mi</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00019">maintest.c:19</a></div></div>
<div class="ttc" id="maintest_8c_html_aef05da9b1e434403fd2ffdfe6b2a14d7"><div class="ttname"><a href="maintest_8c.html#aef05da9b1e434403fd2ffdfe6b2a14d7">str_dup</a></div><div class="ttdeci">char * str_dup(char const *s)</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00130">maintest.c:130</a></div></div>
<div class="ttc" id="motifs_8c_html_a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><div class="ttname"><a href="motifs_8c.html#a8c81aabb9b5fa55bad1c2ddb8d2ee6a9">getVolume</a></div><div class="ttdeci">int getVolume(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00089">motifs.c:89</a></div></div>
<div class="ttc" id="maintest_8c_html_ab2a472a0939d343af274b86afab310c6"><div class="ttname"><a href="maintest_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a></div><div class="ttdeci">char * N5</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00031">maintest.c:31</a></div></div>
<div class="ttc" id="maintest_8c_html_a58d3be9bd98fcccdbe3ad90a4ea05935"><div class="ttname"><a href="maintest_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935">FaD</a></div><div class="ttdeci">char * FaD</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00021">maintest.c:21</a></div></div>
<div class="ttc" id="lecture_8c_html_a39c4b94e2de975ad6760aaeb30f1562a"><div class="ttname"><a href="lecture_8c.html#a39c4b94e2de975ad6760aaeb30f1562a">lecture</a></div><div class="ttdeci">void lecture(int nombreChaines, int nombreInst, int tempo, Instrument *inst[], Motif *melodie[])</div><div class="ttdef"><b>Definition:</b> <a href="lecture_8c_source.html#l00046">lecture.c:46</a></div></div>
<div class="ttc" id="melodie_8c_html_afc3e3d39e42a3ebb2e0281e786f5b7ef"><div class="ttname"><a href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a></div><div class="ttdeci">void ajouterMotifVirtuel(Motif *melodie[], int ind, Motif *m)</div><div class="ttdef"><b>Definition:</b> <a href="melodie_8c_source.html#l00019">melodie.c:19</a></div></div>
<div class="ttc" id="maintest_8c_html_a984049078b71eba9bfa968627bc7d2ec"><div class="ttname"><a href="maintest_8c.html#a984049078b71eba9bfa968627bc7d2ec">quitter</a></div><div class="ttdeci">void quitter()</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00408">maintest.c:408</a></div></div>
<div class="ttc" id="maintest_8c_html_aba0ad9cc9f83d17479b2054bebb3d8c1"><div class="ttname"><a href="maintest_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1">Re</a></div><div class="ttdeci">char * Re</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00017">maintest.c:17</a></div></div>
<div class="ttc" id="lecture_8h_html"><div class="ttname"><a href="lecture_8h.html">lecture.h</a></div></div>
<div class="ttc" id="maintest_8c_html_a5b97382699413e0e85e61f969866a380"><div class="ttname"><a href="maintest_8c.html#a5b97382699413e0e85e61f969866a380">La</a></div><div class="ttdeci">char * La</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00024">maintest.c:24</a></div></div>
<div class="ttc" id="maintest_8c_html_a9bcfe57b5b800770950552a070472b3b"><div class="ttname"><a href="maintest_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a></div><div class="ttdeci">void debut(Motif *melodie[], Motif *liste, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00047">maintest.c:47</a></div></div>
<div class="ttc" id="maintest_8c_html_ad0a112df10a5d24ca07230c6ac61cdc8"><div class="ttname"><a href="maintest_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a></div><div class="ttdeci">char * N1</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00027">maintest.c:27</a></div></div>
<div class="ttc" id="maintest_8c_html_a6c3841008fbe767e5f96f0f88bcb60e2"><div class="ttname"><a href="maintest_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2">LaD</a></div><div class="ttdeci">char * LaD</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00025">maintest.c:25</a></div></div>
<div class="ttc" id="maintest_8c_html_a24c48ef77929deff9e40e141a891dbb8"><div class="ttname"><a href="maintest_8c.html#a24c48ef77929deff9e40e141a891dbb8">MAX_PATTERNS</a></div><div class="ttdeci">#define MAX_PATTERNS</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00011">maintest.c:11</a></div></div>
<div class="ttc" id="main_8c_html_aefd1b139142a277f5da5d87f084b7230"><div class="ttname"><a href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a></div><div class="ttdeci">int nbrPortees</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00045">main.c:45</a></div></div>
<div class="ttc" id="motifs_8c_html_adc0b31b456f810c890b94357f3ba8a85"><div class="ttname"><a href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a></div><div class="ttdeci">void definirEffet(Motif *m, int portee, int tmp, int effet)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00069">motifs.c:69</a></div></div>
<div class="ttc" id="maintest_8c_html_a527c52ff5cf09f7fcd04e9209c590351"><div class="ttname"><a href="maintest_8c.html#a527c52ff5cf09f7fcd04e9209c590351">fenetreMotif</a></div><div class="ttdeci">void fenetreMotif(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00304">maintest.c:304</a></div></div>
<div class="ttc" id="fmod__codec_8h_html_a4d218bb9f59bc8beef27e0ffb15af6db"><div class="ttname"><a href="fmod__codec_8h.html#a4d218bb9f59bc8beef27e0ffb15af6db">data</a></div><div class="ttdeci">FMOD_TAGTYPE char void * data</div><div class="ttdef"><b>Definition:</b> <a href="fmod__codec_8h_source.html#l00026">fmod_codec.h:26</a></div></div>
<div class="ttc" id="main_8c_html_a083d54258ee653fcb86365fce1e67bf3"><div class="ttname"><a href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3">melodie</a></div><div class="ttdeci">Motif * melodie[MAX_PATTERNS]</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00041">main.c:41</a></div></div>
<div class="ttc" id="maintest_8c_html_ade467f02ecf40abff91d242c1c3d1c3c"><div class="ttname"><a href="maintest_8c.html#ade467f02ecf40abff91d242c1c3d1c3c">remplissageNote</a></div><div class="ttdeci">void remplissageNote(GtkWidget *widget, gpointer *data)</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00318">maintest.c:318</a></div></div>
<div class="ttc" id="motifs_8h_html"><div class="ttname"><a href="motifs_8h.html">motifs.h</a></div></div>
<div class="ttc" id="maintest_8c_html_a5f2e190b8261a98c97c2ea4e86670d54"><div class="ttname"><a href="maintest_8c.html#a5f2e190b8261a98c97c2ea4e86670d54">refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00413">maintest.c:413</a></div></div>
<div class="ttc" id="maintest_8c_html_a8d6505e338c4f4ae581a37dee1a39612"><div class="ttname"><a href="maintest_8c.html#a8d6505e338c4f4ae581a37dee1a39612">Do</a></div><div class="ttdeci">char * Do</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00015">maintest.c:15</a></div></div>
<div class="ttc" id="maintest_8c_html_a22069243594f05a6adb627399ec47a38"><div class="ttname"><a href="maintest_8c.html#a22069243594f05a6adb627399ec47a38">DoD</a></div><div class="ttdeci">char * DoD</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00016">maintest.c:16</a></div></div>
<div class="ttc" id="motifs_8c_html_af1e94966c6af95f5a3091721dd62f7db"><div class="ttname"><a href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a></div><div class="ttdeci">void definirInstrument(Motif *m, int portee, int tmp, int instrument)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00061">motifs.c:61</a></div></div>
<div class="ttc" id="motifs_8c_html_a8aee8833f47e110e27de823ac557e8ac"><div class="ttname"><a href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a></div><div class="ttdeci">void definirVolume(Motif *m, int portee, int tmp, int volume)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00065">motifs.c:65</a></div></div>
<div class="ttc" id="motifs_8c_html_a5e7e5ab1812e838fddfa82c3682c4708"><div class="ttname"><a href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a></div><div class="ttdeci">int getOctave(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00081">motifs.c:81</a></div></div>
<div class="ttc" id="maintest_8c_html_a78037187dd95d18c519a07ede6f6149f"><div class="ttname"><a href="maintest_8c.html#a78037187dd95d18c519a07ede6f6149f">Fa</a></div><div class="ttdeci">char * Fa</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00020">maintest.c:20</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi 22 Mai 2014 00:09:13 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>