Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/om/allen-audio/native.om # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / om / allen-audio / native.om` 22 lines ยท 719 bytes Raw Blame History 1 note Oracle layout of Allen's startup sound; composed after chirp.om by check.sh. 2 note Writes to fd 1 the exact file aienux native/kernel/ui/tests/chirp_test.c writes as chirp.wav 3 note (write_wav(path, s, N), N = CK_CHIRP_FRAMES = 590400): 2 channels, 16-bit, 48000 Hz, frames 0 4 note to 590400 (0 ms to 12300 ms of the night), left equal to right. check.sh compares it byte for 5 note byte with that C program's output, built from the pinned aienux source, so the Omega port is 6 note checked against the original, not against itself. 7 8 fn main to int 9 setup 10 put ofd 0 1 11 owav 2 FEND 12 f = ulong 0 13 note 590400 frames, one pass each. 14 while lt f FEND bound 590400 15 v = sample f 16 osample v 17 osample v 18 f = add f 1 19 end 20 oflush 21 ret 0 22 end