Silverfrost Logo About Us | Contact Us
 

Sound functions

These functions require a sound card such as Sound Blaster. Note that simple WAV resources can be played using the 'SOUND' standard call-back function.

CLOSE_CD_TRAY@

Closes an open CD-drive tray.

CLOSE_WAV_FILE@

Closes a WAV file opened by OPEN_WAV_FILE_READ@ or OPEN_WAV_FILE_WRITE@

GET_TRACK_LENGTH@

Returns the length of a CD track.

OPEN_CD_TRAY@

Opens a CD-drive tray.

OPEN_WAV_FILE_READ@

Opens a WAV file for reading in sections.

OPEN_WAV_FILE_WRITE@

Opens a WAV file for reading in sections.

PLAY_AUDIO_CD@

Plays the audio CD from the current position.

PLAY_SOUND@

Sends a sample to the audio output device.

PLAY_SOUND_RESOURCE@

Sends a resource SOUND to the current audio device.

RECORD_SOUND@

Records sound from the sound input device.

SET_CD_POSITION@

Sets the position of the CD read head to TRACK + MILLISECONDS (offset).

SET_SOUND_SAMPLE_RATE@

Sets the sampling speed.

SOUND_PLAYING@

Tests for ongoing sound output.

SOUND_RECORDING@

Tests if a recording is being made.

SOUND_SAMPLE_RATE@

Returns the current sound sampling rate.

STOP_AUDIO_CD@

Stops audio playback from the CD.

WAV_FILE_READ@

Reads a WAV file as a samples wave-form.

WAV_FILE_WRITE@

Stores any recorded data.

WRITE_WAV_FILE@

Stores any recorded data.

 

 

Copyright © 1999-2017 Silverfrost Limited