docs

Home All functions Categories

vuRecordWav(Start, Filename)

vuRecordWav(LONG,*CSTRING), Signed

Description

Records audio from the microphone input and saves it as a WAV file.

Parameters

Parameter Data Type Description
Start LONG Set to 1 (True) to begin recording, 0 (False) to stop and save the recording.
Filename CSTRING(256) Fully qualified path and filename for the WAV file to create.

Returns

A LONG value:

Example

Filename = 'C:\Temp\MyWave.wav'

! Start recording
vuRecordWav(1, Filename)

! ... user speaks into microphone ...

! Stop recording and save
vuRecordWav(0, Filename)

Notes

Home All functions Categories