gettingstarted
[Top] [All Lists]

Re: Play AIFF file

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Play AIFF file
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sun, 21 Dec 2003 13:30:13 -0600
References: <17d dot 24c0885e dot 2d174d63 at aol dot com>
At 2:24 PM -0500 12/21/03, GAmoore at aol dot com wrote:

Is there any example code of how to take an AIFF file and play it on the
computer?

Using RB 5.2.4, the only way to do that is to use FolderItem.OpenAsMovie to open this as a QuickTime (sound-only) movie, and play it with a MoviePlayer. (In RB 5.5 you'll be able to use OpenAsSound.)

 And more generally, is there any repository for Real Basic code examples?

The CD has hundreds of examples. If you don't have it, I recommend you get it; it's ten bucks and is sure to save you hours of time. Also, for little things, don't forget to look in the language reference. The code snippets there can be grabbed and dragged directly into your code editor.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>