您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

35 行
1.5KB

  1. <h3>Summary</h3>
  2. <p>Create a modulated sine wave, using any audio signal to continuously
  3. modulate the sine wave frequency.</p>
  4. <h3>Audio Connections</h3>
  5. <table class=doc align=center cellpadding=3>
  6. <tr class=top><th>Port</th><th>Purpose</th></tr>
  7. <tr class=odd><td align=center>In 0</td><td>Modulation Signal</td></tr>
  8. <tr class=odd><td align=center>Out 0</td><td>Sine Wave Output</td></tr>
  9. </table>
  10. <h3>Functions</h3>
  11. <p class=func><span class=keyword>amplitude</span>(level);</p>
  12. <p class=desc>Set the amplitude, from 0 to 1.0.
  13. </p>
  14. <p class=func><span class=keyword>frequency</span>(freq);</p>
  15. <p class=desc>Set the center frequency, from 0 to 11000. The output will
  16. be this center frequency when the input modulation signal is zero.
  17. Modulation input 1.0 causes the frequency to double, and input -1.0
  18. causes zero Hz (DC) output. For less modulation, attenuate the input
  19. signal (perhaps with a mixer object) before it arrives here.
  20. </p>
  21. <p class=func><span class=keyword>phase</span>(angle);</p>
  22. <p class=desc>
  23. Cause the generated waveform to jump to a specific point within
  24. its cycle. Angle is from 0 to 360 degrees. When multiple objects
  25. are configured,
  26. <a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a>
  27. should be used to guarantee all new settings take effect together.
  28. </p>
  29. <!--<h3>Examples</h3>
  30. <p class=exam>File &gt; Examples &gt; Audio &gt;
  31. </p>-->
  32. <h3>Notes</h3>
  33. <p></p>