Can Mac OS X control sound volume from the bash shell?

hi!
first time ever that i ask in a forum something....
I wanted to know if there was something that looked like the amixer function for linux. I want to control the overall output volume of my audio card, without using AppleScript. I tried to look for something on the net, but all i was getting was just useful (and a lot) for Applescript. I was wondering if there is something that could be done with the terminal commands.
Thanks

Try using a Terminal command such as:
osascript -e 'set volume 1'
(28042)

Similar Messages

  • Mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    Hi
    It's likely your fan,  It always runs on a MBA.  Mine is very quiet, others report some noise - here is one link.  There are lots of others.
    Hope this helps
    Cheers
    https://discussions.apple.com/thread/4381367?start=0&tstart=0

  • When i open my mac there is a sound coming from the computor

    when i open my mac there is a noice coming from the computor, sometimes it stop!

    Hello,
    Test this in another user account and see if the issue still occurs.

  • The volume control has disappeared from the music app on my iPhone and i can't play any music how do i fix this?

    The volume control has disappeared from the music app on my iPhone and i can't play any music how do i fix this?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray BEFORE doing the reset.

  • Can't open any apps on my mac book pro that i downloaded from the cloud

    can't open any apps in i-tunes on my mac book pro that i downloaded from the cloud

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have a mac os x ver. 10.5.8 2x2.8 quad. my start up disk is almost full. can i change my start up disk from the original hard drive to an additional hard drive i added in Bay 4?

    i have a mac os x ver. 10.5.8 2x2.8 quad. my start up disk is almost full. can i change my start up disk from the original hard drive to an additional hard drive i added in Bay 4?

    Always want to keep the boot drive with more free space than may seem necessary for performance and to function at its best, 30-40% free or even 50% is not excessive.
    Ideal is to separate your system from your data.
    You should always have bootable backup / clone of your system
    Don't use a green drive for system or data though.
    When you are done cloning system and/or data, remove the old original and keep as backup.
    Then move the system drive to #1 - no matter what you want to reset the default boot volume to where the system is.
    Using Cloning as a Backup Strategy
    Carbon Copy Cloner 3.4.1 
    http://www.bombich.com/software/updates/ccc-3.5.html
    How to clone your system:
    http://macperformanceguide.com/Mac-HowToClone-backup.html
    http://macperformanceguide.com/Mac-HowToClone.html
    http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
    http://www.macperformanceguide.com/blog/2012/20120711_2-MacPro-internal-clone-ba ckup.html 
    How to relocate system and user data to another drive:
    http://support.apple.com/kb/HT4337
    By staying with 10.5.8 you are not going to receive security updates, might want to consider 10.6.8.

  • HT4818 I have installed bootcamp that worked properly.  Then I have partitioned the OS X 10.8.2 and installed another OS X 10.8.2 and I have got two MAC boot options and Bootcamp disappeared from the Option menu. How can I boot Windows again and keep both

    I have installed bootcamp by the bootcamp assistant and worked properly.
     Then I have partitioned the OS X 10.8.2 and installed another Mountain Lion System and I have got two MAC boot options and Bootcamp disappeared from the Option menu. However, Bootcamp still remained in the Startup Disk in the System Preferences. When I tried to boot Bootcamp using the Startup Disk it did not boot and received a message that there is no bootable device. I have not lost any data and can read Bootcamp partition from both OS X systems. Please advise how can I boot Windows / Bootcamp again? Thank you. 

    Recommendation 1: Use a VM for this. It's essentially a giant C.F. to do this with native booting, and is potentially fragile.
    But if you're going to ignore that and do this anyway, realizing that it can break anytime in particular with OS upgrades, and that it's very difficult to impossible to resize the three volumes once you've installed the systems:
    1. create three partitions, setting each to be the size for OS X copy 1, copy 2, and Windows respectively. The Windows partition needs to be set to MS-DOS format (actually FAT32) which later in the Windows installer you'll reformat as NTFS. Do not use Boot Camp Assistant to resize/partition the disk, it simply won't work for this use case.
    2. install OS X copy 1
    3. install OS X copy 3
    4. Use gdisk (available at sourceforge) which is a command line only application, to create a new hybrid MBR adding only the last partition (Windows) to the hybrid MBR and setting it to be bootable. As a concequence you will not be able to see/share either OS X volume from within Windows. The Windows NTFS volume will be visible from within OS X.
    5. Install Windows to the only partition its installer should see (confirm size), you'll need to format it NTFS first, and I suggest using the fast format option if available.

  • I got locked out of Mac os 9 and now I can't get into OS 9 or OS X.  All I see is the Macintosh SE and a finder face and text that says "mac os 9.2 welcome to mac os".  I can't get into COntrol Panel to reset the password to allow me to get in.

    I got locked out of Mac os 9 and now I can't get into OS 9 or OS X.  All I see is the Macintosh SE and a finder face and text that says "mac os 9.2 welcome to mac os".  I can't get into COntrol Panel to reset the password to allow me to get in.

    Do you have OS X and OS 9 installed on your Mac? If so, startup with the Option key depressed. This will open the Startup Manager window. Select the OS you want to start from & click the right arrow.
     Cheers, Tom

  • Controling windows volume from java

    Hi! Firstable, sorry for my English.
    My question is very simple
    How can I control windows' volume from java?
    I've searched everywhere, but I found nothing.
    JMF did not help me, I just could control a line, but I want to control the master volume of my pc.
    Thanks in advance...

    If you can identify a Windows command that does what you want, then you can execute it using Java's ProcessBuilder class nethods. If not, you can use Java Native Interface (JNI) or one of its variations to create an interface from Java to C/C++ code in Windows.

  • I have 2 Macs - an iMac that holds my entire iPhoto library and a Mac Book Pro that I use to hold a subset of the main library - how can I transfer photos and their metadata from the main library of the iMac to my Mac Book?

    I have 2 Macs - an iMac which holds my main iPhoto library and a Mac Book Pro which holds a subset of the library. How can I transfer photos and their metadata from the main library to the smaller 1 on the Mac Book Pro?

    Link the two Macs together and use iPhoto Library Manager
    Regards
    TD

  • Can this be done? Airport extreme connected wireless in extend mode to connect a wireless Mac Pro with an ethernet cable from the extended airport extreme..

    Can this be done? Airport extreme connected wireless in extend mode to connect a wireless Mac Pro with an ethernet cable from the extended airport extreme.

    This will work.....IF....you also have an Apple AirPort router configured to provide your wireless network.
    In other words, you need to have two Apple AirPort routers to extend a wireless network.
    When the AirPort Extreme is configured to "extend" the wireless of the "main" AirPort, it will provide more wireless coverage and the Ethernet ports are enabled, so you could connect your Mac Pro to any of the Ethernet ports and use that as a network and Internet connection.

  • I have ilife 09 preinstalled on my mac and im downloading guitar lessons from the lesson store but lesson number 1 isnt there. can anyone tell me where i could get it?

    I have ilife 09 preinstalled on my mac and im downloading guitar lessons from the lesson store but lesson number 1 isnt there. can anyone tell me where i could get it?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • Adjusting sound volume from inside the game???

    hi there all,
    how can i adjust the pc volume from the game?? like in options menu....
    TiA

    Use something like this to set the volume for the Clip. Then play it.
    If you need to access it in an option menu, save the value (mute)0..100 (load) and allow the user to select the volume from a cobmo box or list box containing 0, 10, 20 ... , 100.
      public static void setVolume(Clip clip,int volumePercent)
        try
          if (clip.isControlSupported(FloatControl.Type.VOLUME))
            FloatControl volumeControl = (FloatControl) clip.getControl(FloatControl.Type.VOLUME);
            volumeControl.setValue((float) (volumePercent / 100.0));
          else if (clip.isControlSupported(FloatControl.Type.MASTER_GAIN))
            float value = (float)(volumePercent / 100.0);
            FloatControl gainControl = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN);
            float dB = (float)(Math.log(value == 0.0 ? 0.0001 : value)/Math.log(10.0)*20.0);
            gainControl.setValue(dB);
        catch (Exception exception)
          println("Problem in Media.setVolume");
          exception.printStackTrace();
      }

  • Flash audio controls is gone from the Windows audio mixer.

    Flash audio controls is gone from the Windows audio mixer. The sound is, but I can not control it separately from the browser. Previously, there was a separate flash and a separate browser. When I use FF3. *. Flash Player audio option was, but the new FF versions do not. For me it was very comfortable and loved.
    How can I repay such opportunity? and whether there is still a possibility?

    Thank cor-el, but it did not help. I tried everything ( I installed it all over again, several times , clean cookies I'm using [[BetterPrivacy 1.68|BetterPrivacy 1.68]] add-ons clean cookies ... ), but the problem is not in the Flash Player to crash. It works. But I can not manage alone plugin container volume and alone audio browser.
    I am not a programmer, so I do not know how I can change it yourself.
    Maybe someone already has it done? I would be grateful if you divide.
    Sorry for my bad English. Here's screen shot if I can not clearly say:
    http://img94.imageshack.us/img94/707/ffsupport.jpg

  • My sound coming from the internet on my MacBook Air is not working!

    I bought this MacBook Air a month ago is the new one, everything was working well but suddenly the sound coming from the internet stop working.
    My computer sound is working perfectly is just when I want to watch a video or listed a song from youtube talk on skype isnt working at all.
    When I press the volume button i can hear it.
    Can someone tell me what can it be?

    Hopefully one of these steps should solve the problem.
    1. System Preference > Sound > Output > Internal Speakers
        Highlight  Internal Speakers / Headphones
        Make sure Mute is not enabled.
    2. Remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    3. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    4. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so, uncheck it.

Maybe you are looking for