AudioTools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Audio Processing : AudioTools/FormatFromName

AudioTools

  

FormatFromName

  

returns 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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam