How does Audacity control the mixer volume on the computer?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Emerogork
Posts: 315
Joined: Wed May 18, 2011 11:56 pm
Operating System: Windows 10

How does Audacity control the mixer volume on the computer?

Post by Emerogork » Sun Sep 23, 2018 9:15 pm

I am creating an automatic-gain-control using VBA and Excel. (My major project is on Excel).

It looks as if when I change the speaker level in Audacity, it changes the system volume level.
I would like to know the code that is being used.

I hear that Audacity is written in C and I do have a vague recollection of that from my college years abut if I can at least see the code, maybe I can translate it or be able to ask questions in a programming forum.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How does Audacity control the mixer volume on the computer?

Post by steve » Mon Sep 24, 2018 8:36 am

Audacity uses PortAudio to communicate with the sound system: http://www.portaudio.com/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply