Skip to content

Commit

Permalink
Release Snapshooter v1.0 (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagolr authored Sep 16, 2023
1 parent 11d1e94 commit c53f044
Show file tree
Hide file tree
Showing 14 changed files with 6,451 additions and 0 deletions.
637 changes: 637 additions & 0 deletions Envelopes/tilr_Snapshooter.lua

Large diffs are not rendered by default.

5,686 changes: 5,686 additions & 0 deletions Envelopes/tilr_Snapshooter/rtk.lua

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter apply snap 1.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 1
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, false)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter apply snap 2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 2
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, false)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter apply snap 3.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 3
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, false)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter apply snap 4.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 4
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, false)
end
8 changes: 8 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter save snap 1.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

snapshooter.savesnap(1)
8 changes: 8 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter save snap 2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

snapshooter.savesnap(2)
8 changes: 8 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter save snap 3.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

snapshooter.savesnap(3)
8 changes: 8 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter save snap 4.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

snapshooter.savesnap(4)
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter write snap 1.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 1
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, true)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter write snap 2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 2
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, true)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter write snap 3.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 3
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, true)
end
12 changes: 12 additions & 0 deletions Envelopes/tilr_Snapshooter/tilr_Snapshooter write snap 4.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- @noindex

skip_init = true
local sep = package.config:sub(1, 1)
local script_folder = debug.getinfo(1).source:match("@?(.*[\\|/]).*[\\|/]")
local snapshooter = dofile(script_folder .. sep .. 'tilr_Snapshooter.lua')

local snap = 4
local hassnap = reaper.GetProjExtState(0, 'snapshooter', 'snap'..snap) ~= 0
if hassnap then
snapshooter.applysnap(snap, true)
end

0 comments on commit c53f044

Please sign in to comment.