Shop OBEX P1 Docs P2 Docs Learn Events
Making the BOE-bot sing? — Parallax Forums

Making the BOE-bot sing?

J-DiddyJ-Diddy Posts: 1
edited 2009-01-16 02:50 in BASIC Stamp
New to the BOE-bot and the programming involved with it.· It seems pretty easy the more I read but I am still unable to figure out how to write tones for the bot to make so it sounds like any type of recognizable song, tone or beat.· Suggestions or help would be much appreciated.

Thanks,
J-Diddy

Comments

  • WhitWhit Posts: 4,191
    edited 2009-01-16 02:50
    @J-Diddy,

    You might want to take a look at the Scribbler GUI. You can download it here - http://www.parallax.com/tabid/458/Default.aspx
    It has a great music icon. When you insert it into your program, you have prewritten option or write your own. After it is written, use the icons at the top of the window to go to the Basic Stamp Editor (text version) and look at the code to get the info you need.

    Here is an example. ("Speaker" would the the pin# for your speaker). This is Charge!

      FREQOUT Speaker, 187, 391
      FREQOUT Speaker, 187, 523
      FREQOUT Speaker, 187, 659
      FREQOUT Speaker, 187, 783
      PAUSE 187
      FREQOUT Speaker, 187, 659
      FREQOUT Speaker, 1125, 783
    

    Let me know how it goes!

    @ PJ Allen - I like the Max Avatar...but do miss Gomez

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 1/16/2009 3:00:05 AM GMT
Sign In or Register to comment.