Skip to main content

Python program for converting lightsaber sound font .wav files to .RAW files for Polaris Anima sabers

Project description

wav2polaris

wav2polaris is a Python library and command-line utility for converting lightsaber sound font .wav files into .RAW files for use with a Polaris Anima-based lightsaber, such as those from Lama di Luce or LudoSport Atlas.

Lightsaber icons created by Nhor Phai - Flaticon. Sound wave icon by KMpumlwana (WMF), CC0, via Wikimedia Commons

Features

  • Automatically converts the input .wav to the correct sound parameters for Polaris Anima
  • Automatically translate file names from various common lightsaber sound font formats (CFX, Proffie, Verso, Xenopixel) to Polaris Anima standard
  • Optionally ignore files that can't be matched to a Polaris standard filename (e.g., to exclude things like stabs, drags, force, and other effects that Polaris Anima doesn't use.)
  • Process a single file or mutliple files at once
  • Process all .wav files in a directory/folder
  • Supports File Explorer drag-and-drop or command-line usage
  • Optionally trim sound files to Anima NXT-compatible lengths (Experimental)

Program Usage

Drag-and-Drop

Download the pre-built executable for your OS. In Windows Explorer or macOS Finder, drag the files or folder you want to convert onto the wav2polaris icon. wav2polaris will convert any .wav files and place the equivalent .RAW files in the same location.

Command Line

Download the pre-built executable for your OS. Place it in the folder with your .wav files or somewhere in your environment's PATH.

Alternately, if you have Python3 installed on your system, you can install with the command: pip install wav2polaris.

usage: wav2polaris [-h] [-v] [-s | -w] [-c] [-D] [-N] [-T] [-o OUTDIR] [-E] [files ...]

A utility for converting lightsaber sound font .wav files to .RAW files for Polaris Anima sabers.

positional arguments:
  files                 one or more .wav files to convert (separated by spaces)

options:
  -h, --help            show this help message and exit
  -v, --version         display version and author information, then exit
  -s, --silent          exit without waiting for keypress
  -w, --wait            wait for keypress before exiting (default)
  -c, --continue-on-file-not-found
                        if one or more specified files do not exist, continue processing the remaining files (otherwise
                        program will exit)
  -D, --debug           Show debugging information
  -N, --no-rename       do not attempt to rename output files to Polaris standards (e.g., CLASH_1_0.RAW)
  -T, --trim            Trim output files to NXT-compatible lengths (Experimental)
  -o, --outdir OUTDIR   put output files in specified directory (will be created if it does not exist)
  -E, --exclude-unmatched
                        do not process files that cannot be matched to a standard Polaris filename

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

wav2polaris-0.4.1.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

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

wav2polaris-0.4.1-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

Details for the file wav2polaris-0.4.1.tar.gz.

File metadata

  • Download URL: wav2polaris-0.4.1.tar.gz
  • Upload date:
  • Size: 57.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wav2polaris-0.4.1.tar.gz
Algorithm Hash digest
SHA256 41ee4debb6820bf01ddaf89f79de40c41446433d78908d5682851f3319cbfeba
MD5 2de6ca77a4a3bda2a0e690718ab0221f
BLAKE2b-256 0ac850367697e2f31988661941775eb39672f6427729003f46182542ae647046

See more details on using hashes here.

File details

Details for the file wav2polaris-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: wav2polaris-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 46.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wav2polaris-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 456d80c313ce530928818535633f91207d6f619aa232aa8eb95e142f3d925214
MD5 e96dbefd8916d147fc7276399f5bd565
BLAKE2b-256 bf0a5ebfdd2b5dad9e5f0d3f88c5adff19077a62b93d65d032df104a64107477

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