mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-24 20:18:34 +00:00
remove duplicate range
This commit is contained in:
parent
0c5903d822
commit
d3a04071eb
@ -746,10 +746,6 @@ export class Pattern {
|
|||||||
_velocity(velocity) {
|
_velocity(velocity) {
|
||||||
return this._withContext((context) => ({ ...context, velocity: (context.velocity || 1) * velocity }));
|
return this._withContext((context) => ({ ...context, velocity: (context.velocity || 1) * velocity }));
|
||||||
}
|
}
|
||||||
|
|
||||||
range(min, max) {
|
|
||||||
return this.mul(max - min).add(min)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// pattern composers
|
// pattern composers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user