« Return to Thread: Score Alignment Utility

Re: Re: Re: Re: Score Alignment Utility

by Jacob Joaquin :: Rate this Message:

Reply to Author | View in Thread

The scsort utility allows you to pipe a standard numberic score to it.  The only issue is that it does not return a standard numeric score.  Though at least you can get a sense of of the values.  For example:

i 1 0 0.25 100
i 1 + .    <
i 1 + .    <
i 1 + .    <
i 1 + .    1000
i 1 + .    [~ * 1000 + 2000]
i 1 + .    [~ * 1000 + 2000]
i 1 + .    [~ * 1000 + 2000]
i 1 + .    100
i 1 + .    ~
i 1 + .    ~
i 1 + .    ~
i 1 + .    1000
i 1 + .    pp3
i 1 + .    0.222

will be translated into:

w 0 60
i 1 0.000000 0.000000 0.250000 0.250000 100
i 1 0.250000 0.250000 0.250000 0.250000 325.000000
i 1 0.500000 0.500000 0.250000 0.250000 550.000000
i 1 0.750000 0.750000 0.250000 0.250000 775.000000
i 1 1.000000 1.000000 0.250000 0.250000 1000
i 1 1.250000 1.250000 0.250000 0.250000 2526.244873
i 1 1.500000 1.500000 0.250000 0.250000 2162.524902
i 1 1.750000 1.750000 0.250000 0.250000 2697.484375
i 1 2.000000 2.000000 0.250000 0.250000 100
i 1 2.250000 2.250000 0.250000 0.250000 181.801468
i 1 2.500000 2.500000 0.250000 0.250000 829.774414
i 1 2.750000 2.750000 0.250000 0.250000 177.975800
i 1 3.000000 3.000000 0.250000 0.250000 1000
i 1 3.250000 3.250000 0.250000 0.250000 0.25
i 1 3.500000 3.500000 0.250000 0.250000 0.222

As far as I can tell, you have to pipe in the info, like this:

$ cat score.sco | scsort

Best,
jake


csounder wrote:
we would all use it!  maybe we could request the feature in the next  
release.

On Jun 27, 2009, at 2:07 PM, Stéphane Rollandin wrote:

>
>> Also... it would be nice when using ramps >  or } or random ~ to  
>> see the actual values chosen.
>> -dB
>
> shouldn't this functionality be provided by the API (or a command-
> line option) ? I would certainly use it.
>
> Stef
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

 « Return to Thread: Score Alignment Utility