Coder Social home page Coder Social logo

ahx-web-player's Introduction

AHX Web Music Player

A web interface demonstrating AHX playback in JS using Web Audio API, IndexedDB and JSZip. Tested in Chrome/Firefox.

AHX (Abyss Highest eXperience) is a tracker music format dating back to 1995-1997 on the Amiga. It is completely synthetic and designed to sound like C64 chiptunes. The music files are quite small.

Many thanks go to bartman/abyss for his AHX javascript replayer source. It hasn't been updated and was only ever released here and here back in 2011. I did a number of quick patches to allow all AHX and AHX2 files to work. If there is a better version somewhere, let me know and I'll include it! AHX was originally made by dexter/abyss and pink/abyss.

Usage

You'll first want to download the repository and run index.html (or download only AHX.zip and use the live version here). Drag over the AHX.zip file over the page to load/unpack all the tunes into the internal database (using IndexedDB API).

AHX.zip contains a collection of AHX tunes (1000+ files) from various sources, mostly Modland/AMP.

ahx-web-player's People

Contributors

bryc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ahx-web-player's Issues

RFC: Auto advance to next song instead of repeat?

Hi, Great player I stumble upon lately after searching for AHX players. Only downside....the song is autorepeat....so it's not suited for leaving to play in background ;-)
I've looked at the code at the song seems to be restarted at this point: https://github.com/bryc/ahx-web-player/blob/master/ahx.js#L702 so it is detectable.....but i don't know how to get hold on next song in list.....this knowledge seems to be available in index.html...but i can not find a way to interact ;-)
Is there allready a setting to disable auto-repeat? Or is it possible to implement it?

Replace var by let

let are better scoped than var, etc. so except for backward compatibility it has no reason to use var rather than let

[bug] fails to play on Safari

problem: as Safari is using prefixed AudioContext it fails to play

solution: in ahx.js:1312 use new (window.AudioContext || window.webkitAudioContext)() to create this.AudioContext and remove the check in AHXMaster()

Known player bugs

Just making this issue to document some player bugs. If you find a song that doesn't play properly, feel free to reply here.

  • Rainmaking / JazzCat - A pitch slide has incorrect speed/duration at 1:13.
  • Scrapyard Sovereign / Galgox - A pitch slide sounds very out of tune (missing a slide too), possibly related to Rainmaking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.