Guest User

Untitled

a guest
Oct 19th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. module( 'gibber/publications/SpeakLib' )
  2.  
  3.  
  4. speak = Speak({ pitch: 70, wordgap:10 })
  5. .say.seq(
  6. ['mdq','is','on','fire'],
  7. [ 1/2, 1/2,1/2,1/2 ]
  8. )
  9.  
  10.  
  11. speak.pitch.seq( [1,.8,1.2].rnd() )
  12. speak.amp /= 1.5
  13. speak.disconnect()
  14.  
  15. a = Pluck().note.seq(['c5','c3','c4'],[1/4, 1/8, 1/2].rnd())
  16. a.fx.add(Vibrato(2))
  17.  
  18. b = Pluck().note.seq( ['c2','c3','c4'], [1/8, 1/16] )
  19.  
  20. b.fx.add( Schizo('paranoid')).pan.seq( Rndf(-1,1) )
  21.  
  22. c = FM( 'bass' ).note.seq( [0,7], 1/8 )
  23. d = FM( 'stabs' ).chord.seq( Rndi(0,7,1), [1/4,1/8,1/2].rnd() )
  24.  
  25. e = Drums('xxxx', 1/4).pitch(0.8)
  26. e.amp *= 1.5
  27.  
  28. g = EDrums('*-*-', 1/4).pitch(4)
  29. g.amp /= 1.5
  30.  
  31. h = Synth()
  32. h.attack = 0.001
  33. h.amp = Rndf(0.08, 0.12)
  34.  
  35.  
  36. h.note.seq(['c1', , 'c2', ], [1/4, 1/8].random(1/8,2))
  37.  
  38. h.note.seq(['c2', 'c3'], [1/8, 1/16].random(1/16,2))
  39.  
  40. h.note.seq(['ab2', 'ab3'], [1/8, 1/16].random(1/16,2))
  41. h.note.seq(['g2', 'g3'], [1/8, 1/16].random(1/16,2))
  42. h.note.seq(['eb2', 'eb3'], [1/8, 1/16].random(1/16,2))
  43. h.note.seq(['f2', 'f3'], [1/8, 1/16].random(1/16,2))
  44.  
  45. Master.amp *= 1.5
  46.  
  47. a.connect()
  48. b.connect()
  49. c.connect()
  50. d.connect()
  51. e.connect()
  52. f.connect()
  53. g.connect()
  54. h.connect()
  55. i.connect()
  56. j.connect()
  57.  
  58. Clock.bpm(120)
  59.  
  60. i = Synth('bleep')
  61. i.note.seq(['bb1', 'c4', 'f3', 'ab2'], [1/8, 1/16].random(1/16,2))
  62. i.amp = Rndf(0.3, 0.5)
  63.  
  64. j = Synth('bleep')
  65. j.note.seq(['c5', 'c4', 'd3', 'f3'], [1/8, 1/16].random(1/16,2))
  66. j.amp = Rndf(0.3, 0.5)
  67.  
  68. a.disconnect()
  69. b.disconnect()
  70. c.disconnect()
  71. d.disconnect()
  72. e.disconnect()
  73. f.disconnect()
  74. g.disconnect()
  75. h.disconnect()
  76. i.disconnect()
  77. j.disconnect()
Add Comment
Please, Sign In to add comment