MCPcopy Create free account
hub / github.com/Tonejs/Midi / setTempo

Method setTempo

src/Header.ts:315–323  ·  view source on GitHub ↗

* Update the tempo of the midi to a single tempo. Will remove and replace * any other tempos currently set and update all of the event timing. * @param bpm The tempo in beats per second.

(bpm: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Header.tsFile · 0.80

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected