API reference
Preparing search index…

SoundFileFactory

Registrations belong to the current Node environment.

Source & inheritance
Member directory11

Constructors

Methods

Constructors

Methods

  • Probe a file and create a matching decoder; return undefined if none matches. Calling open is still required before use.

    Parameters

    filename
    string

    Returns

    Promise<undefined | SoundFileReader>
    Source & inheritance
  • Create an encoder by filename; return undefined if none matches. Calling open is still required before writing.

    Parameters

    filename
    string

    Returns

    Promise<undefined | SoundFileWriter>
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0