Post

Violin Backed by Gibber

Violin Backed by Gibber

As a developer, do you frequently find yourself longing for a backup band to your melodic instrument? If this sounds like you (or, even if it doesn’t), check this out:

The Gibber code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Roland TR-808 simulation:
// Kick, rest, snare, rest, kick, kick, snare, rest
a = XOX('x.o.xxo.')

// Closed hihat, eighth notes
b = Drums('********')

c = FM('bass').note.seq(
  ['g', 'g', 'g', 'g', 'd', 'd', 'd', 'd', 'c', 'c', 'c', 'c', 'd', 'd', 'd', 'd'],
  1/4)
c.amp = .3

d = Synth2({ maxVoices: 3, decay: 1/2 }).chord.seq(
  ['g3', 'd3', 'c3', 'd3'],
  1)
d.amp = .5

In closing

Give Gibber a try at https://gibber.cc/.

If you’re wondering what Gibber is check out https://charlie-roberts.com/gibber/about-gibber.

Note: As of the date of this blog post, Gibber doesn’t play audio for me using Chrome 46 (64-bit) on Windows 10. It does work for me using Firefox 42 (32-bit, I assume, it’s installed in my Program Files (x86) folder) on Windows 10, though.

This post is licensed under CC BY 4.0 by the author.