<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="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=2>-----Original Message-----<BR>
From: Rick Taube [<A HREF="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>
>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> (events (new midi<BR>
:time 1<BR>
:keynum 60<BR>
:duration 1<BR>
:amplitude 0.5<BR>
: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> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid")<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>
>On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote:<BR>
<BR>
> 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>
> :time 0<BR>
> :keynum 60<BR>
> :duration 2))<BR>
><BR>
> (events one "myscore.mid")<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> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid")<BR>
> Can't schedule events in non-real time while RTS is running.<BR>
> NIL<BR>
><BR>
> CM> (events (pphase phasing-trope 1 1 .5) "reich.mid")<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> (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<BR>
> GNU/Linux<BR>
> $ sbcl --version<BR>
> SBCL 0.9.2<BR>
><BR>
><BR>
> Happy hacking,<BR>
> Emre S.<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>