| John,
Here is the actual error message generated (sorry I didn't quote it
correctly earlier):
orch compiler:
25 lines read
sr = 48000.000000, kr = 480.000000, ksmps = 100.000000
error: inconsistent sr, kr, ksmps
1 syntax errors in orchestra. compilation invalid
inactive allocs returned to freespace
end of score. overall amps: 0.0
overall samples out of range: 0
0 errors in performance
This is using the same test .csd I sent earlier; it does *not* specify kr
(csound calculates it itself).
I will methodically go back and find the latest GBS that does *not*
demonstrate this error, and report back to you.
Art Hunkins
----- Original Message -----
From: "John D. Ramsdell"
To:
Cc: "Art Hunkins"
Sent: Sunday, March 20, 2005 9:03 AM
Subject: Re: [Csnd] GBS 48000sr Problem
> "Art Hunkins" writes:
>
> > I've a bit of new information relative to the console *Windows* GBS10
> > sr=48000 issue. (Under certain conditions it gives an "illegal sr rate"
> > error and stops.)
>
> Is I said before, I don't know where to look in the code for this
> problem. I couldn't even find the string "illegal sr rate" in the
> sources or the strings files. It's particularly troubling that it
> works with flCsound but not with console csound. They share the same
> code used for rendering the input, and were compiled using the same
> compiler. At runtime, the csound engine will most likely be loaded
> into different portions of memory, but why that should matter, I
> cannot say.
>
> At this point, I can only think of one path forward. I suggest
> testing old versions of the code, both old GBS versions, and the ones
> built by John ffitch for Windows from sources in the repository used
> to build the GBS distribution.
>
> The Csound developers have been very good about maintaining a log of
> changes, I've been tagging whenever I release, so if we know the
> release at which this stopped working, we should be able to figure out
> what change caused it.
>
> John
>
> >
> > It seems that at certain values for ksmps it runs - at others, it
doesn't.
> >
> > At the following values for ksmps, it runs:
> > 5, 10, 20, 30, 40, 80, 240, 250, 500, 1000
> >
> > At these values, it aborts with the above message:
> > 29, 31, 35, 50, 81, 85, 90, 99, 100, 101, 200, 220, 230, 235, 239, 241
> >
> > With flCsound, *all* values for ksmps work fine. (Also, in console GBS,
no
> > problems at all with sr=44100.)
> >
> > With Victor's CS4 console version (Windows), MyCsound4, all values work
> > fine.
> >
> > I ran all tests with the attached simple .csd. Please note that in all
cases
> > kr was not specified (in the hope possibly of ruling out "rounding"
> > problems?)
> >
> > Art Hunkins
> > Perhaps someone may get an idea from this info.
> >
> > Art Hunkins
> --
> 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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |