Source Academy Modules
    Preparing search index...

    Function cello

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

      Parameters

      • note: number

        MIDI note

      • duration: number

        duration in seconds

      Returns Sound

      Sound resulting cello Sound with given pitch and duration

      cello(36, 5);