OPEN_WAV_FILE_WRITE@

Platform

Win32, x64

Purpose

To open a WAV file for writing 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.

The file should be closed using CLOSE_WAV_FILE@

Return value

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

See also

OPEN_WAV_FILE_READ@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited