Difference between revisions of "Writing Music"

From CorsairCraft
Jump to navigation Jump to search
(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>...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
* <code>--</code> - 2 beat pause
* <code>--</code> - 2 beat pause


== Chords ==
* <code>C0E0G0 or G0E0C0 or E0G0C0</code> - C Major Triad on zeroth octave
* <code>C0E0G0Bb, D0F#1A1</code> - More examples
== Labels ==
* <code>c1: F#0 A0 C#0 :c1 A0 C#0 F#1</code> - will play both lines simultaneously from beat c1


== Instruments ==
== Instruments ==
<code>i0</code> - change instrument to piano
<code>i0</code> - change instrument to Harp/Piano


There are 16 instruments total:
There are 16 instruments total:
* <code>i0</code> - Piano, the default instrument unless otherwise specified.
* <code>i0</code> - Harp/Piano, the default instrument unless otherwise specified.
* <code>i1</code> - Bass drum.
* <code>i1</code> - Bass drum.
* <code>i2</code> - Snare drum.
* <code>i2</code> - Snare drum.
* <code>i3</code> - Sticks.
* <code>i3</code> - Sticks.
* <code>i4</code> - Bass guitar.
* <code>i4</code> - Bass.
* <code>i5</code> - Flute
* <code>i5</code> - Flute
* <code>i6</code> - Bell.
* <code>i6</code> - Bell.
Line 39: Line 45:
* <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>

Latest revision as of 21:00, 5 June 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 beats
  • d3 - change delay in ticks between beats
  • -- - 2 beat pause

Chords

  • C0E0G0 or G0E0C0 or E0G0C0 - C Major Triad on zeroth octave
  • C0E0G0Bb, D0F#1A1 - More examples

Labels

  • c1: F#0 A0 C#0 :c1 A0 C#0 F#1 - will play both lines simultaneously from beat c1

Instruments

i0 - change instrument to Harp/Piano

There are 16 instruments total:

  • i0 - Harp/Piano, the default instrument unless otherwise specified.
  • i1 - Bass drum.
  • i2 - Snare drum.
  • i3 - Sticks.
  • i4 - Bass.
  • i5 - Flute
  • i6 - Bell.
  • i7 - Guitar.
  • i8 - Chime.
  • i9 - Xylophone.
  • i10 - Iron Xylophone.
  • i11 - Cow Bell.
  • i12 - Didgeridoo.
  • i13 - Bit.
  • i14 - Banjo.
  • i15 - Pling.

Volume

  • v700 - higher volume
  • v300 - lower volume
  • v500 - 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 ---