The tune came to him while he was on a ferryboat trip from Coney Island back to his home in New York City after a leisurely summer day and he immediately wrote it down.
ðə tˈuːn kˈeɪm tə hˌɪm wˌaɪl hiː wʌz ˌɔn ɐ fˈɛɹɪbˌoʊt tɹˈɪp fɹʌm kənˈaɪ ˈaɪlənd bˈæk tə hɪz hˈoʊm ɪn nˈuː jˈɔːɹk sˈɪɾi ˈæftɚɹ ɐ lˈiːʒɚli sˈʌmɚ dˈeɪ ænd hiː ɪmˈiːdɪətli ɹˈoʊt ɪt dˈaʊn.