My Math Forum  

Go Back   My Math Forum > Science Forums > Computer Science

Computer Science Computer Science Forum


Closed Thread
 
LinkBack Thread Tools Display Modes
April 12th, 2018, 04:12 AM   #1
Banned Camp
 
Joined: Nov 2017
From: india

Posts: 204
Thanks: 2

How digital volume work?

Hello
how digital volume work, like in analog there is potentiometer.
how digital volume work??
integration is offline  
 
April 13th, 2018, 04:31 AM   #2
Senior Member
 
Joined: Apr 2014
From: UK

Posts: 892
Thanks: 328

The volume control is not a potentiometer, it is usually a rotary encoder, basically you get pulses from it when it turns, google them for more information.
A controller of some sort reads the pulses and counts up/down then multiplies the volume level by the outgoing sound.
weirddave is offline  
April 13th, 2018, 08:57 AM   #3
Banned Camp
 
Joined: Nov 2017
From: india

Posts: 204
Thanks: 2

Please tell more how it work; I am not getting it.

Last edited by skipjack; April 16th, 2018 at 07:30 AM.
integration is offline  
April 16th, 2018, 01:05 AM   #4
Senior Member
 
Joined: Apr 2014
From: UK

Posts: 892
Thanks: 328

The sound is represented as numbers which are converted to sound. Before that conversion, we can multiply them by another number, this gives us control of the volume digitally.
weirddave is offline  
April 16th, 2018, 07:44 PM   #5
Banned Camp
 
Joined: Nov 2017
From: india

Posts: 204
Thanks: 2

the sound is pwm?
integration is offline  
April 17th, 2018, 12:10 AM   #6
Senior Member
 
Joined: Apr 2014
From: UK

Posts: 892
Thanks: 328

No, it's an analogue waveform.
https://www.sfu.ca/~gotfrit/ZAP_Sept...d/digital.html
weirddave is offline  
April 17th, 2018, 01:25 AM   #7
Banned Camp
 
Joined: Nov 2017
From: india

Posts: 204
Thanks: 2

which ic do this work?
integration is offline  
April 18th, 2018, 03:54 AM   #8
Senior Member
 
Joined: Apr 2014
From: UK

Posts: 892
Thanks: 328

There are many ways to do it, it will depend on what hardware and software you have.
Of course, you could also use a digitally controlled potentiometer
weirddave is offline  
April 18th, 2018, 05:09 AM   #9
Banned Camp
 
Joined: Nov 2017
From: india

Posts: 204
Thanks: 2

can we do this in fpga?
integration is offline  
April 18th, 2018, 07:44 AM   #10
Senior Member
 
Joined: Apr 2014
From: UK

Posts: 892
Thanks: 328

Absolutely
weirddave is offline  
Closed Thread

  My Math Forum > Science Forums > Computer Science

Tags
digital, volume, work



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital integration Joan94 Real Analysis 0 June 10th, 2017 07:20 AM
Unique digital fractions sum to one Loren Elementary Math 13 April 10th, 2017 03:06 PM
digital handwriting pad recommendation blimper Math Software 5 January 29th, 2017 05:05 AM
digital roots mathfailer96 Number Theory 1 August 10th, 2014 10:48 AM
Volume Problem (showing lots of work) mr. jenkins Calculus 5 April 24th, 2014 11:48 AM





Copyright © 2018 My Math Forum. All rights reserved.