Function load_sample

  • Allegro

    Loads a sample from file

    Parameters

    • filename: string

      name of the audio file

    Returns Promise<SAMPLE>

    sample object

    1.27.1

    Remarks

    Loads a sample from file and returns it. Doesn't stall for loading, use ready() to make sure your samples are loaded!

Generated using TypeDoc