Last Week... 120: Introduction to • HW1 review Audio/Multimedia App. • VST SDK: projects Programming • GUI programming with Cocoa • Objective-C

Week #6 - 10/30/2006 • Demo: GUI-based Stk app. CCRMA, Department of Music ! Xcode / Interface Builder / StkX Stanford University • Assignment #2

10/30/06, Music 120, CCRMA, Stanford

Today... HW1...

• HW1 review • Modified codes posted ! check “assignment 1” page • Cocoa BeeThree review ! don’t miss s06 & s07! • GUI programming with • Plagiarism isn’t necessarily bad... ;-) • Demo: GUI-based Stk app. • Share your code with others! ! Qt Designer / Stk

10/30/06, Music 120, CCRMA, Stanford 10/30/06, Music 120, CCRMA, Stanford

Cocoa BeeThree GUI Programming Review With Qt

10/30/06, Music 120, CCRMA, Stanford 10/30/06, Music 120, CCRMA, Stanford What Is Qt? What Is Qt? (cont’d)

• A set of C++ class library and tools • Open source, too! ! Qt Class library ! not always free, though... ! Qt Designer • http://www.trolltech.com • Cross-platform development! • Current version: 4 (4.2.1) ! Windows ! Mac • Current CCRMA version: 3 (3.3.4) ! X11 (, Solaris, etc.) ! V3 to be active by 07/2007 ! Qtopia Core (embedded Linux port)

10/30/06, Music 120, CCRMA, Stanford 10/30/06, Music 120, CCRMA, Stanford

Basic Tools Qt Designer

• Qt Designer • Lays out and connects user-interface ! user-interface design elements ! ! basic connections between objects widgets ! ! coding signals / slots ! connections • (Some) IDE...? ! building • Edits ui files ! ! debugging XML files containgin UI info

10/30/06, Music 120, CCRMA, Stanford (c) Paul Marcos, Apple Computer Inc. 10/30/06, Music 120, CCRMA, Stanford

More Qt Info...? Week 7 & 8

• Qt 3.3 reference doc • Week 7: GUI programming & MVC ! http://doc.trolltech.com/3.3/ ! MVC (model, view, & comtroller) ! examples: BeeThree and Theremin • Qt Designer manual ! http://doc.trolltech.com/3.3/designer- • Week 8: Image and graphics with sound manual.html ! Image & OpenGL with Cocoa ! NSView class ! examples: ColorProbe and StkOpenGLTeapot

10/30/06, Music 120, CCRMA, Stanford 10/30/06, Music 120, CCRMA, Stanford