Silverfrost Logo About Us | Contact Us
 

OPEN_WAV_FILE_WRITE@

Platform

Win32(ClearWin+)

Purpose

To open a WAV file for reading in sections.

Syntax

 INTEGER(7) FUNCTION OPEN_WAV_FILE_WRITE@(FILE,N_CHANNELS,
+   SAMPLE_RATE)
 CHARACTER*(*) FILE
 INTEGER N_CHANNELS,SAMPLE_RATE

Description

This routine clears and opens a .WAV file to receive sound output as a series of calls to WAV_FILE_WRITE@. The number of channels and the sample rate must be supplied to this function. The file will contain sound stored at 16 bits per sample.

Unlike WRITE_WAV_FILE@, files written in this way can be written in sections, and may therefore be of effectively unlimitted size.

Return value

The return value is the handle to be passed to subsequent sound function calls.

 

 

Copyright © 1999-2017 Silverfrost Limited