projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix SNAFU in track-properties script
[ardour.git]
/
scripts
/
s_track_props.lua
diff --git
a/scripts/s_track_props.lua
b/scripts/s_track_props.lua
index 4dec5ad0c5e9838e9ec1c90d598afd1a52d7d244..ace268e920ccadd3924ba397cfd3323b7312813e 100644
(file)
--- a/
scripts/s_track_props.lua
+++ b/
scripts/s_track_props.lua
@@
-32,7
+32,7
@@
function factory () return function ()
t:set_comment ("This is a Drum Track", nil)
-- and set the fader to -7dB == 10 ^ (0.05 * -7)
t:set_comment ("This is a Drum Track", nil)
-- and set the fader to -7dB == 10 ^ (0.05 * -7)
- t:
amp():
gain_control():set_value (10 ^ (0.05 * -7), PBD.GroupControlDisposition.NoGroup)
+ t:gain_control():set_value (10 ^ (0.05 * -7), PBD.GroupControlDisposition.NoGroup)
end
end
end end
end
end
end end