ableton-js
Advanced tools
Comparing version
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [v3.4.1](https://github.com/leolabs/ableton.js/compare/v3.4.0...v3.4.1) | ||
- :sparkles: Add a `safeStartPlaying` method that only calls `start_playing` when Live is currently stopped [`46e1354`](https://github.com/leolabs/ableton.js/commit/46e13549f0c33ef6d82d20c42df30fb8c539af32) | ||
- :bug: Fix master track erroring because it doesn't have solo/mute properties [`3b58e72`](https://github.com/leolabs/ableton.js/commit/3b58e7205a5e547b7e0f2e0784eb9be71548ce1c) | ||
- :mute: Don't log results of getting track view properties [`3b4a5bd`](https://github.com/leolabs/ableton.js/commit/3b4a5bd07c3be7b7ec9f2cc21574b72d1fb375b4) | ||
#### [v3.4.0](https://github.com/leolabs/ableton.js/compare/v3.3.5...v3.4.0) | ||
> 11 November 2023 | ||
- :bug: Fix setting quantizations not working correctly [`cd7a6e5`](https://github.com/leolabs/ableton.js/commit/cd7a6e52e65ad8dea9082b8b24afed952f6b33ad) | ||
@@ -11,0 +19,0 @@ - :sparkles: Return mute and solo properties for each track [`5585533`](https://github.com/leolabs/ableton.js/commit/558553386dc7a0927541c2b246cc27fd86677641) |
@@ -214,5 +214,20 @@ import { Ableton } from ".."; | ||
stopPlaying(): Promise<any>; | ||
safeStopPlaying(): Promise<any>; | ||
/** | ||
* Only starts playing when Live is currently not playing | ||
* to prevent Live from jumping back to the start when it's | ||
* already playing. | ||
* | ||
* @returns a boolean indicating whether the command was executed | ||
*/ | ||
safeStartPlaying(): Promise<boolean>; | ||
/** | ||
* Only stops playback when Live is currently playing to prevent | ||
* Live jumping back to the beginning of the arrangement when it's | ||
* already stopped. | ||
* | ||
* @returns a boolean indicating whether the command was executed | ||
*/ | ||
safeStopPlaying(): Promise<boolean>; | ||
tapTempo(): Promise<any>; | ||
undo(): Promise<any>; | ||
} |
@@ -150,2 +150,19 @@ "use strict"; | ||
} | ||
/** | ||
* Only starts playing when Live is currently not playing | ||
* to prevent Live from jumping back to the start when it's | ||
* already playing. | ||
* | ||
* @returns a boolean indicating whether the command was executed | ||
*/ | ||
async safeStartPlaying() { | ||
return this.sendCommand("safe_start_playing"); | ||
} | ||
/** | ||
* Only stops playback when Live is currently playing to prevent | ||
* Live jumping back to the beginning of the arrangement when it's | ||
* already stopped. | ||
* | ||
* @returns a boolean indicating whether the command was executed | ||
*/ | ||
async safeStopPlaying() { | ||
@@ -152,0 +169,0 @@ return this.sendCommand("safe_stop_playing"); |
{ | ||
"name": "ableton-js", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Control Ableton Live from Node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
198101
1.09%3998
1.19%