
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@stnew/ableton-parser
Advanced tools
npm i @stnew/ableton-parser
To use with Node.js, pass a file path or URL to the .als
file in the Ableton
constructor:
import Ableton from '@stnew/ableton-parser'
const parser = new Ableton('/path/to/file.als')
getMidiTrack
- Returns a promise containing MIDI note timecodesgetLocatorData
- Returns a promise containing Locator timecodes, names, and annotationsgetDuration
- Returns a promise containing track durationconst handler = async (req, res) => {
const parser = new Ableton(req.url);
const midi = await parser.getMidiTrack();
const duration = await parser.getDuration();
const data = {
midi,
duration,
};
res.setHeader('Content-Type', 'application/json');
res.statusCode = 200;
res.end(JSON.stringify(data));
};
Install globally to process files via command-line:
npm i -g @stnew/ableton-parser
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
-m, --midi Extract MIDI note timecodes [boolean]
-l, --locators Extract Locator timecodes, names, and annotations [boolean]
-d, --duration Extract track duration [boolean]
You must specify a flag and a file path or url to the .als
file
ableton --midi path/to/file.als
ableton -mld https://example.com/path/to/file.als
FAQs
Return MIDI or Locator data from Ablton .als files
The npm package @stnew/ableton-parser receives a total of 0 weekly downloads. As such, @stnew/ableton-parser popularity was classified as not popular.
We found that @stnew/ableton-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.