[Iphone] Easiest way to loop audio from file

I've tried reading tutorials online and from Apple, but they are very confusing. Basically, I have a long audio file (over a minute) that I want to loop. How do I do this?

Playing audio is somewhat a pain. I used and changed a bit the example of the crash landing app.
See this thread (and download the code) [http://discussions.apple.com/message.jspa?messageID=7761384#7761384]
Then load the file and play it (e.g. MP3). It will loop it.
SoundEngine_LoadBackgroundMusicTrack(@"file", TRUE, TRUE);
SoundEngine_StartBackgroundMusic();
To stop playing
SoundEngine_StopBackgroundMusic(FALSE);
//and unload
SoundEngine_UnloadBackgroundMusicTrack();

Similar Messages

  • Hello everyone. As a new Mac user, I would really like to know the easiest way to move my music files from my old PC to my MacBook? Do I move only the files, the entire iTunes and how? I have a lot of music so it is not a solution with iPod/iPhone.

    Hello everyone. As a new Mac user, I would really like to know the easiest way to move my music files from my old PC to my MacBook? Do I move only the files, the entire iTunes and how? I have a lot of music so it is not a solution with iPod/iPhone.

    Your best option is to post this in the iTunes forum.
    Ciao.

  • Does anyone know a way to stream audio from Snow Leopard to a PPC running Panther?

    I have recently aquired a iMac PPC, I've freshly installed Panther on it and it runs a treat. I was wondering however if there is a way to stream audio from my main Desktop, a 2007 iMac running Snow Leopard. iTunes library share isn't a solution either as I use Spotify a my main source of music and unfortunetly it is no longer supported for PPC's.
    Thanks, Tim

    Unfortunately I could get neither of these to work, probably because of my own ineptitude.
    I couldn't get VLC to output from Spotify, this could be my own fault.
    I also couldn't make Airplay play with OS X 10.3.9.
    I did however find a messy workaround.
    I am currently using Airfoil on my main Desktop to output Spotify and then am receiving it on Airfoil Speaker on my iPhone, which is in turn connected to my 10.3.9 iMacs audio input via a 3.5mm Jack.
    You need to download an app called LineIn for 10.3 (http://www.rogueamoeba.com/legacy/) to play the sound from the input from the built in speakers.
    To be fair it's not that messy it just requires you to have a device that can have Airfoil Speakers installed on it and have a 3.5mm Jack.

  • What is the easiest way to send photos from my PC to my Ipad?

    What is the easiest way to send photos from my PC (Windows 7, Live photo gallery)_ to my Ipad2

    I would use DropBox if you want to transfer your whole photo library.  The iPad is set up to make it very difficult to transfer content off of it.  This is to protect copyrighted materials and prevent file sharing.
    Make sure you have the latest copy of DropBox on your iPad and it will automatically upload all your photos and videos to the Camera Uploads folder on DropBox.  Keep in mind this may take a long time to get them all uploaded, especially if you have a lot of videos and a slow WiFi connection.  It won't work over 3G / 4G must be a Wifi connection.  Once they are uploaded to Dropbox it is simply a matter of then downloading them to the place you want to download them to.

  • Is there a way to "loop" audio while I try audio filters?

    Is there a way to "loop" audio while I try audio filters?
    Thanks

    Yes.
    Toggle Loop to ON
    Set an In and Out in the timeline then select Play In to Out.
    If you can't find these commands in the Menu Bar or are looking for the keyboard commands, use Help.
    Have fun.
    x

  • What is the easiest way to transfer photos from a samsung g2 to my iMac?

    What is the easiest way to transfer photos from a samsung g2 to my iMac?

    Probably by reading the Samsung G2's user manual.

  • Easiest way to chop audio files by beat

    So, I'm trying to take a section of audio within Logic and chop it into parts. For simplicities sake, we'll say 16 parts, what would be the easiest way to do this?
    I've tried doing a "cut by playhead" but I also am not sure of how to change my grid to align with 16th notes....
    There's got to be an easier way.
    My end hope is to import the sections into the EXS24, do you think I'd be better off using Audacity or ReCycle to do this?

    You can use the strip silence function from the Audio menue which will slice your Audio file into segments following the transients - adjust the settings to your needs and go ahead. Your original Audio file will be sliced into seperate regions - if you convert those regions to new audio files (select all slices->control+f->save as new audio files) you can import the new files directly into EXS by dragging and dropping them.

  • What's the easiest way to select all my files from all the folders on a hard drive and place into one folder?

    Hi there,
    I have about 30,000 images all in hundreds of folders. I'm wondering what the easiest way to get them all into one folder so I can select and convert them all from .psd, .tiff, etc all to jpg. The reason I'm doing this is because the folder structure is such a mess, that I'm just going to import them all into aperture to sort everything. But the .tiffs and .psds are 100 mb each so I want to scale them to jpgs that are only 4 or 5 mb before I even think about importing them into aperture.
    I tried doing a search for "kind is image" and it shows them all but a ton of them are renamed the same thing so when I try to select all and move into one folder it tells me I can skip that one or stop copying.
    Any thoughts or ideas on this?
    Thanks,
    Caleb

    Hi russelldav,
    one note on your data handling:
    When  each of the 50 participants send the same 60 "words" you don't need 3000 global variables to store them!
    You can reorganize those data into a cluster for each participant, and using an array of cluster to keep all the data in one "block".
    You can initialize this array at the start of the program for the max number of participants, no need to (dynamically) add or delete elements from this array...
    Edited:
    When all "words" have the same representation (I16 ?) you can make a 2D array instead of an array of cluster...
    Message Edited by GerdW on 10-26-2007 03:51 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Easiest way to transfer contacts from iphone 4 to ...

    which the easy way to transfer contacts from iphone4 to 520.
    i have backup of iphone4 in windows outlook express.from here anyway to nokia 520?
    or any other easiest way?

    Try THIS
    Outlook express is ancient and has not been supported or available for years. From you using that I assume you are still on XP at best.
    You could export to windows address book from Outlook Express, then download Windows Mail from Windows Essentials. Once installed, sign in to Windows Mail using the same Microsoft account used on the 520 and import the address book. This would sync the contacts to your Microsoft account and from there to the 520.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Easiest way to transfer photos from my iphone to my ipad?

    Im trying to figure out how to transfer the 3000+ pics on my iphone to my ipad.  What is the easiest way to do this?

    If you meet the requirements you can use AirDrop. See here: Use AirDrop to wirelessly share content - Apple Support
    Or you could use an App like Photo Transfer to move the photos:
    Photo Transfer App - Easily copy, share and backup pictures and videos over wifi between devices and computer by ERCLab, LLC
    https://appsto.re/us/SQ8Wv.i

  • Is There A Way To Loop Audio Using Edge Commons?

    Hi,
    I've been getting on really well using Edge Commons to add audio to my animations (fantastic bit of kit, by the way - thank you simonwidjaja !).
    However, while playing a sound via the trigger EC.Sound.play("mySound"); works brilliantly for individual instances of sound I've wholly failed to find a way to get sound files to loop.
    I've been struggling with this for an age, now, and really haven't got anywhere at all. I know that Edge Commons integrates SoundJS and I know that SoundJS provides a facility to loop audio but I can't see a way to make it happen via the Edge Commons script.
    SoundJS' method seems to be couched as: 
    static SoundInstance play ( value , interrupt , delay , offset , loop , volume , pan )
    And in Edge Commons I can find:
    var instance = SoundJS.play(soundId, SoundJS.INTERRUPT_NONE, 0, 0, false, 1);
    which I assume (perhaps incorrectly?) relates to the aforementioned SoundJS.
    I'm guessing (as has been mooted by resdesign in another post) that I need to edit the following, which appears in creation complete, in order to make looping happen but I just can't seem to get anything I try to work.
    {src: assetsPath + "mySound.mp3|" + assetsPath + "mySound.ogg", id: 'mySound'},
    Of course, I may simply be on the wrong track altogether; so as ever, any thoughts and ideas will be very gratefully received x

    Hi Emmy,
    1. can I use buzz to create sound in edge compositions destined for the ipad?
    Yep. Although there still exists the MASSIVELY annoying issue whereby iOS insists on a user-push to activate the play of any audio. Apple's assertion is that users shouldn't have to worry about being forced to download unsolicited audio which may end up costing them dear if they are on a chargeable 3G connection; so they've effectively disabled anything that is, or could be described as, an autoplay function. This means that instead of being able to include autoplay of audio  - to, say, have a sound track automatically start playing when an animation begins - the playback of said track needs to be initiated by the user.
    For example, the code: sym.getComposition().getStage().YourSoundName.play(); would need to be placed on a clickable button as opposed to a trigger on the main timeline or the timeline of any of your symbols.
    In essence you have to provide the user with an opportunity to confirm that 'yes I want to hear this'.
    While the sentiment behind not wishing users to incur unwarranted expense is understandable (and laudable) the whole concept is a huge pain for animators and a total joke-killer and best. Think of it in terms of Man Slips On Bananaskin... instead of users automatically/seamlessly being able to hear a comedic associated 'whoooooop' sound they have to click a button in order to do so. 'Do you want to hear an amusing noise associated with this bit of stage action? Click for yes'. Obviously one doesn't actually have to couch such a question in actuality, but you get the drift (The Death Of Fun!). As a 'semi' workaround you may want to try experimenting with mouseOver triggers on invisible buttons.
    2. will users need internet access to hear the sounds each time?  In other words do the sounds have to be called from an exteral source each time they are played, or are they part of the exported file and therefore only downloaded once.  (I understand that Ihave to manually include the audio file in the exported Edge file).
    Not quite sure about this one as I ended up working on some entirely different stuff; so didn't persue the Apple annoyances long enough to find out more.
    3. can I use my own mp3 sounds, and if so, how?
    If you mean, can you use mp3s that are not originated by you (i.e. iTunes tracks etc.) then essentially no. Not unless they're copyright/royalty free or you've obtained a license to use them.
    If by your own mp3 sounds you mean audio that you've originated yourself, then yes, of course
    It makes sense to produce both an mp3 and an ogg version of each sound, to ensure maximum compatibility with regard to user playback. Other than that, simply name your files, place them in a folder called 'audio' (for example) and then, in Edge's 'compositionReady', include the following code for each sound (changing the names accordingly):
    sym.YourSoundName = new buzz.sound("audio/YourSoundName", {formats: [ "ogg", "mp3" ]});
    sym.YourSoundName.bind('loadeddata', function(e){
         var stage = Edge.getComposition(compId).getStage();
    Then whenever you want to play a certain sound just use: sym.getComposition().getStage().YourSoundName.play(); on a trigger.
    Hope this helps

  • What is the easiest way to transfer music from my ex's itunes library to mine? We both have Macbooks and we do have home sharing.

    Over the years my ex's and I bought tons of music off itunes, but always bought it on her Macbook. Now that we aren't together I want to copy all of the music from her itunes library and import it into mine. Is this possible, and what is the easiest way?
    Many Thanks

    the simplest way, assuming all your media files are in the default location, would be to connect the two Macs with a firewire cable, boot the source Mac in Target Disk Mode, and copy the entire iTunes folder (not just the iTunes music folder) from <MacintoshHD>/users/yourname/music on the source to <MacintoshHD>/users/yourname/music on the target (overwriting the iTunes folder in place there).
    that would ensure everything (including playcounts, ratings, original "date added", which home sharing doesn't copy over) will be transferred. it would also ensure that any mobile devices (iPhone, etc.) will simply keep on syncing without problems.
    you can also use an external HD (or your LAN) but make sure to copy the entire iTunes folder.

  • What's the easiest way to retrieve lost music files?

    I was using a file sharing program and I saw that all of my music files were being shown in its share folder, and I did not want to share them. I assumed the files were duplicates and deleted them. When I realized the actual files were being deleted I stopped it, but not before several hundred files were lost. Here is the error message I get when I plug in my iPhone.
    http://i174.photobucket.com/albums/w91/Candyman_8877/Untitled1.png
    It says there is a hundred files missing, but when I count the "!" marks in iTunes, I got to 100 by the letter C, so there is definitely several hundred files missing. I have my machine backed up with time machine, and I also have a faily recent copy of my music folder on an external drive.
    I'm wondering, what is the easiest way (using the fewest clicks) to restore all of my missing music files? I'm trying to avoid searching out and restoring every missing file individually, as there are hundreds and this would be very time consuming.
    Thanks for any help and advice,
    mcfada

    If you are confident the Time Machine backup is current, recover your iTunes folder and all its contents from there.

  • Easiest Way to Move Media from One External Drive to Another?

    My MacBook Pro only has a 500GB hard drive and I currently have all my movies on a 1TB external hard drive.  Everything works fine through iTunes, but now since the 1TB is maxed out, I'd like to use my new 2TB external hard drive going forward.  I understand that I need to re-route where iTunes finds the movies, but what is the easiest way to make the conversion from the 1TB to the 2TB?
    I have copied all movies from the 1TB to the 2TB.  Is the only thing left to do is re-route the location to the 2TB?  Or do I need to drag and drop all movies into iTunes (they're all already in there)?  Just didn't know if I needed to add them into iTunes again so they know to point to the 2TB drive. (sorry if I didn't explain that good!)
    Thanks in advance for your help!

    Thanks Limnos!  Really appreciate the help!
    To clarify:
    - I currently have only movies on the external 1TB drive (which iTunes points too).  The downside is that I ALWAYS have to have my external drive plugged in, in order to play on Apple TV (or view on MacBook).  I have appx. over 500GBs of movies on my external 1TB.
    - All music (appx. 200GBs) is currently on my internal hard disk, but with a 500GB internal hard drive, that's going to fill up quickly (just so you know - I already have about 125GBs of pics in iPhoto AND work in Photoshop regularly so PSDs lessen my internal 500GB space quickly).
    Eventhough I HATE having to keep an external drive plugged into my MacBook, I'm just going to have to suck it up and get used to it so I will have more space and my MacBook will run faster.
    With that in mind, I was thinking about moving my music (200GBs) onto my 2TB external drive (along with the movies).  So that would leave roughly the photos and Photoshop files (and random other things that are small in size) on my internal drive.
    I could start all over and delete all movies that are in iTunes (the application - not the folders) and then drag and drop them into iTunes from the new 2TB, but I wasn't sure all the metadata (really the cover artwork) would be attached when I did that?  Going that route really doesn't bother me since I've already copied all movies files from my 1TB to my 2TB.  Basically, I would be starting over from scratch as if the old 1TB never existed.
    Trying to run this through my mind and come up with the best/easiest way.  What I don't want to do is try and find cover artwork for the almost 300 movies I have (and all the cover artwork for the CDs I have too if I decide to keep my music on the 2TB external drive).
    Hope that helps and makes sense?  Thanks again!

  • Simplest way to sample audio from a DVD?

    I would like to extract certain phrases from a DVD into logic. What's the easiest way and do I need to play and/or extract the entire DVD if I only want certain phrases at specific places on the DVD?
    Thanks

    You could use either one of these:
    http://www.ambrosiasw.com/utilities/wiretap/
    http://rogueamoeba.com/audiohijackpro/
    and drop the recorded file(s) into Logic.

Maybe you are looking for

  • Remote app on iPhone and multiple speakers - I have to tap multiple times

    I have a set-up with an Apple TV, iTunes on my iMac and a PC laptop plus 2 airport expresses throughout the house, all of those connected through airTunes. This allows me to play music from any of these iTunes/Apple TV to the aiport expresses. I have

  • User exit IPRM0002 for preventive maintenance

    user exit IPRM0002 for preventive maintenance has anyone used this user exit? or BADI: BAdI: IPRM_MCP_SCHE_CHANGE  ? I seem to have some difficulty in knowing how to use these.... I need to basically be able to influence a calling date for next PMord

  • HP Palion dv7 Notebook PC will not power up when power button is pressed.

    My HP Pavilion dv7 Notebook PC will not  power on when the power button is pressed. I have removed the battery, unplugged the AC adapter and pressed the power button for 15+ seconds then plugged in the AC adapter and pressed the power button for 15+

  • How to increase the font size of the report output in the printout.

    Hi Team, i have a requirement like to print the report output as a direct print from an internal table.I am using the below mentioned code, the output is printing fine but the Font size of the output text is so small so i need to increase the font si

  • Virtual Private Database

    Hi All, We are using Oracle 11g R2 and we would like to implement Virtual Private Database. We have an application connected to LDAP with serveral users. The users are also created in Weblogic. The Application is using only with Oracle schema with ma