Skip to content

Commit

Permalink
test stateful cycles in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
emuell committed Jul 2, 2024
1 parent 7fa73d7 commit 0295922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benches/benchmarks/rhythm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn create_phrase() -> Phrase {
};

let kick_cycle =
new_cycle_event("bd [~ bd] ~ ~ bd [~ bd] _ ~ bd [~ bd] ~ ~ bd [~ bd] [_ bd2] [~ bd _ ~]")
new_cycle_event("bd? [~ bd] ~ ~ bd [~ bd] _ ~ bd [~ bd?] ~ ~ bd [~ bd] [_ bd2] [~ bd _ ~]")
.unwrap()
.with_mappings(&[
("bd", vec![new_note("c4")]),
Expand Down
2 changes: 1 addition & 1 deletion benches/benchmarks/scripted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn create_phrase() -> Phrase {
pattern = function(context)
return 1
end,
emit = cycle("bd [~ bd] ~ ~ bd [~ bd] _ ~ bd [~ bd] ~ ~ bd [~ bd] [_ bd2] [~ bd _ ~]"):map({
emit = cycle("bd? [~ bd] ~ ~ bd [~ bd] _ ~ bd? [~ bd] ~ ~ bd [~ bd] [_ bd2] [~ bd _ ~]"):map({
["bd"] = "c4",
["bd2"] = "c4 v0.5",
})
Expand Down

0 comments on commit 0295922

Please sign in to comment.