# How do i convert this ringtone into rtttl file for Arcade?

**URL:** <https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639>\
**Category:** Help\
**Created:** [April 26, 2021, 9:30pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639 "2021-04-26T21:30:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 26, 2021, 9:30pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/1 "2021-04-26T21:30:23Z")

</div>

[https://www.oceansinitiative.org/wp-content/uploads/2012/02/OceansInitiative\_Humpback\_DouglasChannel\_Ringtone-33.mp3](https://www.oceansinitiative.org/wp-content/uploads/2012/02/OceansInitiative_Humpback_DouglasChannel_Ringtone-33.mp3)

Any ideas ?

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 26, 2021, 10:12pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/2 "2021-04-26T22:12:23Z")

</div>

Sorry, I think it is not actually a ringtone as yet. I am now seeing that it must be converted into a ringtone from the MP3 and then into .rtttl ? Any suggestions ?

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 28, 2021, 11:36pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/3 "2021-04-28T23:36:31Z")

</div>

Please help, we are making progress converting HumpBack whale songs into ringtones for import into Microsoft Arcade program via rtttl extension. But we are not there yet. we are writing a “migration adventure story” in Arcade and want to add Whale music.  
I have downloaded the HB Whale song and found a conversion app. , for sheet music. Now we need to convert that into an .rtttl file so we can import it as a ringtone into the Arcade story. Please help us do this. Thank you.

> **[Humpback Whale Song 1.pdf](https://drive.google.com/file/d/19ISK21cGaWEdfK6DdMAcyIm9EG-v8NHS/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 29, 2021, 4:59am UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/4 "2021-04-29T04:59:05Z")

</div>

I’ve been unable to successfully convert the score into the RTTTL format without it sounding like carp. But I was able to get the `.midi` file:

> **[Upload files for free - humpback whale song 1.mid - ufile.io](https://ufile.io/3idjp35s)**
>
> Download humpback whale song 1.mid for free from ufile.io instantly, no signup required and no popup ads

(This file will expire in 30 days so download it quick)  
I did this by converting the PDF file you provided into a `.mscz` file which can be edited and exported to `.midi` in the Musescore editor. (which is free) Usually the service doesn’t work for me but I guess what you are doing makes the website happy. Here’s the link to the PDF to `.mscz` site: (You will need an account, which is also free)

[https://musescore.com/import](https://musescore.com/import)

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 29, 2021, 4:07pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/5 "2021-04-29T16:07:27Z")

</div>

Thank you @UnsignedArduino for responding to this. I will follow on you work. I do not know how to use a midi file in Arcade, if that was the goal, maybe John Edgar Park knows how as I have seen him work with music or attempt it. There must be a way to get any ‘music’ into an .rtttl format because so many have been done and posted to the Arduino repository of .rttttl music; just need to work on it more to figure it out. Thanks again !

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 29, 2021, 4:08pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/6 "2021-04-29T16:08:03Z")

</div>

@UnsignedArduino , OK, it’s possible that I did not make myself clear while asking the question to start the thread. What I am wanting to do is to take a recorded Humpback Whale vocalization (song) and convert it into a ringtone file which I think is .rttttl and then import that via the ringtone extension into the MakeCode Arcade environment so that it can be played back on Arcade hardware: Meowbit. I did not mean for that to be a pleasant human musical tune. Not a piano piece. Rather, the vocalizations projected from one HBW to another. Now, I did the first part by converting the audio recording of a HBW from Youtube into sheetmusic .pdf. I’d like to hear your “carp” playback if you would post it here, that may be what I wanted.

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 29, 2021, 4:12pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/7 "2021-04-29T16:12:52Z")

</div>

On this subject, I have tried to install this extension in both MakeCode Arcade and Microbit. It shows up at the bottom of the list of tools under “music” and will not activate in Arcade but might in Microbit:

> **[samelhusseini/pxt-midi-tone](https://github.com/samelhusseini/pxt-midi-tone)**
>
> A MakeCode extension to convert MIDI files to tones

Arcade: [https://makecode.com/\_6CybxPcigJfq](https://makecode.com/_6CybxPcigJfq)

Microbit: the editor does not cry when I click on the extension here under music so it might work: [https://makecode.microbit.org/\_WyxDrA0kAReJ](https://makecode.microbit.org/_WyxDrA0kAReJ)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 29, 2021, 4:31pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/8 "2021-04-29T16:31:45Z")

</div>

```auto
humpback w:d=4,o=5,b=120:2p,8d6,148p,8c6,148p,17g#,274p,8f#.,2p.,17a#6,274p,17e6,274p,8f6,p.,2f6,1p.,8f.4,101p,2e.6,26p,17g#8,274p,g#.8,52p,8f#,148p,17f,274p,f.,p.,g#.8,52p,8g#,148p,8f,14p,8e6,148p,2g#.6,26p,17e6,p,g#.6,52p,8g#,148p,g#6,7p.,2g#6,39p,17e6,274p,17f#6,274p,8a#.6,p.,f#,77p,g#.6,5p,2e.6,1p,8g#8,p,8a#.8,101p,17g#8,274p,17g#8,274p,8g#8,148p,8d,148p,17c,274p,8b4,2p,8g#.8,101p,8d,148p,8g#8,148p,17g#4,8p,2a#.6,8f#6,8p.,8c#.8,101p,17c#8,274p,17a,274p,2f6,2p,17f,274p,8e6,148p,8g#.8,14p,17g#7,274p,c#.8,52p,17f6,274p,8f,148p,17d#8,274p,17d,274p,8e.8,1p,8a4,148p,2g4,1p,1g,9p.,1f#,1p,2a#.4,26p,8a#4,148p,2g.4,1p,2g#8,39p,17g#8,274p,2g#8,39p,1g#8

```

I used [http://midi.mathewvp.com/midi2RTTL.php](http://midi.mathewvp.com/midi2RTTL.php) for this.

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 30, 2021, 5:27am UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/9 "2021-04-30T05:27:53Z")

</div>

I think we’re making progress @UnsignedArduino . The pitch is wrong or maybe too ‘tinnie’, but I think there is a quality correlation to the sound in terms of relationship of notes and duration, depending on tempo. Compare the Arcade code to the YouTube sounds:

> **[whaleSong1.1](https://arcade.makecode.com/31693-70416-15667-37531)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Recording: [https://www.youtube.com/watch?v=WabT1L-nN-E](https://www.youtube.com/watch?v=WabT1L-nN-E)  
This is at least the first progress, Thanks for your help ! !

---

<div class="post-metadata">

**Author:** ![Bobbyfroger](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@Bobbyfroger](https://forum.makecode.com/u/Bobbyfroger)\
**Post date:** [February 27, 2024, 9:51pm UTC](https://forum.makecode.com/t/how-do-i-convert-this-ringtone-into-rtttl-file-for-arcade/7639/11 "2024-02-27T21:51:34Z")

</div>

I know its been like three years but can anyone help me turn this into a makecode song?
