Advertisement
Guest User

ChucK control signal generator HR3D!

a guest
Nov 19th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // by Les Hall
  2. // FM3D - Frequency Modulation 3D Printer Controller
  3. // started Tue Nov 18 2014
  4. //
  5.  
  6.  
  7. PulseOsc osc => Gain sum => dac;
  8. 100 => osc.freq;
  9.  
  10.  
  11. while(true)
  12. {
  13. <<< "moving left" >>>;
  14. 0.300 => osc.width;
  15. 1.0 => osc.gain;
  16. 1::second => now;
  17. 0.0 => osc.gain;
  18. 59::second => now;
  19.  
  20. <<< "moving right" >>>;
  21. 0.700 => osc.width;
  22. 1.0 => osc.gain;
  23. 1::second => now;
  24. 0.0 => osc.gain;
  25. 59::second => now;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement