New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ableton-js

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ableton-js - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

21

ns/song.d.ts

@@ -167,3 +167,22 @@ import { Ableton } from "..";

view: SongView;
jumpToCue(time: number): Promise<any>;
continuePlaying(): Promise<any>;
createAudioTrack(index?: number): Promise<any>;
createMidiTrack(index?: number): Promise<any>;
createReturnTrack(index?: number): Promise<any>;
createScene(index?: number): Promise<any>;
deleteReturnTrack(index: number): Promise<any>;
deleteScene(index: number): Promise<any>;
deleteTrack(index: number): Promise<any>;
duplicateScene(index: number): Promise<any>;
duplicateTrack(index: number): Promise<any>;
isCuePointSelected(): Promise<any>;
jumpBy(amount: number): Promise<any>;
jumpToNextCue(): Promise<any>;
jumpToPrevCue(): Promise<any>;
playSelection(): Promise<any>;
scrubBy(amount: number): Promise<any>;
startPlaying(): Promise<any>;
stopAllClips(): Promise<any>;
stopPlaying(): Promise<any>;
tapTempo(): Promise<any>;
}

@@ -99,13 +99,144 @@ "use strict";

}
Song.prototype.jumpToCue = function (time) {
Song.prototype.continuePlaying = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.ableton.sendCommand(this.ns, undefined, "jump_to_cue", {
time: time
})];
return [2 /*return*/, this.sendCommand("continue_playing")];
});
});
};
Song.prototype.createAudioTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_audio_track", { index: index })];
});
});
};
Song.prototype.createMidiTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_midi_track", { index: index })];
});
});
};
Song.prototype.createReturnTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_return_track", { index: index })];
});
});
};
Song.prototype.createScene = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_scene", { index: index })];
});
});
};
Song.prototype.deleteReturnTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_return_track", { index: index })];
});
});
};
Song.prototype.deleteScene = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_scene", { index: index })];
});
});
};
Song.prototype.deleteTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_track", { index: index })];
});
});
};
Song.prototype.duplicateScene = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("duplicate_scene", { index: index })];
});
});
};
Song.prototype.duplicateTrack = function (index) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("duplicate_track", { index: index })];
});
});
};
Song.prototype.isCuePointSelected = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("is_cue_point_selected")];
});
});
};
Song.prototype.jumpBy = function (amount) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("jump_by", { amount: amount })];
});
});
};
Song.prototype.jumpToNextCue = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("jump_to_next_cue")];
});
});
};
Song.prototype.jumpToPrevCue = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("jump_to_prev_cue")];
});
});
};
Song.prototype.playSelection = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("play_selection")];
});
});
};
Song.prototype.scrubBy = function (amount) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("scrub_by", { amount: amount })];
});
});
};
Song.prototype.startPlaying = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("start_playing")];
});
});
};
Song.prototype.stopAllClips = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("stop_all_clips")];
});
});
};
Song.prototype.stopPlaying = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("stop_playing")];
});
});
};
Song.prototype.tapTempo = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("tap_tempo")];
});
});
};
return Song;
}(_1.Namespace));
exports.Song = Song;

2

package.json
{
"name": "ableton-js",
"version": "1.2.6",
"version": "1.3.0",
"description": "Control Ableton Live from Node",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc