Source Academy Modules
    Preparing search index...

    Function bell

    • returns a Sound reminiscent of a bell, playing a given note for a given duration

      Parameters

      • note: number

        MIDI note

      • duration: number

        duration in seconds

      Returns Sound

      Sound resulting bell Sound with given pitch and duration

      bell(40, 1);