Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Remote Csound (was: Mac installer)

Date2005-11-12 08:51
FromVictor Lazzarini
SubjectRe: [Cs-dev] Remote Csound (was: Mac installer)
Can't you build Tclcsound on OS 9? With it it is dead easy
to
make a csound server. Everything is done in Tcl, transport
and even getting files off a client be done. The
examples/tclcsound/
listener.tcl shows an example of that.

Victor

>
> David Akbari wrote on 11/11/05 3:24 PM:
>
> >>> On Nov 11, 2005, at 2:05 AM, Anthony Kozar wrote:
> >>>> Along these lines, I have been giving
> >>>> serious thought to developing a "Remote Csound
> Server" for MacOS 9.
>
> > What about using this in conjunction with something like
> > FTP so that you can instantiate Csound processes on
> > several machines and retrieve their output via a "host
> > machine" that you would sit at. Simply using FTP could
> also allow for transfer of source Csound files from the
> > host machine to any given client; facilitating
> > collaboration of Csound over several machines. If such
> > an idea is implemented, it is likely that I would make
> > the effort to acquire more Macintosh G3 computers.
> > The question is, what other means of file transfer
> > exists other than FTP ? Would Remote Csound be capable
> > of sending/receiving TCP or UDP (as it's protocol) ?
>
> Well, AppleTalk and OS 9 File Sharing are the most obvious
> solution.  If all remote machines are running File Sharing
> , then you can just mount their hard drives directly on
> your desktop and copy files back and forth as needed.  If
> the remote machines mount your local hard drive, then it
> should even be possible for Remote Csound to read the .csd
> directly off of your computer and write the output sound
> file back onto your hard drive (although this will make
> Csound run _much_ slower).
>
> It occured to me after my last email that the local front
> end could even automate the process of copying files to
> the remote machine before a Csound job and then copy the
> result back after its done.  All of this can be done with
> AppleEvents over an AppleTalk network.  AppleTalk normally
> uses its own protocol, but under OS 9 it is also possible
> to have File Sharing and Program Linking connections occur
> over TCP/IP (although this is a huge security hole if you
> are also connected to an external network via TCP/IP).
>
> > Would it be possible to alter these configurations
> > (Program Linking;AppleTalk toggle) from a host machine
> > (ie. with no human interface devices hooked up to the
> > client machines) ? Is this similar to the AppleScript
> that is suggested ?
>
> Any AppleScript command that can be issued to a local
> machine can also be issued to a remote machine.  However,
> in this case, you run into a chicken and egg problem.
> While you could have a script on the remote machine that
> turns on AppleTalk and Program Linking, and you could run
> this script with a command from the local machine,
> AppleTalk and Program Linking must already be turned on
> for this command to work!  :)
>
> Basically, the best situation would be to configure the
> machines permanently.  This should not be a problem unless
> you are using a school lab where they will get upset about
> you changing the file sharing settings. Once the remote
> machines are configured though, they could all be
> "headless" (without keyboards, mice, or monitors).
>
> Anthony Kozar
> anthonykozar AT sbcglobal DOT net
> http://akozar.spymac.com/
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo
> App Server. Download it for free - -and be entered to win
> a 42" plasma tv or your very own Sony(tm)PSP.  Click here
> to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-11-12 17:39
FromAnthony Kozar
SubjectRe: [Cs-dev] Remote Csound (was: Mac installer)
Well I have been wondering whether TclCsound would work as well.  I have
Tcl/Tk 8.4.2 installed on my machine and I imagine that that would be recent
enough.  I would like to try it sometime and see what happens.

Are you familiar with the existing Tcl GUI for Csound available from Bath
FTP?? :

ftp://ftp.cs.bath.ac.uk/pub/dream/utilities/CS-FE.tgz

This is actually quite nice as a cross-platform front end.  The interface is
even functional on OS 9 but it cannot actually run Csound or edit files
because it uses pipes and exec() to accomplish these tasks.

I haven't seen what TclCsound can do yet, but it sounds like more of a
language wrapper than a GUI front end.  Maybe you would like to incorporate
the above Tcl GUI into your project and make it use the API instead of
pipes.

This could be the cross-platform graphical front end that we have been
looking for!  (And will even support MacOS 9 :)

Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://akozar.spymac.com/


Victor Lazzarini wrote on 11/12/05 3:51 AM:

> Can't you build Tclcsound on OS 9? With it it is dead easy to
> make a csound server. Everything is done in Tcl, transport
> and even getting files off a client be done. The
> examples/tclcsound/listener.tcl shows an example of that.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net