Metadata-Version: 2.4
Name: aristech-ai-check
Version: 1.0.0
Summary: Checks audio files for the AI marking of Aristech TTS (EU AI Act Art. 50)
Keywords: ai-act,ai-generated,audio,c2pa,content-credentials,detection,speech,tts,watermark
Author: Aristech GmbH
License-Expression: MIT
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Natural Language :: German
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
Classifier: Typing :: Typed
Requires-Dist: numpy>=1.26
Requires-Dist: scipy>=1.11
Requires-Dist: soundfile>=0.12
Requires-Dist: onnxruntime>=1.19
Requires-Dist: c2pa-python>=0.39,<0.40
Requires-Dist: tinytag>=2.0
Requires-Python: >=3.10
Project-URL: Homepage, https://aristech.ai
Description-Content-Type: text/markdown

# aristech-ai-check

Checks audio files for the AI marking of Aristech TTS. Speech from Aristech TTS is
marked as AI-generated in line with Art. 50(2) of the EU AI Act:

- an inaudible watermark in the audio itself, in every output format
- a signed C2PA manifest (Content Credentials) in WAV files
- an unsigned note in the file's metadata (MP3, OGG, FLAC, WAV)

## Installation

```sh
pip install aristech-ai-check
```

Runs locally and offline on Linux, macOS and Windows. No audio is sent anywhere.

## Usage

```sh
aristech-ai-check speech.wav recording.mp3
```

```
speech.wav
  Watermark: present
  Signature: valid, signed by Aristech GmbH (Aristech TTS Signer), created 2026-11-26T11:52:22.473Z
  Metadata note: present ("Synthetic speech generated by aristech-tts-20cd4e418375")
  Result: AI-generated
recording.mp3
  Watermark: not found
  Signature: none
  Metadata note: none
  Result: no AI marking found
```

`--lang de` prints German, `--json` one JSON object per file. Supported formats: WAV
(including A-law and µ-law), FLAC, OGG and MP3. Stereo files are checked channel by
channel.

Exit code 0 means every file was checked, whatever the result. Exit code 1 means at
least one file could not be checked (for example because it is missing or not an
audio file).

## Reading the result

The result is "AI-generated", "inconclusive" or "no AI marking found".

- The watermark shows that the audio was generated by AI. Other providers use the
  same kind of watermark, so on its own it does not show that the audio comes from
  Aristech.
- A valid signature from Aristech GmbH proves that the file was generated by Aristech
  TTS and has not been changed since. It makes the result "AI-generated" in any case.
- The metadata note is shown for information only. It is unsigned and does not change
  the result.

"No AI marking found" does not prove that a recording is human speech.

## Python

```python
from aristech_ai_check import check_file

result = check_file("speech.wav")
print(result.verdict, result.signature)
```
