jsmodplayer icon indicating copy to clipboard operation
jsmodplayer copied to clipboard

Provide hooks that signal player status

Open BillyWM opened this issue 7 years ago • 1 comments

Communicate to outside world through either callbacks or events (callbacks probably preferable so that the player isn't tied to a browser environment. May like to support using this headless on Node)

A UI wants to know:

  • Current row playing
  • Samples(s) playing and positions within those samples

The containing page should be able to subscribe to changes in these properties.

BillyWM avatar Jul 07 '18 20:07 BillyWM

Needs pattern-to-text method for display as data is still stored as object with raw numeric properties direct from file.

BillyWM avatar Jul 16 '18 10:07 BillyWM