An open API service indexing awesome lists of open source software.

https://github.com/opcode81/abplayer

A web-based audio player for A/B sound comparisons
https://github.com/opcode81/abplayer

Last synced: 22 days ago
JSON representation

A web-based audio player for A/B sound comparisons

Awesome Lists containing this project

README

          

# A/B Player

**A web-based audio player for A/B sound comparisons**

A/B player provides a web interface to audition mp3 files. It presents all the files contained in a directory in a simple interface where users can (almost) seamlessly switch between the files and directly compare them. Sound files are presented in lexicographical order and a letter is assigned to each sound file, such that they can more easily be referenced in discussions.

[Click here](http://www.power-xs.net/opcode/abplayer/index.php?d=marshall&blind=1) for a demonstration.

## Installation and Usage

1. Deploy `abplayer` on a web server with PHP support, e.g. `http://myserver/abplayer`
2. For every A/B comparison you want an A/B player for, create a sub-directory in `tracks ` containing a set of MP3 files.
3. Navigate to `http://myserver/abplayer/index.php?d=my-comparison` for an A/B player with the files in `tracks/my-comparison`

### Options

* GET parameter `restart`: when set to a truthy value (e.g. 1), playback will restart from the beginning when switching to a new file.
* GET parameter `blind`: when set to a truthy value, track names will be hidden initially and can be revealed via a button.
* Information on a comparison that will be displayed to users can be provided via a file `about.txt` or `about.html` added to the same folder as the audio tracks.