Skip to content

Commit

Permalink
📝 Fix details in readme (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
fizzy123 authored Mar 18, 2022
1 parent 02a6108 commit 9f92c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ get an overview of the current of your set.

To use this library, you'll need to install and activate the MIDI Remote Script
in Ableton.js. To do that, copy the `midi-script` folder of this repo to
Ableton's Remote Scripts folder. If you prefer, you can rename it to something
like `AbletonJS` for better identification. The MIDI Remote Scripts folder is
Ableton's Remote Scripts folder and rename it to `AbletonJS`. The MIDI Remote Scripts folder is
usually located at:

- **Windows:** {path to Ableton}\Resources\MIDI\Remote Scripts
Expand Down Expand Up @@ -55,8 +54,8 @@ const test = async () => {
ableton.song.addListener("is_playing", (p) => console.log("Playing:", p));
ableton.song.addListener("tempo", (t) => console.log("Tempo:", t));

const cues = await ableton.get("cue_points");
console.log(cues.map((c) => c.raw));
const tempo = await ableton.song.get("tempo");
console.log(tempo);
};

test();
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class Ableton extends EventEmitter implements ConnectionEventEmitter {
[
`The command ${cls}.${name}(${arg}) timed out after ${timeout} ms.`,
`Please make sure that Ableton is running and that you have the latest`,
`version of AbletonJS' midi script installed, listening on port`,
`version of AbletonJS' midi script installed and renamed to "AbletonJS", listening on port`,
`${this.sendPort} and sending on port ${this.listenPort}.`,
].join(" "),
payload,
Expand Down

0 comments on commit 9f92c9e

Please sign in to comment.