import { randomElement } from "../util/util"; export const funk = { name: 'Funk', tempo: 90, chords: () => randomElement([ [[2, 0, 0, 1], 0, [0, .6], [0, 3.5, 0, 0]], [[1, 0, 0, 5], 0, [0, .6], [1, .5, 0, 0]], [[1, 0, 0, 5], 0, [0, .6], [.5, 0, 2, 0]], [[1, 0, 0, 5], 0, [0, .6], [0, 2, 0, 1]], [[3, 0, 0, 0], 0, 2, 0] ]), bass: () => randomElement( [ [[2, 0, 0, 1], [0, 1], 1, [0, 1]], [[2, 0, 0, 0], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]], ] ), kick: (t) => [[[1, .7], 0, [0, 1], 0]], snare: (t) => [0, 1, [0, .2, 0, 0], [1, 0, 0, .6]], hihat: (t) => [[.5, .6], [.4, .7], [.3, .6], [.5, .7]] };