| Larry Troxler suggested restructuring the code around kperf().
I have not looked at this in sufficient detail to comment.
I don't have any plans for re-engineering the guts of Csound, unless
there was a very strong reason I would rather work on something
from scratch.
Larry wrote:
> Wouldn't it simplify the logic dramatically, to do the following?
>
> 1) only perf 1 k-period each time through the main loop
> 2) Take the checking for real-time events out of kperf(), and change kperf
> to always perform just perf 1 k-period. Poof! It just got a lot smaller.
> 3) Change rdscor() to conditionally return an event, only if an event is to
> be started at the current value of kcounter.
> 4) Move the real-time checks up in to musmon().
> 5) Make a common protocol for *all* sources of events (csound score, score,
> ASCII input, real-time MIDI, etc). As an example of such an implementation,
> each event source would supply a function that returns either NULL, or an
> event, if an event is to be started at the current kcounter. This would make
> musmon() a lot easier to understand!
>
> I haven't considered event-offs yet, since I don't quite understand all the
> spaghetti-code in musmon(). And maybe there's some other problems I'm not
> considering. And, yes, this would result in a slight performance penalty.
>
> Any comments?
>
> Larry
> -- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --
. Robin Whittle .
. http://www.ozemail.com.au/~firstpr firstpr@ozemail.com.au .
. 11 Miller St. Heidelberg Heights 3081 Melbourne Australia .
. Ph +61-3-9459-2889 Fax +61-3-9458-1736 .
. Consumer advocacy in telecommunications, especially privacy .
. .
. First Principles - Research and expression - music, .
. music industry, telecommunications .
. human factors in technology adoption.
. .
. Real World Interfaces - Hardware and software, especially .
. for music .
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27157;
22 Feb 97 2:10 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa15649;
22 Feb 97 2:10 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Sat, 22 Feb 1997 02:09:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA23560);
Sat, 22 Feb 1997 02:06:44 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Sat, 22 Feb 97 02:06:35 GMT
Received: from baucis.sc.intel.com [143.183.152.22] by hermes
via ESMTP (CAA23552); Sat, 22 Feb 1997 02:06:33 GMT
Received: from ccmgate1.sc.intel.com by baucis.sc.intel.com (8.8.4/10.0i);
Sat, 22 Feb 1997 01:31:31 GMT
Received: from ccmgate1.intel.com by ccmgate1.sc.intel.com (Smail3.1.28.1 #3)
id m0vy6F9-000S5tC; Fri, 21 Feb 97 17:27 WET
Original-Received: by ccmgate1.intel.com
(ccmgate 3.2 #3) Fri, 21 Feb 97 17:27:15 PST
PP-warning: Illegal Received field on preceding line
Date: Fri, 21 Feb 97 17:27:00 PST
From: Henry Etsebban
Message-Id:
To: csound@maths.ex.ac.uk
Subject: Time-Streching / Tempo-Shifting
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
All,
I'm interested in writing a Time-Streching program, one that can change
the duration (tempo) without changing the pitch (voices)) I've read in
the CSound manual that it is possible to do in Csound (pvoc area) but i
could not find details on how to...
Any one know how, or has an algorithm on how to do this ?
Your Input will be very much appreciated....
Henry E.
------------------------------------------------------
Henry Etsebban
Intel Corp
2200 Mission College Blvd
MS: RN6-18
Santa-Clara CA, 95054
Email: henry_etsebban@ccm.sc.intel.com / ehenry@iil.intel.com
Tel : (408)765-5820
Fax : (408)765-5165
------------------------------------------------------
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27727;
22 Feb 97 5:44 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa16372;
22 Feb 97 5:44 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Sat, 22 Feb 1997 05:44:26 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA28104);
Sat, 22 Feb 1997 05:41:00 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Sat, 22 Feb 97 05:40:50 GMT
Received: from bjl1@clarion.cec.wustl.edu [128.252.21.3] by hermes
via ESMTP (FAA28094); Sat, 22 Feb 1997 05:40:48 GMT
Received: from localhost
by clarion.cec.wustl.edu (SMI-8.6/ECL-J1.00) id XAA05055;
Fri, 21 Feb 1997 23:40:47 -0600
Date: Fri, 21 Feb 1997 23:40:43 -0600 (CST)
From: Bradley James Lindseth
Reply-To: Bradley James Lindseth
To: CSound mailing list
Subject: ACCCI archive play-on-the-fly problems
In-Reply-To: <330C9D50.54EE@geocities.com>
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I can't seem to get the play-on-the-fly to work. When I look at the
MIME type the server gives:
[web1@total netscape]$ telnet mars.let.uva.nl 80
Trying 145.18.226.21...
Connected to mars.let.uva.nl.
Escape character is '^]'.
HEAD /gather/accci/webtest.csound HTML/1.0
HTTP/1.0 200 OK
Server: Netscape-Communications/1.1
Date: Saturday, 22-Feb-97 05:33:08 GMT
Last-modified: Sunday, 13-Aug-95 18:10:30 GMT
Content-length: 773
Content-type: text/plain
Connection closed by foreign host.
text/plain won't trigger the application/csound setup. As far as I know,
the .csound extension is ignored when the server gives Content-type:
text/plain
Is there a way around this?
Any help is much appreciated.
Brad Lindseth
# Brad Lindseth, EE Undergrad Student Mail: 6515 Wydown Boulevard
# Washington University Box 3895
# Email: bjl1@cec.wustl.edu Saint Louis, MO 63105
# Web: http://cec.wustl.edu/~bjl1/ Phone: (314) 935-1287
# Amateur Radio: N0UAG
|