https://github.com/dbraun/abletonparsing
Parse an Ableton ASD clip file (warp markers and more) in Python
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Parse an Ableton ASD clip file (warp markers and more) in Python
Basic Info
Statistics
- Stars: 69
- Watchers: 4
- Forks: 8
- Open Issues: 3
- Releases: 2
Topics
Metadata Files
README.md
AbletonParsing
Parse an Ableton ASD clip file and its warp markers in Python. This module has been tested with .asd files saved with Ableton 9 and Ableton 10.
Note: Ableton Live 12 uses a different binary format that is not yet supported by this library.
Install
pip install abletonparsing
Development Dependencies
To run the tests, you'll need to install additional dependencies:
```bash
On macOS
brew install rubberband
On Ubuntu/Debian
sudo apt-get install -y rubberband-cli
Install Python test dependencies
pip install abletonparsing[test]
or
pip install -e ".[test]" # for development ```
API
Clip class: * .loopon - ( bool , READ/WRITE ) - Loop toggle is on * .startmarker - ( float , READ/WRITE ) - Start marker in beats relative to 1.1.1 * .endmarker - ( float , READ/WRITE ) - End marker in beats relative to 1.1.1 * .loopstart - ( float , READ/WRITE ) - Loop start in beats relative to 1.1.1 * .loopend - ( float , READ/WRITE ) - Loop end in beats relative to 1.1.1 * .hiddenloopstart - ( float , READ/WRITE ) - Hidden loop start in beats relative to 1.1.1 * .hiddenloopend - ( float , READ/WRITE ) - Hidden loop end in beats relative to 1.1.1 * .warpmarkers - ( list[WarpMarker] , READ/WRITE ) - List of warp markers * .warp_on - ( bool , READ/WRITE ) - Warping is on * .sr - ( float , READ/WRITE ) - Sample rate of audio data
WarpMarker class: * .seconds - ( float , READ/WRITE ) - Position in seconds in the audio data. * .beats - ( float , READ/WRITE ) - Position in "beats" (typically quarter note) relative to 1.1.1
If loop_on is false, then loop_start will equal the start_marker, and loop_end will equal the end_marker.
Example
```python import abletonparsing
import librosa import soundfile as sf import pyrubberband as pyrb
bpm = 130. audiopath = 'drums.wav' clippath = audio_path + '.asd'
audiodata, sr = librosa.load(audiopath, sr=None, mono=False) numsamples = audiodata.shape[1]
clip = abletonparsing.Clip(clippath, sr, numsamples)
timemap = clip.gettime_map(bpm)
Time-stretch the audio to the requested bpm.
outputaudio = pyrb.timemapstretch(audiodata.transpose(), sr, timemap)
with sf.SoundFile('output.wav', 'w', sr, 2, 'PCM24') as f: f.write(outputaudio) ```
Owner
- Name: David Braun
- Login: DBraun
- Kind: user
- Company: DIRT Design
- Website: https://dirt.design
- Twitter: DoItRealTime
- Repositories: 37
- Profile: https://github.com/DBraun
Do It Real-Time | Audiovisual ML, Faust, TouchDesigner | alum @ccrma
GitHub Events
Total
- Issues event: 2
- Watch event: 8
- Issue comment event: 5
- Push event: 4
- Pull request event: 3
- Fork event: 1
- Create event: 4
Last Year
- Issues event: 2
- Watch event: 8
- Issue comment event: 5
- Push event: 4
- Pull request event: 3
- Fork event: 1
- Create event: 4
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| David Braun | e****l@e****m | 8 |
| David Braun | 2****n | 6 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 2
- Average time to close issues: 12 months
- Average time to close pull requests: 4 minutes
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 3.0
- Average comments per pull request: 3.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 2
- Average time to close issues: about 14 hours
- Average time to close pull requests: 4 minutes
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 3.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- riban-bw (1)
- Nickyg001 (1)
- theaccessvirus (1)
- wyhinton (1)
Pull Request Authors
- DBraun (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 122 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
pypi.org: abletonparsing
Python module for parsing Ableton Live ASD clip files containing warp markers.
- Homepage: https://github.com/DBraun/AbletonParsing
- Documentation: https://abletonparsing.readthedocs.io/
- License: MIT License
-
Latest release: 0.1.3
published 9 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v4 composite
- anthropics/claude-code-action beta composite