mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-15 07:38:33 +00:00
Merge pull request #637 from tidalcycles/snapshots-sort-haps-by-part
snapshot tests: sort haps by part
This commit is contained in:
commit
23e949de1c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -187,7 +187,7 @@ evalScope(
|
||||
|
||||
export const queryCode = async (code, cycles = 1) => {
|
||||
const { pattern } = await evaluate(code);
|
||||
const haps = pattern.queryArc(0, cycles);
|
||||
const haps = pattern.sortHapsByPart().queryArc(0, cycles);
|
||||
return haps.map((h) => h.show(true));
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user