Re: wordpad

Iain Duncan <[email protected]> Tue, 19 Jul 2005 12:08:12 -0700
Newsgroups gmane.comp.audio.csound.tekno
Message-ID <[email protected]>
Python is well worth learning, you'll find eleventy billion uses for it 
once you know it. Working in csound, you will find yourself doing a lot 
with text, and working with a lot of small text files from the command 
line. I use python tons to automate tasks that are otherwise low points 
of working with csound. Write a python script to do it for you and 
attach it to a key binding from gvim, and suddenly it's a pleasure! In 
addition, Mike has added python to csound itself for doing algorythmic 
composition, the new API ( of which Mike is one of designers ) makes it 
fairly easy to control csound from a python script, and gvim can embed 
python as well, meaning you can write python functions in gvim that both 
control gvim and hack on text. I made a whole bunch of them that turn my 
gvim station into a cross between a tracker and a spreadsheet for 
editing my step-sequence score files. Most useful for me are all the 
text hacking functions, regular expressions, and directory and file i/o.

As for editors, gvim is a gui based version of vim, the big unix editor. 
It works on all platforms, and on windows it can even be used with a 
bunch of windows key strokes. The main difference is that gvim is modal, 
and emacs isn't. You should probably try both and pick whichever you 
like. John Ffitch and Stephane are big emacsers, Istvan Varga is a vi 
freak, so there's no one answer. Those guys have all added coloured 
syntax highlighting for csound to the editors, which sure makes editing 
and debugging csound nicer.

If I were giving advice to someone wanting to do what I'm doing now, 
what I would do differently is:

- learn linux sooner
- learn gvim ( really learn it ) sooner
- learn python sooner
- learn regular expressions sooner
- start making some scripts combining the above for the hell of it

I'm nutty busy this week so I don't have much time to do documentation, 
but I could stick up some of the example python scripts and gvim/python 
scripts I use if you want to see what can be done with them.

Hope that is useful!
Iain

Richard Burford wrote:
> Mike,
> 
> Thanks very much for that.  I'll go check it out now.  I'm trying to learn
> python at the moment, not quite sure why but there ya go.  It's good to keep
> on learning new things I guess.
> 
> Rich
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Michael Gogins
> Sent: 19 July 2005 15:06
> To: Making electronic dance music with csound.
> Subject: RE: [CsndTek] wordpad
> 
> Sorry, my mistake. It is scintilla, or to be really precise SciTE, not
> scitex:
> 
> http://www.scintilla.org/SciTE.html
> 
> This is better than emacs for lots of things especially if you are used to
> Windows style key bindings, and of course takes up much much less room than
> emacs. What is lacking is source level debugging.
> 
> Regards,
> Mike
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Richard Burford <[email protected]>
> Sent: Jul 19, 2005 9:05 AM
> To: "'Making electronic dance music with csound.'" <[email protected]>
> Subject: RE: [CsndTek] wordpad
> 
> I did that already man!
> 
> I could not find anything but printer and graphics stuff for Scitex which I
> assume, perhaps incorrectly, is unrelated to wordpad.
> 
> Gvim is a linux based text editor for programming with highlighted text
> colours etc??
> 
> Rich
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Michael Gogins
> Sent: 19 July 2005 13:32
> To: Making electronic dance music with csound.
> Subject: Re: [CsndTek] wordpad
> 
> Google.
> 
> ----- Original Message ----- 
> From: "Richard Burford" <[email protected]>
> To: "'Making electronic dance music with csound.'" <[email protected]>
> Sent: Tuesday, July 19, 2005 7:09 AM
> Subject: RE: [CsndTek] wordpad
> 
> 
> 
>>What are Scitex and gvim?
>>
>>Rich
>>
>>-----Original Message-----
>>From: [email protected]
>>[mailto:[email protected]] On Behalf Of Iain Duncan
>>Sent: 18 July 2005 20:58
>>To: Making electronic dance music with csound.
>>Subject: Re: [CsndTek] wordpad
>>
>>
>>>blue. It's great, and it's got looping options, which
>>>makes it more friendly to techno/contemporary music
>>>development.
>>
>>Yeah, Steven's stuff is very cool. My long range plan is to streamline
>>all my python composition tools, rewrite my user interface stuff in
>>C/C++ so as to be able to use those languages for large code management,
>>and then work on a way to integrate them with something like blue.
>>That'll be a ways a way though. ; )
>>
>>Iain
>>
>>
>>
>>>--- Iain Duncan <[email protected]> wrote:
>>>
>>>
>>>
>>>>Personally, I'm into gvim. It's really easy to
>>>>script gvim using Python,
>>>>which I already use, instead of having to learn
>>>>lisp. I've found that
>>>>extremely handy for patching instruments and scores
>>>>when I'm going to
>>>>make a similar change to a whole wack of files or
>>>>sections.
>>>>
>>>>What does everyone else use?
>>>>
>>>>Iain
>>>>
>>>>
>>>>Michael Gogins wrote:
>>>>
>>>>
>>>>>Scitex is an excellent choice, more intuitive than
>>>>
>>>>Emacs yet quite functional.
>>>>
>>>>
>>>>>Regards,
>>>>>Mike
>>>>>
>>>>>-----Original Message-----
>>>>>From: Iain Duncan <[email protected]>
>>>>>Sent: Jul 16, 2005 4:47 PM
>>>>>To: "Making electronic dance music with csound."
>>>>
>>>><[email protected]>
>>>>
>>>>>Subject: Re: [CsndTek] wordpad
>>>>>
>>>>>James, it is well worth the time learning gvim or
>>>>
>>>>emacs. Just try and
>>>>
>>>>
>>>>>learn a few new features every week, and soon
>>>>
>>>>you'll be editing scores
>>>>
>>>>
>>>>>and instruments several times as efficiently! =)
>>>>>
>>>>>Iain
>>>>>
>>>>>James Cairney wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hi
>>>>>>
>>>>>>Does anyone know if there is a program like
>>>>
>>>>wordpad with numbered rows.
>>>>
>>>>
>>>>>>I heard somewhere that there is.  This would make
>>>>
>>>>it easier for when I
>>>>
>>>>
>>>>>>get an error message for line 563!
>>>>>>
>>>>>>Thanks in advance
>>>>>>
>>>>>>James
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>csoundtekno mailing list
>>>>>>[email protected]
>>>>>>
>>>>>>Subscribe, unsubscribe, change mailing list
>>>>
>>>>options:
>>>>
>>>>
>>>>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>csoundtekno mailing list
>>>>>[email protected]
>>>>>
>>>>>Subscribe, unsubscribe, change mailing list
>>>>
>>>>options:
>>>>
>>>>
>>>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>csoundtekno mailing list
>>>>>[email protected]
>>>>>
>>>>>Subscribe, unsubscribe, change mailing list
>>>>
>>>>options:
>>>>
>>>>
>>>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>>>
>>>>
>>>>_______________________________________________
>>>>csoundtekno mailing list
>>>>[email protected]
>>>>
>>>>Subscribe, unsubscribe, change mailing list options:
>>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>>
>>>
>>>
>>>
>>>
>>>
>>>____________________________________________________
>>>Start your day with Yahoo! - make it your home page
>>>http://www.yahoo.com/r/hs
>>>
>>>
>>>_______________________________________________
>>>csoundtekno mailing list
>>>[email protected]
>>>
>>>Subscribe, unsubscribe, change mailing list options:
>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>
>>
>>_______________________________________________
>>csoundtekno mailing list
>>[email protected]
>>
>>Subscribe, unsubscribe, change mailing list options:
>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>
>>_______________________________________________
>>csoundtekno mailing list
>>[email protected]
>>
>>Subscribe, unsubscribe, change mailing list options:
>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>
> 
> 
> 
> _______________________________________________
> csoundtekno mailing list
> [email protected]
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
> 
> _______________________________________________
> csoundtekno mailing list
> [email protected]
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
> 
> 
> 
> _______________________________________________
> csoundtekno mailing list
> [email protected]
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
> 
> _______________________________________________
> csoundtekno mailing list
> [email protected]
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
> 

_______________________________________________
csoundtekno mailing list
[email protected]

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno