Difference between revisions of "Writing Music"
Jump to navigation
Jump to search
KonradRoar (talk | contribs) (Created page with "To write in-game music, just write "jukebox commands" in a regular ''Book & Quill'' item, then left-click a jukebox with the book to run those commands. == Notes == * <code>...") |
KonradRoar (talk | contribs) |
||
Line 39: | Line 39: | ||
* <code>v300</code> - lower volume | * <code>v300</code> - lower volume | ||
* <code>v500</code> - normal volume | * <code>v500</code> - normal volume | ||
== Example == | |||
<pre> | |||
i0 | |||
d2 | |||
E0 - E0 - E0 --- | |||
E0 - E0 - E0 --- | |||
E0 - G1 - C0 - D0 - | |||
E0 ------- | |||
F0 - F0 - F0 - F0 - | |||
F0 - E0 - E0 - E0 E0 | |||
E0 - D0 - D0 - E0 - | |||
D0 --- G1 --- | |||
:0 | |||
C0 ------- | |||
C0 ------- | |||
C0 ------- | |||
C0 --- C0 --- | |||
G1 ------- | |||
C0 ------- | |||
G1 ------- | |||
G1 --- G0 --- | |||
</pre> |
Revision as of 03:14, 10 January 2022
To write in-game music, just write "jukebox commands" in a regular Book & Quill item, then left-click a jukebox with the book to run those commands.
Notes
C#0
- C# in zeroth octave (there are two octaves in Minecraft, 0 and 1)Ab1
- A flat in first octave
Pauses, beat duration
:-4
- go back 4 beatsd3
- change delay in ticks between beats--
- 2 beat pause
Instruments
i0
- change instrument to piano
There are 16 instruments total:
i0
- Piano, the default instrument unless otherwise specified.i1
- Bass drum.i2
- Snare drum.i3
- Sticks.i4
- Bass guitar.i5
- Flutei6
- Bell.i7
- Guitar.i8
- Chime.i9
- Xylophone.i10
- Iron Xylophone.i11
- Cow Bell.i12
- Didgeridoo.i13
- Bit.i14
- Banjo.i15
- Pling.
Volume
v700
- higher volumev300
- lower volumev500
- normal volume
Example
i0 d2 E0 - E0 - E0 --- E0 - E0 - E0 --- E0 - G1 - C0 - D0 - E0 ------- F0 - F0 - F0 - F0 - F0 - E0 - E0 - E0 E0 E0 - D0 - D0 - E0 - D0 --- G1 --- :0 C0 ------- C0 ------- C0 ------- C0 --- C0 --- G1 ------- C0 ------- G1 ------- G1 --- G0 ---