interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / allen-audio / native.om

22 lines · 719 bytes Raw Blame History
1note Oracle layout of Allen's startup sound; composed after chirp.om by check.sh.
2note Writes to fd 1 the exact file aienux native/kernel/ui/tests/chirp_test.c writes as chirp.wav
3note (write_wav(path, s, N), N = CK_CHIRP_FRAMES = 590400): 2 channels, 16-bit, 48000 Hz, frames 0
4note to 590400 (0 ms to 12300 ms of the night), left equal to right. check.sh compares it byte for
5note byte with that C program's output, built from the pinned aienux source, so the Omega port is
6note checked against the original, not against itself.
7
8fn main to int
9setup
10put ofd 0 1
11owav 2 FEND
12f = ulong 0
13note 590400 frames, one pass each.
14while lt f FEND bound 590400
15v = sample f
16osample v
17osample v
18f = add f 1
19end
20oflush
21ret 0
22end