├── Archive - Outdated scripts ├── Arc_View; Toggle Zoom Arrange to fit screen - recover back.lua ├── Archie_Add Repository Archie-ReaScripts.lua ├── Archie_FX; Toggle Bypass necessary Fx in selected tracks(user input).lua ├── Archie_Item; Move selected items to each other(`).lua ├── Archie_Item; Render selected items to one separate track in one item(Pre-Fx Track)(`).lua ├── Archie_Item; Render selected items to one separate track in one item(`).lua ├── Archie_MidiEditor; Popup menu single-level(n).lua ├── Archie_Track; Render project in time selection on a separate created track (Pre master)(`).lua ├── Archie_Track; Render selected tracks on one separate track (Pre master)(`).lua ├── Archie_Track; Render selected tracks on one separate track (delete originals)(Pre master)(`).lua ├── Archie_Track; Render selected tracks on one separate track (mute originals)(Pre master)(`).lua ├── Archie_Track; Zoom tracks in TCP to fit screen (Ctrl + Click save restore)Smart(`).lua ├── Archie_Track; Zoom tracks in TCP to fit screen (If possible)(`).lua ├── Archie_Var; Open MIDI editor and zoom to content by item.lua ├── Archie_Var; Toggle Open close MIDI editor and zoom to content by item.lua ├── Archie_Var; Zoom TCP and Arrange to fit screen(Ctrl+Click save restore)Smart(`).lua ├── Archie_Var; Zoom TCP and Arrange to fit screen(`).lua ├── Archie_Var; Zoom TCP or Arrange Depending on focus to fit screen(Ctrl+Click save restore)Smart(`).lua └── Archie_Var; Zoom TCP or Arrange Depending on focus to fit screen(`).lua ├── Functions └── Arc_Function_lua.lua ├── License.md ├── MAIN ├── Context │ ├── Archie_Cont; Move tracks down or items down depending on focus(skip minimized track).lua │ ├── Archie_Cont; Move tracks up or items up depending on focus(skip minimized track).lua │ ├── Archie_Cont; Set focus on items - arrange.lua │ └── Archie_Cont; Set focus on track panels.lua ├── Edit cursor │ ├── Archie_Edit cursor; Auto edit cursor under mouse.lua │ ├── Archie_Edit cursor; Go To Time(beats).lua │ ├── Archie_Edit cursor; Go To Time(time).lua │ ├── Archie_Edit cursor; Move cursor for n milliseconds(`).lua │ ├── Archie_Edit cursor; Move cursor to center of selected items.lua │ ├── Archie_Edit cursor; Move edit cursor to last start of play cursor.lua │ ├── Archie_Edit cursor; Move edit cursor to nearest 1`1.3 grid line.lua │ ├── Archie_Edit cursor; Move edit cursor to nearest 1`2 grid line.lua │ ├── Archie_Edit cursor; Move edit cursor to nearest 1`4 grid line.lua │ ├── Archie_Edit cursor; Move edit cursor to nearest measure.lua │ ├── Archie_Edit cursor; Move edit cursor to nearest visible grid.lua │ ├── Archie_Edit cursor; Move edit cursor to start of first selected item and next in time(`).lua │ ├── Archie_Edit cursor; Move edit cursor to start of first selected item in time.lua │ ├── Archie_Edit cursor; Move edit cursor to start of nearest selected item and next in time(`).lua │ └── Archie_Edit cursor; Move edit cursor to x value (loop in time selection).lua ├── Envelope Take │ ├── Archie_EnvT; Insert four points in time selection and omit by -1 dB (Envelope take volume).lua │ ├── Archie_EnvT; Insert points on edges of selected items (Active take).lua │ ├── Archie_EnvT; Volume selected items-take in time selection(Mouse wheel).lua │ ├── Archie_EnvT; Volume take under mouse in time selection (Mouse wheel).lua │ ├── Archie_EnvT; Volume take under mouse in time selection +1 db.lua │ └── Archie_EnvT; Volume take under mouse in time selection -1 db.lua ├── Envelope │ ├── Archie_Env; Glue automation items (Clean).lua │ ├── Archie_Env; Insert four points in time selection and omit by -1 dB (Env track).lua │ ├── Archie_Env; Insert four points in time selection and omit by -1 dB (Envelope track volume).lua │ ├── Archie_Env; Restore envelope point selection, slot 01.lua │ ├── Archie_Env; Save envelope point selection, slot 01.lua │ ├── Archie_Env; Select all automation items in selected envelope track,with selected points preserve .lua │ ├── Archie_Env; Select all automation items in selected envelope track.lua │ ├── Archie_Env; Set value from under mouse to selected points active envelope.lua │ ├── Archie_Env; Show all envelopes for all track containing points or auto items.lua │ ├── Archie_Env; Show all envelopes for selected track containing points or auto items.lua │ ├── Archie_Env; Show track envelope last touched FX parameter(add point in start of time selection)(`).lua │ └── Archie_Env; Show-hide track envelope last touched FX parameter(add point in start of time selection)(`).lua ├── FX │ ├── Archie_FX; Add Fx by Name in selected tracks (a description of settings inside script)(`).lua │ ├── Archie_FX; Bypass all FX all track.lua │ ├── Archie_FX; Bypass all FX all tracks - Restore previous.lua │ ├── Archie_FX; Bypass all FX all tracks - Save previous.lua │ ├── Archie_FX; Bypass all FX all tracks except instruments - Restore previous.lua │ ├── Archie_FX; Bypass all FX all tracks except instruments - Save previous.lua │ ├── Archie_FX; Bypass all FX selected track.lua │ ├── Archie_FX; Bypass all FX selected tracks - Restore previous.lua │ ├── Archie_FX; Bypass all FX selected tracks - Save previous.lua │ ├── Archie_FX; Bypass all FX selected tracks except instruments - Restore previous.lua │ ├── Archie_FX; Bypass all Fx selected tracks except instruments - Save previous.lua │ ├── Archie_FX; Bypass instrument all tracks - Restore previous.lua │ ├── Archie_FX; Bypass instrument all tracks - Save previous.lua │ ├── Archie_FX; Bypass instrument selected tracks - Restore previous.lua │ ├── Archie_FX; Bypass instrument selected tracks - Save previous.lua │ ├── Archie_FX; Bypass necessary Fx in selected tracks(user input through space).lua │ ├── Archie_FX; Close all Fx (Take).lua │ ├── Archie_FX; Close all Fx (Track).lua │ ├── Archie_FX; Close all Fx .lua │ ├── Archie_FX; Close all VSTi in Selected tracks.lua │ ├── Archie_FX; Close first instrument in Selected tracks.lua │ ├── Archie_FX; Freeze track in (...), to specified FX (user input).lua │ ├── Archie_FX; Freeze track in (...), up to last selected FX.lua │ ├── Archie_FX; Move last FX in selected items to first position(`).lua │ ├── Archie_FX; Move last FX in selected tracks to first position(`).lua │ ├── Archie_FX; Offline all FX all track.lua │ ├── Archie_FX; Offline all FX all tracks - Restore previous.lua │ ├── Archie_FX; Offline all FX all tracks - Save previous.lua │ ├── Archie_FX; Offline all FX selected track.lua │ ├── Archie_FX; Offline all FX selected tracks - Restore previous.lua │ ├── Archie_FX; Offline all FX selected tracks - Save previous.lua │ ├── Archie_FX; Offline all Fx in project with delay (PDC) over 256 samples(`).lua │ ├── Archie_FX; Online all FX all track.lua │ ├── Archie_FX; Online all FX selected track.lua │ ├── Archie_FX; Open all VSTi in Selected tracks.lua │ ├── Archie_FX; Open first instrument in Selected tracks.lua │ ├── Archie_FX; Rename Fx in selected tracks to preset name.lua │ ├── Archie_FX; Rename all fx in selected tracks in ...(`).lua │ ├── Archie_FX; Rename all fx in selected tracks with specific name in specific name.lua │ ├── Archie_FX; Rename last selected FX in chain in selected tracks to preset name.lua │ ├── Archie_FX; Revers fade in-out.lua │ ├── Archie_FX; Show all active floating FX windows for selected tracks.lua │ ├── Archie_FX; Smart template - Add Fx by name to selected tracks + Master track.lua │ ├── Archie_FX; Smart template - Add Fx chain by name for selected items or in time selection.lua │ ├── Archie_FX; Smart template - Add Fx chain by name for selected tracks.lua │ ├── Archie_FX; Toggle Auto open VSTi in selected tracks and close in the rest(`).lua │ ├── Archie_FX; Toggle Bypass Focused FX.lua │ ├── Archie_FX; Toggle Bypass Fx by name in tracks by name(Template)(`).lua │ ├── Archie_FX; Toggle Bypass all FX all tracks - Save restore previous.lua │ ├── Archie_FX; Toggle Bypass all FX all tracks except instruments - Save restore previous.lua │ ├── Archie_FX; Toggle Bypass instrument all tracks - Save restore previous.lua │ ├── Archie_FX; Toggle FX 9 online,offline for selected tracks(`).lua │ ├── Archie_FX; Toggle Open Close all VSTi in Selected tracks.lua │ ├── Archie_FX; Toggle Show Hide all active floating FX windows for selected tracks.lua │ ├── Archie_FX; UI of all FX in all send of selected tracks.lua │ ├── Archie_FX; UI of all FX in send n of selected tracks.lua │ ├── Archie_FX; UnBypass all FX all track.lua │ ├── Archie_FX; UnBypass all FX selected track.lua │ ├── Archie_FX; Unbypass necessary Fx in selected tracks(user input through space).lua │ └── Archie_Fx; Rename last FX in selected tracks name n.lua ├── Fade │ ├── Archie_Fade; Delete fade in selected items.lua │ ├── Archie_Fade; Enlarge fade by 10 ms.lua │ ├── Archie_Fade; Enlarge fade by 100 ms.lua │ ├── Archie_Fade; Reduce fade by 10 ms.lua │ ├── Archie_Fade; Reduce fade by 100 ms.lua │ ├── Archie_Fade; Save crossfade when move item when trim is on (AutoRun).lua │ └── Archie_Fade; Save crossfade when move item when trim is on.lua ├── File │ └── Archie_File; Clean current project directory(ctrl- user input path).lua ├── Grid │ ├── Archie_Grid; Free movement of item(s) when snap to grid is on(`).lua │ ├── Archie_Grid; Move select items to next grid.lua │ ├── Archie_Grid; Move select items to next visible grid.lua │ ├── Archie_Grid; Move select items to previous grid.lua │ ├── Archie_Grid; Move select items to previous visible grid.lua │ ├── Archie_Grid; Swing grid minus one percent(arrange)(`).lua │ ├── Archie_Grid; Swing grid plus one percent(arrange)(`).lua │ └── Archie_Grid; Swing off and reset(arrange).lua ├── Group │ ├── Archie_Group; Toggle Mute Unmute all tracks in group n (`).lua │ └── Archie_Group; Toggle Solo Unsolo all tracks in group n (`).lua ├── Gui │ ├── Archie_Gui; Color switch.lua │ ├── Archie_Gui; Duplicate selected items to time selection relative given division .lua │ ├── Archie_Gui; Grid switch.lua │ ├── Archie_Gui; Show clock window.lua │ ├── Archie_Gui; Toggle Bypass necessary Fx in selected tracks(user input).lua │ ├── Archie_Gui; Toggle Offline necessary Fx in selected tracks(user input).lua │ └── Archie_Gui; Toggle Remove necessary Fx in selected tracks(user input).lua ├── Info │ ├── Archie_Info; Counter time project(AutoRun).lua │ └── Archie_Info; Learn what script are used in custom actions and cycle action.lua ├── Item │ ├── Archie_Item; Add Remove stretch marker to nearest grid under mouse cursor.lua │ ├── Archie_Item; Add Remove stretch marker under mouse cursor and snap to nearest grid.lua │ ├── Archie_Item; Add Remove stretch marker under mouse cursor and snap to next grid.lua │ ├── Archie_Item; Add Remove stretch marker under mouse cursor and snap to previous grid.lua │ ├── Archie_Item; Add Remove stretch marker under mouse cursor.lua │ ├── Archie_Item; Apply track-take FX to items as new take(lock act take)Bypass all fx track.lua │ ├── Archie_Item; Apply track-take FX to items as new take(lock act take)Offline all fx track.lua │ ├── Archie_Item; Apply track-take FX to items as new take(lock active take).lua │ ├── Archie_Item; By frame move item,under mouse cursor.move cursor the to offset(mousewheel).lua │ ├── Archie_Item; By samples move item,under mouse cursor move cursor the to offset(mousewheel).lua │ ├── Archie_Item; Change playback rate selected items to (ctrl-custom value).lua │ ├── Archie_Item; Change playback rate selected items to (custom value).lua │ ├── Archie_Item; Change volume items in time selection on selected tracks(ctrl+script to set the value).lua │ ├── Archie_Item; Change volume of selected items to (ctrl+script to set value).lua │ ├── Archie_Item; Copy source media file of all items to project directory.lua │ ├── Archie_Item; Copy source media file of selected items to project directory.lua │ ├── Archie_Item; Copy stretch markers.lua │ ├── Archie_Item; Cut silence by grid from selected items to created track under item(-80 db)(`).lua │ ├── Archie_Item; Cut silence by measure from selected items to created track under item(-80 db)(`).lua │ ├── Archie_Item; Cut silence from selected items to created track under item (-80 db)(`).lua │ ├── Archie_Item; De stutter 1.2 items.lua │ ├── Archie_Item; De stutter 1.3 items.lua │ ├── Archie_Item; Delete selected items (time selection)(`).lua │ ├── Archie_Item; Delete selected items in time selection' if any (smart delete)(`).lua │ ├── Archie_Item; Delete selected items in time selection(`).lua │ ├── Archie_Item; Delete selected items outside time selection.lua │ ├── Archie_Item; Duplicate item to mouse position (relative snap).lua │ ├── Archie_Item; Duplicate item to mouse position (snap to grid relative to project settings).lua │ ├── Archie_Item; Duplicate item to mouse position.lua │ ├── Archie_Item; Duplicate selected area of items back.lua │ ├── Archie_Item; Glue selected items each individually.lua │ ├── Archie_Item; Glue selected items to separate track - Midi in midi - Audio in audio.lua │ ├── Archie_Item; Grab item on edge arrange and scroll to edge item one side(AutoRun).lua │ ├── Archie_Item; Grab item on edge arrange and scroll to edge item(AutoRun).lua │ ├── Archie_Item; Grab item on edge arrange and trim by edge window(AutoRun).lua │ ├── Archie_Item; Hide all visible envelopes in selected items.lua │ ├── Archie_Item; Ignore item(s) lock with Ctrl Shift or Alt + left click.lua │ ├── Archie_Item; Insert item under mouse cursor.lua │ ├── Archie_Item; Invert items selection on selected tracks.lua │ ├── Archie_Item; Move all notes in all midi items in semitones(User Input).lua │ ├── Archie_Item; Move all notes in all midi items one semitone down.lua │ ├── Archie_Item; Move all notes in all midi items one semitone up.lua │ ├── Archie_Item; Move all notes in selected midi items one (...).lua │ ├── Archie_Item; Move selected items down by one visible track(skip minimized track).lua │ ├── Archie_Item; Move selected items down by one visible track.lua │ ├── Archie_Item; Move selected items down one track.lua │ ├── Archie_Item; Move selected items to a track with name n(`).lua │ ├── Archie_Item; Move selected items to each other.lua │ ├── Archie_Item; Move selected items up by one visible track(skip minimized track).lua │ ├── Archie_Item; Move selected items up by one visible track.lua │ ├── Archie_Item; Move selected items up one track.lua │ ├── Archie_Item; Nudge right edge of selected items to left one grid unit.lua │ ├── Archie_Item; Nudge right edge of selected items to right one grid unit.lua │ ├── Archie_Item; Paste item color.lua │ ├── Archie_Item; Paste stretch markers (by playback rate).lua │ ├── Archie_Item; Paste stretch markers.lua │ ├── Archie_Item; Pitch down one semitone all midi items(all midi take).lua │ ├── Archie_Item; Pitch up one semitone all midi items(all midi take) .lua │ ├── Archie_Item; Remove all items, envelopes from project (including master track).lua │ ├── Archie_Item; Remove even items from selected items in track(2-4..).lua │ ├── Archie_Item; Remove final selected item in tracks.lua │ ├── Archie_Item; Remove items except first in one position (by tracks).lua │ ├── Archie_Item; Remove items except first in one position in selected tracks.lua │ ├── Archie_Item; Remove items except first in one position.lua │ ├── Archie_Item; Remove last selected item in tracks.lua │ ├── Archie_Item; Remove non even items from selected items in track(1-3..).lua │ ├── Archie_Item; Remove selected items outside regions(time selection)(`).lua │ ├── Archie_Item; Remove selected overlap items (by tracks).lua │ ├── Archie_Item; Remove selected overlap items in selected tracks.lua │ ├── Archie_Item; Remove selected overlap items.lua │ ├── Archie_Item; Remove silence by grid in selected media items (-60 db)(`).lua │ ├── Archie_Item; Remove silence by grid in selected media items (-80 db)(`).lua │ ├── Archie_Item; Remove silence by measure in selected media items (-60 db)(`).lua │ ├── Archie_Item; Remove silence by measure in selected media items (-80 db)(`).lua │ ├── Archie_Item; Remove silence in selected media items (-60 db)(`).lua │ ├── Archie_Item; Remove silence in selected media items (-80 db)(`).lua │ ├── Archie_Item; Select Next item in track excluding midi.lua │ ├── Archie_Item; Select Next item in track only midi.lua │ ├── Archie_Item; Select Next item in track.lua │ ├── Archie_Item; Select Previous item in track only midi.lua │ ├── Archie_Item; Select all items in project with sources of selected items.lua │ ├── Archie_Item; Select first item from cursor position in all selected track,without removing selection from the previous items.lua │ ├── Archie_Item; Select first item from cursor position in all selected track.lua │ ├── Archie_Item; Select first item from cursor position in first selected track,without removing selection from the previous items.lua │ ├── Archie_Item; Select first item from cursor position in first selected track.lua │ ├── Archie_Item; Select first or next item from cursor position(full description inside)(`).lua │ ├── Archie_Item; Select items in selected tracks from cursor to end of project.lua │ ├── Archie_Item; Select items under edit cursor in selected tracks.lua │ ├── Archie_Item; Select only even items from selected items in track(2-4..).lua │ ├── Archie_Item; Select only items in selected tracks from cursor to end of project.lua │ ├── Archie_Item; Select only odd items from selected items in track(1-3..).lua │ ├── Archie_Item; Select previous item in track excluding midi.lua │ ├── Archie_Item; Select previous item in track.lua │ ├── Archie_Item; Set in selected items CC shape to Bezier.lua │ ├── Archie_Item; Set in selected items CC shape to Fast end.lua │ ├── Archie_Item; Set in selected items CC shape to Fast start.lua │ ├── Archie_Item; Set in selected items CC shape to Linear.lua │ ├── Archie_Item; Set in selected items CC shape to Slow start-end.lua │ ├── Archie_Item; Set in selected items CC shape to Square.lua │ ├── Archie_Item; Set note ends to start of next note - in selected items (legato).lua │ ├── Archie_Item; Set source for all of selected items.lua │ ├── Archie_Item; Set volume -6 dB.for selected media items.lua │ ├── Archie_Item; Shift Item Content to 10 milliseconds(Mouse wheel).lua │ ├── Archie_Item; Show all visible envelopes in selected items.lua │ ├── Archie_Item; Smart Template - Add media file(item) by name on track(s).lua │ ├── Archie_Item; Snap stretch markers to grid.lua │ ├── Archie_Item; Solo selected item - Restore back(ctrl).lua │ ├── Archie_Item; Split (selected) item(s) under mouse cursor (select left)(`).lua │ ├── Archie_Item; Split (selected) item(s) under mouse cursor (select right)(`).lua │ ├── Archie_Item; Split (selected) item(s) under mouse cursor(`).lua │ ├── Archie_Item; Split items at grid (Time Selection).lua │ ├── Archie_Item; Split items by time selection,unselect with items outside of time selection if there is selection inside.lua │ ├── Archie_Item; Stretch time and reduce the selected item(s) by 2 times.lua │ ├── Archie_Item; Stutter 1.2 items.lua │ ├── Archie_Item; Stutter 1.3 items.lua │ ├── Archie_Item; Stutter Duplicate items (n) beat.lua │ ├── Archie_Item; Switch item source file on next in directory on throughout project.lua │ ├── Archie_Item; Switch item source file on previous in directory on throughout project.lua │ ├── Archie_Item; Switch item source file to next in folder.lua │ ├── Archie_Item; Switch item source file to previous in folder.lua │ ├── Archie_Item; Toggle (Loop source OFF) - (SWS Loop section of selected item(s)).lua │ ├── Archie_Item; Toggle Loop item source under mouse cursor.lua │ ├── Archie_Item; Toggle Loop item source(background).lua │ ├── Archie_Item; Trim Extend selected of items to time selection(`).lua │ ├── Archie_Item; Ungroup item under mouse cursor.lua │ ├── Archie_Item; Unquantize Selected items.lua │ ├── Archie_Item; Unselect all items except first selected in track.lua │ ├── Archie_Item; Unselect all items except last selected in track.lua │ ├── Archie_Item; Unselect all items in time selection(`).lua │ ├── Archie_Item; Unselect all items to left of time selection(`).lua │ ├── Archie_Item; Unselect all items to right of time selection(`).lua │ ├── Archie_Item; Unselect items if track not selected.lua │ ├── Archie_Item; adjust item length by grid (mousewheel).lua │ ├── Archie_Item; adjust item length in measures(mousewheel).lua │ └── Archie_Item; invert select items on its tracks in time selection.lua ├── Markers │ ├── Archie_Markers; Create region by borders of selected items(`).lua │ ├── Archie_Markers; Create region by time selection or borders of selected items.lua │ ├── Archie_Markers; Delete region in time selection.lua │ ├── Archie_Markers; Go to random marker.lua │ ├── Archie_Markers; Insert markers by time selection.lua │ ├── Archie_Markers; Save - Insert regions template.lua │ ├── Archie_Markers; Split selected items at stretch markers and remove markers, no save processed wave.lua │ ├── Archie_Markers; Split selected items at stretch markers and remove markers, save processed wave(Render).lua │ ├── Archie_Markers; Split selected items at stretch markers.lua │ └── Archie_Markers; Toggle Insert-Delete marker in cursor position.lua ├── Mixer │ ├── Archie_Mixer; Reset height all tracks MCP by master track.lua │ ├── Archie_Mixer; Reset height selected tracks MCP by master track.lua │ ├── Archie_Mixer; Reset height unselected tracks MCP by master track.lua │ ├── Archie_Mixer; Set height of Selected tracks MCP to height master track.lua │ ├── Archie_Mixer; Set height of all tracks MCP to height master track.lua │ ├── Archie_Mixer; Set height of all unselected tracks MCP to height master track.lua │ ├── Archie_Mixer; Set height of not rec-armed tracks MCP to height master track.lua │ ├── Archie_Mixer; Set height of rec-armed tracks MCP to height master track.lua │ ├── Archie_Mixer; Toggle Auto zoom height selected tracks in MCP(`).lua │ ├── Archie_Mixer; Toggle Auto zoom height tracks rec-armed in MCP(`).lua │ ├── Archie_Mixer; Toggle Mute Unmute all visible track in MCP.lua │ └── Archie_Mixer; Toggle Unmute mute all visible track in MCP.lua ├── Monitoring │ └── Archie_MonitorFx; Smart template monitoring Toggle Open Fx in float.lua ├── Options │ ├── Archie_Options; Clear AutoRun Archie.lua │ ├── Archie_Options; Open folder FX Chains.lua │ ├── Archie_Options; Reset ReaScript task control for all scripts.lua │ └── Archie_Options; Smart Multi script(Button n).lua ├── Playback │ └── Archie_Playback; Toggle stop playback at end of time selection.lua ├── Preferences │ ├── Archie_Pref; Allow keyboard commands even when mouse-editing.lua │ ├── Archie_Pref; Antialiased peak and waveform drawing.lua │ ├── Archie_Pref; Draw edges on peaks.lua │ ├── Archie_Pref; Draw edges on waveforms.lua │ ├── Archie_Pref; Fill waveforms to zero line.lua │ ├── Archie_Pref; General-Undo settings-Include selection-Item.lua │ ├── Archie_Pref; Ignore mousewheel on all faders.lua │ ├── Archie_Pref; Mouse clickedit in track view changes track selection.lua │ ├── Archie_Pref; Sample-level waveform (Dots and lines).lua │ ├── Archie_Pref; Sample-level waveform (Dots and sinc).lua │ ├── Archie_Pref; Sample-level waveform (Filled samples).lua │ ├── Archie_Pref; Sample-level waveform (Outlined samples).lua │ ├── Archie_Pref; Sample-level waveform (Sinc smoothed).lua │ ├── Archie_Pref; Sample-level waveform (Smooth).lua │ ├── Archie_Pref; Sample-level waveform (Stepped samples).lua │ ├── Archie_Pref; Solo in front' dimming +1 dB from set value.lua │ ├── Archie_Pref; Solo in front' dimming -1 dB from set value.lua │ ├── Archie_Pref; Toggle Allow snap grid,track envelope,routing windows to stay open.lua │ └── Archie_Pref; Toggle Don't autosctoll view (when enable) when viewing other parts of project.lua ├── Project │ ├── Archie_Proj; Set project sample rate (User input).lua │ ├── Archie_Proj; Set project sample rate 176400.lua │ ├── Archie_Proj; Set project sample rate 192000.lua │ ├── Archie_Proj; Set project sample rate 44100.lua │ ├── Archie_Proj; Set project sample rate 48000.lua │ ├── Archie_Proj; Set project sample rate 88200.lua │ └── Archie_Proj; Set project sample rate 96000.lua ├── README.md ├── Render │ ├── Archie_Render; Render multi-track to a stereo track in certain channels.lua │ ├── Archie_Render; Render stems Template(`).lua │ ├── Archie_Render; Render track to a Mono track in certain channels.lua │ └── COPY_Render stems Template │ │ ├── Archie_Render; Render track (Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track (Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track (Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track (Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track mono(Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track mono(Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track stereo(Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track into one new track stereo(Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track mono(Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )) .lua │ │ ├── Archie_Render; Render track mono(Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua │ │ ├── Archie_Render; Render track stereo(Post Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )) .lua │ │ └── Archie_Render; Render track stereo(Pre Fx & wave 24 bit & HQ(512pt Sinc) & Full-speed Offline )).lua ├── Routing │ ├── Archie_Rout; Copy IO routing of focused plug-in.lua │ ├── Archie_Rout; Copy Input routing of focused plug-in.lua │ ├── Archie_Rout; Copy Output routing of focused plug-in.lua │ ├── Archie_Rout; Paste IO routing in focused plug-in.lua │ ├── Archie_Rout; Paste Input routing in focused plug-in.lua │ └── Archie_Rout; Paste Output routing in focused plug-in.lua ├── Take │ ├── Archie_Take; Copy Active take.lua │ ├── Archie_Take; Copy Name item active take.lua │ ├── Archie_Take; Copy active take to new items at time selection.lua │ ├── Archie_Take; Copy color item active take.lua │ ├── Archie_Take; Copy source Active take.lua │ ├── Archie_Take; Crop to active take - ignore lock items.lua │ ├── Archie_Take; Crop to active take all items in selected tracks.lua │ ├── Archie_Take; Delete name in selected items in active take.lua │ ├── Archie_Take; Paste Name to selected items active take(`).lua │ ├── Archie_Take; Paste color to selected item active take(`).lua │ ├── Archie_Take; Paste color to selected item all take(`).lua │ ├── Archie_Take; Paste source in active take.lua │ ├── Archie_Take; Paste take in active take(x).lua │ ├── Archie_Take; Render active takes, into new items in place.lua │ ├── Archie_Take; Render active takes, into new items to new tracks (Track Fx).lua │ ├── Archie_Take; Render active takes, into new items to new tracks.lua │ └── Archie_Take; Reset color default in all take in selected items .lua ├── Time selection │ ├── Archie_Time selection; Insert empty space at time selection in selected tracks(moving later items).lua │ ├── Archie_Time selection; Nudge left edge left to nearest grid.lua │ ├── Archie_Time selection; Nudge left edge right to nearest grid.lua │ ├── Archie_Time selection; Nudge right edge left to nearest grid.lua │ ├── Archie_Time selection; Nudge right edge right to nearest grid.lua │ ├── Archie_Time selection; Remove all contents of time selection.lua │ ├── Archie_Time selection; Remove contents of time selection in selected tracks (moving later items).lua │ ├── Archie_Time selection; Remove contents of time selection in selected tracks.lua │ ├── Archie_Time selection; Set loop by time selection.lua │ └── Archie_Time selection; Set time selection by loop.lua ├── Track │ ├── Archie_Track; Move tracks to subproject (Create subdirectory for subproject).lua │ ├── Archie_Track; Activate-Deactivate rec-armed rec-monitoring all input-Fx in selected tracks(`).lua │ ├── Archie_Track; Add in end of name of selected track _ARCHIVE(`).lua │ ├── Archie_Track; Add tracks with locked height to collapsed folders-Restore when uncollapsed(background).lua │ ├── Archie_Track; Arm Selected track.lua │ ├── Archie_Track; Arm only Selected tracks.lua │ ├── Archie_Track; Auto add icon to track depending on MIDI send.lua │ ├── Archie_Track; Auto open-close FX chain windows.lua │ ├── Archie_Track; Auto solo Sel track.lua │ ├── Archie_Track; Auto solo Sel tracks and all receive.lua │ ├── Archie_Track; Auto solo Sel tracks and all send.lua │ ├── Archie_Track; Copy selected track name.lua │ ├── Archie_Track; Copy solo mute state selected track.lua │ ├── Archie_Track; Copy track color.lua │ ├── Archie_Track; Copy track icon(Ctrl+Script Paste).lua │ ├── Archie_Track; Copy track icon.lua │ ├── Archie_Track; Cut solo mute state selected track.lua │ ├── Archie_Track; Cut track icon.lua │ ├── Archie_Track; Delete all receive in selected tracks.lua │ ├── Archie_Track; Delete all send and receive in selected tracks.lua │ ├── Archie_Track; Delete all send in selected tracks.lua │ ├── Archie_Track; Delete folder (request for removal of child tracks).lua │ ├── Archie_Track; Delete folder(s) not removing child tracks.lua │ ├── Archie_Track; Delete only selected track(s) without deleting children.lua │ ├── Archie_Track; Delete only selected tracks (show a request to delete child tracks).lua │ ├── Archie_Track; Delete tracks with no items(`).lua │ ├── Archie_Track; Go to next track - track solo in solo exclusive(skip minimized folders).lua │ ├── Archie_Track; Go to next track - track solo in solo exclusive.lua │ ├── Archie_Track; Go to previous track - track solo in solo exclusive(skip minimized folders).lua │ ├── Archie_Track; Go to previous track - track solo in solo exclusive.lua │ ├── Archie_Track; Hide Show track in slot (Popup menu).lua │ ├── Archie_Track; Hide all tracks in MCP.lua │ ├── Archie_Track; Hide all tracks in TCP and MCP.lua │ ├── Archie_Track; Hide all tracks in TCP.lua │ ├── Archie_Track; Hide child tracks of selected folders in MCP.lua │ ├── Archie_Track; Hide child tracks of selected folders in TCP.lua │ ├── Archie_Track; Hide selected tracks in MCP.lua │ ├── Archie_Track; Hide selected tracks in TCP and MCP.lua │ ├── Archie_Track; Hide selected tracks in TCP.lua │ ├── Archie_Track; Hide unselected tracks in MCP.lua │ ├── Archie_Track; Hide unselected tracks in TCP and MCP.lua │ ├── Archie_Track; Hide unselected tracks in TCP.lua │ ├── Archie_Track; Insert new track with height last track touched.lua │ ├── Archie_Track; Insert new track with send on selected tracks.lua │ ├── Archie_Track; Insert prefix name of selected track.lua │ ├── Archie_Track; Insert track double middle click in empty TCP and random color,rename.lua │ ├── Archie_Track; Insert track holding the mouse into empty TCP and rename, random color.lua.lua │ ├── Archie_Track; Insert track receive from all tracks.lua │ ├── Archie_Track; Insert track with folder (ctrl-up).lua │ ├── Archie_Track; Lock selected tracks and them items.lua │ ├── Archie_Track; Make folder from selected tracks(`).lua │ ├── Archie_Track; Minimize all tracks - restore back.lua │ ├── Archie_Track; Minimize selected tracks - restore back.lua │ ├── Archie_Track; Monitoring track exclusive.lua │ ├── Archie_Track; Move all selected tracks to first selected folder(`).lua │ ├── Archie_Track; Move all selected tracks to last selected folder(`).lua │ ├── Archie_Track; Move all selected tracks to last touched folder.lua │ ├── Archie_Track; Move all selected tracks under first selected track or folder .lua │ ├── Archie_Track; Move children from folder and place them above folder(Remove grouping tracks) .lua │ ├── Archie_Track; Move children from folder and place them above folder.lua │ ├── Archie_Track; Move selected track down to nearest folder.lua │ ├── Archie_Track; Move selected track up to nearest folder.lua │ ├── Archie_Track; Move selected tracks down by one visible(`).lua │ ├── Archie_Track; Move selected tracks in folder with name (user input).lua │ ├── Archie_Track; Move selected tracks up by one visible(`).lua │ ├── Archie_Track; Mute all children tracks in selected folders.lua │ ├── Archie_Track; Mute all selected tracks except selected folders.lua │ ├── Archie_Track; Mute all visible track in MCP(`).lua │ ├── Archie_Track; Mute all visible track in TCP and MCP(`).lua │ ├── Archie_Track; Mute all visible track in TCP(`).lua │ ├── Archie_Track; Paste icon selected tracks.lua │ ├── Archie_Track; Paste selected track name .lua │ ├── Archie_Track; Paste solo mute state selected track.lua │ ├── Archie_Track; Paste track color.lua │ ├── Archie_Track; Remove from end of name of selected track _ARCHIVE(`).lua │ ├── Archie_Track; Remove icon selected tracks.lua │ ├── Archie_Track; Remove prefix name of selected track.lua │ ├── Archie_Track; Removes 8 characters from the end of the selected track name(`).lua │ ├── Archie_Track; Restore all track mute solo state slot 1.lua │ ├── Archie_Track; Restore all tracks visible slot 1.lua │ ├── Archie_Track; Save all track mute solo state slot 1.lua │ ├── Archie_Track; Save all tracks visible slot 1.lua │ ├── Archie_Track; Select a track by name(abbreviated input)(`).lua │ ├── Archie_Track; Select all sent and parent tracks from selected tracks(whole chain).lua │ ├── Archie_Track; Select all sent and parent tracks from the selected tracks.lua │ ├── Archie_Track; Select next-previous track(skip minimized folders).lua │ ├── Archie_Track; Select track with prefix name.lua │ ├── Archie_Track; Select tracks that have at end of name _ARCHIVE(`).lua │ ├── Archie_Track; Set Volume all tracks to -6.0 dB.lua │ ├── Archie_Track; Set Volume selected tracks to -6.0 dB.lua │ ├── Archie_Track; Set pan on selected tracks by inverting every second track .lua │ ├── Archie_Track; Set selected folder(s) collapsed MCP.lua │ ├── Archie_Track; Set selected folder(s) uncollapsed MCP.lua │ ├── Archie_Track; Set selected tracks all MIDI input to n channels.lua │ ├── Archie_Track; Set selected tracks virtual MIDI keyboard to n channels.lua │ ├── Archie_Track; Show all tracks in MCP.lua │ ├── Archie_Track; Show all tracks in TCP and MCP.lua │ ├── Archie_Track; Show all tracks in TCP.lua │ ├── Archie_Track; Show child tracks of selected folders in MCP.lua │ ├── Archie_Track; Show child tracks of selected folders in TCP.lua │ ├── Archie_Track; Show only send of selected track(s).lua │ ├── Archie_Track; Show only send selected track(s) matching name.lua │ ├── Archie_Track; Show selected tracks in MCP.lua │ ├── Archie_Track; Show selected tracks in TCP and MCP.lua │ ├── Archie_Track; Show selected tracks in TCP.lua │ ├── Archie_Track; Show unselected tracks in MCP.lua │ ├── Archie_Track; Show unselected tracks in TCP and MCP.lua │ ├── Archie_Track; Show unselected tracks in TCP.lua │ ├── Archie_Track; Show-Hide tracks receives (created by script - Insert track receive from all tracks).lua │ ├── Archie_Track; Smart template - Load Track template by name.lua │ ├── Archie_Track; Solo track under mouse cursor - unsolo previous solo track.lua │ ├── Archie_Track; Toggle Arm Selected track.lua │ ├── Archie_Track; Toggle Auto height selected tracks.lua │ ├── Archie_Track; Toggle Hide super collapsed - restore back.lua │ ├── Archie_Track; Toggle Hide super collapsed(AutoRun).lua │ ├── Archie_Track; Toggle Lock height selected track.lua │ ├── Archie_Track; Toggle Lock selected tracks and them items - Unlock tracks restore them items.lua │ ├── Archie_Track; Toggle Monitoring track exclusive.lua │ ├── Archie_Track; Toggle Mute Unmute all visible track in TCP.lua │ ├── Archie_Track; Toggle Mute unmute all visible track in TCP and MCP.lua │ ├── Archie_Track; Toggle Off medium mode collapse folder(AutoRun).lua │ ├── Archie_Track; Toggle Rec Arm exclusive(`).lua │ ├── Archie_Track; Toggle Track height A-B Collapse Uncollapse Folder under mouse cursor(`).lua │ ├── Archie_Track; Toggle Unmute mute all visible track in TCP and MCP.lua │ ├── Archie_Track; Toggle Unmute mute all visible track in TCP.lua │ ├── Archie_Track; Toggle height selected tracks in 24 pixel - revert to average values(`).lua │ ├── Archie_Track; UnArm Selected track.lua │ ├── Archie_Track; UnMute all children tracks in selected folders.lua │ ├── Archie_Track; UnMute all selected tracks except selected folders.lua │ ├── Archie_Track; UnMute all track(AutoRun)(`).lua │ ├── Archie_Track; UnSolo all track(AutoRun)(`).lua │ ├── Archie_Track; Unarm all tracks for recording(AutoRun)(`).lua │ ├── Archie_Track; Unlock selected tracks and restore them items.lua │ ├── Archie_Track; Unmute all visible track in MCP(`).lua │ ├── Archie_Track; Unmute all visible track in TCP and MCP(`).lua │ ├── Archie_Track; Unmute all visible track in TCP(`).lua │ ├── Archie_Track; Unsolo all visible track in MCP(`).lua │ ├── Archie_Track; Unsolo all visible track in TCP and MCP(`).lua │ ├── Archie_Track; Unsolo all visible track in TCP(`).lua │ ├── Archie_Track; Visible only selected tracks and their children - restore back.lua │ ├── Archie_Track; Volume down on all tracks (-inf).lua │ ├── Archie_Track; Volume down on all tracks by 1 db.lua │ ├── Archie_Track; Volume down on selected tracks (-inf).lua │ ├── Archie_Track; Volume down on selected tracks by 1 db.lua │ ├── Archie_Track; Volume reset on all tracks (0 db).lua │ ├── Archie_Track; Volume reset on selected tracks (0 db).lua │ ├── Archie_Track; Volume up on all tracks by 1 dB.lua │ ├── Archie_Track; Volume up on selected tracks by 1 dB.lua │ └── Archie_Track; selected tracks (popup menu).lua ├── Transport │ └── Archie_Transp; Toggle Playrate 1.0 - Custom value (ctrl).lua ├── Various │ ├── Archie_Var; Apply track-take FX to active take.lua │ ├── Archie_Var; Copy selected files from media explorer to project subdirectory.lua │ ├── Archie_Var; Fade in-out auto both edges(Ctrl+fade,Shift+fade,+Alt+fade).lua │ ├── Archie_Var; Hide Show add menu (popup menu).lua │ ├── Archie_Var; Move cursor to next end-start of item, select item.lua │ ├── Archie_Var; Move cursor to next end-start of selected item.lua │ ├── Archie_Var; Move cursor to previous end-start of item, select item.lua │ ├── Archie_Var; Move cursor to previous end-start of selected item.lua │ ├── Archie_Var; Open MIDI editor and zoom to content by.lua │ ├── Archie_Var; Popup menu single-level(n).lua │ ├── Archie_Var; Popup menu(n).lua │ ├── Archie_Var; Pre-reverb(`).lua │ ├── Archie_Var; Remove items outside time selection in selected track.lua │ ├── Archie_Var; Remove items tracks env points (depending on focus) select next.lua │ ├── Archie_Var; Save time selection when record - Copy selected items after recording In place.lua │ ├── Archie_Var; Show hide Media explorer FX browser Track manager Region-marker manager.lua │ ├── Archie_Var; Snap length of selected items to nearest grid.lua │ ├── Archie_Var; Snap position and length of selected items to nearest grid.lua │ ├── Archie_Var; Snap position of selected items to nearest grid.lua │ ├── Archie_Var; Toggle Auto view scroll(Ctrl+Click - Go to play position)(`).lua │ ├── Archie_Var; Toggle Select Unselect all items tracks envelope points (depending on focus).lua │ ├── Archie_Var; Toggle Select all items tracks envelope points (depending on focus)(Save previous).lua │ ├── Archie_var; Volume change on tracks or items by 1 dB (mouse wheel).lua │ ├── Archie_var; Volume down on tracks or items by 1 dB.lua │ └── Archie_var; Volume up on tracks or items by 1 dB.lua └── View │ ├── Archie_View; Auto enable spectral peaks on selected tracks.lua │ ├── Archie_View; Close toolbar n.lua │ ├── Archie_View; Disabled prevention of spectral peaks spectrogram on all tracks.lua │ ├── Archie_View; Enable prevention of spectral peaks spectrogram on all tracks.lua │ ├── Archie_View; Enable spectral peaks on selected tracks.lua │ ├── Archie_View; Show full mixer - Restore view back.lua │ ├── Archie_View; Show hide mixer and master in docker.lua │ ├── Archie_View; Toggle Open toolbar n at mouse cursor - close.lua │ ├── Archie_View; Toggle arrange in center relative to edit cursor when change BPM.lua │ ├── Archie_View; Toggle prevention of spectral peaks spectrogram on all tracks.lua │ ├── Archie_View; Zoom Arrange to fit screen.lua │ ├── Archie_View; Zoom TCP and Arrange to fit screen.lua │ ├── Archie_View; Zoom TCP or Arrange Depending on focus to fit screen.lua │ ├── Archie_View; Zoom TCP to fit screen.lua │ ├── Archie_View; Zoom height full project - recover back.lua │ ├── Archie_View; Zoom horizontally - snap to playback cursor (mousewheel).lua │ ├── Archie_View; Zoom in horizontally - snap to playback cursor.lua │ ├── Archie_View; Zoom out horizontally - snap to playback cursor.lua │ └── Archie_View; Zoom width full project - recovery back.lua ├── MIDI Editor ├── Archie_MidiEditor; Activate next MIDI item - Select only this item - Set cursor to start items.lua ├── Archie_MidiEditor; Activate previous MIDI item - Select only this item - Set cursor to start items.lua ├── Archie_MidiEditor; Close Midi Editor(return the window in Docker).lua ├── Archie_MidiEditor; Close Midi Editor.lua ├── Archie_MidiEditor; Close all midi editors except active one.lua ├── Archie_MidiEditor; Delete note(s) nearest to edit cursor(`).lua ├── Archie_MidiEditor; Duplicate selected events to mouse cursor(snap relative).lua ├── Archie_MidiEditor; Duplicate selected events to mouse position(snap relative).lua ├── Archie_MidiEditor; Move chords to grid while keeping lively(unevenness interval is 1-16).lua ├── Archie_MidiEditor; Move selected events to mouse cursor(snap relative).lua ├── Archie_MidiEditor; Move selected events to mouse position(snap relative).lua ├── Archie_MidiEditor; Mute note under mouse cursor.lua ├── Archie_MidiEditor; Open a floating instrument, appropriate MIDI editor.lua ├── Archie_MidiEditor; Open-close Notes window.lua ├── Archie_MidiEditor; Scroll vertically (MIDI relativemousewheel)(3x).lua ├── Archie_MidiEditor; Select only chords (unevenness interval is 1-16).lua ├── Archie_MidiEditor; Set length all notes to (Show popup menu).lua ├── Archie_MidiEditor; Set length selected notes to (Show popup menu).lua ├── Archie_MidiEditor; Set note ends to start of next note (legato) - All notes.lua ├── Archie_MidiEditor; Set selected notes velocity to(n).lua ├── Archie_MidiEditor; Set velocity selected notes(User Input).lua ├── Archie_MidiEditor; Show Instrument.lua ├── Archie_MidiEditor; Smart Multi script(Button n).lua ├── Archie_MidiEditor; Swing grid disable and reset(MIDI editor)(`).lua ├── Archie_MidiEditor; Swing grid minus one percent(MIDI editor)(`).lua ├── Archie_MidiEditor; Swing grid plus one percent(MIDI editor)(`).lua ├── Archie_MidiEditor; Toggle Auto Mute-Unmute note under mouse cursor.lua ├── Archie_MidiEditor; Toggle Loop source item.lua ├── Archie_MidiEditor; Toggle metronome.lua ├── Archie_MidiEditor; Unmute note under mouse cursor.lua ├── Archie_MidiEditor; Unselect (left - right) wing events.lua ├── Archie_MidiEditor; Velocity for note(mousewheel).lua ├── Archie_MidiEditor; Velocity note under mouse cursor (mouse wheel).lua ├── Archie_MidiEditor; select track of active midi editor.lua └── README.md ├── MIDI Inline Editor ├── README.md └── Test_.lua ├── README.md └── index.xml /MAIN/Context/Archie_Cont; Move tracks down or items down depending on focus(skip minimized track).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Context 7 | * Description: Move tracks down or items down depending on focus(skip minimized track) 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Переместить дорожки вниз или элементы вниз в зависимости от фокуса (пропустить свернутую дорожку) 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: v.1.0 [04.02.20] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | local Grp = reaper.GetResourcePath()..'/Scripts/Archie-ReaScripts/MAIN'; 28 | local TrackScr = Grp..'/Track/Archie_Track; Move selected tracks down by one visible (skip minimized folders)(`).lua'; 29 | local Item_Scr = Grp..'/Item/Archie_Item; Move selected items down by one visible track(skip minimized track).lua'; 30 | 31 | 32 | local CursorContext = reaper.GetCursorContext2(true); 33 | 34 | if CursorContext == 0 then; -- tr 35 | dofile(TrackScr); 36 | reaper.SetCursorContext(0,nil); 37 | -- loadfile(TrackScr)(); 38 | elseif CursorContext == 1 then; -- it 39 | dofile(Item_Scr); 40 | reaper.SetCursorContext(1,nil); 41 | else; 42 | reaper.defer(function()end); 43 | end; 44 | -------------------------------------------------------------------------------- /MAIN/Context/Archie_Cont; Move tracks up or items up depending on focus(skip minimized track).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Context 7 | * Description: Move tracks up or items up depending on focus(skip minimized track) 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Переместить дорожки вверх или элементы вверх в зависимости от фокуса (пропустить свернутую дорожку) 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: https://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: v.1.0 [04.02.20] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | local Grp = reaper.GetResourcePath()..'/Scripts/Archie-ReaScripts/MAIN'; 28 | local TrackScr = Grp..'/Track/Archie_Track; Move selected tracks up by one visible (skip minimized folders)(`).lua'; 29 | local Item_Scr = Grp..'/Item/Archie_Item; Move selected items up by one visible track(skip minimized track).lua'; 30 | 31 | 32 | local CursorContext = reaper.GetCursorContext2(true); 33 | 34 | if CursorContext == 0 then; -- tr 35 | dofile(TrackScr); 36 | reaper.SetCursorContext(0,nil); 37 | -- loadfile(TrackScr)(); 38 | elseif CursorContext == 1 then; -- it 39 | dofile(Item_Scr); 40 | reaper.SetCursorContext(1,nil); 41 | else; 42 | reaper.defer(function()end); 43 | end; -------------------------------------------------------------------------------- /MAIN/Context/Archie_Cont; Set focus on items - arrange.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Context 7 | * Description: Set focus on items - arrange 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Установите фокус на элементах - Аранжировке 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: https://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * Changelog: v.1.0 [05.02.20] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | 27 | local ToolTip = true -- всплывающая подсказка (= true on) / (= false off) 28 | 29 | 30 | 31 | --====================================================================================== 32 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 33 | --====================================================================================== 34 | 35 | 36 | 37 | local Tip; 38 | local CursorContext = reaper.GetCursorContext2(true); 39 | if CursorContext ~= 1 then; -- it 40 | reaper.SetCursorContext(1,nil); 41 | Tip = 'Set focus on items - arrange'; 42 | else; 43 | Tip = 'Focus on items - arrange'; 44 | end; 45 | 46 | 47 | if ToolTip == true then; 48 | local x, y = reaper.GetMousePosition(); 49 | reaper.TrackCtl_SetToolTip(Tip,x+20,y-20,0); 50 | end; 51 | 52 | 53 | reaper.defer(function()end); 54 | 55 | -------------------------------------------------------------------------------- /MAIN/Context/Archie_Cont; Set focus on track panels.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Context 7 | * Description: Set focus on track panels 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Установите фокус на трек панель 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: https://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * Changelog: v.1.0 [05.02.20] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | local ToolTip = true -- всплывающая подсказка (= true on) / (= false off) 27 | 28 | 29 | 30 | --====================================================================================== 31 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 32 | --====================================================================================== 33 | 34 | 35 | 36 | local Tip; 37 | local CursorContext = reaper.GetCursorContext2(true); 38 | if CursorContext ~= 0 then; -- tr 39 | reaper.SetCursorContext(0,nil); 40 | Tip = 'Set focus on track panels'; 41 | else; 42 | Tip = 'Focus on track'; 43 | end; 44 | 45 | 46 | if ToolTip == true then; 47 | local x, y = reaper.GetMousePosition(); 48 | reaper.TrackCtl_SetToolTip(Tip,x+20,y-20,0); 49 | end; 50 | 51 | 52 | reaper.defer(function()end); 53 | 54 | 55 | -------------------------------------------------------------------------------- /MAIN/Edit cursor/Archie_Edit cursor; Move edit cursor to nearest measure.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Edit cursor 3 | * Description: Move edit cursor to nearest measure 4 | * Author: Archie 5 | * Version: 1.02 6 | * Описание: Переместить курсор редактирования к ближайшей мере 7 | * Website: http://forum.cockos.com/showthread.php?t=212819 8 | * http://rmmedia.ru/threads/134701/ 9 | * DONATION: http://money.yandex.ru/to/410018003906628 10 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 11 | --]] 12 | 13 | 14 | --====================================================================================== 15 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 16 | --====================================================================================== 17 | 18 | 19 | 20 | 21 | local SNAP = false 22 | -- = true | реагировать на привязку к сетке 23 | -- = false | не реагировать на привязку к сетке 24 | 25 | 26 | 27 | --====================================================================================== 28 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 29 | --====================================================================================== 30 | 31 | 32 | ------------------------------------------------------- 33 | local function no_undo()reaper.defer(function()end)end; 34 | ------------------------------------------------------- 35 | 36 | 37 | if SNAP == true then; 38 | local ToggleSnap = reaper.GetToggleCommandStateEx(0,1157); 39 | local ToggleEnab = reaper.GetToggleCommandStateEx(0,40145); 40 | if ToggleSnap == 0 or ToggleEnab == 0 then; 41 | return no_undo(); 42 | end; 43 | end; 44 | 45 | local CursorPosition = reaper.GetCursorPosition(); 46 | 47 | local buf = tonumber(reaper.format_timestr_pos(CursorPosition,'',2):match('^%d+')); 48 | 49 | local meaL = reaper.parse_timestr_pos(buf,2); 50 | local meaR = reaper.parse_timestr_pos(buf+1,2); 51 | 52 | 53 | local L = math.abs(CursorPosition-meaL); 54 | local R = math.abs(meaR-CursorPosition); 55 | 56 | 57 | if L <= R then;--<<< 58 | reaper.SetEditCurPos(meaL,true,false); 59 | else; 60 | reaper.SetEditCurPos(meaR,true,false); 61 | end; 62 | 63 | no_undo(); -------------------------------------------------------------------------------- /MAIN/Envelope/Archie_Env; Select all automation items in selected envelope track,with selected points preserve .lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Envelope 3 | * Description: Select all automation items in selected envelope track, 4 | with selected points preserve 5 | * Oписание: выберите все элементы автоматизации в выбранной дорожке 6 | конверта, с сохранением выбранных точек 7 | * GIF: --- 8 | * Website: http://forum.cockos.com/showthread.php?t=212819 9 | * Donation: http://money.yandex.ru/to/410018003906628 10 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 11 | * Author: Archie 12 | * Version: 1.02 13 | * customer: --- 14 | * gave idea: --- 15 | --=============================================]] 16 | 17 | 18 | 19 | --=========================================================================== 20 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 21 | --=========================================================================== 22 | 23 | 24 | 25 | ----------------------------------------------------------------------------- 26 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 27 | ----------------------------------------------------------------------------- 28 | 29 | 30 | 31 | local Envelope = reaper.GetSelectedEnvelope( 0 ) 32 | if not Envelope then no_undo()return end 33 | 34 | 35 | local CountAutoItem = reaper.CountAutomationItems(Envelope) 36 | if CountAutoItem == 0 then no_undo()return end 37 | 38 | 39 | reaper.Undo_BeginBlock() 40 | 41 | local selT={} 42 | for i = 1,CountAutoItem do 43 | local CountPoint = reaper.CountEnvelopePointsEx(Envelope,i-1) 44 | for iPoint = 1,CountPoint do 45 | local _,_,_,_,_,sel = reaper.GetEnvelopePointEx(Envelope,i-1,iPoint-1) 46 | selT[iPoint] = sel 47 | end 48 | reaper.GetSetAutomationItemInfo( Envelope, i-1, 'D_UISEL', 1, 1 ) 49 | for iPointT = 1,#selT do 50 | reaper.SetEnvelopePointEx(Envelope,i-1,iPointT-1,nil,nil,nil,nil,selT[iPointT],nil) 51 | end 52 | end 53 | 54 | local name_script = [[Select all automation items in selected envelope track,]] 55 | ..[[with selected points preserve]] 56 | reaper.Undo_EndBlock(name_script,1) 57 | reaper.UpdateArrange() 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /MAIN/Envelope/Archie_Env; Select all automation items in selected envelope track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Envelope 3 | * Description: Select all automation items in selected envelope track 4 | * Oписание: выберите все элементы автоматизации в выбранной дорожке конверта 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: --- 13 | --=============================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | 29 | local Envelope = reaper.GetSelectedEnvelope( 0 ) 30 | if not Envelope then no_undo()return end 31 | 32 | 33 | local CountAutoItem = reaper.CountAutomationItems(Envelope) 34 | if CountAutoItem == 0 then no_undo()return end 35 | 36 | 37 | reaper.Undo_BeginBlock() 38 | 39 | for i = 1,CountAutoItem do 40 | reaper.GetSetAutomationItemInfo( Envelope, i-1, 'D_UISEL', 1, 1 ) 41 | end 42 | 43 | local CountEnvPoint = reaper.CountEnvelopePoints( Envelope ) 44 | for i = 1,CountEnvPoint do 45 | reaper.SetEnvelopePoint( Envelope, i-1, nil, nil, nil, nil, 0, false ) 46 | end 47 | 48 | local name_script = [[Select all automation items in selected envelope track,]] 49 | reaper.Undo_EndBlock(name_script,1) 50 | reaper.UpdateArrange() 51 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Bypass instrument all tracks - Restore previous.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: FX 7 | * Description: FX; Bypass instrument all tracks - Restore previous.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: Archie(---) 15 | * Gave idea: Archie(---) 16 | * Extension: Reaper 6.0+ http://www.reaper.fm/ 17 | * Changelog: 18 | * v.1.0 [260420] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | 27 | local ProjExtState = ('BYPASS INSTRUMENT ALL TRACKS-SAVE OR RESTORE PREVIOUS'); 28 | 29 | 30 | local ret,str = reaper.GetProjExtState(0,ProjExtState,'FXGUID_STATE'); 31 | if ret == 1 and str ~= '' then; 32 | 33 | reaper.Undo_BeginBlock(); 34 | reaper.PreventUIRefresh(1); 35 | 36 | local T = {}; 37 | 38 | for var in str:gmatch('{.-}%d*') do; 39 | local GuidFx,bypass = var:match('({.*})(%d*)'); 40 | T[GuidFx] = tonumber(bypass); 41 | end; 42 | 43 | local Track; 44 | for itr = 0, reaper.CountTracks(0) do; 45 | 46 | if itr == 0 then; 47 | Track = reaper.GetMasterTrack(0); 48 | else; 49 | Track = reaper.GetTrack(0,itr-1); 50 | end; 51 | 52 | for ifx = 1, reaper.TrackFX_GetCount(Track) do; 53 | local GUID = reaper.TrackFX_GetFXGUID(Track,ifx-1); 54 | if T[GUID] then; 55 | reaper.TrackFX_SetEnabled(Track,ifx-1,T[GUID]); 56 | end; 57 | end; 58 | end; 59 | 60 | --reaper.SetProjExtState(0,ProjExtState,'FXGUID_STATE',''); 61 | reaper.PreventUIRefresh(-1); 62 | reaper.Undo_EndBlock('Restore Bypass instrument all tracks',-1); 63 | end; 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Close all Fx (Take).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Fx 7 | * Description: Fx; Close all Fx (Take).lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.12+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [010720] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | local UNDO; 29 | local CountItem = reaper.CountMediaItems(0); 30 | if CountItem > 0 then; 31 | ---- 32 | reaper.PreventUIRefresh(1); 33 | for i = 1,CountItem do; 34 | local item = reaper.GetMediaItem(0,i-1); 35 | local CountTake = reaper.GetMediaItemNumTakes(item); 36 | for i2 = 1,CountTake do; 37 | local take = reaper.GetTake(item,i2-1); 38 | local CountFx = reaper.TakeFX_GetCount(take); 39 | for i3 = 1,CountFx do; 40 | local Open = reaper.TakeFX_GetOpen(take,i3-1); 41 | if Open then; 42 | if not UNDO then;reaper.Undo_BeginBlock();UNDO=true;end; 43 | reaper.TakeFX_Show(take,i3-1,2);--float 2..3 44 | reaper.TakeFX_Show(take,i3-1,0);--chain 0..1 45 | end; 46 | end; 47 | end; 48 | end; 49 | reaper.PreventUIRefresh(-1); 50 | ---- 51 | end; 52 | 53 | 54 | if UNDO then; 55 | reaper.Undo_EndBlock('Close all Fx (Take)',-1); 56 | else; 57 | reaper.defer(function()end); 58 | end; -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Close all VSTi in Selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Close all VSTi in Selected tracks 4 | * Oписание: Закрыть все VSTi в выбранных дорожках 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: borisuperful(Rmm/forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | local CountSeTrack = reaper.CountSelectedTracks( 0 ) 29 | if CountSeTrack == 0 then no_undo() return end 30 | 31 | local instrument , x = false, 0 32 | 33 | for i = 1,CountSeTrack do 34 | 35 | local track = reaper.GetSelectedTrack(0, i - 1) 36 | local FXCount = reaper.TrackFX_GetCount( track ) 37 | 38 | for i2 = 1,FXCount do 39 | 40 | local retval,buf = reaper.TrackFX_GetFXName(track, i2-1,"") 41 | if buf:match('VSTi')then 42 | instrument = true else instrument = false 43 | end 44 | 45 | if instrument == true then 46 | local FXOpen = reaper.TrackFX_GetOpen( track, i2-1 ) 47 | 48 | if FXOpen == true and x == 0 then 49 | reaper.Undo_BeginBlock() 50 | end 51 | 52 | reaper.TrackFX_SetOpen( track, i2-1, 0 ) 53 | if FXOpen == true then 54 | x = x + 1 55 | end 56 | end 57 | 58 | end 59 | end 60 | 61 | if x == 0 then no_undo()return end 62 | 63 | reaper.Undo_EndBlock('Close'..' '..x..' '..'instrument',1) 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Close first instrument in Selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Close first instrument in Selected tracks 4 | * Oписание: Закрыть первый инструмент в выбранных дорожках 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: borisuperful(Rmm/forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | 29 | local CountSeTrack = reaper.CountSelectedTracks( 0 ) 30 | if CountSeTrack == 0 then no_undo()return end 31 | 32 | local x = 0 33 | for i = 1,CountSeTrack do 34 | 35 | local track = reaper.GetSelectedTrack(0, i - 1) 36 | local instrument = reaper.TrackFX_GetInstrument( track ) 37 | local FXOpen = reaper.TrackFX_GetOpen( track, instrument ) 38 | if instrument == -1 then FXOpen = false end 39 | 40 | if FXOpen == true and x == 0 then 41 | reaper.Undo_BeginBlock() 42 | end 43 | 44 | if FXOpen == true then 45 | x = x + 1 46 | end 47 | 48 | reaper.TrackFX_SetOpen( track, instrument, 0 ) 49 | 50 | end 51 | 52 | if x == 0 then no_undo() return end 53 | 54 | reaper.Undo_EndBlock('Open'..' '..x..' '..'instrument',1) 55 | 56 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Move last FX in selected items to first position(`).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Move the last FX in the selected items to the first position 4 | * Oписание: Переместите последний FX в выбранных элементах в первую позицию 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: Supa75[RMM Forum] 13 | --=============================================]] 14 | 15 | 16 | 17 | local numberFx = 1 18 | -- Установите на какую позицию перемеитить FX 19 | 20 | 21 | --================================================================ 22 | --///////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\ 23 | --================================================================ 24 | 25 | 26 | 27 | 28 | ------------------------------------------------------------------------------ 29 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end; 30 | ------------------------------------------------------------------------------ 31 | 32 | 33 | 34 | local CountSelit = reaper.CountSelectedMediaItems(0),undo; 35 | if CountSelit == 0 then no_undo()return end; 36 | 37 | if not tonumber(numberFx)or numberFx < 1 then numberFx = 1 end; 38 | 39 | for i = 1, CountSelit do; 40 | local Selitem = reaper.GetSelectedMediaItem(0,i-1); 41 | local Take = reaper.GetActiveTake(Selitem); 42 | local CountFX = reaper.TakeFX_GetCount(Take); 43 | if CountFX > numberFx then; 44 | reaper.TakeFX_CopyToTake(Take,CountFX-1,Take,numberFx-1,1); 45 | undo = 1; 46 | end; 47 | end; 48 | 49 | if undo == 1 then; 50 | reaper.Undo_BeginBlock(); 51 | reaper.Undo_EndBlock("Move last FX "..numberFx.." position",1); 52 | else; 53 | no_undo(); 54 | end; 55 | 56 | 57 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Move last FX in selected tracks to first position(`).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Move the last FX in the selected tracks to the first position 4 | * Oписание: Переместить последний FX в выбранных треках на первую позицию 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer : Supa75[RMM Forum] 12 | * gave idea: Supa75[RMM Forum] 13 | --=============================================]] 14 | 15 | 16 | 17 | local numberFx = 1 18 | -- Установите на какую позицию перемеитить FX 19 | 20 | 21 | --================================================================ 22 | --///////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\ 23 | --================================================================ 24 | 25 | 26 | 27 | 28 | ------------------------------------------------------------------------------ 29 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end; 30 | ------------------------------------------------------------------------------ 31 | 32 | 33 | 34 | local CountSelTr = reaper.CountSelectedTracks(0); 35 | if CountSelTr == 0 then no_undo()return end; 36 | 37 | if not tonumber(numberFx)or numberFx < 1 then numberFx = 1 end; 38 | 39 | for i = 1,CountSelTr do; 40 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 41 | if SelTrack then; 42 | local CountFX = reaper.TrackFX_GetCount(SelTrack); 43 | if CountFX > numberFx then; 44 | reaper.TrackFX_CopyToTrack(SelTrack,CountFX-1,SelTrack,numberFx-1,1); 45 | undo = 1 46 | end; 47 | end; 48 | end; 49 | 50 | if undo == 1 then; 51 | reaper.Undo_BeginBlock(); 52 | reaper.Undo_EndBlock("Move last FX "..numberFx.." position",1); 53 | else; 54 | no_undo(); 55 | end; -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Open all VSTi in Selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Open all VSTi in Selected tracks 4 | * Oписание: Открыть все VSTi в выбранных дорожках 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: borisuperful(Rmm/forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ------------------------------------------------------------s----------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | local CountSeTrack = reaper.CountSelectedTracks( 0 ) 29 | if CountSeTrack == 0 then no_undo() return end 30 | 31 | local instrument , x = false, 0 32 | 33 | for i = 1,CountSeTrack do 34 | 35 | local track = reaper.GetSelectedTrack(0, i - 1) 36 | local FXCount = reaper.TrackFX_GetCount( track ) 37 | 38 | for i2 = 1,FXCount do 39 | 40 | local retval,buf = reaper.TrackFX_GetFXName(track, i2-1,"") 41 | if buf:match('^VSTi')then 42 | instrument = true else instrument = false 43 | end 44 | 45 | if instrument == true then 46 | reaper.TrackFX_Show( track, i2-1, 3 ) 47 | x = x + 1 48 | end 49 | 50 | end 51 | end 52 | 53 | if x == 0 then no_undo() return end 54 | 55 | reaper.Undo_BeginBlock() 56 | reaper.Undo_EndBlock('Open'..' '..x..' '..'instrument',1) 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Open first instrument in Selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: FX 3 | * Description: Open first instrument in Selected tracks 4 | * Oписание: Открыть первый инструмент в выбранных дорожках 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: borisuperful(Rmm/forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | local CountSeTrack = reaper.CountSelectedTracks( 0 ) 29 | if CountSeTrack == 0 then no_undo() return end 30 | 31 | local x = 0 32 | for i = 1,CountSeTrack do 33 | 34 | local track = reaper.GetSelectedTrack(0, i - 1) 35 | local instrument = reaper.TrackFX_GetInstrument( track ) 36 | 37 | if instrument > -1 then 38 | x = x + 1 39 | end 40 | 41 | reaper.TrackFX_Show( track, instrument, 3) 42 | 43 | end 44 | 45 | if x == 0 then no_undo() return end 46 | 47 | reaper.Undo_BeginBlock() 48 | reaper.Undo_EndBlock('Open'..' '..x..' '..'instrument',1) 49 | 50 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Revers fade in-out.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Fx 7 | * Description: Fx; Revers fade in-out.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: Archie(---) 15 | * Gave idea: Archie(---) 16 | * Extension: Reaper 6.12+ http://www.reaper.fm/ 17 | * Changelog: v.1.0 [20.07.20] 18 | * + initialе 19 | --]] 20 | --====================================================================================== 21 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 22 | --====================================================================================== 23 | 24 | 25 | 26 | ------------------------------------------------------- 27 | local function no_undo()reaper.defer(function()end)end; 28 | ------------------------------------------------------- 29 | 30 | 31 | 32 | local CountSelItem = reaper.CountSelectedMediaItems(0); 33 | if CountSelItem == 0 then no_undo() return end; 34 | 35 | 36 | reaper.Undo_BeginBlock(); 37 | reaper.PreventUIRefresh(1); 38 | 39 | for i = 1,CountSelItem do; 40 | local SelItem = reaper.GetSelectedMediaItem(0,i-1); 41 | local fadeIn = reaper.GetMediaItemInfo_Value(SelItem,"D_FADEINLEN" ); 42 | local shapeIn = reaper.GetMediaItemInfo_Value(SelItem,"C_FADEINSHAPE" ); 43 | local fadeOut = reaper.GetMediaItemInfo_Value(SelItem,"D_FADEOUTLEN" ); 44 | local shapeOut = reaper.GetMediaItemInfo_Value(SelItem,"C_FADEOUTSHAPE"); 45 | reaper.SetMediaItemInfo_Value(SelItem,"D_FADEINLEN" ,fadeOut ); 46 | reaper.SetMediaItemInfo_Value(SelItem,"C_FADEINSHAPE" ,shapeOut); 47 | reaper.SetMediaItemInfo_Value(SelItem,"D_FADEOUTLEN" ,fadeIn ); 48 | reaper.SetMediaItemInfo_Value(SelItem,"C_FADEOUTSHAPE",shapeIn ); 49 | end; 50 | 51 | reaper.PreventUIRefresh(-1); 52 | reaper.Undo_EndBlock("Revers fade in-out",-1); 53 | 54 | reaper.UpdateArrange(); 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /MAIN/FX/Archie_FX; Toggle Bypass Focused FX.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Fx 7 | * Description: Fx; Toggle Bypass Focused FX.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Mr. Green/tdc(forum cocos) 16 | * Gave idea: Mr. Green/tdc(forum cocos) 17 | * Extension: Reaper 6.08+ http://www.reaper.fm/ 18 | * SWS v.2.11.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [090420] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | local retval,tracknumber,itemnumber,fxnumber = reaper.GetFocusedFX(); 30 | if retval > 0 then; 31 | reaper.PreventUIRefresh(1); 32 | reaper.Undo_BeginBlock(); 33 | if itemnumber >= 0 then; 34 | local track = reaper.GetTrack(0,tracknumber-1); 35 | local item = reaper.GetTrackMediaItem(track,itemnumber); 36 | local takeIdx = fxnumber>>16;--take 37 | local fxIdx = fxnumber&0xFFFF;--fx 38 | local take = reaper.GetTake(item,takeIdx); 39 | local enabled = reaper.TakeFX_GetEnabled(take,fxIdx); 40 | reaper.TakeFX_SetEnabled(take,fxIdx,enabled==false); 41 | else; 42 | local track; 43 | if tracknumber == 0 then; 44 | track = reaper.GetMasterTrack(0); 45 | else; 46 | track = reaper.GetTrack(0,tracknumber-1); 47 | end; 48 | local enabled = reaper.TrackFX_GetEnabled(track,fxnumber); 49 | reaper.TrackFX_SetEnabled(track,fxnumber,enabled==false); 50 | end; 51 | reaper.UpdateArrange(); 52 | reaper.Undo_EndBlock("Toggle Bypass Focused FX",-1); 53 | else; 54 | reaper.defer(function()end); 55 | end; 56 | 57 | 58 | -------------------------------------------------------------------------------- /MAIN/Fade/Archie_Fade; Delete fade in selected items.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Fx 7 | * Description: Delete fade in selected items 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Удалить затухание в выбранных элементах 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.01+ http://www.reaper.fm/ 18 | * Changelog: v.1.0 [12.12.19] 19 | * + initialе 20 | --]] 21 | 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | ------------------------------------------------------- 29 | local function no_undo()reaper.defer(function()end)end; 30 | ------------------------------------------------------- 31 | 32 | 33 | 34 | local CountSelItem = reaper.CountSelectedMediaItems(0); 35 | if CountSelItem == 0 then no_undo() return end; 36 | 37 | 38 | for i = 1,CountSelItem do; 39 | local SelItem = reaper.GetSelectedMediaItem(0,i-1); 40 | local fadeIn = reaper.GetMediaItemInfo_Value(SelItem,"D_FADEINLEN"); 41 | if fadeIn ~= 0 then; 42 | if not Undo then; reaper.Undo_BeginBlock();reaper.PreventUIRefresh(1); Undo = true; end; 43 | reaper.SetMediaItemInfo_Value(SelItem,"D_FADEINLEN",0); 44 | end; 45 | local fadeOut = reaper.GetMediaItemInfo_Value(SelItem,"D_FADEOUTLEN"); 46 | if fadeOut ~= 0 then; 47 | if not Undo then; reaper.Undo_BeginBlock();reaper.PreventUIRefresh(1); Undo = true; end; 48 | reaper.SetMediaItemInfo_Value(SelItem,"D_FADEOUTLEN",0); 49 | end; 50 | reaper.UpdateItemInProject(SelItem); 51 | end; 52 | 53 | 54 | if Undo then; 55 | reaper.Undo_EndBlock("Delete fade in selected items",-1); 56 | reaper.PreventUIRefresh(-1); 57 | else; 58 | no_undo(); 59 | end; 60 | 61 | reaper.UpdateArrange(); -------------------------------------------------------------------------------- /MAIN/Grid/Archie_Grid; Swing off and reset(arrange).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Grid 3 | * Description: swing grid disable and reset(arrange) 4 | * Oписание: отключить и сбросить сетку качания(аранжировка) 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: Maestro Sound(RMM Forum) 12 | * gave idea: Maestro Sound(RMM Forum) 13 | --=================================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | 29 | 30 | local _,grid,swingOnOff,swing = reaper.GetSetProjectGrid( 0, 0 ) 31 | if swingOnOff == 0 and swing == 0 then no_undo() return end 32 | 33 | reaper.GetSetProjectGrid(0,1,grid,0,0) 34 | 35 | reaper.Undo_BeginBlock() 36 | reaper.Undo_EndBlock("0.0% / Swing RESET and OFF",1) 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Glue selected items each individually.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Item; Glue selected items each individually.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Склейте выбранные предметы каждый по отдельности 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Changelog: 18 | * v.1.0 [060420] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | local CountSelItem = reaper.CountSelectedMediaItems(0); 33 | if CountSelItem == 0 then no_undo()return end; 34 | 35 | local sel_item = {}; 36 | local sel_it2 = {}; 37 | 38 | for i = 1,CountSelItem do; 39 | sel_item[i] = reaper.GetSelectedMediaItem(0,i-1); 40 | end; 41 | 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | 45 | reaper.SelectAllMediaItems(0,0); 46 | 47 | for i=1,#sel_item do; 48 | reaper.SetMediaItemSelected(sel_item[i],1); 49 | reaper.Main_OnCommand(40257,0);--Glue items 50 | local item = reaper.GetSelectedMediaItem(0,0); 51 | reaper.SetMediaItemSelected(item,0); 52 | sel_it2[#sel_it2+1]=item; 53 | end; 54 | 55 | for i=1,#sel_it2 do; 56 | reaper.SetMediaItemSelected(sel_it2[i],1); 57 | end; 58 | 59 | reaper.PreventUIRefresh(-1); 60 | reaper.Undo_EndBlock("Glue selected items each individually",-1); 61 | reaper.UpdateArrange(); 62 | 63 | 64 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Invert items selection on selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Invert items selection on selected tracks 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Инвертировать выделение элементов на выбранных дорожках 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: arkaine(Rmm) 16 | * Gave idea: arkaine(Rmm) 17 | * Changelog: 18 | * v.1.0 [22.10.19] 19 | * + initialе 20 | --]] 21 | 22 | 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | -------------------------------------------------------- 29 | local function no_undo() reaper.defer(function()end)end; 30 | -------------------------------------------------------- 31 | 32 | local CountSelTrack = reaper.CountSelectedTracks(0); 33 | if CountSelTrack == 0 then no_undo() return end; 34 | 35 | local Undo; 36 | 37 | for t = 1, CountSelTrack do; 38 | 39 | local track = reaper.GetSelectedTrack(0,t-1); 40 | local CountTrItem = reaper.CountTrackMediaItems(track); 41 | if CountTrItem > 0 and not Undo then; 42 | reaper.Undo_BeginBlock();Undo = true; 43 | end; 44 | 45 | for i = CountTrItem-1,0,-1 do; 46 | local item = reaper.GetTrackMediaItem(track,i); 47 | reaper.SetMediaItemSelected(item, not reaper.IsMediaItemSelected(item)); 48 | end; 49 | end; 50 | 51 | 52 | if Undo then; 53 | reaper.Undo_EndBlock("Invert items selection on selected tracks",-1); 54 | else; 55 | no_undo(); 56 | end; 57 | reaper.UpdateArrange(); -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Remove even items from selected items in track(2-4..).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Item; Remove even items from selected items in track.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Удаление четных элементов из выбранных элементов в треке 11 | * GIF: --- 12 | * Website: http://forum.cockos.com/showthread.php?t=212819 13 | * http://rmmedia.ru/threads/134701/ 14 | * http://vk.com/reaarchie 15 | * DONATION: http://money.yandex.ru/to/410018003906628 16 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 17 | * Customer: Archie(---) 18 | * Gave idea: Archie(---) 19 | * Extension: Reaper 6.08+ http://www.reaper.fm/ 20 | * Changelog: 21 | * v.1.0 [250420] 22 | * + initialе 23 | --]] 24 | --====================================================================================== 25 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 26 | --====================================================================================== 27 | 28 | 29 | 30 | ------------------------------------------------------- 31 | local function no_undo()reaper.defer(function()end)end; 32 | ------------------------------------------------------- 33 | 34 | 35 | local CountSelItem = reaper.CountSelectedMediaItems(0); 36 | if CountSelItem == 0 then no_undo() return end; 37 | 38 | local t = {}; 39 | local track2,x; 40 | 41 | for i = 1, CountSelItem do; 42 | 43 | local item = reaper.GetSelectedMediaItem(0,i-1); 44 | local track = reaper.GetMediaItem_Track(item); 45 | if track2 ~= track then x = 0 end; 46 | x = x + 1; 47 | if x%2 == 0 then; 48 | t[#t+1] = item; 49 | end; 50 | track2 = track; 51 | end; 52 | 53 | if #t == 0 then no_undo()return end; 54 | 55 | 56 | reaper.Undo_BeginBlock(); 57 | reaper.PreventUIRefresh(1); 58 | 59 | for i = 1, #t do; 60 | local track = reaper.GetMediaItem_Track(t[i]); 61 | reaper.DeleteTrackMediaItem(track,t[i]); 62 | end; 63 | 64 | reaper.PreventUIRefresh(-1); 65 | reaper.Undo_EndBlock("Remove even items from the selected items in track",-1); 66 | 67 | reaper.UpdateArrange(); 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Remove non even items from selected items in track(1-3..).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Item; Remove non even items from selected items in track.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Удаление нечетных элементов из выбранных элементов в треке 11 | * GIF: --- 12 | * Website: http://forum.cockos.com/showthread.php?t=212819 13 | * http://rmmedia.ru/threads/134701/ 14 | * http://vk.com/reaarchie 15 | * DONATION: http://money.yandex.ru/to/410018003906628 16 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 17 | * Customer: Archie(---) 18 | * Gave idea: Archie(---) 19 | * Extension: Reaper 6.08+ http://www.reaper.fm/ 20 | * Changelog: 21 | * v.1.0 [250420] 22 | * + initialе 23 | --]] 24 | --====================================================================================== 25 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 26 | --====================================================================================== 27 | 28 | 29 | 30 | ------------------------------------------------------- 31 | local function no_undo()reaper.defer(function()end)end; 32 | ------------------------------------------------------- 33 | 34 | 35 | local CountSelItem = reaper.CountSelectedMediaItems(0); 36 | if CountSelItem == 0 then no_undo() return end; 37 | 38 | local t = {}; 39 | local track2,x; 40 | 41 | for i = 1, CountSelItem do; 42 | 43 | local item = reaper.GetSelectedMediaItem(0,i-1); 44 | local track = reaper.GetMediaItem_Track(item); 45 | if track2 ~= track then x = 0 end; 46 | x = x + 1; 47 | if x%2 ~= 0 then; 48 | t[#t+1] = item; 49 | end; 50 | track2 = track; 51 | end; 52 | 53 | if #t == 0 then no_undo()return end; 54 | 55 | 56 | reaper.Undo_BeginBlock(); 57 | reaper.PreventUIRefresh(1); 58 | 59 | for i = 1, #t do; 60 | local track = reaper.GetMediaItem_Track(t[i]); 61 | reaper.DeleteTrackMediaItem(track,t[i]); 62 | end; 63 | 64 | reaper.PreventUIRefresh(-1); 65 | reaper.Undo_EndBlock("Remove non even items from the selected items in track",-1); 66 | 67 | reaper.UpdateArrange(); 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Select first item from cursor position in all selected track,without removing selection from the previous items.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Select first item from cursor position in all selected track, 4 | without removing selection from the previous items 5 | * Oписание: Выбрать первый элемент от позиции курсора во всех выбранных 6 | треках,не снимая выделения с предыдущих элементов 7 | * GIF: http://goo.gl/jJp4ab 8 | * Website: http://forum.cockos.com/showthread.php?t=212819 9 | * Donation: http://money.yandex.ru/to/410018003906628 10 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 11 | * Author: Archie 12 | * Version: 1.02 13 | * customer: --- 14 | * gave idea: HDVulcan(RMM Forum) 15 | --==========================================]] 16 | 17 | 18 | 19 | --=========================================================================== 20 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 21 | --=========================================================================== 22 | 23 | 24 | 25 | ----------------------------------------------------------------------------- 26 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 27 | ----------------------------------------------------------------------------- 28 | 29 | 30 | 31 | local Count_Sel_Track = reaper.CountSelectedTracks( 0 ) 32 | if Count_Sel_Track == 0 then no_undo() return end 33 | 34 | 35 | for i = 1,Count_Sel_Track do 36 | local SelTrack = reaper.GetSelectedTrack( 0, i-1 ) 37 | 38 | local CountTrItem = reaper.CountTrackMediaItems( SelTrack ) 39 | if CountTrItem > 0 then 40 | local Cur = reaper.GetCursorPosition() 41 | for i = 1,CountTrItem do 42 | local Tr_item = reaper.GetTrackMediaItem( SelTrack, i-1 ) 43 | local pos = reaper.GetMediaItemInfo_Value( Tr_item, 'D_POSITION' ) 44 | if pos >= Cur then 45 | reaper.SetMediaItemSelected( Tr_item, 1 ) 46 | undo = 1 47 | break 48 | end 49 | end 50 | end 51 | end 52 | 53 | if undo == 1 then 54 | reaper.Undo_BeginBlock() 55 | reaper.Undo_EndBlock( [[Select first item from cursor 56 | position in all selected track]],-1) 57 | else 58 | no_undo() 59 | end 60 | reaper.UpdateArrange() 61 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Select first item from cursor position in all selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Select first item from cursor position in all selected track 4 | * Oписание: Выбрать первый элемент от позиции курсора во всех выбранных треках 5 | * GIF: http://goo.gl/t2rLxh 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: HDVulcan(RMM Forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | 29 | local Count_Sel_Track = reaper.CountSelectedTracks( 0 ) 30 | if Count_Sel_Track == 0 then no_undo() return end 31 | 32 | 33 | local UnselectAllItems = nil 34 | for i = 1,Count_Sel_Track do 35 | local SelTrack = reaper.GetSelectedTrack( 0, i-1 ) 36 | 37 | local CountTrItem = reaper.CountTrackMediaItems( SelTrack ) 38 | if CountTrItem > 0 then 39 | local Cur = reaper.GetCursorPosition() 40 | for i = 1,CountTrItem do 41 | local Tr_item = reaper.GetTrackMediaItem( SelTrack, i-1 ) 42 | local pos = reaper.GetMediaItemInfo_Value( Tr_item, 'D_POSITION' ) 43 | if pos >= Cur then 44 | if not UnselectAllItems then 45 | reaper.SelectAllMediaItems( 0, 0 ) 46 | UnselectAllItems = 0 47 | end 48 | reaper.SetMediaItemSelected( Tr_item, 1 ) 49 | undo = 1 50 | break 51 | end 52 | end 53 | end 54 | end 55 | 56 | if undo == 1 then 57 | reaper.Undo_BeginBlock() 58 | reaper.Undo_EndBlock( [[Select first item from cursor 59 | position in first selected track]],-1) 60 | else 61 | no_undo() 62 | end 63 | reaper.UpdateArrange() 64 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Select first item from cursor position in first selected track,without removing selection from the previous items.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Select first item from cursor position in first selected track, 4 | without removing selection from the previous items 5 | * Oписание: Выбрать первый элемент от позиции курсора в первом выбранном 6 | треке,не снимая выделения с предыдущих элементов 7 | * GIF: http://goo.gl/j8Kh4U 8 | * Website: http://forum.cockos.com/showthread.php?t=212819 9 | * Donation: http://money.yandex.ru/to/410018003906628 10 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 11 | * Author: Archie 12 | * Version: 1.02 13 | * customer: --- 14 | * gave idea: HDVulcan(RMM Forum) 15 | --==========================================]] 16 | 17 | 18 | 19 | --=========================================================================== 20 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 21 | --=========================================================================== 22 | 23 | 24 | 25 | ----------------------------------------------------------------------------- 26 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 27 | ----------------------------------------------------------------------------- 28 | 29 | 30 | 31 | local SelTrack = reaper.GetSelectedTrack( 0, 0 ) 32 | if not SelTrack then no_undo() return end 33 | 34 | 35 | 36 | local CountTrItem = reaper.CountTrackMediaItems( SelTrack ) 37 | if CountTrItem > 0 then 38 | local Cur = reaper.GetCursorPosition() 39 | for i = 1,CountTrItem do 40 | local Tr_item = reaper.GetTrackMediaItem( SelTrack, i-1 ) 41 | local pos = reaper.GetMediaItemInfo_Value( Tr_item, 'D_POSITION' ) 42 | if pos >= Cur then 43 | reaper.SetMediaItemSelected( Tr_item, 1 ) 44 | undo = 1 45 | break 46 | end 47 | end 48 | end 49 | 50 | if undo == 1 then 51 | reaper.Undo_BeginBlock() 52 | reaper.Undo_EndBlock( [[Select first item from cursor 53 | position in first selected track]],-1) 54 | else 55 | no_undo() 56 | end 57 | reaper.UpdateArrange() 58 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Select first item from cursor position in first selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Select first item from cursor position in first selected track 4 | * Oписание: Выбрать первый элемент от позиции курсора в первом выбранном треке 5 | * GIF: http://goo.gl/9rRSpp 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: HDVulcan(RMM Forum) 13 | --==========================================]] 14 | 15 | 16 | 17 | --=========================================================================== 18 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19 | --=========================================================================== 20 | 21 | 22 | 23 | ----------------------------------------------------------------------------- 24 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 25 | ----------------------------------------------------------------------------- 26 | 27 | 28 | 29 | local SelTrack = reaper.GetSelectedTrack( 0, 0 ) 30 | if not SelTrack then no_undo() return end 31 | 32 | 33 | 34 | local CountTrItem = reaper.CountTrackMediaItems( SelTrack ) 35 | if CountTrItem > 0 then 36 | local Cur = reaper.GetCursorPosition() 37 | for i = 1,CountTrItem do 38 | local Tr_item = reaper.GetTrackMediaItem( SelTrack, i-1 ) 39 | local pos = reaper.GetMediaItemInfo_Value( Tr_item, 'D_POSITION' ) 40 | if pos >= Cur then 41 | reaper.SelectAllMediaItems( 0, 0 ) 42 | reaper.SetMediaItemSelected( Tr_item, 1 ) 43 | undo = 1 44 | break 45 | end 46 | end 47 | end 48 | 49 | if undo == 1 then 50 | reaper.Undo_BeginBlock() 51 | reaper.Undo_EndBlock( [[Select first item from cursor 52 | position in first selected track]],-1) 53 | else 54 | no_undo() 55 | end 56 | reaper.UpdateArrange() 57 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Bezier.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Bezier 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму bezier 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | for it = 1,reaper.CountSelectedMediaItems(0) do; 35 | local item = reaper.GetSelectedMediaItem(0,it-1); 36 | local take = reaper.GetActiveTake(item); 37 | local i = 0; 38 | while true do; 39 | i=i+1; 40 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 41 | if retval then; 42 | reaper.MIDI_SetCCShape(take,i-1,5,beztension,true); 43 | else; 44 | break; 45 | end; 46 | end; 47 | reaper.MIDI_Sort(take); 48 | end; 49 | 50 | reaper.UpdateArrange(); 51 | no_undo(); 52 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Fast end.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Fast end 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму Fast end 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | for it = 1,reaper.CountSelectedMediaItems(0) do; 35 | local item = reaper.GetSelectedMediaItem(0,it-1); 36 | local take = reaper.GetActiveTake(item); 37 | local i = 0; 38 | while true do; 39 | i=i+1; 40 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 41 | if retval then; 42 | reaper.MIDI_SetCCShape(take,i-1,4,beztension,true); 43 | else; 44 | break; 45 | end; 46 | end; 47 | reaper.MIDI_Sort(take); 48 | end; 49 | 50 | reaper.UpdateArrange(); 51 | no_undo(); 52 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Fast start.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Fast start 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму Fast start 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | for it = 1,reaper.CountSelectedMediaItems(0) do; 35 | local item = reaper.GetSelectedMediaItem(0,it-1); 36 | local take = reaper.GetActiveTake(item); 37 | local i = 0; 38 | while true do; 39 | i=i+1; 40 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 41 | if retval then; 42 | reaper.MIDI_SetCCShape(take,i-1,3,beztension,true); 43 | else; 44 | break; 45 | end; 46 | end; 47 | reaper.MIDI_Sort(take); 48 | end; 49 | 50 | reaper.UpdateArrange(); 51 | no_undo(); 52 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Linear.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Linear 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму Linear 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | for it = 1,reaper.CountSelectedMediaItems(0) do; 35 | local item = reaper.GetSelectedMediaItem(0,it-1); 36 | local take = reaper.GetActiveTake(item); 37 | local i = 0; 38 | while true do; 39 | i=i+1; 40 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 41 | if retval then; 42 | reaper.MIDI_SetCCShape(take,i-1,1,beztension,true); 43 | else; 44 | break; 45 | end; 46 | end; 47 | reaper.MIDI_Sort(take); 48 | end; 49 | 50 | reaper.UpdateArrange(); 51 | no_undo(); 52 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Slow start-end.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Slow start/end 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму Slow start/end 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | for it = 1,reaper.CountSelectedMediaItems(0) do; 35 | local item = reaper.GetSelectedMediaItem(0,it-1); 36 | local take = reaper.GetActiveTake(item); 37 | local i = 0; 38 | while true do; 39 | i=i+1; 40 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 41 | if retval then; 42 | reaper.MIDI_SetCCShape(take,i-1,2,beztension,true); 43 | else; 44 | break; 45 | end; 46 | end; 47 | reaper.MIDI_Sort(take); 48 | end; 49 | 50 | reaper.UpdateArrange(); 51 | no_undo(); 52 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set in selected items CC shape to Square.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Set in selected items CC shape Square 8 | * Author: Archie 9 | * Version: 1.03 10 | * Описание: Установить в выбранных элементах CC форму Square 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: BAYANBAYAN(Rmm) 16 | * Gave idea: BAYANBAYAN(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [13.02.20] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | ------------------------------------------------------- 29 | local function no_undo()reaper.defer(function()end)end; 30 | ------------------------------------------------------- 31 | 32 | 33 | for it = 1,reaper.CountSelectedMediaItems(0) do; 34 | local item = reaper.GetSelectedMediaItem(0,it-1); 35 | local take = reaper.GetActiveTake(item); 36 | local i = 0; 37 | while true do; 38 | i=i+1; 39 | local retval, shape, beztension = reaper.MIDI_GetCCShape(take,i-1); 40 | if retval then; 41 | reaper.MIDI_SetCCShape(take,i-1,0,beztension,true); 42 | else; 43 | break; 44 | end; 45 | end; 46 | reaper.MIDI_Sort(take); 47 | end; 48 | 49 | reaper.UpdateArrange(); 50 | no_undo(); 51 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Set volume -6 dB.for selected media items.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Set volume -6 dB.for selected media items 4 | * Oписание: Установите громкость -6 дБ.для выбранных элементов мультимедиа 5 | * GIF: https://clck.ru/EeuyB 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: AlexLazer(RMM Forum) 12 | * gave idea: AlexLazer(RMM Forum) 13 | --==================================]] 14 | 15 | 16 | 17 | local DB = (-6.0) 18 | -- Установите громкость для выбранных элементов 19 | 20 | 21 | 22 | --=========================================================================== 23 | --/////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 24 | --=========================================================================== 25 | 26 | 27 | 28 | ----------------------------------------------------------------------------- 29 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 30 | ----------------------------------------------------------------------------- 31 | 32 | 33 | 34 | local Count = reaper.CountSelectedMediaItems( 0 ) 35 | if Count == 0 then no_undo() return end 36 | 37 | 38 | if not tonumber(DB) then DB = (-6)end 39 | if DB <= -150 then DB = -150 end 40 | if DB >= 24 then DB = 24 end 41 | --- 42 | if DB < 0 then 43 | DB = math.abs(DB) 44 | else 45 | DB = tonumber("-"..DB) 46 | end 47 | --- 48 | local db = (0.89075630252101^(DB*0.99522)) 49 | 50 | local Undo 51 | for i = 1,Count do 52 | local item = reaper.GetSelectedMediaItem( 0, i-1 ) 53 | local take = reaper.GetMediaItemTake( item, 0 ) 54 | if not reaper.BR_IsTakeMidi(take) then 55 | reaper.SetMediaItemInfo_Value( item, 'D_VOL', db ) 56 | Undo = 1 57 | end 58 | end 59 | 60 | if Undo ~= 1 then 61 | no_undo() 62 | else 63 | reaper.Undo_BeginBlock() 64 | reaper.Undo_EndBlock("Set volume -6 dB.for selected media items",1) 65 | end 66 | reaper.UpdateArrange() 67 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Stretch time and reduce the selected item(s) by 2 times.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Stretch time and reduce the selected item(s) by 2 times 4 | * Author: Archie 5 | * Version: 1.02 6 | * AboutScript: Stretch time and reduce the selected item(s) by 2 times 7 | * О скрипте: Растянуть время и уменьшить выбранные элемент(ы) в 2 раза 8 | * GIF: http://clck.ru/EeHc3 9 | * Website: http://forum.cockos.com/showthread.php?t=212819 10 | * Donation: http://money.yandex.ru/to/410018003906628 11 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 12 | * Customer: Snjuk(RMM Forum) 13 | * Gave idea: Snjuk(RMM Forum) 14 | * Changelog: + initialе / v.1.0 15 | --================================]] 16 | 17 | 18 | 19 | 20 | --====================================================================================== 21 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 22 | --====================================================================================== 23 | 24 | 25 | 26 | ------------------------------------------------------------------------------ 27 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end; 28 | ------------------------------------------------------------------------------ 29 | 30 | 31 | 32 | local Count = reaper.CountSelectedMediaItems(0); 33 | if Count == 0 then no_undo() return end; 34 | 35 | 36 | reaper.Undo_BeginBlock(); 37 | 38 | for i = Count-1,0,-1 do; 39 | local SelItem = reaper.GetSelectedMediaItem(0,i); 40 | local Length = reaper.GetMediaItemInfo_Value(SelItem,"D_LENGTH"); 41 | local Counttake = reaper.CountTakes(SelItem); 42 | for ii = 1, Counttake do; 43 | local Take = reaper.GetMediaItemTake(SelItem, ii-1 ); 44 | local PlayRate = reaper.GetMediaItemTakeInfo_Value(Take,"D_PLAYRATE"); 45 | reaper.SetMediaItemTakeInfo_Value(Take, "D_PLAYRATE", PlayRate*2); 46 | end; 47 | reaper.SetMediaItemInfo_Value(SelItem,"D_LENGTH",Length/2); 48 | end; 49 | 50 | reaper.Undo_EndBlock("Stretch time and reduce the selected item(s) by 2 times",-1); 51 | reaper.UpdateArrange(); 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Toggle Loop item source under mouse cursor.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Item 3 | * Description: Toggle Loop item source under mouse cursor 4 | * Author: Archie 5 | * Version: 1.02 6 | * GIF: http://avatars.mds.yandex.net/get-pdb/2039533/acb4305b-dde0-4933-b5b7-6f3c1ee78e89/orig 7 | * Website: http://forum.cockos.com/showthread.php?t=212819 8 | * http://rmmedia.ru/threads/134701/ 9 | * DONATION: http://money.yandex.ru/to/410018003906628 10 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 11 | * Customer: Archie(---) 12 | * Gave idea: Archie(---) 13 | * Changelog: v.1.0 [27.01.20] 14 | * + initialе 15 | --]] 16 | --====================================================================================== 17 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 18 | --====================================================================================== 19 | 20 | 21 | 22 | ------------------------------------------------------- 23 | local function no_undo()reaper.defer(function()end)end; 24 | ------------------------------------------------------- 25 | 26 | local x,y = reaper.GetMousePosition(); 27 | local item,take = reaper.GetItemFromPoint(x,y,false); 28 | if item then; 29 | 30 | reaper.Undo_BeginBlock(); 31 | 32 | local loop = reaper.GetMediaItemInfo_Value(item,"B_LOOPSRC"); 33 | if loop == 0 then; 34 | reaper.SetMediaItemInfo_Value(item,"B_LOOPSRC",1); 35 | else; 36 | reaper.SetMediaItemInfo_Value(item,"B_LOOPSRC",0); 37 | end; 38 | 39 | reaper.Undo_EndBlock('Toggle Loop item source under mouse cursor',-1); 40 | 41 | reaper.UpdateArrange(); 42 | else; 43 | no_undo() 44 | end; -------------------------------------------------------------------------------- /MAIN/Item/Archie_Item; Unselect items if track not selected.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Item 7 | * Description: Unselect items if track not selected 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Отменить выбор элементов если трек не выбран 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: J T(Rmm) 16 | * Gave idea: J T(Rmm) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * Changelog: v.1.0 [29.01.20] 19 | * + initialе 20 | --]] 21 | 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | 29 | 30 | ------------------------------------------------------- 31 | local function no_undo()reaper.defer(function()end)end; 32 | ------------------------------------------------------- 33 | 34 | 35 | local CountSelItem = reaper.CountSelectedMediaItems(0); 36 | if CountSelItem == 0 then no_undo() return end; 37 | 38 | 39 | reaper.Undo_BeginBlock(); 40 | reaper.PreventUIRefresh(1); 41 | 42 | for i = CountSelItem-1,0,-1 do; 43 | 44 | local SelItem = reaper.GetSelectedMediaItem(0,i); 45 | local track = reaper.GetMediaItem_Track(SelItem); 46 | local sel_tr = reaper.GetMediaTrackInfo_Value(track,'I_SELECTED'); 47 | if sel_tr == 0 then; 48 | reaper.SetMediaItemInfo_Value(SelItem,"B_UISEL",0); 49 | end; 50 | end; 51 | 52 | reaper.PreventUIRefresh(-1); 53 | reaper.Undo_EndBlock('Unselect items if track not selected',-1); 54 | 55 | reaper.UpdateArrange(); -------------------------------------------------------------------------------- /MAIN/Markers/Archie_Markers; Go to random marker.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Markers 7 | * Description: Markers; Go to random marker.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Snjuk(---) 16 | * Gave idea: Snjuk(---) 17 | * Extension: Reaper 6.12+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [080820] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | ------------------------------------------------------- 29 | local function no_undo()reaper.defer(function()end)end; 30 | ------------------------------------------------------- 31 | 32 | 33 | local retval,num_markers,num_regions = reaper.CountProjectMarkers(0); 34 | if num_markers == 0 then no_undo()return end; 35 | 36 | --math.randomseed(os.time()); 37 | 38 | local markers; 39 | local Prev = tonumber(reaper.GetExtState('GotorandommarkerGTRM5578','GTRM597'))or 0; 40 | for i = 1,1000 do; 41 | markers = math.random(1,num_markers); 42 | if markers ~= Prev then; 43 | break; 44 | end; 45 | end; 46 | 47 | local x = 0; 48 | for i = 1,retval do; 49 | local retval,isrgn,pos,rgnend,name,markrgnindexnumber = reaper.EnumProjectMarkers(i); 50 | if not isrgn then x=x+1 end; 51 | if x == markers then; 52 | reaper.SetEditCurPos(pos,true,true); 53 | reaper.SetExtState('GotorandommarkerGTRM5578','GTRM597',x,false); 54 | break; 55 | end; 56 | end; 57 | 58 | no_undo(); 59 | 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Markers/Archie_Markers; Insert markers by time selection.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Description: Markers; Insert markers by time selection 7 | * Author: Archie 8 | * Version: 1.02 9 | * Описание: Вставка маркеров по выбору времени 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: odinzavseh(Rmm) 15 | * Gave idea: odinzavseh(Rmm) 16 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 17 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 18 | * Changelog: 19 | * v.1.0 [19.02.20] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | local nameLeft = 's' 28 | local nameRight = 'e' 29 | 30 | 31 | --====================================================================================== 32 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 33 | --====================================================================================== 34 | 35 | 36 | ------------------------------------------------------- 37 | local function no_undo()reaper.defer(function()end)end; 38 | ------------------------------------------------------- 39 | 40 | 41 | local timeSelStart,timeSelEnd = reaper.GetSet_LoopTimeRange(0,0,0,0,0); -- В Аранже 42 | if timeSelStart==timeSelEnd then no_undo() return end; 43 | 44 | 45 | reaper.Undo_BeginBlock(); 46 | reaper.PreventUIRefresh(1); 47 | 48 | reaper.AddProjectMarker(0,false,timeSelStart,0,nameLeft or '',-1); 49 | reaper.AddProjectMarker(0,false,timeSelEnd,0,nameRight or '',-1); 50 | 51 | reaper.PreventUIRefresh(-1); 52 | reaper.Undo_EndBlock('Insert markers by time selection',-1); 53 | 54 | reaper.UpdateArrange(); 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /MAIN/Preferences/Archie_Pref; Ignore mousewheel on all faders.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Preferences 7 | * Description: Ignore mousewheel on all faders 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Игнорировать колесико мыши на всех фейдерах 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Shico(Rmm) 16 | * Gave idea: Shico(Rmm) 17 | * Extension: Reaper 5.981+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: v.1.01 [08.10.19] 20 | * + initialе 21 | --]] 22 | 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local _,_,sec,cmd,_,_,_ = reaper.get_action_context(); 35 | local IntConfigVar = reaper.SNM_GetIntConfigVar("mousewheelmode",0); 36 | local mousewheelMode = IntConfigVar&2; 37 | if mousewheelMode ~= 0 and mousewheelMode ~= 2 then no_undo() return end; 38 | 39 | reaper.Undo_BeginBlock(); 40 | if mousewheelMode == 0 then; 41 | reaper.SNM_SetIntConfigVar("mousewheelmode",IntConfigVar|2); 42 | reaper.SetToggleCommandState(sec,cmd,1); 43 | reaper.Undo_EndBlock("Enable ignore mousewheel on all faders",-1); 44 | else; 45 | reaper.SNM_SetIntConfigVar("mousewheelmode",IntConfigVar&~(IntConfigVar&2)); 46 | reaper.SetToggleCommandState(sec,cmd,0); 47 | reaper.Undo_EndBlock("Disable ignore mousewheel on all faders",-1); 48 | end; 49 | reaper.RefreshToolbar2(sec,cmd); -------------------------------------------------------------------------------- /MAIN/Preferences/Archie_Pref; Toggle Allow snap grid,track envelope,routing windows to stay open.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Preferences (Preferences > General > Advanced UI/system tweaks) 7 | * Description: Toggle Allow snap grid,track envelope,routing windows to stay open 8 | * Author: Archie 9 | * Version: 1.02 10 | * AboutScript: Allow snap grid/track envelope/routing windows to stay open 11 | * О скрипте: Разрешить привязку сетки / конверта дорожки / окна маршрутизации, чтобы оставаться открытыми 12 | * GIF: --- 13 | * Website: http://forum.cockos.com/showthread.php?t=212819 14 | * http://rmmedia.ru/threads/134701/ 15 | * Donation: http://money.yandex.ru/to/410018003906628 16 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 17 | * Customer: denlozikevich(Rmm) 18 | * Gave idea: denlozikevich(Rmm) 19 | * Extension: SWS v.2.10.0 http://www.sws-extension.org/index.php 20 | * Changelog: v.1.0 [22.08.19] 21 | * + initialе 22 | --]] 23 | 24 | 25 | --====================================================================================== 26 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 27 | --====================================================================================== 28 | 29 | 30 | 31 | 32 | ------------------------------------------------- 33 | function no_undo()reaper.defer(function()end)end; 34 | ------------------------------------------------- 35 | 36 | 37 | local value,ScriptWay,sec,cmd,mod,res,val = reaper.get_action_context(); 38 | AllowRroutingWinStayOpen = reaper.SNM_GetIntConfigVar("autoclosetrackwnds",0); 39 | if AllowRroutingWinStayOpen == 1 then; 40 | reaper.SNM_SetIntConfigVar("autoclosetrackwnds",0); 41 | reaper.SetToggleCommandState(sec,cmd,1) 42 | else; 43 | reaper.SNM_SetIntConfigVar("autoclosetrackwnds",1); 44 | reaper.SetToggleCommandState(sec,cmd,0); 45 | end; 46 | 47 | reaper.RefreshToolbar2(sec,cmd); 48 | 49 | no_undo(); -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate (User input).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate (User input) 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local function no_undo()reaper.defer(function()end)end; 29 | 30 | ::rest::; 31 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 32 | local ret,retvals_csv = reaper.GetUserInputs('Set sample rate',1,'Set sample rate:,extrawidth=100',retval); 33 | if not ret then return no_undo() end; 34 | local retvals_csv = tonumber(retvals_csv); 35 | if not retvals_csv then return no_undo() end; 36 | if retvals_csv < 8000 or retvals_csv > 192000 then goto rest end; 37 | 38 | if retvals_csv ~= retval then; 39 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',retvals_csv,1); 40 | reaper.Audio_Quit(); 41 | reaper.Audio_Init(); 42 | reaper.UpdateArrange(); 43 | end; 44 | 45 | no_undo(); 46 | 47 | 48 | -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 176400.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 176400 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 176400; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); 40 | 41 | -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 192000.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 192000 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 192000; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); 40 | 41 | -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 44100.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 44100 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 44100; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 48000.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 48000 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 48000; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); 40 | -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 88200.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 88200 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 88200; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); 40 | 41 | -------------------------------------------------------------------------------- /MAIN/Project/Archie_Proj; Set project sample rate 96000.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Project 7 | * Description: Proj; Set project sample rate 96000 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Валерий Бадьянов(Rmm) 16 | * Gave idea: Валерий Бадьянов(Rmm) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [290320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | local SAMPLERATE = 96000; 29 | 30 | reaper.defer 31 | (function(); 32 | local retval = reaper.GetSetProjectInfo(0,'PROJECT_SRATE',0,0); 33 | if retval ~= SAMPLERATE then; 34 | reaper.GetSetProjectInfo(0,'PROJECT_SRATE',SAMPLERATE,1); 35 | reaper.Audio_Quit(); 36 | reaper.Audio_Init(); 37 | reaper.UpdateArrange(); 38 | end; 39 | end); 40 | 41 | -------------------------------------------------------------------------------- /MAIN/README.md: -------------------------------------------------------------------------------- 1 | ###                                                                                                                                    [*Archie_ReaScripts*](https://github.com/ArchieScript/Archie_ReaScripts) 2 | ----- 3 | -------------------------------------------------------------------------------- /MAIN/Take/Archie_Take; Crop to active take - ignore lock items.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Take 7 | * Description: Take; Crop to active take - ignore lock items.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(Rmm) 16 | * Gave idea: Maestro Sound(Rmm) 17 | * Extension: Reaper 6.10+ http://www.reaper.fm/ 18 | * SWS v.2.12.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [020620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | local function no_undo()reaper.defer(function()end)end; 29 | 30 | 31 | local CountSelItems = reaper.CountSelectedMediaItems(0); 32 | if CountSelItems == 0 then no_undo()return end; 33 | 34 | reaper.Undo_BeginBlock(); 35 | reaper.PreventUIRefresh(1); 36 | 37 | local tblSaveIt = {}; 38 | local x = 0; 39 | for i = CountSelItems-1,0,-1 do; 40 | local item = reaper.GetSelectedMediaItem(0,i); 41 | local lock = reaper.GetMediaItemInfo_Value(item,"C_LOCK"); 42 | if lock > 0 then; 43 | x = x + 1; 44 | tblSaveIt[x]=item; 45 | reaper.SetMediaItemInfo_Value(item,"B_UISEL",0); 46 | end; 47 | end; 48 | 49 | local CountSelItemsX = reaper.CountSelectedMediaItems(0); 50 | 51 | reaper.Main_OnCommand(40131,0);-- Crop to act take 52 | 53 | for i = 1,#tblSaveIt do; 54 | reaper.SetMediaItemInfo_Value(tblSaveIt[i],"B_UISEL",1); 55 | end; 56 | 57 | reaper.PreventUIRefresh(-1); 58 | reaper.Undo_EndBlock('Crop to active take - ignore lock items',-1); 59 | reaper.UpdateArrange(); 60 | 61 | 62 | -------------------------------------------------------------------------------- /MAIN/Time selection/Archie_Time selection; Set loop by time selection.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Time selection 7 | * Description: Time selection; Set loop by time selection.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * AboutScript: --- 11 | * О скрипте: --- 12 | * GIF: --- 13 | * Website: http://forum.cockos.com/showthread.php?t=212819 14 | * http://rmmedia.ru/threads/134701/ 15 | * http://vk.com/reaarchie 16 | * DONATION: http://money.yandex.ru/to/410018003906628 17 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 18 | * Customer: Snjuk(Rmm) 19 | * Gave idea: Snjuk(Rmm) 20 | * Extension: Reaper 6.14+ http://www.reaper.fm/ 21 | * SWS v.2.12.0 http://www.sws-extension.org/index.php 22 | * Changelog: 23 | * v.1.0 [101020] 24 | * + initialе 25 | --]] 26 | --====================================================================================== 27 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 28 | --====================================================================================== 29 | 30 | 31 | reaper.defer(function(); 32 | local Loopstart,LoopEnd = reaper.GetSet_LoopTimeRange(0,1,0,0,0); 33 | local timeSelStart,timeSelEnd = reaper.GetSet_LoopTimeRange(0,0,0,0,0); 34 | if Loopstart~=timeSelStart or LoopEnd~=timeSelEnd then; 35 | reaper.GetSet_LoopTimeRange(1,1,timeSelStart,timeSelEnd,0); 36 | end; 37 | end); 38 | 39 | 40 | -------------------------------------------------------------------------------- /MAIN/Time selection/Archie_Time selection; Set time selection by loop.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Time selection 7 | * Description: Time selection; Set time selection by loop.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * AboutScript: --- 11 | * О скрипте: --- 12 | * GIF: --- 13 | * Website: http://forum.cockos.com/showthread.php?t=212819 14 | * http://rmmedia.ru/threads/134701/ 15 | * http://vk.com/reaarchie 16 | * DONATION: http://money.yandex.ru/to/410018003906628 17 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 18 | * Customer: Snjuk(Rmm) 19 | * Gave idea: Snjuk(Rmm) 20 | * Extension: Reaper 6.14+ http://www.reaper.fm/ 21 | * SWS v.2.12.0 http://www.sws-extension.org/index.php 22 | * Changelog: 23 | * v.1.0 [101020] 24 | * + initialе 25 | --]] 26 | --====================================================================================== 27 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 28 | --====================================================================================== 29 | 30 | 31 | reaper.defer(function(); 32 | local Loopstart,LoopEnd = reaper.GetSet_LoopTimeRange(0,1,0,0,0); 33 | local timeSelStart,timeSelEnd = reaper.GetSet_LoopTimeRange(0,0,0,0,0); 34 | if Loopstart~=timeSelStart or LoopEnd~=timeSelEnd then; 35 | reaper.GetSet_LoopTimeRange(1,0,Loopstart,LoopEnd,0); 36 | end; 37 | end); 38 | 39 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Arm Selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Arm Selected track.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: AlexLazer(rmm) 16 | * Gave idea: AlexLazer(rmm) 17 | * Extension: Reaper 5.981+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [030620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local CountSelTrack = reaper.CountSelectedTracks(0); 35 | if CountSelTrack == 0 then no_undo() return end; 36 | 37 | 38 | for i = 1, CountSelTrack do; 39 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 40 | local arm = reaper.GetMediaTrackInfo_Value(SelTrack,'I_RECARM'); 41 | if arm == 0 then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_RECARM',1); 48 | end; 49 | end; 50 | 51 | 52 | if UNDO then; 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Arm Selected track',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Arm only Selected tracks.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Arm only Selected tracks.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: AlexLazer(rmm) 16 | * Gave idea: AlexLazer(rmm) 17 | * Extension: Reaper 5.981+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [030620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local CountSelTrack = reaper.CountSelectedTracks(0); 35 | if CountSelTrack == 0 then no_undo() return end; 36 | 37 | 38 | reaper.Undo_BeginBlock(); 39 | reaper.PreventUIRefresh(1); 40 | reaper.ClearAllRecArmed(); 41 | 42 | for i = 1, CountSelTrack do; 43 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 44 | local arm = reaper.GetMediaTrackInfo_Value(SelTrack,'I_RECARM'); 45 | if arm ~= 1 then; 46 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_RECARM',1); 47 | end; 48 | end; 49 | 50 | reaper.PreventUIRefresh(-1); 51 | reaper.Undo_EndBlock('Arm only Selected tracks',-1); 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Copy selected track name.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Track 3 | * Description: Copy selected track name 4 | * Author: Archie 5 | * Version: 1.03 6 | * AboutScript: Copy selected track name 7 | * О скрипте: копировать название выбранной дорожки 8 | * GIF: http://clck.ru/Eey4e 9 | * Website: http://forum.cockos.com/showthread.php?t=212819 10 | * Donation: http://money.yandex.ru/to/410018003906628 11 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 12 | * Customer: Supa75[RMM Forum] 13 | * Gave idea: Supa75[RMM Forum] 14 | * Changelog: + GIF / v.1.01 15 | + initialе / v.1.0 16 | --============================================================= 17 | SYSTEM REQUIREMENTS: Reaper v.5.96 | SWS v.2.9.7 (and above) 18 | СИСТЕМНЫЕ ТРЕБОВАНИЯ: Reaper v.5.96 | SWS v.2.9.7 (и выше) 19 | --============================================================]] 20 | 21 | 22 | 23 | 24 | --================================================================ 25 | --///////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\ 26 | --================================================================ 27 | 28 | 29 | 30 | ------------------------------------------------------- 31 | local function no_undo()reaper.defer(function()end)end; 32 | ------------------------------------------------------- 33 | 34 | 35 | 36 | local SelTrack = reaper.GetSelectedTrack(0,0); 37 | if SelTrack == nil then no_undo()return end; 38 | 39 | reaper.DeleteExtState("Archie_Copy selected track name","NAME",false); 40 | 41 | local _,name = reaper.GetSetMediaTrackInfo_String(SelTrack,"P_NAME","",0); 42 | if name == "" then name = " " end; 43 | reaper.SetExtState("Archie_Copy selected track name","NAME",name,false); 44 | 45 | no_undo(); -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Copy solo mute state selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Copy solo mute state selected track.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: ---(Rmm) 15 | * Gave idea: Vax(Rmm) 16 | * Extension: Reaper 6.14+ http://www.reaper.fm/ 17 | * Changelog: 18 | * v.1.0 [011020] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | --[[ 27 | Archie_Track; Cut solo mute state selected track.lua 28 | Archie_Track; Copy solo mute state selected track.lua 29 | Archie_Track; Paste solo mute state selected track.lua 30 | --]] 31 | 32 | 33 | ------------------------------------------------------- 34 | local function no_undo()reaper.defer(function()end)end; 35 | ------------------------------------------------------- 36 | 37 | local section = 'COPY PASTE SOLO MUTE STATE SELECTED TRACK'; 38 | 39 | local CountSelTrack = reaper.CountSelectedTracks(0); 40 | if CountSelTrack == 0 then no_undo()return end; 41 | 42 | local t = {}; 43 | 44 | for i = 1,CountSelTrack do; 45 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 46 | local solo = reaper.GetMediaTrackInfo_Value(SelTrack,'I_SOLO'); 47 | local mute = reaper.GetMediaTrackInfo_Value(SelTrack,'B_MUTE'); 48 | t[#t+1] = '{'..solo..'&'..mute..'}'; 49 | end; 50 | 51 | local value = table.concat(t); 52 | 53 | reaper.SetExtState(section,'key',value,false); 54 | 55 | 56 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Copy track color.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Copy track color 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Копировать цвет дорожки 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [030320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | local TOOLTIP = true; 27 | 28 | --====================================================================================== 29 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 30 | --====================================================================================== 31 | 32 | 33 | 34 | ------------------------------------------------------- 35 | local function no_undo()reaper.defer(function()end)end; 36 | ------------------------------------------------------- 37 | 38 | 39 | 40 | local SelTrack = reaper.GetSelectedTrack(0,0); 41 | if not SelTrack then no_undo() return end; 42 | 43 | 44 | local HasExtState = reaper.HasExtState("Archie_Track_CopyPasteFSCOLOR_TRACK","COLOR_TRACK"); 45 | if HasExtState then; 46 | reaper.DeleteExtState("Archie_Track_CopyPasteFSCOLOR_TRACK","COLOR_TRACK",false); 47 | end; 48 | 49 | local Color = reaper.GetMediaTrackInfo_Value(SelTrack,'I_CUSTOMCOLOR'); 50 | 51 | reaper.SetExtState("Archie_Track_CopyPasteFSCOLOR_TRACK","COLOR_TRACK",Color,false); 52 | 53 | if TOOLTIP then; 54 | local x, y = reaper.GetMousePosition(); 55 | local numb = string.match(reaper.GetMediaTrackInfo_Value(SelTrack,'IP_TRACKNUMBER'),'%d+'); 56 | reaper.TrackCtl_SetToolTip('Copy Track '..'('..numb..')'..' Color',x, y,true); 57 | end; 58 | 59 | no_undo(); 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Cut solo mute state selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Cut solo mute state selected track.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: ---(Rmm) 15 | * Gave idea: Vax(Rmm) 16 | * Extension: Reaper 6.14+ http://www.reaper.fm/ 17 | * Changelog: 18 | * v.1.0 [011020] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | --[[ 27 | Archie_Track; Cut solo mute state selected track.lua 28 | Archie_Track; Copy solo mute state selected track.lua 29 | Archie_Track; Paste solo mute state selected track.lua 30 | --]] 31 | 32 | 33 | ------------------------------------------------------- 34 | local function no_undo()reaper.defer(function()end)end; 35 | ------------------------------------------------------- 36 | 37 | local section = 'COPY PASTE SOLO MUTE STATE SELECTED TRACK'; 38 | 39 | local CountSelTrack = reaper.CountSelectedTracks(0); 40 | if CountSelTrack == 0 then no_undo()return end; 41 | 42 | local t = {}; 43 | 44 | for i = 1,CountSelTrack do; 45 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 46 | local solo = reaper.GetMediaTrackInfo_Value(SelTrack,'I_SOLO'); 47 | local mute = reaper.GetMediaTrackInfo_Value(SelTrack,'B_MUTE'); 48 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_SOLO',0); 49 | reaper.SetMediaTrackInfo_Value(SelTrack,'B_MUTE',0); 50 | t[#t+1] = '{'..solo..'&'..mute..'}'; 51 | end; 52 | 53 | local value = table.concat(t); 54 | 55 | reaper.SetExtState(section,'key',value,false); 56 | 57 | 58 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Cut track icon.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Track 3 | * Description: Track; Cut track icon 4 | * Author: Archie 5 | * Version: 1.03 6 | * AboutScript: Cut track icon / Archie_Track; Paste icon selected tracks.lua 7 | * О скрипте: Вырезать иконку дорожки 8 | * Website: http://forum.cockos.com/showthread.php?t=212819 9 | * http://rmmedia.ru/threads/134701/ 10 | * DONATION: http://money.yandex.ru/to/410018003906628 11 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 12 | * Customer: Archie(RMM) 13 | * Gave idea: Archie(RMM) 14 | * Changelog: 15 | * v.1.0 [040320] 16 | * initialе 17 | --]] 18 | --====================================================================================== 19 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 20 | --====================================================================================== 21 | 22 | 23 | 24 | --------------------------------------------------------- 25 | local function no_undo();reaper.defer(function()end);end; 26 | --------------------------------------------------------- 27 | 28 | 29 | 30 | local Count = reaper.CountSelectedTracks(0); 31 | if Count == 0 then no_undo() return end; 32 | 33 | 34 | local section = "Archie_Track_CopyPasteTrackIcon"; 35 | 36 | 37 | local icoTrack; 38 | local LastTouchedTrack = reaper.GetLastTouchedTrack(); 39 | local sel = reaper.GetMediaTrackInfo_Value(LastTouchedTrack,"I_SELECTED"); 40 | if sel == 1 then; 41 | icoTrack = LastTouchedTrack; 42 | else; 43 | icoTrack = reaper.GetSelectedTrack(0,0); 44 | end; 45 | 46 | 47 | local retval,stringNeedBig = reaper.GetSetMediaTrackInfo_String(icoTrack,"P_ICON",0,0); 48 | 49 | reaper.DeleteExtState(section,"path",false); 50 | 51 | if stringNeedBig ~= "" then; 52 | reaper.SetExtState(section,"path",stringNeedBig,false); 53 | reaper.GetSetMediaTrackInfo_String(icoTrack,"P_ICON","",1); 54 | end; 55 | 56 | no_undo(); 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide all tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide all tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(track,true); 40 | if Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',0); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Hide all tracks in MCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide all tracks in TCP and MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide all tracks in TCP and MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local VisibM = reaper.IsTrackVisible(track,true); 40 | local VisibT = reaper.IsTrackVisible(track,false); 41 | if VisibM or VisibT then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | 48 | if VisibM then; 49 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',0); 50 | end 51 | if VisibT then; 52 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',0); 53 | end 54 | 55 | end; 56 | end; 57 | 58 | 59 | if UNDO then; 60 | reaper.TrackList_AdjustWindows(true); 61 | reaper.PreventUIRefresh(-1); 62 | reaper.Undo_EndBlock('Hide all tracks in TCP and MCP',-1); 63 | else; 64 | no_undo(); 65 | end; 66 | 67 | 68 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide all tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide all tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(track,false); 40 | if Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',0); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Hide all tracks in TCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide selected tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide selected tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(trackSel,true); 40 | if Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | if Visib then; 47 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINMIXER',0); 48 | end; 49 | end; 50 | end; 51 | 52 | 53 | if UNDO then; 54 | reaper.TrackList_AdjustWindows(true); 55 | reaper.PreventUIRefresh(-1); 56 | reaper.Undo_EndBlock('Hide selected tracks in MCP',-1); 57 | else; 58 | no_undo(); 59 | end; 60 | 61 | 62 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide selected tracks in TCP and MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide selected tracks in TCP and MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local VisibM = reaper.IsTrackVisible(trackSel,true); 40 | local VisibT = reaper.IsTrackVisible(trackSel,false); 41 | if VisibM or VisibT then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | if VisibM then; 48 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINMIXER',0); 49 | end; 50 | if VisibT then; 51 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINTCP',0); 52 | end; 53 | end; 54 | end; 55 | 56 | 57 | if UNDO then; 58 | reaper.TrackList_AdjustWindows(true); 59 | reaper.PreventUIRefresh(-1); 60 | reaper.Undo_EndBlock('Hide selected tracks in TCP and MCP',-1); 61 | else; 62 | no_undo(); 63 | end; 64 | 65 | 66 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide selected tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide selected tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(trackSel,false); 40 | if Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | if Visib then; 47 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINTCP',0); 48 | end; 49 | end; 50 | end; 51 | 52 | 53 | if UNDO then; 54 | reaper.TrackList_AdjustWindows(true); 55 | reaper.PreventUIRefresh(-1); 56 | reaper.Undo_EndBlock('Hide selected tracks in TCP',-1); 57 | else; 58 | no_undo(); 59 | end; 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide unselected tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide unselected tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local UnSel = reaper.GetMediaTrackInfo_Value(track,'I_SELECTED')==0; 40 | if UnSel then; 41 | local Visib = reaper.IsTrackVisible(track,true); 42 | if Visib then; 43 | if not UNDO then; 44 | reaper.Undo_BeginBlock(); 45 | reaper.PreventUIRefresh(1); 46 | UNDO = true; 47 | end; 48 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',0); 49 | end; 50 | end; 51 | end; 52 | 53 | 54 | if UNDO then; 55 | reaper.TrackList_AdjustWindows(true); 56 | reaper.PreventUIRefresh(-1); 57 | reaper.Undo_EndBlock('Hide unselected tracks in MCP',-1); 58 | else; 59 | no_undo(); 60 | end; 61 | 62 | 63 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Hide unselected tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Hide unselected tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local UnSel = reaper.GetMediaTrackInfo_Value(track,'I_SELECTED')==0; 40 | if UnSel then; 41 | local Visib = reaper.IsTrackVisible(track,false); 42 | if Visib then; 43 | if not UNDO then; 44 | reaper.Undo_BeginBlock(); 45 | reaper.PreventUIRefresh(1); 46 | UNDO = true; 47 | end; 48 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',0); 49 | end; 50 | end; 51 | end; 52 | 53 | 54 | if UNDO then; 55 | reaper.TrackList_AdjustWindows(true); 56 | reaper.PreventUIRefresh(-1); 57 | reaper.Undo_EndBlock('Hide unselected tracks in TCP',-1); 58 | else; 59 | no_undo(); 60 | end; 61 | 62 | 63 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Move all selected tracks under first selected track or folder .lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Track 3 | * Description: Move all selected tracks under the first selected track or folder 4 | * Oписание: Переместить все выбранные треки под первый выбранный трек или папку 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: --- 12 | * gave idea: smrz1(Rmm/forum) 13 | * ---------: 14 | * changelog: /***/ 15 | --==================================================]] 16 | 17 | 18 | 19 | --=========================================================================== 20 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 21 | --=========================================================================== 22 | 23 | 24 | 25 | ------------------------------------------------------------------------------ 26 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end; 27 | ------------------------------------------------------------------------------ 28 | 29 | 30 | 31 | local SelTrack = reaper.GetSelectedTrack(0,0); 32 | if not SelTrack then no_undo() return end; 33 | 34 | 35 | reaper.PreventUIRefresh(1); 36 | reaper.Undo_BeginBlock(); 37 | 38 | local FoldGUID = reaper.GetTrackGUID(SelTrack); 39 | reaper.SetTrackSelected(SelTrack,0); 40 | 41 | reaper.ReorderSelectedTracks(reaper.CountTracks(0),0); 42 | local track = reaper.BR_GetMediaTrackByGUID(0,FoldGUID); 43 | local numb = reaper.GetMediaTrackInfo_Value(track,"IP_TRACKNUMBER"); 44 | reaper.SetTrackSelected(track,1); 45 | reaper.ReorderSelectedTracks(numb,0); 46 | 47 | local Undo = "Move all selected tracks under the first selected track or folder"; 48 | reaper.Undo_EndBlock(Undo,-1); 49 | reaper.PreventUIRefresh(-1); -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Mute all selected tracks except selected folders.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Mute all selected tracks except selected folders.lua 8 | * Author: Archie 9 | * Version: 1.03 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.08+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [150420] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | 35 | local CountSelTrack = reaper.CountSelectedTracks(0); 36 | if CountSelTrack == 0 then no_undo()return end; 37 | 38 | 39 | for i = 1,CountSelTrack do; 40 | local TrackSel = reaper.GetSelectedTrack(0,i-1); 41 | local fold = reaper.GetMediaTrackInfo_Value(TrackSel,"I_FOLDERDEPTH")==1; 42 | if not fold then; 43 | local mute = reaper.GetMediaTrackInfo_Value(TrackSel,"B_MUTE")==1; 44 | if not mute then; 45 | if not UNDO then; 46 | reaper.Undo_BeginBlock(); 47 | reaper.PreventUIRefresh(1); 48 | UNDO = true; 49 | end; 50 | reaper.SetMediaTrackInfo_Value(TrackSel,"B_MUTE",1); 51 | end; 52 | 53 | end; 54 | end; 55 | 56 | 57 | if UNDO then; 58 | reaper.Undo_EndBlock("Mute all selected tracks except selected folders",-1); 59 | reaper.PreventUIRefresh(-1); 60 | else; 61 | no_undo(); 62 | end; 63 | 64 | 65 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Paste selected track name .lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Track 3 | * Description: Paste selected track name 4 | * Author: Archie 5 | * Version: 1.03 6 | * AboutScript: Paste selected track name 7 | * О скрипте: вставить название выбранной дорожки 8 | * GIF: http://clck.ru/Eey4e 9 | * Website: http://forum.cockos.com/showthread.php?t=212819 10 | * Donation: http://money.yandex.ru/to/410018003906628 11 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 12 | * Customer: Supa75[RMM Forum] 13 | * Gave idea: Supa75[RMM Forum] 14 | * Changelog: + GIF / v.1.01 15 | + initialе / v.1.0 16 | --============================================================= 17 | SYSTEM REQUIREMENTS: Reaper v.5.96 | SWS v.2.9.7 (and above) 18 | СИСТЕМНЫЕ ТРЕБОВАНИЯ: Reaper v.5.96 | SWS v.2.9.7 (и выше) 19 | --============================================================]] 20 | 21 | 22 | 23 | 24 | --================================================================ 25 | --///////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\ 26 | --================================================================ 27 | 28 | 29 | 30 | ------------------------------------------------------- 31 | local function no_undo()reaper.defer(function()end)end; 32 | ------------------------------------------------------- 33 | 34 | 35 | 36 | local CountSelTrack = reaper.CountSelectedTracks(0); 37 | if CountSelTrack == 0 then no_undo()return end; 38 | 39 | 40 | local ExName = reaper.GetExtState("Archie_Copy selected track name","NAME"); 41 | if ExName == "" or not ExName then no_undo()return end; 42 | if ExName == " " then ExName = "" end; 43 | 44 | 45 | for i = CountSelTrack-1,0,-1 do; 46 | local SelTrack = reaper.GetSelectedTrack(0,i); 47 | reaper.GetSetMediaTrackInfo_String(SelTrack,"P_NAME",ExName,1); 48 | end 49 | --reaper.DeleteExtState("Archie_Copy selected track name","NAME",false); 50 | no_undo(); 51 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Paste track color.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Paste track color 8 | * Author: Archie 9 | * Version: 1.02 10 | * Описание: Вставить цвет дорожки 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.03+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [030320] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | local CountSelTrack = reaper.CountSelectedTracks(0); 33 | if CountSelTrack == 0 then no_undo() return end; 34 | 35 | 36 | local ExtState = reaper.GetExtState("Archie_Track_CopyPasteFSCOLOR_TRACK","COLOR_TRACK"); 37 | if tonumber(ExtState) then; 38 | 39 | reaper.Undo_BeginBlock(); 40 | reaper.PreventUIRefresh(1); 41 | 42 | for i = 1,CountSelTrack do; 43 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 44 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_CUSTOMCOLOR',ExtState); 45 | end; 46 | 47 | reaper.PreventUIRefresh(-1); 48 | reaper.Undo_EndBlock('Paste track color',-1); 49 | 50 | reaper.UpdateArrange(); 51 | else; 52 | no_undo(); 53 | end; 54 | 55 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Removes 8 characters from the end of the selected track name(`).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Track 3 | * Description: Removes 8 characters from the end of the selected track name 4 | * Oписание: Убирает с конца имени выделенных треков 8 символов (русс / 2) 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 9 | * Author: Archie 10 | * Version: 1.02 11 | * customer: Supa75 (Rmm/forum) 12 | * gave idea: Supa75 (Rmm/forum) 13 | --====================================]] 14 | 15 | 16 | 17 | local CountEndRemove = 8 18 | --Введите значение, сколько символов нужно удалить с конца имени веделенных треков 19 | 20 | 21 | 22 | --=========================================================================== 23 | --//////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 24 | --=========================================================================== 25 | 26 | 27 | 28 | ----------------------------------------------------------------------------- 29 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 30 | ----------------------------------------------------------------------------- 31 | 32 | 33 | 34 | local CountSelTrack = reaper.CountSelectedTracks(0) 35 | if CountSelTrack == 0 then no_undo()return end 36 | if not CountEndRemove then CountEndRemove = 1 end 37 | for i = CountSelTrack-1,0,-1 do 38 | local SelTrack = reaper.GetSelectedTrack(0,i) 39 | local _,name = reaper.GetSetMediaTrackInfo_String(SelTrack,"P_NAME","",0) 40 | if name ~= "" then 41 | local len = string.len(name) 42 | if len >= CountEndRemove then 43 | local name = string.match(string.reverse(name),".+",CountEndRemove+1) 44 | if not name then name = "" end 45 | local name = string.reverse(name) 46 | reaper.GetSetMediaTrackInfo_String( SelTrack, "P_NAME", name, 1 ) 47 | end 48 | end 49 | end 50 | no_undo() -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Restore all tracks visible slot 1.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Restore all tracks visible slot 1.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Shico(Rmm) 16 | * Gave idea: Shico(Rmm) 17 | * Extension: Reaper 6.10+ http://www.reaper.fm/ 18 | * SWS v.2.12.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [300520] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | local SLOT = 1; 28 | 29 | --====================================================================================== 30 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 31 | --====================================================================================== 32 | 33 | 34 | 35 | local function no_undo()reaper.defer(function()end)end; 36 | 37 | 38 | local ProjExtState = 'ARCHIE_SAVE_TRACK_VISIBLE_SLOT'..(SLOT or 1); 39 | 40 | reaper.PreventUIRefresh(1); 41 | 42 | for i = 1, math.huge do; 43 | local retval,key,value = reaper.EnumProjExtState(0,ProjExtState,i-1); 44 | if retval then; 45 | local track = reaper.BR_GetMediaTrackByGUID(0,key); 46 | if track then; 47 | local visibTcp,visibMcp = value:match("(.*)&(.*)"); 48 | if visibTcp and visibMcp then; 49 | reaper.SetMediaTrackInfo_Value(track,"B_SHOWINTCP",visibTcp); 50 | reaper.SetMediaTrackInfo_Value(track,"B_SHOWINMIXER",visibMcp); 51 | end; 52 | end; 53 | 54 | else; 55 | break; 56 | end; 57 | end; 58 | 59 | -- reaper.SetProjExtState(0,ProjExtState,"",""); 60 | 61 | no_undo(); 62 | reaper.TrackList_AdjustWindows(false); 63 | reaper.PreventUIRefresh(-1); 64 | 65 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Save all tracks visible slot 1.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Save all tracks visible slot 1.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Shico(Rmm) 16 | * Gave idea: Shico(Rmm) 17 | * Extension: Reaper 6.10+ http://www.reaper.fm/ 18 | * SWS v.2.12.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [300520] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | local SLOT = 1; 28 | 29 | --====================================================================================== 30 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 31 | --====================================================================================== 32 | 33 | 34 | local function no_undo()reaper.defer(function()end)end; 35 | 36 | 37 | local ProjExtState = 'ARCHIE_SAVE_TRACK_VISIBLE_SLOT'..(SLOT or 1); 38 | 39 | local CountTrack = reaper.CountTracks(0); 40 | if CountTrack == 0 then no_undo() return end; 41 | 42 | reaper.SetProjExtState(0,ProjExtState,"",""); 43 | 44 | for i = 1, CountTrack do; 45 | local track = reaper.GetTrack(0,i-1); 46 | local visibTcp = reaper.GetMediaTrackInfo_Value(track, "B_SHOWINTCP"); 47 | local visibMcp = reaper.GetMediaTrackInfo_Value(track, "B_SHOWINMIXER"); 48 | local guid = reaper.GetTrackGUID(track); 49 | reaper.SetProjExtState(0,ProjExtState,guid,visibTcp..'&'..visibMcp); 50 | end; 51 | 52 | no_undo(); 53 | 54 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show all tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show all tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(track,true); 40 | if not Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',1); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Show all tracks in MCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show all tracks in TCP and MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show all tracks in TCP and MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local VisibM = reaper.IsTrackVisible(track,true); 40 | local VisibT = reaper.IsTrackVisible(track,false); 41 | if not VisibM or not VisibT then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | 48 | if not VisibM then; 49 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',1); 50 | end 51 | if not VisibT then; 52 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',1); 53 | end 54 | 55 | end; 56 | end; 57 | 58 | 59 | if UNDO then; 60 | reaper.TrackList_AdjustWindows(true); 61 | reaper.PreventUIRefresh(-1); 62 | reaper.Undo_EndBlock('Show all tracks in TCP and MCP',-1); 63 | else; 64 | no_undo(); 65 | end; 66 | 67 | 68 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show all tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show all tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(track,false); 40 | if not Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',1); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Show all tracks in TCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show selected tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show selected tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(trackSel,true); 40 | if not Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINMIXER',1); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Show selected tracks in MCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show selected tracks in TCP and MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show selected tracks in TCP and MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local VisibM = reaper.IsTrackVisible(trackSel,true); 40 | local VisibT = reaper.IsTrackVisible(trackSel,false); 41 | if not VisibM or not VisibT then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | if not VisibM then; 48 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINMIXER',1); 49 | end; 50 | if not VisibT then; 51 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINTCP',1); 52 | end; 53 | end; 54 | end; 55 | 56 | 57 | if UNDO then; 58 | reaper.TrackList_AdjustWindows(true); 59 | reaper.PreventUIRefresh(-1); 60 | reaper.Undo_EndBlock('Show selected tracks in TCP and MCP',-1); 61 | else; 62 | no_undo(); 63 | end; 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show selected tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show selected tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountSelTracks = reaper.CountSelectedTracks(0); 34 | if CountSelTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountSelTracks do; 38 | local trackSel = reaper.GetSelectedTrack(0,i-1); 39 | local Visib = reaper.IsTrackVisible(trackSel,false); 40 | if not Visib then; 41 | if not UNDO then; 42 | reaper.Undo_BeginBlock(); 43 | reaper.PreventUIRefresh(1); 44 | UNDO = true; 45 | end; 46 | reaper.SetMediaTrackInfo_Value(trackSel,'B_SHOWINTCP',1); 47 | end; 48 | end; 49 | 50 | 51 | if UNDO then; 52 | reaper.TrackList_AdjustWindows(true); 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('Show selected tracks in TCP',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show unselected tracks in MCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show unselected tracks in MCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local UnSel = reaper.GetMediaTrackInfo_Value(track,'I_SELECTED')==0; 40 | if UnSel then; 41 | local Visib = reaper.IsTrackVisible(track,true); 42 | if not Visib then; 43 | if not UNDO then; 44 | reaper.Undo_BeginBlock(); 45 | reaper.PreventUIRefresh(1); 46 | UNDO = true; 47 | end; 48 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINMIXER',1); 49 | end; 50 | end; 51 | end; 52 | 53 | 54 | if UNDO then; 55 | reaper.TrackList_AdjustWindows(true); 56 | reaper.PreventUIRefresh(-1); 57 | reaper.Undo_EndBlock('Show unselected tracks in MCP',-1); 58 | else; 59 | no_undo(); 60 | end; 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Show unselected tracks in TCP.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Show unselected tracks in TCP.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628/1000 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.05+ http://www.reaper.fm/ 18 | * Changelog: 19 | * v.1.0 [120420] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | ------------------------------------------------------- 28 | local function no_undo()reaper.defer(function()end)end; 29 | ------------------------------------------------------- 30 | 31 | 32 | 33 | local CountTracks = reaper.CountTracks(0); 34 | if CountTracks == 0 then no_undo()return end; 35 | 36 | 37 | for i = 1,CountTracks do; 38 | local track = reaper.GetTrack(0,i-1); 39 | local UnSel = reaper.GetMediaTrackInfo_Value(track,'I_SELECTED')==0; 40 | if UnSel then; 41 | local Visib = reaper.IsTrackVisible(track,false); 42 | if not Visib then; 43 | if not UNDO then; 44 | reaper.Undo_BeginBlock(); 45 | reaper.PreventUIRefresh(1); 46 | UNDO = true; 47 | end; 48 | reaper.SetMediaTrackInfo_Value(track,'B_SHOWINTCP',1); 49 | end; 50 | end; 51 | end; 52 | 53 | 54 | if UNDO then; 55 | reaper.TrackList_AdjustWindows(true); 56 | reaper.PreventUIRefresh(-1); 57 | reaper.Undo_EndBlock('Show unselected tracks in TCP',-1); 58 | else; 59 | no_undo(); 60 | end; 61 | 62 | 63 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Solo track under mouse cursor - unsolo previous solo track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Solo track under mouse cursor - unsolo previous solo track 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * DONATION: http://money.yandex.ru/to/410018003906628 13 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 14 | * Customer: Алексей Левин(VK) 15 | * Gave idea: Алексей Левин(VK) 16 | * Extension: Reaper 6.04+ http://www.reaper.fm/ 17 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 18 | * Changelog: 19 | * v.1.0 [24.02.20] 20 | * + initialе 21 | --]] 22 | --====================================================================================== 23 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 24 | --====================================================================================== 25 | 26 | 27 | 28 | ------------------------------------------------------- 29 | local function no_undo()reaper.defer(function()end)end; 30 | ------------------------------------------------------- 31 | 32 | 33 | local x, y = reaper.GetMousePosition(); 34 | local track, info = reaper.GetTrackFromPoint(x,y); 35 | if not track or info ~= 0 then no_undo() return end; 36 | 37 | 38 | reaper.Undo_BeginBlock(); 39 | reaper.PreventUIRefresh(1); 40 | 41 | 42 | local GUID = reaper.GetTrackGUID(track); 43 | reaper.SetMediaTrackInfo_Value(track,'I_SOLO',1); 44 | 45 | ------- 46 | local ExtState = reaper.GetExtState('AlexeyLevinVKSOLOWheel','guide'); 47 | local trackGuid = reaper.BR_GetMediaTrackByGUID(0,ExtState); 48 | 49 | if trackGuid then; 50 | reaper.SetMediaTrackInfo_Value(trackGuid,'I_SOLO',0); 51 | reaper.DeleteExtState('AlexeyLevinVKSOLOWheel','guide',false); 52 | end; 53 | ------- 54 | 55 | reaper.SetExtState('AlexeyLevinVKSOLOWheel','guide',GUID,false); 56 | 57 | 58 | reaper.PreventUIRefresh(1); 59 | reaper.Undo_EndBlock('Solo track under mouse cursor - unsolo previous solo track',-1); 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; Toggle Arm Selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; Toggle Arm Selected track.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: AlexLazer(rmm) 16 | * Gave idea: AlexLazer(rmm) 17 | * Extension: Reaper 5.981+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [030620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local FirstSelTrack = reaper.GetSelectedTrack(0,0); 35 | if not FirstSelTrack then no_undo() return end; 36 | 37 | local arm = reaper.GetMediaTrackInfo_Value(FirstSelTrack,'I_RECARM'); 38 | arm = math.abs(arm-1); 39 | 40 | for i = 1, reaper.CountSelectedTracks(0) do; 41 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 42 | local arm2 = reaper.GetMediaTrackInfo_Value(SelTrack,'I_RECARM'); 43 | if arm2 ~= arm then; 44 | if not UNDO then; 45 | reaper.Undo_BeginBlock(); 46 | reaper.PreventUIRefresh(1); 47 | UNDO = true; 48 | end; 49 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_RECARM',arm); 50 | end; 51 | end; 52 | 53 | if UNDO then; 54 | reaper.PreventUIRefresh(-1); 55 | local ttl; 56 | if arm ~= 0 then ttl = 'Arm' else ttl = 'UnArm'end; 57 | reaper.Undo_EndBlock(ttl..' Selected track',-1); 58 | else; 59 | no_undo(); 60 | end; 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; UnArm Selected track.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; UnArm Selected track.lua 8 | * Author: Archie 9 | * Version: 1.02 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: AlexLazer(rmm) 16 | * Gave idea: AlexLazer(rmm) 17 | * Extension: Reaper 5.981+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [030620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local CountSelTrack = reaper.CountSelectedTracks(0); 35 | if CountSelTrack == 0 then no_undo() return end; 36 | 37 | 38 | for i = 1, CountSelTrack do; 39 | local SelTrack = reaper.GetSelectedTrack(0,i-1); 40 | local arm = reaper.GetMediaTrackInfo_Value(SelTrack,'I_RECARM'); 41 | if arm ~= 0 then; 42 | if not UNDO then; 43 | reaper.Undo_BeginBlock(); 44 | reaper.PreventUIRefresh(1); 45 | UNDO = true; 46 | end; 47 | reaper.SetMediaTrackInfo_Value(SelTrack,'I_RECARM',0); 48 | end; 49 | end; 50 | 51 | 52 | if UNDO then; 53 | reaper.PreventUIRefresh(-1); 54 | reaper.Undo_EndBlock('UnArm Selected track',-1); 55 | else; 56 | no_undo(); 57 | end; 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /MAIN/Track/Archie_Track; UnMute all selected tracks except selected folders.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Track 7 | * Description: Track; UnMute all selected tracks except selected folders.lua 8 | * Author: Archie 9 | * Version: 1.01 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Customer: Archie(---) 16 | * Gave idea: Archie(---) 17 | * Extension: Reaper 6.08+ http://www.reaper.fm/ 18 | * SWS v.2.10.0 http://www.sws-extension.org/index.php 19 | * Changelog: 20 | * v.1.0 [080620] 21 | * + initialе 22 | --]] 23 | --====================================================================================== 24 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 25 | --====================================================================================== 26 | 27 | 28 | 29 | ------------------------------------------------------- 30 | local function no_undo()reaper.defer(function()end)end; 31 | ------------------------------------------------------- 32 | 33 | 34 | local CountSelTrack = reaper.CountSelectedTracks(0); 35 | if CountSelTrack == 0 then no_undo()return end; 36 | 37 | 38 | for i = 1,CountSelTrack do; 39 | local TrackSel = reaper.GetSelectedTrack(0,i-1); 40 | local fold = reaper.GetMediaTrackInfo_Value(TrackSel,"I_FOLDERDEPTH")==1; 41 | if not fold then; 42 | local mute = reaper.GetMediaTrackInfo_Value(TrackSel,"B_MUTE")==1; 43 | if mute then; 44 | if not UNDO then; 45 | reaper.Undo_BeginBlock(); 46 | reaper.PreventUIRefresh(1); 47 | UNDO = true; 48 | end; 49 | reaper.SetMediaTrackInfo_Value(TrackSel,"B_MUTE",0); 50 | end; 51 | 52 | end; 53 | end; 54 | 55 | 56 | if UNDO then; 57 | reaper.Undo_EndBlock("UnMute all selected tracks except selected folders",-1); 58 | reaper.PreventUIRefresh(-1); 59 | else; 60 | no_undo(); 61 | end; 62 | 63 | 64 | -------------------------------------------------------------------------------- /MAIN/Various/Archie_Var; Move cursor to next end-start of selected item.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Various 3 | * Description: Move cursor to next end-start of selected item 4 | * Author: Archie 5 | * Version: 1.02 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * http://rmmedia.ru/threads/134701/ 8 | * Donation: http://money.yandex.ru/to/410018003906628 9 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 10 | * Customer: HDVulcan(RMM) 11 | * Gave idea: HDVulcan(RMM) 12 | * Changelog: 13 | * v.1.0 [30.10.2019] 14 | * initialе 15 | --]] 16 | 17 | --====================================================================================== 18 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 19 | --====================================================================================== 20 | 21 | 22 | 23 | ------------------------------------------------------- 24 | local function no_undo()reaper.defer(function()end)end; 25 | ------------------------------------------------------- 26 | 27 | 28 | local CountSelItems = reaper.CountSelectedMediaItems(0); 29 | if CountSelItems == 0 then no_undo()return end; 30 | 31 | local timeT = {}; 32 | 33 | for i = 1,CountSelItems do; 34 | local selItem = reaper.GetSelectedMediaItem(0,i-1); 35 | local pos = reaper.GetMediaItemInfo_Value(selItem,"D_POSITION"); 36 | local len = reaper.GetMediaItemInfo_Value(selItem,"D_LENGTH"); 37 | table.insert(timeT,pos); 38 | table.insert(timeT,pos+len); 39 | table.sort(timeT); 40 | end; 41 | 42 | local editCursor = reaper.GetCursorPosition(); 43 | 44 | for i = 1,#timeT do; 45 | if timeT[i] > editCursor then 46 | reaper.SetEditCurPos(timeT[i],true,false); 47 | break; 48 | end; 49 | end; 50 | 51 | no_undo(); -------------------------------------------------------------------------------- /MAIN/Various/Archie_Var; Move cursor to previous end-start of selected item.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: Various 3 | * Description: Move cursor to previous end-start of selected item 4 | * Author: Archie 5 | * Version: 1.02 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * http://rmmedia.ru/threads/134701/ 8 | * Donation: http://money.yandex.ru/to/410018003906628 9 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 10 | * Customer: HDVulcan(RMM) 11 | * Gave idea: HDVulcan(RMM) 12 | * Changelog: 13 | * v.1.0 [30.10.2019] 14 | * initialе 15 | --]] 16 | 17 | --====================================================================================== 18 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 19 | --====================================================================================== 20 | 21 | 22 | 23 | ------------------------------------------------------- 24 | local function no_undo()reaper.defer(function()end)end; 25 | ------------------------------------------------------- 26 | 27 | 28 | local CountSelItems = reaper.CountSelectedMediaItems(0); 29 | if CountSelItems == 0 then no_undo()return end; 30 | 31 | local timeT = {}; 32 | 33 | for i = 1,CountSelItems do; 34 | local selItem = reaper.GetSelectedMediaItem(0,i-1); 35 | local pos = reaper.GetMediaItemInfo_Value(selItem,"D_POSITION"); 36 | local len = reaper.GetMediaItemInfo_Value(selItem,"D_LENGTH"); 37 | table.insert(timeT,pos); 38 | table.insert(timeT,pos+len); 39 | table.sort(timeT); 40 | end; 41 | 42 | local editCursor = reaper.GetCursorPosition(); 43 | 44 | for i = #timeT,1,-1 do; 45 | if timeT[i] < editCursor then; 46 | reaper.SetEditCurPos(timeT[i],true,false); 47 | break; 48 | end; 49 | end; 50 | 51 | no_undo(); -------------------------------------------------------------------------------- /MAIN/Various/Archie_var; Volume change on tracks or items by 1 dB (mouse wheel).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Various 7 | * Description: Archie_var; Volume change on tracks or items by 1 dB (mouse wheel).lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Changelog: 16 | * v.1.0 [050221] 17 | * + initialе 18 | --]] 19 | 20 | 21 | ------------ 22 | local DB = 1 23 | ------------ 24 | 25 | 26 | 27 | 28 | --------------------------------------------------------- 29 | local function no_undo();reaper.defer(function()end);end; 30 | --------------------------------------------------------- 31 | 32 | 33 | ---------------------------------------------------- 34 | local _,_,_,_,_,_,val = reaper.get_action_context() 35 | if val <= 0 then 36 | DB = DB-DB*2 37 | end 38 | ---------------------------------------------------- 39 | 40 | 41 | ---------------------------------------------------- 42 | local screen_x,screen_y = reaper.GetMousePosition() 43 | local item, take = reaper.GetItemFromPoint(screen_x,screen_y,false) 44 | local track,info = reaper.GetTrackFromPoint(screen_x,screen_y) 45 | 46 | if item then 47 | 48 | local vol = reaper.GetMediaItemInfo_Value( item, 'D_VOL' ) 49 | local vol = 20 * math.log(vol,10); 50 | reaper.SetMediaItemInfo_Value(item,"D_VOL",(10^((vol+DB)/20))) 51 | 52 | elseif info == 0 then 53 | if track then 54 | 55 | local vol = reaper.GetMediaTrackInfo_Value( track, 'D_VOL' ) 56 | local vol = 20 * math.log(vol,10); 57 | reaper.SetMediaTrackInfo_Value(track,"D_VOL",(10^((vol+DB)/20))) 58 | end 59 | end 60 | reaper.UpdateArrange() 61 | ---------------------------------------------------- 62 | no_undo() -------------------------------------------------------------------------------- /MAIN/Various/Archie_var; Volume down on tracks or items by 1 dB.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Various 7 | * Description: Archie_var; Volume down on tracks or items by 1 dB.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Changelog: 16 | * v.1.0 [050221] 17 | * + initialе 18 | --]] 19 | 20 | 21 | ------------- 22 | local DB = -1 23 | ------------- 24 | 25 | 26 | 27 | --------------------------------------------------------- 28 | local function no_undo();reaper.defer(function()end);end; 29 | --------------------------------------------------------- 30 | 31 | 32 | ---------------------------------------------------- 33 | local screen_x,screen_y = reaper.GetMousePosition() 34 | local item, take = reaper.GetItemFromPoint(screen_x,screen_y,false) 35 | local track,info = reaper.GetTrackFromPoint(screen_x,screen_y) 36 | 37 | if item then 38 | 39 | local vol = reaper.GetMediaItemInfo_Value( item, 'D_VOL' ) 40 | local vol = 20 * math.log(vol,10); 41 | reaper.SetMediaItemInfo_Value(item,"D_VOL",(10^((vol+DB)/20))) 42 | 43 | elseif info == 0 then 44 | if track then 45 | 46 | local vol = reaper.GetMediaTrackInfo_Value( track, 'D_VOL' ) 47 | local vol = 20 * math.log(vol,10); 48 | reaper.SetMediaTrackInfo_Value(track,"D_VOL",(10^((vol+DB)/20))) 49 | end 50 | end 51 | reaper.UpdateArrange() 52 | ---------------------------------------------------- 53 | no_undo() -------------------------------------------------------------------------------- /MAIN/Various/Archie_var; Volume up on tracks or items by 1 dB.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Various 7 | * Description: Archie_var; Volume up on tracks or items by 1 dB.lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 15 | * Changelog: 16 | * v.1.0 [050221] 17 | * + initialе 18 | --]] 19 | 20 | 21 | 22 | ------------ 23 | local DB = 1 24 | ------------ 25 | 26 | 27 | 28 | --------------------------------------------------------- 29 | local function no_undo();reaper.defer(function()end);end; 30 | --------------------------------------------------------- 31 | 32 | 33 | ---------------------------------------------------- 34 | local screen_x,screen_y = reaper.GetMousePosition() 35 | local item, take = reaper.GetItemFromPoint(screen_x,screen_y,false) 36 | local track,info = reaper.GetTrackFromPoint(screen_x,screen_y) 37 | 38 | if item then 39 | 40 | local vol = reaper.GetMediaItemInfo_Value( item, 'D_VOL' ) 41 | local vol = 20 * math.log(vol,10); 42 | reaper.SetMediaItemInfo_Value(item,"D_VOL",(10^((vol+DB)/20))) 43 | 44 | elseif info == 0 then 45 | if track then 46 | 47 | local vol = reaper.GetMediaTrackInfo_Value( track, 'D_VOL' ) 48 | local vol = 20 * math.log(vol,10); 49 | reaper.SetMediaTrackInfo_Value(track,"D_VOL",(10^((vol+DB)/20))) 50 | end 51 | end 52 | reaper.UpdateArrange() 53 | ---------------------------------------------------- 54 | no_undo() -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Close Midi Editor(return the window in Docker).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MidiEditor 3 | * Description: Close Midi Editor(return the window in Docker) 4 | * Oписание: Закрыть редактор Midi(вернуть окно в докер) 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * Author: Archie 9 | * Version: 1.0 10 | * customer: --- 11 | * gave idea: --- 12 | --====================================]] 13 | 14 | 15 | 16 | --=========================================================================== 17 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 18 | --=========================================================================== 19 | 20 | 21 | 22 | ----------------------------------------------------------------------------- 23 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 24 | ----------------------------------------------------------------------------- 25 | 26 | 27 | local MidiEditor = reaper.MIDIEditor_GetActive() 28 | if not MidiEditor then no_undo() return end 29 | 30 | local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context() 31 | local toggle_state = reaper.GetToggleCommandStateEx(sectionID, 40018) 32 | if toggle_state == 0 then 33 | reaper.MIDIEditor_OnCommand(MidiEditor,40018)--Options: Toggle window docking 34 | end 35 | --- 36 | reaper.MIDIEditor_OnCommand( MidiEditor, 40794 )--View: Toggle show MIDI editor windows 37 | 38 | 39 | reaper.Undo_BeginBlock() 40 | reaper.Undo_EndBlock( "Close Midi Editor(return the window in Docker)", 1 ) 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Close Midi Editor.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MidiEditor 3 | * Description: Close Midi Editor 4 | * Oписание: Закрыть редактор Midi 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * Author: Archie 9 | * Version: 1.0 10 | * customer: --- 11 | * gave idea: --- 12 | --====================================]] 13 | 14 | 15 | 16 | --=========================================================================== 17 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 18 | --=========================================================================== 19 | 20 | 21 | 22 | ----------------------------------------------------------------------------- 23 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 24 | ----------------------------------------------------------------------------- 25 | 26 | 27 | 28 | local MidiEditor = reaper.MIDIEditor_GetActive() 29 | if not MidiEditor then no_undo() return end 30 | 31 | reaper.MIDIEditor_OnCommand( MidiEditor, 40794 )--View: Toggle show MIDI editor windows 32 | 33 | reaper.Undo_BeginBlock() 34 | reaper.Undo_EndBlock( "Close Midi Editor", 1 ) 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Close all midi editors except active one.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MidiEditor 3 | * Description: MidiEditor; Close all midi editors except active one.lua 4 | * GIF: --- 5 | * Website: http://forum.cockos.com/showthread.php?t=212819 6 | * DONATION: http://money.yandex.ru/to/410018003906628 7 | * DONATION: http://paypal.me/ReaArchie?locale.x=ru_RU 8 | * Author: Archie 9 | * Version: 1.0 10 | * customer: ---(---) 11 | * gave idea: ---(---) 12 | --====================================]] 13 | 14 | 15 | if not reaper.APIExists("JS_Localize") then; 16 | reaper.MB("js_ReaScriptAPI extension is required for this script.","Missing API",0); 17 | return; 18 | end; 19 | 20 | 21 | ------------------------------------------------------- 22 | local function no_undo()reaper.defer(function()end)end; 23 | ------------------------------------------------------- 24 | local midieditor = reaper.MIDIEditor_GetActive(); 25 | if not midieditor then no_undo()return end; 26 | 27 | 28 | local ret,list = reaper.JS_MIDIEditor_ListAll(); 29 | if ret > 1 then; 30 | local rea_hwnd = reaper.GetMainHwnd(); 31 | for adr in list:gmatch("[^,]+") do; 32 | local hwnd = reaper.JS_Window_HandleFromAddress(adr); 33 | if hwnd ~= rea_hwnd then; 34 | if hwnd ~= midieditor then; 35 | reaper.JS_Window_Destroy(hwnd); 36 | end; 37 | end; 38 | end; 39 | end; 40 | no_undo(); 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Open a floating instrument, appropriate MIDI editor.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MIDIEditor 3 | * Description: Open a floating instrument, appropriate MIDI editor 4 | * Oписание: Открыть плавающий инструмент, соответствующий MIDI-редактору 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * Author: Archie 9 | * Version: 1.0 10 | * customer: --- 11 | * gave idea: --- 12 | --========================================================]] 13 | 14 | 15 | 16 | --=========================================================================== 17 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 18 | --=========================================================================== 19 | 20 | 21 | 22 | ----------------------------------------------------------------------------- 23 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 24 | ----------------------------------------------------------------------------- 25 | 26 | 27 | 28 | local MidiEditor = reaper.MIDIEditor_GetActive() 29 | if not MidiEditor then no_undo() return end 30 | 31 | local Take = reaper.MIDIEditor_GetTake(MidiEditor) 32 | if not Take then no_undo() return end 33 | 34 | local Take_Track = reaper.GetMediaItemTake_Track(Take) 35 | 36 | local FirstInstrument = reaper.TrackFX_GetInstrument(Take_Track) 37 | if FirstInstrument >= 0 then 38 | reaper.TrackFX_Show(Take_Track, FirstInstrument, 3) 39 | end 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Open-close Notes window.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MidiEditor 3 | * Description: Open-close Notes window 4 | * Author: Archie 5 | * Version: 1.0 6 | * AboutScript: Open-close Notes window 7 | * О скрипте: Открыть-закрыть окно заметок 8 | * GIF: --- 9 | * Website: http://forum.cockos.com/showthread.php?t=212819 10 | * Donation: http://money.yandex.ru/to/410018003906628 11 | * Customer: Martin111(Rmm/forum) 12 | * Gave idea: Martin111(Rmm/forum) 13 | * Changelog: + initialе / v.1.0 14 | --===========================================================]] 15 | 16 | 17 | 18 | ----------------------------------------------------------------------------- 19 | local function No_Undo()end; local function no_undo()reaper.defer(No_Undo)end 20 | ----------------------------------------------------------------------------- 21 | 22 | 23 | 24 | local ActiveMIDIEditor = reaper.MIDIEditor_GetActive() 25 | if not ActiveMIDIEditor then no_undo() return end 26 | 27 | 28 | local command_id = reaper.NamedCommandLookup("_S&M_SHOW_NOTES_VIEW") 29 | reaper.Main_OnCommand(command_id,-1) 30 | no_undo() -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Scroll vertically (MIDI relativemousewheel)(3x).lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: MidiEditor 7 | * Description: MidiEditor; Scroll vertically (MIDI relative/mousewheel)(3x).lua 8 | * Author: Archie 9 | * Version: 1.0 10 | * Website: http://forum.cockos.com/showthread.php?t=212819 11 | * http://rmmedia.ru/threads/134701/ 12 | * http://vk.com/reaarchie 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * Customer: Archie(---) 15 | * Gave idea: Archie(---) 16 | * Changelog: 17 | * v.1.0 [250620] 18 | * + initialе 19 | --]] 20 | --====================================================================================== 21 | --//////////// НАСТРОЙКИ \\\\\\\\\\\\ SETTINGS //////////// НАСТРОЙКИ \\\\\\\\\\\\ 22 | --====================================================================================== 23 | 24 | local X = 3; 25 | 26 | --====================================================================================== 27 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 28 | --====================================================================================== 29 | 30 | 31 | ------------------------------------------------------- 32 | local function no_undo()reaper.defer(function()end)end; 33 | ------------------------------------------------------- 34 | 35 | 36 | local MidiEditor = reaper.MIDIEditor_GetActive(); 37 | if not MidiEditor then no_undo() return end; 38 | 39 | 40 | X = math.abs((tonumber(X)or 0)); 41 | local _,_,_,_,_,_,val = reaper.get_action_context(); 42 | if val > 0 then; 43 | for i = 1, X do; 44 | reaper.MIDIEditor_OnCommand(MidiEditor,40138);--View: Scroll view up 45 | end; 46 | else; 47 | for i = 1, X do; 48 | reaper.MIDIEditor_OnCommand(MidiEditor,40139);--View: Scroll view down 49 | end; 50 | end; 51 | 52 | no_undo(); 53 | 54 | 55 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; Show Instrument.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Тест только на windows / Test only on windows. 3 | * Отчет об ошибке: Если обнаружите какие либо ошибки, то сообщите по одной из указанных ссылок ниже (*Website) 4 | * Bug Reports: If you find any errors, please report one of the links below (*Website) 5 | * 6 | * Category: Midi Editor 7 | * Description: Show Instrument 8 | * Author: Archie 9 | * Version: 1.0 10 | * Описание: Показать инструмент 11 | * Website: http://forum.cockos.com/showthread.php?t=212819 12 | * http://rmmedia.ru/threads/134701/ 13 | * DONATION: http://money.yandex.ru/to/410018003906628 14 | * Customer: Darek(Rmm) 15 | * Gave idea: Darek(Rmm) 16 | * Extension: Reaper 6.02+ http://www.reaper.fm/ 17 | * Changelog: 18 | * v.1.0 [09.01.2020] 19 | * + initialе 20 | --]] 21 | --====================================================================================== 22 | --////////////// SCRIPT \\\\\\\\\\\\\\ SCRIPT ////////////// SCRIPT \\\\\\\\\\\\\\\\ 23 | --====================================================================================== 24 | 25 | 26 | 27 | 28 | ------------------------------------------------------- 29 | local function no_undo()reaper.defer(function()end)end; 30 | ------------------------------------------------------- 31 | 32 | local MidiEditor = reaper.MIDIEditor_GetActive(); 33 | if not MidiEditor then no_undo() return end; 34 | 35 | 36 | local Take = reaper.MIDIEditor_GetTake(MidiEditor); 37 | if not Take then no_undo() return end; 38 | 39 | 40 | local Item = reaper.GetMediaItemTake_Item(Take); 41 | if not Item then no_undo() return end; 42 | 43 | local Track = reaper.GetMediaItemTrack(Item); 44 | 45 | local Instrument = reaper.TrackFX_GetInstrument(Track); 46 | if Instrument < 0 then no_undo() return end; 47 | 48 | 49 | reaper.Undo_BeginBlock(); 50 | 51 | reaper.TrackFX_SetOpen(Track,Instrument,true); 52 | 53 | reaper.Undo_EndBlock("Show Instrument",-1); 54 | -------------------------------------------------------------------------------- /MIDI Editor/Archie_MidiEditor; select track of active midi editor.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | * Category: MidiEditor 3 | * Description: MidiEditor; select track of active midi editor.lua 4 | * Oписание: выберите трек активного midi editor 5 | * GIF: --- 6 | * Website: http://forum.cockos.com/showthread.php?t=212819 7 | * Donation: http://money.yandex.ru/to/410018003906628 8 | * Author: Archie 9 | * Version: 1.02 10 | * Customer: BRG(Rmm) 11 | * Gave idea: BRG(Rmm) 12 | --====================================]] 13 | 14 | 15 | 16 | --=========================================================================== 17 | --////////////////////////////// SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 18 | --=========================================================================== 19 | 20 | 21 | 22 | ------------------------------------------------------- 23 | local function no_undo()reaper.defer(function()end)end; 24 | ------------------------------------------------------- 25 | 26 | local MidiEditor = reaper.MIDIEditor_GetActive(); 27 | if not MidiEditor then no_undo() return end 28 | 29 | local take = reaper.MIDIEditor_GetTake(MidiEditor); 30 | if take then; 31 | track = reaper.GetMediaItemTake_Track(take); 32 | reaper.SetOnlyTrackSelected(track); 33 | reaper.defer(function()reaper.SetMixerScroll(track)end); 34 | end; 35 | 36 | reaper.Main_OnCommand(40913,0);--Vertical scroll selected tracks into view 37 | 38 | no_undo(); 39 | 40 | 41 | -------------------------------------------------------------------------------- /MIDI Editor/README.md: -------------------------------------------------------------------------------- 1 | ###                                                                                                                                    [***Archie_ReaScripts***](https://github.com/ArchieScript/Archie_ReaScripts) 2 | ----- 3 | -------------------------------------------------------------------------------- /MIDI Inline Editor/README.md: -------------------------------------------------------------------------------- 1 | ###                                                                                                                                    [***Archie_ReaScripts***](https://github.com/ArchieScript/Archie_ReaScripts) 2 | ----- 3 | -------------------------------------------------------------------------------- /MIDI Inline Editor/Test_.lua: -------------------------------------------------------------------------------- 1 | local Vers = "2.3" 2 | -- @Version 1.02 3 | -- @Provides [nomain]. 4 | 5 | --------------------------------------------------------------------------------