mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-28 23:55:16 -04:00
Fix steady()
This commit is contained in:
@@ -5,7 +5,7 @@ import { id } from './util.mjs';
|
||||
|
||||
export function steady(value) {
|
||||
// A continuous value
|
||||
return new Pattern((span) => Hap(undefined, span, value));
|
||||
return new Pattern((state) => [new Hap(undefined, state.span, value)]);
|
||||
}
|
||||
|
||||
export const signal = (func) => {
|
||||
|
||||
Reference in New Issue
Block a user