Implement brak()
This commit is contained in:
parent
73b0a3a0ef
commit
4fd843f8cf
2 changed files with 19 additions and 4 deletions
|
|
@ -822,6 +822,16 @@ export class Pattern {
|
|||
return slowcatPrime(...pats);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new pattern where every other cycle is played once, twice as
|
||||
* fast, and offset in time by one quarter of a cycle. Creates a kind of
|
||||
* breakbeat feel.
|
||||
* @returns Pattern
|
||||
*/
|
||||
brak() {
|
||||
return this.every(2, x => fastcat(x, silence)._late(0.25))
|
||||
}
|
||||
|
||||
rev() {
|
||||
const pat = this;
|
||||
const query = function (state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue