SCORE survival guide

From CCARH Wiki
Jump to navigation Jump to search

This page is a detailed step-by-step tutorial for inputing music in the SCORE editor (MS-DOS version). This guide is useful for the first-time user to learn how to do basic navigation in the SCORE editor. This tutorial is useful for practice entering the exercises on the SCORE user input page.

Inputting Music

Type the INP (or INPUT) command at the SCORE command prompt to start input mode in Score:

Type "INP" to start input mode.

This will take you to the Input menu which are lists of parameters at the top of the screen. Use the Arrow keys to move between the parameters. Type numbers to change them. The meter and mode are not really useful to set. Mostly the size of the music, and the starting and stoping point for the staves are useful settings. An important one is the spacing parameter (but only when dealing with more that one voice/layer on a staff). Here is what the screen should look like after pressing "INP Enter":

After typing "INP" to start input mode.

After the settings in the input menu are as desired, press the space bar to start typing the five-stage user input.

Here is a demonstration of the 5 stages for one of the basic melodic examples. First typing the pitch stage:

Typing pitch stage in input mode.

Then after pressing Enter, you will see pitches on the staff (in the Windows version the notes appear on the staff as you type them). Then you can type the rhythm stage:

Typing rhythm stage in input mode.

Note the information at the bottom of the screen. You can click on those boxes to insert rhythms, or press F4 to insert a quarter note for example. Notice that after you press Enter after the rhythm stage, the notes area assigned rhythmic values, and there are little (temporary) numbers shown above each note:

Typing marks stage in input mode.

In this case there are no marks, beams or slurs to add to the music. You can type :+ Enter three times, or type g+ Enter to finish inputing the music:

Terminating input sequence early.

At this point SCORE asks if you want to save the data. It is asking if you want to save the text you just typed (ultimately not the graphical notation data that SCORE will generate from this text). You should type "Y" as a beginner and then view the data in a text editor to see what it looks like. This data can also be read into SCORE again with the RE command (helpful if you mess up the notation and don't want to enter by hand again):

Input mode data save.

The data is text, so it is best to add the extension .txt to the filename. Also note that the filename base can only have 8 characters (this is MS-DOS):

Input mode data save.

SCORE then starts to enter staff two (note that staff one is the bottom staff on the page). Press esc to exit input mode and return to command mode.

Staff 2 input menu

Saving Music

It is wise at this point to save the music (in its graphical form). Type "sa exam1 Enter" to save the current page to the hard disk. This will create the file "exam1.mus"

Save contents to disk

Notice that after you save the file, there is a message in the top right corner saying that the file is saved, and the top left corner lists the name of the file:

Save status at top of window

Clearing Music

Try typing "RS Enter" to clear the contents of the editor:

Clear contents of editor with RS command

This will put the editor in the initial state:

Cleared contents of editor after RS command

Load Music

You can load your music back into the editor with the "G" command (G = get). The default extension is .mus, so you do not have to type that part if you do not want to:

Get the contents of a binary file.

After getting the file, you should see your music back in the editor:

Reloaded music content.

Alternatively, you can load the TEXT version that you created at the input mode stage. This is a form of SCORE macro which must be read with the RE command. Note the file extension is needed in this case since there is not default extension for macro files:

Reloaded music content from text file macro.

The read file will look the same as the binary exam1.mus file that was just loaded (because you have not done any further editing of the data after it was input). You can say Y to go back to input mode to alter the music, or press no to go back to command mode.

Reloaded music content from text file macro.

Here is what the contents of the editor look like if typing N:

Back in command mode after reading text file with music.

Lineup and Justify

One of the more important commands is the LJ (Lineup and Justify) command. When you enter music in input mode, the music is spaced linearly: quarter notes take up half the space of half notes, half notes take up half the spaces of whole notes, etc. Music spacing does not display music in this 2:1 ratio. In SCORE the spacing between rhythmic levels is about 1.51:1, such as a whole note takes up 1.51 of the amount of space that two half notes take up instead of 2. To apply this geometric spacing to the music, type LJ, and then type two numbers (the bottom staff and how many staves to align while justifying). In this case "1 1" for a single staff.

LJ command in progress.

Notice that SCORE will box the music that is going to be aligned and justified. Press esc or B to cancel, or any other key to finish the LJ command.

LJ command in progress.

After the LJ command runs, the spacing of the music looks better (but not much difference for this example since the notes are almost all quarter notes):

LJ command finished.

Printing

Press F6 or type PRINT on the command line to go to the print menu:

PRINT menu.

Type "1 exam1 Enter" to change the output from the laser printer (probably not connected to computer) to a file instead. The default extension is .eps (for Encapsulated PostScript):

PRINT menu, changing filename to save to.

Then type "G" or press F6 to start printing the page of music to the file exam1.eps:

Start printing the music to a file.

After the music is printed, you will be taken back to the command mode. You can also try changing the margins (menu item 4), the scaling (menu item 2), Mirroring the music of photo-offset reproduction (menu item 10). etc. Type "4 .5 6" to change the left margin to 0.5 inches and the bottom margin to 6 inches.

The generated EPS file can be loaded directly into Microsoft Word for example. To generate a PDF file from the EPS file, you can do this with GhostScript in linux, OS X terminal or Windows (if Ghostscript is installed on your computer)

   ps2pdf -sPAPERSIZE=letter file.eps file.pdf

To install ps2pdf on MacOS try typing "brew install ghostscript" if you have Homebrew installed on your computer.

Here is an example of the EPS file opened in MacOS with Preview.app:

Final EPS output.

And here is an SVG graphic made from the EPS file displayed directly on the webpage:

This SVG image was created by running the EPS output from SCORE through seps2svg, written by Thomas Weber.

MIDI playback

The music can be played back by typing PLAY in command mode.

Start play mode.

At the top of the play screen, a list of numbers will be shown. For simple cases these values aren't interesting, but for multi-staff systems and multiple systems on a page, this list is used to specify which staves should played together if the program doesn't figure it out correctly. Press the space bar to listen to the music.

In play mode.

Boxerapp tips (MacOS emulator for MS-DOS)

Boxer.app is an MS-DOS emulator for OS X. Here are some tips related to using SCORE in boxer.app:

  • Type Fn+M to toggle the insert/overwrite key, since Apples do not have such a key thanks to Jeff Raskin.
  • To get the mouse out of Boxer, do Command+click.
  • Command+F toggles full-screen view

The list of shortcuts for Boxer.app for more tips (also see the built-in help system for a list of the shortcuts, since these will be more up-to-date).

DosBox tips (Windows emulator for MS-DOS)

  • Press alt-enter to go into full-screen mode. Press alt-enter again to exit full-screen mode.

Fixing mistakes in User Input Mode

If you make a mistake in a user input line, but you only notice it at a later stage in the input stages, you can cycle back to a previous stage by pressing esc key. Then press the N key to not abandon the input. The press Enter key twice to get back to the pitch stage (the first two lines are the values from the initial Input mode menu). Press enter for each stage that is correct until you get to the one you need to fix. Then you can use the arrow keys to go back to the text that needs to be fixed. If you need to insert text in boxer.app in OS X, you need to switch from overwrite mode to insert mode with Fn+M. DosBox users in Windows can press the insert key to go into insert mode, so it should not be as confusing.


Another thing to watch out for is that the maximum line lengths for any input stage is 256 characters. You can keep typing and have the line wrap about three times without hitting this limit. Any stage can be placed on multiple lines, and any stage which ends up being longer than 256 characters must be put on multiple lines. You can press enter at any point when inputting a line to go to the next line of the same input stage. Typically you would do this after inserting the item separator /.

Going back to User Input Mode to fix mistakes

If you notice a mistake after exiting from input mode, then type EDI in command mode. The editor will then ask which staff you want to edit; type the staff number shown to the left of the staff. This takes you back to input mode and correct the error. Note that the EDI command cannot be used if you have more than one layer/voice on the staff (or in the region of the staff that you are editing with EDI). Also note that any graphical edits on music music will be lost if you use EDI, so EDI is not typically used by SCORE experts who would instead fix the errors in command mode (But you don't know how to do that yet if you are reading this page...).

Edit mode warning

Be careful as a beginner on using the mouse to click on the graphical notation once you are back in command mode. This will cause you to go into edit mode for a particular item that you clicked on. If you did that by accident, you will have an urge to click somewhere else in the window to deselect the item; however, this will instead move the item to where you clicked. You will then have an urge to press esc to cancel the move; however esc will save the edit and take you back to command mode, locking in your accidental move. If you end up in edit mode for an item, and and you accidentally move the item, instead press F8 to abort the change (or click on the ABORT button in the bottom menu in the editor).

Undo warning

SCORE does not have any real undo capability—so don't make any mistakes...

There is an UND command in command mode. Running this command will undelete the last item that was deleted. This only undeletes the last item, and cannot be used for complex operations such as LJ which alters multiple items. In other words, SCORE beginners should learn to save their work often to avoid having to re-enter the music from scratch. After you do the first SA (see further above), you can type SM in command mode to save the current contents of the editor to the file you are currently working on. Do this before you make any major changes to your music. Then if you make a horrible mistake, you can type RS to clear the editor, and G file.mus to load the previous contents of the file which was saved before you messed it up.