04 January 2024, 23:56 | #1 |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
Is it possible to control the volume on an Amiga?
Is it possible to control the volume on an Amiga from the operating system, such as; mute / un-mute or increase / decrease the volume? Is this at all possible with software only? Or additional hardware would be needed? And if additional hardware was indeed needed would this mean bypassing Paula completely or something like what is done for keyboards (piggyback on chip) would be possible?
|
05 January 2024, 00:01 | #2 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,686
|
It depends on how the app is generating the sound: if done through audio.device or AHI then there would be an opportunity for the OS to intercept this and adjust the volume, however if it is done through direct hardware access then alas not.
|
05 January 2024, 08:32 | #3 |
Hardware Designer
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 51
Posts: 181
|
If you intend to grab audio in digital form, you will have to reproduce the audio part of Paula in your hardware, which is not easy. You can grab analog audio from Paula pins, but they are current outputs, so voltage signal on them is near zero. Then you have to reproduce original current to voltage converter (and audio filter) and disconnect the mainboard one. The latter is not easy, as Paula outputs are wired directly to an op-amp inputs. It means track cutting on PCB, at least in Amigas with PLCC Paula.
|
05 January 2024, 11:42 | #4 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,890
|
Paula is equipped with 4 DMA audio channels and each channel has separate volume control, also channel can be muted while being active.
Audio level as explained by Minuous can be controlled by OS or by directly controlling HW. |
05 January 2024, 12:13 | #5 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,478
|
Volume control at the hardware channel level is intrinsic to music playback routines.
i.e. You won't be able to "turn volume to 0 on all channels" because any music player that is running will be constantly changing the volume registers. Maybe the mute register bit isn't used by music playback routines. Have a go? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Assign a volume name to another volume name | Leon Besson | support.AmigaOS | 19 | 30 July 2023 13:42 |
integrating cd volume in master volume | honx | request.UAE Wishlist | 2 | 14 June 2020 22:43 |
CD audio volume change is not applied if Paula volume is changed, too | thomas | support.WinUAE | 1 | 21 March 2014 16:50 |
cd32 volume control for cd tracks | trydowave | support.WinUAE | 10 | 27 February 2011 23:03 |
WTB: Volume control device for Creative Inspire P380 2.1 speakers | keropi | MarketPlace | 0 | 17 December 2008 14:55 |
|
|