Csound Csound-dev Csound-tekno Search About

[Fwd: [CUD] Re: [linux-audio-dev] linux csound real-time input]

Date1999-09-06 14:54
FromDave Phillips
Subject[Fwd: [CUD] Re: [linux-audio-dev] linux csound real-time input]
AttachmentsNone  
Greetings:

  I thought this message should be forwarded to the Csound list. I've
not verified the problem or this solution, but Eric knows his stuff...

== Dave Phillips

       http://www.bright.net/~dlphilp/index.html
   http://sunsite.univie.ac.at/Linux-soundapp/linux_soundapps.htmlest@hyperreal.org discourseth:
> 
> Also, I haven't been able to get -L to work at all.  Trying it with
> `cat >&3| csound -odac -L /dev/fd/3 foo.orc' or on a fifo I get:
> 
> can't reopen (null)

OK, the following patch seems to fix *this* problem:

--- musmon.c~   Thu Aug 12 00:59:58 1999
+++ musmon.c    Sun Sep  5 15:56:06 1999
@@ -221,7 +221,7 @@
         if (O.Beatmode)                        /* if performing from beats */
             settempo((FLOAT)O.cmdTempo);       /*   set the initial tempo  */

-        /*if (!O.RTevents)*/ {               /* *************** */
+        if (!O.Linein) {               /* *************** */
           if (!(scfp = fopen(O.playscore, "r")))
             dies(Str(X_649,"cannot reopen %s"), O.playscore);
         }

Eric