Questions tagged [volume]

1) Volume, or loudness Loudness is the characteristic of a sound. 2) Volume of an object or amount of space occupied by that object.

Volume, or loudness is the characteristic of a sound that is primarily a psychological correlate of physical strength (amplitude). More formally, it is defined as "that attribute of auditory sensation in terms of which sounds can be ordered on a scale extending from quiet to loud".

Volume of an object is a measure of the amount of space occupied by that object, not to be confused with mass. The volume of a mountain is much larger than the volume of a rock, for instance.
The word volume implies a three-dimensional context where, by convention:

  • the length is the longest distance between the object's extremities
  • the width (or breadth) refers to the size of the object in a direction perpendicular to its length
  • the height (or depth) stands for the size of that object in the direction perpendicular to both the length and the width.

For objects at or near the Earth's surface, height or depth often refers to the dimension of the object along the local vertical. All physical objects occupy a volume, even if some are so thin that they appear to be two-dimensional, like a sheet of paper.

Questions tagged with the : 1) Programmatically control applications' volume in different programming languages and environments. 2) Expressed measure of the amount of space occupied by an object…

Additional information:

1865 questions
21
votes
7 answers

Get Master Sound Volume in c#

I need to get the current volume of the output to the sound card. Any ideas how?
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
21
votes
1 answer

How to check if a point is inside an ellipsoid?

We have a point in three dimensional space and an ellipsoid centered at the point of origin. The ellipsoid is upstanding meaning there is no rotation applied. It has three different radii, or how you call it for an ellipsoid. How can I easily check…
danijar
  • 32,406
  • 45
  • 166
  • 297
21
votes
1 answer

AudioServicesPlaySystemSound Volume?

I have this code: -(void)createAndPlaySoundID: (NSString*)name { NSString *path = [NSString stringWithFormat: @"%@/%@", [[NSBundle mainBundle] resourcePath], name]; NSURL* filePath = [NSURL fileURLWithPath: path isDirectory: NO]; …
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
20
votes
2 answers

Mount docker host volume but overwrite with container's contents

Several articles have been extremely helpful in understanding Docker's volume and data management. These two in particular are…
Jack Palkens
  • 331
  • 1
  • 2
  • 8
19
votes
11 answers

Python Change Master/Application Volume

How do I change it? I'm looking for something like: SetMasterVolume(0.5) SetAppVolume('FooBar',0.5) I tried using ctypes.windll.winmm, but I can't find much documentation on how to use it. Thanks in advance.
f.rodrigues
  • 3,499
  • 6
  • 26
  • 62
19
votes
5 answers

Listen to volume changes events on Android

Is there any way to listen to the event of volume change on Android, without just taking over the volume buttons? The only thing I've found that works is here, but it works only after the volume control has disappeared. Not all devices have volume…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
18
votes
1 answer

Adjust Microphone Recording Volume

We are trying to adjust the volume level at which we record. It seems like the microphone is very sensitive and picks up a lot of static. We looked at setVolumeControlStream, but could not find a stream to pass into it to control the microphone.
Michael
  • 1,816
  • 7
  • 21
  • 35
18
votes
3 answers

How to define root volume size in AWS batch

I'm using AWS Batch and I found the root volume size too low for my task. I tried creating a new computing environment/job queue but there's not any option to set volume size. I tried changing launch configuration from here but the new launch…
gc5
  • 9,468
  • 24
  • 90
  • 151
18
votes
5 answers

Mute Windows Volume using C#

Anyone know how to programmatically mute the Windows XP Volume using C#?
jinsungy
  • 10,717
  • 24
  • 71
  • 79
17
votes
5 answers

Change the volume of a wav file in python

I have a 2 seconds 16bit single channel 8khz wav file and I need to change its volume. It should be quite straightforward, because changing the volume is the same as changing the amplitude of the signal, and I just need to attenuate it, that is to…
The Dare Guy
  • 487
  • 1
  • 3
  • 12
16
votes
3 answers

How windows calculates volume unique id?

As far as I understand Windows driver (ftdisk) creates object "HardDiskVolume" for each volume it finds on the system and creates registry record for it: HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\ \??\Volume{GUID} = BINARY_DATA From that moment…
user996142
  • 2,753
  • 3
  • 29
  • 48
16
votes
9 answers

How to change device Volume on iOS - not music volume

I want to change the device volume on iOS (iphone). I know that i can change the volume of music library with this lines below: //implement at first MediaPlayer framework MPMusicPlayerController *musicPlayer = [MPMusicPlayerController…
brush51
  • 5,691
  • 6
  • 39
  • 73
15
votes
3 answers

How to tell in code if the user has "Locked the Volume" in their settings menu

Currently, I'm setting the volume to max, and then checking if the volume is at max, or a lower value. If it's at a lower value, then the user must have a Volume Lock on their system. This works fine, but I'm wondering if there is some method to…
msgambel
  • 7,320
  • 4
  • 46
  • 62
15
votes
6 answers

"docker container run" requires at least 1 argument

I'm trying to create a container using a volume that I have already created, but my console shows the error docker container run" requires at least 1 argument This is the command I'm trying to run: docker container run --name db -v…
Pedro Coelho
  • 1,411
  • 3
  • 18
  • 31
15
votes
2 answers

Persisting data in docker's volume for Oracle database

I created volume for storing my application database data - docker volume create dbvolume. Then I launched my docker container with Oracle XE 11g database image and data volume. docker run --name=OracleXE --shm-size=1g -p 1521:1521 -p 8080:8080 -e…
tyomka
  • 459
  • 2
  • 5
  • 14