Sound.Play() start time not consistent

When I play an audio and give it a start time, eg sound.play(3366), it doesn't always play at that position.  I'm working on an application that is dependent on the soundChannel position, but after I start the sound, it sometimes doesn't start at the exact position I tell it too.  Sometimes the position starts at something like 3365.986394557823. I found a workaround of just using Math.ceil, but I still wonder why the position isn't true to the start parameter.  Anyone know why that is?

yes?? The song is Paper Walls by Yellowcard. You can listen to it yourself, but to explain it they play this intro of the song (which I dislike) and then it pauses for a couple of seconds and then the actual song starts. listen to the song here: http://www.youtube.com/watch?v=GjENnmGf-Jc

Similar Messages

  • When starting Macbook up, startup sound plays 3 times--Is this bad?

    The last two times I have started up my machine, the startup sound plays 3 times--the first two times it seems to cut itself off and the third time it plays completely. They are about a 2-3 seconds apart.
    I don't know what's causing this or if it's an indication of a problem. It seems to complete startup just fine...
    I have four external hard drives connected via a USB hub (one of them is a Time Machine drive)...that's the only thing I can think of...but I've had them connected many times before with no such repetition of startup sound. Also, the computer will have usually been plugged in for a while.
    Any thoughts? Thank you.

    Hello j:
    If you are referring to the chime when you start up a system, more than once is not normal. The chime indicates that the system has successfully performed its self-tests.
    If you are referring to something else, please be more specific.
    Barry

  • SW Update:  Start Time: Not available - Service is not running

    Server Admin reports the "Software Update Service is: Running" in the Overview window. The clients are being updated from the Software Update server. The Server Admin tool also reports "Start Time: Not available - Service is not running". The Server Admin tool also reports "Last Check: Not available" from the "Settings/Updates" window. However, all new updates are available. Diskutil has verified permissions too. What needs to be done to correct the reporting?

    Hi Jeff, if you try typing 'sudo serveradmin fullstatus swupdate' in the terminal what do you get?
    If it still says stoppped then try typing 'swupdctl start'
    I sometimes need to start it from the command line.
    Let us know how you get on.
    Cheers

  • DNS Server not working. Start Time "Not Available"

    I lost power to my server last night in a power outage.
    Today the DNS Server doesn't seem to be working. I verified that my server's IP is the primary name server on the clients, however all lookups are going to the secondary (public) name server and therefore giving the public IP address for LAN services.
    To test it, I typed in Terminal (both on a client machine and on the server itself) "nslookup [myinternaldomain.com] [mydnsserverip]" and get ";; connection timed out; no servers could be reached"
    When I load up Server Admin, I see that the DNS service is running but for Start Time it says "Not Available".
    Tried stopping and starting the service.

    Thanks for that link. It looks about at my level so I'll have a read tonight. I am on 10.6.8
    Here's what I got back from the command you suggested (looks like all of these are just ports starting with "53" - confirming that DNS is not running?)
    mDNSRespo    36 _mdnsresponder    8u  IPv4 0xffffff800fe25980      0t0    UDP *:5353
    mDNSRespo    36 _mdnsresponder    9u  IPv6 0xffffff800fe25840      0t0    UDP *:5353
    mDNSRespo    36 _mdnsresponder   50u  IPv4 0xffffff8012030c00      0t0    UDP *:53697
    mDNSRespo    36 _mdnsresponder   51u  IPv6 0xffffff8012030340      0t0    UDP *:53697
    Python       50        _jabber    4u  IPv4 0xffffff8012cc4da8      0t0    TCP localhost:49277->localhost:5347 (ESTABLISHED)
    Python       75        _jabber    3u  IPv4 0xffffff8010120a08      0t0    TCP localhost:49177->localhost:5347 (ESTABLISHED)
    resolver    406        _jabber    4u  IPv4 0xffffff8012970418      0t0    TCP localhost:49172->localhost:5347 (ESTABLISHED)
    sm          407        _jabber    5u  IPv4 0xffffff80129727b8      0t0    TCP localhost:49170->localhost:5347 (ESTABLISHED)
    router      408        _jabber    4u  IPv4 0xffffff80127621c8      0t0    TCP localhost:5347 (LISTEN)
    router      408        _jabber    5u  IPv4 0xffffff80127615e8      0t0    TCP localhost:5347->localhost:49166 (ESTABLISHED)
    router      408        _jabber    6u  IPv4 0xffffff8012760a08      0t0    TCP localhost:5347->localhost:49167 (ESTABLISHED)
    router      408        _jabber    7u  IPv4 0xffffff80127627b8      0t0    TCP localhost:5347->localhost:49168 (ESTABLISHED)
    router      408        _jabber    8u  IPv4 0xffffff80129721c8      0t0    TCP localhost:5347->localhost:49170 (ESTABLISHED)
    router      408        _jabber    9u  IPv4 0xffffff8012abfda8      0t0    TCP localhost:5347->localhost:49172 (ESTABLISHED)
    router      408        _jabber   10u  IPv4 0xffffff8012abe5e8      0t0    TCP localhost:5347->localhost:49177 (ESTABLISHED)
    router      408        _jabber   11u  IPv4 0xffffff8012cc47b8      0t0    TCP localhost:5347->localhost:49277 (ESTABLISHED)
    c2s         409        _jabber    4u  IPv4 0xffffff8012760ff8      0t0    TCP localhost:49167->localhost:5347 (ESTABLISHED)
    mu-confer   410        _jabber    6u  IPv4 0xffffff8011d14a08      0t0    TCP localhost:49168->localhost:5347 (ESTABLISHED)
    s2s         411        _jabber    4u  IPv4 0xffffff8012761bd8      0t0    TCP localhost:49166->localhost:5347 (ESTABLISHED)

  • Issues: NetBeans View Colors, and All Tasks, Sort by Start Time

    2 Odd Issues - I'm hoping I can get some help with.
    When I look up (checkout) a User View in NetBeans, it displays in the lower window view, as
    White text on White background - making it Invisible [ I can only see the content, if I highlight it ]
    The columns are from L to R: Object/Attr, Name, Value, XML
    Nothing looks out of place, as I've checked under Tools | Options | Fonts and Colors
    and those are set to standard black fg and white bg
    not sure why the view got messed up
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have a client with the All Tasks, Sort by Start Time
    not functioning correctly. In fact, it's sorting quite randomly, despite clicking the column header.
    Wondered what could be the issue here ?
    It is set up as 2 different servers behind a Load Balancer, but still, How could anything cause this ?
    I don't believe anything has to be configured to build in the functionality of sort by 'Start Time'
    Any Suggestions ? TIA for your help.

    Bennal wrote:
    Two and a half years on, the album artist feature is still not supported by iPods? What the ****? Is this even on a 'todo' list at Apple?
    I'm really happy with iTunes, the album artist feature is a godsend, but seriously, why can't iPods support it?
    I quite agree... In the meantime you might find my previous post on Grouping Tracks Into Albums useful, it details workarounds for this and other quirks in the iTunes/iPod system.
    tt2

  • I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • TS3789 I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until

    I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until proven for example ios6 on iPhone with that stupid map app instead of google maps.
    I just want to buy and hear my iTunes music and videos on my apple tv, could before cant now. Thank you apple. Time to pack up the apple tv and start torrenting without the ios-bs.
    Disheartened apple fan.

    Welcome to the  discussion forums.
    Try going to synching in the sources menu on your tv and selecting 'change itunes library', when it gives you the passcode check itunes to see if the tv is showing up as a new device, if so try entering the pass code. It may be that your tv is seeing itunes as a different library because of a recent upgrade.

  • When rendering with Adobe Media Encoder, the sound only starts playing at 1 minute and 20 seconds

    So I have this problem: I have a video which is an hour long and when I try to render it via AME the result will have the audio of the video starting at around the 1 minute 20 mark. I render to the YouTube 1080p preset.
    What I have tried to fix this is:
    - use .wav instead of .mp3 (didn't work)
    - use After Effects itself to render the video (this worked)
    - change the video start time to 1 minute and 20 seconds and then made AME start the render at that (didn't work)
    - re-render (didn't work even on different presets)
    It's also not my audio file because I've tried rendering it with the audio starting at 1:20 and then the track was playing from the start.
    The video contains one audio track and one video and the project file is in After Effects.
    Is my AME bugged or am I doing something terrible wrong?
    Hope to hear from you guys.
    PS: I really don't want to render via After Effects, due to file size.

    I'm having a very similar problem. I just purchased a larger SD card thinking it was the card but it's definitely Media Encoder.
    Mine is also crashing in the middle of renders and causing my computer to crawl.

  • Sound levels not consistent

    On my iphone 4S (and on my older 3Gs), i've noticed that sound effect levels (email alerts, SMS alerts, screen locking) are not consistent. Sometimes they are louder than other times, and sometimes they're not happening at all. I've got the volume up all the way too.
    anyone else?

    Turn on Sound Check.
    Run iVolume.
    That's all there is to it.
    *Can anyone tell me if I can run iVolume even though iTunes does not seem to adjust the volume using sound check.*
    iVolume is an application itself. It integrates with iTunes a bit it does not alter iTunes at all. It simply analyzes the sound file and stores the info in the sound file.
    Run iVolume on some songs, then turn Sound Check On and Off.
    If they sound different, it works.
    Not all songs will change a lot.

  • What can be done to correct slow video or freezing in Adobe Premiere Elements 12? Sound plays fine but the video is too slow to even start a project.

    Sound plays fine but the video is too slow to even start a project.

    film78
    On what computer operating system is your Premiere Elements 12 running on? Have you updated 12 to 12.1 yet? If not, please do so by using an opened project's Help Menu/Update.
    Not enough information in order to help you.
    Looking for
    1. Properties of source media (including file extension and brand/model/settings of camera that recorded the video).
    2. Is problem restricted to one particular file in one particular project? What happens if you start a new project? What is the
    duration and size of the project when performance is slow and freezing sets in? What are you doing in the program when this happens?
    3. Using a pen and tablet device instead of a mouse?
    4. Does problem exist if antivirus and firewall(s) are disabled?
    5. Please describe computer environment, including dating on video card/graphics card driver version. Did you install the program to the
    default Local Disk C? Where are the Scratch Disks directed and how much free space there?
    Lots more questions, but let us start here and then decide what next based on your reply.
    Thank you.
    ATR

  • Why does my 7.0 iDVD theme not have sound playing in the menu?

    Why does my 7.0 iDVD theme not have sound playing in the menu?  When I click to get menu info, the "TravelAudio" audio is listed, but it won't play.  The volume is not the issue, it just isn't there. 

    Hi
    First of all - I would try to trash the iDVD pref file (or rather start a new User-account and log into this and re-try).
    Yours Bengt W

  • TS1574 My apple macbook pro retina 15'' ME664 has problems with sound.Either there will be no sound at all or at startup there il be very scary and broken sound and afterwards still there would be no sound.Secondly , it does not start in one shot.

    My apple macbook pro retina 15'' ME664 has problems with sound.Either there will be no sound at all or at startup there il be very scary and broken sound and afterwards still there would be no sound.Secondly , it does not start in one shot.atleast 2 to 3 times pressing power button for longer time starts it up and afterwards still there will be no sound. Please help

    This morning i was not able to hear sound on my recently purchased  macbookpro retina 15 inch model.My attempts to resolve this issue by going to system preferences and removing the mute box that was ticked as active. i had downloaded much earlier a mac version of logmein app and noticed that in the sound  box noted above that there was a bar indicating that the default was now to logmein. i had never used this app. Why it started today, i have no idea. I moved the logmein application to trash and deleted the app , however it did not remove the default option which still blocked the sound.
    Going to a macforum gave the tha anser that to remove the logmein app, it first had to be reinstalled a nd them use the uninstaller option ftrom the dropdown menu. for now that has resolved the failure to allow sound oputput.

  • Function SCAN_Op times out but it's not consistent​.

    I have a PXI 1000B chassis connected to a SCXI 1001 via a PXI6031E MIO card. I have 6 1102c modules plugged into the SCXI chassis. Each module is connected to a BNC 2095 (where my field inputs come in)I have it setup to mux 192 channels into one A/D. I wrote a small program in LabWindows to get familiar with setting up the scan list. The function SCAN_Op times out but not consistently. I have included my code. Can you suggest anything?
    Thank you.
    George
    Attachments:
    scxi_testA.c ‏2 KB

    Hello;
    The best way to start the development of your application is to take a look at the NI-DAQ shipping examples at C:\Program Files\National Instruments\NI-DAQ\examples\VisualC\SCXI.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to X. any reasons why its doing that and how to fix it.

    Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to OS X. any reasons why its doing that and how to fix it.

    Test after taking each of the following steps. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved.
    2. Follow the instructions in this support article under the heading "Symptom: The network connection drops unexpectedly."
    3. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    4. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    5. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    6. In some cases, the problem has been resolved by repairing permissions on the startup volume.
    7. Turn off Bluetooth and test.
    8. Reinstall OS X.

  • Sound plays on first time when called by VI

    Hi, I am trying to create a VI that creates noise bursts of specific durations in sequences. My problem is that the sound generation VI only plays the sound the first time it is called. I have tried putting the VI in a for loop to see if I can get it to play multiple times, but regardless of what I do it only plays the generated sound once.
    Solved!
    Go to Solution.
    Attachments:
    Doc1.doc ‏116 KB

    I figured out the problem. Thanks. The problem was with the timer not resetting in the loop (fixed it with a shift register) on second or further calls. Thus the loop was skipped as the timer was greater than the specified value after first time the loop was run.

Maybe you are looking for

  • Why is the page not the size of the screen?

    when I open Firefox whether in full screen or not the page only uses the center of the screen.I>E> always has a 5 inch border on both sides. The menu bars go accross the whole screen. Even using zoom doesn't cure this. very irritating if this cannot

  • Error Message: JBO-26018

    Error Message: JBO-26018: Cannot insert a new row with no attribute set in entity Kssegtobjbasdat I have the following error. Could you help me to solve the problem. When I run that on JDeveloper it works but when I run on the webserver it doesn't: T

  • Safari Tabs...

    So, with the new iPhone out,(I got it and it's great) and the new MAC OS coming out soon I am trying to go 100% Mac products/software. The new MAC OS will, or should from what I read, enable me to ditch MS Outlook once and for all which is the main r

  • Putting caps on numbers in cells

    I'm making a spreadsheet for doing my own payroll. (I have just 1-2 part time staff, so I hate having to pay for a service.) Almost done, but I have one remaining bugaboo: In one catagory a tax is levied only on the first $7000 of income per employee

  • Drop tablespace

    Dear all, I want to know that how long (estimate) am I need to drop a tablespace for about 15G datafile with Sun Solaris E450. Will it need a very long time to do it? Thank you Kwan 21 April 2003