MCPcopy Create free account
hub / github.com/bwasti/mebm / intersectsTime

Method intersectsTime

script.js:859–864  ·  view source on GitHub ↗
(time, query)

Source from the content-addressed store, hash-verified

857 }
858
859 intersectsTime(time, query) {
860 if (!query) {
861 query = this.time;
862 }
863 return Math.abs(query - time) / this.total_time < 0.01;
864 }
865
866 refresh_audio() {
867 for (let layer of this.layers) {

Callers 2

scrubStartMethod · 0.95
scrubMoveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected