Music: Difference between revisions

From UO Icebound
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Using the Music System ==
The Music System is designed for players to be able to play music compositions found in the game, create their own, or play their instrument freely.


== Playing Notes ==
The Music System works with both instrument skills and the Music Theory skill to let you perform in two ways:


To begin, either equip a portable instrument or stand next to a stationary one, such as a piano or harp.
*<font color="#DAA520">Freeform Playing:</font> Play notes or sequences directly using commands. Useful for testing, improvising, or programming songs in Razor.


*To see what notes are available on your selected instrument, you can use the [musichelp command once done.
*<font color="#DAA520">Music Composition:</font>: Use an in-game interface to arrange full songs that can be saved and shared using Music Theory Skill.
*Use the [Play command to play single notes or sequences.
**Example: [Play c4 1 d4 e4 plays C4, then D4 and E4 simultaneously, with a 1-second pause after the first note.


== Saving Melodies ==
=Playing Music=
- Use the [SaveMelody command to save a sequence of notes as a named melody.
- Example: [SaveMelody happybirthday c4 0.5 d4 0.5 e4.
- The melody must be bracketed by % (percent symbol) when called.


== Composing Songs ==
To begin, you will need access to an instrument. There are several schools of instrument to choose from:
  - Combine multiple saved melodies and new notes into a song using [ComposeSong.
*[[Brass Instruments]]
  - Requirement: Minimum 30 MusicTheory skill.
*[[Percussion Instruments]]
  - Example: [ComposeSong mysong c4 0.5 %happybirthday%.
*[[String Instruments: Bowing]]
*[[String Instruments: Plucking]]
*[[Woodwind Instruments]]
*[[Music Theory]] itself uses the piano, and can arrange compositions into sheet music form for others to read and play on their own.


== Stopping Music ==
Once you've chosen and instrument, it can be played directly by reading sheet music, playing individual notes manually, or arranged into saved melodies and full songs.
*Use [StopMusic to interrupt any ongoing playback.


== Sharing Sheet Music ==
To see what notes are available on your selected instrument, you can use the <font color="#DAA520">[musichelp</font> command, or check the individual instrument [[Skills]] on this wiki.
*After composing a song, target a piece of paper to write it into a SheetMusic item that can be shared or traded.


== Managing Playlists ==
===Playing Notes===
*Your playlist (the queue of notes to be played) is cleared automatically when new melodies or songs are played.
Equip a portable instrument or stand next to a stationary one.
*Manually clear the playlist using [StopMusic if needed.
 
Use the <font color="#DAA520">[Play</font> command followed by notes and pause values.
 
<font color="#DAA520">Pauses are measured in tenths of a second:</font>
*1 = 0.1 seconds (100 milliseconds)
*10 = 1 second (1000 milliseconds)
*So for example: '[Play c4 10 d4 e4' Plays C4, pauses for 1 second, then plays D4 and E4 simultaneously


---
===Melodies ===
*Use the <font color="#DAA520">[SaveMelody</font> command to save a sequence of notes as a named melody.
**Example: [SaveMelody happybirthday c4 10 d4 10 e4.
*The melody must be bracketed by % (percent symbol) when called.
**Example: To delete a saved melody you would use command '<font color="#DAA520">[DeleteMelody</font> %happybirthdy%'


== Commands ==
=== Stopping Music ===
*Use <font color="#DAA520">[StopMusic</font> to interrupt any ongoing playback.


=== [Play ===
=== Managing Playlists ===
- Usage: [Play note|pause note|pause
*Your playlist (the queue of notes to be played) is cleared automatically when new melodies or songs are played.
- Description: Plays a note or series of notes and pauses.
*Manually clear the playlist using <font color="#DAA520">[StopMusic</font> if needed.
- Example: `[Play c4 0.5 d4 e4`.


=== [StopMusic ===
=Music Composition=
- Usage: [StopMusic
The composition system provides a visual interface for arranging notes and melodies:
- Description: Stops any currently playing melody or notes.
- Example: [StopMusic


=== [SaveMelody ===
*Access it with the <font color="#DAA520">[Music</font> command.
- Usage: [SaveMelody melodyname note pause note pause
*Arrange your song in the interface, mixing new notes and saved melodies.
- Description: Saves a sequence of notes and pauses as a melody.
- Example: [SaveMelody happybirthday c4 0.5 c4 0.5 d4]


=== [GetMelody ===
=== Sheet Music ===
- Usage: [GetMelody
- Description: Lists all saved melodies for the player.
- Example: [GetMelody


=== [ComposeSong ===
At 100 Music Theory skill, you can write your completed composition onto a piece of paper, creating <font color="#DAA520">Sheet Music</font> that can be traded or shared.
- Usage: [ComposeSong songname note pause melody
- Description: Combines notes and melodies into a song.
- Requirement: Minimum 30 MusicTheory skill.
- Example: [ComposeSong mysong c4 0.5 %happybirthday%


=== [DeleteMelody ===
To do so, after composing a song, target a piece of paper to write it into a Sheet Music item that can be shared or traded.
- Usage: [DeleteMelody %melodyname%
- Description: Deletes a saved melody by name.
- Example: [DeleteMelody %happybirthday%


=== [ShowNotes ===
- Usage: `[ShowNotes
- Description: Toggles the visibility of notes being played.
- Example: [ShowNotes


=== [MusicHelp ===
{| class="wikitable" style="width:100%;"
- Usage: [MusicHelp
|+ style="font-size: 30px; text-align: left; background-color: #152423; color: #AFACA8; padding: 10px;"" |  Quick Command Reference
- Description: Provides a summary of all music-related commands and notes available for your instrument.
|-
- Example: [MusicHelp
! style="background-color:#272727; color:#AFACA8; text-align: left; font-weight:bold;" | Command Name
! style="background-color:#272727; color:#AFACA8; text-align: left; font-weight:bold;" | Description
|-  
| <font color="#DAA520">[MusicHelp</font> || Provides a summary of all music-related commands and notes available for your instrument.
|-
| <font color="#DAA520">[Music</font> || Open the Music Composition menu to arrange new notes and saved melodies in the interface and save into songs.
|-
| <font color="#DAA520">[Play</font> || Plays a note or series of notes and pauses. (Example: `[Play c4 10 d4 e4` will play note c4, then pause for one second, and then both d4 and e4 at the same time.)
|-
| <font color="#DAA520">[SaveMelody</font> || Saves a sequence of notes and pauses as a melody. The name of the melody must preface the music arrangement to be saved properly (Example: '[SaveMelody happybirthday c4 10 c4 10 d4'])
|-
| <font color="#DAA520">[GetMelody</font> || Lists all saved melodies for the player.
|-
| <font color="#DAA520">[DeleteMelody</font> || Deletes a saved melody by name. Enclose the melody name in percent symbols (Example: '[DeleteMelody %happybirthday%')
|-
| <font color="#DAA520">[StopMusic</font> || Stops any currently playing melody or notes, as well as melodies and notes queued up
|-
| <font color="#DAA520">[ShowNotes</font> || Toggles the visibility of notes being played.
|}

Latest revision as of 13:52, 11 August 2025

The Music System works with both instrument skills and the Music Theory skill to let you perform in two ways:

  • Freeform Playing: Play notes or sequences directly using commands. Useful for testing, improvising, or programming songs in Razor.
  • Music Composition:: Use an in-game interface to arrange full songs that can be saved and shared using Music Theory Skill.

Playing Music[edit]

To begin, you will need access to an instrument. There are several schools of instrument to choose from:

Once you've chosen and instrument, it can be played directly by reading sheet music, playing individual notes manually, or arranged into saved melodies and full songs.

To see what notes are available on your selected instrument, you can use the [musichelp command, or check the individual instrument Skills on this wiki.

Playing Notes[edit]

Equip a portable instrument or stand next to a stationary one.

Use the [Play command followed by notes and pause values.

Pauses are measured in tenths of a second:

  • 1 = 0.1 seconds (100 milliseconds)
  • 10 = 1 second (1000 milliseconds)
  • So for example: '[Play c4 10 d4 e4' Plays C4, pauses for 1 second, then plays D4 and E4 simultaneously

Melodies[edit]

  • Use the [SaveMelody command to save a sequence of notes as a named melody.
    • Example: [SaveMelody happybirthday c4 10 d4 10 e4.
  • The melody must be bracketed by % (percent symbol) when called.
    • Example: To delete a saved melody you would use command '[DeleteMelody %happybirthdy%'

Stopping Music[edit]

  • Use [StopMusic to interrupt any ongoing playback.

Managing Playlists[edit]

  • Your playlist (the queue of notes to be played) is cleared automatically when new melodies or songs are played.
  • Manually clear the playlist using [StopMusic if needed.

Music Composition[edit]

The composition system provides a visual interface for arranging notes and melodies:

  • Access it with the [Music command.
  • Arrange your song in the interface, mixing new notes and saved melodies.

Sheet Music[edit]

At 100 Music Theory skill, you can write your completed composition onto a piece of paper, creating Sheet Music that can be traded or shared.

To do so, after composing a song, target a piece of paper to write it into a Sheet Music item that can be shared or traded.


Quick Command Reference
Command Name Description
[MusicHelp Provides a summary of all music-related commands and notes available for your instrument.
[Music Open the Music Composition menu to arrange new notes and saved melodies in the interface and save into songs.
[Play Plays a note or series of notes and pauses. (Example: `[Play c4 10 d4 e4` will play note c4, then pause for one second, and then both d4 and e4 at the same time.)
[SaveMelody Saves a sequence of notes and pauses as a melody. The name of the melody must preface the music arrangement to be saved properly (Example: '[SaveMelody happybirthday c4 10 c4 10 d4'])
[GetMelody Lists all saved melodies for the player.
[DeleteMelody Deletes a saved melody by name. Enclose the melody name in percent symbols (Example: '[DeleteMelody %happybirthday%')
[StopMusic Stops any currently playing melody or notes, as well as melodies and notes queued up
[ShowNotes Toggles the visibility of notes being played.