326 lines
44 KiB
HTML
326 lines
44 KiB
HTML
<!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 principale</span></a></li>
|
|
<li><a href="namespaces.html"><span>Espaces de nommage</span></a></li>
|
|
<li><a href="annotated.html"><span>Structures de 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 des fichiers</span></a></li>
|
|
<li><a href="globals.html"><span>Variables 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"> </span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Définitions de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </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> </div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <stdio.h></span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <stdlib.h></span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <gtk/gtk.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="motifs_8h.html">motifs/motifs.h</a>"</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="melodie_8h.html">melodie/melodie.h</a>"</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="lecture_8h.html">lecture/lecture.h</a>"</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">//#include <SDL2/SDL.h></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//#include <SDL2/SDL_mixer.h></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">//#include <SDL2/SDL_main.h></span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6"> 32</a></span> <span class="preprocessor">#define DEF_NBR_TMP 16</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="main_8c.html#a24c48ef77929deff9e40e141a891dbb8"> 33</a></span> <span class="preprocessor"></span><span class="preprocessor">#define MAX_PATTERNS 256</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Fonctions de débug</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="main_8c.html#aa014e8ed9cc5ef0372fce12f3351de71"> 37</a></span> <span class="keywordtype">void</span> <a class="code" href="main_8c.html#aa014e8ed9cc5ef0372fce12f3351de71">afficherMotif</a>(<a class="code" href="struct__motif.html">Motif</a>* m, <span class="keywordtype">int</span> nbrPortees){</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  printf(<span class="stringliteral">"%s :\n"</span>,m-><a class="code" href="struct__motif.html#aa192e522685e809efc7e08f1a9fc3583">nom</a>);</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> tmp = 0; tmp < m-><a class="code" href="struct__motif.html#a2eabad4d5a8a75f82ac6f4a70ce453d3">nbrTmp</a>; tmp++){</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> portee = 0; portee < nbrPortees; portee++){</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  printf(<span class="stringliteral">"%d "</span>,<a class="code" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a>(m,portee,tmp));</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  }</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  printf(<span class="stringliteral">"\n"</span>);</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// Fin des fonctions de débug</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="main_8c.html#a9bcfe57b5b800770950552a070472b3b"> 49</a></span> <span class="keywordtype">void</span> <a class="code" href="main_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a>(<a class="code" href="struct__motif.html">Motif</a>* melodie[], <a class="code" href="struct__motif.html">Motif</a>* liste, <span class="keywordtype">int</span> nbrPortees){</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&liste, <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="struct__motif.html">Motif</a>* m = liste;</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// My Little Pony.</span></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,0,1);</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,0,1);</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,2,-1);</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,4,1);</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,4,0);</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,5,1);</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,5,1);</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,6,-1);</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,7,1);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,7,2);</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,8,-1);</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(m,0,9,1);</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,9,1);</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(m,0,12,-1);</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&liste, <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="struct__motif.html">Motif</a>* n = liste;</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// I used to wonder what friendship could be.</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,1,1);</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,1,3);</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,2,1);</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,2,3);</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,3,1);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,3,3);</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,4,1);</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,4,3);</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,5,-1);</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,6,1);</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,6,1);</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,7,1);</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,7,2);</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,8,-1);</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,9,1);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,9,1);</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,10,-1);</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,11,1);</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,11,3);</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,12,-1);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,13,1);</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,13,2);</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,14,-1);</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(n,0,15,1);</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(n,0,15,1);</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a>(&liste, <a class="code" href="main_8c.html#a5b956416a06f4aa8665dd6a4af3e04e6">DEF_NBR_TMP</a>, nbrPortees);</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="struct__motif.html">Motif</a>* p = liste;</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Until you all shared its magic with me.</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,0,1);</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,0,3);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,1,1);</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,1,4);</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,2,-1);</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,3,1);</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,3,4);</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,4,-1);</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,5,1);</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,5,3);</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,6,-1);</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,7,1);</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,7,2);</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,8,-1);</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,9,1);</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,9,1);</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,10,1);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,10,3);</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,11,-1);</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a>(p,0,12,1);</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,12,2);</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a>(p,0,14,-1);</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,0,m);</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,1,n);</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,2,m);</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a>(melodie,3,p);</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> }</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="main_8c.html#a0ddf1224851353fc92bfbff6f499fa97"> 132</a></span> <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="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="comment">//lecture(nbrPortee, melodie);</span></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">// insérer code GTK ici</span></div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  GtkBuilder *monBuilder;</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  GtkWidget *maFenetre;</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  gtk_init( &argc, &argv );</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  monBuilder = gtk_builder_new();</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  gtk_builder_add_from_file( monBuilder, <span class="stringliteral">"GUI/ponytracker.glade"</span>, NULL);</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  gtk_builder_connect_signals( monBuilder, NULL);</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  maFenetre = GTK_WIDGET( gtk_builder_get_object( monBuilder, <span class="stringliteral">"fenetreprincipale"</span>));</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  gtk_widget_show_all (maFenetre);</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  gtk_main();</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> EXIT_SUCCESS;</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="main_8c.html#a12971de76b50d401b7b859c396194d8d"> 154</a></span> <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="l00155"></a><span class="lineno"> 155</span> {</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  GtkBuilder *monBuilderSample;</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  GtkWidget *maFenetreSample;</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  gtk_init( &argc, &argv );</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  monBuilderSample = gtk_builder_new();</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  gtk_builder_add_from_file( monBuilderSample, <span class="stringliteral">"GUI/ponytracker.glade"</span>, NULL);</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  gtk_builder_connect_signals( monBuilderSample, NULL);</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  maFenetreSample = GTK_WIDGET( gtk_builder_get_object( monBuilderSample, <span class="stringliteral">"ajoutsample"</span>));</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  gtk_widget_show_all (maFenetreSample);</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> }</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="main_8c.html#a96c80115d05a50996f87ad2fa66d8193"> 171</a></span> <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="l00172"></a><span class="lineno"> 172</span> {</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  GtkBuilder *monBuilderInstrument;</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  GtkWidget *maFenetreInstrument;</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  gtk_init( &argc, &argv );</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  monBuilderInstrument = gtk_builder_new();</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  gtk_builder_add_from_file( monBuilderInstrument, <span class="stringliteral">"GUI/ponytracker.glade"</span>, NULL);</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  gtk_builder_connect_signals( monBuilderInstrument, NULL);</div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( monBuilderInstrument, <span class="stringliteral">"ajoutinstrument"</span>));</div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  gtk_widget_show_all (maFenetreInstrument);</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> }</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="main_8c.html#a527c52ff5cf09f7fcd04e9209c590351"> 188</a></span> <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="l00189"></a><span class="lineno"> 189</span> {</div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  GtkBuilder *monBuilderMotif;</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  GtkWidget *maFenetreMotif;</div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  gtk_init( &argc, &argv );</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  monBuilderMotif = gtk_builder_new();</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  gtk_builder_add_from_file( monBuilderMotif, <span class="stringliteral">"GUI/ponytracker.glade"</span>, NULL);</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  gtk_builder_connect_signals( monBuilderMotif, NULL);</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( monBuilderMotif, <span class="stringliteral">"ajoutmotif"</span>));</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  gtk_widget_show_all (maFenetreMotif);</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> }</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="main_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc"> 205</a></span> <span class="keywordtype">void</span> <a class="code" href="main_8c.html#a13bb869ee82de1e97f7fa09e8b6157fc">lancerLecture</a> ()</div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> {</div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="struct__motif.html">Motif</a>* melodie[<a class="code" href="main_8c.html#a24c48ef77929deff9e40e141a891dbb8">MAX_PATTERNS</a>] = {NULL};</div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="struct__motif.html">Motif</a>* liste = NULL;</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">int</span> nbrPortees = 1;</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="melodie_8h.html#aa6ad6d988cc7efe51fa58d04849f9d05">courant</a> = 0;</div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="melodie_8h.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a> = 0;</div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="main_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a>(melodie, liste, nbrPortees);</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="lecture_8c.html#aed433892d863e7af069a7ee2e04c22e0">lecture</a>(nbrPortees,480,melodie);</div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="main_8c.html#a984049078b71eba9bfa968627bc7d2ec"> 216</a></span> <span class="keywordtype">void</span> <a class="code" href="main_8c.html#a984049078b71eba9bfa968627bc7d2ec">quitter</a> ()</div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> {</div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  gtk_main_quit();</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</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#l00132">main.c:132</a></div></div>
|
|
<div class="ttc" id="motifs_8c_html_ad004e9f91ca7bcc9411c549a4fe62451"><div class="ttname"><a href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a></div><div class="ttdeci">void ajouterMotif(Motif **pliste, int nbrTmp, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00022">motifs.c:22</a></div></div>
|
|
<div class="ttc" id="motifs_8c_html_ad9706b025d4ab4474778af8b6a3c1a66"><div class="ttname"><a href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a></div><div class="ttdeci">int getNote(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00077">motifs.c:77</a></div></div>
|
|
<div class="ttc" id="struct__motif_html_aa192e522685e809efc7e08f1a9fc3583"><div class="ttname"><a href="struct__motif.html#aa192e522685e809efc7e08f1a9fc3583">_motif::nom</a></div><div class="ttdeci">char nom[10]</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00032">motifs.h:32</a></div></div>
|
|
<div class="ttc" id="melodie_8h_html_aa6ad6d988cc7efe51fa58d04849f9d05"><div class="ttname"><a href="melodie_8h.html#aa6ad6d988cc7efe51fa58d04849f9d05">courant</a></div><div class="ttdeci">int courant</div><div class="ttdef"><b>Definition:</b> <a href="melodie_8h_source.html#l00008">melodie.h:8</a></div></div>
|
|
<div class="ttc" id="struct__motif_html"><div class="ttname"><a href="struct__motif.html">_motif</a></div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00031">motifs.h:31</a></div></div>
|
|
<div class="ttc" id="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#l00216">main.c:216</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#l00033">main.c:33</a></div></div>
|
|
<div class="ttc" id="melodie_8h_html"><div class="ttname"><a href="melodie_8h.html">melodie.h</a></div></div>
|
|
<div class="ttc" id="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#l00154">main.c:154</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#l00032">main.c:32</a></div></div>
|
|
<div class="ttc" id="motifs_8c_html_af42173fbd180b1aa00e97a49d77f56f6"><div class="ttname"><a href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a></div><div class="ttdeci">void definirNote(Motif *m, int portee, int tmp, int note)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00053">motifs.c:53</a></div></div>
|
|
<div class="ttc" id="struct__motif_html_a2eabad4d5a8a75f82ac6f4a70ce453d3"><div class="ttname"><a href="struct__motif.html#a2eabad4d5a8a75f82ac6f4a70ce453d3">_motif::nbrTmp</a></div><div class="ttdeci">int nbrTmp</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8h_source.html#l00033">motifs.h:33</a></div></div>
|
|
<div class="ttc" id="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#l00171">main.c:171</a></div></div>
|
|
<div class="ttc" id="melodie_8h_html_a29bf3fc0ffe4e72e45f0c84ab4f8cd1e"><div class="ttname"><a href="melodie_8h.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a></div><div class="ttdeci">int taille</div><div class="ttdef"><b>Definition:</b> <a href="melodie_8h_source.html#l00010">melodie.h:10</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#l00037">main.c:37</a></div></div>
|
|
<div class="ttc" id="main_8c_html_a9bcfe57b5b800770950552a070472b3b"><div class="ttname"><a href="main_8c.html#a9bcfe57b5b800770950552a070472b3b">debut</a></div><div class="ttdeci">void debut(Motif *melodie[], Motif *liste, int nbrPortees)</div><div class="ttdef"><b>Definition:</b> <a href="main_8c_source.html#l00049">main.c:49</a></div></div>
|
|
<div class="ttc" id="lecture_8c_html_aed433892d863e7af069a7ee2e04c22e0"><div class="ttname"><a href="lecture_8c.html#aed433892d863e7af069a7ee2e04c22e0">lecture</a></div><div class="ttdeci">void lecture(int nombreChaines, int tempo, Motif *melodie[])</div><div class="ttdef"><b>Definition:</b> <a href="lecture_8c_source.html#l00045">lecture.c:45</a></div></div>
|
|
<div class="ttc" id="melodie_8c_html_afc3e3d39e42a3ebb2e0281e786f5b7ef"><div class="ttname"><a href="melodie_8c.html#afc3e3d39e42a3ebb2e0281e786f5b7ef">ajouterMotifVirtuel</a></div><div class="ttdeci">void ajouterMotifVirtuel(Motif *melodie[], int ind, Motif *m)</div><div class="ttdef"><b>Definition:</b> <a href="melodie_8c_source.html#l00019">melodie.c:19</a></div></div>
|
|
<div class="ttc" id="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#l00188">main.c:188</a></div></div>
|
|
<div class="ttc" id="lecture_8h_html"><div class="ttname"><a href="lecture_8h.html">lecture.h</a></div></div>
|
|
<div class="ttc" id="motifs_8h_html"><div class="ttname"><a href="motifs_8h.html">motifs.h</a></div></div>
|
|
<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#l00205">main.c:205</a></div></div>
|
|
<div class="ttc" id="motifs_8c_html_af1e94966c6af95f5a3091721dd62f7db"><div class="ttname"><a href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a></div><div class="ttdeci">void definirInstrument(Motif *m, int portee, int tmp, int instrument)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00061">motifs.c:61</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Généré le Vendredi 16 Mai 2014 12:37:44 pour PonyTracker par  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|