Skip to content

Commit

Permalink
Layered font loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed May 21, 2023
0 parents commit d6c4533
Show file tree
Hide file tree
Showing 215 changed files with 150,687 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Simple workflow for deploying static content to GitHub Pages
name: Build and deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Setup Deno
uses: denoland/[email protected]
- name: Build Octavia files
run: "./shx build"
- name: Generate simple sitemap
run: "./shx sitemap"
- name: Upload bundled artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'ghp'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.map
*.swp
dist/*.js
ghp/sitemap.xml
107 changes: 107 additions & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
## Project Credits
Octavia will never become a reality without help from the following people.

### Software Testers
* **AWE_asikwus**
* **dj.tuBIG/MaliceX**
* **Eastern_Digital**
* **GFHK-SDGM**
* **JayB**
* **MIDIMan**
* **MJG0117**
* **now_its_dark**
* **ValleyBell**
* **VideoJames**

### Contributors
#### Code base
* **GFHK-SDGM** for the fake PSR screen.

#### Implementation
* **JayB**
* **MJG0117**
* **AWE_asikwus**

### Reference providers
* **JayB** (YAMAHA QY70, YAMAHA QY100, KORG NS5R, KORG X5DR)
* **DearHoney** (KORG 01/W, KORG 05R/W, KORG AG-10, KORG NS5R, KORG X5D, Roland SC-155, Roland SC-55 mk. II, Roland SC-88 Pro, YAMAHA MU100, YAMAHA MU1000)
* **DistWave** (YAMAHA MU80)
* ~~**Ham Seung-woo** (YAMAHA MU90)~~
* **NiceChord** (YAMAHA MU80, Roland SC-55 mk. II)
* **now_its_dark** (MU2000)
* **Lupinzar** _DarkWolf, garoux.net_ (YAMAHA MU80, Roland SC-55 mk. II)
* **ValleyBell** (SC-88 VL)

### Hardware Testers
* **JayB** (YAMAHA QY70, YAMAHA QY100, KORG NS5R, KORG X5DR)

### Demo providers
* **DearHoney**
* **JayB**

### Miscellaneous
* **Eastern_Digital** for suggesting a better cross-platform MIDI support. Without them, Octavia would've never been born.
* **GFHK-SDGM** for helping collecting bitmaps.
* **Ham Seung-woo** for providing videos with MegaMID (inspiration of Octavia's default GUI, and the upcoming Cambiare).
* **MIDIMan** for checking bitmaps against YAMAHA MU2000.
* **ValleyBell** for providing base map of PLG-150AN and PLG-150DX.
* ~~**Werner Ogrodnik** for [Studio For All](http://studio4all.de/htmle/frameset090.html).~~
* **youngmonkey** for [MT-32 SysEx map](https://www.youngmonkey.ca/nose/audio_tech/synth/Roland-MT32.html).
* **アルゴ算法堂** for providing AKAI SG01k voice map.

## Demo Credits
Octavia will now dynamically load additional demos if available. [See the credits here](https://github.com/ltgcgo/midi-demo-data/blob/main/collection/octavia/list.tsv)!

| ID | Author | Title | Standard | Audio On | Audio By | Extra |
| -- | -------- | ------ | ----- | -------- | -------- | ----- |
| A | JayB | KANDI8 | XG | QY100 | JayB | |
| B | JayB | Straight to the Horizon | XG | QY100 | JayB | |
| C | Stephen Kay | Around the World | X5D | X5DR | DearHoney | |
| D | 堀越昭宏 | 2000 Fever | NS5R | NS5R | DearHoney | |
| E | John Lehmkuhl | MissionMan | NS5R | NS5R | DearHoney | |
| F | Sam Sketty | Ambient | XG | MU80 | NiceChord | |
| G | David J. Reading | Galactic Invasion | XG | S-YXG50 WDM | Lumière Élevé | |
| H | Sam Sketty | Low Down | XG | MU90 | DistWave | |
| I | John Campbell | Star Games | GS (SC-55) | SC-88 Pro | DearHoney | |
| J | David Yackley | One Stop | GM | FluidSynth, ColomboGMGS2 | Lumière Élevé | |
| K | 大田川恭子 (Team-khy) | Orchestra | GS | SC-88 Pro | DearHoney | |
| L | 大田川恭子 | Midnight Chaser | GS | SC-88 | Recorded by DearHoney | |
| M | Michael Z. Land | Monkey Island 2: LeChuck's Revenge: Introduction | MT-32 | MUNT | Lumière Élevé | |
| N | Idecs Music Software | Japanese | GS | SC-88 Pro | DearHoney | |
| O | Adrian Scott | Leya's Song | GS | SC-55 | DearHoney | |
| P | 久光浩 | 韋駄天 | GS | SC-88 | DearHoney |
| Q | David J. Reading | Cybergate | XG | QY70 | JayB | |
| R | KORG | Mad Robot | 05R/W | 05R/W | DearHoney | |
| S | KORG | Clasitario | AG-10 | AG-10 | DearHoney | |
| T | David J. Reading | Greg's Mantra | XG | QY70 | JayB | |
| U | KORG | The Far East | KROSS 2 | KROSS 2 | PianoManChuck | |
| V | KAWAI | 君がいるだけで | GMega | GMega | DearHoney | Might be replaced due to copyright concerns |
| W | KAWAI | Do-Re-Mi | GMega | GMega | DearHoney | Might be replaced due to copyright concerns |
| X | 松任谷由実, Yamaha | 春よ、来い | XG | MU2000, PLG-100SG | superdeadite | |
| Y | Unknown | VLjazzy | XG | MU1000, PLG-150VL | DearHoney | |
| Z | 大平勇 | A Phoenix to the 21st Century (Part A, Music Factory) | XG | MU1000 | DearHoney | |
| 0 | 大平勇 | A Phoenix to the 21st Century (Part B, Invitation) | XG | MU1000 | DearHoney | |
| 1 | Yamaha | Ninety Hipty | XG | MU90 | BEXY'S PC | ROM: JayB<br/>Analyze: JayB & Lumière Élevé<br/>Dump: Lumière Élevé<br/>Fix: JayB<br/>Software: ValleyBell |
| 2 | Clint Bajakian, Peter McConnel, Michael Z. Land | Day of the Tentacle: Introduction | MT-32 | MUNT | Lumière Élevé | |
| 3 | Idecs Music Software | The PF Theatre | XG | MU1000, PLG-150PF | DearHoney | |
| 4 | Idecs Music Software | The Secret Place | GS | SC-8850 | Romantique Tp | |
| 5 | 久光浩, 本郷久恵 | Space Flight | GS | SC-8850 | Romantique Tp | |
| 6 | 森尾隆 | Is It Really Love? | XG | MU2000 | KR. Palto47 | |
| 7 | JayB | Corgi | X5D & NS5R | X5DR & NS5R | JayB | |
| 8 | Yamaha | Out of the Muse | XG | MU80 | kora kuma | Dump: Lumière Élevé<br/>Fix: JayB<br/>Software: ValleyBell |
| 9 | Yamaha | It's an AmaZing MU World!! | XG | MU100 | DearHoney | Dump: Lumière Élevé<br/>Fix: JayB<br/>Software: ValleyBell |
| Α | Yamaha | The Musithm | XG | MU50 | Pixel Refresh | Dump: Lumière Élevé<br/>Fix: JayB<br/>Software: ValleyBell |
| Β | Clint Bajakian, Peter McConnel, Michael Z. Land | Day of the Tentacle: Epilogue | MT-32 | MUNT | Lumière Élevé | |
| Γ | 長栄克巳 | EP Ballade | XG | MU2000, PLG-150DX | AlcanTAK | |
| Δ | 向谷実 | The Soul of DX | XG | MU100, PLG-150DX | atamaitai kurakura | |
| Ε | Paul Lawley, Graham Lee, 小川恭範 | MU128 Demo | XG | MU128 | yanorei32 | Dump: Lumière Élevé<br/>Fix: JayB<br/>Software: ValleyBell |
| Ζ | 森尾隆 | Old Techno | XG | PLG-150AN | MasterJace | |
| Η | 森尾隆 | Rhythm&Blues | XG | PLG-150AN | MasterJace | |
| Θ | TôBach | MIDI Massacre | GS | Microsoft GS Wavetable | TôBach | |
| Ι | JayB | Dream of Light | XG | QY100 | JayB | _The original song is unfinished_ |
| Κ | Sam Sketty | Smokin' | XG | MU80 | DarkWolf | |
| Λ | Sam Sketty | Cop Out | XG | MU80 | DistWave | |
| Μ | Music Brains | Wah Guitar Demo | GS | SC-88 Pro | DearHoney | |
| Ν | Yamaha | QY70 Demo No. 3 | XG | QY70 | JayB | |
| Ξ | Yamaha | R&B/Pop | XG | QY100 | JayB | Official QY100 demo |
| Ο | 久石譲, POODLE Straight | 空から降ってきた少女 | GS | SC-88 VL | ValleyBell | Made for SC-55 mk. II |
165 changes: 165 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
49 changes: 49 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Octavia
🎻 Event-driven multi-standard MIDI state-tracking library. Working with MIDI should be simple, while faithful and professional.

Made with ❤️ by Lightingale Community.

[![Maintainability](https://api.codeclimate.com/v1/badges/fa5aeaf4ba4c9b2d50e2/maintainability)](https://codeclimate.com/github/ltgcgo/octavia/maintainability)

## Why Octavia over others?
* Free, libre and open-source, under GNU LGPL v3.0.
* Behaves like a real MIDI module, doing most of the heavy-lifting for you.
* Developed with Firefox and an open Web in mind.
* [Less than 20 kilobytes when compressed](docs/support/compress.md).
* Supports 8 ports, 128 channels, 512-voice polyphony maximum. More than you'll ever need.
* Built-in support of several standards, multiple plug-in cards, and tons of devices.
* Tells when MIDI programming errors are spotted, reducing chances of faulty programming.
* Available in JS (browser and Deno) and Rust (not yet).
* No modification required to run in Tor Browser, Bromite and LibreWolf.
* Wide support of bank mapping and bitmaps via [`midi-db`](https://github.com/ltgcgo/midi-db).

## Support
Octavia offers support to a wide range of targets, most of them being either GM-compliant or having strong historical importance. Read the [support page](docs/support/target.md) for more information.

To have a general idea of how MIDI is implemented, refer to the [MIDI Implementation Chart](docs/support/implementation.md) and [Supported SysEx instructions](docs/support/sysex.md).

## Dev talks
We're now hosting a new place to handle development talks! If you don't have a GitHub account, or just prefer to report bugs or give suggestions in a more casual way, feel free to chat with us with links below!

* Fediverse (Mastodon): [@lightingale@fosstodon.org](https://fosstodon.org/@lightingale)
* Telegram channel: [@ltgc_t](https://t.me/s/ltgc_t)
* Telegram group chat: [Click to join](https://t.me/+0I30mcOPTSQ0ZGIx)

## Credits
Please read [CREDITS.md](CREDITS.md).

## API & more
Please read the [documentation](docs/README.md).

## Examples
Please check out the `/examples/` directory.

## Contribute
You can help with Octavia's development, by doing any of the following, or more...
* Test Octavia, whether under production environment or not.
* Write anything utilizing Octavia's API.
* Report any bugs you find.
* Submit feature requests.
* Participate in programming (read the docs for further info).
* Reward the developers some donation.
* Spread the word about Octavia.
4 changes: 4 additions & 0 deletions conf/denoDeps.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dir esbuild
esbuild/mod.js https://deno.land/x/esbuild/mod.js
dir std/http
std/http/file_server.js https://deno.land/std/http/file_server.ts
1 change: 1 addition & 0 deletions conf/domain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://gh.ltgc.cc/octavia
9 changes: 9 additions & 0 deletions conf/sitemap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/index.htm
/test/index.htm
/test/tui.htm
/test/fakeMu.htm
/test/fakeSc.htm
/test/fakeNs5r.htm
/test/fakeQy.htm
/test/fakePsr.htm
/test/cambiare.htm
Loading

0 comments on commit d6c4533

Please sign in to comment.