summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
author m1macrophage <168948267+m1macrophage@users.noreply.github.com>2025-10-13 05:05:28 -0700
committer GitHub <noreply@github.com>2025-10-13 08:05:28 -0400
commit7baecf10008ba7bebc390b963c795fbfce7b1348 (patch)
tree9112e44acb335e4612e5c9ab8ca1119617097b19 /scripts/src/sound.lua
parent7ecdd213a553482976a66c04099ca6395ca16c9f (diff)
Added emulation of a CEM3320-based 4th-order LPF, and used it on the linndrum. (#14264)
* sound/va_vcf.cpp: Added a CEM3320 LPF device and used it on the linndrum. * Added a generic 4-th order LPF (VA_LPF4), based on the implementation in esq1.cpp. * Added a CEM3320_LPF4 specialization. * Used the CEM3320_LPF4 on the linndrum. * Implemented the corresponding VCF envelope generators on the linndrum. * Fixed alignment, made comments more resilient to code changes. * linndrum.cpp: Use pre-existing constant for VCF EG capacitor. * linndrum.cpp: Used logerror() for firmware bugs. * Renamed LOG_CV_OFFSET to LOG_CALIBRATION.
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 7f7d7506fe5..5d5bd768f65 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1190,6 +1190,18 @@ if (SOUNDS["VA_VCA"]~=null) then
}
end
+--------------------------------------------------
+-- Virtual analog voltage-controlled filters (VCFs)
+--@src/devices/sound/va_vcf.h,SOUNDS["VA_VCF"] = true
+--------------------------------------------------
+
+if (SOUNDS["VA_VCF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/va_vcf.cpp",
+ MAME_DIR .. "src/devices/sound/va_vcf.h",
+ }
+end
+
---------------------------------------------------
-- VLM5030 speech synthesizer
--@src/devices/sound/vlm5030.h,SOUNDS["VLM5030"] = true