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
12
votes
1 answer

How to change tvOS system volume

On iOS we can use MPVolumeView to change the system volume but it's not available on tvOS. Is there any API that allows us to change tvOS' system volume?
Lars Blumberg
  • 19,326
  • 11
  • 90
  • 127
12
votes
3 answers

How do I enable the Android speaker during a call, from code?

This question has been asked and answered twice before on this site, but that code doesn't seem to work on modern phones at all. I'm working on an Android 4.2 and an Android 4.3 and neither seems to work. I am playing an MP3 through a Media Player…
Viktor Zafirovski
  • 449
  • 1
  • 5
  • 15
12
votes
1 answer

How to show Android system volume control programmatically

Possible Duplicate: How to control volume in android? How to show Android system volume control programmatically? As if the physical volume+/- button is pressed. On Android 4.x
Yi Wang
  • 552
  • 2
  • 7
  • 20
12
votes
2 answers

C/C++: Perimeter and area of rects. Volume of cuboids

I want to calculate area and perimeter of rects using the following code: rect a; a = ( ----- ! ! -----a ); std::cout << a.area() << std::endl; std::cout << a.perimeter() << std::endl; For this purpose I crafted the…
Sergey K.
  • 24,894
  • 13
  • 106
  • 174
11
votes
3 answers

Can a Python list, set or dictionary be implemented invisibly using a database?

The Python native capabilities for lists, sets & dictionaries totally rock. Is there a way to continue using the native capability when the data becomes really big? The problem I'm working on involved matching (intersection) of very large lists. …
Chris Johnson
  • 20,650
  • 6
  • 81
  • 80
11
votes
2 answers

Docker 1.12 swarm mode and container volumes

I have several container that require state - I will only ever set the scale to 1, but I would like it so that no matter which host they start on the volume would be shared. I'm guessing I need to use a network mount to achieve this (which is fine),…
Ross Dargan
  • 5,876
  • 4
  • 40
  • 53
11
votes
3 answers

How do you implement an MPVolumeView?

I want the user to be able to change the system volume with a slider, and I realized the only way to do this is with an MPVolumeView. But I can't find any example code for it, and every method I try to implement won't show up. So what is the easiest…
Emil
  • 7,220
  • 17
  • 76
  • 135
11
votes
3 answers

avaudioplayer playback progress

Would anybody have a link to a tutorial to add a playback progress bar to AVAudioPlayer? I've searched extensively on this site and on google to no avail
dubbeat
  • 7,706
  • 18
  • 70
  • 122
11
votes
1 answer

Running Windows native commands (e.g. VOL) from Cygwin

I have a CentOS box able to access a Windows box's Cygwin via ssh. I want to run ssh me@windowsbox 'vol F:' in a script to capture the name and serial number of a plugged-in USB drive, but I get: bash: vol: command not found I would just run the…
Kev
  • 15,899
  • 15
  • 79
  • 112
11
votes
1 answer

Android BroadCastReceiver for volume key up and down

If a user presses volume key up or down is it possible to detect it in my broadcast receiver? I need the full code. Here is my Intent filter IntentFilter filter = new IntentFilter(); filter.addAction("android.media.VOLUME_CHANGED_ACTION"); and my…
malik M
  • 313
  • 1
  • 7
  • 16
10
votes
1 answer

iPhone Detect Volume Keys press.

I need to detect when the user presses the hardware volume keys, (App Store safe approach) I have tried a number of things with no luck. Do you know how to implement such functionality? At present I am registering for notifications, however they…
John S
  • 1,687
  • 6
  • 21
  • 28
10
votes
4 answers

Adding s3 bucket as docker volume

I have one spring boot application which is in our internal data center, which process files from a specific folder on the host. we wanted to deploy this to aws and wanted to use s3 bucket to upload files for processing. is there any way we can add…
satyam.kudikala
  • 101
  • 1
  • 1
  • 5
10
votes
1 answer

Is it possible to pass request to php-fpm without nginx having volume mounted

I'm trying to migrate my legacy monolith to k8s, now I have nginx and php-fpm (with code) images and I want nginx to just serve http traffic and pass it to fpm, but nginx insist on having files, I don't have try_files directive, but it tries to find…
You Care
  • 488
  • 4
  • 20
10
votes
4 answers

VLC setting volume from command line/bash

With the risk of feeling really really stupid here, but I seem not to be able to set the volume of VLC from command line?? vlc file.mp3 --vol 0 I have read the man pages as well as googled but I can not get the above to work. Also tried --volume 0,…
Julio
  • 145
  • 1
  • 2
  • 8
10
votes
3 answers

Setting volume with java

Good day! I'm developing an application that plays a MIDI. It plays fine, but I often get quasi-bug reports: 'there is no sound playd'. The answer is always, to enter into volume controller and turn the synthesizer sound on (make it not muted). The…