Piano Roll Editor

更新於1年前
This page shows old instructions for MuseScore 3.
For MuseScore 4 users, see Piano Roll Editor.

    The Piano Roll Editor allows you edit individual notes and tweak aspects of their playback.

    The unofficial Musescore post-3.6.2 version (see End of Life plan for 3.x ?) provides "let ring" capability beyond 2000 limit so that better audio output is possible.

    Opening the Piano Roll Editor

    To open the Piano Roll Editor (PRE), right-click on a measure (the spaces within the five lines if it is a five line staff. Not: the space between two piano staffs, nor right-click on a note / rest) in the score and choose the Piano Roll Editor option from the context menu. The Piano Roll Editor will open showing the staff and measure where you clicked. If the Piano Roll Editor is already open, it will be updated to show the new staff and measure you clicked on.

    Opening the Piano Roll Editor

    Overview

    Piano Roll Editor

    The Piano Roll Editor is divided into several sections. At the very top is a row of buttons and controls that affect playback and can modify notes. The name of the part being edited is at the top right.

    The central portion contains the Note Display Area which allows you to view and edit notes. Each note is displayed as a block, with yellow blocks representing selected notes, and darker green blocks representing unselected notes (these colors can be changes in the Preferences). Given sufficient space, each block will display its pitch on the left and the voice it is assigned to on the right. Changing the size of the note blocks is covered in the navigation section.

    To the left of the Note Display Area is the Keyboard. By clicking on a key in the Keyboard, you can hear a sample of that note playing. As you move the mouse in either the Node Display Area or the Keyboard, a key on the keyboard will light, corresponding to the pitch you are over. You can also hover your mouse over a particular key to get more information about that pitch. If you are using a Drumkit, the keys of the keyboard will show the name of the drum assigned to that particular pitch. For instruments that are not concert C, the keyboard will be adjusted so that the C of the keyboard matches the C of the instrument.

    Drum Roll Editor

    Along the top of the Note Display Area is the Measure Ruler which displays the current position of the playback head, as well as the current looping range if it set.

    The bottom of the editor contains the Levels Display Area. It is a bar graph showing extra data values assigned to each note, such as its velocity or cutoff time. To the left of the Levels Display Area is a dropdown menu allowing you to select the type of data you wish to see displayed or edited.

    There are several ways to move about in the Piano Roll Editor. First of all, you can click and drag on the scroll bars on the edges of the Note Display Area.

    The mouse wheel can also be used to pan and zoom as follows:

    • Scroll vertically: Mouse wheel.
    • Scroll horizontally: Shift + mouse wheel.
    • Zoom vertically: Ctrl + mouse wheel.
    • Zoom horizontally: Ctrl+Shift + mouse wheel.

    To jump to a particular measure, switch back to score view and find the measure you wish to see. Then right-click on the measure and select Piano Roll Editor. The Piano Roll Editor will scroll to center on the measure you clicked.

    Selecting Notes

    In the Note Display Area, you can click on single notes or click and drag to select a group of notes. Holding down the modifier keys will affect how your selection changes:

    • Shift: Invert existing selection: i.e. notes that were previously selected are deselected, and notes which were not selected are selected. Useful for toggling a note between selected and not selected.
    • Ctrl: Add notes to selection.
    • Ctrl+Shift: Subtract notes from selection.

    Editing Notes

    To change the pitch of a selection of notes: Drag a selected note up or down to a new pitch; or press the or arrows. Note: Dragging the note horizontally to change the start time is not supported at the moment.

    To delete a selection of notes: Press the Del key.

    To move a note selection to another voice: Click the desired voice number button at the top of the editor.

    To add notes:

    Notes can be inserted by clicking in the Piano Note Area with the modifier keys held. These edit operations will use the beat or subbeat line to the left of the spot where you click as the point where a note is altered:

    • Ctrl: A note of the current insert note duration will be added at the subbeat and pitch where you clicked. The note insert length is the same as the one you use to add notes in note entry mode in the score. If you wish to change the duration, you will need to select this in the Score View as the Piano Roll Editor does not currently have these buttons. If notes already exist in this location, a chunk will be cut out of them to make room for the note you are inserting, unless they happen to have the same start time and duration of the note you're adding, in which case the new note will simply be appended to the existing chord. Tuplets are currently not supported, and so will be ignored.

      Note Input toolbar

    • Shift: Looks for a chord that already spans this subbeat line. If it finds one, appends a new pitch to the existing chord. Otherwise, this is a rest and the rest will be replaced with a note of equal start time and duration to the existing rest.

    • Ctrl+Shift: Looks for a chord or rest that spans this subbeat. This chord will be cut in two at this subbeat line. Tuplets are currently not supported, and so will be ignored.

    To edit note event data:

    Note event data can be changed in the Levels Display Area. To edit event data such as velocity or cutoff time, first select the notes you wish to edit in the note area. Then click in the Levels Display Area on the corresponding bar; the value of the level will changed to correspond to the point where you clicked. You can also click and drag in this area to change the levels of several notes with a single gesture. If you want the levels to all be set to the same value, hold Shift while dragging. Only selected notes will have their value changed - this is to prevent you from accidentally changing the values of other notes.

    The Levels area can display the same data in multiple ways. For example, velocity data can be displayed both as absolute (i.e., relative to the output midi volume) and relative (i.e., as an offset to the dynamics value). You can switch between these display modes as you see fit.

    Levels area

    Controls

    From left to right the controls have these functions;

    First Row

    Undo
    Undoes the last action
    Redo
    Redoes the last action
    MIDI Toggle
    Toggles MIDI input
    Rewind
    Rewind to start of score.
    Play
    Starts/stops playback.
    Loop Playback
    Sets the range of and toggles looping playback.
    Play Repeats
    Toggles whether repeats are played.
    Pan Roll During Playback
    If set, the window will automatically scroll to center on the playback head during playback.
    Metronome
    Toggle metronome.
    Wave
    Currently does nothing.
    Voice Numbers
    Moves selected notes to chosen voice.
    Part
    Name of part currently being viewed/edited.

    Second Row

    Cursor
    Provides feedback on the current measure and pitch of the position of the mouse within the Note Display Area.
    Subdiv

    Subdivides the beat by adding extra divisions to the Note Display Area. The value indicated the number of time the beat will be subdivided. So for 4/4 time, a division of 2 will draw grid lines at every eighth note; a division of 3 at every sixteenth note, and so on. Setting the subdivision is necessary for some editing operations if you wish to place notes off the beat.

    For larger numbers of subdivisions, you may need to be zoomed in to see the extra grid lines since grid lines are not drawn below a certain density. Combines with the tuplet control which also affects grid line placement.

    Tuplet

    Adds additional grid lines, subdividing the beat to show the rhythmic placement of tuplets. For example, setting tuplets to 3 will show the beat subdivided into three parts. Combines with the subdiv control to show subdivisions of the tuplet. For example, setting tuplets to 3 and subdiv to 2 will draw grid lines showing the tuplet beats subdivided into two parts - i.e., the beat will be subdivided into 6.

    Selecting a tuplet mode other than 1 will disable some of the note insertion tools for the Piano Roll Editor. For larger numbers of subdivisions, you may need to be zoomed in to see the extra grid lines since grid lines are not drawn below a certain density.

    Triplet in Piano Roll Editor

    Stripe pattern
    Changes the pattern of stripes shown behind the notes in the Note Display Area. By default the pitches of C major are highlighted, but you can change this to highlight the pitches of a different key, or even scales such as the diminished or whole tone.
    Velocity

    Shows the velocity of the currently selected note (only one note may be selected). Indicates the loudness of the note. This can be expressed as 'Offset' or 'User':

    • Offset: Value is treated as a multiplier for the velocity already set by the dynamics.
    • User: This is the raw value being sent to MIDI and overrides the dynamics value. Values are between 0 and 127, where 64 is "middle, neither loud nor soft".

    When you switch from User to Offset or vice versa, the value will be recalculated to best match the value in the other system. This way you could, for example, switch to User mode to set the value as you would like it to sound in MIDI output and then switch to Offset so that this value respects the dynamic marking instead of overriding it. At the moment you switch back, the offset value will be recalculated to match the User value in loudness but will no longer act as an override so you may later change the dynamic.

    Pitch
    Shows the pitch and octave of the selected note in text format (i.e. f#4).
    The pitch will change if the note is dragged Up or down to a new pitch. Currently cannot be edited.
    OnTime
    Shifts the start of the note in time, which can be used to modify the playing style. Negative values will make the note sound earlier, positive will make it sound later. The duration of the note corresponds to a value of 1000 (e.g. setting the value to 250 will make the note sound 1/4 of its duration later).
    Length
    Set the time that the note is sounding, which may be used to modify the degree of "legato". Lower values will make the note sound more staccato, higher values will make it sound more legato. The duration of the note corresponds to a length of 1000, but the value can be set higher. 950 is usually considered "non-legato".

    Keyboard

    Some keys are hooked up to perform special actions:

    • : Move selected notes up one semitone
    • : Move selected notes down one semitone
    • Del: Delete selected notes
    • Space: Start/stop playback

    Customization

    The Piano Roll Editor will display in both normal mode and dark mode. If you wish to change the colors the Piano Roll Editor uses to display in these modes, they can be adjusted in the Preferences under the Advanced tab. All the Piano Roll Editor related properties begin with ui/pianoroll/light for light mode and ui/pianoroll/dark for dark mode.

    Do you still have an unanswered question? Please log in first to post your question.