Skip to content

Instantly share code, notes, and snippets.

@ArtBIT
Last active April 26, 2024 03:49
Show Gist options
  • Star 37 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ArtBIT/cfb030c0791b42330381acce33f82ca0 to your computer and use it in GitHub Desktop.
Save ArtBIT/cfb030c0791b42330381acce33f82ca0 to your computer and use it in GitHub Desktop.
A collection of GRUB init tunes

Super Mario

GRUB_INIT_TUNE="1000 334 1 334 1 0 1 334 1 0 1 261 1 334 1 0 1 392 2 0 4 196 2"

Demo

Super Mario - Coin

GRUB_INIT_TUNE="600 988 1 1319 8"

Demo

Super Mario - Mushroom

GRUB_INIT_TUNE="1750 523 1 392 1 523 1 659 1 784 1 1047 1 784 1 415 1 523 1 622 1 831 1 622 1 831 1 1046 1 1244 1 1661 1 1244 1 466 1 587 1 698 1 932 1 1195 1 1397 1 1865 1 1397 1"

Demo

Close Encounters

GRUB_INIT_TUNE="220 900 2 1000 2 800 2 400 2 600 3"

Demo

Für Elise

GRUB_INIT_TUNE="480 420 1 400 1 420 1 400 1 420 1 315 1 370 1 335 1 282 3 180 1 215 1 282 1 315 3 213 1 262 1 315 1 335 3 213 1 420 1 400 1 420 1 400 1 420 1 315 1 370 1 335 1 282 3 180 1 215 1 282 1 315 3 213 1 330 1 315 1 282 3"

Demo

Star Wars: Imperial March

GRUB_INIT_TUNE="480 440 4 440 4 440 4 349 3 523 1 440 4 349 3 523 1 440 8 659 4 659 4 659 4 698 3 523 1 415 4 349 3 523 1 440 8"

Demo

Wolfenstein 3D

GRUB_INIT_TUNE="300 131 1 196 1 196 1 196 1 294 1 196 1 294 1 196 1 131 1"

Demo

Mall (Nothing Special)

GRUB_INIT_TUNE="180 440 1 554 1 659 1"

Demo

My Little Pony

GRUB_INIT_TUNE="2400 587 18 554 4 587 8 659 12 587 16 0 10 587 4 659 4 740 8 587 4 784 12 740 8 659 8 587 4 740 20 587 40"

Demo

@ArtBIT
Copy link
Author

ArtBIT commented Feb 18, 2024

@amsyarzero Happy to contribute a song I like. Speaking about contributing, how do I obtain custom urls like the demo ones linked above?

Just prepend your GRUB_INIT_TUNE line with https://breadmaker.github.io/grub-tune-tester/?tune=

i.e. if your GRUB_INIT_TUNE line is

500 1000 1 2000 1

The URL for the player is

https://breadmaker.github.io/grub-tune-tester/?tune=500 1000 1 2000 1

And the markdown code is:

[Demo](<https://breadmaker.github.io/grub-tune-tester/?tune=500 1000 1 2000 1>)

NOTE: you have to enclose the URL in angle brackets because it contains spaces.

Alternatively, you can urlencode the tune parameter, and convert each space to %20 like so:

[Demo](https://breadmaker.github.io/grub-tune-tester/?tune=500%201000%201%202000%201)

B1T

@theoriginalgrasshopper
Copy link

The Buddy Holly lick
240 415 1 329 1 415 1 466 1 523 1 466 1 415 1 329 1 311 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment