ablx.directory

Major MIDI Export

v0.1.0

Ableton Extension to export to Major MIDI

Zack Hagan—No ratings yet

Unverified listing. This repo is new or has little community activity and the developer has not claimed it. Extensions run code inside Live — read the source, check the author, and only install things you trust.

README · rendered from GitHubView source

Major MIDI Export

An Ableton Live extension that exports a set's Arrangement view for Major MIDI: a Standard MIDI File, plus a SoundFont when tracks bring their own sounds.

Work in progress. It uses the beta Ableton Extensions SDK.

What it does

Right-click a track and choose Major MIDI: Export Song, or select a time range and choose Export Time Selection. Each MIDI track gets a channel and a sound:

SoundResult
General MIDIThe notes only. The module needs a General MIDI SoundFont
Original samplesDrum Rack pads that use Simpler become one-shots in the song's SoundFont
LoopThe track is recorded in sections. Sections with the same notes share a recording, and the MIDI file plays one note per section

Tracks set to General MIDI are silent when the module uses the song's own SoundFont.

Files are written to the extension's storage folder under exports/<song>/. Copy the .mid file into the SD card's midi folder and the .sf2 file into soundfonts.

Setup

Needs Node.js 24.16 or later, a Live build that supports Extensions, and the Extensions SDK from Ableton. The SDK's licence does not allow redistributing it, so it is not in this repository.

  1. Copy ableton-extensions-sdk-1.0.0-beta.1.tgz and ableton-extensions-cli-1.0.0-beta.1.tgz from the SDK into vendor/.

  2. Create .env with the path to Live's Extension Host, for example:

    EXTENSION_HOST_PATH=/Applications/Ableton Live 12 Beta.app/Contents/Helpers/ExtensionHost/ExtensionHostNodeModule.node
    
  3. npm install

Capture script

Live's SDK cannot render instrument tracks, so Loop mode records them with a Remote Script.

  1. npm run install:remote-script (pass your User Library path if it is not in the default place).
  2. Restart Live.
  3. In Settings, open Link, Tempo & MIDI and choose MajorMIDICapture as a Control Surface, with Input and Output set to None.

The script listens on 127.0.0.1:53177 only. It adds an audio track, records one track into it, then removes it and restores solo, arm, loop, punch and playback position. Recordings remain in the project's Samples/Recorded folder.

Rerun the install and restart Live after changing the script.

Run

Turn on Developer Mode in Live's Extensions settings, then:

npm start          # build and load into Live
npm run package    # build an .ablx archive
npm test

npm test needs Python 3. Some tests play exported files through the module's own MIDI parser and synth. They run when a C++ compiler and a major-midi checkout are available (beside this repository's parent folder, or set MAJOR_MIDI_DIR), and are skipped otherwise.

Limits

  • Tempo is a single value, and the time signature is entered by hand.
  • No controller data, pitch bend or automation in the MIDI file. Loop recordings do include automation, but sections that share a recording sound alike.
  • About 28 MB of samples fit in the module.
  • Loops are mono, do not follow tempo changes on the module, and exclude return track effects.
  • Leave the module's transpose at 0 if loops use channels other than 10.

Rate this extension

One rating per account; you can change it any time.

No ratings yet — be the first

Comments

Sign in to join the discussion.Sign in

No comments yet.