dbraun / abletonparsing Goto Github PK
View Code? Open in Web Editor NEWParse an Ableton ASD clip file (warp markers and more) in Python
License: MIT License
Parse an Ableton ASD clip file (warp markers and more) in Python
License: MIT License
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?
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()
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.