Skip to main content

AI-powered audio editor controllable via natural language.

Project description

PyPI PyPI - License

Cutted

Cutted is an AI-powered audio editor you control with natural language.

  • Cut, trim, or adjust volume by typing what you want
  • Detect and remove silence or loud parts automatically
  • Transcribe audio (with Whisper)
  • Undo edits, export as MP3 or WAV

Install

  1. Make sure FFmpeg is installed.
  2. Install Cutted:
    pip install cutted
    
    With Whisper support:
    pip install cutted[whisper]
    

Usage

python -m cutted

Load an audio file, enter your command in plain English, and export your result.
You can also enable or disable chat history for smarter follow-up actions in the settings menu (gear icon).


Usage Examples

Basic Editing

  • Cut a segment:

    cut from 10 to 20
    

    Removes audio between 10s and 20s.

  • Remove multiple segments:

    cut from 5 to 7 and from 15 to 18
    
  • Change volume:

    make 0 to 5 seconds twice as loud
    

    or

    reduce volume from 10 to 12 by half
    
  • Remove silence:

    remove all silent parts
    

    Note: Removing silence is experimental and can be buggy or produce bad results in some cases.

  • Undo last edit:
    Click the "Undo" button.

  • Export your result:
    Click the "Export" button and choose MP3 or WAV.

Advanced: Using Whisper Transcription

If you install with Whisper support and enable "Send transcript to Gemini" in the UI, you can use commands like:

  • Cut by word or sentence:
    cut when I say the word hello
    
    or
    cut the sentence "welcome to the show"
    

    This uses Whisper to transcribe your audio and allows precise editing based on spoken words or phrases.

Audio-to-Gemini (Experimental)

If you enable "Send audio to Gemini" (checkbox), you can also use word-based commands, but accuracy is much lower compared to using Whisper.


Gemini API Key

Set your Gemini API key as an environment variable before running Cutted:

Linux/macOS:

export GEMINI_API_KEY="your-gemini-api-key"

Windows (Command Prompt):

set GEMINI_API_KEY=your-gemini-api-key

Windows (PowerShell):

$env:GEMINI_API_KEY="your-gemini-api-key"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cutted-0.4.2.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cutted-0.4.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file cutted-0.4.2.tar.gz.

File metadata

  • Download URL: cutted-0.4.2.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for cutted-0.4.2.tar.gz
Algorithm Hash digest
SHA256 e491c496e9ad0a5ff81122f40bcdbc686db756e228995ea19e2540c32031d344
MD5 29081d119f9133f79d5b7fd8aa1a5856
BLAKE2b-256 b31128f610153ff5422b5c1e145a26e5c8e60c1cd3fcdab6a5a2b01be9ff1afa

See more details on using hashes here.

File details

Details for the file cutted-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: cutted-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for cutted-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f73ef149759c8e78e263f7e7bbb00a58d4684eb6b8754d3fda8377d2f2e5391c
MD5 4f489bb0b181563ab409913d82f13497
BLAKE2b-256 bdc72ea775f9dff05d9448d04b9183569cee96bdda9c28b647640f92d467a27a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page