CD-Audio

From FusionWiki

Jump to: navigation, search
CD-Audio
General Information
Author: Clickteam
Release Date: 2006
Status: Released
Last updated: Unknown
Version:  ?
Build: All
Developer-only: No
Website: Not available
Download: built-in
Runtime Versions
HWA: Yes
Flash: No
Java: No
Java Mobile: No
Vitalize!: No
Unicode: Yes


The CD-Audio is one of the built-in extensions for Multimedia Fusion 2. From the help file:

The CD-Audio object lets you play compact disc audio tracks from within your Multimedia Fusion 2 applications. The CD-Audio object provides all the functionality that you would expect from a top quality CD player. You can move between tracks, pause and resume playing tracks, and even open and close the CD door. CD-Audio playback is frame independent, so a CD can play as the background music for the duration of an application.

Contents

Actions

Play a track: plays a specific track on the CD.

Play a track and continue: plays a track from the CD and continues to play the rest of the tracks until the CD reaches the end or the Stop or Pause action is performed.

Play at position: plays the CD at a specific time position from the start of the disc. For example, if you have a 30 minute CD and you set the time position at 15 minutes, the CD will begin playing in the middle of the disc.

Stop: stops the CD track currently being played.

Pause: pauses the CD track currently being played.

Resume: resumes playing a CD track that has been paused.

Previous track: plays the previous track on the CD.

Next track: plays the next track on the CD.

Open door: opens the door of the CD-ROM drive.

Close door: closes the door of the CD-ROM drive.

Conditions

Compare to time position: compares the current time position of the CD to a specific time value.

Compare to track's elapsed time: compares the elapsed time of the current track to a specific value.

Expressions

Number Of Current Track: The Number Of Current Track function retrieves the number of the CD track currently being played.

Number Of Tracks: The Number Of Tracks function retrieves the total number of tracks on the CD.

Position In Current Track (1/1000s): The Position In Current Track (1/1000s) function retrieves the time, in milliseconds, from the start of the current track.

Length Of Current Track (1/1000s): The Length Of Current Track (1/1000s) function retrieves the length, in milliseconds, of the current track.

Position In Disk (1/1000s): The Position In Disk (1/1000s) function retrieves the time, in milliseconds, from the start of the CD.

Length Of Disk (1/1000s): The Length Of Disk (1/1000s) function retrieves the length, in milliseconds, of the entire CD.

Last Error Number: The Last Error Number function retrieves the last error code from the CD. A value of zero indicates that there are no errors. Any other value indicates a problem.

Properties

Open driver at start: Opens the CD-Audio driver when the frame starts. This option reduces slightly (very slightly) the time necessary to play a track.

Play track at start: Select this option and enter the number of the track to play when the frame starts : it will be automatically played.

Stop playing at end of frame: Interrupts the playback when the frame ends. Do not select this option if you want the music to keep on playing between frames.

Play when minimized: Continues the playback even when the application's window is minimized.

Personal tools