Skip to content

An accurate 250 SLoC JavaScript Organya player using Web Audio API (...now ~400 LoC)

License

Notifications You must be signed in to change notification settings

raadshaikh/organya-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

organya-js

By Alula: https://github.com/alula

A tiny and accurate player for Organya music files.

Organya is a chiptune music format created by Daisuke "Pixel" Amaya, meant for use in his Cave Story game.

See the demo: https://alula.github.io/organya-js/

  • organya.js - the main player component, it's all you need for playing .org files in browser. (~250 LoC)
  • organya-ui.js - optional component that renders a piano roll on HTML5 canvas. (~150 LoC)

UI graphics were taken from original Organya source code: https://github.com/shbow/organya


This is a very slightly modified version: It now supports Org-03 (with the new drums and all). The demo index page has some small added perks:

  • a simple option to input a link to an org file and have it played
  • play, pause, backward, forward, home buttons
  • mute any track while playing
  • use arrow keys to go up/down/left/right on the piano roll canvas

see https://raadshaikh.github.io/music/organya-js-03/org-index.html

About

An accurate 250 SLoC JavaScript Organya player using Web Audio API (...now ~400 LoC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.6%
  • HTML 43.4%