Submit your best music themed repls!

← Back to all posts
ToneBasic: Programming With Sound!
enchanter (14)

ToneBasic: Programming With Sound!

Hi, everyone! For my submission I decided to create my own version of the BASIC language, along with an editor that allows you to run it online. ToneBasic has one cool twist, it makes it easy to create programs that make sound! Currently on repl.it the only repls that can make sounds are the ones that use HTML, CSS, and JS. ToneBasic allows you to make sounds using the simple BASIC language. If you're creative enough, you can even make music, all through programming!

So how can I get started?

Head on over to the editor (best viewed in chrome) and either start programming, or try out one of the examples on the right. If you get stuck, you can take a look at the quick reference guide I wrote up for BASIC, or ask me a question!

What libraries did you use?

The main focus of this submission was to demonstrate the BASIC interpreter I made, so I went ahead and used the Open-Source Ace editor for text editing in the interface. I made the rest of the code from scratch for the competition.

Commentshotnewtop
mhxion (2)

This week's newsletter for "First Ever music-based encryption" leads to this page. The correct link https://repl.it/talk/challenge/Muse-Key-The-Music-Based-Encryption-Service/16898

HappyFakeboulde (213)

the link in the newsletter for the music-based encryption leads to this

enchanter (14)

@HappyFakeboulde Huh, that's weird, looks like they've fixed it now. Thanks for stopping by anyways!

amasad (1416)

This is really cool. It would be awesome if there is a way to save the user program. You can have a save button that simply base64 encodes the program and puts it in the URL.

enchanter (14)

@amasad Thanks, and that’s a great idea! I was thinking it would be cool to make a forum post where people can share their creations. I’ll add this as soon as the challenge ends!