freenode/#lisp - IRC Chatlog
Search
12:00:53
Shinmera
C alone is already context-sensitive, but he's only talking about function pointers.
12:08:35
pjb
Happily, the non-context freeness is limited to small and restricted parts. It is mostly context free, with exceptions.
15:46:10
clintm
If you inspect the value of a long string in the slime debugger, you get a list of the individual characters. Do any of you know if there's a way to further inspect the string as a readable string instead of a vertical list of characters?
16:38:50
sjl
Shinmera: hey, is there any way to make playing sound effects in harmony faster than a bare (harmony-simple:play #p"foo.mp3" :sfx)?
16:39:12
sjl
I'm trying to play a sound effect in a game, but there's a noticeable latency between when I make that call and when the sound actually starts
16:39:39
sjl
which doesn't matter for music, but for the "you got a powerup" sound is a bit too much latency
16:40:44
sjl
yeah, I assume the issue is that it's loading it from scratch from the filesystem every time
16:40:59
sjl
I tried adding it paused and unpausing it, but when the sound finishes it gets removed from the source
16:41:30
sjl
what is the buffer class you mentioned? I grepped https://shirakumo.github.io/harmony/ for buffer but none of the results look promising
16:41:54
Shinmera
So there's an mp3-buffer-source, and I started working on a way to create a source from a buffer without copying stuff around but stopped working on harmony before that got completed.
16:42:54
Shinmera
namely the current audio buffer needs to be played to finish before any segment additions or things like that can be processed.
16:44:04
Shinmera
Which is currently actually disabled on windows since it was taking up to a second to synchronise with a monitor on SBCL (!!)
16:45:09
Shinmera
I wish I had time to work on everything I have, heh. If you do have the time to help improve Harmony, I'd love to do what I can to take you through the source and stuff.