Source Academy Modules
    Preparing search index...

    Function get_wave

    • Accesses the wave function of a given Sound.

      Parameters

      • sound: Sound

        given Sound

      Returns Wave

      the wave function of the Sound

      get_wave(make_sound(t => Math_sin(2 * Math_PI * 440 * t), 5)); // Returns t => Math_sin(2 * Math_PI * 440 * t)