Csound Csound-dev Csound-tekno Search About

Re: off topic: forks in Macintosh

Date1999-10-20 03:38
FromMichael Coble
SubjectRe: off topic: forks in Macintosh
Merideth Johnston wrote:
> 
> At 5:38 PM +0300 10/17/99, Sergey Batov wrote:
> >Excuse me, please, for off topic question.
> >
> >I never worked with Mac (though I'd like to) but now
> >it's necessary for me to understand format of Sound designer's
> >files deeply. First, I'll be happy to see any comments about it.
> >And second (very important), can anybody  explain what is
> >the thing called 'fork' (data fork, resource fork). Or where can I
> >find explanation (easy enough for "PC-thinking")?
> >

	Merideth,

	The Macintosh uses a 2 fork file for internationalization and easy
access to the graphical elements in an application, among other things. 
I suppose it was considered to be a really neat thing to do at the time,
and maybe it still is.  Basically, in a Mac program you put all your
error messages, icons, internally used images, and file type information
in the resource fork.  This is why a macintosh always knows the creator
of a file without having to name the file foo.txt or foo.jpg.  

	There are text editors to work on these files, and ResEdit is a free
graphical editor of a file.  If you want to check it out, just open up
the system file with ResEdit and then go change some things
around...NOT!!!  Seriously, don't go changing things in application
files, system files, etc, but you can always open them up and then look
at all the components of the resource fork.

	good luck!


-- 
Michael Coble:: 
    Digital Art Gallery, http://www.sohogallery-nyc.com/

Date1999-10-21 04:36
FromMerideth Johnston
SubjectRe: off topic: forks in Macintosh
Michael, I think you mistook my response for a question.  8-)  I quoted a
Mac manual in response to the fork question.  I have had ResEdit for some
time, though I'm only now beginning to get any use out of it.  Officially,
they recommend you only work with _copies_ of files in ResEdit, and I have
to concur with that.  It is very easy to mess things up, even if you only
intend to look.  I don't think you will come to any usable understanding of
resources or forks via ResEdit alone, though.  The manual I mentioned in my
earlier post is the only thing I've found to date which explains in depth
what resource forks are, and if a person wants to actually make or modify
them, I'd recommend studying it, which I'm in the process of doing myself.

Neat thing to do?  In my opinion, the resource fork is a main cornerstone
of the Mac - all Macs - and is the main reason why Windows can never be
more than a pale imitation of what is standard on the Mac.  After all,
under it all, Windows must be DOS compatible, while the Mac never will be,
no matter how good the simulations are.

Which leads me back to the one question I _did_ ask on this list, and never
received a single response for:

What must I do to get one toot out of Csound on my machine, if indeed it is
possible?  Since I haven't been able to do that much yet, I think you folk
need to re-examine your system requirements and your set-up instructions to
correspond to the facts.

One fact being:  aiff and wave file formats are UNIX and IBM native, not
Macintosh file formats.  A plain, old, no frills, as-is Mac uses fssd and
snd file format, though fssd is all but obsolete and snd is the more
commonly used _native_ Mac sound format.  There are translators, such as
Quicktime and Liveaudio, for various sound formats primarily used by
internet browsers, but they must be invoked, and the present version of
Quicktime 4, which I do have installed, is not always able to handle sound
files from the net, probably due to the lack of an fpu on this machine - a
thing most old Macs will also lack.  Here I would note that Virtual Drummer
III works on my computer.  At present, it is the only music software I have
which will work....  It's output is midi or quicktime, so whatever he does,
he does it correctly and seamlessly.  If indeed you wish to have a Csound
which will work for anyone (ie, including non-powermac users like me), it
might be useful to contact the person who put that together.  Quoting from
his read-me file:

>System Requirements
>System 7.5 or greater
>Quicktime 2.5 or greater
>
>Contacting the Author
>I encourage you to send in bug reports, suggestions, and comments about
>Virtual Drummer. Many of the features in Virtual Drummer are the direct
>result of feature requests by users. I try to answer all my mail, but at
>times am overloaded, and may not respond to a feature request(help
>requests are given priority). However, all feature requests are read, and
>will be given consideration.
>
>I'm always looking for new projects, so if you have any other applications
>you'd like to see, let me know.
>
>email : jonnichols@igs.net
>www : http://www.igs.net/~jonnichols/

His graphical interface on VD is great, so he might be a good one to have
take a look at yours.   In any case, if I can't get Csound to work, I'll be
going - not much point in hanging around if I can't even get Toot1 of the
tutorial to toot.  8-)  See ya.



At 10:38 PM -0400 10/19/99, Michael Coble wrote:
>	Merideth,
>
>	The Macintosh uses a 2 fork file for internationalization and easy
>access to the graphical elements in an application, among other things.
>I suppose it was considered to be a really neat thing to do at the time,
>and maybe it still is.  Basically, in a Mac program you put all your
>error messages, icons, internally used images, and file type information
>in the resource fork.  This is why a macintosh always knows the creator
>of a file without having to name the file foo.txt or foo.jpg.
>
>	There are text editors to work on these files, and ResEdit is a free
>graphical editor of a file.  If you want to check it out, just open up
>the system file with ResEdit and then go change some things
>around...NOT!!!  Seriously, don't go changing things in application
>files, system files, etc, but you can always open them up and then look
>at all the components of the resource fork.
>
>	good luck!
>
>
>--
>Michael Coble::
>    Digital Art Gallery, http://www.sohogallery-nyc.com/
>    Music, http://www.sohogallery-nyc.com/computermusic


Merideth
merideth@sky.net     ;)-{8-->=     li'l wimyn      @-{--E=

http://www.sky.net/~merideth/ - visit my poetry page & art gallery
http://www.geocities.com/Heartland/Plains/9311 - genealogy site
http://www.anyboard.net/arts/artnpoetry/index.html - Art & Poetry Message
Board


*        * *    *
- - - - - - -- -- -- --- --- --- ---- ---- ---- ----- ----- -----<>]====-    *

*       *
                                                                           *
If you don't have fuel or sufficient runway for the kind of plane you're
in, you aren't going to get off the ground any better than you would by
flapping your arms.