freenode/#lisp - IRC Chatlog
Search
5:41:16
|3b|
yeah, that might be easier, not seeing a way to set element type of streams from run-program
5:53:40
|3b|
ACTION wonders how many currently interesting implementations could be made to reasonably efficiently share memory between specialized arrays of different element types (either using existing displaced array, or something else)
5:55:54
|3b|
not that i have time to investigate, specify, and promote such an extension in either case :/
6:00:55
|3b|
similarly ability to write any type of sequence to ub8 streams as if it were a ub8 sequence would be nice
6:02:03
|3b|
ACTION should probably go back to what i'm actually working on rather than continuing to think about that though
6:18:37
beach
I forget how to write a floating-point value to a stream with element-type double-float.
6:32:43
beach
IT WORKS! So aplay + fifo + RUN-PROGRAM is a workable solution. Thanks LdBeth, no-defun-allowed, |3b|.
6:36:18
no-defun-allowed
and there was a silly celluar automaton-based song "generator" which is quite terrible but still half-impressive i think
6:36:37
beach
|3b|: Good question. When I cat a file to it, it exist after that. But when I do WITH-OPEN-FILE it waits for the next batch of samples.
6:37:23
|3b|
i figure i'd probably do as well with teaching the computer to compose/perform as learning to do it myself, so song generator would be in there too if i ever get to that point
6:38:44
no-defun-allowed
I was half-inspired by http://tones.wolfram.com/ but I didn't have their magic apparently, so the result I have is less impressive.
6:54:57
specbot
Splicing in Modified BNF Syntax: http://www.lispworks.com/reference/HyperSpec/Body/01_daba.htm
6:57:10
|3b|
if you are parsing that sort of thing from CL code, i think alexandria has some functions for that
7:04:59
no-defun-allowed
i think the "my CL is busted, it's making LLVM code" is getting boring, but i got ifs done too https://pastebin.com/pmRWaiXQ
7:09:50
no-defun-allowed
I don't know any FFI, so it's just emitting the textual representation of IR, beach.
7:10:59
no-defun-allowed
The existing cl-llvm library doesn't work without some modification, because it was written for an older LLVM (I think version 3).