ableton-js
Advanced tools
Comparing version 3.3.3 to 3.3.4
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [v3.3.4](https://github.com/leolabs/ableton.js/compare/v3.3.3...v3.3.4) | ||
- :sparkles: Add support for the Track View class [`3ff5980`](https://github.com/leolabs/ableton.js/commit/3ff5980e5e5f407bc6b767a5329b54774ca10534) | ||
- :sparkles: Add a `safeStopPlaying` function that only stops playback when Live is currently playing to prevent accidental jumps to the beginning of the timeline [`a7b84e2`](https://github.com/leolabs/ableton.js/commit/a7b84e2146a69ab00cc75f83a4eedd5d91495eda) | ||
- :art: Fix formatting [`f06d3d0`](https://github.com/leolabs/ableton.js/commit/f06d3d0cde4632612b1db8ea04e85f1276eb8bb6) | ||
#### [v3.3.3](https://github.com/leolabs/ableton.js/compare/v3.3.2...v3.3.3) | ||
> 10 September 2023 | ||
- :mute: Fix every message being logged twice [`3a2571f`](https://github.com/leolabs/ableton.js/commit/3a2571f0a4ad61fdf751a0dfbb5da00b6def8508) | ||
@@ -11,0 +19,0 @@ - :wastebasket: Deprecate `removeNotes` and add `removeNotesExtended` as a replacement [`ac02271`](https://github.com/leolabs/ableton.js/commit/ac022718f0b16317d8fdf70ff1c8d77eaaa0f384) |
@@ -64,7 +64,2 @@ import { Ableton } from ".."; | ||
} | ||
export declare enum DeviceInsertMode { | ||
default = "default", | ||
left = "left", | ||
right = "right" | ||
} | ||
export interface SettableProperties { | ||
@@ -80,3 +75,2 @@ appointed_device: string; | ||
groove_amount: number; | ||
insert_mode: DeviceInsertMode; | ||
is_counting_in: boolean; | ||
@@ -222,5 +216,5 @@ is_playing: boolean; | ||
stopPlaying(): Promise<any>; | ||
safeStopPlaying(): Promise<any>; | ||
tapTempo(): Promise<any>; | ||
undo(): Promise<any>; | ||
set_insert_mode(args: DeviceInsertMode): Promise<any>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Song = exports.RecordingQuantization = exports.Quantization = exports.TimeFormat = exports.DeviceInsertMode = void 0; | ||
exports.Song = exports.RecordingQuantization = exports.Quantization = exports.TimeFormat = void 0; | ||
const _1 = require("."); | ||
@@ -9,8 +9,2 @@ const track_1 = require("./track"); | ||
const scene_1 = require("./scene"); | ||
var DeviceInsertMode; | ||
(function (DeviceInsertMode) { | ||
DeviceInsertMode["default"] = "default"; | ||
DeviceInsertMode["left"] = "left"; | ||
DeviceInsertMode["right"] = "right"; | ||
})(DeviceInsertMode || (exports.DeviceInsertMode = DeviceInsertMode = {})); | ||
var TimeFormat; | ||
@@ -153,2 +147,5 @@ (function (TimeFormat) { | ||
} | ||
async safeStopPlaying() { | ||
return this.sendCommand("safe_stop_playing"); | ||
} | ||
async tapTempo() { | ||
@@ -160,6 +157,3 @@ return this.sendCommand("tap_tempo"); | ||
} | ||
async set_insert_mode(args) { | ||
return this.sendCommand("set_insert_mode", { args }); | ||
} | ||
} | ||
exports.Song = Song; |
@@ -8,2 +8,3 @@ import { Ableton } from ".."; | ||
import { Color } from "../util/color"; | ||
import { TrackView } from "./track-view"; | ||
export declare enum RoutingLayout { | ||
@@ -153,2 +154,3 @@ Mono = 1, | ||
raw: RawTrack; | ||
view: TrackView; | ||
constructor(ableton: Ableton, raw: RawTrack); | ||
@@ -155,0 +157,0 @@ /** |
@@ -10,2 +10,3 @@ "use strict"; | ||
const color_1 = require("../util/color"); | ||
const track_view_1 = require("./track-view"); | ||
var RoutingLayout; | ||
@@ -29,5 +30,7 @@ (function (RoutingLayout) { | ||
raw; | ||
view; | ||
constructor(ableton, raw) { | ||
super(ableton, "track", raw.id); | ||
this.raw = raw; | ||
this.view = new track_view_1.TrackView(this.ableton, raw.id); | ||
this.transformers = { | ||
@@ -34,0 +37,0 @@ arrangement_clips: (clips) => clips.map((clip) => new clip_1.Clip(ableton, clip)), |
{ | ||
"name": "ableton-js", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
192577
79
3066