This article is from the Apple II Csa2 FAQ, by Jeff Hurlburt with numerous contributions by others.
IF you have HCGS (HyperCard GS) then, one way to get System Sounds is to place
a HCGS stack with rSounds in the Sound folder. You'll have plenty of new sounds
to use with the Sound CDev.
Making a new stack and moving sounds into it works fine, but so does making a
COMPLETELY EMPTY file of type $55/$0001 (HyperCard Stack -- you can save an
empty text file and then change its file type to do it) and then moving the
sounds into THAT. Afterwards, you can change the file type of that file to
$D8/$0003 (Sound Resource) so HyperCard won't try to actually open it as a
stack. This saves about 7K of space.
Also, sound files that are placed in the */System/Sounds folder can be directly
used by HCGS v1.1! You don't need to install those sounds into a stack!
There's a smaller and much more manageable hammer. All that's required is
HyperCard GS and some utility to change file types.
To get sounds out of a HCGS stack and into a system sounds file, with NO
OVERHEAD whatsoever, do the following:
1) Create an empty text (or binary, or whatever) file on disk.
2) Change the file type of that file to $55/$0001 (HyperCard
GS stack).
3) Use HyperCard's XCMDs (or Hang's sound stacks) to copy sounds
into that file that used to be a text file.
4) Change the file type of that file to $D8/$0003 (Sound resource).
5) Throw that file into your system Sounds folder.
You could also just create a new stack from within HCGS and do the same thing,
but it'll be about 7K larger, due to the information HCGS puts in a stack's
data fork when it's created.
By: Rubywand
 
Continue to: