Coder Social home page Coder Social logo

loive's Introduction

loive

Ableton live project parser

This is all on very early development stage:

Following Michael Garriss great blog post ( http://crooked-hideout.blogspot.com/ )

do the following:

$ cp example.als example.gz
$ gunzip example.gz
$ file	example
example: XML  document text

include XML document in run-folder

I have included this now so all you need to enter is a string to your ableton file

import loive

lp = loive.Loive('example.als')

performs copy and gzip, parses the data

NOTE: I think this only works with newer versions of ableton live 8 and above

Dependencies

etree		--For XML parsing	Link : http://docs.python.org/2/library/xml.etree.elementtree.html
pprint		--Default			Link : http://docs.python.org/2/library/pprint.html 
colorama	--color				Link : https://pypi.python.org/pypi/colorama

Shell

run:

python main.py example.als

This will parse information about the live session example.als

type -h for help

commands

  -h		 	   :   List all commands
  -q		 	   :   Exit shell
  efx_local		   :   Lists all local devices
  efx_global	   :   Lists all global devices / VST,AU plugins
  pluginInfo	   :   Display all information about local/global plugin devices
  version	 	   :   Display project version
  print-summary    :   Prints summary of ableton-project, tracks, plugins etc..
  load		 	   :   Loads new als file
  manufacturers    :   Lists manufacturers of items that declare them 

Class examples:

import loive

lp = loive.Loive('lojibeat.als')
lp.print_summary()

Prints the status of the file, tracks, vst plugins etc..

You can run full paths to ableton project as well:

lp = loive.Loive('/Users/someuser/path/to/ableton-set.als')

lp.live_version()

returns

[Ableton Live 8.1.3]

Get Plugin info:

lp.getPluginInfo()

prints

Ableton Effects: 

[   'AuPluginDevice',
	'Compressor2',
	'Erosion',
	'PingPongDelay',
	'OriginalSimpler',
	'MidiArpeggiator',
	'Reverb',
	'DrumGroupDevice']


Global Effects/VST: 

['Circle', 'GuitarRig2 FX', 'FM8', 'OhmBoyz']

Tested with Ableton live 8.1.3 and live 9.0.4

screenshot:

Alt text

loive's People

Watchers

Thomas Frössman avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.