[Csnd] Score sorting again
Date | 2010-03-10 00:12 |
From | Tobiah |
Subject | [Csnd] Score sorting again |
There was some talk about revisiting the choice of sorting algorithm used by csound to create the score.srt. This is of some import to me. I just wondered whether the idea was still alive. I thought of using the --keep-sorted-score flag so that I could sort the score myself using an external program, but it turns out that the flag does what it says, but puffs the score.srt the next time csound is run. What then, is this flag for? As an aside I noticed that there is a 'w' statement at the start of the score.srt, but that type of statement doesn't seem to be documented in the manual. 'warp' maybe? Thanks, Tobiah Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-03-10 08:49 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Score sorting again |
> There was some talk about revisiting the choice of sorting algorithm > used by csound to create the score.srt. This is of some import to me. > I just wondered whether the idea was still alive. > Yes; high on th elist > I thought of using the --keep-sorted-score flag so that I could sort > the score myself using an external program, but it turns out that > the flag does what it says, but puffs the score.srt the next time > csound is run. What then, is this flag for? Not come across that flag. I assume some copying of files between runs? > > As an aside I noticed that there is a 'w' statement at the start > of the score.srt, but that type of statement doesn't seem to > be documented in the manual. 'warp' maybe? > w is an internal opcode used as part of the warping. Just do not use ==John ff Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-03-10 09:29 |
From | Andres Cabrera |
Subject | [Csnd] Re: Score sorting again |
Hi, Maybe something related to this can be another idea for the google summer of code? Cheers, Andrés On Wed, Mar 10, 2010 at 12:12 AM, Tobiah |
Date | 2010-03-10 17:52 |
From | Tobiah |
Subject | [Csnd] Re: Re: Score sorting again |
On Wed, Mar 10, 2010 at 12:49 AM, |
Date | 2010-03-10 18:11 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: Score sorting again |
> > That's what I was thinking, but it does not seem possible. I had hoped > so save a copy of each sorted score, and to have my Makefile copy > them over to score.srt for each orchestra just before rendering. > The problem is that csound does not take the presence of a score.srt > as a sign to skip sorting. It sorts the regular score into score.srt > every > time. There is code so if the scor file is a srt or xtr file then it is used without sorting. This does not fit with teh csd style, but I tghink it works. if ((n = strlen(csound->scorename)) > 4 && /* if score ?.srt or ?.xtr */ (!strcmp(csound->scorename + (n - 4), ".srt") || !strcmp(csound->scorename + (n - 4), ".xtr"))) { csound->Message(csound, Str("using previous %s\n"), csound->scorename); playscore = sortedscore = csound->scorename; /* use that one */ } > > I guess a flag like --skip-score-sorting would help. At least that > way, I could avoid many of the painful sort times when all I need > to change is my orchestra. > > Thanks, > > Tobiah > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |