aimastering-tools

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 11 Imported by: 0

README

AI Mastering tools

This repository includes

  • Command line tools to execute automated mastering using AI Mastering API
  • Source code of above

This repository may be helpful as to how to use the AI Mastering API.

Install

Windows

Please download executable binary.

https://github.com/ai-mastering/aimastering-tools/releases/download/v1.0.2/aimastering-windows-386.exe

Mac

Please execute following commands.

sudo curl -L "https://github.com/ai-mastering/aimastering-tools/releases/download/v1.0.2/aimastering-darwin-386" -o /usr/local/bin/aimastering
sudo chmod +x /usr/local/bin/aimastering
Linux

Please execute following commands.

sudo curl -L "https://github.com/ai-mastering/aimastering-tools/releases/download/v1.0.2/aimastering-linux-386" -o /usr/local/bin/aimastering
sudo chmod +x /usr/local/bin/aimastering
Bash completion

Please add following command to ~/.bash_profile

eval "$(aimastering autocomplete --shell bash)"
Zsh completion (not tested)

Please add following command to ~/.zshenv

eval "$(aimastering autocomplete --shell zsh)"

Command line tool usage

Auth

Please set AIMASTERING_ACCESS_TOKEN env var. access token can be retrieved https://aimastering.com/app/developer.

export AIMASTERING_ACCESS_TOKEN=xxx

Access token can also be passed by --access-token options.

Basic
Pass access token by env var
export AIMASTERING_ACCESS_TOKEN=xxx
aimastering master --input /path/to/input.wav --output /path/to/output.wav
Pass access token by argument
aimastering master --input /path/to/input.wav --output /path/to/output.wav --access-token=xxx
Options
Target Loudness

Target loudness -6dB

aimastering master --input input.wav --output output.wav --target-loudness -6
Other options

Please see

aimastering --help
aimastering master --help

Requirements

No dependencies

Notes

This tool is an auxiliary tool of AI Mastering. We do not guarantee the maintenance of this tool.

Development

Setup
go mod tidy
Build
go build main.go

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL