Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5411] Re: [Csnd] Which bug?

Date2004-11-01 15:03
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5411] Re: [Csnd] Which bug?
csound 5 uses code by Matt Ingalls which gets Csound to compute 1 ksmps of
sound at a time. I had examined this issue in the course of writing the
original CsoundVST, and decided I did not understand the Csound internals
well enough to do it myself, so I was glad to get my hands on Matt's code.
For the kind of music I make, it works fine.

After incorporating Matt's code, I advised John ffitch to adopt it and to
drop the musmon code, since I am aware that having more than one way of
doing the same thing in software can only lead to problems. 

John did not respond to my advice in any way, so I went ahead on my own
initiative and made the command-line version of Csound use Matt's code. I
left the musmon code in place, but it is not being called.

I think it is obvious that there should be one and only one main loop in
Csound to serve both real-time and off-line rendering. If there is only one
loop that plays, there is only one loop that needs to be debugged and
maintained. 

I am quite willing to fix the bug. The alternatives I see are: to keep the
existing code and drop the musmon code, and fix the section times; or to
restore the musmon code and drop the existing code, and simulate the 1
ksmps per call functionality in csoundPerformKsmps using a mutex. 

I don't care which approach is taken, but I would appreciate it if it Matt
and John would glance at the code first and see if it is obvious to them
how the section times are getting lost.




Original Message:
-----------------
From:  jpff@cs.bath.ac.uk
Date: Mon,  1 Nov 2004 11:19:32 +0000
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] Which bug?


The bug that Stef reported where a section which should have a gap at
the start does not, but the time seems to count from the start of the
work not from the start of the section.  This is csound5 bug only; this
confused me for a time as the code was not changed -- and then this
morning I discovered that the code was not being called, but the API
was doing it and getting it wrong.
==John ffitch
-- 
Send bugs reports to csound-bugs@cs.bath.ac.uk
              (or to http://www.cs.bath.ac.uk/cgi-bin/csound )
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .