ponytracker/documentation/html/main_8c_source.html

616 lines
104 KiB
HTML
Raw Permalink Normal View History

2014-05-20 13:17:26 +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/main.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> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">main.c</div> </div>
</div><!--header-->
<div class="contents">
<a href="main_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;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</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="l00027"></a><span class="lineno"> 27</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="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="samples_8h.html">samples/samples.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="instruments_8h.html">instruments/instruments.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</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="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment">//#include &lt;SDL2/SDL.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">//#include &lt;SDL2/SDL_mixer.h&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment">//#include &lt;SDL2/SDL_main.h&gt;</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="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6"> 35</a></span>&#160;<span class="preprocessor">#define DEF_NBR_TMP 16</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="main_8c.html#a24c48ef77929deff9e40e141a891dbb8"> 36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MAX_PATTERNS 256</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="main_8c.html#a4a3e000c7dd3bf775af1cf561bd44ce5"> 37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NBR_INST 10</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="main_8c.html#a404a6f29c8301fe99c970905b3094410"> 38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NBR_SMPL 5</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment">// Variables globales</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3"> 41</a></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="main_8c.html#a24c48ef77929deff9e40e141a891dbb8">MAX_PATTERNS</a>] = {NULL};</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853"> 42</a></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="l00043"></a><span class="lineno"><a class="line" href="main_8c.html#a51daa158cc3ad050d5aed7b500f18886"> 43</a></span>&#160;<a class="code" href="struct__intrument.html">Instrument</a>* <a class="code" href="main_8c.html#a51daa158cc3ad050d5aed7b500f18886">inst</a>[<a class="code" href="main_8c.html#a4a3e000c7dd3bf775af1cf561bd44ce5">NBR_INST</a>] = {NULL};</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="main_8c.html#a1b2c31d071735c5a50db9f93c1ad53d1"> 44</a></span>&#160;<a class="code" href="struct__sample.html">Sample</a>* <a class="code" href="main_8c.html#a1b2c31d071735c5a50db9f93c1ad53d1">smpl</a>[<a class="code" href="main_8c.html#a404a6f29c8301fe99c970905b3094410">NBR_SMPL</a>] = {NULL};</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230"> 45</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a> = 1;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="main_8c.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e"> 46</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="main_8c.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5"> 48</a></span>&#160;GtkBuilder *<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="main_8c.html#a8d6505e338c4f4ae581a37dee1a39612"> 49</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a8d6505e338c4f4ae581a37dee1a39612">Do</a>=<span class="stringliteral">&quot;Do&quot;</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="main_8c.html#a22069243594f05a6adb627399ec47a38"> 50</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a22069243594f05a6adb627399ec47a38">DoD</a>=<span class="stringliteral">&quot;Do#&quot;</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="main_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1"> 51</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1">Re</a>=<span class="stringliteral">&quot;Re&quot;</span>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="main_8c.html#ad895e2de086bf4db1ebeb764c39cbb02"> 52</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#ad895e2de086bf4db1ebeb764c39cbb02">ReD</a>=<span class="stringliteral">&quot;Re#&quot;</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="main_8c.html#af26085d0c481a2fdfd01c3e8d209c57a"> 53</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#af26085d0c481a2fdfd01c3e8d209c57a">Mi</a>=<span class="stringliteral">&quot;Mi&quot;</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="main_8c.html#a78037187dd95d18c519a07ede6f6149f"> 54</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a78037187dd95d18c519a07ede6f6149f">Fa</a>=<span class="stringliteral">&quot;Fa&quot;</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="main_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935"> 55</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935">FaD</a>=<span class="stringliteral">&quot;Fa#&quot;</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="main_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3"> 56</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3">Sol</a>=<span class="stringliteral">&quot;Sol&quot;</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="main_8c.html#a81e340cabe465b9f73661275b49c2af4"> 57</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a81e340cabe465b9f73661275b49c2af4">SolD</a>=<span class="stringliteral">&quot;Sol#&quot;</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="main_8c.html#a5b97382699413e0e85e61f969866a380"> 58</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a5b97382699413e0e85e61f969866a380">La</a>=<span class="stringliteral">&quot;La&quot;</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="main_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2"> 59</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2">LaD</a>=<span class="stringliteral">&quot;La#&quot;</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="main_8c.html#a4a090768777344566bbfb753d85dde50"> 60</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a4a090768777344566bbfb753d85dde50">Si</a>=<span class="stringliteral">&quot;Si&quot;</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="main_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8"> 61</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a>=<span class="stringliteral">&quot;1&quot;</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="main_8c.html#a64bb72eb67166344f5703ab2ecf571eb"> 62</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a>=<span class="stringliteral">&quot;2&quot;</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="main_8c.html#a73bf402cc4f5a23d6976a1090f809995"> 63</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a>=<span class="stringliteral">&quot;3&quot;</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="main_8c.html#a23a397421380a9ef6df89b0530dc20bd"> 64</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a>=<span class="stringliteral">&quot;4&quot;</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="main_8c.html#ab2a472a0939d343af274b86afab310c6"> 65</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="main_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a>=<span class="stringliteral">&quot;5&quot;</span>;</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;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment">// Fonctions de débug</span></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"><a class="line" href="main_8c.html#aa014e8ed9cc5ef0372fce12f3351de71"> 70</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#aa014e8ed9cc5ef0372fce12f3351de71">afficherMotif</a>(<a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a>, <span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>){</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</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="l00072"></a><span class="lineno"> 72</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="l00073"></a><span class="lineno"> 73</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="l00074"></a><span class="lineno"> 74</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="l00075"></a><span class="lineno"> 75</span>&#160; }</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; }</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;}</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment">// Fin des fonctions de débug</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="main_8c.html#a08c4c8dab5ce0bbd0ac7f19768f309d5"> 82</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a08c4c8dab5ce0bbd0ac7f19768f309d5">debut</a>(<a class="code" href="struct__motif.html">Motif</a>* melodie[], <a class="code" href="struct__intrument.html">Instrument</a>* inst[], <a class="code" href="struct__sample.html">Sample</a>* smpl[], <a class="code" href="struct__motif.html">Motif</a>* liste, <span class="keywordtype">int</span> <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>){</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a> = <a class="code" href="main_8c.html#ac4217b7299530f2c17a7aeb96395e853">liste</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="comment">// En guise d&#39;exemple, voici la mélodie du générique de My Little Pony : Friendship is Magic.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="comment">// My Little Pony.</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>; i++) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,i,-1);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(m,0,i,3);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</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#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,1);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,0);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,2,-1);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,4,0);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,4,0);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,5,1);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,5,0);</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,6,-1);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,7,3);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,7,0);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,8,-1);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,9,1);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,9,0);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,12,-1);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, DEF_NBR_TMP, nbrPortees);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</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="l00114"></a><span class="lineno"> 114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">// I used to wonder what friendship could be.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>; i++) {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,i,-1);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(n,0,i,3);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; }</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,1,5);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,1,0);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,2,5);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,2,0);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,3,5);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,3,0);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,4,5);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,4,0);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,5,-1);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,6,1);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,6,0);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,7,3);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,7,0);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,8,-1);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,9,1);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,9,0);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,10,-1);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,11,5);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,11,0);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,12,-1);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,13,3);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,13,0);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,14,-1);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,15,1);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,15,0);</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; <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&amp;liste, DEF_NBR_TMP, nbrPortees);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</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="l00150"></a><span class="lineno"> 150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="comment">// Until you all shared its magic with me.</span></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; <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>; i++) {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,i,-1);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a>(p,0,i,3);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; }</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; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,0,5);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,0,0);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,1,8);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,1,0);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,2,-1);</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,3,8);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,3,0);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,4,-1);</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,5,5);</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,5,0);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,6,-1);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,7,3);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,7,0);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,8,-1);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,9,1);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,9,0);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,10,5);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,10,0);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,11,-1);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,12,3);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,12,0);</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,14,-1);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,0,m);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,1,n);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,2,m);</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,3,p);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="comment">// Définir les instruments les samples</span></div>
2014-05-20 13:17:26 +02:00
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <a class="code" href="samples_8c.html#a7ff33b007a5c904aaf993d747879cdfa">ajouterSample</a>(smpl,0,<span class="stringliteral">&quot;lecture/0.wav&quot;</span>);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="code" href="samples_8c.html#a1f9efeffb63bd507521749a80f7a63ae">setHauteur</a>(smpl[0],440.0);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <a class="code" href="instruments_8c.html#a5bf07257c1018526706f17f5dd2e453d">ajouterInstrument</a>(inst,0);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="instruments_8c.html#ae2da904100b4105b21814f7d40e370bb">setSample</a>(inst[0],smpl[0]);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;}</div>
2014-05-20 13:17:26 +02:00
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="main_8c.html#a0ddf1224851353fc92bfbff6f499fa97"> 195</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="main_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] ){</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <a class="code" href="main_8c.html#a08c4c8dab5ce0bbd0ac7f19768f309d5">debut</a>(melodie, inst, smpl, liste, <a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a> = melodie[0];</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; GtkWidget *maFenetre;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordtype">char</span> str[20];</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; gtk_init( &amp;argc, &amp;argv );</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; <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a> = gtk_builder_new();</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; gtk_builder_add_from_file( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;GUI/ponytrackertest.glade&quot;</span>, NULL);</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; gtk_builder_connect_signals( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, NULL);</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; maFenetre = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;fenetreprincipale&quot;</span>));</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; GtkButton *button = (GtkButton*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;button16&quot;</span>);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</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="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; strcpy(str,<span class="stringliteral">&quot;Do &quot;</span>);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">case</span> 1 :</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; strcpy(str,<span class="stringliteral">&quot;Do# &quot;</span>);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; strcpy(str,<span class="stringliteral">&quot;Re &quot;</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; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; strcpy(str,<span class="stringliteral">&quot;Re# &quot;</span>);</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; strcpy(str,<span class="stringliteral">&quot;Mi &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> 5 :</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; strcpy(str,<span class="stringliteral">&quot;Fa &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> 6 :</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; strcpy(str,<span class="stringliteral">&quot;Fa# &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> 7 :</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; strcpy(str,<span class="stringliteral">&quot;Sol &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> 8 :</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; strcpy(str,<span class="stringliteral">&quot;Sol# &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">case</span> 9 : </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; strcpy(str,<span class="stringliteral">&quot;La &quot;</span>);</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">case</span> 10 :</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; strcpy(str,<span class="stringliteral">&quot;La# &quot;</span>);</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">case</span> 11 :</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; strcpy(str,<span class="stringliteral">&quot;Si &quot;</span>);</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keywordflow">default</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; }</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; printf(<span class="stringliteral">&quot;%d\n&quot;</span>,<a class="code" href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a>(m,0,0));</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</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="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; strcat(str, <span class="stringliteral">&quot;0 &quot;</span>);</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</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; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &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> 4 :</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &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">default</span> :</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; }</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</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="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; strcat(str, <span class="stringliteral">&quot;0 &quot;</span>);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</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; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keywordflow">break</span>;</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;</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</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="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; strcat(str, <span class="stringliteral">&quot;0 &quot;</span>);</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; }</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; <span class="keywordflow">switch</span> (<a class="code" href="motifs_8c.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a>(m,0,0)) {</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordflow">case</span> 0 :</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; strcat(str, <span class="stringliteral">&quot;0 &quot;</span>);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <span class="keywordflow">case</span> 1 : </div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; strcat(str, <span class="stringliteral">&quot;1 &quot;</span>);</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">case</span> 2 :</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; strcat(str, <span class="stringliteral">&quot;2 &quot;</span>);</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <span class="keywordflow">case</span> 3 :</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; strcat(str, <span class="stringliteral">&quot;3 &quot;</span>);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keywordflow">case</span> 4 :</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; strcat(str, <span class="stringliteral">&quot;4 &quot;</span>);</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keywordflow">default</span> :</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="keywordflow">break</span>;</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;</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; gtk_button_set_label(button, str);</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; gtk_widget_show_all (maFenetre);</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; gtk_main();</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">return</span> EXIT_SUCCESS;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;}</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="main_8c.html#a12971de76b50d401b7b859c396194d8d"> 340</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a12971de76b50d401b7b859c396194d8d">fenetreSample</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;{</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; GtkWidget *maFenetreSample = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutsample&quot;</span>));</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160;</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; gtk_widget_show_all (maFenetreSample);</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;}</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;</div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="main_8c.html#a96c80115d05a50996f87ad2fa66d8193"> 348</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a96c80115d05a50996f87ad2fa66d8193">fenetreInstrument</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;{</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; GtkWidget *maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutinstrument&quot;</span>));</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160;</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; gtk_widget_show_all (maFenetreInstrument);</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;}</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;</div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="main_8c.html#a527c52ff5cf09f7fcd04e9209c590351"> 355</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a527c52ff5cf09f7fcd04e9209c590351">fenetreMotif</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;{</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; GtkWidget *maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutmotif&quot;</span>));</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; gtk_widget_show_all (maFenetreMotif);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;}</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div>
<div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="main_8c.html#abe71037061bc9d0550d27f75c2cd1183"> 362</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#abe71037061bc9d0550d27f75c2cd1183">fenetreNote</a> ( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[] )</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;{</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( <a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>, <span class="stringliteral">&quot;ajoutnote&quot;</span>));</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; gtk_widget_show_all (maFenetreNote);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;}</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160;</div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="main_8c.html#ade467f02ecf40abff91d242c1c3d1c3c"> 369</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_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="l00370"></a><span class="lineno"> 370</span>&#160;</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a> = melodie[0];</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combonote&quot;</span>);</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combooctave&quot;</span>);</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;comboinstrument&quot;</span>);</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;combovolume&quot;</span>);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(<a class="code" href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a>,<span class="stringliteral">&quot;comboeffet&quot;</span>);</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</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="l00380"></a><span class="lineno"> 380</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="l00381"></a><span class="lineno"> 381</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="l00382"></a><span class="lineno"> 382</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="l00383"></a><span class="lineno"> 383</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="l00384"></a><span class="lineno"> 384</span>&#160;</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordflow">else</span> </div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00396"></a><span class="lineno"> 396</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00398"></a><span class="lineno"> 398</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00406"></a><span class="lineno"> 406</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00408"></a><span class="lineno"> 408</span>&#160;</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00410"></a><span class="lineno"> 410</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00412"></a><span class="lineno"> 412</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00414"></a><span class="lineno"> 414</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00416"></a><span class="lineno"> 416</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00418"></a><span class="lineno"> 418</span>&#160;</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00420"></a><span class="lineno"> 420</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00422"></a><span class="lineno"> 422</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00424"></a><span class="lineno"> 424</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00426"></a><span class="lineno"> 426</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00428"></a><span class="lineno"> 428</span>&#160;</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00430"></a><span class="lineno"> 430</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00432"></a><span class="lineno"> 432</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00434"></a><span class="lineno"> 434</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00436"></a><span class="lineno"> 436</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00438"></a><span class="lineno"> 438</span>&#160;</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00440"></a><span class="lineno"> 440</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00442"></a><span class="lineno"> 442</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00444"></a><span class="lineno"> 444</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00446"></a><span class="lineno"> 446</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keywordflow">if</span> (strcmp(<a class="code" href="main_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="l00448"></a><span class="lineno"> 448</span>&#160;}</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;</div>
<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="main_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc"> 450</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc">lancerLecture</a> ()</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;{</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; </div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; <span class="comment">//courant = 0;</span></div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; <span class="comment">//taille = 0;</span></div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; printf(<span class="stringliteral">&quot;%d\n&quot;</span>,<a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>);</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <span class="comment">//debut(melodie, inst, smpl, liste, nbrPortees);</span></div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; <a class="code" href="lecture_8c.html#a39c4b94e2de975ad6760aaeb30f1562a">lecture</a>(<a class="code" href="main_8c.html#aefd1b139142a277f5da5d87f084b7230">nbrPortees</a>,1,480,inst,melodie);</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;}</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160;</div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="main_8c.html#a984049078b71eba9bfa968627bc7d2ec"> 460</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a984049078b71eba9bfa968627bc7d2ec">quitter</a> ()</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160;{</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; gtk_main_quit();</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;}</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;</div>
<div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="main_8c.html#a5f2e190b8261a98c97c2ea4e86670d54"> 465</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="main_8c.html#a5f2e190b8261a98c97c2ea4e86670d54">refresh</a>(){}</div>
<div class="ttc" id="main_8c_html_a0ddf1224851353fc92bfbff6f499fa97"><div class="ttname"><a href="main_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a></div><div class="ttdeci">int main(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00195">main.c:195</a></div></div>
<div class="ttc" id="struct__intrument_html"><div class="ttname"><a href="struct__intrument.html">_intrument</a></div><div class="ttdef"><b>Definition:</b> <a href="instruments_8h_source.html#l00027">instruments.h:27</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>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a1b2c31d071735c5a50db9f93c1ad53d1"><div class="ttname"><a href="main_8c.html#a1b2c31d071735c5a50db9f93c1ad53d1">smpl</a></div><div class="ttdeci">Sample * smpl[NBR_SMPL]</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00044">main.c:44</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a5f2e190b8261a98c97c2ea4e86670d54"><div class="ttname"><a href="main_8c.html#a5f2e190b8261a98c97c2ea4e86670d54">refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00465">main.c:465</a></div></div>
<div class="ttc" id="main_8c_html_a51daa158cc3ad050d5aed7b500f18886"><div class="ttname"><a href="main_8c.html#a51daa158cc3ad050d5aed7b500f18886">inst</a></div><div class="ttdeci">Instrument * inst[NBR_INST]</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00043">main.c:43</a></div></div>
<div class="ttc" id="struct__sample_html"><div class="ttname"><a href="struct__sample.html">_sample</a></div><div class="ttdef"><b>Definition:</b> <a href="samples_8h_source.html#l00019">samples.h:19</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<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="main_8c_html_a20c5163cf0990f5bbe2a231f4d5750f5"><div class="ttname"><a href="main_8c.html#a20c5163cf0990f5bbe2a231f4d5750f5">monBuilder</a></div><div class="ttdeci">GtkBuilder * monBuilder</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00048">main.c:48</a></div></div>
<div class="ttc" id="main_8c_html_a7c59d92cd62d9b9bac8f4ccf36129cc3"><div class="ttname"><a href="main_8c.html#a7c59d92cd62d9b9bac8f4ccf36129cc3">Sol</a></div><div class="ttdeci">char * Sol</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00056">main.c:56</a></div></div>
<div class="ttc" id="main_8c_html_a64bb72eb67166344f5703ab2ecf571eb"><div class="ttname"><a href="main_8c.html#a64bb72eb67166344f5703ab2ecf571eb">N2</a></div><div class="ttdeci">char * N2</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00062">main.c:62</a></div></div>
<div class="ttc" id="main_8c_html_aba0ad9cc9f83d17479b2054bebb3d8c1"><div class="ttname"><a href="main_8c.html#aba0ad9cc9f83d17479b2054bebb3d8c1">Re</a></div><div class="ttdeci">char * Re</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00051">main.c:51</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="samples_8c_html_a7ff33b007a5c904aaf993d747879cdfa"><div class="ttname"><a href="samples_8c.html#a7ff33b007a5c904aaf993d747879cdfa">ajouterSample</a></div><div class="ttdeci">void ajouterSample(Sample *tab[], int i, char *chemin)</div><div class="ttdef"><b>Definition:</b> <a href="samples_8c_source.html#l00013">samples.c:13</a></div></div>
<div class="ttc" id="main_8c_html_ade467f02ecf40abff91d242c1c3d1c3c"><div class="ttname"><a href="main_8c.html#ade467f02ecf40abff91d242c1c3d1c3c">remplissageNote</a></div><div class="ttdeci">void remplissageNote(GtkWidget *widget, gpointer *data)</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00369">main.c:369</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a22069243594f05a6adb627399ec47a38"><div class="ttname"><a href="main_8c.html#a22069243594f05a6adb627399ec47a38">DoD</a></div><div class="ttdeci">char * DoD</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00050">main.c:50</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="main_8c_html_a23a397421380a9ef6df89b0530dc20bd"><div class="ttname"><a href="main_8c.html#a23a397421380a9ef6df89b0530dc20bd">N4</a></div><div class="ttdeci">char * N4</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00064">main.c:64</a></div></div>
<div class="ttc" id="main_8c_html_a984049078b71eba9bfa968627bc7d2ec"><div class="ttname"><a href="main_8c.html#a984049078b71eba9bfa968627bc7d2ec">quitter</a></div><div class="ttdeci">void quitter()</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00460">main.c:460</a></div></div>
<div class="ttc" id="main_8c_html_a73bf402cc4f5a23d6976a1090f809995"><div class="ttname"><a href="main_8c.html#a73bf402cc4f5a23d6976a1090f809995">N3</a></div><div class="ttdeci">char * N3</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00063">main.c:63</a></div></div>
<div class="ttc" id="main_8c_html_a24c48ef77929deff9e40e141a891dbb8"><div class="ttname"><a href="main_8c.html#a24c48ef77929deff9e40e141a891dbb8">MAX_PATTERNS</a></div><div class="ttdeci">#define MAX_PATTERNS</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00036">main.c:36</a></div></div>
<div class="ttc" id="main_8c_html_ad895e2de086bf4db1ebeb764c39cbb02"><div class="ttname"><a href="main_8c.html#ad895e2de086bf4db1ebeb764c39cbb02">ReD</a></div><div class="ttdeci">char * ReD</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00052">main.c:52</a></div></div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="melodie_8h_html"><div class="ttname"><a href="melodie_8h.html">melodie.h</a></div></div>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a404a6f29c8301fe99c970905b3094410"><div class="ttname"><a href="main_8c.html#a404a6f29c8301fe99c970905b3094410">NBR_SMPL</a></div><div class="ttdeci">#define NBR_SMPL</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00038">main.c:38</a></div></div>
<div class="ttc" id="instruments_8h_html"><div class="ttname"><a href="instruments_8h.html">instruments.h</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="main_8c_html_a12971de76b50d401b7b859c396194d8d"><div class="ttname"><a href="main_8c.html#a12971de76b50d401b7b859c396194d8d">fenetreSample</a></div><div class="ttdeci">void fenetreSample(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00340">main.c:340</a></div></div>
<div class="ttc" id="main_8c_html_a6c3841008fbe767e5f96f0f88bcb60e2"><div class="ttname"><a href="main_8c.html#a6c3841008fbe767e5f96f0f88bcb60e2">LaD</a></div><div class="ttdeci">char * LaD</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00059">main.c:59</a></div></div>
<div class="ttc" id="main_8c_html_a5b956416a06f4aa8665dd6a4af3e04e6"><div class="ttname"><a href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a></div><div class="ttdeci">#define DEF_NBR_TMP</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00035">main.c:35</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a5b97382699413e0e85e61f969866a380"><div class="ttname"><a href="main_8c.html#a5b97382699413e0e85e61f969866a380">La</a></div><div class="ttdeci">char * La</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00058">main.c:58</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a96c80115d05a50996f87ad2fa66d8193"><div class="ttname"><a href="main_8c.html#a96c80115d05a50996f87ad2fa66d8193">fenetreInstrument</a></div><div class="ttdeci">void fenetreInstrument(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00348">main.c:348</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="main_8c_html_ab2a472a0939d343af274b86afab310c6"><div class="ttname"><a href="main_8c.html#ab2a472a0939d343af274b86afab310c6">N5</a></div><div class="ttdeci">char * N5</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00065">main.c:65</a></div></div>
<div class="ttc" id="main_8c_html_aa014e8ed9cc5ef0372fce12f3351de71"><div class="ttname"><a href="main_8c.html#aa014e8ed9cc5ef0372fce12f3351de71">afficherMotif</a></div><div class="ttdeci">void afficherMotif(Motif *m, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00070">main.c:70</a></div></div>
<div class="ttc" id="samples_8c_html_a1f9efeffb63bd507521749a80f7a63ae"><div class="ttname"><a href="samples_8c.html#a1f9efeffb63bd507521749a80f7a63ae">setHauteur</a></div><div class="ttdeci">void setHauteur(Sample *sample, float hauteur)</div><div class="ttdef"><b>Definition:</b> <a href="samples_8c_source.html#l00027">samples.c:27</a></div></div>
<div class="ttc" id="main_8c_html_a4a090768777344566bbfb753d85dde50"><div class="ttname"><a href="main_8c.html#a4a090768777344566bbfb753d85dde50">Si</a></div><div class="ttdeci">char * Si</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00060">main.c:60</a></div></div>
<div class="ttc" id="main_8c_html_a8d6505e338c4f4ae581a37dee1a39612"><div class="ttname"><a href="main_8c.html#a8d6505e338c4f4ae581a37dee1a39612">Do</a></div><div class="ttdeci">char * Do</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00049">main.c:49</a></div></div>
<div class="ttc" id="main_8c_html_ad0a112df10a5d24ca07230c6ac61cdc8"><div class="ttname"><a href="main_8c.html#ad0a112df10a5d24ca07230c6ac61cdc8">N1</a></div><div class="ttdeci">char * N1</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00061">main.c:61</a></div></div>
<div class="ttc" id="main_8c_html_a4a3e000c7dd3bf775af1cf561bd44ce5"><div class="ttname"><a href="main_8c.html#a4a3e000c7dd3bf775af1cf561bd44ce5">NBR_INST</a></div><div class="ttdeci">#define NBR_INST</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00037">main.c:37</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="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="main_8c_html_a78037187dd95d18c519a07ede6f6149f"><div class="ttname"><a href="main_8c.html#a78037187dd95d18c519a07ede6f6149f">Fa</a></div><div class="ttdeci">char * Fa</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00054">main.c:54</a></div></div>
<div class="ttc" id="main_8c_html_af26085d0c481a2fdfd01c3e8d209c57a"><div class="ttname"><a href="main_8c.html#af26085d0c481a2fdfd01c3e8d209c57a">Mi</a></div><div class="ttdeci">char * Mi</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00053">main.c:53</a></div></div>
<div class="ttc" id="main_8c_html_abe71037061bc9d0550d27f75c2cd1183"><div class="ttname"><a href="main_8c.html#abe71037061bc9d0550d27f75c2cd1183">fenetreNote</a></div><div class="ttdeci">void fenetreNote(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00362">main.c:362</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a527c52ff5cf09f7fcd04e9209c590351"><div class="ttname"><a href="main_8c.html#a527c52ff5cf09f7fcd04e9209c590351">fenetreMotif</a></div><div class="ttdeci">void fenetreMotif(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00355">main.c:355</a></div></div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="lecture_8h_html"><div class="ttname"><a href="lecture_8h.html">lecture.h</a></div></div>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a81e340cabe465b9f73661275b49c2af4"><div class="ttname"><a href="main_8c.html#a81e340cabe465b9f73661275b49c2af4">SolD</a></div><div class="ttdeci">char * SolD</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00057">main.c:57</a></div></div>
<div class="ttc" id="instruments_8c_html_a5bf07257c1018526706f17f5dd2e453d"><div class="ttname"><a href="instruments_8c.html#a5bf07257c1018526706f17f5dd2e453d">ajouterInstrument</a></div><div class="ttdeci">void ajouterInstrument(Instrument *tab[], int i)</div><div class="ttdef"><b>Definition:</b> <a href="instruments_8c_source.html#l00013">instruments.c:13</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="main_8c_html_a08c4c8dab5ce0bbd0ac7f19768f309d5"><div class="ttname"><a href="main_8c.html#a08c4c8dab5ce0bbd0ac7f19768f309d5">debut</a></div><div class="ttdeci">void debut(Motif *melodie[], Instrument *inst[], Sample *smpl[], Motif *liste, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00082">main.c:82</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="main_8c_html_a58d3be9bd98fcccdbe3ad90a4ea05935"><div class="ttname"><a href="main_8c.html#a58d3be9bd98fcccdbe3ad90a4ea05935">FaD</a></div><div class="ttdeci">char * FaD</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00055">main.c:55</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="samples_8h_html"><div class="ttname"><a href="samples_8h.html">samples.h</a></div></div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="motifs_8h_html"><div class="ttname"><a href="motifs_8h.html">motifs.h</a></div></div>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="main_8c_html_a13bb869ee82de1e97f7fa09e8b6157fc"><div class="ttname"><a href="main_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc">lancerLecture</a></div><div class="ttdeci">void lancerLecture()</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00450">main.c:450</a></div></div>
<div class="ttc" id="instruments_8c_html_ae2da904100b4105b21814f7d40e370bb"><div class="ttname"><a href="instruments_8c.html#ae2da904100b4105b21814f7d40e370bb">setSample</a></div><div class="ttdeci">void setSample(Instrument *inst, Sample *smpl)</div><div class="ttdef"><b>Definition:</b> <a href="instruments_8c_source.html#l00054">instruments.c:54</a></div></div>
2014-05-20 13:17:26 +02:00
<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>
2014-05-22 00:12:25 +02:00
<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>
2014-05-20 13:17:26 +02:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2014-05-22 00:12:25 +02:00
Généré le Jeudi 22 Mai 2014 00:09:13 pour PonyTracker par &#160;<a href="http://www.doxygen.org/index.html">
2014-05-20 13:17:26 +02:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>