~rabbits/orca-toy

c02aff0bbf6933de198ac9fa9f928e8739b660ea — neauoire 1 year, 1 month ago 5fab86d
Added orca rom
2 files changed, 23 insertions(+), 0 deletions(-)

A .build.yml
M README.md
A .build.yml => .build.yml +21 -0
@@ 0,0 1,21 @@
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
environment:
    SITE: rabbits.srht.site/orca
sources:
    - https://git.sr.ht/~rabbits/orca-toy
tasks:
    - prepare: |
        curl -fsS https://rabbits.srht.site/uxn/uxn-linux-amd64.tar.gz | tar -zx
    - build: |
        cd orca-toy
        ../uxn/uxnasm src/main.tal ../orca.rom
    - upload: |
        tar -czf out.tar.gz orca.rom
        acurl() {
            set +x
            curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
            set -x
        }
        acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
        acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI
\ No newline at end of file

M README.md => README.md +2 -0
@@ 12,6 12,8 @@ You must have the [Uxn](https://git.sr.ht/~rabbits/uxn/) assembler and emulator.
uxnasm orca.tal orca.rom && uxnemu orca.rom
```

If do not wish to assemble it yourself, you can download [orca.rom](https://rabbits.srht.site/orca/orca.rom).

### I/O

The `:` operator is used to send note values to other applications, to convert the signal to midi, use the [shim](https://git.sr.ht/~rabbits/shim/).