I'm using:

OS 10.5.5
Clozure Common Lisp 1.2-r10552
cffi 0.9.2
portmidi release 82
cm-portmidi-lisp connector thing 2.0.2

I did try calling 'close' just after calling 'abort'; this likewise had no
effect (except that the outdev needed to be reopened).  Am I to take it that
the appropriate (albeit currently not working correctly under my
configuration) way of doing this would be to call abort, then close the
stream, then reopen the stream?

Is there some other means to do what I want to do?



On Sun, Sep 28, 2008 at 1:00 PM, Roger Dannenberg <[EMAIL PROTECTED]> wrote:

> We had some discussion about abort recently. Apparently, abort is rarely
> used and minimally tested, but also, abort behavior may depend upon the
> underlying OS and drivers. Also, note that the specs say after abort you
> must close the stream, although this may not really be necessary -- again,
> this calls for some code inspection and testing. Sorry I can't give a more
> definitive answer yet. What OS are you using?
>
> Finally, be aware that it will not be possible to determine exactly what
> gets aborted, so the state of the synthesizer (e.g. what notes are playing)
> may be unknown after an abort.
>
>
> Justin Francos wrote:
>
>> Hi,
>>
>> Let's say I've written some writeshorts such that I hear a short chord
>> progression (which itself works fine), but I want to be able to arbitrarily
>> discontinue the playing of said writeshorts during its playback.  How can I
>> do that?  I tried using 'abort', but that doesn't seem to have any effect.
>>  Is 'abort' in fact what is appropriate and it's just not working?  Or is
>> there some other solution?
>>
>> Best,
>> Justin
>>
>
>
_______________________________________________
media_api mailing list
media_api@create.ucsb.edu
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to