Issue running parallel audio files

I am trying to set up a XIB with two buttons to play audio - one for music and one for narration.  Files for music are stored in a music directory within the resources bundle.  Files for narration (with names different than the music file names) are stored in a narration directory within the same resources bundle.
When I installed just the music portion, it played fine on both the Simulator and on my iPad.
After I added very parallel code for the narration portion, things got strange.
     IN THE SIMULATOR
          The NSLog for the music path was unchanged and the music played.
          The NSLog for the narration path showed NULL and obviously failed - OSStatus -50  
     ON THE IPAD (with no change of code)
          The NSLog for the music path now showed NULL and also failed - OSStatus -50
          The NSLog for the narration path showed NULL and failed - OSStatus -50  
I also commented out the code related only to the music path, but that made no change in the effect on the narration path.
A view of the essential code follows.  What do I need to do different to get the narration path to work?  And to keep the music path working on the iPad?
- (void)viewDidLoad
    [super viewDidLoad];
NSString *musicTrack = . . .; (defined here)
NSString *musicDirectory = . . .; (defined here)
NSString *narrationTrack = . . .; (defined here)
NSString *narrationDirectory = . . .;    (defined here)
NSString *resourcesBundlePath = [[NSBundle mainBundle]pathForResource:@"Resources" ofType:@"bundle"];
NSBundle *resourcesBundle = [NSBundle bundleWithPath:resourcesBundlePath];
NSString *pathToAudioMusicFile = [resourcesBundle pathForResource:musicTrackofType:@"m4a" inDirectory:musicDirectory];
NSLog ( @"Music path: %@", pathToAudioMusicFile);
// Now use same resourcesBundle for the Audio Narration Player
NSString *pathToAudioNarrationFile = [resourcesBundle pathForResource: narrationTrackofType:@"m4a" inDirectory:narrationDirectory];
NSLog ( @"Narration path: %@", pathToAudioNarrationFile);

This really sounds like a question for the Developer Forums.

Similar Messages

  • Captivate 6.0 - issue with using audio files as voicover

    We are using Adobe Captivate 6.0. We are using imported audio files as the voicover for the slides. While plyaing the final published exe, it runs normal. However, if I use the slidebar at the bottom of the slide for moving back and forth, the audio goes away while the slide continues to play. Can anyone please advise as to why this could be happening and how to resolve the issue? Appreciate any urgent help on this.

    Hello there,
    Have you inserted the audio on the slides or on the objects?
    Can you increase the slide quality to 24-bit (slide properties), then republish the project and see whether that helps?
    Thanks.

  • Issue exporting multiple audio files

    I am trying to export all the audio files from a series of Captivate demos. When I select multiple files, it only exports two at most. I read the post about changing the Captivate 6.0 folder name in the adobe settings and did that twice with no success. Is there anything else that can be done?

    Hi devidas
    Perhaps the following Technical Note will help?
    Click here to read the
    note
    I know the note addresses Podcasting, but in this case I
    think it may assist you too.
    Cheers... Rick

  • Issues Running applications/opening files

           What has been suggested as a software issue has been present in my customers computer for months. 
       Heres whats happening...
    1. When a user attempts to open a program/application such as google chrome, documents library, itunes etc.... There is a prompt that appears on the screen showing a program reccomended to open the "file" the customer is trying to access.
        a. The program under the recommended section is called, Doxillion Document Converter by NCH Software
     2. Another interesting thing i noticed is that the majority of program icons on the desktop are not as they should be. They are instead replaced with an icon which is literally a blank page with a corner folded forward in the upper right hand corner.
     These things which im describing have basically made the computer disfonctional, and the suggested document converter is present to stop whatever function they may attempt to use the computer for.
    Lets work out a solution! 

    Hi, that sounds like associations etc have been hijacked by malware or other potentially unwanted programs (Doxillion).
    I would suggest, if you are not running windows 8 but are running on windows 7 or earlier, then head over to bleepingcomputer.com and download RKill, Combofix & AdwCleaner
    VERY IMPORTANT!!
    Any AntiVirus software must be disabled before running ComboFix.
    If you use AVG then you MUST uninstall it completely before running ComboFix.
    Failure to do this could cause Windows to fail on startup.
    ComboFix is a hardcore, aggressive virus removal tool & can remove any virus & repair damage done by most of them..
     1. Run RKill, this disables anything malicious that may be running in the background,
     2. Run Combofix, will take between 10-25 mins, once finished, wait for the computer to reboot. Problem should now be sorted.
    (3) Probably wont be necessary, but run AdwCleaner, just to quickly scan for a few more things, only takes 1 minute..
    After a restart, things should be back to normal.
    Another great virus removal tool is Malwarebytes Anti-Malware, the scan just takes a while, and i have recently come accross an infection that it could not remove.
    If you are on Windows 8 or 8.1, you CANT use Combofix, so instead do the following:
    1. RKill   ( running this will terminate any problematic malware etc that may be active. to be ran 1st to shutdown anything that may interfere with malware scanners )
    2. AdwCleaner ( a fast effective anti-Adware/anti-malware scanner )
    3. Junkware Removal Tool ( A different scanner to use after the above )
    4. TDSSKiller ( another quick scanning tool, just to be sure )
    5. Malwarebytes Anti Malware
    Hope this helps

  • 4.4.4 has a wakelock issue after playing audio files or podcasts

    phone wont deep sleep after done playing media. which in turns drains the battery faster. The only way to get deep sleep back is to restart device didnt have this problem in 4.4.2

    It wasn't compatible until this version. I've cleared the cache, rebooted, and even uninstalled and reinstalled and still the same thing.

  • How do i set up flash player to run only the audio files

    How do I set up the flash player to run only audio files?  Every time i set up I tunes to work,, the flash player takes over all files that it wants and I cannont see my files for work.  I want it to only auto run audio files and not my GIF's, & TIFF files.

    Well I had a terrible brain burp!,, I ment to say Quick Time.  In my business I have to go back at times and view TIFF files.  Every since I installed ITunes on my new computer...  Quick Time opens the files where MS Photo Viewer used to, and I can only see page 1 in Quick Time.  This is a problem for me as the only way I can view my TIFF files is to save them to my desk top and then open them in MS Photo Viewer.  Then I have to delete them after viewing..  I view files several times a day and this extra step has become a very larg pain in the fanny.
    Thanks

  • Adobe CS6, Audio File length, and memory

    I recently began having issues with my systems memory while using CS6.
    I found this discussion concerning 3.0.
    http://forums.adobe.com/message/2216510
    I am currently working on a piece that runs 36 hours. I have it split into one 20 hour file and the remaining 16 hours in another. After loading either file, my system memory usage climbs up to 90% in about a 15 minute span. It hangs there for about a half hour, drops down 21%, and then begins the cycle again. I've run memory tests, disabled every unnecessary program from starting up, updated Windows. Memory appears to be functioning correctly. I'm really at a loss. I can still work in Auditon, but not very efficiently. I have another box with 3.0, and have no issues with these files on that system.
    Unless I am missing something, there shouldn't be any issue here. Correct?
    System Specs
    Intel [email protected]
    12gigs of RAM
    Windows 7 Pro x64
    500gb Hard Drive x1
    1.5tb Hard Drive x1
    Perhaps I should note I save and work with these files from my D: drive.
    Thank you

    I am working with mono, 44.1, 16bit .wav files. I have no issue opening the Audio Files, I have no issue viewing the files in Waveform, I have no issue viewing the files in Spectral. I have an issue with the system memory. There is absolutely nothing I can think of that could be causing the physical memory usage to cycle the way it does.
    I seldom use a multitrack session, and such is the case with this project. No multitracking sessions are being used.

  • How can I get an audio file to autoplay in slideshow ??

    Cheers all,
    I have created a photo gallery as one of my web pages promoting my wedding images.
    I think it would be very effective if the slide show button on my photo gallery page would magically run an audio file of my choosing from my iTunes library as it ran the show.
    Here's the direct link to the slideshow:
    http://web.mac.com/imagecraft1/iWeb/imagecraft/WeddingGallery_files/slideshow.ht ml
    Can I use an mp3 for this or does it need to be a different format?
    There must be some iWeb '06 prestidigitation to make this happen.
    After reading the posts on iWeb's '08 debacle, I am so not going there!

    I am not sure about SWF support in Acrobat 8.x, however, if it is supported, you will have to add it to the PDF after the PDF has been created.  You can leave the space for it in your FrameMaker document and add it via the Mulimedia Tool.
    I do know that SWF is fully supported in Acrobat 9.x, but in this case you will also have to add the SWF to the PDF after converting the FrameMaker document.  To do this, marquee and area on the PDF using the Flash Tool; Tools > Multimedia > Flash Tool.  You can also simply double click on the PDF with the Flash Tool.  Support for SWF, and several other multimedia file types is much stronger in Acrobat 9.

  • FAQ: How do I troubleshoot audio issues when importing .MTS files?

    Hello.   The link FAQ: How do I troubleshoot audio issues when importing .MTS files?
    does not work, and i need the answer please. My imported MTS clips are not playing back audio because it seems that no audio imported with the video.   Thanks, Don.

    Hi there
    Audio plays when the object with the audio assigned appears. This is why you hear it when the Button appears.
    Try assigning the audio instead to the object that appears when you click the button. Perhaps the caption.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, the cut the recording into songs using one audio file folder. When working on an individual song, I can't access the sampler.  I get the message "nothing to display"

    I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, then cut the recording into songs using one audio file folder ad multiple song files. When working on an individual song, I can't access the sampler.  I get the message "nothing to display" or "no region or audio file selected"  After much research on the web, I believe this is a permanent bug.  Does anyone have a good work-around for this type of work.  We record live 16T band rehearsals constantly and would love to be able to break individual songs out of the large file and be able to use the sampler.  Thanks in advance for your ideas!  Cheers.

    Another thing - if I copy one of the tracks to another track, then the sample editor works on the copied track.  I don't want to have to copy 16 tracks to new tracks to be able to use the sample editor on a project.  Thanks again.

  • Premiere Pro audio sync issues with 48khz audio on video file and 44.1khz audio on external audio

    So, I recorded video and audio on my Canon 5D Mark II at 1080p, 23.976 fps, and 48khz, 16-bit Stereo audio. And I used a Zoom H4 to record an mp3 audio file at 44.1khz Compressed. When trying to sync the audio in Premiere Pro CC, the audio slowly loses sync over time. I already tried to convert the 44.1khz mp3 file to 48khz in Adobe Audition. But that didn't fix the problem. Any ideas?

    There's always time-stretch changes to the audio file with "keep pitch unchanged" checked, I suppose. Mind you, I've heard of people doing it but haven't done it myself. There's other possible options I'm sure. There's been quite a few threads here on time-sync issues over time.

  • Issue where audio files are causing buffering in Adobe Presenter 9.0.2

    I have a module that I have published that the audio files are causing the playback to buffer at the end of the slides. I have unchecked Disable preloading of embedded Flash content, since I have seen that suggestion previously causing issues. I do not have videos in this module. It did this when I did a preview of my PowerPoint presentation. Thinking publishing could give me a possible different outcome once it was on the Connect server. However, the same issue occurs. I have tried copying the slides and placing them into a new presentation but that did not work as well, I had the same issue. Any suggestions on how to fix this? I am at a holding point since I cannot make the course live if I know this is an issue on playback.

    Hi kornieme,
    Please package the published content using package option in presenter and put it in some drop box and send me the link..
    Thanks
    Sidhartha

  • I've Downloaded twice ''Additional Contents'' but the issue is still unresolved  ( '' EXS 24 instrument ''steinway Piano.exs '' Audio file '' stw per v1 024.AIF '' not found)

    I've Downloaded twice ''Additional Contents'' but the issue is still unresolved  ( '' EXS 24 instrument ''steinway Piano.exs '' Audio file '' stw per v1 024.AIF '' not found)
    Please Help

    "Additional Contents" I don't even know what that is? What app is it for?

  • Major crashing issue... Audio file AWOL?

    I am hoping someone can help and that I am just doing a dumb mistake. I am using Logic 8 in Leopard on a MacPro. I've been working on a session and have two tracks with a comp'ed vocal. For some reason, the main track view (right next to track name) is empty. When I unpack the comp, the different audio files are all greyed out. And when I click on the main track, Logic crashes and forces a restart, saving a "crashed" version. When it reboots, the pane for my Mackie Control Universal pops up. I'm wondering if there is a problem with the Mackie Control in addition to whatever is happening in Logic.
    I've had recent warnings about a possible conflict with third party apps and that I need to check the drivers of my MIDI devices to see if they are up to date? Sorry but I did not record the exact wording. Does anyone know what this might mean, and how I need to go about checking drivers? I have several interfaces and not sure how to see what's what. I realize I may have more than one issue/problem going on here, so thanks for any ideas.

    Hi Midlake,
    Well, because they are known troublemakers. Search for 'takes' or 'take folder(s)' or 'comp' here on the forum and you'll find many a troubled soul crying out for help - including seasoned pro's, who thought they were beyond tears...
    O, they are fine for recording many takes - but thats' all. I'll select the best takes/phrases.
    regards, Erik.

  • Copying data files from Mac to Windows on MacBook running Parallel

    How can I copy .doc files from Mac folders to Windows folders?
    I am running Parallel but I cannot access the Mac folders and files when I am running Windows.
    I cannot access flash drives from Windows either.
    Can anyone help?
    Thank you
    MacBook Black   Mac OS X (10.4.9)  

    Theres a feature called shared folders that works
    quite nicely. I cant quite remember the specifics but
    I have done it before. Or if you've got a few small
    ones copy and pasting between work spaces now works.
    Cheers, Arthur
    Now all I need do is figure out how to turn on the sound when using Windows. Everything is as it should be on my Xp setup but no sound. Mac must be controlling this but I do not know where to look to solve this situation.
    Have a great week,
    Robert
    MacBook Black   Mac OS X (10.4.9)  

Maybe you are looking for

  • How do I find Artists music ratings ??

    Just got my new 30gb IPOD. Would like to find the top rated 25-50 songs of many artists and then load them on to my IPOD. The end result would be that my IPOD would only carry the very best rated songs of all times for the artists choosen. The only p

  • HP LaserJet CM1015 MFP All-In-One problem

    HP LaserJet CM1015 MFP All-In-One Printer gives a couple of vertical lines 1,5 inch from the right side (facing the printed paper), across the whole length of the paper. Same for different kinds of paper. Lines are more visible in colorpages. Same pr

  • Aperture 3 and spinning wheel

    Hi all, just to add this strange behavior to the list of the new A3: - new library with just one project of 80 imported photos - created a new book - terminated the book, about 35 pages - now when I open Aperture, it open in the book view, but the fi

  • Liquid Data and Web Service Data Source

    I am using LD 1.0.1 When I try to use a registered web service data source, I get exceptions. Any ideas? Thanks. The query looks like this: {--     Generated by Data View Builder 1.0     --} let $result_1 := let $query_2 := TLSOAP:query("/TigerLogicD

  • How can i set "new identity profile" in a new tab?

    I need to configure the browser to accept "new ientity profile" when I open a new tab.