develop-07 9107 Summer 1991
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
Image 1
develop The Apple Technical Journal QUICKTIME 1.0: "YOU OUGHTA BE IN PICTURES" SCORING POINTS WITH TRUETYPE THREADED COMMUNICATIONS WITH FUTURES USING C++ OBJECTS IN A WORLD OF EXCEPTIONS THE SUBSPACE MANAGER IN SYSTEM 7.0 HELP FOR YOUR DIALOG APPENDAGES IF I HAD A HAMMER MACINTOSH Q & A APPLE II Q & A YOUR DEVELOPER ESSENTIALS DISC Issue 7 Summer 1991 Apple Computer, Inc. GOLF
A magenta-toned cover collage shows repeated photos of a smiling woman, a golf swing sequence, a printed page with a golf photo and the word GOLF, and green line graphs on purple panels beside a stacked list of cover story titles.
Reading notes: Small text on the overlapping photo page and the golf article body is too blurred to transcribe reliably and was omitted. The 'Issue 7' label has the 'I' rendered in a distinct bold style; read as Issue 7. Product names listed as cover-story titles rather than advertised products; 'develop' and 'The Apple Technical Journal' are masthead text.
- Printed product names
- develop · The Apple Technical Journal · QuickTime 1.0 · TrueType · System 7.0 · Macintosh · Apple II
- Printed dates
- Summer 1991
- Languages
- English
PDF page 1
d e v e l o p T h e A p p l e T e c h n i c a l J o u r n a l QUICKTIME 1.0: “YOU OUGHTA BE IN PICTURES” SCORING POINTS WITH TRUETYPE THREADED COMMUNICATIONS WITH FUTURES USING C++ OBJECTS IN A WORLD OF EXCEPTIONS THE SUBSPACE MANAGER IN SYSTEM 7.0 HELP FOR YOUR DIALOG APPENDAGES IF I HAD A HAMMER MACINTOSH Q & A APPLE II Q & A YOUR DEVELOPER ESSENTIALS DISC I ssue 7 Summer 1991 Apple Computer, Inc.
Reading notes: Headline is null because the only candidate is the spaced-letter masthead 'd e v e l o p T h e A p p l e T e c h n i c a l J o u r n a l', which may be a masthead rather than a headline. The supplied copy was extracted locally rather than read from the image, so layout, reading order, and visual presence of each line are unverified. 'Issue 7' is an issue number, not a printed date; only 'Summer 1991' was treated as a date. 'C++ OBJECTS' and other article titles were not treated as advertised products.
- Printed product names
- QuickTime 1.0 · TrueType · System 7.0 · Macintosh · Apple II · Your Developer Essentials Disc
- Printed dates
- Summer 1991
- Languages
- English
PDF page 2
E D I T O R I A L Editor-in-Cheek Caroline Rose Spirited Guide Louella Pizzuti Technical Buckstopper Dave Johnson Managing Editor Monica Meffert Contributing Editors Lorraine Anderson, Geta Carlson, Toni Haskell, Judy Helfand, Rilla Reynolds, and Gregg Williams Editorial Assistant Helen Stea Indexer Ira Kleinberg Manager, Developer Support Systems and Communications David Krathwohl A R T & P R O D U C T I O N Production Manager Hartley Lesser Art Director Diane Wilcox Technical Illustration Automatrix, Don Donoughe, and John Ryan Formatting Automatrix Printing Wolfer Printing Company, Inc. Film Preparation Aptos Post Inc. Production PrePress Assembly Photography Sharon Beales, Ralph Portillo, and Steven C. Johnson Circulation Management David Wilson Online Production Cassi Carpenter R E V I E W B O A R D Pete Alexander, C. K. Haun, Larry Rosenstein, Andy Shebanow, and Gregg Williams d e v e l o p , The Apple Technical Journal, is a quarterly publication of the Developer Support Systems and Communications group. The cover was created by Hal Rucker and Cleo Huggins using Adobe Photoshop™, a RasterOps™ Frame Grabber, and their friends Denise Huajardo and Brian Crowley. Wildebeests were inspired by a documentary on an African watering hole. With TrueType, Apple‘s outline font technology, “Hello, World” has never looked so good. See “Scoring Points With TrueType” for details.
Reading notes: Transcript intentionally left empty because exact extracted text is preserved separately; the other fields are based only on the supplied copy. No headline is visibly identified; the spaced section labels 'E D I T O R I A L' and 'A R T & P R O D U C T I O N' and 'R E V I E W B O A R D' are section labels, not headlines. The page does not appear to be an advertisement; no advertised prices or dates are present in the supplied copy. 'TrueType' is the only product that appears in promotional phrasing; Adobe Photoshop, RasterOps Frame Grabber, and other tools are mentioned as credits rather than advertised products. Reading order and column layout are inferred from the extracted text and not verified against the image. The spaced lettering 'd e v e l o p' and the 'Editor-in-Cheek' title are reproduced as they appear in the supplied copy. The curly apostrophe in 'Apple‘s' and the quotation marks around 'Hello, World' and 'Scoring Points With TrueType' may not match the original typography exactly. Names such as 'Huajardo' and 'Wildebeests' should be checked against the printed page for spelling.
- Printed product names
- TrueType
- Languages
- English
PDF page 3
CONTENTS Summer 1991 1 E D I T O R I A L 2 L E T T E R S 4 A R T I C L E S QuickTime 1.0: “You Oughta Be in Pictures” by Guillermo A. Ortiz An introduction to QuickTime that shows you how to create and play back simple movies. 7 Scoring Points With TrueType by Konstantin Othmer and Mike Reed This article demonstrates some snazzy, never-before-possible text effects. 30 Threaded Communications With Futures by Michael Gough Futures are an addition to the Threads Package that can make your IPC code even cleaner. 51 Using C++ Objects in a World of Exceptions by Michael C. Greenspon This article explores some subtle gotchas that can occur when mixing Pascal and C++ objects, and provides guidelines for avoiding them. 66 The Subspace Manager in System 7.0 by Harry R. Chesley A little- known Macintosh Manager is revealed for the first time, and the (hairy) implications for life on earth are discussed. 86 C O L U M N S Print Hints From Luke & Zz: Help for Your Dialog Appendages by Scott “Zz” Zimmerman How can you add Balloon Help to your custom Print dialog items? Zz will tell you all about it. 48 The Veteran Neophyte: If I Had a Hammer . . . by Dave Johnson Kids, MS-DOS, wireless modems, collaboration, and computer binges. Disparate topics? Perhaps. 91 Q & A Answers to your product development questions. Macintosh Q & A 93 Apple II Q & A 101 D E V E L O P E R E S S E N T I A L S 104 What’s old and what’s new on your Developer Essentials CD-ROM disc. I N D E X 107 © 1991 Apple Computer, Inc. All rights reserved. Apple, the Apple logo, APDA, Apple IIGS, AppleLink, AppleShare, AppleTalk, GS/OS, LaserWriter, Lisa, MacApp, Macintosh, MPW, MultiFinder, ProDOS, and StyleWriter are registered trademarks of Apple Computer, Inc. Apple Desktop Bus, Balloon Help, develop, Finder, KanjiTalk, QuickDraw, QuickTime, and TrueType are trademarks, and ACOT is a service mark, of Apple Computer, Inc. HyperCard is a registered trademark of Apple Computer, Inc. licensed to Claris Corp. PostScript is a registered trademark, and Adobe Photoshop is a trademark, of Adobe Systems Inc. Bitstream is a registered trademark of Bitstream Inc. Turbo C and Turbo Pascal are registered trademarks of Borland International Inc. MacDraw and MacWrite are registered trademarks of Claris Corp. dip-er-do is a trademark of Dipco Products Co. GRiDPAD is a registered trademark of GRiD Systems Corp. Times is a registered trademark of Linotype Co. MacRenderMan is a registered trademark of Pixar. RasterOps is a trademark of RasterOps. THINK C and THINK Pascal are trademarks of Symantec Corp. NuBus is a trademark of Texas Instruments. WriteNow is a trademark of T/Maker Co. UNIX is a registered trademark of UNIX System Laboratories, Inc. CONTENTS
- Printed product names
- QuickTime · TrueType · Macintosh · MultiFinder · Developer Essentials · Apple IIGS · LaserWriter · MacApp · MacDraw · MacWrite · HyperCard · Balloon Help · Apple Desktop Bus · AppleShare · AppleTalk · AppleLink · ProDOS · GS/OS · Lisa · Finder · KanjiTalk · QuickDraw · StyleWriter · Adobe Photoshop · PostScript · Bitstream · Turbo C · Turbo Pascal · GRiDPAD · Times · MacRenderMan · RasterOps · THINK C · THINK Pascal · NuBus · WriteNow · UNIX · MPW · APDA · ACOT · dip-er-do
- Printed dates
- Summer 1991 · 1991
- Languages
- English
PDF page 4
2 CAROLINE ROSE has been writing computer documentation ever since “timesharing” meant mainframes, not condos. After a seven-year digression into programming, she returned to writing and joined Apple to document the inner workings of a beguiling new computer named Macintosh. The result was a three-volume tome that was affectionately nicknamed “The Vault of Horror.” In what proved to be another digression, she left Apple to launch NeXT’s documentation effort (starting, interestingly enough, with writing the WriteNow™ For Macintosh manual). She’s thrilled to be back at Apple with all its charms. Caroline is an avid reader, swimmer, dancer, and hiker, and is passionate about her cat and all things Italian. Seeing Michael Crawford in Phantom of the Opera was a recent high that she’s not sure how she’ll top (but she’ll try). • d e v e l o p Summer 1991 CAROLINE ROSE Dear Readers, My editorial in Issue 6 ended with this riddle: “I entered this entire editorial without pressing a single key on the keyboard or clicking the mouse button. I was as quiet as a mouse (the furry kind). How did I do this? And furthermore, why?” Well, first I had an on-screen keyboard (a desk accessory) that interprets a click on one of its keys as a press of that key. This DA has an option that lets you set a delay after which the mere presence of the cursor over that key will be interpreted as a keypress. I also had a trackball set up on the floor and used my foot to move the cursor around. So with this I was able to type without using my hands. As for why I wasn’t using my hands—besides as a way of getting a snappy ending to the editorial—I’m one of many people who suffer from RSI, repetitive strain injury. In my case, this means tendinitis in my forearms, but it can also mean carpal tunnel syndrome and a host of other similar problems. Since my recent return to Apple®, I’ve learned that there are many software and hardware products for the Macintosh® that can help RSI sufferers and others with limited hand movement. I’m now using a trackball with my nondominant (less-suffering) hand and with a foot switch—a pedal I step on to click. I’m also using a desk accessory that alerts me when I’ve been typing for a half hour without at least a five-minute break (I chose delicate Tibetan-style flute music as my auditory cue, but there are of course less sublime options). There are many similar products that I haven’t yet explored. With diligent stretching and breaks from typing—and freedom from using the mouse—I’m able to type as much as I need to in order to do my job. Many others are less fortunate. That’s the good news. The bad news is that many of these products don’t work with other, mainstream software: the on-screen keyboard isn’t compatible with a certain macro program I’d also benefit from using, or with the word processor I use most of the time. This is a very real example of the effect of programming things in nonstandard ways—for example, using GetKeys to find out what characters have been typed rather than getting this information out of the event record, or calling the ADB Manager when you’re not writing a special driver and so really should be using higher-level routines. (You know who you are.) Incompatibilities notwithstanding, these products are terrific, and thanks go to all the Macintosh developers who have created them. You’ve made a big difference in some people’s lives—probably including your own, since I’ve learned that the
Reading notes: Two-column layout and running text may affect reading order across the caroline rose biography and editorial.
- Printed product names
- Macintosh · Apple · NeXT · WriteNow™ For Macintosh · Phantom of the Opera
- Printed dates
- Summer 1991 · Issue 6
- Languages
- English
PDF page 5
motivation for many of you has been that you’ve had a repetitive strain injury yourselves. For those of you who haven’t yet had the problem, you’d be wise to takes steps toward prevention. Don’t ignore it; if you slave over the keyboard for long hours, it will probably not ignore you. While we’re on the subject of doing the right thing, I might add that develop ’s paper is now recycled enough to pass California’s stringent requirements for the use of the familiar recycle logo (which we now proudly bear on our back cover). Formerly we used paper that was 50 percent de-inked (waste paper from printing plants, with the chemical inks removed); now our paper is also 10 percent post-consumer waste (not de-inked). Recycled paper keeps getting better looking and more practical to use; we’re happy to be able to do our part toward saving the forests. Please do yours, and recycle your issues of develop if you don’t want to hold on to them—preferably by passing them on to a friend! As always, we welcome your comments and suggestions. Keep those cards and letters coming . . . Caroline Rose Editor EDITORIAL Summer 1991 3 SUBSCRIPTION INFORMATION Use the order form on the last page of this issue to subscribe to develop ™ . Please address all subscription-related inquiries to develop, Apple Computer, Inc., P.O. Box 531, Mt. Morris, IL 61054 (or AppleLink DEV.SUBS). • BACK ISSUES For information about back issues of develop and how to obtain them, see the reverse of the order form on the last page of this issue. Note that back issues are also on the Developer Essentials CD- ROM disc. •
Reading notes: Possible OCR spacing issues around the product name 'develop' in the editorial text
- Printed product names
- develop · AppleLink DEV.SUBS
- Printed dates
- Summer 1991
- Languages
- English
PDF page 6
NEAT THREADS I’ve just finished experimentally adding the Threads Package to my current application. I was amazed at how painlessly it could be added. What I felt was truly remarkable was that I use THINK C’s ™ object-oriented extensions (which I refer to as C+-) along with the THINK Class Library, and it took less than 10 minutes to perform all the necessary conversions. Pretty neat. I’m linking to ask whether you have any information about using the Threads Package with THINK C and TCL, and whether there are any special considerations involved in using threads with or inside methods. Just using them inside a method with a single instance, with no reference to instance variables, is demonstrably effective, but this case is logically indistinguishable from conventional code. I suspect that use with objects might require custom fSwapIn and fCopyContext routines to preserve this, the handle to the object's instance. In THINK C, this is internally kept in an address register. If the default context-saving routines save A0-A4 register states as well as the stack, this should automatically be preserved. Whether registers are preserved does not seem to be documented in your otherwise nifty develop article. Logic says some must be preserved (A5 at least), but have you been prescient enough to save all of them? —Kirk Kerekes Thanks for your truly inspiring link! It really makes a difference for me to get feedback like this. I don’t foresee any special problems threading THINK C code. All the data and address registers are saved. The FPU registers are saved only if you specifically request that they be saved at InitThreads time, and then only when you have an FPU. Remember to be careful about segment unloading. I’m at your service if you need any help with threads. Feel free to contact me by telephone. My number is (408)974-0355. —Michael Gough MISSING SNIPPETS Am I blind? Issue 6 of develop, page 88, talks about code snippets, but I can’t find them anywhere. Are they inside a stack somewhere, or did they miss getting on the CD? —Greg Johnson You are not blind. Snippets did not make it onto that CD, but they’ve made it onto the Developer Essentials disc for this issue of develop . They’re also available via AppleLink ® , in the Developer Technical Support folder on the Developer Services Bulletin Board, as well as in the Dev Tech Answers library. —Caroline Rose MISSING TRUETYPE INIT Recently I received Issue 6 of develop . I enjoy reading the articles and would like to make a comment. Since Apple is distributing a TrueType ™ INIT for System 6.0.7, why didn’t you put it on the CD of Issue 6? I hope I can find it in the next issue even though System 7.0 is now available. —Tetsuya Ishikawa d e v e l o p Summer 1991 4 COMMENTS We welcome timely letters to the editors, especially from readers reacting to articles that we publish in develop. Letters should be addressed to Caroline Rose (or, if technical develop-related questions, to Dave Johnson) at Apple Computer, Inc., 20525 Mariani Avenue, M/S 75-2B, Cupertino, CA 95014 (AppleLink: CRose or Johnson.DK). All letters should include name and company name as well as address and phone number. Letters may be excerpted or edited for clarity (or to make them look like they say what we wish they did). • LETTERS
Reading notes: Garbled symbol rendering in 'THINK C’s ™' and 'TrueType ™' may lose trademark marks.
- Printed product names
- Threads Package · THINK C · THINK Class Library · TCL · develop · TrueType · System 6.0.7 · System 7.0 · AppleLink · Developer Essentials · Dev Tech Answers · Developer Services Bulletin Board · FPU
- Printed dates
- Summer 1991
- Languages
- English
PDF page 7
LETTERS Summer 1991 5 I hope we can fulfill other people’s wishes as easily as we did yours. The TrueType INIT for System 6.0.7 is now on the CD in the folder with the System; an oversight kept it off of the last CD. As with all old System software, we’re providing this INIT so you can test your software with it (just in case you’ve got some as-yet-unupgraded users). When testing with the TrueType INIT, make sure you use it only with System 6.0.7; that’s the only System it’s designed to work with. Happy testing, —Caroline Rose DISAPPOINTING CD I must admit to being disappointed with the CD-ROM disc that came with Issue 6: Tech Notes “stuck” back in 12/90, no Volume VI of Inside Macintosh , just HyperCard ® alone rather than a developer’s edition, no System 7.0. Should I expect that my perception that the disc is out-of-touch, out-of-date, and insufficient will be permanent? That is, develop is not really meant to be a real developer-support package for the individual (noncorporate) developer operating on a shoe string? Thanks for any insight you can give me. —Pete Roberts I certainly hope your perception that the disc is out-of-touch, out-of-date, and insufficient will not be permanent. We collect and press as much as we can, but because we want subscribers to get develop regularly, we don’t hold the presses for software or documentation that isn’t quite ready yet, as was the case last time for System 7.0 and Inside Macintosh Volume VI. They’re both on this issue’s disc. The Tech Notes on Issue 6’s disc were actually updated through February 1991. (Well, the stack version was, anyway; the MacWrite ® version wasn’t, and we apologize for the oversight.) As for the developer edition of HyperCard, Claris Corporation no longer allows us to distribute it. We’ll continue to do our best to give you the latest, greatest information possible! —Caroline Rose WHERE’S LOUELLA? Congratulations, Caroline, on your new job as Editor-in-Cheek of develop . I hope you have as much fun at it as Louella had. Thanks for the riddle at the end of your first editorial. We’ve been scratching our heads over it for a while. The closest thing to a guess we can come up with is that you used either a tablet or some other alternative text entry device. You probably were able to emulate the mouse as well as the keyboard. Why? Perhaps to demonstrate that handicapped people can have access to the Macintosh. A humble suggestion: I’ve saved all the CD-ROMs that have come with your magazine ( develop the CD, aka develop , the disc, aka Developer Essentials ). How about designing inserts for the CD cases that some of us keep their CD-ROMs in? Something we could print on thick paper, cut out, and stick in the plastic boxes to label the contents. Keep up the good work! —Lyle D. Gunderson
Reading notes: Letter-section headings such as DISAPPOINTING CD and WHERE'S LOUELLA? were treated as sub-headings; primary heading assumed to be LETTERS. Line breaks mid-word in source (e.g., 'out-of-touch') may affect reading order slightly.
- Printed product names
- TrueType INIT · System 6.0.7 · System 7.0 · Inside Macintosh Volume VI · HyperCard · Tech Notes · MacWrite · Developer Essentials · develop · Issue 6
- Printed dates
- Summer 1991 · 12/90 · February 1991
- Languages
- English
PDF page 8
P.S. I tried to send mail to Louella at pizzuti1@applelink.apple.com, but your system denied knowing about her. Any help you could give me in addressing e-mail to her would be very much appreciated. Thanks for the nice letter. I’m having more fun than I’ve ever had on a job. Regarding the answer to my riddle: If you’ve read this issue’s editorial, you know by now that you were barking up the right tree. Other readers who replied did not think of access by people with physical limitations. I hope I’ve succeeded in doing some consciousness raising here. Your idea about the insert is a good one. We didn’t manage to get it onto this issue’s disc, but we’ll try for next time. It sounds as if you’re holding on to all the old discs. If so, be careful about using stuff on them, because we update software and generally attempt to correct the mistakes of the past with each new disc. Louella decided that there was after all no job as much fun as being editor of develop , so she retired to raise flowers in Holland. Just kidding. You can reach her at louella@applelink.apple.com. —Caroline Rose POLES AND FONTS Two things I’d like to mention after reading Issue 5 (Volume 2, Issue 1): First, I’m not sure that the answer to the question “What is the difference between North and West?” is completely correct. To my mind, there are two points on the globe from which one would be hard pressed to go further West (or East): the North and South Poles. Second, may I make a typographic recommendation? Please use Courier for “computer voice” (program listings and the like). Prestige Elite is ugly and too lightweight. The Bitstream ® Courier family has a good regular weight and a bold that would be compatible with your Futura headings. Oh, and without being too dogmatic, I disagree that a spacious layout is necessarily more effective or attractive. —Toby Thain You’re right, we mistakenly left out the South Pole. Those PR folks for the North Pole do a really good job at making you forget that the other pole exists at all (especially in December, and that was after all our Winter issue). Thanks for the correction. I’m not sure I agree that Prestige Elite is ugly, but it does bother me that its hyphen (what’s typed for a minus sign in code) is so narrow and its O (Oh) and 0 (zero) are not very easily distinguishable. So in this issue we have indeed switched to Bitstream Courier, which solves these problems and has the right weight. The beauty of a particular font or layout is surely in the eye of the beholder; I’ve heard at least as many positive responses as negative ones to the choices we’ve made for develop. We hope that you and others will keep giving us specific feedback so we’ll know what’s working and what isn’t. —Caroline Rose d e v e l o p Summer 1991 6
Reading notes: Issue reference 'Issue 5 (Volume 2, Issue 1)' and the email-sender names appear in the copy but reading order of the letters is inferred from layout breaks
- Printed product names
- Prestige Elite · Bitstream Courier · Futura · Courier
- Printed dates
- Summer 1991 · December
- Languages
- English
PDF page 9
QUICKTIME 1.0: “YOU OUGHTA BE IN PICTURES” Summer 1991 7 QuickTime is Apple’s new architecture for enabling the Macintosh to handle time-based data. The recently introduced QuickTime 1.0 makes it easy for you to add dynamic media like video and sound into your applications—and that’s just the beginning. Two sample programs show you how to do the two most basic (and important) QuickTime tasks: playing existing movies and creating new ones. The world isn’t standing still—it’s moving, fast —and Apple intends to stay at the front of the race. When Apple came out with the Lisa® and then the Macintosh, the idea of a document file that mimicked a piece of paper was a big deal. But now it’s not. Users have taken the “paper” metaphor for granted and are now looking for new metaphors that increase their ability to communicate. One way to do that is to allow documents and applications to contain and display data that changes . QuickTime™ is more than just the ability to record and play back movies—it’s a fundamental addition to the Macintosh Operating System. Just as QuickDraw™ gave the original Macintosh the edge of sophisticated graphics in 1984, QuickTime will give the Macintosh another edge over other computers: the built-in ability to handle data that changes with time. Until now, the Macintosh Toolbox has not provided a standard way of dealing with dynamic media, and some developers have come up with their own solutions, especially in the areas of video and sound. Unfortunately, this has resulted in confusion and a lack of standards and basic system support for these data types. Apple has created QuickTime to provide a standard way of dealing with data that changes with time. Even more important, QuickTime gives you the necessary support software so that you can spend your time using new data types instead of designing, implementing, and maintaining them. QuickTime 1.0 works on all color-capable Macintosh computers running Color QuickDraw (models with either a 68020 or 68030 processor) and either System 6.0.7 or System 7.0; a later version will add QuickTime support for monochrome, 68000- GUILLERMO ORTIZ Instead of giving you details about his life, Guillermo would like to share with you a passage from a soon to be published book. Some say that his affinity for this book tells you much more about Guillermo than we ever could. Tired, hungry, and thirsty after a long and arduous trek, DunKennsan, also known after his conversion as “He who seeks the Light,” entered Brucewhandra’s cave, and, without waiting for the religious man to acknowledge his presence, he posed the question burning in his mind: “Why ‘QuickTime’?” As a response, Brucewhandra, the man called the Wisest, kept repeating the mantra now famous among the true followers: “Calls that take a Movie can take a Track or a Media. Calls that take a Track can take a Media. Calls that QUICKTIME 1.0: “YOU OUGHTA BE IN PICTURES” GUILLERMO A. ORTIZ
Reading notes: Final sentence of the Brucewhandra passage is cut off mid-sentence in the source copy. Reading order between the main article and the GUILLERMO ORTIZ sidebar is uncertain.
- Printed product names
- QuickTime 1.0 · QuickTime · Lisa · Macintosh · QuickDraw · System 6.0.7 · System 7.0
- Printed dates
- Summer 1991 · 1984
- Languages
- English
PDF page 10
d e v e l o p Summer 1991 8 take a Media can take a Track.” After sixty-one nights and sixty days DunKennsan left. From DunKennsan, the Favorite Disciple, by Lord James Batson. Any resemblance to any real person or event is intentional and should be construed as such. • In the future, QuickTime will be able to do things like control audio-visual equipment and manipulate custom-defined types of data (such as scientific instrument data). Also remember that QuickTime will become even more powerful when compression and decompression hardware becomes cheaper and is found in most users’ computers. • based Macintoshes. As a result, you, the developer, can take it for granted that QuickTime will be available on any Macintosh running your software. QuickTime 1.0 makes it possible for your program to manipulate the audio/video sequences we call movies . (The size, duration, and quality of the average movie largely depends on how much disk space you have for movie files.) It also includes routines for the compression and decompression of still and dynamic images (which should encourage you to use color images without worrying about how much space they take up). The result of all this is something that you’ll like very much: applications and documents that give users a richer experience with your product than they can get with non-QuickTime Macintosh applications or applications on other platforms. QuickTime will make possible a new generation of Macintosh software and hardware solutions that until now have been available only using expensive and narrow- purpose hardware. ENOUGH MARKETING STUFF! NOW THE DETAILS . . . QuickTime 1.0 contains the following parts: • Movie Toolbox . This contains the calls needed for playing and recording dynamic media. It communicates with the necessary components for the type of media being used. • Component Manager . Previously called the Thing Manager in internal circles, this piece of QuickTime provides a high-level interface that allows applications to communicate during run time with a collection of software objects. These components, affectionately called Things, provide a variety of functions. At present, these functions include image compressing and decompressing, movie data handling, video digitizing, and playback controlling. • Image Compression Manager . This tool handles the interaction among the components that compress and decompress image data. Its services are available both for movie making and playing and for the compression and decompression of still images. MOVIE TOOLBOX The basic component of QuickTime is the movie . At its highest level, a movie contains one or more tracks , each of which points to data of one type (see Figure 1). A movie also includes its time scale, duration, size, location and poster information, current selection and insertion point (if any), preferred volume, image scaling and positioning matrix, and other information (more on this later).
Reading notes: Bullet and column line breaks in the OCR text may disrupt reading order Headline selected as the QuickTime 1.0 parts heading; no formal masthead was clearly identified
- Printed product names
- QuickTime · QuickTime 1.0 · Movie Toolbox · Component Manager · Thing Manager · Image Compression Manager · Macintosh
- Printed dates
- Summer 1991
- Languages
- English
PDF page 11
QUICKTIME 1.0: "YOU OUGHTA BE IN PICTURES"
A movie contains any number of tracks (it’s true that a movie can have zero tracks, but that’s kind of a boring case). Each track has a media associated with it, which points to the “raw” data that the track draws from when it plays. Other track parameters include time scale, duration, time offset within the movie, audio volume, and track type. The track edit list is the list of media subsegments that define the track’s output. Each media references a file that contains its raw data; the file can be any place you can put a random-access stream of data—it can be in the file containing the movie, a nearby file, or even a file elsewhere on the network! If more than one media in the movie references the same data file, the different types of data may be interleaved within the file. As Figure 2 shows, each media is associated with exactly one track and vice versa. Because the track can map nonlinearly to the media (as is the case in Figure 2), you can edit a movie by simply changing a few pointers rather than having to move large pieces of data around. Two or more tracks can be members of a movie’s alternate group ; when the user picks one of these tracks to be active, QuickTime does not use any of the other alternate tracks. Each media references “raw” data of one type—for QuickTime 1.0, either video or sound. It also contains its duration, time scale, priority, language, quality, media type, and handler. The media handler knows how to play back its data at the right time. The poster is the single frame (in the movie) that the creator of a movie considers as best conveying the spirit of the movie. You can think of it as the frame you would like to show if motion were not possible—for example, when printing the document that QUICKTIME 1.0: “YOU OUGHTA BE IN PICTURES” Summer 1991 9 One common use for alternate audio tracks is to let the user watch the movie in the (human) language of her or his choice—for example, tracks 4 and 5 in Figure 1. A movie could also contain alternate video tracks—for example, tracks to be played using hardware decompression (for one track) or software decompression (for the other). In such a case, the video would play on any Macintosh with QuickTime, but it would play better on one with hardware decompression. • Track 1 2 3 4 5 6 Video Audio (alternate track, Spanish) Audio (alternate track, English) Time Video Audio Video Figure 1 A Movie and Its Tracks
Reading notes: Figure 1 track labels and layout order are ambiguous in the extracted text
- Printed dates
- Summer 1991
- Languages
- English · Spanish