Skip to main content

A small example package

Project description

# commandLineMusicVideo

This is a Python3 [pip package](https://pypi.org/project/vinyl2digital) that connencts to Audacity’s [mod-script-pipe for Python scripting](https://manual.audacityteam.org/man/scripting.html).

This package will batch render each selection of an Audacity track to mp3 files with metadata tags based on a Discogs URL. vinyl2digital makes digitizing vinyl records much easier and faster.

![](demogif.gif)

## Quickstart * Install the package with this command: `pip install vinyl2digital==0.1.4` or `pip3 install vinyl2digital==0.1.4` * Launch Audacity from your terminal (Windows 10: `start audacity.exe`) * Record your audio, and splice each song as its own selection on the track (place the cursor and press Ctrl+i) ![step1](https://i.imgur.com/s7ktUmZ.png) * Run the installed package with `python3 -m vinyl2digital -h -t` to view the help page and test your package’s connecting to Audacity. * While Audacity is open, run the pip package from the command line.

## Audacity Connection Follow the step’s listed on [this](https://manual.audacityteam.org/man/scripting.html#Enable_mod-script-pipe) page: Go to “Audacity -> Edit -> Preferences -> Modules” and set the “mod-script-pipe” parameter to “Enabled”, restart Audacity and confirm that “mod-script-pipe” is set to “Enabled” by default.

## Example commands: `python3 -m vinyl2digital -discogs 1525832 -img front.jpg "C:\Users\marti\Documents\martinradio\uploads\testFolder"` This command: * Will get the metadata from the [Discogs release page with id=1525832](https://www.discogs.com/Anthony-And-The-Camp-Suspense/release/1525832) * Will tag the output mp3 files with albumart from the location: `C:\Users\marti\Documents\martinradio\uploads\testFolder\front.jpg` * Will render each selection from the open Audacity program as an individual mp3 file in order from left to right, with tags for title, album name, artist, year, track number, and title. The files will be rendered to `C:\Users\marti\Documents\martinradio\uploads\testFolder`

## Flags

`-t` Test audacity pipe “Help” commands.

`--h` View the help page

`--discogs 2342323` Discogs release ID from URL to base tags off of.

`--img front.jpg` (optional) Filename of image located inside your output folder to use as albumart for mp3 files.

`-noTags` Including this tag means your mp3 files won’t be tagged for title, artist, album, year, and track number.

`-h` Display help.

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

vinyl2digital-0.1.5.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

vinyl2digital-0.1.5-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

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