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.

65 lines
1.3KB

  1. <Cabbage>
  2. form caption("Waveguide clar ") size(335, 165), colour("black"), pluginID("cla1")
  3. rslider bounds(0, 0, 80, 80) channel("noise"), range(0,0.5,.1), caption("Noise"), 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,10,0), caption("Vib amp"), colour("yellow"), midictrl(1, 3)
  6. rslider bounds(255, 0, 80, 80) channel("stiff"), range(-0.44,-0.18, - 0.6), caption("Stiffness"), 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. kngain chnget "noise"
  24. kvibf chnget "vib"
  25. kstiff chnget "stiff"
  26. kvamp chnget "vibamp"
  27. ;kstiff = -0.3
  28. iatt = 0.1
  29. idetk = 0.1
  30. ;kngain = 0 ;vary breath
  31. ;kvibf = 5.735
  32. kvamp = 0.1
  33. aclar wgclar iamp,ifreq,kstiff,iatt,idetk,kngain,kvibf,kvamp,1
  34. aout clip aclar,0,0dbfs
  35. kenv linsegr 1,.1,1,.3,.5,.2,0 ;inviluppo d'ampiezza
  36. outs aout*kenv,aout*kenv
  37. endin
  38. </CsInstruments>
  39. <CsScore>
  40. f1 0 16384 10 1
  41. f0 36000
  42. </CsScore>
  43. </CsoundSynthesizer>