Extra "ports" of juce-based plugins using the distrho build system
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.

62 lines
1.2KB

  1. <Cabbage>
  2. form caption("Waveguide flute ") size(335, 165), colour("black"), pluginID("flu")
  3. rslider bounds(0, 0, 80, 80) channel("jet"), range(0.08,0.56,0.08), caption("Air jet"), colour("yellow"), midictrl(1, 1)
  4. rslider bounds(85, 0, 80, 80) channel("vib"), range(0,12,1), caption("Vib rate"), colour("yellow"), midictrl(1, 2)
  5. rslider bounds(170, 0, 80, 80) channel("vibamp"), range(0,1,0), caption("Vib amp"), colour("yellow"), midictrl(1, 3)
  6. rslider bounds(255, 0, 80, 80) channel("noise"), range(0,0.6,0.1), caption("Noise"), colour("yellow"), midictrl(1, 3)
  7. keyboard bounds(0, 85, 330, 50)
  8. </Cabbage>
  9. <CsoundSynthesizer>
  10. <CsOptions>
  11. -d -n -+rtmidi=NULL -M0
  12. ;-n -d -+rtmidi=NULL -M0
  13. </CsOptions>
  14. <CsInstruments>
  15. ;Author: Giorgio Zucco (2012)
  16. sr = 44100
  17. ksmps = 10
  18. nchnls = 2
  19. 0dbfs = 1
  20. instr 1
  21. iamp ampmidi 1
  22. ifreq cpsmidi
  23. kjet chnget "jet"
  24. kvibf chnget "vib"
  25. kngain chnget "noise"
  26. kstiff chnget "stiff"
  27. kvamp chnget "vibamp"
  28. iatt = 0.1
  29. idetk = 0.1
  30. aflute wgflute iamp, ifreq, kjet, iatt, idetk, kngain, kvibf, kvamp, 1
  31. aout clip aflute,0,0dbfs
  32. kenv linsegr 1,.1,1,.3,.5,.2,0 ;inviluppo d'ampiezza
  33. outs aout*kenv,aout*kenv
  34. endin
  35. </CsInstruments>
  36. <CsScore>
  37. f1 0 16384 10 1
  38. f0 36000
  39. </CsScore>
  40. </CsoundSynthesizer>