volume

Sync Volume rocker with a UISlider

I am trying to get a UISlider to sync with the volume rocker. I have successfully used the slider to change the system/ringer volume, but I need the slider to move when the rocker moves. any suggestions on how to get the current volume value? I am using the code below to monnitor the volume change: - (void)volumeChanged:(NSNotification ...

Volume Control in Processing (java)?

hi, I'm working on a Processing project. I tried to set the Volume of the audio played with the minim library. (setVolume seems not to be supported, and setGain has no effect) So, I'm wondering whether there is no other, simpler way to control the audio in Processing? Or are there some Java commands, that can be used directly? (In fa...

Change iPhone volume without user interaction, is it possible?

I've seen this thread but this is only useful if I wanted the user to pick the volume himself. I wanted my application to change the volume gradually. Thanks. ...

How to set sound volume to 0 in IFrame ?

I have the following line in my Html file, which displays a video feed, how do I set sound volume to 0 in IFrame ? So that when the page is first loaded, there is no sound. <iframe src="http://onionz.co.cc/ain.php?psid=1626397" id="player" scrolling="no" frameborder="no" align="center" Width=588 Height=351></iframe> Is there a paremet...

Extend EventAggregator to log to a bus

Requirement I'm using PRISM for developing a financial application. Our requirement is to be able to communicate across modules/process/machine boundaries. For our first delivery we only want to be able to communicate between modules. However, we want to build a design which can be extended to cross-process/machine at a later stage wi...

Volume control in iPhone OS from another view controller?

hey If I am playing a sound in one view, does anyone know if it is possible to control the volume from another, if it is can someone explain how? I can't figure it out, I have no code to show for the volume. The sound is called from one view and the volume slider is on another. I have coded both. The code for the sound is #import `...

Baffling Failure to Call External Executable From Within Java Program

All right, I've hit a bug that has simply confused the bejeebus out of me. I'm looking for ideas about what it could be that I can investigate, because right now, I got nothing. It goes something like this: I have a standalone Java application that occasionally needs to twiddle the Line-In volume of the computer it's running on (a Win...

How do I reverse my sound volume math for my volume slider?

Hi Stackers, I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :( Dragging the slider dow...

How to control Windows system volume using JScript or VBScript?

I want to control the volume of my Windows system from a JScript or VBScript script. Any ideas? Also, can I unmute the system volume if it is muted? ...

Sound volume on Samsung Omnia II

I just had a customer report to me, that when our app plays a sound on the Samsung Omnia II, it is played not as loud as when the system itself is playing it. The customer uses the very same sound for our app as for receiving SMS, and when receiving a SMS, the sound is played much louder than when our app is playing it. I'm using SndPl...

avaudioplayer playback progress

Hi, 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 ...

How to mute Windows with WPF?

I am learning C# and WPF and had an idea for a little utility. I want a big red button that will do only one thing: completely mute/un-mute all Windows sounds (system beeps, WMP, DVD player, etc...) I've explored the object browser in VS 2008 but can't seem to find what I need: A mute that will affect all of Windows. Is it System.Window...

How to programmatically control the volume of my pc?

I have a keyboard without music keys, that for turn up and down the volume, play, stop, etc. of music in my PC. If you don't understand, this is my keyboard and this isn't. I want to implement, in Windows and in Delphi or C#, a keyboard hook to create the volume feature in my keyboard, but I don't know how to turn up and down it by code...

want to build an alarm app in iphone.

Hi, I want to build an alarm application for iphone. I want to ignore iphone device state and volume buttons state. I want to play sound anyhow in full volume and also want that user cant modify volume using iphone hardware buttons while sound is played. Does anybody know how to implement it? Please post the code here....... Thankx in A...

Visualizing volume of PCM samples

I have several chunks of PCM audio (G.711) in my C++ application. I would like to visualize the different audio volume in each of these chunks. My first attempt was to calculate the average of the sample values for each chunk and use that as an a volume indicator, but this doesn't work well. I do get 0 for chunks with silence and differ...

Get Master Sound Volume in c#

Hi, I need to get the current volume of what that outs to the sound card, for example, this value: Any ideas how? Thank you. ...

How to get a volume measurement of iPhone recording in dB, with a limit of at least 120dB

Hello, I am trying to make a simple volume meter for the iPhone. I want the volume displayed in dB. When using this turorial, I am only getting measurements up to 78 dB. I've read that that is because the dBFS spectrum for 16 bit audio recordings is only 96 dB. I tried modifying this piece of code in the init funcyion: dataFormat.mSa...

Adjust OSX System Audio Volume in Python

I would like to adjust the system audio volume in OSX from a python script. This question about implementing keyboard shortcuts tells me how to do it in applescript, but I'd really like to do it from my python script without using os.system, popen, etc. Ideally I'd like to ramp up the volume slowly with some python code like this: se...

Get Windows mobile sound level, especially silent mode

In Windows Mobile (5,6) you can have different sound volume settings. The volume itself is easy, but how do I differ between the two silent settings? There is one volume setting "vibration only" and one "no sound, no vibration at all". Since my program is using vibration, I'd like to know if windows mobile is set to "no vibration at al...

Access to iTunes Sound Check Results on iPhone

I would like to propose to the user some songs whose volume doesn't exceed a certain level. Is there any way to access to the results of the 'Sound Check' option, from the iPhone ? If not, do you know if I can calculate that with the audio tools in the iPhone SDK ? Thanks a lot. ...