Friday, July 9, 2010

Ringtone Converter for RobotC

If you like to play music on your NXT, if you use RobotC and have access to Microsoft Excel, have I got a deal for you!

I have created an Excel spreadsheet that will very easily convert RTTTL (Ring Tone Text Transfer Language) ringtones into RobotC code with very little effort. RTTTL ringtones are the original ringtones that were just beeps and tones.

The Excel file contains over 300 ringtones ready to convert just by selecting which one you want and then putting the code into your file. You can also add your own ringtones that you may already have or have found on the ‘net. I have found thousands of free ringtones. It will only work with RTTTL format files and RobotC.

Some of the files need considerable tempo adjusting to sound right, so I have added a way to adjust the tempo of the music.

Here is a sample of the output of the file: (yes, this code works, try it out!)

nxtDisplayCenteredTextLine(0, "Star Wars");
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);
wait1Msec(280);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);
I don’t have a site for downloading, so all you’ll have to do is send me an email at Tinkernology_at_yahoo_dot_com requesting the converter and I will reply with the Excel file along with a RobotC file I created with 42 songs already converted and ready to play for your use. That’s almost 10 minutes of music ready to play.

And if you are an Excel Junkie like me, you will enjoy tearing this file apart. I spent many hours working on it.

Rock On!

18 comments:

  1. Is there a new email we can get the converter from? Thanks!

    ReplyDelete
    Replies
    1. Thank you for sharing, if you do not need to download ringtones for robots but need to download ringtones for your phone, visit thttps://toquedecelular.com/ website to download completely free

      Delete
  2. Hello.
    I love Indian music. I always look for Indian hot ringtones to set up a mobile phone. I have a collection of the best free Indian ringtones for you and everyone to refer and install here: https://bestringtonesfree.net/

    Here are the most popular Indian songs:

    https://bestringtonesfree.net/jab-bhi-teri-yaad-aayegi-ringtone-download/
    https://bestringtonesfree.net/kaala-bgm-ringtone-download/
    https://bestringtonesfree.net/kyun-na-mere-ringtone-download/
    https://bestringtonesfree.net/limited-edition-ringtone-download/
    https://bestringtonesfree.net/rooh-ringtone-download/

    Also you can refer and install more hindi and bollywood music here: https://ringtonedownload.in/category/bollywood-ringtones/

    Wish you the best ringtone for your mobile phone. Free ringtones for people around the world. Leave a comment for my collection. Thank you!

    ReplyDelete

  3. Hi!
    We have come up with a list of hottest top ringtones music chart free download for iOs and Android. Keep scrolling down for more.

    - See more: Best Ringtones
    - See more: Hindi Ringtone Free
    - See more: English Ringtones Free Download
    - See more: WWE Ringtones Download
    - See more: Baby Laughing Ringtones
    - See more: Funny Ringtones Free Download
    - See more: Instrumental Ringtones Free Download
    - See more: Sad Ringtones

    Don’t forget to share with your friend regardless of what their phone brand is. Tell us which one is your most favorite in the comment.

    If you feel like you need more ringtones, check this out. >>: Ringtones Music Chart

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Very helpful article thank you for sharing and I usually download free ringtones at https://ringtonescloud.com/

    ReplyDelete
  7. Thank you for sharing this great piece of content. I loved it. free mobile ringtone download

    ReplyDelete
  8. The most popular and popular song on the social network is Tono de llamada mi pan su su sum

    ReplyDelete
  9. Thank you for sharing a great article, and I know a website: https://frsonnerie.com/fr/ which provides free ringtones for iPhone, Sam Sung and more. with the world's top songs to send to everyone.

    ReplyDelete
  10. A distinction is often made between music performed for the benefit of a live audience and music that is performed for the purpose of being recorded and Halloween music distributed through the music retail system or the broadcasting system.

    ReplyDelete
  11. All new punjabi Mp3 ringtone, hindi Ringtone Download , devotional ringtone or say all type of ringtone from this website for absolutely free

    ReplyDelete
  12. the music converter is great, makes it easy to convert music

    ReplyDelete
  13. sonnerie portable gratuite latest for mobile phones, completely free download with full quality from low to high suitable for all phone lines on the market today.

    ReplyDelete
  14. vintage font yofonts for designers you can find . Fonts are important to help me reach new paths .

    ReplyDelete
  15. Thanks for your information. The website I will show you where you can get GameBoy Advance ROMs to play classic games like Mario, Sonic, Dragon Ball Z...

    ReplyDelete