FormatFromName - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

AudioTools

  

FormatFromName

  

return the audio file format from a filename

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

FormatFromName(fileName)

Parameters

fileName

-

string; the pathname of the audio file

Description

• 

The FormatFromName command examines the passed fileName and returns the audio file format based on the extension. It returns either a member of AudioTools[Formats], or NULL if it was unable to guess.

Examples

withAudioTools:

FormatFromNameatis.wav

WAVE

(1)

FormatFromNamefritz.jpg

See Also

Array

AudioTools

AudioTools[Formats]

AudioTools[Read]

AudioTools[Write]

FileTools[Extension]

Matrix

Vector

 


Download Help Document