
CHAPTER 8:


In This Chapter:

	Event Editing Overview
	Moving Around The Event Screen	
	Event List Tour	
	Pointer Arrows	
	Columns	
	Edit Buttons	
	Inserting / Deleting Events	
	Flip	
	Using the Event List	
	System Exclusive	
	Understanding Events	
	Hexadecimal vs. Decimal Numbering	
	Event List Notes
        Hex (Hexadecimal)	
	MIDI Event



EVENT EDITING OVERVIEW: Event Editor

Barefoot Software Sequencers allow you to examine and fine-tune your Tracks using the Event Editor.  This method provides you with a variety of ways to Inspect and modify your music and other parameters that could not easily be edited graphically.  The Event Editor makes it possible to Insert, Delete, or change any MIDI Event.  This allows the creation of Events that your controller is not capable of sending, such as System Exclusive messages or Mode Messages. The only Track Types you can edit using the Event Editor are MIDI Tracks, Shadow Tracks, or empty Tracks.

To Access The Event List:

) Select Event List from the Inspect menu.
) If you Left Click on an empty Track, a blank page will appear.
) If you Left Click on an existing Track, you will see the Event listing for that Track.


To Access The Event List Using Key Commands:

) Press Shift.  This brings up the selection dialog.
) Select the Track to Edit using Up / Down Arrow keys, etc. 
) Press Insert to select the Track.
                                                
FIG01.IMG
    
Display Controls
	1	Scroll Bar
	2	Scroll Box
	3	Event List Start Time
	4	Click-Play MIDI Channel Output
	5	Global Transpose Display

Pointer Arrows
	6	Start Time Pointer Arrow
	7	Insert / Delete Pointer Arrow
	8	Event Changed Pointer Arrow   

Columns
	9	Event Time Column
	10	Hexadecimal Representation Column
	11	MIDI Channel Column
	12	Event Type Column
	13	Event Data Column 

Edit Buttons
	14	Display Options Buttons
	15	Insert Button
	16	Delete Button
	17	Flip Button 
	
Exit Button
 
The information you see on this screen is all the MIDI data recorded on the Track you selected, including MIDI Control Changes, Pitch Bends, etc., in addition to Note On and Off Events.

The Event List allows you to view 18 separate MIDI Events (rows of information) at a time.  To the left of the screen is a Scroll Bar which lets you move through the list. The position of the Scroll Bar reflects time, not the numbers of Events.

The Scroll Arrows at the top and bottom Scroll by Events.  The Slider Bar allows you to quickly move anywhere in the List that there are Events.  The Slider is relative to time.  If the Slider is inactive, it is because there is nowhere to move in time.  If more than 18 Events have the same Event Time it is possible to Scroll to them using the Up/Down Scroll Arrows. 

When the slider is active, Click above the Slider to Scroll up 18 Events per Click.  Click below the Slider to Scroll down 18 Events per Click.  Drag the Slider to change the Event List Start Time.  Drag it to the top of the Scroll Bar to show the beginning of the Track.  Drag to the bottom to show the last Event on the Track.  Any position in between is proportional to the time within the Track.

You can set the Event List Start Time (at the very top) by Clicking on the digits, then Left-Clicking on the black arrow that appears.  The Event List will start its listing from that time.

To Scroll Through The Events:

o1 Click Up Arrow to Scroll up one Event.
o2 Click Down Arrow to Scroll down one Event.
o3 Click and Drag Scroll Box to Scroll to a relative position.
o4 Left Click below the Scroll Box to Scroll down 18 Events (one page). 
o5 Left Click above the Scroll Box to Scroll up 18 Events (one page). 
o6 Right Click below the Scroll Box to Scroll down 9 Events (half page). 
o7 Right Click above the Scroll Box to Scroll up 9 Events (half page).
o8 Set the Event List Start Time, Left Click Arrow to go to an exact time.

There are 3 Pointer Arrows used in the Event Editor Screen:  The Insert/Delete Arrow, the Event Changed Arrow, and the Start Time Arrow.

The Start Time is the time of the first Event shown in the  list.  When you change the Start Time by Clicking on the digits, the Start Time Pointer Arrow becomes a solid black arrow.  When this occurs, no other editing can take place until you Activate the new time by Left Clicking the Arrow or Cancel the change by Right Clicking on it.


Event List\Insert/Delete Pointer Arrow
This Pointer Arrow is the place where the next Insert or Delete will take place.  This Arrow can be moved up/down by Clicking the mouse anywhere in the margin between the Scroll Bar and the Event Time (or Press the Up/Down Arrow keys).  If you Scroll up or down a whole screen and the Insert/Delete Arrow disappears, you can not Insert or Delete until you Click somewhere in the margin to replace it.




Event List\Event Changed Pointer Arrow

Whenever you change any Event, this solid black Arrow will appear next to the line where the change was made.  To Save the changes made to the Event, Click on the black Event Changed Arrow with the Left mouse button (or press the Insert key on the keyboard).  To Cancel the changes and revert back to the most recent version of the changed Event, Click with the Right Mouse Button (or press the Clr/Home Key).
Because of this function of the Clr/Home key, you cannot toggle between _hh:mm:ss:ff_ and _mm:ss:ff.bb_ time display formats while an edit is in progress.  If no edit is in progress, Clr/Home acts as a prefix for the "\" key to toggle the format, as on all other screens.
                                                                     
FIG03.IMG    

This represents the time which the Event takes place.  It is possible to move an Event in time.  Click on the digits and Save the changes (see Event Changed Arrow).  It is possible for the edited Event to now be off the screen.  Scroll to the new time to view the Event.

Each MIDI Event has its own hexadecimal value.  It can be up to 3 pairs of numbers long.  Each pair is one byte.  The information that is given in a 3 byte hexadecimal number is all an instrument needs to determine what kind of MIDI Event is being sent. Hexadecimal numbers are based on sixteen numerals: 0, 1, 2, 3, 4, 5, 6, 7, W *8, 9, A, B, C, D, E and F.  See the Hexadecimal Numbering section later in this chapter.

Most Events have MIDI Channels assigned to them.  With the exception of System messages, all other Events' MIDI Channel assignment can be re-assigned to a different MIDI Channel (Track Channel Assignment).
Notice the Start Time has its own MIDI Channel.  This is inherited from the MIDI Channel assignment given to the Track on the Main Screen.  It can be reassigned from within the Event List to affect the Playback Output assignment,  but it only stays in effect while in the Event Editor.

MIDI Event Type
This is the name of the MIDI Event type.  The different names of Events can be found by Clicking on Insert.  After Clicking on Insert, even more Events can be listed by Clicking Other. The Event Name can't be changed. You must Delete the Event and Insert a new Event of the desired type.


Event Data Event List\Event Types

There are many different values that can go in this column. They range from telling the MIDI instrument what the velocity of a Note will be to how far a pitch bend value will bend. Here are examples of values in the Event Data Column for various Event types:
MIDI\Note On and NOTE OFF

The NOTE setting corresponds to the second pair of numbers in the Hex column ranging from 00 to 7F (C2 to G 8). Within the Event Description column, when the Event is a Note On and the Velocity is greater than 0, you will see a Quarter Note icon in the column. By pointing at this icon and Clicking, you will hear the Note played at the recorded velocity level for a fixed duration of about 1/3 second. You will not hear the actual duration of the Note, as that is defined by a subsequent Note Off Event, or a Note On Event with the Velocity set to 0.
                                                                       
NOTE.IMG 

If there is a Note On, that Note will keep playing until there is a subsequent Note Off.  MIDI allows two types of Note Off commands:  A true Note Off command, or a Note On with a velocity value of 0.  The method used depends on the MIDI controller that recorded the data.
You may therefore see on your Event screen a lot of Note Ons, but no Note Offs.  If you inspect the Event data column, you'll see that many of the Note Ons have a velocity setting of OFF; this is how the Event List displays a Note On with 0 velocity so that it is easier to distinguish as a pseudo Note Off command.  When we use the term Note Off in this text, 
we are referring to any Note Off Event whether it be by an actual Note Off-command, or a Note On of 0 Velocity.

When editing, if you shift the Note On to a point later than the Note Off, you must move the Note Off as well.  Otherwise, when you play the Track, the computer is going to pass by the Note Off first, and then come to the Note On. Because there is no subsequent Note Off, the Note will be stuck on.  

If you want to maintain Note duration, you must change the times of the Note On and its corresponding Note Off equally.

The Note Off must be the same note as the Note On. This means that when editing, when you alter a Note's pitch, you also have to locate the corresponding Note Off (the next Note Off that is the same pitch as the Note On before it's edited), and change that pitch as well.

It is recommended that you find matching Note Ons and Offs before you start editing a Note.  The Note Off that corresponds to a particular Note On is always the next Note Off with the same note value. 

To edit a Note, point the mouse at either the Letter (A-G), the Octave Number (-2 through 8) or the accidental (Sharp) 
                                                                       
MFC2.IMG    
                                              
MFC3.IMG    

By using the mouse buttons, you can set the Note to any pitch.  By pressing the Note Play icon you can hear the Note you've selected.  As a reference point, C3 normally refers to Middle C on a piano.  This can be changed to C4 or C5 by the Accidentals/Octvs in the Options menu. This changes the range of Octave Numbers to -1 through 9 and 0 through 10 respectively.

Velocity\In Event List. 
This tells the instrument how "hard" the Note On Event should be played. The number 127 is the highest, number 1 the lowest (0 is equivalent to Note Off). The value is also represented in the third pair of digits in the Hex column. A more complete discussion about velocity and its effects is found in Chapter 5, Velocity Adjustment.

You may only increment or decrement by a single number using the Left and Right buttons while pointing at the velocity indicator. To move by larger amounts, point to the third pair of numbers in the Hex column, and use the first of these two digits for coarse adjustment (16 step increment/decrement).


Control Changes\In Event List

This instructs the computer as to what Control Change Number it should trigger, corresponding to the second pair of numbers in the Hex column. You'll find a list of some MIDI control change numbers in Chapter 5 (Replace Every).  These controllers consist of things like pitch bend, sustain pedal, breath controllers, MIDI volume, etc. Some of these controllers may be difficult to edit in the Event Editor, because there can be large numbers of Events to adjust.  Something like a sustain pedal that is either on or off is relatively easy, and it can be very convenient when you want to set MIDI Volume or Pan to a specific value. Continuous controllers like pitch bend, mod wheel or after touch are better handled by the Graphic Screen (See Chapter 7).

Patch Changes,Inserting

This tells the instrument to change to a particular patch. The Patch
Number is displayed in the format set in the Patch Numbering parameters,
in the Channel Settings of the channel the Patch Change will be sent on.  
That is either the Play Channel shown at the top of the screen, or if the
Play Channel is blank, the Event Channel of the Patch Change Event.  For 
example, if Patch Numbering is set up for 2 banks of 8, then the maximum
value for a patch is 16.  Any value above 16 would be displayed as max. the 
patch numbers will be displayed as 11, 12, 13, 14, 15, 16, 17, 18 and 21, 
22, 23, 24, 25, 26, 27, 28.

When you are in the Insert Patch Change dialog, the number is specified as
the actual value of the Patch Change Event, not the value assigned by Patch 
Numbering.  To be able to set the value while seeing the value with Patch 
Numbering, first Insert any number in the Insert dialog, then Edit the
Event to get the desired number.

EDIT BUTTONS

Any combination of these 4 buttons can be selected.  When activated (black), the Event Screen will list all Events of the selected type. 
                                                                     
FIG04.IMG                                                                        
FIG05.IMG                                                                         
FIG06.IMG                                                                         
FIG07.IMG 
  
When all 4 Options are selected (black), all MIDI Events will be shown. Conversely, if all 4 Options are Off (white), nothing is listed. Only Note On & Note Off Events are listed when Note is selected as the Events Shown Option. Patch information includes all patch changes that occur throughout the Track. There are many MIDI Events that function as system type information. When System is selected, only the following Event Types will be shown:

 Start	
 Sys Ex ID	
 Song Pos Ptr	
 Stop	
 Sys Ex Data	
 Song Select	
 Continue 
 Tune Request
 ClockW                                                                      

FIG08.IMG

All of the Other MIDI Events can be listed by Clicking on Other.  
These Events include:

 Pitch Bend	
 Control Change	
 Channel Pressure 	
 Local Control	
 Omni On	
 Poly Key Pressure 	
 Poly Mode	
 Omni Off	
 All Notes Off

If for some reason no Events are shown on a Track that should have Events on it, or the Event you want to edit doesn't appear on the screen, make sure the proper Events Shown buttons are on. They all default to ON. These button settings are remembered from the last time they were set in this session.
                                                                 
INSERT.IMG   

Place the Insert/Delete Arrow on the line you want to insert an Event on and Click on Insert.  Any Event already on that line will be moved down to the next line.  A list of MIDI Events will be displayed along the right side of the screen.  There is another list of more Events to choose from available by Clicking on Other at the bottom of the list.  Click on the Type of Event you want to Insert.

*Each type of Event presents you with dialogs to enter the specific values required for that Event; some require more entries than others. When all the information has been entered, the Event will be be Inserted. All of the other Events will be moved down 1 space and the Insert/Delete Arrow is ready to Insert the next Event. Notice the time given to the Inserted Event is the same as the time the Insert/Delete Arrow is now pointing at. Once you start Inserting an Event, you must finish setting all of the values. If you want to change a value you have already set, complete the Insert and edit the Event after it is Inserted.
                                                                    
DELETE.IMG   

With the Insert/Delete Arrow selecting the Event you want to Delete, Click Delete. The Event will be removed and all Events below that Event will move up one line in the list.

FLIP.IMG     

There is a button at the top of the Event Editor Screen labelled Flip. You press this button to switch over to the Graphic Editing Screen. The Graphic Screen also has a Flip button to return to the Event Editor Screen. The Start Time shown on the Event Screen is transferred to the first measure of the Graphic Screen. The Key Command for Flip is Esc (Escape). The selected Play Channel is transferred between the Event and Graphic Screens when you Flip.  It initially inherits the Channel from the Track Output Channel when you enter either edit screen.

Details regarding Graphic Editing are described in Chapter 7.

Uses For Flip: 
These are suggestions for using the Flip-option to go to the Graphic Screen: 

Move Notes while keeping duration constant. 
Easily draw in a new Note.
Redraw Pitch Bends, Control Change curves, Velocity curves. 
Erase large regions of a Track. 
Play a portion of the Track you're editing.
