GithubHelp home page GithubHelp logo

dbraun / abletonparsing Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 5.0 686 KB

Parse an Ableton ASD clip file (warp markers and more) in Python

License: MIT License

Python 100.00%
ableton audio python rubberband time-stretching warp-markers

abletonparsing's People

Contributors

dbraun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

abletonparsing's Issues

Traktor to Ableton Warp

It would be possible to have a list of the database coming from DJ software (traktor, rekordbox, etc.), taking into account that from these DBs we can recover path file, starting point (1.1.1) and Bpm and create the analysis file via script *.asd taking these values into consideration to set the first warp marker 1.1.1, and from then on a constant bpm scan e.g. 130 always taken from traktor db file?

Incorrect parsing of ASD files saved on macOS Ableton 10.1.30

I'm running the provided example and having a hard time understanding the values of Clip.start_marker/Clip.end_marker. The time values returned seem to be very large, what units are they in? Is there a way to convert this value to seconds?

import abletonparsing
import librosa

def test():
    bpm = 130.
    audio_path = 'test.wav'
    clip_path = audio_path + '.asd'

    audio_data, sr = librosa.load(audio_path, sr=None, mono=False)
    num_samples = audio_data.shape[1]

    clip = abletonparsing.Clip(clip_path, sr, num_samples)
    print(clip.start_marker)
    # 5.742306885616792e+72
test()

Pip install not working

I used pip install abletonparsing to install the module and that appeared to succeed but attempts to use the module return ModuleNotFoundError: No module named 'abletonparsing'. The installation directory does not seem to contain the module code:

ls -l /usr/local/lib/python3.7/dist-packages/abletonparsing-0.1.2.dist-info/
total 24
-rw-r--r-- 1 root staff    4 Jun 26 16:11 INSTALLER
-rw-r--r-- 1 root staff 1089 Jun 26 16:11 LICENSE
-rw-r--r-- 1 root staff 2455 Jun 26 16:11 METADATA
-rw-r--r-- 1 root staff  520 Jun 26 16:11 RECORD
-rw-r--r-- 1 root staff    1 Jun 26 16:11 top_level.txt
-rw-r--r-- 1 root staff   92 Jun 26 16:11 WHEEL

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.