ableton-js
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -7,4 +7,11 @@ ### Changelog | ||
#### [v2.9.1](https://github.com/leolabs/ableton.js/compare/v2.9.0...v2.9.1) | ||
- :sparkles: Add support for available_(input/output)_routing_(channels/types) [`0c09881`](https://github.com/leolabs/ableton.js/commit/0c098819369cccf257284ad4510178833853d1e5) | ||
- Use enum-style values for NavDirection [`713f864`](https://github.com/leolabs/ableton.js/commit/713f86475036debabf4e401c87ddb8b08510d262) | ||
#### [v2.9.0](https://github.com/leolabs/ableton.js/compare/v2.8.0...v2.9.0) | ||
> 19 January 2023 | ||
- Fix outdated ID types [`#81`](https://github.com/leolabs/ableton.js/pull/81) | ||
@@ -11,0 +18,0 @@ - :sparkles: Add support for the application view [`50adde2`](https://github.com/leolabs/ableton.js/commit/50adde2ee7b59b602b7c0e0d3ec1d0817cbf5468) |
@@ -7,6 +7,6 @@ import { Ableton } from ".."; | ||
export declare enum NavDirection { | ||
"up" = 0, | ||
"down" = 1, | ||
"left" = 2, | ||
"right" = 3 | ||
Up = 0, | ||
Down = 1, | ||
Left = 2, | ||
Right = 3 | ||
} | ||
@@ -13,0 +13,0 @@ export interface GettableProperties { |
@@ -58,6 +58,6 @@ "use strict"; | ||
(function (NavDirection) { | ||
NavDirection[NavDirection["up"] = 0] = "up"; | ||
NavDirection[NavDirection["down"] = 1] = "down"; | ||
NavDirection[NavDirection["left"] = 2] = "left"; | ||
NavDirection[NavDirection["right"] = 3] = "right"; | ||
NavDirection[NavDirection["Up"] = 0] = "Up"; | ||
NavDirection[NavDirection["Down"] = 1] = "Down"; | ||
NavDirection[NavDirection["Left"] = 2] = "Left"; | ||
NavDirection[NavDirection["Right"] = 3] = "Right"; | ||
})(NavDirection = exports.NavDirection || (exports.NavDirection = {})); | ||
@@ -64,0 +64,0 @@ var ApplicationView = /** @class */ (function (_super) { |
@@ -8,5 +8,31 @@ import { Ableton } from ".."; | ||
import { Color } from "../util/color"; | ||
export declare enum RoutingLayout { | ||
Mono = 1, | ||
Stereo = 2 | ||
} | ||
export interface RoutingChannel { | ||
display_name: string; | ||
layout: RoutingLayout; | ||
} | ||
export declare enum RoutingCategory { | ||
External = 0, | ||
Rewire = 1, | ||
Resampling = 2, | ||
Master = 3, | ||
Track = 4, | ||
ParentGroupTrack = 5, | ||
None = 6, | ||
Invalid = 7 | ||
} | ||
export interface RoutingType { | ||
display_name: string; | ||
category: RoutingCategory; | ||
} | ||
export interface GettableProperties { | ||
arm: boolean; | ||
arrangement_clips: RawClip[]; | ||
available_input_routing_channels: RoutingChannel[]; | ||
available_input_routing_types: RoutingType[]; | ||
available_output_routing_channels: RoutingChannel[]; | ||
available_output_routing_types: RoutingType[]; | ||
can_be_armed: boolean; | ||
@@ -13,0 +39,0 @@ can_be_frozen: boolean; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Track = void 0; | ||
exports.Track = exports.RoutingCategory = exports.RoutingLayout = void 0; | ||
var _1 = require("."); | ||
@@ -26,2 +26,18 @@ var device_1 = require("./device"); | ||
var color_1 = require("../util/color"); | ||
var RoutingLayout; | ||
(function (RoutingLayout) { | ||
RoutingLayout[RoutingLayout["Mono"] = 1] = "Mono"; | ||
RoutingLayout[RoutingLayout["Stereo"] = 2] = "Stereo"; | ||
})(RoutingLayout = exports.RoutingLayout || (exports.RoutingLayout = {})); | ||
var RoutingCategory; | ||
(function (RoutingCategory) { | ||
RoutingCategory[RoutingCategory["External"] = 0] = "External"; | ||
RoutingCategory[RoutingCategory["Rewire"] = 1] = "Rewire"; | ||
RoutingCategory[RoutingCategory["Resampling"] = 2] = "Resampling"; | ||
RoutingCategory[RoutingCategory["Master"] = 3] = "Master"; | ||
RoutingCategory[RoutingCategory["Track"] = 4] = "Track"; | ||
RoutingCategory[RoutingCategory["ParentGroupTrack"] = 5] = "ParentGroupTrack"; | ||
RoutingCategory[RoutingCategory["None"] = 6] = "None"; | ||
RoutingCategory[RoutingCategory["Invalid"] = 7] = "Invalid"; | ||
})(RoutingCategory = exports.RoutingCategory || (exports.RoutingCategory = {})); | ||
var Track = /** @class */ (function (_super) { | ||
@@ -28,0 +44,0 @@ __extends(Track, _super); |
{ | ||
"name": "ableton-js", | ||
"version": "2.9.0", | ||
"version": "2.9.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
236577
4630