i’m so sorry, i must have missed the notification for this reply (again! i dont know why that keeps happening, i apologize). thanks for the help. let me see here
ok so after i put just the “passthrough.lua” file inside of the Caliper script’s “Lib” folder, and added:
local Passthrough = include("lib/passthrough") to the top of the Caliper code, it did open this time.
so i don’t know if this is relevant here, but here is the matron log after i opened Caliper with the included passthrough file:
Summary
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- caliper
--
-- tuner with reference tone,
-- frequency counter,
-- v/oct calibration helper
--
-- e1 - set reference freq
-- e2 - set reference tone amp
-- e3 - set voltage offset
-- k1 - hold for fine control
-- k2/k3 - lower/raise voltage
-- offset in octaves
local Passthrough = include("lib/passthrough")
engine.name = 'Caliper'
musicutil = require 'musicutil'
filters = require 'filters'
log2 = math.log(2)
matron
sc
norns.script.load("code/caliper/caliper.lua")
# script load: /home/we/dust/code/caliper/caliper.lua
# cleanup
# script clear
including /home/we/dust/code/caliper/lib/passthrough.lua
# script run
loading engine: Caliper
>> reading PMAP /home/we/dust/data/caliper/caliper.pmap
m.read: /home/we/dust/data/caliper/caliper.pmap not read.
<ok>
Engine.register_commands; count: 3
___ engine commands ___
amp_threshold f
sine_amp f
sine_freq f
___ polls ___
amp_in_l
amp_in_r
amp_out_l
amp_out_r
cpu_avg
cpu_peak
input_freq
pitch_in_l
pitch_in_r
# script init
done allocating new mean filter
*EDIT: oops, i forgot “init”
ok, seems to be working now! i got the Passthrough menu in the Edit screen finally.i think the problem was that i wasn’t actually moving the passthrough lua file into the other script’s ‘lib’ directory. thank you so much for clarifying and great work on this. it will be very helpful