1.1.0 • Published 9 years ago

loop-grid-repeater v1.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

loop-grid-repeater

A beat/note repeater transform for loop-grid.

API

var Repeater = require('loop-grid-repeater')

`var repeater = Repeater(transform)

Pass loopGrid.transform to this constructor.

repeater.start(inputGrid, length)

Held notes will call transform with a function that creates a repeating note with length length / 2 at the rate of specified length.

repeater.setLength(length)

repeater.stop()

Release the inputGrid.