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

Emre Sevinc emres@bilgi.edu.tr
Thu, 10 Nov 2005 12:15:47 +0200


This is a multi-part message in MIME format.

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

-----Original Message-----
From: Rick Taube [mailto:taube@uiuc.edu]
Sent: Wed 11/9/2005 4:08 PM
To: Emre Sevinc
Cc: Common Music Mailing List
Subject: Re: [CM] How to fix: Can't schedule events in non-real time =
while RTS is running.?
=20
>wierd. what is the value of *rts*


Now I think I'm able to reproduce the error. After I run
the piano phase code successfuly I try that:


CM> (events (new midi
              :time 1
              :keynum 60
              :duration 1
              :amplitude 0.5
              :channel 1))
Can't schedule events in non-real time while RTS is running.
NIL


Once I receive that error, nothing works then:


CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid")
Can't schedule events in non-real time while RTS is running.
NIL

If I don't run that (events (new midi ....=20
then no problem occurs but it creates that RTS error
which I can't get rid of.

I still don't have the idea why that happens and=20
how to fix it...

Any tips, suggestions?


Happy musical hacking,
Emre Sevinc


>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=20
> GNU/Linux
>  $ sbcl --version
>  SBCL 0.9.2
>
>
>  Happy hacking,
>  Emre S.



------_=_NextPart_001_01C5E5E0.2FC9F2EA
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>RE: [CM] 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>-----Original Message-----<BR>
From: Rick Taube [<A =
HREF=3D"mailto:taube@uiuc.edu">mailto:taube@uiuc.edu</A>]<BR>
Sent: Wed 11/9/2005 4:08 PM<BR>
To: Emre Sevinc<BR>
Cc: Common Music Mailing List<BR>
Subject: Re: [CM] How to fix: Can't schedule events in non-real time =
while RTS is running.?<BR>
<BR>
&gt;wierd. what is the value of *rts*<BR>
<BR>
<BR>
Now I think I'm able to reproduce the error. After I run<BR>
the piano phase code successfuly I try that:<BR>
<BR>
<BR>
CM&gt; (events (new midi<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; :time 1<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 1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; :amplitude 0.5<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; :channel 1))<BR>
Can't schedule events in non-real time while RTS is running.<BR>
NIL<BR>
<BR>
<BR>
Once I receive that error, nothing works then:<BR>
<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>
If I don't run that (events (new midi ....<BR>
then no problem occurs but it creates that RTS error<BR>
which I can't get rid of.<BR>
<BR>
I still don't have the idea why that happens and<BR>
how to fix it...<BR>
<BR>
Any tips, suggestions?<BR>
<BR>
<BR>
Happy musical hacking,<BR>
Emre Sevinc<BR>
<BR>
<BR>
&gt;On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote:<BR>
<BR>
&gt; Hi all,<BR>
&gt;<BR>
&gt;&nbsp; I keep on studying Notes from the Metalevel and I've just<BR>
&gt;&nbsp; finished the chapter about Steve Reich's piano phasing =
composition.<BR>
&gt;<BR>
&gt;&nbsp; I was able to run the code successfuly, however after<BR>
&gt;&nbsp; I have listened to it I wanted to play a very simple note<BR>
&gt;&nbsp; and to my amazement I can't do it:<BR>
&gt;<BR>
&gt;&nbsp; (define one (new midi<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; :time 0<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; :keynum 60<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; :duration 2))<BR>
&gt;<BR>
&gt;&nbsp; (events one &quot;myscore.mid&quot;)<BR>
&gt;<BR>
&gt;&nbsp; It says: Can't schedule events in non-real time while RTS is =
running.<BR>
&gt;<BR>
&gt;&nbsp; And then I tried the example that worked just a few sec. =
ago:<BR>
&gt;<BR>
&gt;&nbsp; CM&gt; (events (piano2 phasing-trope 1 1 .5 4) =
&quot;reich.mid&quot;)<BR>
&gt;&nbsp; Can't schedule events in non-real time while RTS is =
running.<BR>
&gt;&nbsp; NIL<BR>
&gt;<BR>
&gt;&nbsp; CM&gt; (events (pphase phasing-trope 1 1 .5) =
&quot;reich.mid&quot;)<BR>
&gt;&nbsp; Can't schedule events in non-real time while RTS is =
running.<BR>
&gt;&nbsp; NIL<BR>
&gt;<BR>
&gt;&nbsp; I searched for RTS in the Common Music dictionary and I =
saw<BR>
&gt;&nbsp; that there's a function rts-stop however running that<BR>
&gt;&nbsp; function and trying to play something I received the very<BR>
&gt;&nbsp; same error. I also checked rts?<BR>
&gt;<BR>
&gt;&nbsp; CM&gt; (rts?)<BR>
&gt;&nbsp; NIL<BR>
&gt;<BR>
&gt;&nbsp; How can I make Common Music start playing MIDI again?<BR>
&gt;&nbsp; Is there a way to do that without exiting Emacs and =
restarting<BR>
&gt;&nbsp; Common Music?<BR>
&gt;<BR>
&gt;&nbsp; BTW, my system details:<BR>
&gt;<BR>
&gt;&nbsp; $ uname -a<BR>
&gt;&nbsp; Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 =
i686<BR>
&gt; GNU/Linux<BR>
&gt;&nbsp; $ sbcl --version<BR>
&gt;&nbsp; SBCL 0.9.2<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp; Happy hacking,<BR>
&gt;&nbsp; Emre S.<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5E5E0.2FC9F2EA--