[Csnd] Slow score sorting again
Date | 2012-04-08 21:21 |
From | Tobiah |
Subject | [Csnd] Slow score sorting again |
A while back, I complained about csound taking a ridiculous amount of time so make a score.srt on large scores. john was kind enough to replace (or make available?) a new sorting algorithm that sped things up by a couple of orders or so. Today, wanting to use VST plugins in my scores, I put csound and cygwin on my machine. I had been running csound in Linux VM on Windows 7. So everything seems to work ok. I'm running the windows csound from cygwin, and it's all very cool, but the score sorting problem is back. I have a robust machine, but it's taking a minute to sort a 32000 line score. So I was wondering whether the new sort algo didn't make it into the windows version, or whether I can turn it on somehow. Csound version 5.17 (double samples) Mar 19 2012 I used this file to install: Csound5.17-gnu-win32-d Thanks! Tobiah |
Date | 2012-04-08 21:42 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Slow score sorting again |
Why do you need cygwin? Maybe there is something else the matter. On 8 Apr 2012, at 21:21, Tobiah wrote: > A while back, I complained about csound taking a ridiculous > amount of time so make a score.srt on large scores. john was > kind enough to replace (or make available?) a new sorting > algorithm that sped things up by a couple of orders or so. > > Today, wanting to use VST plugins in my scores, I put csound > and cygwin on my machine. I had been running csound in Linux > VM on Windows 7. > > So everything seems to work ok. I'm running the windows > csound from cygwin, and it's all very cool, but the score > sorting problem is back. I have a robust machine, but > it's taking a minute to sort a 32000 line score. > > So I was wondering whether the new sort algo didn't make > it into the windows version, or whether I can turn it on > somehow. > > Csound version 5.17 (double samples) Mar 19 2012 > > I used this file to install: Csound5.17-gnu-win32-d > > 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-08 21:53 |
From | Tobiah |
Subject | Re: [Csnd] Slow score sorting again |
On 4/8/2012 1:42 PM, Victor Lazzarini wrote: > Why do you need cygwin? Maybe there is something else the matter. > On 8 Apr 2012, at 21:21, Tobiah wrote: I need cygwin because I'm coming from Linux and my composition environment is shell based. I want to use csound with score gen scripts to trigger VSTi plugins algorithmically, so cygwin is my way to run windows csound from the linuxy shell. Everything is working fine, but the forgotten slow sorting is back. This was only fixed two years ago. Here is some of the discussion: ######################################### jpff wrote: (Mar 12, 2010) > There is an "improved" sore sorter in the file Engine/smoothsort.c > which is a straight replacement for Engine/sort.c (me) Incredible improvement!! I made a simple score with random p-fields composed of 900,000 events. The new sort finished the job in about 10 seconds. I tried my old binary, and waited, and waited, browsed the web, checked my email. I gave up. I took the size down an order of magnitude to 90,000 events. The old binary took almost two minutes to sort that, while the new sorter took about exactly one second! ####################################### So I'm wondering whether windows is still using sort.c. Thanks! Tobiah >> A while back, I complained about csound taking a ridiculous >> amount of time so make a score.srt on large scores. john was >> kind enough to replace (or make available?) a new sorting >> algorithm that sped things up by a couple of orders or so. >> >> Today, wanting to use VST plugins in my scores, I put csound >> and cygwin on my machine. I had been running csound in Linux >> VM on Windows 7. >> >> So everything seems to work ok. I'm running the windows >> csound from cygwin, and it's all very cool, but the score >> sorting problem is back. I have a robust machine, but >> it's taking a minute to sort a 32000 line score. >> >> So I was wondering whether the new sort algo didn't make >> it into the windows version, or whether I can turn it on >> somehow. >> >> Csound version 5.17 (double samples) Mar 19 2012 >> >> I used this file to install: Csound5.17-gnu-win32-d >> >> 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" >> > > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > 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 | 2012-04-08 21:55 |
From | Steven Yi |
Subject | Re: [Csnd] Slow score sorting again |
Tito made some changes to score sorting but it was after 5.17. Tobiah: did you build csound or use installer? On Sun, Apr 8, 2012 at 9:42 PM, Victor Lazzarini |
Date | 2012-04-08 22:05 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Slow score sorting again |
Yes, but do you need Cygwin? What is the problem with the Windows commandline command.com? Sorry, I am just curious. Did you try sorting on Linux to see if there is a difference? Victor On 8 Apr 2012, at 21:53, Tobiah wrote: > On 4/8/2012 1:42 PM, Victor Lazzarini wrote: >> Why do you need cygwin? Maybe there is something else the matter. >> On 8 Apr 2012, at 21:21, Tobiah wrote: > > I need cygwin because I'm coming from Linux and my composition > environment is shell based. I want to use csound with score > gen scripts to trigger VSTi plugins algorithmically, so cygwin > is my way to run windows csound from the linuxy shell. > > Everything is working fine, but the forgotten slow sorting is > back. This was only fixed two years ago. Here is some of > the discussion: > > ######################################### > jpff wrote: (Mar 12, 2010) > > There is an "improved" sore sorter in the file Engine/smoothsort.c > > which is a straight replacement for Engine/sort.c > > (me) > Incredible improvement!! > > I made a simple score with random p-fields composed of 900,000 events. > The new sort finished the job in about 10 seconds. I tried my old binary, > and waited, and waited, browsed the web, checked my email. I gave up. > I took the size down an order of magnitude to 90,000 events. The old > binary took almost two minutes to sort that, while the new sorter took > about exactly one second! > ####################################### > > So I'm wondering whether windows is still using sort.c. > > Thanks! > > Tobiah > > > >>> A while back, I complained about csound taking a ridiculous >>> amount of time so make a score.srt on large scores. john was >>> kind enough to replace (or make available?) a new sorting >>> algorithm that sped things up by a couple of orders or so. >>> >>> Today, wanting to use VST plugins in my scores, I put csound >>> and cygwin on my machine. I had been running csound in Linux >>> VM on Windows 7. >>> >>> So everything seems to work ok. I'm running the windows >>> csound from cygwin, and it's all very cool, but the score >>> sorting problem is back. I have a robust machine, but >>> it's taking a minute to sort a 32000 line score. >>> >>> So I was wondering whether the new sort algo didn't make >>> it into the windows version, or whether I can turn it on >>> somehow. >>> >>> Csound version 5.17 (double samples) Mar 19 2012 >>> >>> I used this file to install: Csound5.17-gnu-win32-d >>> >>> 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" >>> >> >> Dr Victor Lazzarini >> Senior Lecturer >> Dept. of Music >> NUI Maynooth Ireland >> tel.: +353 1 708 3545 >> Victor dot Lazzarini AT nuim dot ie >> >> >> >> >> >> 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" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-09 09:30 |
From | Rory Walsh |
Subject | Re: [Csnd] Slow score sorting again |
Would mingw/msys be handier than cygwin? Different tools i know, but mingw/msys does provide a functional linux flavoured CLI. I've not had the best of times with cygwin. On Sunday, 8 April 2012, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: > Yes, but do you need Cygwin? What is the problem with the Windows commandline command.com? > Sorry, I am just curious. > > Did you try sorting on Linux to see if there is a difference? > > Victor > On 8 Apr 2012, at 21:53, Tobiah wrote: > >> On 4/8/2012 1:42 PM, Victor Lazzarini wrote: >>> Why do you need cygwin? Maybe there is something else the matter. >>> On 8 Apr 2012, at 21:21, Tobiah wrote: >> >> I need cygwin because I'm coming from Linux and my composition >> environment is shell based. I want to use csound with score >> gen scripts to trigger VSTi plugins algorithmically, so cygwin >> is my way to run windows csound from the linuxy shell. >> >> Everything is working fine, but the forgotten slow sorting is >> back. This was only fixed two years ago. Here is some of >> the discussion: >> >> ######################################### >> jpff wrote: (Mar 12, 2010) >> > There is an "improved" sore sorter in the file Engine/smoothsort.c >> > which is a straight replacement for Engine/sort.c >> >> (me) >> Incredible improvement!! >> >> I made a simple score with random p-fields composed of 900,000 events. >> The new sort finished the job in about 10 seconds. I tried my old binary, >> and waited, and waited, browsed the web, checked my email. I gave up. >> I took the size down an order of magnitude to 90,000 events. The old >> binary took almost two minutes to sort that, while the new sorter took >> about exactly one second! >> ####################################### >> >> So I'm wondering whether windows is still using sort.c. >> >> Thanks! >> >> Tobiah >> >> >> >>>> A while back, I complained about csound taking a ridiculous >>>> amount of time so make a score.srt on large scores. john was >>>> kind enough to replace (or make available?) a new sorting >>>> algorithm that sped things up by a couple of orders or so. >>>> >>>> Today, wanting to use VST plugins in my scores, I put csound >>>> and cygwin on my machine. I had been running csound in Linux >>>> VM on Windows 7. >>>> >>>> So everything seems to work ok. I'm running the windows >>>> csound from cygwin, and it's all very cool, but the score >>>> sorting problem is back. I have a robust machine, but >>>> it's taking a minute to sort a 32000 line score. >>>> >>>> So I was wondering whether the new sort algo didn't make >>>> it into the windows version, or whether I can turn it on >>>> somehow. >>>> >>>> Csound version 5.17 (double samples) Mar 19 2012 >>>> >>>> I used this file to install: Csound5.17-gnu-win32-d >>>> >>>> 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" >>>> >>> >>> Dr Victor Lazzarini >>> Senior Lecturer >>> Dept. of Music >>> NUI Maynooth Ireland >>> tel.: +353 1 708 3545 >>> Victor dot Lazzarini AT nuim dot ie >>> >>> >>> >>> >>> >>> 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 "unsubs |
Date | 2012-04-09 16:47 |
From | Toby |
Subject | Re: [Csnd] Slow score sorting again |
On 04/08/2012 01:55 PM, Steven Yi wrote: > Tito made some changes to score sorting but it was after 5.17. > > Tobiah: did you build csound or use installer? I used the installer Csound5.17-gnu-win32-d.exe from sourceforge. Isn't Cygwin just acting as a program launcher for the windows binary? It seems as though Cygwin would not affect the performance after launch, but then I didn't try running from the cmd window. Toby |
Date | 2012-04-09 17:04 |
From | Toby |
Subject | Re: [Csnd] Slow score sorting again |
On 04/08/2012 02:05 PM, Victor Lazzarini wrote: > Yes, but do you need Cygwin? What is the problem with the Windows commandline command.com? > Sorry, I am just curious. I just love the power of bash and all of the GNU Unixy goodness that one expects to be available on a Linux box. Make, grep diff vim, tab completion syntax highlighting, you name it. Cygwin seemed like an easy choice, and I was familiar with it. I'll try out the mingw/msys suggestion. I'm sure there are many other ways. I'm open to anything. Heck, command.com *still* won't open to more than 80 columns. Yucky. Toby > > Did you try sorting on Linux to see if there is a difference? > > Victor > On 8 Apr 2012, at 21:53, Tobiah wrote: > >> On 4/8/2012 1:42 PM, Victor Lazzarini wrote: >>> Why do you need cygwin? Maybe there is something else the matter. >>> On 8 Apr 2012, at 21:21, Tobiah wrote: >> >> I need cygwin because I'm coming from Linux and my composition >> environment is shell based. I want to use csound with score >> gen scripts to trigger VSTi plugins algorithmically, so cygwin >> is my way to run windows csound from the linuxy shell. >> >> Everything is working fine, but the forgotten slow sorting is >> back. This was only fixed two years ago. Here is some of >> the discussion: >> >> ######################################### >> jpff wrote: (Mar 12, 2010) >>> There is an "improved" sore sorter in the file Engine/smoothsort.c >>> which is a straight replacement for Engine/sort.c >> >> (me) >> Incredible improvement!! >> >> I made a simple score with random p-fields composed of 900,000 events. >> The new sort finished the job in about 10 seconds. I tried my old binary, >> and waited, and waited, browsed the web, checked my email. I gave up. >> I took the size down an order of magnitude to 90,000 events. The old >> binary took almost two minutes to sort that, while the new sorter took >> about exactly one second! >> ####################################### >> >> So I'm wondering whether windows is still using sort.c. >> >> Thanks! >> >> Tobiah >> >> >> >>>> A while back, I complained about csound taking a ridiculous >>>> amount of time so make a score.srt on large scores. john was >>>> kind enough to replace (or make available?) a new sorting >>>> algorithm that sped things up by a couple of orders or so. >>>> >>>> Today, wanting to use VST plugins in my scores, I put csound >>>> and cygwin on my machine. I had been running csound in Linux >>>> VM on Windows 7. >>>> >>>> So everything seems to work ok. I'm running the windows >>>> csound from cygwin, and it's all very cool, but the score >>>> sorting problem is back. I have a robust machine, but >>>> it's taking a minute to sort a 32000 line score. >>>> >>>> So I was wondering whether the new sort algo didn't make >>>> it into the windows version, or whether I can turn it on >>>> somehow. >>>> >>>> Csound version 5.17 (double samples) Mar 19 2012 >>>> >>>> I used this file to install: Csound5.17-gnu-win32-d >>>> >>>> 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" >>>> >>> >>> Dr Victor Lazzarini >>> Senior Lecturer >>> Dept. of Music >>> NUI Maynooth Ireland >>> tel.: +353 1 708 3545 >>> Victor dot Lazzarini AT nuim dot ie >>> >>> >>> >>> >>> >>> 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" >> > > Dr Victor Lazzarini > Senior Lecturer > Dept. of Music > NUI Maynooth Ireland > tel.: +353 1 708 3545 > Victor dot Lazzarini AT nuim dot ie > > > > > > 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 | 2012-04-09 17:17 |
From | Michael Gogins |
Subject | Re: [Csnd] Slow score sorting again |
You can get bash etc. autotools and such like with MSys, which acts like a GNU/Linux environment. The Windows cmd console will open with any number of columns, if you tell it to. In the console window, use the Properties dialog to do that. It opens off the left upper corner button. Regards, Mike On Mon, Apr 9, 2012 at 12:04 PM, Toby |
Date | 2012-04-09 17:26 |
From | Toby |
Subject | Re: [Csnd] Slow score sorting again |
On 04/09/2012 09:17 AM, Michael Gogins wrote: > You can get bash etc. autotools and such like with MSys, which acts > like a GNU/Linux environment. Thanks, I'll definitely check it out. So far, I've only used Windows for video games, Finale, Reaper, etc... Never programming. I haven't looked any farther than Cygwin for native Linux like environments, so any suggestions as to the best way to achieve that are certainly welcome. Oh, symbolic links are another thing sorely missed. I tried linking to windows directories from Cygwin to avoid the nastiness of things like 'Program Files (x86)', but csound found only the link file itself, and would not follow it. Thanks, Toby > The Windows cmd console will open with any number of columns, if you > tell it to. In the console window, use the Properties dialog to do > that. It opens off the left upper corner button. Praise be! I had no idea. Thanks for that. Tobiah |