# Start here

BeatScript writes a whole track as text. Each line is one part of the music, and the same text always plays the same way.

## Hear it

Open [beatscript.app](https://beatscript.app/) and press **Play**, the big round button. The track starts at once.

## Change one number

1. Press **See the code**. The track keeps playing.
2. Near the top, under the comments, is the line `tempo 138`: the beats per minute.
3. Change `138` to `150`.
4. Press **Ctrl+Enter** (**⌘+Enter** on a Mac). The new tempo comes in on the next bar.

Any number in the code changes the same way. A mistake shows in the problems list under the code, with its line, and the track plays on as it was.

On a phone, press the round button at the bottom twice: once to stop, once to play your change.

## Where next

- **Another one**, on the player: a new track in the genre picked beside it. **hide code** (✕ on a phone) takes you back to the player.
- **Radio** ([beatscript.app/radio](https://beatscript.app/radio)): pick a genre and press play, and one track follows another without stopping.
- **generate**, at the top or in the menu: pick a genre and a length and press **Generate & play**. The new track arrives as code to change.
- **examples**, the list at the top: **Tracks** to listen to, then **Learn the language**, short programs that each show one idea. **First beat** is the first.
- [Cheat sheet](https://beatscript.app/docs/cheatsheet.md): the whole language on one page.
- [Language reference](https://beatscript.app/docs/BEATSCRIPT.md): every rule, with examples.
