MASS (Music and Audio in Sample Sequences) is a mathematical and computational framework relating musical elements to LPCM audio samples.
The scripts synthesizes sonic excerpts or whole musical pieces. The computational routines are derived from the mathematical relations in the documentation.
Category Archives: Scripting
foo_tftags ~ Reusable Title Formatting Fields
A foobar2000 component that publishes long titleformat scripts as global tag fields. Write a script once (for example your whole BIO_ALBUMARTIST or BIO_ARTIST code) and use
%tf_albumartist%everywhere that evaluates title formatting: playlist views, CPV, PSS/ELP, JS3 scripts, ESlyrics, Last.fm scribbler, and so on.
mp3-packer ~ Bitrate Reduction Script
I have more music than would fit onto the memory card of my phone. This is largely due to the 256 kBit/s versions that are sold now. On the phone, I do not really hear the difference between 256 kBit/s and 128 kBit/s, but I can clearly see the difference in size.
This script creates a whole copy of your music library, just with a smaller bitrate. It uses either ffmpeg or lame to convert the tracks.
spotatui ~ Standalone Terminal Player
spotatui plays Spotify natively and streams YouTube, your local files, Subsonic or Navidrome and 30,000+ internet radio stations from a single keyboard-driven player. Spotify is optional. So is the AI DJ.
Features:
- Multiple sources — Spotify optional. Play from Spotify, Local Files, a Subsonic/Navidrome server, Internet Radio, YouTube, or Qobuz. The free sources need no Spotify account; press
dto switch between them at any time.- Native streaming. Play Spotify audio directly, no official app or spotifyd required — spotatui appears as its own Spotify Connect device (Premium required).
- Synced lyrics. Line-by-line lyrics that follow playback.
- Real-time audio visualizer. A system-wide FFT visualizer (press
v) that reacts to whatever is playing.- Cross-source play queue. Press
zon any track to queue it — the queue plays across every source before your current context resumes.- Lua plugins. Extend spotatui with event hooks, commands, keybindings, popups, and theming.
- Listening history & recap. spotatui keeps a local play history and can generate a shareable HTML recap (
spotatui history recap).- Full CLI. Most of what the UI does is scriptable — playback, search, playlists, shell completions. Run
spotatui --help.- Lightweight. ~78 MB RAM while streaming, versus a full Electron client. See Performance.
getID3() ~ File Parsing PHP Script
getID3() is a PHP script that extracts useful information from MP3s & other multimedia file formats.
www.getid3.org
github.com/JamesHeinrich/getID3
sourceforge.net/projects/getid3
Resources:
www.drupal.org/project/getid3
github.com/Owen-oj/laravel-getid3
github.com/plutuss/getid3
packages.debian.org/sid/php-getid3
tracksplit ~ CLI Track Splitter
tracksplit is a simple command line utility that splits a WAV audio file into respective audio tracks based on periods of silence in the audio.
foobar2000 ~ foo_uie_jsplitter
JSplitter (component name: foo_uie_jsplitter) is a JavaScript-based user interface component for foobar2000 that allows users to create highly customized panels, layouts, browsers, playlists, artwork displays, VU meters, and other interface elements using JavaScript. It originated as a successor to older scripting components such as Panel Stack Splitter and has become popular among theme developers.
What JSplitter provides:
- JavaScript scripting for custom UI panels
- Dynamic layouts and splitters
- Custom playlist viewers
- Album art browsers
- Biography and review panels
- VU meters and visualizations
- Integration with foobar2000 playlists, library, playback state, and metadata
- Support for importing complex themes and panel collections developed by other users
github.com/dima-lur/jsplitter
hydrogenaudio.org/index.php/topic,126743.0
Allmusic-Scraper ~ Scrape AllMusic Albums
pyEQ ~ Python Mono Parametric Equalizer
jamailmar ~ Multi-threaded Ogg Vorbis Decoder
Foobar2000 ~ ctrfoobar2000 script
Control Foobar2000 with python + Command line
usage: control.py [-h] [-p] [-t PLAY_TRACK] [-s] [-P] [-n] [-r] [-R] [-V VOLUME] [-m] [-i] [-f [ADDFOLDER [ADDFOLDER ...]]] [-fi [ADDFILES [ADDFILES ...]]] [-F [ADDFOLDERPLAY [ADDFOLDERPLAY ...]]] [-Fi [ADDFILESPLAY [ADDFILESPLAY ...]]] [-c] [-d [DEL_TRACK [DEL_TRACK ...]]] [-l] [-b] [-S TYPE_CONTROLLER] [-H HOST] [-O PORT] [-?] [-g] [-x [CHANGE_CONFIG [CHANGE_CONFIG ...]]] [-T SECTION] [-E OPTION OPTION] [-a DIR_ALIAS] [-v] [-L LEVEL_ALIAS] [-z REPEAT] [--repeat-off] [--repeat-playlist] [--repeat-track] [--repeat-random] [--shuffle-track] [--shuffle-album] [--shuffle-folder] [--seek SEEK] [--root ROOT]optional arguments: -h, --help show this help message and exit -p, --play Play Playback -t PLAY_TRACK, --play-track PLAY_TRACK Play Playback Track No -s, --stop Stop Playback -P, --pause Pause Playback -n, --next Next Play -r, --previous Previous Play -R, --random Play Random -V VOLUME, --volume VOLUME Set Volume, range is -100 <= value <= 0 -m, --mute Mute Volume -i, --info Get info current Playing -f [ADDFOLDER [ADDFOLDER ...]], --addfolder [ADDFOLDER [ADDFOLDER ...]] Add Remote Folder Queue [HTTP] -fi [ADDFILES [ADDFILES ...]], --addfiles [ADDFILES [ADDFILES ...]] Add Remote Files Queue [HTTP] -F [ADDFOLDERPLAY [ADDFOLDERPLAY ...]], --addfolderplay [ADDFOLDERPLAY [ADDFOLDERPLAY ...]] Add Remote Folder Queue & Play it [HTTP] -Fi [ADDFILESPLAY [ADDFILESPLAY ...]], --addfilesplay [ADDFILESPLAY [ADDFILESPLAY ...]] Add Remote Folder Queue & Play it [HTTP] -c, --clear-playlist Clear Current Playlist [HTTP] -d [DEL_TRACK [DEL_TRACK ...]], --del-track [DEL_TRACK [DEL_TRACK ...]] Delete Playlist [HTTP], example: foobar -d 1 2 3 -l, --list List Playlist -b, --browser Browser Library -S TYPE_CONTROLLER, --type-controller TYPE_CONTROLLER Set Type Of Controller [com,http] -H HOST, --host HOST Remote Host control Address [HTTP] -O PORT, --port PORT Remote Port control Address [HTTP] -?, --usage Print All Help -g, --read-config Read config file -x [CHANGE_CONFIG [CHANGE_CONFIG ...]], --change-config [CHANGE_CONFIG [CHANGE_CONFIG ...]] Set Change config. format: section#option#value -T SECTION, --section SECTION Set Section Config -E OPTION OPTION, --option OPTION OPTION Set Option Config -a DIR_ALIAS, --dir-alias DIR_ALIAS Root of Directory Alias On Server -v, --version -v = show version | -vv = verbosity process -L LEVEL_ALIAS, --level-alias LEVEL_ALIAS Level Root of Directory Alias On Server -z REPEAT, --repeat REPEAT Repeat 0 = Default (repeat off) | 1 = Repeat Playlist | 2 = Repeat Track | 3 = Random Play | 4 = Shuffle Track | 5 = Shuffle Album | 6 = Shuffle Folders --repeat-off Repeat Off --repeat-playlist Repeat Playlist --repeat-track Repeat Track --repeat-random Random Play --shuffle-track Shuffle Track --shuffle-album Shuffle Album --shuffle-folder Shuffle by Folder --seek SEEK Seek for a second --root ROOT Root path / Directory Containt Music files, this is for One Folder Files Selected
Foobar2000 ~ Autometa Playlists
Autometa is a minimalist, customizable JScript Panel script designed to quickly create autoplaylists based on the current track’s tags with a single click (similar to the quick search function).

