read a sound file in scilab.
[data,samplerate,fmt] = sfread(filename)
a string. The path of the wav file to be loaded
a matrix one colum for each channel (normalized output [-1,+1])
sample rate: 22050,44100, etc
a string :format of file. example "wav-int16"
read a sound file in scilab
default supported format are:
AIFF (Apple/SGI 16 bit PCM) --> "aiff-int16"
AIFF (Apple/SGI 32 bit float) --> "aiff-int32"
AIFF (Apple/SGI 8 bit PCM) --> "aiff-int8"
AU (Sun/Next 16 bit PCM) --> " au-int16"
AU (Sun/Next 8-bit u-law) --> "au-ulaw"
CAF (Apple 16 bit PCM) --> "caf-int16"
FLAC 16 bit --> "flac-int16"
OKI Dialogic VOX ADPCM --> "wav-vox_adpcm"
Ogg Vorbis (Xiph Foundation) --> "ogg-vorbis"
WAV (Microsoft 16 bit PCM) --> "wav-int16"
WAV (Microsoft 32 bit float) --> "wav-int32"
WAV (Microsoft 4 bit IMA ADPCM) --> "wav-ima_adpcm"
WAV (Microsoft 4 bit MS ADPCM) --> "wav-ms_adpcm"
WAV (Microsoft 8 bit PCM) --> "wav-int8"