671 lines
30 KiB
HTML
671 lines
30 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: Référence du fichier sources/motifs/motifs.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="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>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><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><li class="navelem"><a class="el" href="dir_7616fbad042c86c3e2bddfa190c5322d.html">motifs</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Fonctions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Référence du fichier motifs.c</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <string.h></code><br/>
|
|
<code>#include "<a class="el" href="motifs_8h_source.html">motifs.h</a>"</code><br/>
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Fonctions</h2></td></tr>
|
|
<tr class="memitem:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a7d602ef1c04ef5126146f9b1b3c71c8f">getIdMotif</a> (<a class="el" href="struct__motif.html">Motif</a> *m)</td></tr>
|
|
<tr class="separator:a7d602ef1c04ef5126146f9b1b3c71c8f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#ad004e9f91ca7bcc9411c549a4fe62451">ajouterMotif</a> (<a class="el" href="struct__motif.html">Motif</a> **pliste, int nbrTmp, int nbrPortees)</td></tr>
|
|
<tr class="separator:ad004e9f91ca7bcc9411c549a4fe62451"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#acc86e3bfa2b84ae375ca472e95967ac6">definirNomMotif</a> (<a class="el" href="struct__motif.html">Motif</a> *m, char *nom)</td></tr>
|
|
<tr class="separator:acc86e3bfa2b84ae375ca472e95967ac6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd5428841ea3c29a618974d40bc9efe9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#acd5428841ea3c29a618974d40bc9efe9">supprimerMotif</a> (<a class="el" href="struct__motif.html">Motif</a> **cellule, int nbrPortees)</td></tr>
|
|
<tr class="separator:acd5428841ea3c29a618974d40bc9efe9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af42173fbd180b1aa00e97a49d77f56f6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#af42173fbd180b1aa00e97a49d77f56f6">definirNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int note)</td></tr>
|
|
<tr class="separator:af42173fbd180b1aa00e97a49d77f56f6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a46fa52652960a1485a604a3e1017e3cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a46fa52652960a1485a604a3e1017e3cc">definirOctave</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int octave)</td></tr>
|
|
<tr class="separator:a46fa52652960a1485a604a3e1017e3cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af1e94966c6af95f5a3091721dd62f7db"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#af1e94966c6af95f5a3091721dd62f7db">definirInstrument</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int instrument)</td></tr>
|
|
<tr class="separator:af1e94966c6af95f5a3091721dd62f7db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8aee8833f47e110e27de823ac557e8ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8aee8833f47e110e27de823ac557e8ac">definirVolume</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int volume)</td></tr>
|
|
<tr class="separator:a8aee8833f47e110e27de823ac557e8ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adc0b31b456f810c890b94357f3ba8a85"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#adc0b31b456f810c890b94357f3ba8a85">definirEffet</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp, int effet)</td></tr>
|
|
<tr class="separator:adc0b31b456f810c890b94357f3ba8a85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#aa74ce94a714f4487b60b3ddcac7bb645">supprimerNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:aa74ce94a714f4487b60b3ddcac7bb645"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#ad9706b025d4ab4474778af8b6a3c1a66">getNote</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:ad9706b025d4ab4474778af8b6a3c1a66"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a5e7e5ab1812e838fddfa82c3682c4708">getOctave</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:a5e7e5ab1812e838fddfa82c3682c4708"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a6b6a18807e4f73c7710d611c7ff6d9f6">getInstrument</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:a6b6a18807e4f73c7710d611c7ff6d9f6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8c81aabb9b5fa55bad1c2ddb8d2ee6a9">getVolume</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c6e71f1d25b4a9fba76a3527a592a8b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="motifs_8c.html#a8c6e71f1d25b4a9fba76a3527a592a8b">getEffet</a> (<a class="el" href="struct__motif.html">Motif</a> *m, int portee, int tmp)</td></tr>
|
|
<tr class="separator:a8c6e71f1d25b4a9fba76a3527a592a8b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
|
<div class="textblock"><p>Ce module implémente les fonctions du fichier <a class="el" href="motifs_8h.html">motifs.h</a></p>
|
|
<dl class="section version"><dt>Version</dt><dd>1 </dd></dl>
|
|
<dl class="section author"><dt>Auteur</dt><dd>Module CSC3502 : Projet Informatique 1ère année TELECOM SudParis </dd></dl>
|
|
<dl class="section date"><dt>Date</dt><dd>Mai 2014 </dd></dl>
|
|
</div><h2 class="groupheader">Documentation des fonctions</h2>
|
|
<a class="anchor" id="ad004e9f91ca7bcc9411c549a4fe62451"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ajouterMotif </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> ** </td>
|
|
<td class="paramname"><em>pliste</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nbrTmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nbrPortees</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'ajouter un nouveau motif </p>
|
|
<dl class="params"><dt>Paramètres</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">pliste</td><td>: liste de motifs </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nbrTmp</td><td>: nombre de temps que doit contenir le motif </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nbrPortees</td><td>: nombre de portées que doit contenir le motif </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adc0b31b456f810c890b94357f3ba8a85"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirEffet </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>effet</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de définir l'effet donné à une note param[out] m : motif dans lequel on ajoute l'effet param[in] portee : portée du motif dans laquelle on ajoute l'effet param[in] tmp : temps du motif dans lequel on ajoute l'effet param[in] effet : effet donné à la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af1e94966c6af95f5a3091721dd62f7db"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirInstrument </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>intrument</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de définir l'instrument jouant une note param[out] m : motif dans lequel on utilise cet instrument param[in] portee : portée du motif dans laquelle on utilise cet instrument param[in] tmp : temps du motif dans lequel on utilise cet instrument param[in] instrument : instrument que l'on utilise </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acc86e3bfa2b84ae375ca472e95967ac6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirNomMotif </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>nom</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de nommer un motif </p>
|
|
<dl class="params"><dt>Paramètres</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">m</td><td>: motif que l'on veut nommer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nom</td><td>: nom que l'on donne au motif </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af42173fbd180b1aa00e97a49d77f56f6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirNote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>note</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de définir une note param[out] m : motif dans lequel on ajoute la note param[in] portee : portée du motif dans laquelle on ajoute la note param[in] tmp : temps du motif dans lequel on ajoute la note param[in] note : note que l'on ajoute </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a46fa52652960a1485a604a3e1017e3cc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirOctave </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>octave</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de définir une octave param[out] m : motif dans lequel on ajoute l'octave param[in] portee : portée du motif dans laquelle on ajoute l'octave param[in] tmp : temps du motif dans lequel on ajoute l'octave param[in] octave : octave que l'on ajoute à la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8aee8833f47e110e27de823ac557e8ac"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void definirVolume </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>volume</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de définir le volume d'une note param[out] m : motif dans lequel on modifie le volume param[in] portee : portée du motif dans laquelle on modifie le volume param[in] tmp : temps du motif dans lequel on modifie le volume param[in] volume : volume de la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8c6e71f1d25b4a9fba76a3527a592a8b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getEffet </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'afficher un effet donné param[out] m : motif dans lequel on affiche l'effet donné param[in] portee : portée du motif dans laquelle on affiche l'effet donné param[in] tmp : temps du motif dans lequel on affiche l'effet donné </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7d602ef1c04ef5126146f9b1b3c71c8f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getIdMotif </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'obtenir le numéro d'un motif </p>
|
|
<dl class="params"><dt>Paramètres</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">m</td><td>: Mmtif dont on veut déterminer le numéro </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Renvoie</dt><dd>Le numéro du motif </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6b6a18807e4f73c7710d611c7ff6d9f6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getInstrument </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'afficher un instrument utilisé param[out] m : motif dans lequel on affiche l'instrument utilisé param[in] portee : portée du motif dans laquelle on affiche l'instrument utilisé param[in] tmp : temps du motif dans lequel on affiche l'instrument utilisé </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad9706b025d4ab4474778af8b6a3c1a66"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getNote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'afficher une note param[out] m : motif dans lequel on affiche la note param[in] portee : portée du motif dans laquelle on affiche la note param[in] tmp : temps du motif dans lequel on affiche la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5e7e5ab1812e838fddfa82c3682c4708"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getOctave </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'afficher une octave param[out] m : motif dans lequel on affiche l'octave param[in] portee : portée du motif dans laquelle on affiche l'octave param[in] tmp : temps du motif dans lequel on affiche l'octave </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8c81aabb9b5fa55bad1c2ddb8d2ee6a9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int getVolume </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet d'afficher une volume de note param[out] m : motif dans lequel on affiche le volume de la note param[in] portee : portée du motif dans laquelle on affiche le volume de la note param[in] tmp : temps du motif dans lequel on affiche le volume de la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acd5428841ea3c29a618974d40bc9efe9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void supprimerMotif </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> ** </td>
|
|
<td class="paramname"><em>cellule</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nbrPortees</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de supprimer un motif </p>
|
|
<dl class="params"><dt>Paramètres</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">cellule</td><td>: adresse de l'élément de la liste </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">nbrPortees</td><td>: nombre de portées que l'on supprime </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa74ce94a714f4487b60b3ddcac7bb645"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void supprimerNote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct__motif.html">Motif</a> * </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>portee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tmp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Permet de supprimer une note param[out] m : motif dans lequel on supprime la note param[in] portee : portée du motif dans laquelle on supprime la note param[in] tmp : temps du motif dans lequel on supprime la note </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Généré le Jeudi 15 Mai 2014 16:53:16 pour PonyTracker par  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|