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
15
votes
4 answers

How to set the volume via commandline on recent VLC versions?

I've been trying, without success, to set the volume in VLC [2.2.1] via terminal, on Ubuntu. The parameter --volume doesn't exist anymore (Warning: option --volume no longer exists), and I can't find anything in the help which has "volume" in…
Marcus
  • 5,104
  • 2
  • 28
  • 24
15
votes
3 answers

Changing master volume level

How can I change the master volume level? Using this code [DllImport ("winmm.dll")] public static extern int waveOutSetVolume (IntPtr hwo, uint dwVolume); waveOutSetVolume (IntPtr.Zero, (((uint)uint.MaxValue & 0x0000ffff) | ((uint)uint.MaxValue <<…
lacop
  • 2,024
  • 4
  • 22
  • 36
15
votes
2 answers

What happen to docker volume on deletion of container

Suppose i have these volumes in my Mysql Docker container VOLUME ["/etc/mysql", "/var/lib/mysql"] Now that is running fine in production. Then i made some changes in the mysql image and i want to deploy that in production. Correct me if i am…
user3214546
  • 6,523
  • 13
  • 51
  • 98
15
votes
3 answers

How do I reproduce this heart-shaped mesh in MATLAB?

I want to plot a heart shape wireframe as shown in the following image (source): I have tried to make it by using this MATLAB program: n=100; x=linspace(-3,3,n); y=linspace(-3,3,n); z=linspace(-3,3,n); [X,Y,Z]=ndgrid(x,y,z); F=((-(X.^2) .* (Z.^3)…
izzat
  • 519
  • 4
  • 7
  • 14
15
votes
4 answers

Audio: Change Volume of samples in byte array

I'm reading a wav-file to a byte array using this method (shown below). Now that I have it stored inside my byte array, I want to change the sounds volume. private byte[] getAudioFileData(final String filePath) { byte[] data = null; try { …
Macks
  • 1,696
  • 5
  • 23
  • 38
14
votes
6 answers

applicationMusicPlayer volume notification

I am using an applicationMusicPlayer and when i try to change the volume appear the visual notification, as shown in the picture. Here the code I am using: [MPMusicPlayerController applicationMusicPlayer] setVolume:newVolune]; Anyone knows how to…
mt81
  • 3,288
  • 1
  • 26
  • 35
14
votes
5 answers

change volume win32 c++

How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help!
user37875
  • 13,904
  • 9
  • 37
  • 43
14
votes
1 answer

Docker compose. The volume inside another volume on the same container. How does it work?

I'm trying to create a relatively simple setup to develop and test npm packages. A problem was in the fact, that after you mounted a code volume to the container it replaces node_modules. I tried a lot of generally logical stuff, mostly aimed to…
Nikita Balakin
  • 153
  • 1
  • 6
14
votes
1 answer

create a pure data image in docker

I know that in docker we can run data volume containers like this #create a pure data container based on my data_image docker run -v /data --name data-volume-container data-vol-container-img # here I'm using the data volume in a property…
Bo Chen
  • 717
  • 1
  • 9
  • 16
14
votes
5 answers

Check volume button usage when screen is off

For this question I'm going to quote another user who got no response to their question: I've written an Andoid app that uses the hardware Volume buttons for another purpose. It works fine if the app is running and visible, but when I turn the …
Sander van't Veer
  • 5,930
  • 5
  • 35
  • 50
13
votes
4 answers

Detect iPhone Volume Button Up Press?

Is there a notification that I can listen to that will tell me when an iPhone's volume is turned up? I know about the AVSystemController_SystemVolumeDidChangeNotification, but it is essential that the notification only be triggered when the volume…
The Kraken
  • 3,158
  • 5
  • 30
  • 67
13
votes
4 answers

EC2 volume: how do I set it so that it WILL delete on termination?

I have an EC2 instance that I'd like to take a snapshot of, to use as an AMI for future spot instances. Because of the way I created volume for this instance, it is currently set to not delete upon termination. I want it to delete on termination, so…
Dan
  • 651
  • 2
  • 8
  • 19
13
votes
1 answer

Volume change listener?

Is there any way to listen for volume changes with an Android service and react to that? Btw: How does the Google music app allow the user to control the media volume even when the music is playing in the background?
kevdliu
  • 1,709
  • 4
  • 29
  • 46
13
votes
1 answer

Swift: how to set the iphone volume programmatically

I am trying to create an alarm app and I have noticed that apps like Sleep Cycle will set your volume to max right before the alarm goes off, even if you had the volume at very low. I have tried using AVAudioPlayer and all I have seen with…
Charles
  • 393
  • 1
  • 3
  • 15
13
votes
3 answers

Having Docker access External files

I am interested in having Docker have access to external files, but I do not wish to include them as a volume. The files that I need access to will change over time, and this means I would need to re-mount repeatedly, unless I can mount a mere…
sophie-germain
  • 911
  • 4
  • 10
  • 22