mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Fix various typos
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sord,sur,te,trough,ue`
Follow-up to 364f2f078
This commit is contained in:
parent
a77ac7107f
commit
3d395585c1
51 changed files with 91 additions and 91 deletions
|
|
@ -254,7 +254,7 @@ function dsp_run (ins, outs, n_samples)
|
|||
hp[c][ho+1]:run (mem:to_float (off), siz)
|
||||
ARDOUR.DSP.mix_buffers_with_gain (outs[c]:offset (off), mem:to_float (off), siz, xfade)
|
||||
-- also run the next biquad because it needs to have the correct state
|
||||
-- in case it start affecting the next chunck of output. Higher order
|
||||
-- in case it start affecting the next chunk of output. Higher order
|
||||
-- ones are guaranteed not to be needed for the next run because the
|
||||
-- interpolated order won't increase more than 0.86 in one step thanks
|
||||
-- to the choice of the value of |lpf|.
|
||||
|
|
@ -283,7 +283,7 @@ function dsp_run (ins, outs, n_samples)
|
|||
lp[c][lo+1]:run (mem:to_float (off), siz)
|
||||
ARDOUR.DSP.mix_buffers_with_gain (outs[c]:offset (off), mem:to_float (off), siz, xfade)
|
||||
-- also run the next biquad in case it start affecting the next
|
||||
-- chunck of output.
|
||||
-- chunk of output.
|
||||
if lo + 2 <= 4 then lp[c][lo+2]:run (mem:to_float (off), siz) end
|
||||
elseif lo + 1 <= 4 then
|
||||
-- run the next biquad in case it is used next chunk
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ function factory ()
|
|||
if (e:buffer():array()[1] & 0xf0) == 0x90 then -- note on
|
||||
Session:maybe_enable_record (true) -- global record-enable from rt-context
|
||||
-- maybe-enable may fail if there are no tracks or step-entry is active
|
||||
-- roll transport if record-enable suceeded:
|
||||
-- roll transport if record-enable succeeded:
|
||||
if ARDOUR.Session.RecordState.Enabled == Session:record_status() then
|
||||
Session:request_roll (ARDOUR.TransportRequestSource.TRS_UI) -- ...and go.
|
||||
end
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function dsp_configure (ins, outs)
|
|||
n_out = outs
|
||||
end
|
||||
|
||||
-- "dsp_runmap" uses Ardour's internal processor API, eqivalent to
|
||||
-- "dsp_runmap" uses Ardour's internal processor API, equivalent to
|
||||
-- 'connect_and_run()". There is no overhead (mapping, translating buffers).
|
||||
-- The lua implementation is responsible to map all the buffers directly.
|
||||
function dsp_runmap (bufs, in_map, out_map, n_samples, offset)
|
||||
|
|
@ -76,7 +76,7 @@ function dsp_runmap (bufs, in_map, out_map, n_samples, offset)
|
|||
end
|
||||
-- Clear unconnected output buffers.
|
||||
-- In case we're processing in-place some buffers may be identical,
|
||||
-- so this must be done *after* copying relvant data from that port.
|
||||
-- so this must be done *after* copying relevant data from that port.
|
||||
for c = 1, audio_outs do
|
||||
local ib = in_map:get (ARDOUR.DataType ("audio"), c - 1)
|
||||
local ob = out_map:get (ARDOUR.DataType ("audio"), c - 1)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ function route_setup ()
|
|||
end
|
||||
|
||||
-- The Script can be used as EditorAction in which case it *could*
|
||||
-- optionally provide instantiation parmaters..
|
||||
-- optionally provide instantiation parameters..
|
||||
--[[
|
||||
function action_params ()
|
||||
return
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function route_setup ()
|
|||
end
|
||||
|
||||
-- The Script can be used as EditorAction in which case it can
|
||||
-- optionally provide instantiation parmaters
|
||||
-- optionally provide instantiation parameters
|
||||
function action_params ()
|
||||
return
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ function factory () return function ()
|
|||
-- f = vamp:plugin ():process (); callback (f)
|
||||
vamp:analyze (r:to_readable (), 0, callback)
|
||||
|
||||
-- get remaining features (end of analyis)
|
||||
-- get remaining features (end of analysis)
|
||||
callback (vamp:plugin ():getRemainingFeatures ())
|
||||
|
||||
-- reset the plugin (prepare for next iteration)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ function factory () return function ()
|
|||
|
||||
-- run the plugin, analyze the first channel of the audio-region
|
||||
vamp:analyze (r:to_readable (), 0, callback)
|
||||
-- get remaining features (end of analyis)
|
||||
-- get remaining features (end of analysis)
|
||||
callback (vamp:plugin ():getRemainingFeatures ())
|
||||
-- reset the plugin (prepare for next iteration)
|
||||
vamp:reset ()
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ function factory (unused_params)
|
|||
if k > 1 or v ~= last then
|
||||
-- Create automation point re-scaled to parameter target range. Do not create a new point
|
||||
-- at cycle start if the last cycle ended on the same value. Using al:add seems to lead
|
||||
-- to unwanted extranous events. al:editor_add does not exhibit these side effects.
|
||||
-- to unwanted extraneous events. al:editor_add does not exhibit these side effects.
|
||||
al:editor_add(pos, lower + v * (upper - lower), false)
|
||||
end
|
||||
last = v
|
||||
|
|
@ -161,7 +161,7 @@ function factory (unused_params)
|
|||
end
|
||||
|
||||
-- remove dense events
|
||||
al:thin (20) -- threashold of area below curve
|
||||
al:thin (20) -- threshold of area below curve
|
||||
|
||||
-- TODO: display the modified automation lane in the time line in order to make the change visible!
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ function factory () return function ()
|
|||
{ type = "heading", title = "Target Track and Plugin", align = "left"},
|
||||
{ type = "dropdown", key = "param", title = "Target Parameter", values = targets }
|
||||
}
|
||||
local rv = LuaDialog.Dialog ("Select Taget", dialog_options):run ()
|
||||
local rv = LuaDialog.Dialog ("Select Target", dialog_options):run ()
|
||||
|
||||
targets = nil -- drop references (the table holds shared-pointer references to all plugins)
|
||||
collectgarbage () -- and release the references immediately
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ ardour {
|
|||
}
|
||||
|
||||
-- The number of remapping pairs to allow. Increasing this (at least in theory)
|
||||
-- decreases performace, so it's set fairly low as a default. The user can
|
||||
-- decreases performance, so it's set fairly low as a default. The user can
|
||||
-- increase this if they have a need to.
|
||||
N_REMAPINGS = 10
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ ardour {
|
|||
category = "Filter",
|
||||
license = "MIT",
|
||||
author = "Ardour Community",
|
||||
description = [[Notch Filter Bank; useful to remove noise with a harmonic spectum (e.g, mains hum, GSM signals, charge-pump noise, etc).
|
||||
description = [[Notch Filter Bank; useful to remove noise with a harmonic spectrum (e.g, mains hum, GSM signals, charge-pump noise, etc).
|
||||
Note: this plugin is not suitable to be automated, it is intended for static noise only.]]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ following settings have to be ensured.
|
|||
* The last (failed) capture has to be cleared
|
||||
* Location markers have to be cleared
|
||||
|
||||
So this script automizes away the task and lets the podcast moderator by just one
|
||||
action (for example triggerd by a Wiimote) prepare the session for recording.
|
||||
So this script automates away the task and lets the podcast moderator by just one
|
||||
action (for example triggered by a Wiimote) prepare the session for recording.
|
||||
|
||||
It can be used for example with the python script of the Linux podcasting hacks:
|
||||
https://github.com/linux-podcasting-hacks/wiimote-recording-control
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ function factory() return function()
|
|||
if pref["sends"] then
|
||||
reset_send_controls(route, disp, auto)
|
||||
|
||||
-- Can't use reset() on this becuase ctrl:desc().normal
|
||||
-- Can't use reset() on this because ctrl:desc().normal
|
||||
-- for master_send_enable_controllable is 0, and we really
|
||||
-- want 1.
|
||||
local msec = route:master_send_enable_controllable()
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ function factory () return function ()
|
|||
local beat_map = {}
|
||||
local prev_beat = 0
|
||||
|
||||
-- construct a progress-dialog with cancle button
|
||||
-- construct a progress-dialog with cancel button
|
||||
local pdialog = LuaDialog.ProgressWindow ("Rubberband", true)
|
||||
-- progress dialog callbacks
|
||||
function vamp_callback (_, pos)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ function factory () return function ()
|
|||
|
||||
-- all done, commit the combined Undo Operation
|
||||
if add_undo then
|
||||
-- the 'nil' Commend here mean to use the collected diffs added above
|
||||
-- the 'nil' Command here means to use the collected diffs added above
|
||||
Session:commit_reversible_command (nil)
|
||||
else
|
||||
Session:abort_reversible_command ()
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function factory () return function ()
|
|||
local before = al:get_state ()
|
||||
|
||||
-- remove dense events
|
||||
al:thin (50) -- threashold of area below curve
|
||||
al:thin (50) -- threshold of area below curve
|
||||
|
||||
-- save undo
|
||||
local after = al:get_state ()
|
||||
|
|
@ -39,7 +39,7 @@ function factory () return function ()
|
|||
|
||||
-- all done, commit the combined Undo Operation
|
||||
if add_undo then
|
||||
-- the 'nil' Commend here mean to use the collected diffs added above
|
||||
-- the 'nil' Command here means to use the collected diffs added above
|
||||
Session:commit_reversible_command (nil)
|
||||
else
|
||||
Session:abort_reversible_command ()
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ function factory () return function ()
|
|||
-- event using the session realtime-event dispatch mechanism:
|
||||
Session:set_control (t:solo_control(), 1, PBD.GroupControlDisposition.NoGroup)
|
||||
|
||||
-- unmute the track, this also examplifies how one could use lists to modify
|
||||
-- unmute the track, this also exemplifies how one could use lists to modify
|
||||
-- multiple controllables at the same time (they should be of the same
|
||||
-- parameter type - e.g. mute_control() of multiple tracks, they'll all
|
||||
-- change simultaneously in rt-context)
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ function factory () return function ()
|
|||
{ type = "dropdown", key = "tx", title = "MIDI SysEx Target", values = midi_targets () }
|
||||
}
|
||||
|
||||
local rv = LuaDialog.Dialog ("Select Scala File and MIDI Taget", dialog_options):run ()
|
||||
local rv = LuaDialog.Dialog ("Select Scala File and MIDI Target", dialog_options):run ()
|
||||
dialog_options = nil -- drop references (track, plugins, shared ptr)
|
||||
collectgarbage () -- and release the references immediately
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ function dsp_configure (ins, outs)
|
|||
-- store configuration in global variable
|
||||
audio_ins = ins:n_audio ()
|
||||
-- allocate shared memory area
|
||||
-- this is used to speed up DSP computaton (using a C array)
|
||||
-- this is used to speed up DSP computation (using a C array)
|
||||
-- and to share data with the GUI
|
||||
self:shmem ():allocate (4 + bufsiz * audio_ins)
|
||||
self:shmem ():clear ()
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ ardour {
|
|||
-- (e.g. ~/.config/ardour5/templates/Template-Name/template.lua)
|
||||
--
|
||||
--
|
||||
---- For use as meta-session (specic session-setup scripts)
|
||||
---- For use as meta-session (specific session-setup scripts)
|
||||
--
|
||||
-- Every Lua script in the script-folder of type "SessionInit"
|
||||
-- is listed as implicit template in the new-session dialog.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ local SHMEM_AUDIO = 2
|
|||
-- a C memory area.
|
||||
-- It needs to be in global scope.
|
||||
-- When the variable is set to nil, the allocated memory is free()ed.
|
||||
-- the memory can be interpeted as float* for use in DSP, or read/write
|
||||
-- the memory can be interpreted as float* for use in DSP, or read/write
|
||||
-- to a C++ Ringbuffer instance.
|
||||
-- http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:DSP:DspShm
|
||||
local cmem = nil
|
||||
|
|
@ -70,7 +70,7 @@ function dsp_init (rate)
|
|||
cmem = ARDOUR.DSP.DspShm (8192)
|
||||
end
|
||||
|
||||
-- "dsp_runmap" uses Ardour's internal processor API, eqivalent to
|
||||
-- "dsp_runmap" uses Ardour's internal processor API, equivalent to
|
||||
-- 'connect_and_run()". There is no overhead (mapping, translating buffers).
|
||||
-- The lua implementation is responsible to map all the buffers directly.
|
||||
function dsp_runmap (bufs, in_map, out_map, n_samples, offset)
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ end end
|
|||
|
||||
|
||||
-- render an icon for the toolbar action-button
|
||||
-- this is genrally square width == height.
|
||||
-- this is generally square width == height.
|
||||
-- The background is set according to the theme (leave transparent when drawing).
|
||||
-- A foreground color is passed as parameter 'fg'
|
||||
--
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function factory () return function ()
|
|||
{ type = "dropdown", key = "port", title = "Target Port", values = portlist () }
|
||||
}
|
||||
|
||||
local rv = LuaDialog.Dialog ("Select Taget", dialog_options):run ()
|
||||
local rv = LuaDialog.Dialog ("Select Target", dialog_options):run ()
|
||||
dialog_options = nil -- drop references (ports, shared ptr)
|
||||
collectgarbage () -- and release the references immediately
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue