https://github.com/detomon/bliplay-wasm
WebAssembly version of bliplay
https://github.com/detomon/bliplay-wasm
audio c chiptune emscripten music plaintext sound tracker webassembly
Last synced: 9 months ago
JSON representation
WebAssembly version of bliplay
- Host: GitHub
- URL: https://github.com/detomon/bliplay-wasm
- Owner: detomon
- License: other
- Created: 2017-12-18T07:20:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T15:19:28.000Z (about 3 years ago)
- Last Synced: 2025-01-24T21:27:26.760Z (over 1 year ago)
- Topics: audio, c, chiptune, emscripten, music, plaintext, sound, tracker, webassembly
- Language: HTML
- Homepage: https://play.blipkit.audio
- Size: 2.27 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# bliplay WebAssembly Version
This is a version of [bliplay](https://github.com/detomon/bliplay) compiled for WebAssembly. It uses the browser's `AudioContext` API to output sound.
Check out the [syntax description](https://github.com/detomon/bliplay/blob/master/SYNTAX.md). Some example files are located in [examples](https://github.com/detomon/bliplay/tree/master/examples).
## Interactive Editor
The [interactive code editor](https://play.blipkit.audio) allows to write `.blip` and execute code. It dynamically compiles the code and outputs the sound. It should run in all major browsers.

## Shareble URLs
The editor supports shareable URLs, which contain a compressed version of the editor code in the URL fragment. [This page](https://play.blipkit.audio/links.html) contains some examples.
The format looks like this:
```
https://play.blipkit.audio/#s=
```
Where `` is a Base64 encoded and gzip compressed (deflated) string:
```
data = base64_encode(gzcompress("a:c4;s:4;...")).
```