Skip to content

sparseq ticks timed at at loop edges not included in the loop #63

@bthj

Description

@bthj

If el.sparseq includes seq elements with tickTime set to the loop start or end points, then those are not included in the loop sequence, while elements with tickTimes that fall within the loop edges are included.

This loops:

    return el.sample(
      {path: 'synth:0'},
      el.sparseq({
        seq: [
          { value: 1, tickTime: 1 },
        ],
        loop: [0, 500]
      }, 
      el.train(100), 
      0),
      1,
    )

while this does not:

    return el.sample(
      {path: 'synth:0'},
      el.sparseq({
        seq: [
          { value: 1, tickTime: 0 },
        ],
        loop: [0, 500]
      }, 
      el.train(100), 
      0),
      1,
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions