node-red-contrib-smartnode
Version:
this project is a nodejs package for making the nodered support the Smart Device development. the pacakge require node-red enviroment.
15 lines • 800 B
HTML
<script type="text/xred" data-help-name="PlayAudio">
<h4 id="**playaudio**"><a name="**playaudio**" href="#**playaudio**"></a><strong>PlayAudio</strong></h4>
<p>This node can be used to play audio file.</p>
<h4 id="**config**"><a name="**config**" href="#**config**"></a><strong>Config</strong></h4>
<ol>
<li>Name:Name of node。</li></ol>
<h4 id="**input**"><a name="**input**" href="#**input**"></a><strong>Input</strong></h4>
<ol>
<li>msg.payload:The audio file index(start from 0), or stop palying(-1)。</li></ol>
<h4 id="**output**"><a name="**output**" href="#**output**"></a><strong>Output</strong></h4>
<p>None</p>
<h4 id="**howto**"><a name="**howto**" href="#**howto**"></a><strong>HowTo</strong></h4>
<ol>
<li>Please upload the audio file before you use this node.</li></ol>
</script>