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
36
votes
2 answers

How to deactivate a LVM2 physical volume to remove the drive?

How can I shut down/"unmount" a Linux lvm2 physical volume? I plugged an external had drive to my computer. On the drive is a LVM2 PV with one volume group which has some logical volumes. I now want to remove this drive again properly. I unmounted…
user2650268
  • 377
  • 1
  • 3
  • 3
35
votes
5 answers

How do I mount a Docker volume while using a Windows host?

Mounting a Docker volume while being under a Windows host, has been a huge pain for me, and I could not get it to work. Currently I got the following simple Dockerfile: FROM php:5-apache RUN apt-get update When I build an image from it, and start a…
Philipp Schaffrath
  • 353
  • 1
  • 3
  • 6
34
votes
4 answers

Android: Detect Do Not Disturb status?

I was just wondering if there's a way to check if an Android device (21+) is in Do Not Disturb mode? I know there's AudioManager.RINGER_MODE_SILENT, but I was wondering if that pertains to this situation, or if there's a better way to check?
Paul Ruiz
  • 2,396
  • 3
  • 27
  • 47
34
votes
1 answer

How to turn the volume to max programmatically on android?

I am writing an app for android that turns up the volume and plays a song for 45 seconds and then stops. That works great, however I can only get the volume to turn up to 50%, Is there a way to turn the volume up to 100% using setVolume()? This is…
Sarah
  • 2,713
  • 13
  • 31
  • 45
32
votes
9 answers

Cleanest way of capturing volume up/down button press on iOS 8

What's the best/cleanest way of capturing volume up/down button presses on iOS 8? Ideally I'd like to capture the keypress and also prevent the system volume from changing (or at the very least, prevent the volume change HUD from showing). There…
Ricardo Sanchez-Saez
  • 9,466
  • 8
  • 53
  • 92
31
votes
1 answer

HTML audio tag volume

I embedded a background audio into my website which autoplays on visit. The source of the audio is a online stream hotlink. I already managed to do that and it's…
Captain Crazy
  • 333
  • 1
  • 4
  • 6
30
votes
12 answers

How can I mute/unmute my sound from PowerShell

Trying to write a PowerShell cmdlet that will mute the sound at start, unless already muted, and un-mute it at the end (only if it wasn't muted to begin with). Couldn't find any PoweShell or WMI object I could use. I was toying with using Win32…
Traveling Tech Guy
  • 27,194
  • 23
  • 111
  • 159
24
votes
3 answers

iOS: Change Device Volume

Is there a way to change the volume of the device? I've seen several apps do it. I have a desktop version of the iOS app and the device will be able to be controlled to some extent over the network. One of the things I want to allow the user to do…
Tristan
  • 3,058
  • 6
  • 40
  • 68
24
votes
2 answers

Linking to youtube muted - is there something like "&volume=0"?

I would like to include an easter egg link to youtube, that would start the video with no sound, is it possible? Something like href= http://www.youtube.com/watch?v=xxxxxxxxxxxx&volume=0 to prevent sound for people who would click accidentaly EDIT:…
apurkrt
  • 511
  • 1
  • 7
  • 14
23
votes
5 answers

Android: how to play music at maximum possible volume?

I know the question can be regarded as "politically incorrect", but I'm designing an app which "by design" must get the attention of people within the maximum possible distance range, otherwise it will not be used... :-) I'm currently using…
MarcoS
  • 17,323
  • 24
  • 96
  • 174
23
votes
4 answers

Check if the feature gate is enabled /disabled in kubernetes

In Kubernetes , is there a particular way I can check if a specific feature-gate is enabled/disabled. Say, I want to check if MountPropagation feature is enabled in my cluster. How do I do that.
ambikanair
  • 4,004
  • 11
  • 43
  • 83
22
votes
3 answers

Android mute/unmute phone

My goal is to support 2 operations: mute phone (possibly with vibrations enabled/disabled), so when a call or sms is received it won't make noise unmute phone and restore the volume to the state before muting phone How can I do this? What…
Sebastian Nowak
  • 5,607
  • 8
  • 67
  • 107
21
votes
5 answers

How to implement a volume key shutter for iPhone?

I want to implement the same behavior with the native camera of iOS5: press the volume + button to take a photo What's the ideal way to archive it? Are there any ways to capture the volume key pressed event? After googling & searching around for…
huxia
  • 492
  • 1
  • 3
  • 16
21
votes
2 answers

Javascript: Can you read the systems volume?

Is there any way to read the System's (Linux, Windows, OS/X etc) volume with Javascript? I don't need to set it, just read it? thanks
Matt
  • 1,368
  • 4
  • 16
  • 32
21
votes
1 answer

Docker Compose: Volume declared as external, but could not be found

Running the external volume sample yml from docker-compose v3 docs gives me the following error: ERROR: Volume data declared as external, but could not be found. Please create the volume manually using `docker volume create --name=data` and try…
ramiwi
  • 902
  • 2
  • 10
  • 28