fix typos in share/scripts directory

Found via `codespell -q 3 -S "*.pdf,*.po,./.git,*.tosc,./waf,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch" -L acount,addin,ane,ba,buss,busses,caf,capela,devine,disconnectin,discreet,doubleclick,envolution,filetest,fo,ghandi,homs,hsi,layed,maschine,mis,nd,ontop,pass-thru,removeable,retrn,ro,scrollin,sectionin,seh,siz,sord,sur,te,trough,ue,wth`
This commit is contained in:
luzpaz 2025-01-07 20:31:55 +00:00 committed by Robin Gareus
parent f4562a9b4c
commit 52f3986cb6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
12 changed files with 22 additions and 22 deletions

View file

@ -394,7 +394,7 @@ function dsp_run (_, _, n_samples)
-- rolling state: It seems that we need to check the transport state (as
-- given by Ardour's "transport finite state machine" = TFSM) here, even if
-- the transport is not actually moving yet. Otherwise some input notes may
-- errorneously slip through before playback really starts.
-- erroneously slip through before playback really starts.
local rolling = Session:transport_state_rolling ()
-- whether the pattern must be recomputed, due to parameter changes or MIDI
-- input
@ -623,7 +623,7 @@ function dsp_run (_, _, n_samples)
-- next beat is due immediately
bt, ts = time.beat, time.sample
elseif bf2 > bf1 and bf2 ~= b2 then
-- next beat is due some time in this cycle (we're assuming contant
-- next beat is due some time in this cycle (we're assuming constant
-- tempo here, hence this number may be off in case the tempo is
-- changing very quickly during the cycle -- so don't do that)
local d = math.ceil((b2-bf2)/(b2-b1)*(s2-s1))