Get Started

QuickstartRequest Access

API Reference

Overview
bpm
clearSelection
export
getCurrentTime
getState
pause
play
reset
rootKey
seek
setSelection
timeSignature
togglePlayback
tracks

Examples

Clone track (Headless)UI kitchen sink
github logo
Session

bpm

Gets the current BPM (beats per minute) from the session

moises.session.bpm

Parameters

ParameterTypeDescription
None--

Returns:

number - The current BPM value

Usage Example

const currentBpm = moises.session.bpm()
console.log(`Current BPM: ${currentBpm}`)

This file is automatically generated. Do not edit manually.

trackContextMenu

Creates a context menu item for tracks

clearSelection

Clears the current selection in the session

On this page

ParametersUsage Example