[Csnd-dev] Does scsort work?
Date | 2018-04-26 07:17 |
From | Francois PINOT |
Subject | [Csnd-dev] Does scsort work? |
When I run this command scsort < anyscorefile.sco |
Date | 2018-04-26 13:57 |
From | jpff |
Subject | Re: [Csnd-dev] Does scsort work? |
Well fails for me. I notice that the comments for csoundScoreSort says "The Csound instance should be initialised with csoundPreCompile() before calling this function" which it does not do -- it calls csoundCreate. Not my area of knowledg; I realise it gives my nameas copyright holder but this utility was totally rewritten by Istvan Needs an API user to comment. Using gdb I notice that no message comes ourt from the message callback akthough it is called. It attemots to send incorrect messages like "unexpected EOF" and the usual csound ending mesage, ==JPff On Thu, 26 Apr 2018, Francois PINOT wrote: > When I run this command > > scsort < anyscorefile.sco > > I don't get any output. Is there a problem with the API function > csoundScoreSort? > > François > > |
Date | 2018-04-26 14:06 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Does scsort work? |
There is no csoundPreCompile() anymore, that was removed in 6. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 26 Apr 2018, at 13:57, jpff |
Date | 2018-04-26 14:06 |
From | jpff |
Subject | Re: [Csnd-dev] Does scsort work? |
I think this is a side effect of te new score parser. Will experiment (but do not understad the lack of output -- sees messages are tred off. On Thu, 26 Apr 2018, Francois PINOT wrote: > When I run this command > > scsort < anyscorefile.sco > > I don't get any output. Is there a problem with the API function > csoundScoreSort? > > François > > |
Date | 2018-04-26 14:31 |
From | jpff |
Subject | Re: [Csnd-dev] Does scsort work? |
Believe fixed in git that is it works for me |
Date | 2018-04-26 14:41 |
From | Francois PINOT |
Subject | Re: [Csnd-dev] Does scsort work? |
Works now. Thank you John. François2018-04-26 15:31 GMT+02:00 jpff <jpff@codemist.co.uk>: Believe fixed in git that is it works for me |
Date | 2018-04-26 14:57 |
From | Menno Knevel |
Subject | Re: [Csnd-dev] Does scsort work? |
Never worked with scsort, so i looked in the manual and noticed: scscort < infile > outfile shouldn't that be scsort < infile > outfile ?? (typo) -- |
Date | 2018-04-26 15:12 |
From | Francois PINOT |
Subject | Re: [Csnd-dev] Does scsort work? |
In fact infile and outfile are streams (you can see that from the redirection characters < or >). This means that if you don't specify explicitly a stream it is replaced by stdin or stdout (default streams on *nix systems). For example if you run the command scsort without any arg, you can directly type score events and when you type ctrl-d this ends the input stream and the sorted score is printed out on the screen.2018-04-26 15:57 GMT+02:00 Menno Knevel <magknevel@gmail.com>: Never worked with scsort, so i looked in the manual and noticed: |
Date | 2018-04-26 15:37 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Does scsort work? |
I think he was referring to scsort vs. scscort ! ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 26 Apr 2018, at 15:12, Francois PINOT |
Date | 2018-04-26 15:46 |
From | Francois PINOT |
Subject | Re: [Csnd-dev] Does scsort work? |
Oh yes. He's right. It's a typo in the manual. Fixed in github. François2018-04-26 16:37 GMT+02:00 Victor Lazzarini <Victor.Lazzarini@mu.ie>: I think he was referring to scsort vs. scscort ! |