Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hapebe/a-b-player

Repository files navigation

a-b-player

An A-B Repeat/Loop Audio Player with HTML5, based on https://github.com/holin/abRepeater, largely extended for the practice / sing-along tracks of "The Melodetts" by [email protected]

2017-10

trying to switch to WaveSurfer.js (https://wavesurfer-js.org/) as the actual player element.

2017-11

  • added custom favicon(s), also for Android and iOS shortcuts
  • added current time indicator (playback position)
  • made the track list full width and allowed 4 columns for the overview on XL screens
  • add support for space bar (toggle play/pause)
  • add graphic representation of loop(s) - wavesurfer.js region plugin...
    • regions: synchronize / sanitize highlighting (bg color) of loops and preset list entries
  • add volume adjustment slider
  • fix issue: play/pause button does not look right after looping at the track end
  • allow filtering the tracks in overview by typing (search field)
    • backport the feature for the element-based version
  • added links to switch between the classic player and the wavesurfer version

2017-12

  • replace the "trackset" data field in single track's JSON with a reference to the related pieces entry in tracks.json ("pieceID" - as to not duplicate the trackset for each single track any more)
  • guess / extract the voice part code from the suffix of the track code
  • create the track titles from their respective JSON files (via unique track code), display / save this as generated JSON code back to tracks.json

2019-10 (v1.8)

  • display track-specific info field in the player headline
  • error handling in case audio file cannot be loaded
  • Upgraded WaveSurfer to v3.1.0
  • fixed async index data (tracks.json) loading bug when opening songs directly via URL hash
  • display sheetMusicURL property of track data, if set
  • offer links to reference renditions from other performers (YouTube etc): display renditions[0] property of track data, if set
  • add error message (pop-up? dialog?) if loading of track fails (e.g. when audio file is missing)
  • fixed adding custom loop & reset to preset loops

TODOs:

  • allow for more than one rendition tag...
  • create an overview table of the tracks from tracks.json, pieces data field
  • if the number of tracks is >50 / > 100 (?), prefix the list of tracks for each initial letter with this letter.
  • regions: allow creation of presets by dragging (selecting / marking) the waveform view

References / Acknowledgements:

About

A web-based audio player focusing on A-B repeat loops

Resources

Stars

Watchers

Forks

Packages

No packages published