Osascript causes audio balance to shift.

Hi,
Whenever I use this command: osascript -e 'set Volume N' where N is 0, 1, 2,....
the balance shifts back to center.  I need the balance set shifted slightly right.
The only way I can find to set it back, is to open the preferences window, click on the speaker icon and manually reset the balance.
Is there either  (1) any way to prevent this from happening? or (2) from a command similar to the above, to reset the balance?
Thanks for your help,
Andynic.

The only way I've found to set the balance is to GUI script the Preferences pane.
Try Setting Sound Balance with AppleScript from MacScripter.
BTW questions concerning Applescript are best posted to Mac OS X Technologies
regards

Similar Messages

  • Audio balance greatly different in Encore CS3 after encoding 5.1 master track in Premiere Pro CS3

    Hello! I'm wondering if anyone can offer some advice for my DVD audio problem.
    I have a Premiere Pro CS3 project with a 5.1 master track that appears to behave correctly judging by the meters when I play it in PP. It also sounds reasonable (in a mixed-down fashion, I guess) on my PC system's speakers (L,R,LFE), and all rebalancing and panning seems to work well. However, once I export the master track to Encore using PP's SurCode Dolby Digital codec, the resulting audio mix is totally off. Here's what I get: both front channels play mainly out of the right front and center speakers, and the rear channels play mainly out of the left front speaker. I've tried all different settings, but I can't seem to change this. Well I've read that Encore just sends the audio mix straight through (the DVD trancode status is "Don't transcode"), but when I build the DVD and play it on both of my 5.1 surround systems, the results are just as bad as what my desktop PC speakers were hinting at. [Actually all DVDs that Encore builds are UNSUPPORTED on one of my set-top DVD players and they're both Panasonic! So first, I first have to copy the DVD using Nero and then the copy is accepted by all. That seems to have no bearing on my audio dilemma but I thought I'd mention it. I would love to know what Nero is doing right that Encore is doing wrong!)
    Anyway, here's some background: I began to notice this problem with the audio balancing whenever a .wav music source is imported into PP as a stereo source. [A side issue here - I don't seem to be able to explain - or control - how one .wav file gets imported as stereo while another is imported as 5.1!] Anyway, as one would expect, since my master track is 5.1, the stereo track is automatically set up with a rebalancing tray with the puck set in the middle. The meters show that the source is stereo and the sound has been rebalanced across the master track. If I drag the puck around, the master meters behave accordingly. Then I import my video (.avi video clip) and that sound is imported as a stereo track. For that track, I drag the puck to the rear. Again, the master meters respond correctly. So far so good. But when I export to Encore, the resulting audio mix so completely wrong it can't even be explained as a 5.1-to-stereo downmix situation. The sounds that were supposed to come out of the rear channels are in front left and center (and deafening), overpowering the music that is only coming out of front right. And the rear speakers are silent unless I turn on Pro-Logic on my amplifier, which just confuses the issue. I didn't bother to check LFE as things were bad enough.
    Where I DO NOT have the problem is when the audio file is imported as a 5.1 source (although it is just a stereo CD track ripped using Sony CD Architect). In that case, there is no rebalancing tray and the track meter shows only the L and R channels active, as expected. Ditto for the master track. Now if I go ahead and send the music to a stereo submix track and let that rebalance to the master, I see all channels active. But that results in the problem above after exporting to Adobe Media Encoder using SurCode and then importing the audio into Encore. If I don't remix to 5.1, the audio on the DVD is OK. But I would like to have the music come out of all speakers when there isn't a video soundtrack as there are many still pictures in the presentation.
    So the question is, if I can rebalance and pan channels in PP CS3, why are the results coming out all wrong in Encore using SurCode? And how can I hear my project on DVD the same way I mixed in PP?
    Any help would be greatly appreciated!
    Doug Herbst
    Holmdel NJ

    Problem solved everyone!!!
    Rebecca of Adobe support helped me identify the root cause: project was originally set up as standard (2-channel) and although it had evolved to a 5.1 project over time, it could never grow up to be anything other than a standard audio project. After you set up the new project, the setting that controls your audio is buried in the project somewhere. Changing your project settings to set up new 5.1 audio tracks for new timelines does NOT make the project 5.1! The real audio identity attribute set at birth is not alterable OR EVEN VISIBLE (even as a grayed-out project setting) although PP will allow you to set up and mix 5.1 audio tracks at will. So you may think you're working on a 5.1 project now, but you're only fooling yourself and PP goes right along with it. Even the .ac3 files you create via export are 5.1! But dare to build your DVD in Encore and all of your timelines are transcoded back to 2.0 instantly. Resistance is futile.
    A new feature in PP CS4 will allow you to view, and even CHANGE, your project's audio identify from standard to 5.1. How sweet!
    Well, I've devised a way to dig out myself out of this deep hole in CS3 and it worked, but I can't promise that it will work for everyone. (This assumes you own the Dolby Digital 5.1 codec from Minnetonka.)
    1. Create a new Premiere Pro project as 5.1 audio from the get-go.
    2. Import your suspected 2.0 project into this new 5.1 project and click each sequence to flesh out the timeline.
    3. Re-export all audio as elemental streams using Adobe Media Encoder. Make sure you export the audio component of each timeline as Dolby Digital 5.1 and exactly - and I mean EXACTLY - the same way. To deviate the audio settings for each timeline is to ask for trouble, so I recommend setting up an audio pre-set that you can just click when you need it.
    4. Create a new Encore project and import all original video assets and your new replaced and, hopefully, 5.1 audio assets into it.
    5. In Encore, create a separate timeline for each pair of assets (.m2v and .ac3 for example). DO NOT ATTEMPT TO PLACE MULTIPLE PAIRS OF ASSETS ON THE SAME TIMELINE! For some unexplained reason, the build process will transcode the audio back to 2.0, and if you continue pack new 5.1 audio assets on the same timeline, you will get an error message "an input contract violation has occurred" because you now have 2.0 and 5.1 assets on the same timeline, even though you really don't know that and didn't ask for that to happen anyway. (Thanks to Bill Hunt who mentioned his habit of keeping the asset pairs on separate timelines in another thread - that suggestion was absolutely essential to the solution here.)
    6. In Encore, check to make sure that all of your original video sychs up correctly with the new, true 5.1 audio. Link the end actions of each timeline with the next timeline to play in the correct sequence. Check your project for orphan timelines and other errors. Then, before you start building menus and start getting fancy, build a DVD and make sure it plays as 5.1 on your system.
    Tip #1: while you're re-exporting and replacing the audio files, don't have Encore running. I've seen it gracefully and automatically re-import the replaced file once the export is done, but I have also seen it choke with the terribly descriptive "Encore has encountered a problem" message upon discovered the asset is not available while it is being replaced. Encore then continues to mark the asset as offline.
    Tip #2: when re-exporting and replacing files, always select audio and video separately. For some reason, Encore will allow you to replace an .ac3 file when you perform an elemental audio export, but when you try to combine video and audio and both files exist, Encore will prompt you to replace the video, but immediately abort with an error that it cannot replace the .ac3 file, thus forcing you to delete the .ac3 component manually before trying again.
    Doug

  • Update OSX 10.9.2: audio balance constantly changes to the right

    Hi,
    after the update to OSX 10.9.2 my audio balance constantly changes to a right side value. Whenever I center the balance manually the balance will change again to a right side value after a while. Can I do something about this?

    Hello H.M. Mcluhan,
    It sounds like the balance keeps going to the right speaker and needs to be constantly changed to center. I recommend starting by resetting your PRAM:
    About NVRAM and PRAM
    http://support.apple.com/kb/ht1379
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    After resetting NVRAM or PRAM, you may need to reconfigure your settings for speaker volume, screen resolution, startup disk selection, and time zone information.
    Then boot to Safe Mode, and restart the computer to test the issue again:
    Starting up in Safe Mode
    To start up into Safe Mode (to Safe Boot), follow these steps.
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key.
    The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple logo and the progress indicator (looks like a spinning gear).
    After the logo appears, you should see a progress bar during startup. This indicates that your computer is performing a directory check as part of Safe Mode.
    To leave Safe Mode, restart your computer without holding any keys during startup.
    From: OS X: What is Safe Boot, Safe Mode?
              http://support.apple.com/kb/HT1564?viewlocale=en_US
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • OS 10.4.10 Update Causing Audio Popping (AND HUM) Issues:

    OS 10.4.10 Update Causing Audio Popping (AND HUM) Issues:
    The problem on my Intel Mac mini with external Klipsch speakers (two mid-range/high and a subwoofer) is REAL obvious as the system emits a hum like a Spinal Tap amplifier turned up to #11 when 10.4.10 powers down the audio circuitry
    Then, if I play a song in iTunes, it first pops and the hum disappears right before playing.
    Quite annoying. I restored the mini from a recent backup to 10.4.9. Problem gone.
    I'm glad I test updates on the mini before applying them to my Intel iMac 24. I guess I'll just hide & watch what happens before doing any more updates.
    Here's what I sent to Apple tech support:
    Guys/Gals (OS X Engineers):
    Concerning the Snap, Crackle Pop Audio problem in the 10.4.10 update:
    Please. Just do the right thing and fix the audio.
    There is no need to power cycle the audio subsystem to save .0005 amps on the laptop line.
    And then to make your Mac mini/iMac/other desktop users have to put up with it when using AC power is ridiculous.
    Put the audio subsystem back like it was in 10.4.9 and let the laptop battery freaks looking for mini-amp savings get a "work-a-round".
    Crikey!
    iMac 2.16 Ghz Intel Core 2 Duo 2GB RAM Mac OS X (10.4.9) 20 Years of Microsoft-Induced Grey Hair
    Mac Mini 1.83 Ghz Intel Core Duo 1GB RAM   Mac OS X (10.4.9)   20 Years of Microsoft-Induced Grey Hair

    Libby,
    Backup is unable to make a restorable by Disk Utility backup. You can restore pieces of the software as outlined in my FAQ about backing up user data:
    http://www.macmaps.com/backup.html
    But to be able to restore a backup with Disk Utility, you need a cloning utility to have made the backup.
    I suggest starting a new thread here, where someone else could help you out better:
    http://discussions.apple.com/forum.jspa?forumID=752&start=0
    First off, you'll get a wider audience who may be able to solve your problem. Secondly, responses to you won't confuse the original poster with solutions that don't apply to them. And thirdly, you'll know for certain whether or not a response applies to you.

  • Duplicate spread causes some text to shift within its frame

    Hi,
    Indesign CS5 problem:
    When I duplicate the first page of my working document some text shifts vertically within its frame on the duplicate page.
    The same thing happens if I copy the text box and paste in place, the shift also occurs.
    This is a small grab of the file with the 1st page on the left and the duplicate page (or paste in place) on the right.
    Its driving me nuts, any help much appreciated.
    Cheers
    Dave

    Aha, you have got somewhere then!  Something is causing that type to shift, why it isn't in your original doesn't matter, the idml one is "cleaner" and now the behaviour makes sense in that both frames are bahaving the same.  There must be something somewhere, I assume you've checked the baseline shift in the control panel?
    If you are sure it's nothing like that it's time to replace your preferences, see the link here.

  • Audio Balance issue in Windows XP Pro SP3 using Boot Camp

    Hi,
    It seems that my Windows audio isn't balanced after launching with Boot Camp. The right speaker is fine, but the left speaker sounds soft and faint. I discovered this when playing with the audio balance in volume control. I'm not facing the same issue in Max OS X.
    I have already downloaded the latest Realtek audio drivers and still no luck. Has anyone encountered this, and know of a solution? I use both OSes extensively and playing music is a must..
    Thanks!

    First you said: "I spend 15 minutes changing the product key, calling up 1-888-571-2048 and entering the long string
    of numbers, then entering the conformation code and then it is finally activated."
    Then you said: "guess that was a big fat lie."
    These are in direct opposition.  You were able to activate your install.  They never said that they would keep the serves running, just that you would be able to activate, and you have.  
    Please do not read this sentence. Please ignore the previous sentence.
    A big fat +1, sir!

  • Why does embedded video cause audio sync issues?

    Greetings all,
       I have a question that is perhaps best answered by an Adobe developer or someone who knows the SWF file format and various audio/video standards fairly well. When one drags an FLV file into the library in flash authoring tool, a window appears. If you click "Embed FLV in SWF and play on timeline", an awful message appears, "WARNING: Embedded video is likely to cause audio synchronization issues...". My question is: why would there be any audio synchronization issue? Is this really just a bug/unimplemented feature? Or is there some fundamental shortcoming of current versions of the SWF file format that does not allow for the FLV audio/video signals to be properly encoded in the SWF file? Or is it that the flash player plays SWF and FLV data in fundamentally different ways and that even if the audio/video is perfected sync'd in the SWF file, the fact that it's a SWF file causes flash player to lose sync?
       I'm guessing only a Flash developer could answer this (and probably not just any Flash developer!), so if there are any out there, please spare some wisdom for a poor lost SWF surfer.
       Thanks!

    Hi:
    Welcome to discussions!
    From what I am reading, you are trying to use the audio that was in the original video-right? By that, I mean, you haven't added a voice over or music-just using the speaker's voice on the tape.
    If so, you might want to try using something like a Fade Out or Fade In instead of one of the transitions that add or subtract to the length of the video
    [Quoted from iMovie Help]
    Some transitions (for example, Cross Dissolve and Push) shorten your movie by a few seconds, depending on the speed of the transition. For example, if you add a transition with a speed of 2 seconds, iMovie overlaps 2 seconds from the first clip and 2 seconds from the second clip as it renders the transition. This shortens your movie by a total of 2 seconds.
    The Overlap transition freezes the last frame of the clip on its left and superimposes it over the next clip. Fade In/Fade Out blackens the last frames of the clip on the left and the first frames of the following clip.
    [End quote]
    Or you could try extracting the audio from the movie so that you could edit it and sync it that way.
    Sue

  • L-R Audio Balance

    Hi,
    Just out of curiosity, is there a way to adjust the L-R audio balance in the Classic??? I have a good 50% hearing loss in my left ear. At one time I was almost deaf in that ear so a 50% loss for me is pretty good! On my computer and home stereo I have the left side louder to compensate for that loss.
    Thanks In Advance
    Abb N

    Abber,
    I have posted about this lacking feature a couple of times and indeed there seems to be no solution. It may help to visit www.apple.com/feedback and put in a feature request as I have done.
    I do find it odd that such a rudimentary control should be missing from something as versatile as the iPod touch, in fact, I see absolutely no reason for it's lack of inclusion.

  • Cp8.0 html5 file plays fine in chrome, but moving the timeline button causes audio to vanish. what to do?

    I have created a session with a combination of ppt slides with audio, and also a screen capture with audio and put it all together and published in html5. seems to work fine, i can open it on my computer by clicking on the html5 file (chrome and IE.) Moving the continuous scroll pointer often causes the audio to not be played. I know I can advance with forward and reverse buttons, that works ok. (Refreshing the html5 file in the browser fixes things and goes back to start)  This opens up many questions for a novice like myself:
    1. Am I posting this in the right place?
    2. Is the timeline button shown only to be admired from afar, and not touched ?
    3. Has this been fixed in 8.1 ?
    4. I don't want or need scalable window sizes ( 1300 by 720 is fine,) so should i not use html5 at all ? I want it to work on IE, Chrome, and Firefox.

    thanks. i see i need to explain better:
    I am describing the browser window as it appears if you simple display the html5 file that is created by publishing. I have not added a single button or feature to control movement. my project consists of slides with audio that advance after so many seconds, a captured screen sesssion, more slides, and a quiz. The buttons for play, forward, backward, and the horizontal progress bar with the 'button' (upward pointing triangle) are all native to the html that is being displayed and 'played.'
    Now, seeing that displayed, a user would be tempted to hit these buttons and to move the linear time by grabbing and moving the triangle pointer. sometimes this works perfectly, but sometimes moving the pointer causes audio to disappear and it will not play again on any slide. is this a clear description of the problem ? I do not understand some of your comments, but it seems that we were not on the same page, so it seems ok not to understand. FYI, my published  ~10 minute sessions are about ~20 MB for all files and folders.
    8.1 doesn't exist. i see, my mistake. i meant 8.0.1
    I do not need anything but a screen with 1300x720 resolution, so i will try going to SWF. I am recording a session to teach a software tool that is based on the eclipse environment, and the screen capture includes many graphics and much text, so any scaling whatsoever makes it ugly and hard to read. At one point i may have been thinking of scalable windows, but i realize now it is the last thing i need. The quality of the capture is excellent with 1300x720 ( and since 720 is native for powerpoint, i have no scaling in either ppoint or the captured screen sessions.

  • Macbook pro audio balance moves right

    I have a 13", Mid 2012 MacBook Pro, OS X 10.9.1.  The audio balance slides to the right constantly.
    I move it back to center, a short time later or after a reboot it is back to the right.
    Any suggestions to correct?

    I have reset the PRAM also, no help.

  • Sound Balance Constantly Shifting

    The sound balance for my speakers is constantly shifting to the left side. Is there a hot key or something I am accidentally hitting that might be causing this or some other explanation for it. It seems like every day I have to enter the preferences and reset the balance.

    Here's one thread:
    http://discussions.apple.com/thread.jspa?messageID=1219618&#1219618
    Joe

  • CS5 PDF export (high res) is causing lines and color shifts where transparent images overlap

    Has anyone else had this issue? I've attached two samples of what is happening. Basically, I have a headline with an image that overlaps it a bit. The frame cuts through the headline (you can see it in the sample) and causes the type to break. I've also had it shift my color significantly so that the green that is under the frame is much darker than the green outside the frame. Everything is in the same color space using the same profiles.
    Originally, I thought it was a PDF anomolly, but it prints just as you see it. Can someone please explain what is happening here?
    Thanks in advance for any input.

    That makes sense. I had a colorist that works with one of our vendor pre
    -press houses set us up. We calibrated to our vendors machines so that we could share files when necessary. Their recommendation was the distiller workflow. Even setting the profile in the export to pdf option in ID caused it to be a bit different than doing it the long way. That may have changed since this was a couple of years ago, but I've just continued to do it that way.

  • Still Frames causing audio blips

    A still clip via Edit - Create Still Frame, when it is played in Timeline, always causes an audio blip as Playhead advances into any next clip in project. I cannot mute this other than by unticking audio box at end of Timeline.
    I am using iMovieHD 5.0.2 in G5 iMac.
    Any suggestions?
    Graham Wilson
    iMac G5 1.8 GHz 2GB RAM.   Mac OS X (10.3.9)  

    Hi Graham - I am also using iMovie 5.0.2, but it does not display the problem you describe, so it is not an inherent 'bug' in the app. The placing of a transition can cause this problem, but I assume that is not the cause in your case.
    You could try extracting the audio on either side of the still, and see if that has any effect.
    Sorry I can't be of more help.

  • Internet activity causes audio cracking

    Here is my problem. I own a Toshiba Satellite pro L300-EZ1004x. The laptop is pre loaded with windows XP professional, and I decided to upgrade to Vista Business with SP1. When loading webpages or downloading, My audio/music will crack up until the web page has been loaded or the download is complete. I download DPC Latency checker and noticed that when loading web pages while music is playing, I get multiple bursts of RED spikes up in the 8000us-16000us range. I tried disabling and enabling all devices but the problem still exists. I never had this problem with XP only with Vista. It is incredibly annoying and any help or suggestions would be awesome!
    Also i forgot to mention that this problem only occurs when my laptop has been on for a couple hours. When I reboot, the problem goes away until I leave my computer for a while and come back later.
    PLEASE HELP!
    Computer specs:
    Windows Vista Business SP1
    Intel Core 2 Duo T5870 / 2.0 GHz
    Mobile Intel GM965 Express chipset
    Realtek High definition audio sound card
    2 GB DDR2 SDRAM
    Realtek Network Card
    Intel PRO/Wireless 3945ABG

    I'm having latency issues as well.  However, my issue is all the time and not just when I do something specific.  I use my laptop for audio production (mobile DJ) and this has seriously hurt my business.
    Using a Satellite P105
    Intel Core 2 Duo T7200, 2.0 Ghz
    Nvidia GeForce Go 7900GS
    Mobile Intel 945 Express chipset
    Conexant High definition audio sound card
    2 GB DDR2 SDRAM
    Intel PRO/1ooo PL Network Connection
    Intel PRO/Wireless 3945ABG
    I've used the DPC Latency checker as well, and gone through every device disabling and got nowhere.  This has been going on now for quite some time & has gotten worse with Service Pack 1 for Vista.  Especially, when I try to use an external USB audio device via a generic USB audio driver.  I have been trying to resolve this issue for months now & have found MANY, MANY, users encountering these issues with Vista.  Wireless cards are a big cause for many, but I have found that there are a variety of causes to the issues.  The majority come down to incompatability between Vista and motherboards, chipsets, processors, and video drivers.  Speedstep technology also playing a part in serveral cases.  I have followed the suggestions of many that have resolved the issue, but have not been able to get anywhere.  In all of my research I have noticed that most of the cases that have been resolved came from manufacturers issuing BIOS revisions specificly revised for the issue.  I have convinced myself that Toshiba needs to do the same.  The last BIOS revision for my model that Toshiba put out didn't go so well for me anyways.  I was able to up-date it, but I did NOT like the way it behaved upon flashing it, and performance has gotten worse since then.

  • UPGRADING from TIGER to LEOPARD causes audio plug ins scan WAVES PROBLEMS

    I have upgraded my G5 from Tiger to Leopard and am now running 10.5.8. I am using LOGIC PRO 8 and have upgraded that to 8.0.2. When i open LOGIC PRO and it starts to scan the audio plug ins-it causes a problem that sends me to PACE-the Interlok site for my WAVES-it says this:
    IMPORTANT!
    If you're running Mac OS X 10.5 or above and your software keeps driving you back to this site, even after installing the latest extensions, then you need to update your software, not the extensions. Contact the publisher of the software you're trying to use regarding a 10.5 compatible update. Please don't contact PACE. Only the publisher of your software can resolve this issue.
    SO-i downloaded their latest extension and i keep getting brought back to their site. My software IS updated -from 8 to 8.0.2
    PLEASE HELP

    You provided almost all information except the waves version. Most probably Waves are outdated.

Maybe you are looking for

  • Upgrade to 10.6.8 fails!

    I just switched from PC to Mac and have tried several times, on several different connections, to download and install the 10.6.8 on my brand new MacBook Pro. I either get download failures or invalid checksums. I have repaired permissions, performed

  • User exit (PBO) does not work for IT0107 (Planned working time Belgium)

    Hello, I have written a simple code in program ZXPADU01 in order to default a field of IT0107 (part of IT0007 for Belgium). However, my field is not defaulted to the correct value. The problem seems to be a CLEAR P0107 statement in module "default" o

  • Regarding the History,Forward and Backward options in the framework page

    Dear Experts,     We are using EP 6.0.We are facing a problem with the page title bar iview (HIstory,Back and Forward),when we use in the light framework page .Its not working.Will it have any limitations the same is working for the administrator use

  • GetConnection just times out??

    i have the following method:    private HttpConnection getConnection(String paramString) throws IOException {          if (paramString != null) {            url += paramString;            System.out.println (url);          HttpConnection conn = (Http

  • Quicktime 10.2 facebook Export/Upload error Missing Video File

    Hi, I got the error "Missing video file" (on trhej export progress page) after export/upload to facebook using Quicktime 10.2 File is less than 2Gb and less than 20' - 16/9 Anyone has a clue what prompts this message ? thanks