Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Report something that does not work as expected
about: Report something that doesn't work as expected
title: "[Bug] "
labels: bug
---
Expand All @@ -11,23 +11,23 @@ Output of `acid2reaper --version`:

## Platform

OS and version (e.g. macOS 15, Windows 11, Ubuntu 24.04):
OS and version (for example macOS 15, Windows 11, Ubuntu 24.04):

## Steps to reproduce

1.
2.

## Expected behavior
## Expected behaviour


## Actual behavior
## Actual behaviour


## Sample file (optional)

Describe the ACID project type (.acd / .acd-zip) and whether you can share a minimal repro (attach or link).
Say which ACID project type it is (.acd or .acd-zip) and whether you can share a minimal repro (attach or link).

For a project that converts with the **wrong tempo, meter, timing or media**,
If a project converts with the **wrong tempo, meter, timing or media**,
use the [Format sample](?template=format_sample.md) template instead, and
include the output of `acid2reaper your-project.acd out.rpp -v`.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ labels: enhancement

## Problem / use case

<!-- What workflow would this improve? -->
<!-- Which workflow would this improve? -->

## Proposed solution

<!-- Optional: how you imagine it working -->
<!-- Optional: how you'd like it to work -->

## Alternatives considered

Expand Down
18 changes: 9 additions & 9 deletions .github/ISSUE_TEMPLATE/format_sample.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Format sample / decoding problem
about: A project that converts incorrectly, or an ACID variant that is not handled
about: A project that converts incorrectly, or an ACID variant ACID2Reaper doesn't handle
title: "[Format] "
labels: format
---
Expand All @@ -12,8 +12,8 @@ found, a one-shot that got stretched -->

## What it should be

<!-- The project's real tempo and time signature, and how you know -- opening it
in ACID, or a rendered mixdown that matches. -->
<!-- The project's real tempo and time signature, and how you know: you opened
it in ACID, or a rendered mixdown matches. -->

## Conversion diagnostics

Expand All @@ -24,20 +24,20 @@ acid2reaper your-project.acd out.rpp -v
```

<!-- This reports the decoded tempo and meter, any sources left unstretched, and
any media that could not be found. -->
any media that couldn't be found. -->

## ACID version

Which ACID release saved the project, if you know. Different builds store the
same information in different places, so this matters.
same information in different places.

## Sample file

The most useful thing you can attach is the `.acd` itself — especially a project
in a meter other than x/4, which nothing in the current corpus covers.
The most useful attachment is the `.acd` itself, above all a project in a meter
other than x/4, which nothing in the current corpus covers.

If you cannot share the project, a structural fingerprint carries no audio, no
file names and no project bytes, and is still useful:
If you can't share the project, a structural fingerprint is still useful. It
carries no audio, no file names and no project bytes:

```bash
python scripts/build_corpus_manifest.py --corpus-dir /folder/with/the/project --out sample.json
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Release builds run `python scripts/verify_changelog.py` so every published version
must have a matching section below.

## [Unreleased]

### Changed

- Reworded the README, the command-line help, the graphical window's labels and messages, and the issue templates. No behaviour or converter output changes.

## [0.2.0] - 2026-09-20

Conversion correctness release. Running the converter over 245 real ACID projects
Expand Down
39 changes: 19 additions & 20 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Contributing to ACID2Reaper

Thank you for your interest in improving **ACID2Reaper** (currently in beta, 0.2.x).
ACID2Reaper is in beta (0.2.x), and contributions are welcome.

## Ground rules

- Follow the [Code of Conduct](CODE_OF_CONDUCT.md).
- Prefer small, focused pull requests with a clear description of **what** and **why**.
- Run tests locally: `pytest` (with `pip install ".[dev]"`).
- Run the linter: `ruff check src tests scripts`.
- Keep pull requests small and focused, and describe **what** changed and **why**.
- Run the tests locally with `pytest` (after `pip install ".[dev]"`).
- Run the linter with `ruff check src tests scripts`.

## Tests

Expand All @@ -18,46 +18,45 @@ pytest
ruff check src tests scripts
```

Three suites are opt-in, because they need something this repository does not
ship, and are skipped without it:
Three suites are opt-in. Each needs something this repository doesn't
ship, and each is skipped without it:

| Suite | Enable with | Needs |
| --- | --- | --- |
| Real-project corpus | `ACID2REAPER_CORPUS_DIR=/path/to/projects` | A folder of real `.acd` files |
| REAPER oracle | `ACID2REAPER_REAPER_ORACLE=1` | A local REAPER install; attended, as an unlicensed REAPER shows a nag dialog |
| Network harvesting | `ACID2REAPER_ALLOW_NETWORK=1` | Internet access |

If a change alters converter output on purpose, review the diff and regenerate
If a change alters converter output on purpose, read the diff and regenerate
the golden projects:

```bash
python scripts/update_goldens.py
```

CI runs `python scripts/update_goldens.py --check`, so an unreviewed golden
cannot drift in.
CI runs `python scripts/update_goldens.py --check`, so a golden project can't change without a reviewed diff.

### Contributing format knowledge

The most valuable contribution is a real `.acd` file that exercises something
the current corpus does not — a genuine x/8 project above all, since the
quarter-note tempo assumption in `acid_timing.seconds_per_tick` cannot be
The most useful contribution is a real `.acd` file that covers something the
current corpus doesn't. A genuine x/8 project is the first need, because the
quarter-note tempo assumption in `acid_timing.seconds_per_tick` can't be
settled without one. Please attach it to an issue.

If you cannot share the file itself, `scripts/build_corpus_manifest.py` reduces
a folder of projects to structural fingerprints — no audio, no file names, no
project bytes — which is enough to extend coverage.
If you can't share the file itself, `scripts/build_corpus_manifest.py` reduces
a folder of projects to structural fingerprints (no audio, no file names, no
project bytes), which is enough to extend coverage.

## Changelog (required for user-visible changes)

This project uses [Keep a Changelog](https://keepachangelog.com/) in [CHANGELOG.md](CHANGELOG.md).

- For any change that affects **users** (features, fixes, security, packaging), add a **`[Unreleased]`** note or a new `## [x.y.z]` section when preparing a release.
- Release builds run `python scripts/verify_changelog.py`; the current `pyproject.toml` **version** must have a matching `## [x.y.z]` heading in `CHANGELOG.md`.
- Any change that affects **users** (features, fixes, security, packaging) needs an **`[Unreleased]`** note, or a new `## [x.y.z]` section when you prepare a release.
- Release builds run `python scripts/verify_changelog.py`. The `pyproject.toml` **version** must have a matching `## [x.y.z]` heading in `CHANGELOG.md`.

## Releases (maintainers)

Git tags for GitHub should use a **`v` prefix** and semver; use **pre-release** tag names (e.g. `v0.2.0-beta.1`) when the build is not meant for production. See [RELEASING.md](RELEASING.md).
Git tags for GitHub use a **`v` prefix** and semver. Use a **pre-release** tag name (for example `v0.2.0-beta.1`) when the build isn't meant for production. See [RELEASING.md](RELEASING.md).

## Development setup

Expand All @@ -71,6 +70,6 @@ pytest

## Pull requests

- Link related issues when applicable.
- Link related issues.
- Update **CHANGELOG.md** for user-facing changes (see above).
- Do not commit secrets, large binaries, or `dist/` / `build/` output.
- Don't commit secrets, large binaries, or `dist/` or `build/` output.
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
# ACID2Reaper

**Beta — version 0.2.** Convert **Sonic Foundry / Sony / MAGIX ACID** projects (`.acd`, `.acd-bak`, `.acd-zip`) to **Cockos REAPER** `.rpp` projects.
**Beta, version 0.2.** ACID2Reaper converts **Sonic Foundry / Sony / MAGIX ACID** projects (`.acd`, `.acd-bak`, `.acd-zip`) to **Cockos REAPER** `.rpp` projects.

[![CI](https://github.com/gorfednet/ACID2REAPER/actions/workflows/ci.yml/badge.svg)](https://github.com/gorfednet/ACID2REAPER/actions/workflows/ci.yml)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](LICENSE)

## Features

- **CLI** and optional **graphical** interface (Tkinter, cross-platform).
- A **command-line** tool and an optional **graphical** window (Tkinter, on macOS, Windows and Linux).
- **Structural timeline parsing** for the GUID-chunked Wave64 ACID layout across
multiple ACID build generations, plus conservative fingerprint/heuristic
handling of other variants.
- **Tempo, time signature and beat-mapping** decoded from the project's own
timebase record, with one-shots left unstretched.
- **Safety limits** on file and ZIP sizes, path validation, and sanitized paths in exported RPP.
several ACID build generations. Other variants get a cautious fingerprint and
heuristic read.
- **Tempo, time signature and beat mapping** decoded from the project's own
timebase record. One-shots stay unstretched.
- **Safety limits** on file and ZIP sizes, path validation, and sanitized paths in the exported RPP.
- **PyInstaller** recipes for **macOS** (`.app` / `.dmg`), **Windows** (folder + `ACID2Reaper.exe`), and **Linux** (tarball).

Parsing cannot guarantee 100% parity with ACID; always open the result in REAPER and verify tempo, stretch, media, and automation.
ACID2Reaper can't guarantee 100% parity with ACID, so open the result in REAPER and check the tempo, stretch, media and automation.

For the Sony Wave64-style ACID layout, the converter reads project tempo, PPQ
For the Sony Wave64-style ACID layout, ACID2Reaper reads the project tempo, PPQ
and time signature from the project's timebase record, and emits each event at
its decoded timeline position and length. It also reads the per-track cached
source loop `acid` chunk and exports its tempo as a REAPER `PLAYRATE` (pitch
preserved), so loops authored at a different tempo than the project are
beat-mapped rather than played at their raw speed — except for one-shots, which
are left alone. Uncatalogued container variants still fall back to neutral media
preserved). A loop authored at a different tempo than the project is therefore
beat-mapped instead of played at its raw speed; one-shots are left alone.
Container variants that aren't catalogued still fall back to neutral media
references at `0:00`.

Diagnostics from the conversion — decoded tempo and meter, sources left
unstretched, media that could not be found — are written into the project's
REAPER `NOTES` block, and printed to stderr with `-v`.
ACID2Reaper writes its diagnostics (decoded tempo and meter, sources left
unstretched, media it couldn't find) into the project's REAPER `NOTES` block,
and prints them to stderr with `-v`.

## Format coverage and known limitations

The GUID chunk roles and byte offsets are catalogued in
[`src/acid2reaper/data/acd_signatures.json`](src/acid2reaper/data/acd_signatures.json)
under `wave64_layout`, which marks each chunk as decoded or undecoded.

Decoding is validated three ways: byte-level agreement with a real ACID 3-era
project, a structural corpus of 245 real projects spanning roughly 2005–2008 and
thirty distinct build layouts (`tests/fixtures/corpus_manifest.json` — structural
fingerprints only, no audio or file names), and synthetic fixtures covering the
meters, layouts and edge cases no real sample was available for.
Decoding is validated three ways. One is byte-level agreement with a real ACID 3-era
project. Another is a structural corpus of 245 real projects spanning roughly 2005–2008 and
thirty distinct build layouts (`tests/fixtures/corpus_manifest.json`, which holds structural
fingerprints only, with no audio or file names). The third is synthetic fixtures for the
meters, layouts and edge cases that no real sample covered.

What is **verified**:

Expand All @@ -54,7 +54,7 @@ What is **verified**:
can legally be a denominator, so the pair resolves itself.
- **Multi-track projects, across builds.** Older builds store a track's media
path in the track record; newer builds use a dedicated leaf. Both are read,
which is why projects saved by different ACID versions now convert alike.
so projects saved by different ACID versions now convert alike.
- **One-shots.** The cached `acid` chunk's flag word is decoded, and sources
flagged as one-shots are never stretched.

Expand All @@ -75,8 +75,8 @@ What remains **unverified or unsupported**:
which covers WAV and AIFF only; other formats fall back to a default length
when the project does not supply one.

If you have `.acd` files that exercise the unverified cases — especially a
genuine x/8 project — please attach them to an issue.
If you have `.acd` files that exercise the unverified cases, especially a
genuine x/8 project, please attach them to an issue.

## Requirements

Expand Down Expand Up @@ -109,7 +109,7 @@ Optional: `python3 -m pip install ".[ole]"` for OLE compound project support whe
## Usage

```bash
# Convert; writes alongside the input unless you pass an output path
# Convert; the output is written next to the input unless you pass an output path
acid2reaper path/to/project.acd

# The output path is positional; --media-dir may be repeated
Expand All @@ -118,7 +118,7 @@ acid2reaper path/to/bundle.acd-zip out.rpp --media-dir /path/to/audio
# Show what was decoded (tempo, meter, unstretched sources, missing media)
acid2reaper path/to/project.acd -v

# Override the time signature when a project comes out wrong
# Override the time signature when a project converts with the wrong one
acid2reaper path/to/project.acd --time-sig 6/8
acid2reaper path/to/project.acd --time-sig-order num-den

Expand All @@ -129,7 +129,7 @@ acid2reaper --gui

## Version

- **Package version:** `0.2.0` (see `src/acid2reaper/_version.py`). Distributed via **GitHub Releases** (PyPI optional later).
- **Package version:** `0.2.0` (see `src/acid2reaper/_version.py`). It's distributed through **GitHub Releases**; PyPI may follow.
- **Marketing label:** **0.2 (Beta)**.

```bash
Expand Down Expand Up @@ -159,7 +159,7 @@ python scripts/update_goldens.py --check # CI uses this

## Building binaries

See [packaging/BUILD.md](packaging/BUILD.md). For **git tag names** and automated **GitHub Releases** (sdist/wheel on tag push), see [RELEASING.md](RELEASING.md). Every release build should pass:
See [packaging/BUILD.md](packaging/BUILD.md). For **git tag names** and automated **GitHub Releases** (sdist and wheel on tag push), see [RELEASING.md](RELEASING.md). Every release build must pass:

```bash
python scripts/verify_changelog.py
Expand All @@ -179,7 +179,7 @@ See [SECURITY.md](SECURITY.md).

## License

[Creative Commons Attribution 4.0 International (CC BY 4.0)](LICENSE). You may use, share, and build on this work (including in modified form) if you **give appropriate credit**, link to the license, and **indicate changes** where applicable—see Section 3(a) of the license text.
[Creative Commons Attribution 4.0 International (CC BY 4.0)](LICENSE). You may use, share and build on this work (including in modified form) if you **give appropriate credit**, link to the licence and **indicate changes** where applicable. See Section 3(a) of the licence text.

## Trademarks

Expand Down
12 changes: 6 additions & 6 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

## Credentials and repository hygiene

**Never commit** SSH private keys, API tokens, or passwords to this repository. Keep keys in `~/.ssh/` (mode `600` on private keys) or your OS secret store. If a secret was ever exposed in a remote, **rotate** it (new key, revoke token) even after the repository is recreated.
**Never commit** SSH private keys, API tokens or passwords to this repository. Keep keys in `~/.ssh/` (mode `600` on private keys) or your OS secret store. If a secret was ever exposed in a remote, **rotate** it (issue a new key, revoke the token), even after the repository is recreated.

## Supported versions

We aim to support the **latest release** on the `main` branch. This project is currently in its **first public beta**; pre-release builds may receive fixes at maintainers’ discretion.
The **latest release** on the `main` branch is the supported version. ACID2Reaper is in its **first public beta**, and the maintainers fix pre-release builds at their discretion.

## Reporting a vulnerability

Please **do not** open a public issue for security vulnerabilities.
**Don't** open a public issue for a security vulnerability.

1. Open a **private security advisory** via GitHub (**Security → Advisories → Report a vulnerability**) on [ACID2Reaper](https://github.com/gorfednet/ACID2REAPER), or
2. Contact the repository owners with a clear description, steps to reproduce, and impact.
2. Contact the repository owners with a description, the steps to reproduce and the impact.

We will acknowledge receipt as soon as practical and coordinate disclosure.
We'll acknowledge your report as soon as practical and coordinate disclosure with you.

## Scope

ACID2Reaper is a **local** tool: it reads project files and writes `.rpp` output. It does not expose a network service by default. Reports about malicious `.acd` / `.acd-zip` files are in scope (e.g., zip bombs, path traversal); please include a **safe** proof of concept or redacted sample when possible.
ACID2Reaper is a **local** tool. It reads project files and writes `.rpp` output, and it doesn't expose a network service by default. Reports about malicious `.acd` or `.acd-zip` files are in scope (zip bombs and path traversal, for example); include a **safe** proof of concept or a redacted sample when you can.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "acid2reaper"
version = "0.2.0"
description = "ACID2Reaper — first public beta: convert Sonic Foundry / Sony / MAGIX ACID projects to Cockos REAPER (.rpp)."
description = "ACID2Reaper converts Sonic Foundry / Sony / MAGIX ACID projects to Cockos REAPER (.rpp). First public beta."
readme = "README.md"
license = "CC-BY-4.0"
requires-python = ">=3.9"
Expand Down
Loading
Loading