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

Emre Sevinc emres@bilgi.edu.tr
Wed, 9 Nov 2005 11:58:43 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C5E514.2ADFD168
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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.

------_=_NextPart_001_01C5E514.2ADFD168
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>How to fix: Can't schedule events in non-real time while RTS is =
running.?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

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

</BODY>
</HTML>
------_=_NextPart_001_01C5E514.2ADFD168--