For example if I deliberately pass: > >(save-sound-as "/home/dto/foo.snd" ())
I get: save-sound-as second argument, (), is nil but should be a sound object, an integer (sound index), or #f This is why I was asking what conditions could cause "save-sound-as" to simply print its name and fail On Tue, Jul 12, 2022 at 4:54 PM David O'Toole <[email protected]> wrote: > Actually, the output I gave is not from the trace feature, as it appears > whether or not the function is traced. > So I don't know if it actually signifies that the sound passed was (). > I put in (assert (sound? some-sound)) and it doesn't complain. > I'll investigate more. > > > On Tue, Jul 12, 2022 at 4:36 PM David O'Toole <[email protected]> > wrote: > >> Oh, I must have messed up something. I'll investigate further. Thank you! >> >> On Tue, Jul 12, 2022 at 4:15 PM <[email protected]> wrote: >> >>> It looks like some-sound is () which will cause save-sound-as >>> to raise an error. If the error isn't caught, it will >>> cause the loop to stop and will return to the top level. >>> I'm guessing the output is from trace as the function is >>> entered, then you hit the error, and the current evaluation >>> is stopped. () is an error because it does not identify >>> the sound you want to save. >>> >>> >>>
_______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist
