mp3in

mp3in — Reads stereo audio data from an external MP3 file.

Description

Reads stereo audio data from an external MP3 file.

Syntax

ar1, ar2 mp3in ifilcod, iskptim, iformat, iskipinit, ibufsize

Initialization

ifilcod -- integer or character-string denoting the source soundfile name. An integer denotes the file soundin.filcod ; a character-string (in double quotes, spaces permitted) gives the filename itself, optionally a full pathname. If not a full path, the named file is sought first in the current directory, then in that given by the environment variable SSDIR (if defined) then by SFDIR.

iskptim (optional) -- time in seconds of input sound to be skipped. The default value is 0.

iformat (optional) -- specifies the audio data file format: currently not implemented and always defaults to stereo.

iskipinit (optional) -- switches off all initialisation if non zero (default =0).

ibuffersize (optional) -- sets the internal buffer size for reading. If the value is zero or negative it defaults to 4096 bytes.

Performance

Reads stereo audio data from an external MP3 file.

See Also

diskin, ins, in, inh, inh, ino, inq, soundin

Credits

Author: John ffitch
Codemist Ltd
2009

New in version 5.11