<ui>
  <menubar name='Main' action='MainMenu'>
    <menu name='Session' action='Session'>
      <menuitem action='New'/>
      <menuitem action='Open'/>
      <menuitem action='Recent'/>
      <menuitem action='Close'/>
      <separator/>
      <menuitem action='Save'/>
      <menuitem action='SaveAs'/>
      <menuitem action='Rename'/>
      <menuitem action='Snapshot'/>
      <menuitem action='SaveTemplate'/>
      <menu name='Metadata' action='Metadata'>
        <menuitem action='EditMetadata'/>
        <menuitem action='ImportMetadata'/>
      </menu>
      <separator/>
      <menuitem action='AddTrackBus'/>	
      <separator/>
      <menuitem action='addExistingAudioFiles'/>
      <!--menuitem action='importFromSession'/-->

      <menuitem action='OpenVideo'/>
      <menuitem action='CloseVideo'/>

      <menu name='Export' action='Export'>
       <menuitem action='ExportAudio'/>
        <menuitem action='StemExport'/>
        <menuitem action='ExportVideo'/>
      </menu>
      <menuitem action='bring-into-session'/>
      <menu name='Cleanup' action='Cleanup'>
        <menuitem action='CleanupUnused'/>
        <menuitem action='FlushWastebasket'/>
      </menu>
      <separator/>
      <menuitem action='toggle-session-options-editor'/>
#ifdef GTKOSX      
      <menuitem action='toggle-about'/>
      <menuitem action='toggle-rc-options-editor'/>
#endif
      <separator/>
      <menuitem action='lock'/>
#ifndef GTKOSX
      <separator/>
      <menuitem action='Quit'/>
#endif
    </menu>

    <menu name='Transport' action='Transport'>
      <menuitem action='ToggleRoll'/>
      <menu action="PlayMenu">
        <menuitem action='main-menu-play-selected-regions'/>
        <menuitem action='play-edit-range'/>
        <menuitem action='PlaySelection'/>
        <menuitem action='PlayPreroll'/>
        <menuitem action='play-from-edit-point-and-return'/>
        <menuitem action='Loop'/>
      </menu>
      <menuitem action='record-roll'/>
      <menuitem action='Record'/>
      <menuitem action='ToggleRollMaybe'/>
      <menuitem action='ToggleRollForgetCapture'/>
      <menuitem action='toggle-skip-playback'/>
      <menu action="SetLoopMenu">
        <menuitem action='set-loop-from-edit-range'/>
        <menuitem action='set-loop-from-region'/>
      </menu>
      <menu action="SetPunchMenu">
        <menuitem action='set-punch-from-edit-range'/>
        <menuitem action='set-punch-from-region'/>
      </menu>

      <separator/>
      <menuitem action='Forward'/>
      <menuitem action='Rewind'/>
      <menuitem action='TransitionToRoll'/>
      <menuitem action='TransitionToReverse'/>
      <separator/>

      
      <menu action="MovePlayHeadMenu">
        <menuitem action='set-playhead'/>
        <menuitem action='playhead-to-edit'/>
        <menuitem action='center-playhead'/>
        <separator/>
        <menuitem action='nudge-playhead-forward'/>
        <menuitem action='nudge-playhead-backward'/>
        <separator/>
        <menuitem action='tab-to-transient-forwards'/>
        <menuitem action='tab-to-transient-backwards'/>
        <separator/>
        <menuitem action='playhead-forward-to-grid'/>
        <menuitem action='playhead-backward-to-grid'/>
        <separator/>
        <menuitem action='playhead-to-next-region-boundary'/>
        <menuitem action='playhead-to-previous-region-boundary'/>
        <menuitem action='playhead-to-next-region-boundary-noselection'/>
        <menuitem action='playhead-to-previous-region-boundary-noselection'/>
        <menuitem action='playhead-to-next-region-sync'/>
        <menuitem action='playhead-to-previous-region-sync'/>
        <separator/>
        <menuitem action='jump-forward-to-mark'/>
        <menuitem action='jump-backward-to-mark'/>
        <separator/>
        <menuitem action='GotoZero'/>
        <menuitem action='GotoStart'/>
        <menuitem action='GotoEnd'/>
        <menuitem action='GotoWallClock'/>
      </menu>

      <menu action="MoveActiveMarkMenu">
        <menuitem action='selected-marker-to-next-region-boundary'/>
        <menuitem action='selected-marker-to-previous-region-boundary'/>
        <menuitem action='edit-cursor-to-next-region-sync'/>
        <menuitem action='edit-cursor-to-previous-region-sync'/>
      </menu>

      <menu action="MarkerMenu">
        <menuitem action='add-location-from-playhead'/>
		<menuitem action='remove-location-from-playhead'/>
        <separator/>
        <menuitem action='goto-mark-1'/>
        <menuitem action='goto-mark-2'/>
        <menuitem action='goto-mark-3'/>
        <menuitem action='goto-mark-4'/>
        <menuitem action='goto-mark-5'/>
        <menuitem action='goto-mark-6'/>
        <menuitem action='goto-mark-7'/>
        <menuitem action='goto-mark-8'/>
        <menuitem action='goto-mark-9'/>
      </menu>

      <separator/>
      <menuitem action='ToggleTimeMaster'/>
      <menuitem action='TogglePunch'/>
      <menuitem action='TogglePunchIn'/>
      <menuitem action='TogglePunchOut'/>
      <menuitem action='ToggleAutoInput'/>
      <menuitem action='ToggleFollowEdits'/>
      <menuitem action='ToggleAutoPlay'/>
      <menuitem action='ToggleAutoReturn'/>
      <menuitem action='ToggleClick'/>
      <menuitem action='toggle-follow-playhead'/>
      <menuitem action='ToggleFollowEdits'/>
      <menuitem action='panic'/>
     <separator/>
    </menu>

    <menu name='Edit' action='Edit'>
      <menuitem action='undo'/>
      <menuitem action='redo'/>
      <menuitem action='editor-cut'/>
      <menuitem action='editor-copy'/>
      <menuitem action='editor-paste'/>
      <separator/>       
      <menu action="SelectMenu">	   
        <menuitem action='select-all-objects'/>
        <menuitem action='select-all-tracks'/>
        <menuitem action='deselect-all'/>
        <menuitem action='invert-selection'/>
        <menuitem action='select-all-after-edit-cursor'/>
        <menuitem action='select-all-before-edit-cursor'/>
        <menuitem action='select-all-between-cursors'/>
        <menuitem action='select-all-within-cursors'/>
        <menuitem action='select-all-in-punch-range'/>
        <menuitem action='select-all-in-loop-range'/>
        <separator/>
        <menuitem action='move-range-start-to-previous-region-boundary'/>
        <menuitem action='move-range-start-to-next-region-boundary'/>
        <menuitem action='move-range-end-to-previous-region-boundary'/>
        <menuitem action='move-range-end-to-next-region-boundary'/>
        <separator/>
        <menuitem action='start-range'/>
        <menuitem action='finish-range'/>
        <separator/>
        <menuitem action='select-next-route'/>
        <menuitem action='select-prev-route'/>
      </menu>	   
      <separator/>
      <menuitem action='editor-delete'/>
      <menuitem action='editor-crop'/>
      <menuitem action='split-region'/>
      <menuitem action='split-region-at-transients'/>
      <menu action="SeparateMenu">
        <menuitem action='separate-under-region'/>
        <menuitem action='editor-separate'/>
        <menuitem action='separate-from-loop'/>
        <menuitem action='separate-from-punch'/>
        <separator/>
      </menu>
      <menu action="AlignMenu">
        <menuitem action='align-regions-start'/>
        <menuitem action='align-regions-start-relative'/>
        <menuitem action='align-regions-end'/>
        <menuitem action='align-regions-end-relative'/>
        <menuitem action='align-regions-sync'/>
        <menuitem action='align-regions-sync-relative'/>
      </menu>
      <menu action="FadeMenu">
        <menuitem action='set-fade-in-length'/>
        <menuitem action='toggle-region-fade-in'/>
        <menuitem action='set-fade-out-length'/>
        <menuitem action='toggle-region-fade-out'/>
      </menu>
      <separator/>       
      <menuitem action='remove-last-capture'/>
      <separator/>
      <menu action="EditPointMenu">
        <menuitem action='cycle-edit-point'/>
        <menuitem action='cycle-edit-point-with-marker'/>
      </menu>
      <separator/>
      <menu action="TempoMenu">
        <menuitem action='set-tempo-from-region'/>
        <menuitem action='set-tempo-from-edit-range'/>
      </menu>
      <menuitem action='set-mouse-mode-object-range'/>
#ifndef GTKOSX
      <separator/>
      <menuitem action='toggle-rc-options-editor'/>
#endif
    </menu>         

    <menu name='RegionMenu' action='RegionMenu'>
      <menuitem action='insert-region-from-region-list'/>
      <menuitem action='play-selected-regions'/>
      <menuitem action='loop-region'/>
      <menuitem action='rename-region'/>
      <menuitem action='show-region-properties'/>
      <menu action='RegionMenuEdit'>
         <menuitem action='combine-regions'/>
         <menuitem action='uncombine-regions'/>
         <menuitem action='analyze-region'/>
         <menuitem action='pitch-shift-region'/>
         <menuitem action='split-region'/>
         <menuitem action='split-multichannel-region'/>
         <menuitem action='close-region-gaps'/>
         <menuitem action='place-transient' />
         <menuitem action='show-rhythm-ferret'/>
         <menuitem action='strip-region-silence'/>
         <menuitem action='reverse-region'/>    
      </menu>
      <menu action='RegionMenuLayering'>
        <menuitem action='raise-region-to-top'/>
        <menuitem action='raise-region'/>
        <menuitem action='lower-region'/>
        <menuitem action='lower-region-to-bottom'/>
      </menu>
      <menu action='RegionMenuMIDI'>
        <menuitem action='transpose-region'/>
        <menuitem action='insert-patch-change'/>
        <menuitem action='quantize-region'/>
        <menuitem action='fork-region'/>
        <menuitem action='show-region-list-editor'/>
      </menu>
      <menu action='RegionMenuGain'>
        <menuitem action='toggle-opaque-region'/>
        <menuitem action='toggle-region-mute'/>
        <menuitem action='normalize-region'/>
        <menuitem action='boost-region-gain'/>
        <menuitem action='cut-region-gain'/>      		   
        <menuitem action='reset-region-gain-envelopes'/>
        <menuitem action='toggle-region-gain-envelope-active'/>
      </menu>
      <menu action='RegionMenuPosition'>
        <menuitem action='naturalize-region'/>
        <menuitem action='snap-regions-to-grid'/>
        <menuitem action='toggle-region-lock'/>
        <menuitem action='toggle-region-lock-style'/>
        <menuitem action='toggle-region-video-lock'/>
        <menuitem action='set-region-sync-position'/>
        <menuitem action='remove-region-sync'/>
        <menuitem action='nudge-forward'/>
        <menuitem action='nudge-backward'/>
        <menuitem action='nudge-forward-by-capture-offset'/>
        <menuitem action='nudge-backward-by-capture-offset'/>
	<menuitem action='sequence-regions'/>
      </menu>
      <menu action='RegionMenuTrim'>
        <menuitem action='trim-front'/>
        <menuitem action='trim-back'/>
        <menuitem action='trim-region-to-loop'/>
        <menuitem action='trim-region-to-punch'/>
        <menuitem action='trim-to-previous-region'/>
        <menuitem action='trim-to-next-region'/>
      </menu>
      <menu action='RegionMenuRanges'>
        <menuitem action='set-loop-from-region'/>
        <menuitem action='set-punch-from-region'/>
        <menuitem action='add-range-marker-from-region'/>
        <menuitem action='add-range-markers-from-region'/>
        <menuitem action='set-selection-from-region'/>
      </menu>
      <menu action='RegionMenuFades'>
        <menuitem action='toggle-region-fade-in'/>
        <menuitem action='toggle-region-fade-out'/>
        <menuitem action='toggle-region-fades'/>
      </menu>
      <menu action='RegionMenuDuplicate'>
        <menuitem action='duplicate-region'/>
        <menuitem action='multi-duplicate-region'/>
        <menuitem action='region-fill-track'/>
      </menu>
      <menuitem action='export-region'/>
      <menuitem action='bounce-regions-processed'/>
      <menuitem action='bounce-regions-unprocessed'/>
      <separator/>
      <menuitem action='remove-region'/>
    </menu>

    <menu action='TrackMenu'>
      <menuitem action='AddTrackBus'/>	
      <separator/>
      <menuitem action='track-record-enable-toggle'/>
      <menuitem action='track-solo-toggle'/>
      <menuitem action='track-mute-toggle'/>
      <separator/>
      <menuitem action='insert-time'/>
      <menuitem action="move-selected-tracks-up"/>
      <menuitem action="move-selected-tracks-down"/>
      <menu action='TrackHeightMenu'>
        <menuitem action='fit-tracks'/>
        <menuitem action='track-height-largest'/>
        <menuitem action='track-height-larger'/>
        <menuitem action='track-height-large'/>
        <menuitem action='track-height-normal'/>
        <menuitem action='track-height-small'/>
      </menu>
      <separator/>
     <menuitem action='toggle-track-active'/>	
      <menuitem action='remove-track'/>	
    </menu>

    <menu name='View' action = 'View'>
      <menuitem action='ToggleMaximalEditor'/>
      <menuitem action='ToggleMaximalMixer'/>
      <menuitem action='KeepTearoffs'/>
      <menuitem action='reattach-all-tearoffs'/>

      <separator/>

      <menu action="PrimaryClockMenu">
		<menuitem action='focus-on-clock'/>
        <menuitem action="primary-clock-timecode"/>
        <menuitem action="primary-clock-bbt"/>
        <menuitem action="primary-clock-minsec"/>
        <menuitem action="primary-clock-samples"/>
      </menu>
      <menu action="SecondaryClockMenu">
        <menuitem action="secondary-clock-timecode"/>
        <menuitem action="secondary-clock-bbt"/>
        <menuitem action="secondary-clock-minsec"/>
        <menuitem action="secondary-clock-samples"/>
      </menu>

      <separator/>

      <menu action="ZoomMenu">
        <menuitem action='temporal-zoom-in'/>
        <menuitem action='temporal-zoom-out'/>
        <menuitem action='zoom-to-session'/>
        <menuitem action='zoom-to-region'/>
        <menuitem action='zoom-to-region-both-axes'/>
        <menuitem action='zoom-to-range'/>
        <menuitem action='zoom-to-range-both-axes'/>
        <menuitem action='toggle-zoom'/>
        <menuitem action='expand-tracks'/>
        <menuitem action='shrink-tracks'/>
      </menu>
      <menu name='ZoomFocus' action='ZoomFocus'>
        <menuitem action='zoom-focus-left'/>
        <menuitem action='zoom-focus-right'/>
        <menuitem action='zoom-focus-center'/>
        <menuitem action='zoom-focus-playhead'/>
        <menuitem action='zoom-focus-mouse'/>
        <menuitem action='zoom-focus-edit'/>
        <menuitem action='cycle-zoom-focus'/>
      </menu>
      <menu name='SnapMode' action='SnapMode'>
        <menuitem action='snap-off'/>
        <menuitem action='snap-normal'/>
        <menuitem action='snap-magnetic'/>
        <separator/>
        <menuitem action='cycle-snap-mode'/>
        <menuitem action='next-snap-choice'/>
        <menuitem action='prev-snap-choice'/>
        <menuitem action='next-snap-choice-music-only'/>
        <menuitem action='prev-snap-choice-music-only'/>
      </menu>
      <menu name='SnapTo' action='SnapTo'>
        <menuitem action='snap-to-cd-frame'/>
        <menuitem action='snap-to-timecode-frame'/>
        <menuitem action='snap-to-timecode-seconds'/>
        <menuitem action='snap-to-timecode-minutes'/>
        <menuitem action='snap-to-seconds'/>
        <menuitem action='snap-to-minutes'/>
        <menuitem action='snap-to-onetwentyeighths'/>
        <menuitem action='snap-to-sixtyfourths'/>
        <menuitem action='snap-to-thirtyseconds'/>
        <menuitem action='snap-to-twentyeighths'/>
        <menuitem action='snap-to-twentyfourths'/>
        <menuitem action='snap-to-twentieths'/>
        <menuitem action='snap-to-asixteenthbeat'/>
        <menuitem action='snap-to-fourteenths'/>
        <menuitem action='snap-to-twelfths'/>
        <menuitem action='snap-to-tenths'/>
        <menuitem action='snap-to-eighths'/>
        <menuitem action='snap-to-sevenths'/>
        <menuitem action='snap-to-sixths'/>
        <menuitem action='snap-to-fifths'/>
        <menuitem action='snap-to-quarters'/>
        <menuitem action='snap-to-thirds'/>
        <menuitem action='snap-to-halves'/>
        <menuitem action='snap-to-beat'/>
        <menuitem action='snap-to-bar'/>
        <menuitem action='snap-to-mark'/>
        <menuitem action='snap-to-region-start'/>
        <menuitem action='snap-to-region-end'/>
        <menuitem action='snap-to-region-sync'/>
        <menuitem action='snap-to-region-boundary'/>
      </menu>

      <menu action="RulerMenu">
        <menuitem action="toggle-minsec-ruler"/>
        <menuitem action="toggle-samples-ruler"/>
        <menuitem action="toggle-bbt-ruler"/>
        <separator/>
        <menuitem action="toggle-meter-ruler"/>
        <menuitem action="toggle-tempo-ruler"/>
        <menuitem action="toggle-loop-punch-ruler"/>
        <menuitem action="toggle-cd-marker-ruler"/>
        <menuitem action="toggle-marker-ruler"/>
        <separator/>
        <menuitem action="toggle-video-ruler"/>
      </menu>
      <menu action="VideoMonitorMenu">
        <menuitem action="zoom-vmon-100"/>
        <menuitem action="toggle-vmon-letterbox"/>
        <separator/>
        <menuitem action="toggle-vmon-ontop"/>
        <menuitem action="toggle-vmon-fullscreen"/>
        <separator/>
        <menuitem action="toggle-vmon-timecode"/>
        <menuitem action="toggle-vmon-frame"/>
        <menuitem action="toggle-vmon-osdbg"/>
      </menu>
      <menu action="ScrollMenu">
        <menuitem action='scroll-tracks-down'/>
        <menuitem action='scroll-tracks-up'/>
        <menuitem action='scroll-forward'/>
        <menuitem action='scroll-backward'/>
      </menu>
      <menu action="SavedViewMenu">
        <menuitem action='save-visual-state-1'/>
        <menuitem action='goto-visual-state-1'/>
        <menuitem action='save-visual-state-2'/>
        <menuitem action='goto-visual-state-2'/>
        <menuitem action='save-visual-state-3'/>
        <menuitem action='goto-visual-state-3'/>
        <menuitem action='save-visual-state-4'/>
        <menuitem action='goto-visual-state-4'/>
        <menuitem action='save-visual-state-5'/>
        <menuitem action='goto-visual-state-5'/>
        <menuitem action='save-visual-state-6'/>
        <menuitem action='goto-visual-state-6'/>
        <menuitem action='save-visual-state-7'/>
        <menuitem action='goto-visual-state-7'/>
        <menuitem action='save-visual-state-8'/>
        <menuitem action='goto-visual-state-8'/>
        <menuitem action='save-visual-state-9'/>
        <menuitem action='goto-visual-state-9'/>
        <menuitem action='save-visual-state-10'/>
        <menuitem action='goto-visual-state-10'/>
        <menuitem action='save-visual-state-11'/>
        <menuitem action='goto-visual-state-11'/>
        <menuitem action='save-visual-state-12'/>
        <menuitem action='goto-visual-state-12'/>
      </menu>

      <separator/>

      <menuitem action='show-editor-mixer'/>
      <menuitem action='show-editor-list'/>
      <menuitem action='ToggleMeasureVisibility'/>
      <menuitem action='ToggleSummary'/>
      <menuitem action='ToggleGroupTabs'/>
      <menuitem action='show-marker-lines'/>

      <separator/>
      <menuitem action='show-ui-prefs'/>

    </menu>
    <menu action = 'WindowMenu'>
      <menuitem action='toggle-audio-midi-setup'/>
      <separator/>
      <menuitem action='toggle-mixer'/>
      <menuitem action='toggle-meterbridge'/>
      <menuitem action='toggle-editor-mixer'/>
      <separator/>
      <menuitem action='toggle-inspector'/>
      <menuitem action='toggle-locations'/>
      <menuitem action='toggle-key-editor'/>
      <menuitem action='toggle-bundle-manager'/>
      <menuitem action='toggle-theme-manager'/>
      <menuitem action='toggle-big-clock'/>
#if 0
      <menuitem action='toggle-speaker-config'/>
#endif

      <separator/>

      <menuitem action='ToggleJadeo'/>
      <separator/>

      <menuitem action='NewMIDITracer'/>
      <menuitem action='toggle-audio-connection-manager'/>
      <menuitem action='toggle-midi-connection-manager'/>
      <menuitem action='toggle-log-window'/>
      <separator/>
    </menu>
    <menu name='Help' action='Help'>
#ifndef GTKOSX
      <menuitem action='toggle-about'/>
#endif
      <menuitem action='Chat'/>
      <menuitem action='Manual'/>
      <menuitem action='Reference'/>
    </menu>
  </menubar>

  <popup action="RulerMenuPopup">
    <menuitem action="toggle-minsec-ruler"/>
    <menuitem action="toggle-timecode-ruler"/>
    <menuitem action="toggle-samples-ruler"/>
    <menuitem action="toggle-bbt-ruler"/>
    <separator/>
    <menuitem action="toggle-meter-ruler"/>
    <menuitem action="toggle-timecode-ruler"/>
    <menuitem action="toggle-tempo-ruler"/>
    <menuitem action="toggle-range-ruler"/>
    <menuitem action="toggle-marker-ruler"/>
    <menuitem action="toggle-cd-marker-ruler"/>
    <menuitem action="toggle-loop-punch-ruler"/>
    <separator/>
    <menuitem action="toggle-video-ruler"/>
  </popup>

  <popup name='ProcessorMenu'>
    <menuitem action='newplugin'/>
    <menuitem action='newinsert'/>
    <menuitem action='newsend'/>
    <menuitem action='newaux'/>
    <separator/>
    <menuitem action='controls'/>
    <menuitem action='send_options'/>
    <separator/>
    <menuitem action='clear'/>
    <menuitem action='clear_pre'/>
    <menuitem action='clear_post'/>
    <separator/>
    <menuitem action='cut'/>
    <menuitem action='copy'/>
    <menuitem action='paste'/>
    <menuitem action='delete'/>
    <separator/>
    <menuitem action='rename'/>
    <separator/>
    <menuitem action='selectall'/>
    <menuitem action='deselectall'/>
    <separator/>
    <menuitem action='activate_all'/>
    <menuitem action='deactivate_all'/>
    <menuitem action='ab_plugins'/>
    <separator/>
    <menuitem action='edit'/>
    <menuitem action='edit-generic'/>
  </popup>

  <popup name='ShuttleUnitPopup'>
    <menuitem action='SetShuttleUnitsPercentage'/>
    <menuitem action='SetShuttleUnitsSemitones'/>
  </popup>

  <popup name='RegionListMenu'>
    <menuitem action='rlAudition'/>
    <menuitem action='rlHide'/>
    <menuitem action='rlShow'/>
    <separator/>
    <menuitem action='rlShowAll'/>
    <menuitem action='rlShowAuto'/>
    <menu name='Sort' action='RegionListSort'>
      <menuitem action='SortAscending'/>
      <menuitem action='SortDescending'/>
      <separator/>
      <menuitem action='SortByRegionName'/>
      <menuitem action='SortByRegionLength'/>
      <menuitem action='SortByRegionPosition'/>
      <menuitem action='SortByRegionTimestamp'/>
      <menuitem action='SortByRegionStartinFile'/>
      <menuitem action='SortByRegionEndinFile'/>
      <menuitem action='SortBySourceFileName'/>
      <menuitem action='SortBySourceFileLength'/>
      <menuitem action='SortBySourceFileCreationDate'/>
      <menuitem action='SortBySourceFilesystem'/>
    </menu>
    <separator/>
    <menuitem action='addExternalAudioToRegionList'/>
    <separator/>
    <menuitem action='removeUnusedRegions'/>    
  </popup>

  <popup name='PopupRegionMenu' action='PopupRegionMenu'>
    <menuitem action='play-selected-regions'/>
    <menuitem action='loop-region'/>
    <menuitem action='rename-region'/>
    <menuitem action='show-region-properties'/>
    <menu action='RegionMenuEdit'>
       <menuitem action='combine-regions'/>
       <menuitem action='uncombine-regions'/>
       <menuitem action='split-region'/>
       <menuitem action='split-multichannel-region'/>
       <menuitem action='pitch-shift-region'/>
       <menuitem action='reverse-region'/>    
       <menuitem action='close-region-gaps'/>
       <menuitem action='place-transient' />
       <menuitem action='show-rhythm-ferret'/>
       <menuitem action='strip-region-silence'/>
    </menu>
    <menu action='RegionMenuMIDI'>
      <menuitem action='transpose-region'/>
      <menuitem action='insert-patch-change-context'/>
      <menuitem action='quantize-region'/>
      <menuitem action='fork-region'/>
      <menuitem action='show-region-list-editor'/>
    </menu>
    <menu action='RegionMenuPosition'>
      <menuitem action='naturalize-region'/>
      <menuitem action='toggle-region-lock'/>
      <menuitem action='toggle-region-lock-style'/>
      <menuitem action='toggle-region-video-lock'/>
      <menuitem action='snap-regions-to-grid'/>
      <menuitem action='set-region-sync-position'/>
      <menuitem action='remove-region-sync'/>
      <menuitem action='nudge-forward'/>
      <menuitem action='nudge-backward'/>
      <menuitem action='nudge-forward-by-capture-offset'/>
      <menuitem action='nudge-backward-by-capture-offset'/>
      <menuitem action='sequence-regions'/>
    </menu>
    <menu action='RegionMenuTrim'>
      <menuitem action='trim-front'/>
      <menuitem action='trim-back'/>
      <menuitem action='trim-region-to-loop'/>
      <menuitem action='trim-region-to-punch'/>
      <menuitem action='trim-to-previous-region'/>
      <menuitem action='trim-to-next-region'/>
    </menu>
    <menu action='RegionMenuLayering'>
      <menuitem action='raise-region-to-top'/>
      <menuitem action='raise-region'/>
      <menuitem action='lower-region'/>
      <menuitem action='lower-region-to-bottom'/>
    </menu>
    <menu action='RegionMenuRanges'>
      <menuitem action='set-loop-from-region'/>
      <menuitem action='set-punch-from-region'/>
      <menuitem action='add-range-marker-from-region'/>
      <menuitem action='add-range-markers-from-region'/>
      <menuitem action='set-selection-from-region'/>
    </menu>
    <menu action='RegionMenuGain'>
      <menuitem action='toggle-opaque-region'/>
      <menuitem action='toggle-region-mute'/>
      <menuitem action='normalize-region'/>
      <menuitem action='boost-region-gain'/>
      <menuitem action='cut-region-gain'/>      		   
      <menuitem action='reset-region-gain-envelopes'/>
      <menuitem action='toggle-region-gain-envelope-active'/>
    </menu>
    <menu action='RegionMenuFades'>
      <menuitem action='toggle-region-fade-in'/>
      <menuitem action='toggle-region-fade-out'/>
      <menuitem action='toggle-region-fades'/>
    </menu>
    <menu action='RegionMenuDuplicate'>
      <menuitem action='duplicate-region'/>
      <menuitem action='multi-duplicate-region'/>
      <menuitem action='region-fill-track'/>
    </menu>
    <menuitem action='export-region'/>
    <menuitem action='bounce-regions-processed'/>
    <menuitem action='bounce-regions-unprocessed'/>
    <menuitem action='analyze-region'/>
    <separator/>
    <menuitem action='remove-region'/>
    
  </popup>

</ui>
