andyherbert / ansiplay.js

Simple ANSI Music Player based on ANSIPLAY.EXE by Julie Ibarra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ref/* taken from ansiplay Copyright 1991, Julie Ibarra
doc/mus/* taken from textfiles.com

Usage:

    import * as ansiplay from "./ansiplay.js";

    if (ansiplay.is_playing()) {
        ansiplay.stop().then(() => ansiplay.play(url));
    } else {
        ansiplay.play(url);
    }

Multiple imports will result in multiple voices.

About

Simple ANSI Music Player based on ANSIPLAY.EXE by Julie Ibarra

License:Apache License 2.0


Languages

Language:JavaScript 100.0%