English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 04 January 2024, 23:56   #1
Sim085
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?
Sim085 is offline  
Old 05 January 2024, 00:01   #2
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
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.
Minuous is offline  
Old 05 January 2024, 08:32   #3
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 51
Posts: 181
Quote:
Originally Posted by Sim085 View Post
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?
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.
Krashan is offline  
Old 05 January 2024, 11:42   #4
pandy71
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.
pandy71 is offline  
Old 05 January 2024, 12:13   #5
alexh
Thalion Webshrine
 
alexh's Avatar
 
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?
alexh is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:04.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06542 seconds with 13 queries