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

38 行
1.7KB

  1. <h3>Summary</h3>
  2. <p>Reduce the samplerate and/or bitdepth of a source signal, resulting in
  3. a distorted sound.</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>Signal Input</td></tr>
  8. <tr class=odd><td align=center>Out 0</td><td>Signal Output</td></tr>
  9. </table>
  10. <h3>Parameters</h3>
  11. <p class=func><span class=keyword>bits</span>(xcrushBits);</p>
  12. <p class=desc>xcrushBits sets the bitdepth, from 1 to 16. A Value of 16
  13. does not crush the bitdepth, and is effectively a passthru for this part
  14. of the function.</p>
  15. <p class=func><span class=keyword>sampleRate</span>(xsampleRate);</p>
  16. <p class=desc>xsampleRate sets the frequency, from 1 to 44100Hz, however it
  17. works in integer steps so you will only really get a handful of results from
  18. the many samplerates you can pass. 44100 is passthru.</p>
  19. <p class=desc>set xbitDepth to 16 and xsampleRate to 44100 to pass audio
  20. through without any Bitcrush effect.</p>
  21. <h3>Examples</h3>
  22. <p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Bitcrusher
  23. </p>
  24. <h3>Notes</h3>
  25. <p>Needs a lot of improvement. Options for anti-aliasing would be nice in
  26. the future, but for now, it's rough, it's dirty and it sounds a bit like
  27. Nine Inch Nails.
  28. </p>
  29. <p><a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a>
  30. should be used when changing
  31. settings on multiple objects, so all changes always take effect
  32. at the same moment.
  33. </p>