ableton-js
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "ableton-js", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Control Ableton Live from Node", | ||
@@ -15,2 +15,4 @@ "main": "index.js", | ||
"ableton:start": "yarn ableton:kill; yarn ableton:clean && yarn ableton:copy-script && yarn ableton:launch && yarn ableton:logs", | ||
"prepublishOnly": "yarn build", | ||
"build": "tsc", | ||
"test": "jest" | ||
@@ -17,0 +19,0 @@ }, |
@@ -5,2 +5,3 @@ import { Ableton } from ".."; | ||
import { CuePoint, RawCuePoint } from "./cue-point"; | ||
import { SongView } from "./song-view"; | ||
@@ -62,2 +63,3 @@ export interface GettableProperties { | ||
visible_tracks: Track[]; | ||
view: SongView; | ||
} | ||
@@ -103,4 +105,2 @@ | ||
tempo: number; | ||
tracks: number; | ||
view: number; | ||
visible_tracks: number; | ||
@@ -189,5 +189,8 @@ } | ||
visible_tracks: tracks => tracks.map(t => new Track(this.ableton, t)), | ||
view: () => new SongView(this.ableton), | ||
}; | ||
} | ||
public view = new SongView(this.ableton); | ||
async jumpToCue(time: number) { | ||
@@ -194,0 +197,0 @@ return this.ableton.sendCommand(this.ns, "", "jump_to_cue", { time }); |
Sorry, the diff of this file is not supported yet
44571
29
1321