ponytracker/documentation/html/lecture_8c_source.html

291 lines
42 KiB
HTML
Raw 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/lecture/lecture.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="vinyl.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">PonyTracker
</div>
<div id="projectbrief">Un projet de tracker de musique</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Page&#160;principale</span></a></li>
<li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
<li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
<li class="current"><a href="files.html"><span>Fichiers</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Recherche" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
<li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Définitions de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_a0ced6c35a98b4c7fb5b02604504764a.html">lecture</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">lecture.c</div> </div>
</div><!--header-->
<div class="contents">
<a href="lecture_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="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="lecture_8h.html">lecture.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">void lireTick (FMOD_SYSTEM* system, Motif* m, int tmp, FMOD_SOUND* sample[], FMOD_CHANNEL* chan[], int nbrPortees, int tempo) { // On va lire les ticks (plus petite division temporelle de la playlist) de haut en bas</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> //int tempsPrecedent = SDL_GetTicks();</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> for (int chaine = 0; chaine &lt; nbrPortees; chaine++) { // On va lire les chaines une <20> une par num<75>ro croissant</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> if (m != NULL) {</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> if (getInstrument(m,0,tmp) == -1) FMOD_Channel_Stop(chan[0]); // Si la note est un silence, la chaine s&#39;arr<EFBFBD>te</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> else {</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> if (getNote(m,0,tmp) != 0) {</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> FMOD_Channel_Stop(chan[chaine]); </span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> FMOD_System_PlaySound(system, FMOD_CHANNEL_FREE, sample[getInstrument(m,chaine,tmp)], 0, &amp;chan[chaine]);</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> //Ici on va s&#39;occuper du pitch</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> FMOD_DSP *pitch;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> FMOD_System_CreateDSPByType(system, FMOD_DSP_TYPE_PITCHSHIFT, &amp;pitch);</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> FMOD_DSP_SetParameter(pitch, FMOD_DSP_PITCHSHIFT_PITCH, 2.0);</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> FMOD_Channel_AddDSP(chan[chaine], pitch, 0); // C&#39;est quoi chan1 ??? Je l&#39;ai remplac<61> par chan[1], vu que chan1 est as d<>clar<61>...</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment"> // On va passer une bonne journ<72>e...</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment"> while (SDL_GetTicks() - tempsPrecedent &lt; 125) {} // Si 125 ms se sont <20>coul<75>es (il faudra r<>gler ce temps sur le tempo)</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment"> tempsPrecedent = tempsPrecedent + 125;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment"> Avouez que ce serait con qu&#39;on ait besoin de SDL juste pour la temporisation</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment"> alors qu&#39;on peut utiliser la fonction native usleep pour <20>a, et beaucoup plus simplement.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment"> usleep(60000000/tempo);</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">}</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="comment">*/</span></div>
2014-05-20 13:17:26 +02:00
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="lecture_8h.html#a3132020e71a2cf5ac7ab656d21c93e79"> 46</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="lecture_8c.html#a39c4b94e2de975ad6760aaeb30f1562a">lecture</a> (<span class="keywordtype">int</span> nombreChaines, <span class="keywordtype">int</span> nombreInst, <span class="keywordtype">int</span> tempo, <a class="code" href="struct__intrument.html">Instrument</a>* <a class="code" href="main_8c.html#a51daa158cc3ad050d5aed7b500f18886">inst</a>[], <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3">melodie</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"> 48</span>&#160; <a class="code" href="fmod_8h.html#a5e4d72799afeaac653e26b9dac0eb9bb">FMOD_SYSTEM</a> *system;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="fmod_8h.html#ae6ddadf8cb315e93ae7e6456b19db276">FMOD_RESULT</a> resultat;</div>
2014-05-20 13:17:26 +02:00
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="fmod_8h.html#ac548169586519f2221f6e01026fb3823">FMOD_System_Create</a>(&amp;system);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="fmod_8h.html#a6cd00ff26eeec6872df228587d729e38">FMOD_System_Init</a>(system, 8, <a class="code" href="fmod_8h.html#a01663d77bad51a4c4122d7240007da46">FMOD_INIT_NORMAL</a>, NULL); <span class="comment">//Le deuxi<78>me argument donne le nombre de canaux <20> utiliser (nombre de chaines)</span></div>
2014-05-20 13:17:26 +02:00
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
2014-05-22 00:12:25 +02:00
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="comment">//INITIALISATION SAMPLES ET CHANNELS</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a> **chan = malloc(nombreChaines*<span class="keyword">sizeof</span>(<a class="code" href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a>*)); <span class="comment">// On ouvre le nombre de chaines n<>cessaires dans le mixer</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="fmod_8h.html#a148f1267d9a53e1641f314b531476dcf">FMOD_SOUND</a> **sample = malloc(nombreInst*<span class="keyword">sizeof</span>(<a class="code" href="fmod_8h.html#a148f1267d9a53e1641f314b531476dcf">FMOD_SOUND</a>*)); </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">// On charge les samples avec un message d&#39;erreur en cas d&#39;<EFBFBD>chec</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; nombreInst; k++) {</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; resultat = <a class="code" href="fmod_8h.html#a55fa542e4f48998c4ff3fdee2a03f7ee">FMOD_System_CreateStream</a>(system, <a class="code" href="instruments_8c.html#ab41cad77f4a94310dc211a28dfb21043">getChemin</a>(inst[k]), <a class="code" href="fmod_8h.html#a827465855cd511e3e87d0081bb688ac9">FMOD_SOFTWARE</a> | <a class="code" href="fmod_8h.html#ad8e48fbc6807fd50a860483c2fcd76cf">FMOD_2D</a> | <a class="code" href="fmod_8h.html#a68dc1a665929a508309a33b640bd7143">FMOD_LOOP_NORMAL</a>, 0, &amp;sample[0]);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordflow">if</span> (resultat != <a class="code" href="fmod_8h.html#ae6ddadf8cb315e93ae7e6456b19db276a5e0335893e67b6367bba4b8431a3425a">FMOD_OK</a>)</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; fprintf(stderr, <span class="stringliteral">&quot;Impossible de lire le fichier audio\n&quot;</span>);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; exit(EXIT_FAILURE);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; }</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="comment">/*</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="comment"> resultat = FMOD_System_CreateStream(system, &quot;lecture/0.wav&quot;, FMOD_SOFTWARE | FMOD_2D | FMOD_LOOP_NORMAL, 0, &amp;sample[0]);</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="comment"> if (resultat != FMOD_OK)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="comment"> {</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="comment"> fprintf(stderr, &quot;Impossible de lire le fichier audio\n&quot;);</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment"> exit(EXIT_FAILURE);</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="comment"> resultat = FMOD_System_CreateStream(system, &quot;lecture/1.wav&quot;, FMOD_SOFTWARE | FMOD_2D | FMOD_LOOP_NORMAL, 0, &amp;sample[1]);</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="comment"> if (resultat != FMOD_OK)</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="comment"> {</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="comment"> fprintf(stderr, &quot;Impossible de lire le fichier audio\n&quot;);</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="comment"> exit(EXIT_FAILURE);</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="comment"> resultat = FMOD_System_CreateStream(system, &quot;lecture/2.wav&quot;, FMOD_SOFTWARE | FMOD_2D | FMOD_LOOP_NORMAL, 0, &amp;sample[2]);</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment"> if (resultat != FMOD_OK)</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="comment"> {</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="comment"> fprintf(stderr, &quot;Impossible de lire le fichier audio\n&quot;);</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="comment"> exit(EXIT_FAILURE);</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="comment"> resultat = FMOD_System_CreateStream(system, &quot;lecture/3.wav&quot;, FMOD_SOFTWARE | FMOD_2D | FMOD_LOOP_NORMAL, 0, &amp;sample[3]);</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="comment"> if (resultat != FMOD_OK)</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="comment"> {</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="comment"> fprintf(stderr, &quot;Impossible de lire le fichier audio\n&quot;);</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment"> exit(EXIT_FAILURE);</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="comment"> resultat = FMOD_System_CreateStream(system, &quot;lecture/4.wav&quot;, FMOD_SOFTWARE | FMOD_2D | FMOD_LOOP_NORMAL, 0, &amp;sample[4]);</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="comment"> if (resultat != FMOD_OK)</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="comment"> {</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="comment"> fprintf(stderr, &quot;Impossible de lire le fichier audio\n&quot;);</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="comment"> exit(EXIT_FAILURE);</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="comment"> }</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</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; <span class="comment">//Lecture des motifs</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="struct__motif.html">Motif</a>* <a class="code" href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; printf(<span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> courant = 0; courant &lt; <a class="code" href="main_8c.html#a29bf3fc0ffe4e72e45f0c84ab4f8cd1e">taille</a>; courant++) {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; melodie[courant] -&gt; nbrTmp; i++) {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="comment">// D<>BUT DU COPIER COLLER POTENTIELLEMENT FOIREUX</span></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; m = melodie[courant];</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> chaine = 0; chaine &lt; nombreChaines; chaine++) { <span class="comment">// On va lire les chaines une <20> une par num<75>ro croissant</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">if</span> (m != NULL) {</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a>(m,chaine,i) == -1) <a class="code" href="fmod_8h.html#a6534ff867da60c2760307ee44ce939ee">FMOD_Channel_Stop</a>(chan[chaine]); <span class="comment">// Si la note est un silence, la chaine s&#39;arr<EFBFBD>te</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a>(m,chaine,i) != -1) {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <a class="code" href="fmod_8h.html#a6534ff867da60c2760307ee44ce939ee">FMOD_Channel_Stop</a>(chan[chaine]); </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="fmod_8h.html#a26729838a41737b08bfbe5fef00cb12c">FMOD_System_PlaySound</a>(system, <a class="code" href="fmod_8h.html#a7652d3b63f5652cac1982e8027cde426ac3812d64e2374f37d2ae47fdd04d2c13">FMOD_CHANNEL_FREE</a>, sample[<a class="code" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a>(m,chaine,i)], 0, &amp;chan[chaine]);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="comment">//Ici on va s&#39;occuper du pitch</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="fmod_8h.html#a2a546c1efce476d85cd8065d962d705d">FMOD_DSP</a> *pitch;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="fmod_8h.html#a3ffed58aa417d39812fbe2aef9da643c">FMOD_System_CreateDSPByType</a>(system, <a class="code" href="fmod__dsp_8h.html#a3bffdef0fa956bf454fa078bfdfab3aeaeb5f500b3a0f4dc04ec9f6737220d8e9">FMOD_DSP_TYPE_PITCHSHIFT</a>, &amp;pitch);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="fmod_8h.html#a0a5239854d0319eb9fd836df450aa2ac">FMOD_DSP_SetParameter</a>(pitch, <a class="code" href="fmod__dsp_8h.html#afe9bcffb55e5a00aec395d8e800c48c0aa046a2faa407441b54ae6fcfd602c2ed">FMOD_DSP_PITCHSHIFT_PITCH</a>, <a class="code" href="instruments_8c.html#a23b2d1a486a42541c8d094bacbf4c1b8">rapportPitch</a>(inst[<a class="code" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a>(m,chaine,i)],<a class="code" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a>(m,chaine,i),<a class="code" href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a>(m,chaine,i)));</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="fmod_8h.html#ac1f397dbf8ebf6ec27ec6074b2863199">FMOD_Channel_AddDSP</a>(chan[chaine], pitch, 0); <span class="comment">// C&#39;est quoi chan1 ??? Je l&#39;ai remplac<61> par chan[1], vu que chan1 est as d<>clar<61>...</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="comment">// On va passer une bonne journ<72>e...</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">/* while (SDL_GetTicks() - tempsPrecedent &lt; 125) {} // Si 125 ms se sont <20>coul<75>es (il faudra r<>gler ce temps sur le tempo)</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="comment"> tempsPrecedent = tempsPrecedent + 125;</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="comment"> Avouez que ce serait con qu&#39;on ait besoin de SDL juste pour la temporisation</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="comment"> alors qu&#39;on peut utiliser la fonction native usleep pour <20>a, et beaucoup plus simplement. */</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; usleep(60000000/tempo);</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;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="comment">// FIN DU COPIER COLLER POTENTIELLEMENT FOIREUX</span></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">// lireTick (system, melodie[courant], i, sample, chan, nombreChaines, tempo);</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; }</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">//On relache le syst<73>me FMOD</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; nombreInst; i++) {</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="fmod_8h.html#ac3b64b3f95061b87d60894f0fbf4590f">FMOD_Sound_Release</a>(sample[i]);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; }</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="fmod_8h.html#a50315634613fccdc1652aa4f07f47e09">FMOD_System_Close</a>(system);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="fmod_8h.html#af14b4d20b06d60e71f33e5d7828a3b77">FMOD_System_Release</a>(system);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;}</div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_a26729838a41737b08bfbe5fef00cb12c"><div class="ttname"><a href="fmod_8h.html#a26729838a41737b08bfbe5fef00cb12c">FMOD_System_PlaySound</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_PlaySound(FMOD_SYSTEM *system, FMOD_CHANNELINDEX channelid, FMOD_SOUND *sound, FMOD_BOOL paused, FMOD_CHANNEL **channel)</div></div>
2014-05-22 00:12:25 +02:00
<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>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="motifs_8c_html_a6b6a18807e4f73c7710d611c7ff6d9f6"><div class="ttname"><a href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a></div><div class="ttdeci">int getInstrument(Motif *m, int portee, int tmp)</div><div class="ttdef"><b>Definition:</b> <a href="motifs_8c_source.html#l00085">motifs.c:85</a></div></div>
<div class="ttc" id="motifs_8c_html_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_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="instruments_8c_html_a23b2d1a486a42541c8d094bacbf4c1b8"><div class="ttname"><a href="instruments_8c.html#a23b2d1a486a42541c8d094bacbf4c1b8">rapportPitch</a></div><div class="ttdeci">float rapportPitch(Instrument *inst, int note, int octave)</div><div class="ttdef"><b>Definition:</b> <a href="instruments_8c_source.html#l00058">instruments.c:58</a></div></div>
<div class="ttc" id="maintest_8c_html_ac40192e3e23a44637d81f0c9a2030600"><div class="ttname"><a href="maintest_8c.html#ac40192e3e23a44637d81f0c9a2030600">m</a></div><div class="ttdeci">Motif * m</div><div class="ttdef"><b>Definition:</b> <a href="maintest_8c_source.html#l00013">maintest.c:13</a></div></div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_a148f1267d9a53e1641f314b531476dcf"><div class="ttname"><a href="fmod_8h.html#a148f1267d9a53e1641f314b531476dcf">FMOD_SOUND</a></div><div class="ttdeci">struct FMOD_SOUND FMOD_SOUND</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00065">fmod.h:65</a></div></div>
<div class="ttc" id="fmod_8h_html_a3ffed58aa417d39812fbe2aef9da643c"><div class="ttname"><a href="fmod_8h.html#a3ffed58aa417d39812fbe2aef9da643c">FMOD_System_CreateDSPByType</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_CreateDSPByType(FMOD_SYSTEM *system, FMOD_DSP_TYPE type, FMOD_DSP **dsp)</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="fmod__dsp_8h_html_afe9bcffb55e5a00aec395d8e800c48c0aa046a2faa407441b54ae6fcfd602c2ed"><div class="ttname"><a href="fmod__dsp_8h.html#afe9bcffb55e5a00aec395d8e800c48c0aa046a2faa407441b54ae6fcfd602c2ed">FMOD_DSP_PITCHSHIFT_PITCH</a></div><div class="ttdef"><b>Definition:</b> <a href="fmod__dsp_8h_source.html#l00550">fmod_dsp.h:550</a></div></div>
<div class="ttc" id="fmod__dsp_8h_html_a3bffdef0fa956bf454fa078bfdfab3aeaeb5f500b3a0f4dc04ec9f6737220d8e9"><div class="ttname"><a href="fmod__dsp_8h.html#a3bffdef0fa956bf454fa078bfdfab3aeaeb5f500b3a0f4dc04ec9f6737220d8e9">FMOD_DSP_TYPE_PITCHSHIFT</a></div><div class="ttdef"><b>Definition:</b> <a href="fmod__dsp_8h_source.html#l00059">fmod_dsp.h:59</a></div></div>
<div class="ttc" id="fmod_8h_html_a6534ff867da60c2760307ee44ce939ee"><div class="ttname"><a href="fmod_8h.html#a6534ff867da60c2760307ee44ce939ee">FMOD_Channel_Stop</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_Channel_Stop(FMOD_CHANNEL *channel)</div></div>
2014-05-22 00:12:25 +02:00
<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>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_ae6ddadf8cb315e93ae7e6456b19db276"><div class="ttname"><a href="fmod_8h.html#ae6ddadf8cb315e93ae7e6456b19db276">FMOD_RESULT</a></div><div class="ttdeci">FMOD_RESULT</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00097">fmod.h:97</a></div></div>
2014-05-22 00:12:25 +02:00
<div class="ttc" id="instruments_8c_html_ab41cad77f4a94310dc211a28dfb21043"><div class="ttname"><a href="instruments_8c.html#ab41cad77f4a94310dc211a28dfb21043">getChemin</a></div><div class="ttdeci">char * getChemin(Instrument *inst)</div><div class="ttdef"><b>Definition:</b> <a href="instruments_8c_source.html#l00022">instruments.c:22</a></div></div>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_ac548169586519f2221f6e01026fb3823"><div class="ttname"><a href="fmod_8h.html#ac548169586519f2221f6e01026fb3823">FMOD_System_Create</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_Create(FMOD_SYSTEM **system)</div></div>
<div class="ttc" id="fmod_8h_html_a9fb107c7e07c194c97e0a668f29016b1"><div class="ttname"><a href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a></div><div class="ttdeci">struct FMOD_CHANNEL FMOD_CHANNEL</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00066">fmod.h:66</a></div></div>
<div class="ttc" id="fmod_8h_html_a5e4d72799afeaac653e26b9dac0eb9bb"><div class="ttname"><a href="fmod_8h.html#a5e4d72799afeaac653e26b9dac0eb9bb">FMOD_SYSTEM</a></div><div class="ttdeci">struct FMOD_SYSTEM FMOD_SYSTEM</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00064">fmod.h:64</a></div></div>
<div class="ttc" id="fmod_8h_html_ae6ddadf8cb315e93ae7e6456b19db276a5e0335893e67b6367bba4b8431a3425a"><div class="ttname"><a href="fmod_8h.html#ae6ddadf8cb315e93ae7e6456b19db276a5e0335893e67b6367bba4b8431a3425a">FMOD_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00099">fmod.h:99</a></div></div>
<div class="ttc" id="fmod_8h_html_a0a5239854d0319eb9fd836df450aa2ac"><div class="ttname"><a href="fmod_8h.html#a0a5239854d0319eb9fd836df450aa2ac">FMOD_DSP_SetParameter</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_DSP_SetParameter(FMOD_DSP *dsp, int index, float value)</div></div>
<div class="ttc" id="fmod_8h_html_a6cd00ff26eeec6872df228587d729e38"><div class="ttname"><a href="fmod_8h.html#a6cd00ff26eeec6872df228587d729e38">FMOD_System_Init</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_Init(FMOD_SYSTEM *system, int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata)</div></div>
<div class="ttc" id="fmod_8h_html_ac3b64b3f95061b87d60894f0fbf4590f"><div class="ttname"><a href="fmod_8h.html#ac3b64b3f95061b87d60894f0fbf4590f">FMOD_Sound_Release</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_Sound_Release(FMOD_SOUND *sound)</div></div>
2014-05-22 00:12:25 +02:00
<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>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_a68dc1a665929a508309a33b640bd7143"><div class="ttname"><a href="fmod_8h.html#a68dc1a665929a508309a33b640bd7143">FMOD_LOOP_NORMAL</a></div><div class="ttdeci">#define FMOD_LOOP_NORMAL</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00895">fmod.h:895</a></div></div>
<div class="ttc" id="fmod_8h_html_a827465855cd511e3e87d0081bb688ac9"><div class="ttname"><a href="fmod_8h.html#a827465855cd511e3e87d0081bb688ac9">FMOD_SOFTWARE</a></div><div class="ttdeci">#define FMOD_SOFTWARE</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00900">fmod.h:900</a></div></div>
<div class="ttc" id="fmod_8h_html_a2a546c1efce476d85cd8065d962d705d"><div class="ttname"><a href="fmod_8h.html#a2a546c1efce476d85cd8065d962d705d">FMOD_DSP</a></div><div class="ttdeci">struct FMOD_DSP FMOD_DSP</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00070">fmod.h:70</a></div></div>
<div class="ttc" id="fmod_8h_html_af14b4d20b06d60e71f33e5d7828a3b77"><div class="ttname"><a href="fmod_8h.html#af14b4d20b06d60e71f33e5d7828a3b77">FMOD_System_Release</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_Release(FMOD_SYSTEM *system)</div></div>
<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_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>
2014-05-20 13:17:26 +02:00
<div class="ttc" id="fmod_8h_html_a50315634613fccdc1652aa4f07f47e09"><div class="ttname"><a href="fmod_8h.html#a50315634613fccdc1652aa4f07f47e09">FMOD_System_Close</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_Close(FMOD_SYSTEM *system)</div></div>
<div class="ttc" id="fmod_8h_html_a55fa542e4f48998c4ff3fdee2a03f7ee"><div class="ttname"><a href="fmod_8h.html#a55fa542e4f48998c4ff3fdee2a03f7ee">FMOD_System_CreateStream</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_System_CreateStream(FMOD_SYSTEM *system, const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, FMOD_SOUND **sound)</div></div>
<div class="ttc" id="fmod_8h_html_a7652d3b63f5652cac1982e8027cde426ac3812d64e2374f37d2ae47fdd04d2c13"><div class="ttname"><a href="fmod_8h.html#a7652d3b63f5652cac1982e8027cde426ac3812d64e2374f37d2ae47fdd04d2c13">FMOD_CHANNEL_FREE</a></div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l01845">fmod.h:1845</a></div></div>
<div class="ttc" id="fmod_8h_html_a01663d77bad51a4c4122d7240007da46"><div class="ttname"><a href="fmod_8h.html#a01663d77bad51a4c4122d7240007da46">FMOD_INIT_NORMAL</a></div><div class="ttdeci">#define FMOD_INIT_NORMAL</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00733">fmod.h:733</a></div></div>
<div class="ttc" id="fmod_8h_html_ad8e48fbc6807fd50a860483c2fcd76cf"><div class="ttname"><a href="fmod_8h.html#ad8e48fbc6807fd50a860483c2fcd76cf">FMOD_2D</a></div><div class="ttdeci">#define FMOD_2D</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00897">fmod.h:897</a></div></div>
<div class="ttc" id="fmod_8h_html_ac1f397dbf8ebf6ec27ec6074b2863199"><div class="ttname"><a href="fmod_8h.html#ac1f397dbf8ebf6ec27ec6074b2863199">FMOD_Channel_AddDSP</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_Channel_AddDSP(FMOD_CHANNEL *channel, FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection)</div></div>
2014-05-22 00:12:25 +02:00
<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>