Skip to content

Instantly share code, notes, and snippets.

@ianmcook
Created February 12, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianmcook/fe1d4142cf2e936684ca8033efe17170 to your computer and use it in GitHub Desktop.
Save ianmcook/fe1d4142cf2e936684ca8033efe17170 to your computer and use it in GitHub Desktop.
Vented box loudspeaker equations
# vented box loudspeaker equations
Qts <- 0.40 # property of driver
fs <- 19 # property of driver
Vas <- 260 # property of driver
# you choose an alignment,
# choose a QL (assume 7 for starters),
# then look up the following values
# in the appropriate table on LDC p.58-62:
alignment <- "SC4" # you choose this
QL <- 7 # you guess this first then measure later; see LDC p.72-74
H <- 1.0103 # you look this up in the table
alpha <- 1.1146 # you look this up in the table
f3_div_fs <- 1.0215 # you look this up in the table
fb <- H * fs
f3 <- f3_div_fs * fs
f3 # Hz
Vb <- Vas / alpha
Vb / 28.3169 # cubic feet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment