volume

Control SWFLoader Volume

Hi, I am doing a elearning project in flex and it consist in a secuence of swf files and a player that load it based in a xml file, the problem is all swf files contents narrations and I need to control the volume of narrations from the player interface, anybody know how I can control the volume of a swf file from flex?? Thanks for you...

How to detect current audio device volume

I want to detect the current volume for the default audio recording device of the current computer. Is there any API to use or solutions? I am writing an audio recorder and I want to let the user know the current volume for the default audio recording device before recording, so that we can avoid a no-audio-recorded issue (e.g. end user...

Efficient way to query or set the volume name of an ext3 partition under Linux?

Hi all, Through a bit of digging, I've discovered how to set and get the volume name of an ext3 partition on my Linux box: set the volume label tune2fs -L MY-NEW-NAME /dev/disk/by-path/pci-0000\:00\:1f.2-scsi-2\:0\:0\:0-part1 get the volume's current level dumpe2fs -h /dev/disk/by-path/pci-0000\:00\:1f.2-scsi-2\:0\:0\:0-part1 | grep...

iPhone: Adjusting playback volume in app during a phone call

I have a soundboard application that plays mp3 files using AVAudioPlayer. The sound can be adjusted to high while listening to any of the clips. My problem is when the phone is in use and I navigate to the app to play the soundboard the volume is set very low. I'm trying to make it so the the sound from my app can be heard by the perso...

Standard way of adding Sound to an iPhone app (global volume indicator)

I have an app with various views. The main menu does not have any sounds, but the next views play sounds using the AVAudioPlayer Class. So when someone launches the app and is in the main menu, if he changes the volume on his device, he actually changes the "Ringer" volume. If he proceeds to the other views (where we have sound), when h...

AVAudioPlayer fade volume out

Hey people, I have an AVAudioPlayer playing some audio (duh!) The audio is initiated when the user presses a button. When they release it I want the audio to fade out. I am using Interface builder...so I am trying to hook up a function on "touch up inside" that fades the audio out over 1 sec then stops. Any ideas? Thanks ...

How to calculate the volume of a 3D mesh object the surface of which is made up triangles

Hello Friends, I want to calculate the volume of a 3D mesh object having a surface made up triangles. Could you help me. Thank in advance Best Regards. Can ...

Volume of a 3D closed mesh car object

Dear Sir, I have a 3D closed mesh car object having a surface made up triangles. I want to calculate its volume, center of volume and inertia tensor. Could you help me Regards. George ...

Both using , recording from microphone and playring ipodmusic.

I would like to recording from microphone and playing i-pod library music at the same time. so i try to code like this . -( void ) SetUpAudioSession{ // getting mpobject MPMusicPlayer *mp = [ MPMusicPlayerController applicationMusicPlayer ]; ( or MPMusicPlayer *mp = [ MPMusicPlayerController iPodMusicPlayer ]; ) // getting player...

Control Windows sound volume

Hi, our software should play sounds (not just small noises, but voice etc.). I wonder what about the volume control. The Windows Vista style guide lines says to define an application specific volume control in the windows mixer. But what about Windows XP and below? I don't think there is a way to get our control into the Windows mixer....

Strange Behavior with MPMoviePlayerController When Programatically Changing Volume

In my application I am changing volume using the MPMoviePlayerController volume property (for fade effects and muting while leaving it still playing). Sometimes, sporadically, when changing the volume, the volume display (what you see when you use the volume buttons on the side of the iphone) will flash and disappear. Is there anyway ...

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

I want to plot a heart shape in framework as shown in the following image (found on the website zedomax.com/blog/2008/09/03/i-love-meth-t-shirt/): 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) -(9/80).*(Y.^2).*(Z.^3...

DirectSound: how to change the input volume of a microphone?

Hi, I have some questions about Directsound and windows mixers. My goal is to enumerate all microphones and be able to change the input volume of each one. I think i'm not far from the solution, but I don't find what is wrong in my code. Here is what I have done: - I enumerate all input devices and get a GUID for each one - I use a meth...

How to adjust speaker volume from Java program ?

I'm running Win Vista, at the lower right side of the window there is a speaker icon next to the clock, I can click on it and adjust the volume, I wonder if there is a way in my Java program to do this automatically. For instance when my Java program starts, it turns the volume to 80, and when the program exits, it changes the volume bac...

EMS volume statistics

We have a file based batch system which runs for 2 hours and handles 2-3 million records. The current process uses shell scripts, sql to do this. (We transform the data, stage it and then do the updates/inserts/valuation) Can someone tell me about the performance/volume metrics of using a EMS/ESB with java to do the above tasks? We are ...

Audio Volume in Apple's speakHere example code.

Hi, I am trying to increase the volume of my Audio Output using the speakHere example from Apple. The volume is already set to max with : // set the volume of the queue XThrowIfError (AudioQueueSetParameter(mQueue, kAudioQueueParam_Volume, 1.0), "set queue volume"); However, the output is directed to the ear-piece speaker, which is...

Java: Master Gain not supported exception

Hi, In linux this code doesn't work: I added two lines // Added two lines. DataLine.Info info = new DataLine.Info( SourceDataLine.class, audioFormat ); SourceDataLine dataLine = (SourceDataLine) AudioSystem.getLine( info ); // Adjust the volume on the output line. if( dataLine.isControlSupported( FloatControl.Type.MASTER_GAIN)) { /...

Cross-platform library for generting pure sound with adjustable level of volume/dB written in C or C++

Hi, I'm looking for a Cross-platform library for generting pure sound with adjustable level of power/voltage written in C or C++. It must not be GPL. Please share if you know any. Thanks. ...

How to output a frequency 1kHz and power/volume = 60% in Linux (Ubuntu)?

How to output a frequency 1kHz and power/volume = 60% in Linux (Ubuntu)? I need sample code in C/C++. Thanks! ...

Volume bar is in 0 position , but there is sound when start playing http streaming video of iphone

Hi When we start play streaming video via url via mpmovieplayer , wolume bar is in 0 position , but there is sound when start playing http streaming video . Pls advice us how to solve this . Thanks ! ...