ableton-js
Advanced tools
Comparing version 3.3.2 to 3.3.3
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [v3.3.3](https://github.com/leolabs/ableton.js/compare/v3.3.2...v3.3.3) | ||
- :mute: Fix every message being logged twice [`3a2571f`](https://github.com/leolabs/ableton.js/commit/3a2571f0a4ad61fdf751a0dfbb5da00b6def8508) | ||
- :wastebasket: Deprecate `removeNotes` and add `removeNotesExtended` as a replacement [`ac02271`](https://github.com/leolabs/ableton.js/commit/ac022718f0b16317d8fdf70ff1c8d77eaaa0f384) | ||
- :bug: Address a hang in newer versions of Live when the UDP port is already being used [`5caeaeb`](https://github.com/leolabs/ableton.js/commit/5caeaebc172fc819693c988643071c565e4dbcd3) | ||
#### [v3.3.2](https://github.com/leolabs/ableton.js/compare/v3.3.1...v3.3.2) | ||
> 27 July 2023 | ||
- :package: Add lodash as a dependency, fixes #104 [`#104`](https://github.com/leolabs/ableton.js/issues/104) | ||
@@ -11,0 +19,0 @@ |
@@ -221,5 +221,11 @@ import { Ableton } from ".."; | ||
* Deletes all notes that start in the given area. | ||
* | ||
* @deprecated starting with Live 11, use `removeNotesExtended` instead | ||
*/ | ||
removeNotes(fromTime: number, fromPitch: number, timeSpan: number, pitchSpan: number): Promise<any>; | ||
/** | ||
* Deletes all notes that start in the given area. | ||
*/ | ||
removeNotesExtended(fromTime: number, fromPitch: number, timeSpan: number, pitchSpan: number): Promise<any>; | ||
/** | ||
* Replaces selected notes with an array of new notes. | ||
@@ -226,0 +232,0 @@ */ |
@@ -158,2 +158,4 @@ "use strict"; | ||
* Deletes all notes that start in the given area. | ||
* | ||
* @deprecated starting with Live 11, use `removeNotesExtended` instead | ||
*/ | ||
@@ -169,2 +171,13 @@ removeNotes(fromTime, fromPitch, timeSpan, pitchSpan) { | ||
/** | ||
* Deletes all notes that start in the given area. | ||
*/ | ||
removeNotesExtended(fromTime, fromPitch, timeSpan, pitchSpan) { | ||
return this.sendCommand("remove_notes_extended", [ | ||
fromTime, | ||
fromPitch, | ||
timeSpan, | ||
pitchSpan, | ||
]); | ||
} | ||
/** | ||
* Replaces selected notes with an array of new notes. | ||
@@ -171,0 +184,0 @@ */ |
{ | ||
"name": "ableton-js", | ||
"version": "3.3.2", | ||
"version": "3.3.3", | ||
"description": "Control Ableton Live from Node", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"ableton11:launch": "set -- /Applications/Ableton*11* && open \"$1\"", | ||
"ableton:logs": "tail -n 50 -f ~/Library/Preferences/Ableton/*/Log.txt | grep --line-buffered -i -e RemoteScriptError -e RemoteScriptMessage | sed 's/info: RemoteScriptMessage: (AbletonJS) //'", | ||
"ableton:logs": "tail -n 50 -f ~/Library/Preferences/Ableton/*/Log.txt | grep --line-buffered -i -e AbletonJS", | ||
"ableton:kill": "pkill -KILL -f \"Ableton Live\"", | ||
@@ -25,0 +25,0 @@ "ableton10:start": "yarn ableton:kill; yarn ableton:clean && yarn ableton:copy-script && yarn ableton10:launch && yarn ableton:logs", |
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
Sorry, the diff of this file is not supported yet
189761
76
3014