You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3KB

  1. <h3>Summary</h3>
  2. <p>Create a sine wave signal</p>
  3. <h3>Audio Connections</h3>
  4. <table class=doc align=center cellpadding=3>
  5. <tr class=top><th>Port</th><th>Purpose</th></tr>
  6. <tr class=odd><td align=center>Out 0</td><td>Sine Wave Output</td></tr>
  7. </table>
  8. <h3>Functions</h3>
  9. <p class=func><span class=keyword>amplitude</span>(level);</p>
  10. <p class=desc>Set the amplitude, from 0 to 1.0.
  11. </p>
  12. <p class=func><span class=keyword>frequency</span>(freq);</p>
  13. <p class=desc>Set the frequency, from 0 to 22000. Very low values may
  14. be used to create a LFO (Low Frequency Oscillator) for objects
  15. with modulation signal inputs.
  16. </p>
  17. <p class=func><span class=keyword>phase</span>(angle);</p>
  18. <p class=desc>
  19. Cause the generated waveform to jump to a specific point within
  20. its cycle. Angle is from 0 to 360 degrees. When multiple objects
  21. are configured,
  22. <a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a>
  23. should be used to guarantee all new settings take effect together.
  24. </p>
  25. <h3>Examples</h3>
  26. <p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
  27. </p>
  28. <p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_Serial
  29. </p>
  30. <p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; FFT
  31. </p>
  32. <h3>Notes</h3>
  33. <p></p>