[CM] How to fix: Can't schedule events in non-real time while RTS is running.?

Rick Taube taube@uiuc.edu
Wed, 9 Nov 2005 08:08:08 -0600


wierd. what is the value of *rts*

On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote:

> Hi all,
>
>  I keep on studying Notes from the Metalevel and I've just
>  finished the chapter about Steve Reich's piano phasing composition.
>
>  I was able to run the code successfuly, however after
>  I have listened to it I wanted to play a very simple note
>  and to my amazement I can't do it:
>
>  (define one (new midi
>                :time 0
>                :keynum 60
>                :duration 2))
>
>  (events one "myscore.mid")
>
>  It says: Can't schedule events in non-real time while RTS is running.
>
>  And then I tried the example that worked just a few sec. ago:
>
>  CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid")
>  Can't schedule events in non-real time while RTS is running.
>  NIL
>
>  CM> (events (pphase phasing-trope 1 1 .5) "reich.mid")
>  Can't schedule events in non-real time while RTS is running.
>  NIL
>
>  I searched for RTS in the Common Music dictionary and I saw
>  that there's a function rts-stop however running that
>  function and trying to play something I received the very
>  same error. I also checked rts?
>
>  CM> (rts?)
>  NIL
>
>  How can I make Common Music start playing MIDI again?
>  Is there a way to do that without exiting Emacs and restarting
>  Common Music?
>
>  BTW, my system details:
>
>  $ uname -a
>  Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 
> GNU/Linux
>  $ sbcl --version
>  SBCL 0.9.2
>
>
>  Happy hacking,
>  Emre S.