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
- Host: GitHub
- URL: https://github.com/opcode81/abplayer
- Owner: opcode81
- License: mit
- Created: 2021-01-06T20:35:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-05T21:09:09.000Z (almost 2 years ago)
- Last Synced: 2025-09-04T05:05:21.730Z (9 months ago)
- Language: JavaScript
- Size: 277 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.