OSC-this, Linux-that, Visualisers and Midi… Bah!
Nobody is posting… MUSIC. We need a flow of music/code in
the forums, to help new joiners to relax, play around with, and
get used to posting their code.
Too much dry, technical stuff and links to 30 page manuals
on MIDI, will just scare people away, making them feel it’s
all far too much to cope with…
So… here’s some stuff from the dumbest coder on the forums
to keep people going.
Eli…
Nice summery jazz-influenced stuff:
# Jazz Hands
# Eli...
# Oct 2019.
use_bpm 90
clarinet_notes = (ring :d3, :e4, :d4,:g4, :f4, :g3, :a3, :e4)
clarinet_rhythm = (ring 0.25, 0.75, 1, 0.75, 0.25, 0.5, 0.5).shuffle
piano_tune = [ :d, :r, :r, :a,:g5, :r, :a, :r, :d, :r, :r, :b, :g5, :r, :b, :r]
live_loop :beat do
sleep 4
end
live_loop :backbeat do
sync :beat
sample :loop_breakbeat, beat_stretch: 4, amp: 0.5 if rand > 0.4
sleep 0.1
end
live_loop :double_bass do
with_fx :lpf, cutoff: 60 do
use_synth :chipbass
use_synth_defaults release: 0.3, amp: 0.5
if rand < 0.75 then
play_pattern_timed chord(:c1, :M7), 0.5
else
play_pattern_timed chord(:a1, :m7), 0.5
end
if rand < 0.75 then
play_pattern_timed chord(:d1, :m7), 0.5
end
play_pattern_timed chord(:g1, :dom7), 0.5
end
end
live_loop :hats do
sample :drum_cymbal_closed, sustain: 0.125, amp: 0.3 if rand > 0.75
sleep 0.5
sample :drum_cymbal_closed, sustain: 0.125, amp: 0.2
sleep 0.5
tick
end
live_loop :clarinet do
use_synth :fm
if one_in(4)
sleep 2
next
end
if rand() > 0.75 then
clarinet_notes = (ring :d3, :e4, :d4,:g4, :f4, :g3, :a3, :e4)
else
clarinet_notes = clarinet_notes.shuffle
end
deep = rrand(2,6)
use_synth_defaults divisor: 0.5, depth: deep, attack: 0.05, sustain: 0.2, release: 0.2, amp: 0.2
with_fx :reverb, room: 0.75, damp: 0.25 do
play clarinet_notes.tick
play clarinet_notes.look
play clarinet_notes.look
end
sleep clarinet_rhythm.look
end
live_loop :piano_step do
2.times do
use_synth_defaults release: [1,1.5].choose, amp: 0.6
use_synth :piano
play (ring, chord(:c3, :M7), chord(:a2, :m7), chord(:d3, :m7), chord(:g2, :dom7)).tick, sustain: 1.25
play (ring, chord(:c3, :M7), chord(:a2, :m7), chord(:d3, :m7), chord(:g2, :dom7)).look, sustain: 1.25
sleep 2
end
end
live_loop :piano_tune do
# piano_tune = [ :d, :r, :r, :a,:g5, :r, :a, :r, :d, :r, :r, :b, :g5, :r, :b, :r]
with_fx(:reverb, room: 0.1, damp: 0.1) do |reverb1|
use_synth_defaults release: [0.3,0.6].choose, amp: 0.6
with_synth :piano do
if rand() > 0.75
use_transpose +12
play_pattern_timed piano_tune, [0.25,0.5]
else
piano_tune=piano_tune.shuffle
play_pattern_timed piano_tune, [0.5], amp: 0.5
end
end
end
sleep 4
end
Some spooky sounds to scare the kids with at your door on
Halloween…
use_real_time
use_sched_ahead_time 1
set_volume! 4
use_bpm 60
with_fx :hpf, cutoff: 60 do
with_fx :reverb, room: 1, damp: 0.1 do
with_fx :flanger, room: 1, damp: 0.1 do
live_loop :ambience do
use_sample_defaults pitch: [+24, +12].choose
tick
sample :drum_splash_soft, amp: 0.4, rate: [0.65, 1.25].choose, attack: 2, release: 2
with_fx :reverb, room: 1, damp: 0.1 do
sample [:elec_blup,:elec_blip2, :elec_blip].choose, rate: (knit -0.2, 2, -0.6, 2, 0.4, 4).look if bools(1, 0, 0, 1).look
end
if rand() > 0.55 then
sample :ambi_drone, rate: (ring 0.1, 0.3, -0.25).look, amp: 0.25 if bools(1, 0, 1, 0).look
end
sleep [4,2].choose
end
end
end
end
set_volume! 2
live_loop :flibble do
#sample :ambi_choir, rate: 0.1, amp: 0.4
sample :ambi_drone, rate: 0.19, amp: 0.4
sample :ambi_haunted_hum, rate: 0.27, amp: 0.4
#sample :bd_haus, rate: 0.01, amp: 0.5
sleep 2
end
live_loop :bells do
sample :ambi_dark_woosh, rate: -1, amp: 0.5
sleep rand(6)
end
live_loop :whistles do
sample :ambi_swoosh, rate: -1, amp: 0.5
sleep rand(6)
end
live_loop :shriek do
sample :ambi_glass_hum, rate: -1, amp: 0.5
sleep rand(6)
end
live_loop :wobble do
sample :ambi_glass_rub, rate: -0.5, amp: 0.5
sleep rand(6)
end
live_loop :scream do
use_synth :hollow
play [80,55,90].choose, rate: [-1,1].choose, amp: 1
sleep rand(6)
end