summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
author m1macrophage <168948267+m1macrophage@users.noreply.github.com>2025-04-02 01:31:23 -0700
committer GitHub <noreply@github.com>2025-04-02 10:31:23 +0200
commit3299e78baec5dd80b5fa708a8d57c8290b71b0e1 (patch)
tree5397356858fab8b1714510d226acdeb72580595e /scripts/src/sound.lua
parenta71c0333b75683dd5883bca172e2bfa5d1745e96 (diff)
Implemented VA EG (Envelope Generator) and VCA (Voltage Controlled Amplifier) sound devices. (#13545)
* sound/va_eg.cpp, sound/va_vca.cpp: Envelope generator and voltage-controlled amplifier. Implemented RC-based envelope generator and voltage-controlled amplifier devices. Replaced custom implementations in paia/fatman, linn/linndrum and oberheim/dmx. * Fixing comments. * More comment fixes. * Adding comments based on feedback. * Fixed typo.
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 22996ed36b0..53d5d6b7925 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1166,6 +1166,29 @@ if (SOUNDS["UPD7752"]~=null) then
}
end
+--------------------------------------------------
+-- Virtual analog envelope generators (EGs)
+--@src/devices/sound/va_eg.h,SOUNDS["VA_EG"] = true
+--------------------------------------------------
+
+if (SOUNDS["VA_EG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/va_eg.cpp",
+ MAME_DIR .. "src/devices/sound/va_eg.h",
+ }
+end
+
+--------------------------------------------------
+-- Virtual analog voltage-controlled amplifiers (VCAs)
+--@src/devices/sound/va_vca.h,SOUNDS["VA_VCA"] = true
+--------------------------------------------------
+
+if (SOUNDS["VA_VCA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/va_vca.cpp",
+ MAME_DIR .. "src/devices/sound/va_vca.h",
+ }
+end
---------------------------------------------------
-- VLM5030 speech synthesizer