Your new feature suggested in this email would be cool.
Also... it would be nice when using ramps > or } or random ~ to see
the actual values chosen.
-dB
On Jun 27, 2009, at 11:59 AM, Jacob Joaquin wrote:
>
> Thanks everyone for the feedback. The align script is only a rough
> draft.
> One of my goals is to create a general purpose Python module for
> Csound
> score processing.
>
> I can use your help. What types of score processing features would
> you like
> to see? I may not be able to implement everything, but at least these
> suggestions will help me identify useful methods that can be reused
> in the
> construction of various score processors, and help others write
> their own
> processing scripts without having to reinventing the wheel.
>
> Here's an example of what might be a useful script for someone; A
> script
> that converts identical pfield values in proceeding score lines to
> periods:
>
> i 1 0 1 1.0 440
> i 1 0 1 1.0 440
> i 1 0 1 1.0 220
> i 1 0 1 1.0 220
>
> becomes
>
> i 1 0 1 1.0 440
> i 1 1 . . .
> i 1 2 . . 220
> i 1 3 . . .
>
> A script like this could also work in the opposite direction,
> converting
> periods to values. Just let me know. I'm going to be doing this all
> weekend.
>
> Best,
> Jake
>
>
>
> csounder wrote:
>>
>> WOW....
>>
>> Just got to check it out. Awesome... will save TONS of time!
>>
>> Would LOVE to have this incredibly useful utility added to QUTEcsound
>> - and Smultron!
>>
>> But even as a stand-alone - it's fantastic, easy, and super useful.
>>
>> Also, I appreciate the trix you shared about the macintosh terminal
>> in
>> your readme....
>>
>> pbpaste
>>
>> pbcopy
>>
>>
>> COOL
>>
>> Thanks Jake....
>>
>> -dB
>>
>>
>> On Jun 26, 2009, at 5:21 PM, Jacob Joaquin wrote:
>>
>>>
>>> I'm not a fan of typing down-left-space over and over after changing
>>> a single
>>> Csound score pfield. Some time ago, I wrote a Perl script that
>>> auto-magically does the work for me. I formally started learning
>>> Python over
>>> the weekend, and decided to port my favorite and most used Perl
>>> script, whle
>>> making a few improvements on the way. I figure this might be useful
>>> for
>>> others, so here it is:
>>>
>>> scoref.zip
>>>
http://www.thumbuki.com/csound/files/mailinglist/scoref.zip>>>
>>> Here's an example score that displays the unaligned code alongside
>>> various
>>> alignments using the command-line options:
>>>
http://www.thumbuki.com/csound/files/mailinglist/refactored.sco>>>
>>> As for the bigger picture. Scripts that refactor Csound code can be
>>> incorporated with existing text editors. For example, I use jedit.
>>> Jedit
>>> supports java plugins and beanshell macros. Though I haven't done
>>> this yet,
>>> my research leads me to believe that I will be able to create a
>>> macro that
>>> aligns any highlighted code at the stroke of a key combo, without
>>> having to
>>> make modifications scorerefactor.py.
>>>
>>> In fact, I think I would only have to create a basic beanshell
>>> script that
>>> would be able to run several command-line scripts. Another example
>>> of a
>>> potentially useful script is a script that shifts the start times of
>>> a large
>>> section of score code (I have a perl script for this as well).
>>> These
>>> scripts, along with scripts developed by others could be loosely
>>> integrated
>>> into other editors. Perhaps QuteSound?
>>>
>>> Food for thought, anyways.
>>>
>>> Best,
>>> Jake
>>> --
>>> View this message in context:
>>>
http://www.nabble.com/Score-Alignment-Utility-tp24227460p24227460.html>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email
sympa@... with body
>>> "unsubscribe csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email
sympa@... with body
>> "unsubscribe
>> csound"
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/Score-Alignment-Utility-tp24227460p24234262.html> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email
sympa@... with body
> "unsubscribe csound"
Send bugs reports to this list.
To unsubscribe, send email
sympa@... with body "unsubscribe csound"