Audio position-

I am using Audio Queues for playback and recording. For the playback, I need sometimes to start at a specific position, or to jump at a specific position.
Is there a way to do that?
Also, is there a way to retrieve the current position where the player is in the file.
Thanks

In case anyone is still looking for this information, I modified the SpeakHere Application to do both of these functions. Here are the I added to the AudioPlayer:
- (void) setPlayPosition:(Float64) seconds startPlaying:(BOOL)startPlaying {
AudioQueuePause (self.queueObject);
AudioQueueReset (self.queueObject);
startingPacketNumber = seconds * audioFormat.mSampleRate / audioFormat.mFramesPerPacket;
[self setupPlaybackAudioQueueObject];
if (startPlaying) AudioQueueStart (self.queueObject, NULL);
- (UInt32) estimateTimeLapsed {
UInt32 currentTime = (startingPacketNumber - (numPacketsToRead * kNumberAudioDataBuffers )) * audioFormat.mFramesPerPacket / audioFormat.mSampleRate;
return currentTime;
It's possible to get a TimeStamp from the buffer, but it get's messsed up after changing the play position. I haven't tried managing this with a Timeline.
The estimateTimeLapsed method above calculates the time based on the current startingPacketNumber. StartingPacketNumber is the next packet to be read by one of the [3] buffers rather than the one playing, so it counts back to the one playing assuming all the buffers are active. It seems like a silly way to do it, but it's giving me all the accuracy I need right now.
Message was edited by: shindigg

Similar Messages

  • Set audio position microseconds/Player

    Hay,
    I've made this nifty little class for playing audio:
    import java.io.*;
    import javax.sound.sampled.*;
    public class Player implements LineListener
         // Consts
         public static final float maxVol = 6.0206f;
         public static final float minVol = -80.0f;
         // Vars
         // The AudioInputStream to play
         private AudioInputStream toPlay = null;
         // If the playthread should pause
         private volatile boolean paused = false;
         // If the thingy is playing
         private volatile boolean playing = false;
         // The line
         private volatile SourceDataLine line = null;
         // The thread that will play the sound
         private Thread playThread = null;
         // Construtor
         // Body
         public void play(String toPlay)
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   play(new FileInputStream(toPlay));
              } catch (Exception ex) {ex.printStackTrace();}
         public void play(File toPlay) {
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   play(new FileInputStream(toPlay));
              } catch (Exception ex) {ex.printStackTrace();}
         public void play(InputStream toPlay) {
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   // Get AudioInputStream from given file.
                   this.toPlay = AudioSystem.getAudioInputStream(toPlay);
              } catch (Exception ex) {ex.printStackTrace();}
              // Make the play thread
              playThread = new Thread(new PlayThread());
              // Start it
              playThread.start();
         public void stop()
              // Not playing
              playing = false;
              // If there is a line
              if (line != null)
                   // Close the line
                   line.close();
                   line = null;
              // Distroy the play thread
              playThread = null;
         public void update(LineEvent e)
              // Stop
              if (e.getType()==LineEvent.Type.STOP)
                   stop();
         // Getters
         public SourceDataLine getLine()
              if (line != null)
                   return line;
              return null;
         public float getVolume()
              FloatControl con = (FloatControl) line
                        .getControl(FloatControl.Type.MASTER_GAIN);
              // Get value
              return con.getValue();
         public boolean getMute()
              BooleanControl con = (BooleanControl) line
                        .getControl(BooleanControl.Type.MUTE);
              // Get
              return con.getValue();
         // Setters
         public void setPaused(boolean inPaused)
              paused = inPaused;
              // If not null
              if (line != null)
                   // If paused
                   if (paused)
                        // Stop the line
                        line.stop();
                   } // Resume
                   else
                        // Start
                        line.start();
         // Setters
         public void setVolume(float vol)
              // TODO: Maybe test to see if within min an max
              FloatControl con = (FloatControl) line
                        .getControl(FloatControl.Type.MASTER_GAIN);
              // Set value
              con.setValue(vol);
         public void setMute(boolean mute)
              BooleanControl con = (BooleanControl) line
                        .getControl(BooleanControl.Type.MUTE);
              // Set
              con.setValue(mute);
         private class PlayThread implements Runnable
              public void run()
                   try {
                        System.out.println("toPlay is null " + (toPlay == null));
                        // If not playing
                        if (!playing)
                             // Now playing
                             playing = true;
                             play();
                        System.out.println("Finished");
                   } catch (Exception ex) {ex.printStackTrace();}
              private void play()
                   try {
                        AudioInputStream din = null;
                        if (toPlay != null)
                             AudioFormat baseFormat = toPlay.getFormat();
                             AudioFormat decodedFormat = new AudioFormat(
                                       AudioFormat.Encoding.PCM_SIGNED, baseFormat
                                                 .getSampleRate(), 16, baseFormat
                                                 .getChannels(),
                                       baseFormat.getChannels() * 2, baseFormat
                                                 .getSampleRate(), false);
                             // Get AudioInputStream that will be decoded by underlying
                             // VorbisSPI
                             din = AudioSystem
                                       .getAudioInputStream(decodedFormat, toPlay);
                             // Play now !
                             rawplay(decodedFormat, din);
                             toPlay.close();
                   } catch (Exception e) {e.printStackTrace();}
              private void rawplay(AudioFormat targetFormat, AudioInputStream din)
                        throws IOException, LineUnavailableException
                   byte[] data = new byte[4096];
                   line = getLine(targetFormat);
                   if (line != null)
                        // Start
                        line.start();
                        int nBytesRead = 0, nBytesWritten = 0;
                        while (nBytesRead != -1)
                             // While still paused
                             while (paused) {}
                             nBytesRead = din.read(data, 0, data.length);
                             if (nBytesRead != -1)
                                  nBytesWritten = line.write(data, 0, nBytesRead);
                        // Stop
                        line.drain();
                        line.stop();
                        line.close();
                        din.close();
              private SourceDataLine getLine(AudioFormat audioFormat)
                        throws LineUnavailableException
                   SourceDataLine res = null;
                   DataLine.Info info = new DataLine.Info(SourceDataLine.class,
                             audioFormat);
                   res = (SourceDataLine) AudioSystem.getLine(info);
                   res.open(audioFormat);
                   return res;
    }I've got an app that uses JMF to play MP3's, but using JMF just to play MP3's is overkill, but I've found a SPI from javaZoom now, so that's okay.
    Anyway, I want to set the position of the line in microseconds now, as well as get the duration.
    Can anyone help with this?
    By the way, if anyone can open .rar files (lots of complainants about that) then the, in much need of an update, app is here: http://acquiesce.awardspace.co.uk/Projects/Download/Music_Exploder.rar
    I you do want to try it, you do need the JMF.
    Why not pop into the forum as well:
    http://acquiesce.informe.com/mucic-exploder-dc4.html
    You know I need the comments.
    Luke :D

    okay, so u can do this in the Clip interface, but the Clip takes ages to open, at lest for mp3's.
    I need it to open it right away
    I understand a bit more now, the SourceDataLine plays each byte as it is writen which is why it plays it straight away, but the Clip loads it into memory, so therefore it knows how long, how many frames etc about the audio, but it means that it's not as fast as streaming.
    I need the best of both worlds really, I've tried opening a Clip on another Thread as well as playing from a SourceDataLine, the idea was to have the Clip take over the playing once it has loaded, but the line doesn't play or read/write.
    Is there someway to take advantage of both streaming an non-streaming in this way?
    Or simply make the Clip.open_AudioImputStream) faster?
    Thanks
    Luke

  • Subtitles changing extracted audio position

    I'm having a problem with my inserted subtitles. When I add them for some strange reason it causes my extracted audio clips to move around to radom places. I can't figure out why this is happening. Any help would be appreciated. I'm trying to reach a deadline and this is slowing the process up big time.
    Thanks in advance

    Hi Sue,
    Yes I worked on this all day yesterday and just started again on it today. I made sure the clips were locked but they are still moving and overlapping each other as well.

  • Creative Gaming Audio & the EAX2 R

    Partially as a response to this thread about "Onboard sound versus X-Fi review/shootout?"...?http://forums.creative.com/creativel...message.id=430?... this post further expands the subject of on-board sound on to gaming & continues deeper into the needs/wants of a "gameaudiophile".
    [color="#ff6600">- GG's!?Even though the link below points to an old article / review from 2005 03 07, it might give people here some guidance in finding their temporary way back to the still not so old HDA on-board sound until Creative's driver technologies see a brighter day. Intel High Definition Audio Aricle on the C-Media CMI-9880 & Realtek AL C880
    http://www.behardware.com/articles/5...ition-dio.html?-------------------------------------------------------------- - Now I'm a pretty frequent gamer who have come to rely heavily on Creatives post EAX2 systems in regards to great positonal audio, doppler effects etc. As we all know, EAX on the higher notes is TBA & ETA unknown for the time being. This gives us time to fool around with eventual on-board stuff. So I did & let me tell you that the Sensaura 3DPA, which is implemented on the CMI-9880 (on my ASUS P5AD2 Premium MOBO) does not come close to a love affair. Setups for up to 7.CH is at your disposal, virtual modes as well. 6 Ds3D voices , EAX-2 & Jack Sensing... It's all working as in runnig but just doesn't reach any particular high.
    [color="#ff6600">Gaming Audio & the EAX2 Roof?Some of you might wonder what my nit-picking about EAX is about. You might not be a gamer. The regular mp3-cowboy regards EAX to be merely a bug. You simply have to hear it in a game, preferably an online-shooter where picking up enemy footsteps & sounds etc are the difference between knowing where to turn your sights or getting it in the back. It's about anticipation as well as immersion. The EAX3+ modes make a huge difference in those regards. For many gamers, the importance of audio quality & positioning might not be clear when first starting out with a game. But as they grow into it, get accustomed with their surroundings, they start to notice & realize how important audio really is. Many of my friends who I have lured into gaming over the years have often been astonished by the difference between on-board audio solutions & the Creative addon cards. Then amazed about what miracles a good headphone setup can do. The real jaw-droppers were the higer EAX modes. EAX became their "eyes on their back". To put it bluntly: Gamers are a new but different breed of audiophiles. We are not content with movie-style directional audio alone, we also demand depth, distance, elevational sound possibilities. True 3D audio. EAX has been the best answer so far as to keep us somewhat happy. No EAX, no satisfaction. Part of the problem is that we have always been trusting Creative to keep deli'vering, and they probably will. But what if, just if, we would like to step out & try something different for a change. Just to know that some other company might do it just as good for us? Well, the options aren't many & they're limited.
    [color="#ff6600">Other Cards, Other Technologies
    Thats why it would be very refreshing to catch some reflections from someone about positional audio in different high-end gaming setu
    ps.
    Anyone running the AuzenTech X-Meridian 7. card for instance? I understand the X-Mer being very high quality as far as everything besides gaming is concerned. Reading a lot of reviews, primary concern would be the "higher than X-Fi" FPS hit - what is your real-world experience outside of the constructed RightMark 3D tests? Audio positioning / doppler? How does the Dolby Headphone, Dolby? Pro Logic IIX, Dolby? Digital Li've, DTS? Interacti've & DTS? Connect technologies hold up against their Creative counterpart EAX3-5, CMSS/CMSS2 etc? IMHO, EAX2 alone is not good enough & does not cut it when it comes to fast FPS-games. Maybe some of you have had first-hand experience with the Razer Barracuda AC- card instead? The reviews tell me a story about "nice first try" for Razer, considering it's their first shot at serious gaming audio. Positional is mentioned to be somewhat over optimistic etc. As I understand it, their "EAX3-and-up-killers" are called Razer Fidelity?, Razer Enhanced Sonic Perception? (ESP) architecture and Razer?s 3D (720?) Positional Gaming Audio Engine?. Any hardcore gamers tried it's?Of course, both the X-Mer & AC- utilize EAX2, but as I mentioned.., that's an obstacle to get around for the companies serious about getting gamers to migrate from Creative. It's simply not enough for some of us The substitute technologies must at least come very close of making up for the lack of EAX3-5. Many reviewers barely touch the gaming audio aspects of the tested card, simply stating that "it's adequate enough" (?!!). Well.., that might not hold true for those of us who expect to invest several more hours on virtual battlegrounds than playing mp3's or mixing etc.Happy hunting!
    -------------------------------------------------------------- - Auzentech X-Meridian 7.
    http://www.auzentech.com/site/products/x-meridian.php?Feature-by-Feature Sound Card Comparison
    http://www.auzentech.com/site/support/Gaming.php
    http://www.auzentech.com/site/support/Audio_Quality.php
    http://www.auzentech.com/site/suppor...c_Playback.php
    http://www.auzentech.com/site/support/Connectivity.php?Auzentech X-Meridian 7. Reviews
    http://www.guru3d.com/article/content/399
    http://www.cluboverclocker.com/revie...dian/index.htm
    http://www.driverheaven.net/reviews/auzentech/index.php
    http://www.elite*******s.com/cms/ind...=282&Itemid=27
    http://www.nvnews.net/reviews/auzent...an/index.shtml
    http://www.reghardware.co.uk/2006//2...ech_x-meridian
    http://www.avsforum.com/avs-vb/showt...&&#post9339200
    http://forums.anandtech.com/messagev...threadid=88528?X-Fi Elite or X-Meridian
    http://www.avsforum.com/avs-vb/showt...37&page=&pp=30?-------------------------------------------------------------- - Razer Barracuda AC-
    http://www.razerzone.com/Products/Ga...ing-Sound-Card?Razer Barracuda AC- Reviews
    http://www.virtual-hideout.net/revie...AC/index.shtml
    http://www.modders-inc.com/reviews-story--62.html
    http://www.ocia.net/reviews/razerbar...dio/page.shtml (Sponsored by Razer)?-------------------------------------------------------------- - [color="#ff6600">Great Headphone Stuff Baby!?HeadRoom - Headphone Amplifiers
    http://www.headphone.com/products/headphone-amps?HeadWize - A Quick Guide to Headphones
    http://headwize.com/articles/hguide_art.htm?HeadWize - Technologies for Presentation of Surround-Sound in Headphones
    http://headwize.com/tech/sshd_tech.htm?HeadWize - Judging Headphones For Accuracy
    http://headwize.com/articles/judging_art.htm?HeadWize - Preventing Hearing Damage When Listening With Headphones
    http://www.headwize.com/articles/hearing_art.htm?HeadWize - The Elements of Musical Perception
    http://headwize.com/tech/elemnts_tech.htm?Aureal - 3-D Audio Primer
    http://headwize.com/tech/aureal_tech.htm?Ethan Winer - Audiophoolery
    http://www.ethanwiner.com/audiophoolery.html?HeadRoom - The Psychoacoustics of Headphone Listening
    http://headwize.com/tech/headrm_tech.htm?Sensaura 3DPA (3D Positional Audio)
    http://www.sensaura.com/technology?-------------------------------------------------------------- - [color="#ff6600">H4rl3qun?s Audio Setup? |? Creative Labs SoundBlaster Audigy 2 ZS? |? C-Media 9880 High Definition Audio Device? |? Sennheiser HD 650 Reference Class? |? Sennheiser PC55 USB? |? Sony MDR-V700DJ? |? PreSonus HP4 Headphone Amplifier? |?

    Danke Cat.., but it's pretty much just a pure love letter to honey EAX, who happens to be sorely missed by my big rig if you manage to take notice? - Not dangerous at all really since Creative will hopefully outperform the competition anyhow in the end, right? I'm counting on it anyway. In general, these OS-shift problems currently stirring up are most likely a passing thing; taking audio & audio technology more into the spotlight than anything else. - Which is a good thing for Creative as well (handled nicely), promise, & so is acknowledging / discussing differences between soundcards.
    If you are referring to the reviews as inhibiting some sort of advertisement character then yes, advertisement leaning towards Creative since none of the other products have been able to outperform any of the Creative cards when it comes to the topic of gaming ^^ as of yet. Many also use Creative cards as reference in tests, link to & publish Creative specifications etc. Does not necessarily have to be a one way street. Or do you perhaps mean that it's not ok to namedrop? Or hyperlink? Ahwell.., I should have read the manual I guess.
    As marshall_lai also kindly pointed out, there is also a huge business opportunity helping lesser incorporated to implement EAX+ & technologies in a proper manner!
    Anyway.., Parental Advisory & brainpower recommended in any reply & Enjoy!
    :P

  • Audio and video not synched up....

    Hello everyone. I am having a problem with my i-movie and was wondering if anyone here might know what I need to do to solve it.
    The problem is that the audio and video are not synchronized when I capture a movie.
    Any suggestions?

    Hello and thanks for your help. May I pursue this with you further? I think I figured out how to separate the audio and video, by using the imovie help. What i have now is a green bar that appears all along the bottom of the video frames.
    I'm having one problem. When i move the audio, and then play back the track, both the new audio position and the old one play, so I get this echo effect. Do you know how I save it without the old position?
    Also one other problem I'm having is that when I record video, for some reason whole chunks of the recording are missing. I don't know what is causing this....

  • Nur den Audio-Teil eines Video-Clips noch einmal verwenden

    Möchte den Audio-Teil eines Video-Clips noch einmal verwenden und diesem Audio-Teil dann ein Standbild zufügen. Wer kann mir hier helfen?

    Gerhard Becker
    What version of Premiere Elements are you using and on what computer operating system is it running?
    In the absence of that information, I will generalize.
    1. You right click a copy of the Timeline file with the video and audio linked and then select Delete Video from the pop up.
    2. Then you drag your Still Image to the Timeline and align it with your audio file.
    You can leave that still audio positioning as is or "Group" the two so that they move together (if you want to move them together).
    For that, select/highlight the still and audio portions (hold down Shift and click video portion and then audio portion), right click in the selection, and select Clip Menu/Group from the pop up.
    Please let us know if that generalized answer works for you. If not, more details please.
    ATR

  • Playing DVD Crashes MBP (no matter what dvd player software I use)

    Current specs:
    OSX 10.6.6
    2.8 GH Core 2 Duo
    8GB DDR3 RAM
    512MB GeForce 9600M GT
    I first got my mac book pro from a friend and did a fresh install of OSX. I dont believe I ever tried to play any dvd's on it until now (months later).
    Originally when I got installed, I went through and deleted a lot of the default mac apps using appzapper that I didn't want cluttering up my install, and that included "DVD Player".
    Fast forward a few months, I try to play DVD in vlc and it crashes vlc. I cant open the file on the disk directly, nor can i just go to "open disc". if i click it it spins up and then it stays at zero and wont play. If i try to view the file right on the dvd with vlc it either crashes or plays a garbled 2-10 seconds and then crashes
    I ended up figuring this was because i deleted dvd player and must have deleted some codec or something along with it... after googling i remember people saying they deleted dvd player and had problems. So i got Pacifist and installed dvd player directly onto the computer
    Same issue, vlc crashes, and now when i put in a dvd, DVD Player stops responding immediately. if i start up dvd player first with no disk in, it loads fine. when i put the dvd in it just stops responding and wont play.
    so far I have
    1. deleted preferences in dvd player
    2. I'm POSITIVE it's not the dvd. i just watched the dvd in my friends older mac laptop. Likewise, every dvd i rent from redbox will do this so i know its not just this particular dvd
    3. CD's load just fine from the player, just not dvd's
    4. ive tried changing the display interlace quality from the view menu in dvd player
    5. I tried making a new admin account and playing it with dvd player from there and the same thing happened, just stopped responding
    6. I just tried zapping PRAM and NVRAM (command option P + R), still no dice
    7. Okay, i just tried opening in VLC media player with 'no dvd menus' and it didnt crash.. it still didnt play but it at least allowed me to see the error output (see down below the post)
    The only thing i can think of is i somehow corrupted some basic fundamental/hardware-software interface driver or soemthing that allows dvd's to be read (codec? i have no idea), as it crashes any dvd app I have tried. (so far only vlc and dvd player). I tried in quicktime but couldnt find how to open a dvd
    Thanks!
    Message was edited by: ZestyOne
    heres the message generated by vlc
    main debug: Activated
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 0 items, index -1
    macosx debug: using Snow Leopard AR cookies
    main debug: looking for services probe module: 5 candidates
    main debug: no services probe module matching "any" could be loaded
    main debug: TIMER module_need() : 176.370 ms - Total 176.370 ms / 1 intvls (Avg 176.370 ms)
    macosx debug: notification received in VLC with name VLCOSXGUIInit and object VLCEyeTVSupport
    main debug: looking for services probe module: 5 candidates
    main debug: no services probe module matching "any" could be loaded
    main debug: TIMER module_need() : 3.340 ms - Total 3.340 ms / 1 intvls (Avg 3.340 ms)
    main debug: adding item `RED' ( dvdread:///dev/rdisk1@1:1- )
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 1 items, index -1
    main debug: processing request item RED node Playlist skip 0
    main debug: resyncing on RED
    main debug: RED is at 0
    main debug: starting new item
    main debug: creating new input thread
    main debug: Creating an input for 'RED'
    main debug: thread (input) created at priority 22 (input/input.c:214)
    main debug: thread started
    main debug: using timeshift granularity of 50 MiB
    main debug: using timeshift path '/tmp'
    main debug: `dvdread:///dev/rdisk1@1:1-' gives access `dvdread' demux `' path `/dev/rdisk1@1:1-'
    main debug: source=`/dev/rdisk1' title=1/1 seekpoint=-1/-1
    main debug: creating demux: access='dvdread' demux='' path='/dev/rdisk1'
    main debug: looking for access_demux module: 1 candidate
    macosx debug: input has changed, refreshing interface
    main debug: no fetch required for (null) (art currently (null))
    dvdread debug: VMG opened
    dvdread debug: number of titles: 9
    dvdread debug: title 0 has 2 chapters
    dvdread debug: title 1 has 19 chapters
    dvdread debug: title 2 has 1 chapters
    dvdread debug: title 3 has 2 chapters
    dvdread debug: title 4 has 1 chapters
    dvdread debug: title 5 has 1 chapters
    dvdread debug: title 6 has 1 chapters
    dvdread debug: title 7 has 1 chapters
    dvdread debug: title 8 has 1 chapters
    dvdread debug: open VTS 1, for title 1
    dvdread debug: title 1 vts_title 1 pgc 1 pgn 1 start 4 end 3 blocks: 42278
    main debug: ESOUT_RESETPCR called
    main debug: selecting program id=0
    dvdread debug: audio position 0
    main debug: using access_demux module "dvdread"
    main debug: TIMER module_need() : 7153.023 ms - Total 7153.023 ms / 1 intvls (Avg 7153.023 ms)
    main debug: looking for decoder module: 32 candidates
    avcodec debug: libavcodec initialized (interface 0x346c00)
    avcodec debug: trying to use direct rendering
    avcodec debug: ffmpeg codec (MPEG-1/2 Video) started
    main debug: using decoder module "avcodec"
    main debug: TIMER module_need() : 2199.493 ms - Total 2199.493 ms / 1 intvls (Avg 2199.493 ms)
    main debug: looking for packetizer module: 21 candidates
    main debug: using packetizer module "packetizer_mpegvideo"
    main debug: TIMER module_need() : 484.746 ms - Total 484.746 ms / 1 intvls (Avg 484.746 ms)
    main debug: thread (decoder) created at priority 0 (input/decoder.c:301)
    main debug: thread started
    main debug: looking for decoder module: 32 candidates
    main debug: using decoder module "a52"
    main debug: TIMER module_need() : 0.419 ms - Total 0.419 ms / 1 intvls (Avg 0.419 ms)
    main debug: thread (decoder) created at priority 22 (input/decoder.c:301)
    main debug: thread started
    main debug: looking for meta reader module: 2 candidates
    lua debug: Trying Lua scripts in /Users/Zesty/Library/Application Support/org.videolan.vlc/lua/meta/reader
    lua debug: Trying Lua scripts in /Applications/Utilities/VLC.app/Contents/MacOS/share/lua/meta/reader
    lua debug: Trying Lua playlist script /Applications/Utilities/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.l ua
    lua debug: Trying Lua scripts in /Applications/Utilities/VLC.app/Contents/MacOS/share/share/lua/meta/reader
    *main debug: no meta reader module matching "any" could be loaded*
    *main debug: TIMER module_need() : 1.035 ms - Total 1.035 ms / 1 intvls (Avg 1.035 ms)*
    *main debug: `dvdread:///dev/rdisk1@1:1-' successfully opened*
    *main error: Invalid PCR value in ESOUT_SET_(GROUP)PCR !*
    *dvdread error: read failed for -1/4 blocks at 0x05*
    Message was edited by: ZestyOne

    Having tried to re-install the DVD Player application it might be worth applying the 10.6.6 combo update (not the update via Software Update). From the threads I've read here it can often help with issues in this kind of area. Other than that it might be worth backing up your files and consider starting with a fresh copy of OS X. For all the space these apps take up I'd probably recommend leaving all the Apple ones alone.
    I take it you have the same problem in Front Row too?

  • Captivate 5 Text Buttons no longer have button outline/shadow

    I've imported a Captivate 4 project into Captivate 5, and the Text Buttons in Cp5 don't seem to provide the button outline or shadow. Here's an image that shows what I start with in Cp4, and what the equivalent is in Cp5:
    I've looked all through the Properties window, and can't find a way to get the old button outline and shadow that I used to get for free with all other Captivate versions of Text Buttons.
    I need to create buttons with my own text, so the only work-around that I seem to have is by creating an Image Button, then creating text with a transparent background and overlaying it onto the image button, but when I enlarge the image button to fit around the text, it blurs the outline and shadow:
    Am I doing something wrong, or is there a problem with my Cp5 installation? Do other people get Text Buttons with button outline/shadow in Cp5? We use buttons frequently when building Captivate projects, and even the Cp5 Image Buttons are not an ideal solution for us, since their default size is much smaller than we prefer, and increasing the size of their image buttons blurs everything:
    This is also the problem with using Button Widgets (In addition, Button Widgets don't seem to provide a way to pause without additional ActionScript coding).
    But we're less worried about Image Buttons or Button Widgets then we are about Text Buttons. Any help on how to get button outlines and shadows with Text Buttons in Cp5 would be greatly appreciated.

    on this page:
    http://help.adobe.com/en_US/captivate/cp/using/WS5b3ccc516d4fbf351e63e3d119e9581edd-7ff5.h tml#WS16484b78be4e1542-608081b312ed8994e26-7fff
    I see a sdescription of how to change the shadow of a button, but I cannot find where to change the shadow properties for buttons. it is nowhere in my Properties window when I have a button selected.
    My only options are:
    General
    Character
    Action
    Options
    Timing
    Reporting
    Audio
    Position & Size
    according to the page I referenced, there should be a "Shadow" option between Options and Timing.
    Basically I would like to add a drop shadow to a text button when it is in the _over state, or in other words, when the mouse goes over it (no visible button border in _up state, just text)
    and I do not want to have to create 200 image buttons in Photochop with three states...
    Thanks!
    --Kevin

  • New Audigy Beta Drivers did they add EAX 4.0 to an Audigy 1 Platinum

    Hello,
    does the new Audigy Beta Drivers add EAX 4.0 Support to an Audigy Platinum ?
    Greetings Picard007

    Audigy (hardware base one) supports EAX3 (EAX Advanced HD) hardware. Audigy2 suports EAX4 hardware. EAX4 is supported with latest OpenAL drivers on compatible hardware.
    More: http://en.wikipedia.org/wiki/Environ...dio_extensions
    Quote:
    EAX has nothing to do with actual 3D audio positioning. Positioning is done by Microsoft's DirectSound3D API. An alternati've to DirectSound3D, called Open Audio Library (OpenAL), surfaced in 2003 in several titles. OpenAL allows direct hardware acceleration of audio, like DirectSound, including EAX. As of 2006, the API has been used in many popular titles including Doom 3 and Prey. These games support EAX 4.0 if audio hardware with an OpenAL-supporting driver is present.
    Most releases of EAX versions coincide with increases in the number of simultaneous voices processible in hardware by the audio processor: the original EAX .0 supports 8 voices, EAX 2.0 allows 32 (Li've!), EAX Advanced HD (EAX 3.0) supports 64 (Audigy), EAX 4.0 again supports 64 (Audigy 2), and EAX 5.0 allows 28 voices (and up to 4 effects applied to each) (X-Fi).
    Message Edited by SoNic2367 on 0-07-2006 02:0 PM

  • XFI on Vista, need in

    Looking to get an XFI card for gaming and music. Would love to get EAX 5.0 effects and quality over my onboard from my XFX nFroce 590 SLI board.
    I've read a lot of different stuff about windows vista and XFI cards, saying some things wont work, or certain games. It's a lttle confusing and spread out all over, can someone list out what will not work if anything on vista with an XFI card? I heard a lot of problems with nforce4 boards, is nforce 590 safe?
    Thanks!

    Generally speaking, Vista removed direct hardware access for DirectSound3D games. DirectSound3D was an audio API that games used for audio positioning and some sound effects. Without direct access to hardware DirectSound3D games will only play stereo effects on your computer, and they will be processed by your CPU, not the sound card, because of this Vista limitation of 'no DirectSound3D direct hardware access.' So on Vista, DirectSound3d = stereo sound only, no sound hardware processing.
    Creative's workaround for this is ALchemy. ALchemy puts a .dll file in each DirectSound3D game you tell it to (room for some user error here, see here for a list of some of some games and a link to an ALchemy discussion page.) This .dll translates DirectSound3D audio instructions into OpenAL instructions, which is a semi-open standard maintained by Creative that still has direct access to hardware on Vista. Using OpenAL with older DirectSound3D games on Vista allows you to have audio hardware processing and surround sound.
    EAX is a set of extra instructions (literally Environmental Audio Extensions if I remember correctly) that can be used in conjunction with DirectSound3D or OpenAL. Since 2003 or so some games use OpenAL nati'vely; some of these also have EAX support. These will run fine on Vista with an X-Fi, for the most part.
    DirectSound3D games that use EAX on Vista can only use EAX if you enable ALchemy for them; otherwise Vista won't let DirectSound3D have direct access to hardware, preventing EAX from functioning. ALchemy translates everything into OpenAL, allowing you to also have EAX.
    There are also a number of games that use neither DirectSound3D nor OpenAL; there are a number of software-only based audio processing engines. These will not be affected by Vista and should run the same no matter the OS.
    I would really recommend the Titanium series of cards, if you have a PCI-Express slot free. Some hardware combinations (usually with 4GB of RAM or more) can cause weird crackly noises with PCI-based sound cards. Something to do with the PCI bus. I had this problem and the Titanium PCI-Express solved it for me. It is also a more recent revision of the X-Fi chip and seems to run pretty smoothly so far.

  • FCPX dolby digital output

    Hi,
    I am considering buying FCPX.  I saw that FCPX allows you to create a 5.1 signal from a stereo feed through audio keyframes and audio placement (L, R, C, rl, rR) of these keyframes.
    But, when you do that, will FCPX export your audio as 5.1 dolby digital source or a simulated 5.1 thus a dolby surround track??  I think a home cinema receiver will need a *.ac3 signal to have a true "Dolby Digital", or else it will consider the audio as stereo.  Do you need Motion to export Dolby Digital?
    Has anyone experience with this?  Any input would be appreciated.

    Hi G.H.,
    Since you use the same camera, I was wondering how you use the surround audio panning mode.  I created a 5.1 surround project 1080 50p.  I see 6 channels in the audio meter, but when I create >1 keyframes with the surround panning, the audio position does not shif even when a new keyframe (with another setting of my position) is reached.  How did you resolve this?
    Do you use 6 mono channels or do you leave 5.1 audio (standard)?
    rgds,
    Tom

  • GarageBand-like waveform motion in Swing

    I have written a custom JPanel that paints an audio waveform to itself after converting the audio file to a double[] representation and bandpass filtering. Needless to say, that takes a while to do, about half a second on my computer.
    Now I would like the the waveform to move smoothly across the screen so that the current audio position stays in the middle of the visible portion of the JPanel. (This is what Apple's GarageBand does when audio is being played back). I need this motion to occur without the waveform panel itself recomputing the waveform drawing every time the visible portion of the wave is shifted.
    What is the best way to achieve this effect? So far I have considered:
    1) Overriding the waveform JPanel's paintComponent() method so it returns an off-screen buffer any time the waveform itself has not changed. At that point I could just stick the JPanel in a JScrollPane and programmatically scroll it.
    2) Programmatically scroll a JScrollPane containing my wave JPanel as described in (1), but find some way to override the "new" scrolling algorithm (described in the API) which repaints the underlying component on every move. This way I would not need to maintain an offscreen buffer for the waveform JPanel.
    Maybe there is some better way? How do people generally scroll JComponents that are very expensive to repaint()?
    I would appreciate advice on this one, perhaps with a link to an example! Thanks in advance.

    FYI, your applet and program do not launch on my computer.
    App error:
    JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
    <jnlp spec="1.0" codebase="http://www.pscode.org/sound/" href="http://www.pscode.org/sound/audiotrace.jnlp">
      <information>
        <title>Audio Trace 1.0</title>
        <vendor>Andrew Thompson</vendor>
        <homepage href="http://www.pscode.org/sound//<p>
    Audio Trace shows an oscilloscope or lissajous style trace of the
    sounds currently playing through your computer. 
    </p>
    <p>
    A variety
    of scroll, zoom and fade effects can be applied to the trace
    for visual interest.
    </p>"/>
        <description kind="one-line">Audio Trace - oscilloscope style sound trace application.</description>
        <description kind="tooltip">Audio Trace</description>
        <icon href="http://www.pscode.org/sound/audiotrace-64x64.gif" height="64" width="64" kind="default"/>
        <icon href="http://www.pscode.org/sound/audiotrace-32x32.gif" height="32" width="32" kind="default"/>
        <shortcut online="false">
          <desktop/>
          <menu submenu="PSCode"/>
        </shortcut>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java href="http://java.sun.com/products/autodl/j2se" version="1.3+"/>
        <jar href="http://www.pscode.org/sound/audiotrace.jar" download="eager" main="true"/>
      </resources>
      <application-desc main-class="org.pscode.sound.AudioTrace"/>
    </jnlp> ]
         at com.sun.javaws.LaunchDownload.getMainClassName(LaunchDownload.java:1037)
         at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1075)
         at com.sun.javaws.Launcher.run(Launcher.java:105)
         at java.lang.Thread.run(Thread.java:613)
    Applet error:
    NoClassDef for MultipleGradientPaint

  • Positional Audio in BF2 - X-Fi Xtreme mu

    Not sure if I will be able to protray this right or not so forgive me ahead of time.
    IN BF2 while in vehicles my center channel seems to be off to the right. for example while driving a jeep if I turn my head so that I am looking straight ahead, sound seems to be "low". BUT If I turn my head to the right (I am talking about in-game head, not MY head) then there is this "awakening" of sound. The jeep has a very "full" sound. If I pan my "in-game head" left to right, there seems to be this small area off to the right that should be in the center. In other words the position seems to be off. Gun shots come from the center and seem fine; it only seems to be in vehicles. Panning the tank turret also gives me this effect. It makes me want to dri've my vehicle off to the right because it seems that's where the front of the vehicle is.
    Does this make sense to anyone else? Does this happen to anyone else?

    I posted this in another thread, but it is relevant to using the THX diagnostic "TAB":
    After loading the driver set from Sept. 9, 06, I went in to my system and made sure everything was working. From the THX control panel I ran the channle test, and the girl came through on each channel correctly (left,center,right, R right, R left). When I set the control panel to the diagnostic tab, AND use the white noise diagnostic, my white noise STARTs out of the center speaker instead of the left. SO it goes - Left out of center; center out of right; nothing out of rear right, rear right out of rear left.
    When I go back to the tab that shows the colorred connections and use the channel test, The girl starts out on the center speaker and again it's Left from center, center from right, nothing from Rear right, and Rear right from Rear left.
    My fix was to uninstal; reinstall from cd, and NOT use the diagnostic tab. As long as I stay away from the white noise in diagnostic it works fine.
    I only have an issue in BF2 with the positional audio coming from the center speaker but that is whole nother topic.

  • Hardware Certification Kit (HCK) Certifying USB Audio drivers. KS Position Test doesn't run

    I'm running the Hardware Certification Test to certify our USB audio APOs.  I'm currently certifying on Win8.1N 32bit.  The KS Position Test runs, but is marked as failed.  The Error says:
    Failure : Failed to determine Pass/Failure of the task "Run test". Task Will be marked as Failed anyway.
    Failure : Failed to Parse the LogFile Associated with the Execute Task
    Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunCB8A5F7C-6F9B-4924-A19E-E48CBDB63F81\0A29AD01-03BB-467F-B633-F7F795BD7ED5.xml" Fails
    Failure : Failed to Copy the Logfiles associated with the Execute Task
    Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunCB8A5F7C-6F9B-4924-A19E-E48CBDB63F81\0A29AD01-03BB-467F-B633-F7F795BD7ED5.xml"
    Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunCB8A5F7C-6F9B-4924-A19E-E48CBDB63F81\0A29AD01-03BB-467F-B633-F7F795BD7ED5.xml" For Task "Run test"
    Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunCB8A5F7C-6F9B-4924-A19E-E48CBDB63F81\0A29AD01-03BB-467F-B633-F7F795BD7ED5.xml" Fails
    Failure : Failed to Copy the Logfiles associated with the Execute Task
    The folder C:\WLK\JobsWorkingDir\Tasks\WTTJobRunCB8A5F7C-6F9B-4924-A19E-E48CBDB63F81\
    doesn't exist on either the HCK Server, or client.
    Thanks to anyone who can help me with this.  How do I fix it?

    I'd ask here:
    http://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w8itprohardware
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How do I position cropped audio clips?

    I have placed a bunch of photos in an iMovie project to create a slideshow with music. I am trying to place MP3 songs in various positions during the slideshow I'm trying to create. I understand that I have to use the crop markers to choose the portions of the audio clips I want to use. But I can't figure out how I then place the shortened audio clips in the exact position in the slideshow that I want.
    I cropped the beginning of a song in the timeline viewer, but then I can't figure out how to move the cropped song to the very beginning of the slideshow.
    I've never used iMovie before and I am a complete novice. So, please keep this in mind when giving me instructions...
    Thanks,
    Bill

    This is how my students do it. Drag or import the song to the empty track under where your pictures are on the time line. My students like to crop on the timeline so they slect the music by clicking on it and it turns dark purple. Move the coursor to where you want to make the cut and type "Apple-T" (at the same time). This wil place a cut on the music track. Now place a cut where at the other end of where you want the music to end. Finally click on the unused track to make the music track go back to the lighter color. and click on the piece you want to delete. It will turn dark again and type "Apple-X" and it will delete.
    Grab your music track with the mouse and drag it to where you want it. Lock it by placing you coursor on the music track and the video clip, click the music track to darken it and go to the advanced pull down and select "lock clip at playhead". If you did it right 2 tiny thumbtacks will appear.
    This is just one way to do it.

Maybe you are looking for

  • My ipod 6th gen wont sync new songs ive uploaded and when i try to update it i get error message 1436

    my ipod 6th gen wont sync new uploaded music and when try to update version 1.2 it comes up with error message 1436

  • Sleep not working correctly

    Since updating my Late 2010 iMac to Moutain Lion the sleep function does not work correctly. They system keep waking up for no reason. The monitor comes comes day or night. I cannot figure out a fix or work around. Any ideas?

  • Cutomer balance date wise Time wise

    Dear all, Can we get customer balance date wise and time wise. Like if i want to my customer balance on 01.01.2011 before 11:00 am. Can i get this. Please revert. Thanx Puneet

  • How to Deploy J2ME applications with data in RMS?

    Hello everyone, I am designing a J2ME application, a simple "Who wants to be a millionaire game". It stores questions and answers from a rms datastore. I want to to how can I deploy this application with questions and answers in the recordstore. Each

  • How do you position relative divs

    Hey thanks for the help so far, I have another question. With absolute divs i'm able to place them wherever I want on the screen, am i able to place relative divs that are centered wherever i want as well. Can i do this in CSS or do i have to code ev