mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Update docs
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<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>ArduinoLibs: Melody Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
@@ -29,7 +30,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.1.2 -->
|
||||
<!-- Generated by Doxygen 1.8.6 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
@@ -95,32 +96,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
|
||||
<p><code>#include <<a class="el" href="Melody_8h_source.html">Melody.h</a>></code></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a9edc4165a49368dd5d78eedf982c38b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9edc4165a49368dd5d78eedf982c38b9"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#a9edc4165a49368dd5d78eedf982c38b9">Melody</a> (uint8_t pin)</td></tr>
|
||||
<tr class="memdesc:a9edc4165a49368dd5d78eedf982c38b9"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new melody playing object for <em>pin</em>. <br/></td></tr>
|
||||
<tr class="separator:a9edc4165a49368dd5d78eedf982c38b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad38db3338ed87d72238c0ea9440c633c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad38db3338ed87d72238c0ea9440c633c"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#ad38db3338ed87d72238c0ea9440c633c">isPlaying</a> () const </td></tr>
|
||||
<tr class="memdesc:ad38db3338ed87d72238c0ea9440c633c"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the melody is currently playing; false if not. <br/></td></tr>
|
||||
<tr class="separator:ad38db3338ed87d72238c0ea9440c633c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab78253ae9abc8478b05f415f5d878a60"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60">loopCount</a> () const </td></tr>
|
||||
<tr class="memdesc:ab78253ae9abc8478b05f415f5d878a60"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of times the melody should loop before stopping. <a href="#ab78253ae9abc8478b05f415f5d878a60"></a><br/></td></tr>
|
||||
<tr class="memdesc:ab78253ae9abc8478b05f415f5d878a60"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of times the melody should loop before stopping. <a href="#ab78253ae9abc8478b05f415f5d878a60">More...</a><br/></td></tr>
|
||||
<tr class="separator:ab78253ae9abc8478b05f415f5d878a60"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a507097a2e8ff51a5e9157e3a320ae35b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#a507097a2e8ff51a5e9157e3a320ae35b">setLoopCount</a> (int count)</td></tr>
|
||||
<tr class="memdesc:a507097a2e8ff51a5e9157e3a320ae35b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the number of times the melody should loop to <em>count</em>. <a href="#a507097a2e8ff51a5e9157e3a320ae35b"></a><br/></td></tr>
|
||||
<tr class="memdesc:a507097a2e8ff51a5e9157e3a320ae35b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the number of times the melody should loop to <em>count</em>. <a href="#a507097a2e8ff51a5e9157e3a320ae35b">More...</a><br/></td></tr>
|
||||
<tr class="separator:a507097a2e8ff51a5e9157e3a320ae35b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae88ad06c2acb728f56dd213d5dad6006"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006">setLoopDuration</a> (unsigned long ms)</td></tr>
|
||||
<tr class="memdesc:ae88ad06c2acb728f56dd213d5dad6006"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of loops to last no longer than <em>ms</em> milliseconds. <a href="#ae88ad06c2acb728f56dd213d5dad6006"></a><br/></td></tr>
|
||||
<tr class="memdesc:ae88ad06c2acb728f56dd213d5dad6006"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of loops to last no longer than <em>ms</em> milliseconds. <a href="#ae88ad06c2acb728f56dd213d5dad6006">More...</a><br/></td></tr>
|
||||
<tr class="separator:ae88ad06c2acb728f56dd213d5dad6006"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9fd8e0d48833d8da3cd3b3b58408b0b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5">play</a> ()</td></tr>
|
||||
<tr class="memdesc:a9fd8e0d48833d8da3cd3b3b58408b0b5"><td class="mdescLeft"> </td><td class="mdescRight">Starts playing the melody, or restarts it if already playing. <a href="#a9fd8e0d48833d8da3cd3b3b58408b0b5"></a><br/></td></tr>
|
||||
<tr class="memdesc:a9fd8e0d48833d8da3cd3b3b58408b0b5"><td class="mdescLeft"> </td><td class="mdescRight">Starts playing the melody, or restarts it if already playing. <a href="#a9fd8e0d48833d8da3cd3b3b58408b0b5">More...</a><br/></td></tr>
|
||||
<tr class="separator:a9fd8e0d48833d8da3cd3b3b58408b0b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aecc9185c9cb1246e8a55521b17d72932"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#aecc9185c9cb1246e8a55521b17d72932">playOnce</a> ()</td></tr>
|
||||
<tr class="memdesc:aecc9185c9cb1246e8a55521b17d72932"><td class="mdescLeft"> </td><td class="mdescRight">Plays the melody once and then stops. <a href="#aecc9185c9cb1246e8a55521b17d72932"></a><br/></td></tr>
|
||||
<tr class="memdesc:aecc9185c9cb1246e8a55521b17d72932"><td class="mdescLeft"> </td><td class="mdescRight">Plays the melody once and then stops. <a href="#aecc9185c9cb1246e8a55521b17d72932">More...</a><br/></td></tr>
|
||||
<tr class="separator:aecc9185c9cb1246e8a55521b17d72932"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac0c552233c41d85f2766d2e4df376b2b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#ac0c552233c41d85f2766d2e4df376b2b">stop</a> ()</td></tr>
|
||||
<tr class="memdesc:ac0c552233c41d85f2766d2e4df376b2b"><td class="mdescLeft"> </td><td class="mdescRight">Stops playing the melody. <a href="#ac0c552233c41d85f2766d2e4df376b2b"></a><br/></td></tr>
|
||||
<tr class="memdesc:ac0c552233c41d85f2766d2e4df376b2b"><td class="mdescLeft"> </td><td class="mdescRight">Stops playing the melody. <a href="#ac0c552233c41d85f2766d2e4df376b2b">More...</a><br/></td></tr>
|
||||
<tr class="separator:ac0c552233c41d85f2766d2e4df376b2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adb6ad8e8cfe8c9a137e470f4e85c7254"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#adb6ad8e8cfe8c9a137e470f4e85c7254">setMelody</a> (const int *notes, const uint8_t *lengths, unsigned int size)</td></tr>
|
||||
<tr class="memdesc:adb6ad8e8cfe8c9a137e470f4e85c7254"><td class="mdescLeft"> </td><td class="mdescRight">Sets the melody to the <em>size</em> elements of <em>notes</em> and <em>lengths</em>. <a href="#adb6ad8e8cfe8c9a137e470f4e85c7254"></a><br/></td></tr>
|
||||
<tr class="memdesc:adb6ad8e8cfe8c9a137e470f4e85c7254"><td class="mdescLeft"> </td><td class="mdescRight">Sets the melody to the <em>size</em> elements of <em>notes</em> and <em>lengths</em>. <a href="#adb6ad8e8cfe8c9a137e470f4e85c7254">More...</a><br/></td></tr>
|
||||
<tr class="separator:adb6ad8e8cfe8c9a137e470f4e85c7254"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad1103b970be1f59058cc7d927be68955"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMelody.html#ad1103b970be1f59058cc7d927be68955">run</a> ()</td></tr>
|
||||
<tr class="memdesc:ad1103b970be1f59058cc7d927be68955"><td class="mdescLeft"> </td><td class="mdescRight">Runs the melody control loop. <a href="#ad1103b970be1f59058cc7d927be68955"></a><br/></td></tr>
|
||||
<tr class="memdesc:ad1103b970be1f59058cc7d927be68955"><td class="mdescLeft"> </td><td class="mdescRight">Runs the melody control loop. <a href="#ad1103b970be1f59058cc7d927be68955">More...</a><br/></td></tr>
|
||||
<tr class="separator:ad1103b970be1f59058cc7d927be68955"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2>Detailed Description</h2>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Plays a melody on a digital output pin using tone(). </p>
|
||||
<p>The following example plays a simple tone three times on digital pin 8:</p>
|
||||
<div class="fragment"><div class="line"><span class="preprocessor">#include <Melody.h></span></div>
|
||||
@@ -131,7 +142,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
<div class="line">};</div>
|
||||
<div class="line">byte lengths[] = {4, 8, 8, 4, 4, 4, 4, 4, 2};</div>
|
||||
<div class="line"></div>
|
||||
<div class="line"><a class="code" href="classMelody.html" title="Plays a melody on a digital output pin using tone().">Melody</a> melody(8);</div>
|
||||
<div class="line"><a class="code" href="classMelody.html">Melody</a> melody(8);</div>
|
||||
<div class="line"></div>
|
||||
<div class="line"><span class="keywordtype">void</span> setup() {</div>
|
||||
<div class="line"> melody.setMelody(notes, lengths, <span class="keyword">sizeof</span>(lengths));</div>
|
||||
@@ -143,8 +154,8 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
<div class="line"> melody.run();</div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment --><p>The <code>notes</code> array contains the frequency of the notes to be played, with the special value <code>NOTE_REST</code> indicating a rest where no notes are playing. The <code>lengths</code> array contains the lengths of each of the notes; a value of 4 indicates a quarter note, a value of 8 indicates an eighth note, etc.</p>
|
||||
<p>The <a class="el" href="classMelody.html#ad1103b970be1f59058cc7d927be68955" title="Runs the melody control loop.">run()</a> method must be called from the application's main <code>loop()</code> method to ensure that the melody advances from one note to the next. It will not block the application while notes are playing.</p>
|
||||
<p>The number of loops can also be specified with <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds.">setLoopDuration()</a> which sets a maximum amount of time that the melody will play before stopping. The following example plays the melody for no more than 60 seconds:</p>
|
||||
<p>The <a class="el" href="classMelody.html#ad1103b970be1f59058cc7d927be68955" title="Runs the melody control loop. ">run()</a> method must be called from the application's main <code>loop()</code> method to ensure that the melody advances from one note to the next. It will not block the application while notes are playing.</p>
|
||||
<p>The number of loops can also be specified with <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds. ">setLoopDuration()</a> which sets a maximum amount of time that the melody will play before stopping. The following example plays the melody for no more than 60 seconds:</p>
|
||||
<div class="fragment"><div class="line"><span class="keywordtype">void</span> setup() {</div>
|
||||
<div class="line"> melody.setMelody(notes, lengths, <span class="keyword">sizeof</span>(lengths));</div>
|
||||
<div class="line"> melody.setLoopDuration(60000UL);</div>
|
||||
@@ -152,7 +163,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment -->
|
||||
<p>Definition at line <a class="el" href="Melody_8h_source.html#l00122">122</a> of file <a class="el" href="Melody_8h_source.html">Melody.h</a>.</p>
|
||||
</div><h2>Member Function Documentation</h2>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="ab78253ae9abc8478b05f415f5d878a60"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -176,7 +187,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
|
||||
<p>Returns the number of times the melody should loop before stopping. </p>
|
||||
<p>The default value is zero, indicating that the melody will loop indefinitely.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a507097a2e8ff51a5e9157e3a320ae35b" title="Sets the number of times the melody should loop to count.">setLoopCount()</a>, <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds.">setLoopDuration()</a>, <a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing.">play()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a507097a2e8ff51a5e9157e3a320ae35b" title="Sets the number of times the melody should loop to count. ">setLoopCount()</a>, <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds. ">setLoopDuration()</a>, <a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing. ">play()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8h_source.html#l00128">128</a> of file <a class="el" href="Melody_8h_source.html">Melody.h</a>.</p>
|
||||
|
||||
@@ -196,7 +207,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Starts playing the melody, or restarts it if already playing. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#aecc9185c9cb1246e8a55521b17d72932" title="Plays the melody once and then stops.">playOnce()</a>, <a class="el" href="classMelody.html#adb6ad8e8cfe8c9a137e470f4e85c7254" title="Sets the melody to the size elements of notes and lengths.">setMelody()</a>, <a class="el" href="classMelody.html#ac0c552233c41d85f2766d2e4df376b2b" title="Stops playing the melody.">stop()</a>, <a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping.">loopCount()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#aecc9185c9cb1246e8a55521b17d72932" title="Plays the melody once and then stops. ">playOnce()</a>, <a class="el" href="classMelody.html#adb6ad8e8cfe8c9a137e470f4e85c7254" title="Sets the melody to the size elements of notes and lengths. ">setMelody()</a>, <a class="el" href="classMelody.html#ac0c552233c41d85f2766d2e4df376b2b" title="Stops playing the melody. ">stop()</a>, <a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping. ">loopCount()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8cpp_source.html#l00146">146</a> of file <a class="el" href="Melody_8cpp_source.html">Melody.cpp</a>.</p>
|
||||
|
||||
@@ -216,7 +227,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Plays the melody once and then stops. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing.">play()</a>, <a class="el" href="classMelody.html#ac0c552233c41d85f2766d2e4df376b2b" title="Stops playing the melody.">stop()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing. ">play()</a>, <a class="el" href="classMelody.html#ac0c552233c41d85f2766d2e4df376b2b" title="Stops playing the melody. ">stop()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8cpp_source.html#l00162">162</a> of file <a class="el" href="Melody_8cpp_source.html">Melody.cpp</a>.</p>
|
||||
|
||||
@@ -266,7 +277,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
|
||||
<p>Sets the number of times the melody should loop to <em>count</em>. </p>
|
||||
<p>If <em>count</em> is zero, then the melody will loop indefinitely.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping.">loopCount()</a>, <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds.">setLoopDuration()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping. ">loopCount()</a>, <a class="el" href="classMelody.html#ae88ad06c2acb728f56dd213d5dad6006" title="Sets the maximum number of loops to last no longer than ms milliseconds. ">setLoopDuration()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8h_source.html#l00129">129</a> of file <a class="el" href="Melody_8h_source.html">Melody.h</a>.</p>
|
||||
|
||||
@@ -287,8 +298,8 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Sets the maximum number of loops to last no longer than <em>ms</em> milliseconds. </p>
|
||||
<p>This function must be called after the melody is specified with <a class="el" href="classMelody.html#adb6ad8e8cfe8c9a137e470f4e85c7254" title="Sets the melody to the size elements of notes and lengths.">setMelody()</a> as it uses the length of the melody and <em>ms</em> to determine the <a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping.">loopCount()</a>.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping.">loopCount()</a>, <a class="el" href="classMelody.html#a507097a2e8ff51a5e9157e3a320ae35b" title="Sets the number of times the melody should loop to count.">setLoopCount()</a> </dd></dl>
|
||||
<p>This function must be called after the melody is specified with <a class="el" href="classMelody.html#adb6ad8e8cfe8c9a137e470f4e85c7254" title="Sets the melody to the size elements of notes and lengths. ">setMelody()</a> as it uses the length of the melody and <em>ms</em> to determine the <a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping. ">loopCount()</a>.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#ab78253ae9abc8478b05f415f5d878a60" title="Returns the number of times the melody should loop before stopping. ">loopCount()</a>, <a class="el" href="classMelody.html#a507097a2e8ff51a5e9157e3a320ae35b" title="Sets the number of times the melody should loop to count. ">setLoopCount()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8cpp_source.html#l00131">131</a> of file <a class="el" href="Melody_8cpp_source.html">Melody.cpp</a>.</p>
|
||||
|
||||
@@ -327,7 +338,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
<p>Sets the melody to the <em>size</em> elements of <em>notes</em> and <em>lengths</em>. </p>
|
||||
<p>If a melody is currently playing, then this function will stop playback.</p>
|
||||
<p>The <em>notes</em> array contains the frequency of the notes to be played, with the special value <code>NOTE_REST</code> indicating a rest where no notes are playing. The <em>lengths</em> array contains the lengths of each of the notes; a value of 4 indicates a quarter note, a value of 8 indicates an eighth note, etc.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing.">play()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing. ">play()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8cpp_source.html#l00199">199</a> of file <a class="el" href="Melody_8cpp_source.html">Melody.cpp</a>.</p>
|
||||
|
||||
@@ -347,7 +358,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Stops playing the melody. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing.">play()</a> </dd></dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classMelody.html#a9fd8e0d48833d8da3cd3b3b58408b0b5" title="Starts playing the melody, or restarts it if already playing. ">play()</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="Melody_8cpp_source.html#l00178">178</a> of file <a class="el" href="Melody_8cpp_source.html">Melody.cpp</a>.</p>
|
||||
|
||||
@@ -360,9 +371,9 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 29 2013 09:30:46 for ArduinoLibs by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 12 2015 19:02:05 for ArduinoLibs by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.1.2
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user