> I don't understand the question about "repl parsing"; you can give the > index directly to play: (play 1), or the sound object, or the file name.
Sorry, I meant parsing from the listener. I like that (open-sound ...) gives me back a handle, and that the printed form shows what I can use to play. In your example, I would have gotten back a "#<sound 1>", so my naive approach would be to parse that string in comint, get the "1", and store it along with the file name, so I know to execute (play 1), when I want to play "file.wav". Is it possible to explicitly set which number I get back? Or somehow programmatically assign which number gets mapped to which sound file I open? Thanks again for all your generous help. On Thursday, January 16th, 2025 at 2:03 PM, [email protected] <[email protected]> wrote: > > I'd like to avoid re-reading from disk, and keep everything in memory > > > Linux, and maybe other OS's, caches files in memory. > > > I don't know how to autocomplete for symbols > > > If you're using Snd's listener, use the tab key when the cursor is > at the end of the symbol-to-be-completed. > > I don't understand the question about "repl parsing"; you can give the > index directly to play: (play 1), or the sound object, or the file name. _______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist
