Skip to content

Incorrect parsing of ASD files saved on macOS Ableton 10.1.30 #1

@wyhinton

Description

@wyhinton

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()

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions