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.0.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.0-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wav2polaris-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6f84d95dd4d281789c7483baaf4704aa60a2ad9566b6857c6dd1daa7965c18ff
MD5 c452aa17feb726da7947bab2e972058f
BLAKE2b-256 eaba5d1c501e6085d24b4387b676c96e5122f993596684d387fb1a6762566512

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wav2polaris-0.4.0-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.3

File hashes

Hashes for wav2polaris-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ef01de96bf62783fad1b475a7dd3e5bb523d5d2626be35a8fda6a6263ad5362
MD5 5d28a691ae286d8f70cf2485b65c4242
BLAKE2b-256 2d6d4ca378a3a09cc221d4fb9ca6f5cd07c797755b91054b77acad66190a307d

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