[comp.sys.mac] Patch for Sound cdev

ephraim@think.COM (Ephraim Vishniac) (03/17/89)

As supplied by Apple, the Sound cdev presents a very small scrolling
list of beep sounds.  If you've installed lots of sounds in your
system file, it's a regular pain to scroll the list in such a tiny
window.  Here's how to fix it.

The Sound cdev dialog is described by DITL -4064 in the Sound cdev
file.  This DITL has some funky properties which make it nearly
impossible to edit graphically.  The largest difficulty is that a
couple of magic rectangles are "outside" the DITL to the right.  If
you modify anything else in the DITL, ResEdit "fixes" it so as to make
these rectangles accessible.  This is sort-of what you want, since you
need to edit one of those rects.  It's also not what you want, since
expanding the DITL screws up the cdev completely.

To avoid these problems, edit the DITL in hex.  In ResEdit,
option-double-click the DITL or use "Open General" to see the
hexadecimal representation.  The bottom of the rectangle for the
scrolling list is at offset 00AC.  Change it from $0054 to $00F0.  The
bottom of the rectangle that surrounds the scrolling list and its
legend is at offset 00DC.  Change it from $0062 to $0100.  Be sure to
close and save the file without opening the DITL graphically, or
ResEdit will "fix" the bounding rectangle for you and screw things up.

The next time you open the Sound cdev in the control panel, the
scrolling list of sounds will be nearly as high as the panel.

Miscellaneous info: System 6.0.2, ResEdit 1.2b3.

Ephraim Vishniac  /  Internet: ephraim@think.com  / AppleLink: ThinkingCorp
Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214

	"Arlo Guthrie, it seems, has found what he was looking for:
		God, and the Macintosh." (Boston Globe)