Expand description
freesound-credits is a simple program to generate Freesound credits in a usable markdown file.
§Usage
Simple program to generate Freesound credits in a usable markdown file
Usage: freesound-credits [OPTIONS] --path <PATH> --title <TITLE> --date <DATE> --artist <ARTIST>
Options:
-p, --path <PATH> Path to the samples directory
-t, --title <TITLE> Song title (quote multiple words)
-d, --date <DATE> Song release date (quote multiple words)
-a, --artist <ARTIST> Song artist (quote multiple words)
-z, --zola Optionally include Zola frontmatter atop the markdown file
-h, --help Print help
-V, --version Print version`
§Example
Run against an Ableton samples directory (also generating the Zola front-matter)
freesound-credits -p Samples/Imported/ -t "Field Notes" -a "Aner Andros" -d "2025-01-09" -zStructs§
- Args
- A simple program to generate Freesound credits in a usable markdown file.
Functions§
- get_
list_ of_ samples - Scans the given directory for Freesound samples to credit.
- set_
credit - Extrapolate the sample to credit based on Freesound naming standards.
- set_
filename - Derives the markdown file name from the song title.
- set_
frontmatter - Derives a Zola page front-matter header from given song details.
- set_
header - Paragraph notifying the song uses Creative Commons licensed samples, with links.