MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / notes

Method notes

src/main/java/trace/sound/LoadMidi.kt:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 return notes.filter { (it.time + it.duration) >= tStart && (it.time + it.duration) < tEnd }
111 }
112
113 var time = 0.0
114 var previouslyReturned = mutableSetOf<Note>()
115
116 fun read(t: Double): List<Note> {
117 if (t < time) {
118 time = t
119 previouslyReturned.clear()

Callers

nothing calls this directly

Calls 2

Vec2Class · 0.50
mapMethod · 0.45

Tested by

no test coverage detected