Csound Csound-dev Csound-tekno Search About

Re: large score files

Date1997-02-18 13:42
Fromjpff@maths.bath.ac.uk
SubjectRe: large score files
Message written at 18 Feb 1997 08:56:12 +0000
--- Copy of mail to jnelson@sndart.cemi.unt.edu ---
In-reply-to: <9702171635.AA12232@sndart.cemi.unt.edu> (message from Jon
	Christopher Nelson on Mon, 17 Feb 97 10:35:37 -0600)

I persist in my view that the only limit to score size is machine
memory.  This is part of the extensive changes I made some time ago.
If one has a large score the message "sread: requesting more memory\n"
is printed and it adds another segment of 40,000 bytes.  I have tried
Richard Wentk's program and while slow, ....

Csound Version 3.44 (Feb  1 1997)
orchname:  Wentk.orc
scorename: Wentk.sco
sorting score ...
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory
sread: requesting more memory

and then after a LONG pause it says ...done and carries on.
That pause is significant, and while there there are no signs of life. 
I suspect a quadratic sorting method.

==John

Date1997-02-18 19:08
From"Matt J. Ingalls"
SubjectRe: large score files
> 
> I persist in my view that the only limit to score size is machine
> memory.  This is part of the extensive changes I made some time ago.

	so you are the one responisible for that? THANK YOU THANK YOU
THANK YOU!!! (that saved my ass a few years ago!!)

i forget who was having this problem, but they would have gotten
an "out of memory" error message if the problem was indeed a score length
problem. 
> I suspect a quadratic sorting method.

Another way out of this problem is to have your score generation program
create the score in sorted format.  It seems to me that csound will bypass
the sorting for any score with a *.srt filename.

I would assume most people's score generators create note events linearly
in time anyway, so it would be simple to write in sort format. (of course 
you would have to make sure p2s were indeed ALWAYS in increasing order)


-matt