Web-based BRSTM player
Just open the demo in modern browser, select a .brstm
file, and enjoy!
BRSTM is a file format that contains audio data that's being used for some Nintendo consoles. One of the differences with the usual audio format (MP3, etc) is that this format can contain a loop point, making it suitable for usage in games.
.brstm
file is not included in the repository.
Some places to look for BRSTM files:
Smash Custom Music[dead link]- Smash Custom Music Archive (the audio player in this site is using the "brstm" package from this repo!)
There are no polyfill included in the demo.
Browser needs to support the following features without any vendor prefix:
- Web Audio API
- Audio Worklet API
<script type="module">
- Custom Elements
- ES2015 in general
- ES2015 class
- My journey of building this (April 2019)
- My talk in Geekcamp Singapore 2019 (October 2019)