Volume Control Help!

Hi guys. Can anybody tell me how i can increase or decrease the volume when i am playing my mp3s using jmf?
Appreciate it.

Here is a quick example.
'volume' in the code below is a JSlider.
GainControl gain = player.getGainControl();
gain.setLevel((volume.getValue()) * 0.3f);

Similar Messages

  • Volume control help for OS X

    So, I have a Macbook Pro. I'm not sure what's happened, but I'm no longer able to control or mute my volume by the F10, 11, & 12 keys. I have to manually go to my system settings to control the volume. I'm also not seeing this red light others say they see when it happens to them. I'm shut the computer down, run my headphones in and out a number of times, etc, and I'm just at a loss for what else to do. Any ideas?

    Try a smc reset
    http://support.apple.com/kb/HT3964
    You can also try a pram reset: power off, power on holding the following keys: option command,P,R(no commas), continue to hold these keys till you hear the start chime 2 times. Release and rebot.
    Hope some help.

  • I need help with voice memo and volume control

    I really dislike to update my iphone's software.  I have Iphone 4S and I have been using voice memo to record lectures for sometime. 
    It was working well till updated my Iphone's software (IOS or whatever that is).  Now I can't transfer my voice memo to my computer
    and I have tried so many things people have suggested online which are 1. restart my mac book, 2. turn off and on my Iphone 3.
    check voice memo when syncing my iphone with macbook.  It is not working.  Also, I totally messed my volume control.  I went to
    Genuis bar and the lady who helped told me that my Iphone has some issues before which is making my Iphone go nuts.
    In short, 1.  I cannot sync my voicemail
                 2.  my volume does not work....i have to turn it on and off

    cancer833 wrote:
    Genuis bar and the lady who helped told me that my Iphone has some issues before which is making my Iphone go nuts.
    Did she tell you what these issues are?
    Did she help you with these issues?
    Did she tell you how to resolve these issues?
    Go back and ask for further help.
    In short, 1.  I cannot sync my voicemail
    Voice Mail or Voice Memos?

  • My iphone 4S doesn't show the volume controls when playing videos and the speakers don't sound. But if I plug in the earphones then I can hear fine and the volume controls appear on screen. Please someone help.

    After a week or so of installing IOS 7 now I having this problem, the speakers don't work for videos, music or apps sounds, but they work fine for using the speaker phone. It's definitely some software issue as the volume control appears when i plug in the earphones, but disappears when unplugging them, same happens with the volume buttons on the side, they don't work when trying to use the speakers, but the work when using the earphones. Please help if you have a workaround for this. I don't want to carry my earphones all the time to listen to videos and music.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack or other hardware problem.
    Apple Retail Store - Genius Bar
    If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • I am looking for the volume control for skype /iPad ? Can anyone help please?

    I am stumped.
    I can hear people on my iPad skype but they can't hear me.
    They say to turn up the volume on the volume control on the menu bar ?? I can't see any menu bar.
    They say check the Audio Settings ?? Where ?? Ohhhhh I am so sad!
    Can anyone help this old digger ? Please.

    Is the iPad connected to the internet?
    If so, and it's still not working just restore the iPad.
    Note: Take a picture with your iPhone, wait 5 mins then check photo stream on your iPad and see if it appears.

  • HT2490 my audio volume control defaults to mute whenever I start the computer.  Preference settings have no effect.  Technical support couldn't help.

    Audio preference settings continually default to minimum with Mute ticked whenever I start up.
    Technical support could not help desite 30 minutes or more of trying various approaches.
    The technician "proved" that it is a system issue and not an individual "user" setting that is affecting the computer.
    Any ideas about what is causing the problem and how it might be fixed?

    Thanks for the inquiry and feed-back.  Tech support advised me to unlock the preference dialog box when I was logged in as the administrator.  We changed the volume setting to mid-way on the scale and rebooted but the volume preferences reset to minimum volume with Mute ticked.  He also had me try what I assume is a reset of defaults on boot-up.  I held the Command/Option/P keys and operated the power on switch, then immediately held down the R key which put the computer through a different start up sequence.  Once again the volume was muted and indicated minimum when I checked.  No luck either when we created a New User account and set the volume control to mid-way as previously mentioned.  Other approaches he suggested were too involved for me to accurately relate but involved deletion of some files associated with the sound system.  No joy which is why I have sought other advice.  Thanks anyway for your interest!

  • TS1630 Hi I have a problem with my iPhone 4S,  I have no sound from my speaker ,keyboard or notifications ,  and my volume control buttons are not working is anyone experiencing this? Any help would be great full, also I have reset the iPhone many times.

    Hi I have a problem with my iPhone 4S I have no sound from my speaker , keyboard, notifications.   or volume controls,  I have reset my iphone many times and still the same, any advise will be greatful
    Thanks

    I don't think that a software update from Apple will solve the issues that you are having. You have a rogue installation. After you posted I have just done the following:
    Disk Utility can verify  my partitioned Volume (including my boot disk) AND REPAIR the non-boot disks on the same Volume without a glitch. It repairs the non-boot disks containing data smoothly.
    I have used Mail to send some mails from some Yahoo and Hotmail accounts to my Thunderbird client containing GMail accounts - absolutely normal.
    I have iLife '09 but my iMovie '09 and iPhoto '09 open in a jiffy and I see no issues here. I have 6GB RAM (Maximum) on an early 2008 Macbook Pro with a 750GB hard drive partitioned with 120GB reserved for the Boot Drive.
    I am sorry that I cannot help further but I am sure there must be a way to reinstall the software without having to revert to restoring your ML backup. I have two clones and if you have such I would attempt to do that through that rather than through Time Machine - that is of course if you have a cloned drive.
    Good luck!

  • Building volume control.... GGRRR help pls!

    ,Building volume control.... GGRRR help pls!? I have lost the volume control for my Creative Inspire 5.1 speakers.
    Now i down want to spend like 20 on a new one so i thought about building a make sift one.
    ok starting at the top going clock wise for pin numbers.
    when i connect up pins 2 456 the speakers will come on at full volume but for the life of me i cannot figure out how the volume control came in to it.
    I am assuming that you just whack a pot on it somewhere. spent all day trying to figure this but it is iluding me and starting to wind me up as i dont think it shouldnt be that hard to figure it out.
    Also i know a lot of people who have had this prob but no answers have been figured from the 3 nights searching the web for a pin out or circuit diagram of the actual control unit,
    If any one has a picture of one or even a circuit diagram of the volume control unit please email them to me at [email protected]
    Oh and creative... I dont want to sell it or make any money i just want the speaker system working again.
    Thanks guys / Girls
    James

    The digital output was triggered some how. Use a toothpick and feel around to unclick it. Its around the 3 oclock position.
    If you feel uncomfortable doing that you can try inserting and removing a headphone jack till the light goes away.
    Basically there is a switch in the jack that either tells the computer to send out "regular" audio or "digital" audio and yours seems to be stuck in digital mode.

  • My volume isn't working on music an other stuff on my iphone, like my lock sound isn't working neither is my typing clicks, my volume control has gone from my music too, help me, what is this???

    My volume isn't working on music an other stuff on my iphone, like my lock sound isn't working neither is my typing clicks, my volume control has gone from my music too, help me, what is this???

    Oh, I forgot to add that I've also tried repairing permissions.

  • Volume control device wont come on plz help me

    i have a problem BIG problem with my volume control. i cant get the green light to light up on the volume control for some reason. the subwoofer itself still works cuz i took it apart and hooked it up to another speaker system that i have and it worked perfectly. i think it might have to do with the board inside with the subwoofer. i tried to wiggle the wires a bit to see if there was a shortage but that didnt seem to be it. its not the fuse either cuz i replaced it and nothing still happened. i dont really know so if someone would help me out i would really apprieciate it.
    Message Edited by KA-Pow on 04-01-2005 08:47 PM

    KA-Pow,
    No green lights on volume control means no power. My guess would be either the volume control or the power adaptor that's probably faulty since you have mention testing the subwoofer and it's fine. I would think it's more on the volume control. You're best off contacting support to have it repair.
    Jason

  • TS2634 Volume controls not working on the side?? Can anyone please help?

    Can you PLEASE!!!!!! help me?? The volume controls on the side ofmy phone is not working. The phone rings but the ringer stays on silent. Silent switch is up. Have tried many things. Restore. Latest update. Nothing works....

    The side controls will only control the ringer volume if Settings > Sounds > Ringer and Alerts > Change with Buttons is set to ON. If not the slider in Ringer and Alerts is controlling the volume. Check what level the slider is at.

  • My volume control is disabled after plugging in and unplugging headphones, Help Please...

    Dear all, this is my issue, I have since the beginning (October 2014) with my iPhone 5S, 64GB: My volume control is disabled after plugging in and unplugging headphones, Help Please...

    This should not happen if you have the output volume in System Prefs/Sound set low. Have you tried setting the ITunes player volume at top left a bit lower?

  • Yosemite caused my volume control to stop working right!  Help!!

    I have a mid-2009 15" MacBook Pro and since I've updated to OS X Yosemite everytime I go from sleep to back on, my volume control is glitchy and doesn't work.  I have to restart my computer to get it functioning right every time.  Sometimes the Audio settings are greyed out as will to where it can't do anything.  Also, I have USB speakers and they used to switch back and forth fine from when they were plugged and unplugged back in in Mavericks, but don't anymore since Yosemite.  Anybody else encounter this??  Any fixes??

    This may be one of the rare occasions when you should repair the permissions of the startup volume in Disk Utility. Try that and reboot. If there's no change, continue as below.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/Audio
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • HELP! My volume control just stopped functioning!

    Has my sound card gone? I can't get ay sound out of my Mac anymore, it's permanently on mute and I can't adjust it at all. Anyone know what is wrong?

    STU9000 wrote:
    How can that affect my computer volume control? I don't get it.
    Besides, it is a brand new Belkin gold plated connector so I doubt that is the reason.
    Remember that it's not a physical volume control, but a software control so that a "glitch" can possibly affect it.
    I did say that the new gold connectors are not problematic, but if the connector is "half-way" between being inserted and not, it could create that "glitch" that confuses the software.
    I notice that when I plug and unplug my external speaker connector and look at the output in the Sound window, it takes a short time before the change is recognized and it switches from internal to external or vice-versa. I think the sensor itself is mechanical and that might have been your problem.
    Always remember that with computers almost anything is possible.

  • Volume Control need help!

    How to do Volume Control when using javax.sound.sampled.Clip to play sound bytes.

    // A gain of 1 is normal valume. Less then 1 is quieter and above 1 is louder
    public void setVolume(Clip someClip, double gain)
         FloatControl gainControl = (FloatControl)someClip.getControl(FloatControl.Type.MASTER_GAIN);
         float dB = (float)(Math.log(gain)/Math.log(10.0)*20.0);
         gainControl.setValue(dB);     
         }

Maybe you are looking for

  • Desktop 5.6.2  w/ older versions on the server

    If clients are using various versions of XML Publisher, 5.0, 5.5, 5.6.1, or 5.6.2. Do I have to use the corresponding desktop utility to develop templates for those instances... Or is it just a matter of "dumb-ing" down your templates if the server i

  • HT5824 iCloud and Windows 8.1:Outlook 365 can't sync my iCloud calendar

    I recently installed the windows 8.1 on my PC and now Outlook can't sync my iCloud calendar. The calendar works fine on my MacBook Pro and the iCloud app on my windows start page opens the iCloud calendar. It shows all appointments when I view the ca

  • UCCX Editor 8.0 vs. 9.0

    I accidently load a script from 8.0.2 UCCX server using UCCX editor 9.0.2 then overwrite on it. Application Management deosn't like to load the script anymore. I know Time of Day is changed in 8.5 but it still says 'An error occurred while loading th

  • Enquiry of ATP in sales order

    Dear experts, In the sales order, I can view the availability when clicking availability check. There're two fields, like "delivery", "confirmed delivery". I create the delivery for the sales order. But those two fields does not get updated. What doe

  • Advance postings in Travel Mgt through Spe GL

    Hi all, As per my clinent requirement, we are looking to post advance to employee in TMS through Special GL transactions. Can any one plz let me know the settings required for advance posting in TMS throuh Special GL. Appreciate your help. Reg Manu