Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Beginners Column

Making Music

Working with REALbasic's Noteplayer control class

Issue: 2.4 (March/April 2004)
Author: Thomas J. Cunningham
Author Bio: Thomas is a hobbyist programmer who enjoys sharing the RB loving with others ... His online RB Beginner tutorial has had over 20,000 hits!
Article Description: No description available.
Article Length (in bytes): 10,235
Starting Page Number: 30
RBD Number: 2413
Resource File(s):

Download Icon 2413.sit Updated: Monday, March 15, 2004 at 1:00 AM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

For this month's beginner column I would like to discuss the NotePlayer Control Class. As usual, the first thing you should do to familiarize yourself with a class or feature in REALbasic is to use the Language Reference (LR) Guide, accessed by the Command-1 key combination. The NotePlayer description indicates that it plays musical notes via QuickTime. Since we can trust that all Macintosh computers come with QuickTime, we should be good to go. Sorry, Microsoft users, I don't do Windows.

A Little Background

Sounds, like icons, enliven and enrich your computer programs. Your user will feel more at home hearing sounds and it can be used as a wonderful complement to your Graphical User Interface (GUI).

In REALbasic, you can use existing sounds easily by dragging and dropping them into your Project Window, but there are rules about compatibility and licensing and such when you use this approach. See the Sidebar for more information. The NotePlayer, on the other hand, is a built-in class that you can easily use and expect to work correctly on any QuickTime-equipped machine. So this fits in nicely for the beginner and you can create an astounding array of unique sounds using this Class.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com